/* Mentor K07 · Dòng Chảy. Brand surfaces only; semantic task colors stay intact. */
body.mentor7-standalone {
  --m7-blue:#09645d; --m7-blue-dark:#064c46; --m7-gold:#876321;
  --m7-ink:#183b38; --m7-muted:#607673; --m7-line:#dce7e3; --m7-bg:#f5f8f5;
  --m7-flow-gold:#f4dfa0; --m7-flow-deep:#064b45;
  --m7-flow-pattern:url("waves.svg"); background:var(--m7-bg);
}
body.mentor7-standalone #mentor7-app,
body.mentor7-standalone .m7-login {font-family:"Segoe UI",Arial,sans-serif}
#mentor7-app .m7-sidebar {
  background-color:#064b45;
  background-image:var(--m7-flow-pattern),linear-gradient(155deg,#043f3a,#0b6259);
  background-position:left bottom,left top; background-size:520px 150px,cover;
  background-repeat:repeat-x,no-repeat; border-right:1px solid #b69b5540;
  color:#f6f4e9;
}
#mentor7-app .m7-brand {border-bottom:1px solid #e9ce8540;margin-bottom:22px;padding-bottom:22px}
#mentor7-app .m7-brand b {color:#f4dfa0}
#mentor7-app .m7-brand small {color:#c2dad1;letter-spacing:.5px}
body.mentor7-standalone .m7-logo {
  background:linear-gradient(140deg,#f6e5ad,#d9b967);color:#064b45;
  border:1px solid #f9edc6;box-shadow:0 5px 18px #002e3733;border-radius:50%;
}
#mentor7-app .m7-nav-label {color:#cfdecb}
#mentor7-app .m7-nav button {color:#e5efe8}
#mentor7-app .m7-nav button:hover {background:#ffffff13;color:#fff2c9}
#mentor7-app .m7-nav button.active {
  background:#f4dfa0;color:#073f39;box-shadow:0 5px 15px #002e3324;
}
#mentor7-app .m7-nav .m7-count {background:#e7d18d;color:#073f39}
#mentor7-app .m7-sidebar-footer {border-color:#d9c28042;color:#c1d8cb;padding-bottom:74px}
#mentor7-app .m7-sidebar-footer b {color:#f4dfa0}
#mentor7-app .m7-topbar {
  background:#064b45; background-image:var(--m7-flow-pattern);
  background-size:600px 174px;background-position:right center;
  border-bottom:2px solid #d4b86f;color:#fff5d4;
}
#mentor7-app .m7-top-message {color:#f4dfa0;text-shadow:0 1px 2px #043e38}
#mentor7-app .m7-topbar .m7-person {color:#fff6df}
#mentor7-app .m7-topbar .m7-person small {color:#c5ddd3}
#mentor7-app .m7-topbar .m7-avatar {background:#f4dfa0;color:#064b45}
#mentor7-app .m7-topbar .m7-icon-btn {background:#075b53;color:#f9e7b5;border-color:#c7b16966}
#mentor7-app .m7-topbar .m7-icon-btn:hover {background:#0e7065}
#mentor7-app .m7-topbar .m7-btn {background:#f4dfa0;color:#064b45;border-color:#f4dfa0}
#mentor7-app .m7-save-status {color:#e3f3e7;background:#075b53;border-radius:6px;padding:3px 7px}
#mentor7-app .m7-save-status.error {color:#7c2434;background:#ffe9ed}
#mentor7-app .m7-content {background:transparent}
#mentor7-app .m7-heading h1 {color:#064b45}
#mentor7-app .m7-eyebrow {color:#876321}
#mentor7-app .m7-btn.primary {background:#09645d;border-color:#09645d;color:#fff}
#mentor7-app .m7-btn.primary:hover {background:#064b45;border-color:#064b45}
#mentor7-app .m7-btn.soft {background:#e9f3ed;border-color:#d5e8dc;color:#075b53}
#mentor7-app .m7-avatar {background:#eaf3ed;color:#075b53}
#mentor7-app .m7-stat .m7-stat-icon {background:#eaf3ed;color:#09645d}
#mentor7-app .m7-stat.warning .m7-stat-icon {background:#fff1e6;color:#b9681e}
#mentor7-app .m7-stat.good .m7-stat-icon {background:#e8f7ef;color:#278054}
#mentor7-app .m7-card-head {background:#fcfdf9}
#mentor7-app .m7-card-head h2 {color:#075b53}
#mentor7-app .m7-program {border-top:3px solid #d4b86f;box-shadow:0 3px 16px #124b3a05}
#mentor7-app .m7-unit-card {border-color:#dce7e3}
#mentor7-app .m7-tabs button.active {color:#09645d;border-bottom-color:#09645d}
#mentor7-app .m7-project-space-label {color:#075b53}
#mentor7-app .m7-column {background:#edf2ee}
#mentor7-app .m7-dialog-header {background:#f4f8f2;border-bottom-color:#dce7e3}
#mentor7-app .m7-dialog-header h2 {color:#075b53}
/* No wave artwork over tables, timeline, document previews or editors. */
#mentor7-app .m7-card,#mentor7-app .m7-task-card,#mentor7-app .m7-program,
#mentor7-app .m7-unit-card,#mentor7-app .m7-dialog,#mentor7-app .m7-gantt-wrap {background-color:#fff}
body.mentor7-standalone .m7-login {
  background-color:#07564e;
  background-image:var(--m7-flow-pattern),radial-gradient(ellipse at top right,#147d70,transparent 70%),linear-gradient(145deg,#043f3a,#09665c);
  background-repeat:repeat-x,no-repeat,no-repeat;background-size:620px 180px,cover,cover;background-position:bottom,center,center;
}
body.mentor7-standalone .m7-login-card {background:#fffef9;border:1px solid #e4d195;box-shadow:0 25px 80px #00352e44}
body.mentor7-standalone .m7-login-card h1 {color:#064b45}
body.mentor7-standalone .m7-login-card input[type=submit] {background:#09645d;color:#fff}
body.mentor7-standalone .m7-login-card input[type=text],
body.mentor7-standalone .m7-login-card input[type=password] {background:#fff;border-color:#ceddd3;color:#183b38}
#mentor7-app button:focus-visible,#mentor7-app a:focus-visible,
#mentor7-app input:focus-visible,#mentor7-app select:focus-visible,
#mentor7-app textarea:focus-visible {outline-color:#b18b3b}
#mentor7-app .m7-sidebar button:focus-visible,#mentor7-app .m7-topbar button:focus-visible,
#mentor7-app .m7-topbar a:focus-visible {outline-color:#ffe5a1}
@media(max-width:760px){#mentor7-app .m7-sidebar {overflow-y:auto}#mentor7-app .m7-sidebar-footer {padding-bottom:60px}}
@media print{body.mentor7-standalone {background:#fff}body.mentor7-standalone .m7-login {background:#fff}}
/* V1.1 · Readable workspaces, with stable timeline row/axis geometry. */
body.mentor7-standalone {--m7-muted:#49645f;--m7-line:#cadbd3;--m7-ink:#163c35;--m7-bg:#eff5f1}
body.mentor7-standalone #mentor7-app {font-size:16px}
#mentor7-app .m7-person[data-m7-account] {cursor:pointer;border-radius:10px;padding:4px 6px;margin:-4px -6px;transition:background .15s}
#mentor7-app .m7-person[data-m7-account]:hover {background:#ffffff18}
#mentor7-app .m7-person[data-m7-account]:focus-visible {outline:3px solid #ffe5a1;outline-offset:3px}
#mentor7-app .m7-person {font-size:14px}
#mentor7-app .m7-person small {font-size:12px}
#mentor7-app .m7-top-message {font-size:15px}
#mentor7-app .m7-heading h1 {font-size:30px;font-weight:750}
#mentor7-app .m7-heading p {font-size:15px;color:#49645f}
#mentor7-app .m7-eyebrow {font-size:12px}
#mentor7-app .m7-card,#mentor7-app .m7-program,#mentor7-app .m7-task-card,
#mentor7-app .m7-unit-card {border-color:#cadbd3;box-shadow:0 2px 10px #17483408}
#mentor7-app .m7-card-head {background:#f1f6f0;border-bottom-color:#cadbd3}
#mentor7-app .m7-card-head h2 {font-size:17px;font-weight:700}
#mentor7-app .m7-card-head small {font-size:13px}
#mentor7-app .m7-row-title {font-size:16px}
#mentor7-app .m7-row-meta {font-size:14px;color:#49645f}
#mentor7-app .m7-btn {font-size:14px;font-weight:650}
#mentor7-app .m7-btn.small {font-size:13px}
#mentor7-app .m7-filters select,#mentor7-app .m7-filters input {font-size:14px;color:#34594e;border-color:#bdcfc5;min-height:39px}
#mentor7-app .m7-view-switch button {font-size:13px}
#mentor7-app .m7-table {font-size:15px}
#mentor7-app .m7-table th {font-size:13px;color:#395f51;background:#edf4ee;font-weight:700;border-bottom-color:#c6d9cd}
#mentor7-app .m7-table td {border-bottom-color:#d8e4dc;font-weight:500}
#mentor7-app .m7-table .m7-title-cell button {font-size:15px;font-weight:650;color:#17493b}
#mentor7-app .m7-table td small {font-size:13px;color:#49645f}
#mentor7-app .m7-table tbody tr:hover {background:#f2f7f1}
#mentor7-app .m7-tag {font-size:12px}
#mentor7-app .m7-help,#mentor7-app .m7-muted {font-size:14px;color:#49645f}
#mentor7-app .m7-tabs button {font-size:15px}
#mentor7-app .m7-program h2 {font-size:18px}
#mentor7-app .m7-program p {font-size:14px}
#mentor7-app .m7-task-card h3 {font-size:15px}
#mentor7-app .m7-task-card .m7-card-meta {font-size:13px}
#mentor7-app .m7-stat>span {font-size:14px}
#mentor7-app .m7-stat>small {font-size:13px}
#mentor7-app .m7-progress-label {font-size:13px}
#mentor7-app .m7-pagination {font-size:14px}
#mentor7-app .m7-dialog-header h2 {font-size:23px}
#mentor7-app .m7-dialog-body {font-size:16px}
#mentor7-app .m7-field label {font-size:15px;font-weight:650}
#mentor7-app .m7-field input,#mentor7-app .m7-field select,#mentor7-app .m7-field textarea {font-size:16px;color:#163c35;border-color:#bdcfc5}
#mentor7-app .m7-rich-input {font-size:16px;line-height:1.65;color:#163c35}
#mentor7-app .m7-gantt-legend {font-size:15px}
#mentor7-app .m7-gantt-save-options {font-size:14px}
#mentor7-app .exec-gantt-axis-title {font-size:17px;color:#17493b;background:#edf4ee}
#mentor7-app .exec-phase-fixed {font-size:16px;color:#17493b}
#mentor7-app .exec-phase-fixed small {font-size:13px;color:#49645f}
#mentor7-app .exec-task-fixed .m7-grow>button {font-size:17px;color:#17493b}
#mentor7-app .exec-task-fixed .m7-grow>span,#mentor7-app .exec-task-fixed small {font-size:13px;color:#49645f}
#mentor7-app .m7-gantt-row-actions .m7-btn {font-size:11px}
#mentor7-app .exec-axis {background:#edf4ee}
#mentor7-app .exec-axis>span {font-size:14px;color:#34594e;font-family:Arial,sans-serif;font-weight:500;letter-spacing:-.2px;white-space:nowrap}
#mentor7-app .exec-axis small {font-size:12px;color:#49645f}
#mentor7-app .exec-bar-v31 em {font-size:14px}
#mentor7-app .exec-risk-label {font-size:13px}
#mentor7-app .m7-gantt-savebar {font-size:13px;background:#f1f6f0;border-top-color:#cadbd3}
#mentor7-app .m7-gantt-savebar>span {color:#49645f}
@media(max-width:760px){
  #mentor7-app .m7-heading h1 {font-size:27px}
  #mentor7-app .m7-heading p {font-size:14px}
  #mentor7-app .m7-top-message {font-size:13px}
  #mentor7-app .m7-top-actions .m7-btn,#mentor7-app .m7-heading .m7-buttons .m7-btn {font-size:13px}
  #mentor7-app .m7-filters select {font-size:14px}
  #mentor7-app .m7-person>div {display:none}
}
@media(max-width:720px){
  #mentor7-app .exec-gantt-axis-title,#mentor7-app .exec-task-fixed .m7-grow>button,#mentor7-app .exec-phase-fixed {font-size:14px}
  #mentor7-app .exec-phase-fixed small {font-size:11px}
  #mentor7-app .m7-gantt-legend {font-size:13px}
}
