.quantum-dashboard {
  --q-canvas:#e7edf1;
  --q-canvas-deep:#d7e1e8;
  --q-surface:rgba(255,255,255,.82);
  --q-surface-strong:rgba(255,255,255,.94);
  --q-panel-dark:#152430;
  --q-ink:#152430;
  --q-ink-soft:#576b79;
  --q-ink-faint:#7b8c98;
  --q-line:rgba(21,36,48,.08);
  --q-line-strong:rgba(21,36,48,.16);
  --q-accent:#0b7a70;
  --q-accent-2:#2f63ff;
  --q-danger:#d55346;
  --q-warn:#d6912f;
  --q-ok:#1f9362;
  --q-shadow-xl:0 26px 70px rgba(15,23,42,.12);
  --q-shadow-lg:0 16px 42px rgba(15,23,42,.1);
  --q-shadow-md:0 10px 26px rgba(15,23,42,.08);
  --q-radius-xl:28px;
  --q-radius-lg:22px;
  --q-radius-md:18px;
  --q-radius-sm:14px;
  --paper:var(--q-canvas);
  --paper-2:#eff4f7;
  --paper-3:#dfe7ee;
  --bg-surface:#fff;
  --ink:var(--q-ink);
  --ink-2:var(--q-ink-soft);
  --ink-3:var(--q-ink-faint);
  --rule:rgba(21,36,48,.1);
  --rule-dark:rgba(21,36,48,.18);
  --s-blue:var(--q-accent-2);
  --s-ai:var(--q-accent);
  --s-ok:var(--q-ok);
  --s-warn:var(--q-warn);
  --s-crit:var(--q-danger);
  --bg-ai:rgba(11,122,112,.1);
  --bg-ok:rgba(31,147,98,.1);
  --bg-warn:rgba(214,145,47,.1);
  --bg-crit:rgba(213,83,70,.1);
  background:
    radial-gradient(circle at top left, rgba(47,99,255,.08), transparent 28%),
    radial-gradient(circle at top right, rgba(11,122,112,.12), transparent 34%),
    linear-gradient(180deg, var(--q-canvas) 0%, var(--q-canvas-deep) 100%);
  color:var(--q-ink);
  font-family:'IBM Plex Sans',sans-serif;
  font-size:13px;
  line-height:1.4;
}

html[data-theme="dark"] .quantum-dashboard {
  --q-canvas:#0e1620;
  --q-canvas-deep:#101c27;
  --q-surface:rgba(20,31,42,.9);
  --q-surface-strong:rgba(17,27,37,.96);
  --q-panel-dark:#0f1822;
  --q-ink:#edf2f7;
  --q-ink-soft:#b3c0cb;
  --q-ink-faint:#8493a0;
  --q-line:rgba(220,228,236,.08);
  --q-line-strong:rgba(220,228,236,.14);
  --q-accent:#4bd5c4;
  --q-accent-2:#84a8ff;
  --q-danger:#ff8b80;
  --q-warn:#f4b35f;
  --q-ok:#73d39d;
  --paper:var(--q-canvas);
  --paper-2:#15202c;
  --paper-3:#1c2936;
  --bg-surface:#111b26;
}

html[data-theme="dark"] .quantum-dashboard .site-switcher,
html[data-theme="dark"] .quantum-dashboard .dashboard-menu__trigger,
html[data-theme="dark"] .quantum-dashboard .dashboard-menu__panel,
html[data-theme="dark"] .quantum-dashboard .container,
html[data-theme="dark"] .quantum-dashboard .masthead,
html[data-theme="dark"] .quantum-dashboard .masthead-highlight,
html[data-theme="dark"] .quantum-dashboard .sidebar,
html[data-theme="dark"] .quantum-dashboard .sb-group,
html[data-theme="dark"] .quantum-dashboard .fin-box,
html[data-theme="dark"] .quantum-dashboard .gtask-container,
html[data-theme="dark"] .quantum-dashboard .risk-panel,
html[data-theme="dark"] .quantum-dashboard section,
html[data-theme="dark"] .quantum-dashboard .sec-head,
html[data-theme="dark"] .quantum-dashboard .filters-bar,
html[data-theme="dark"] .quantum-dashboard .gantt-brief-card,
html[data-theme="dark"] .quantum-dashboard .pcp-brief-card,
html[data-theme="dark"] .quantum-dashboard .supply-brief-card,
html[data-theme="dark"] .quantum-dashboard .gantt-command-item,
html[data-theme="dark"] .quantum-dashboard .supply-command-item,
html[data-theme="dark"] .quantum-dashboard .supply-meta-item,
html[data-theme="dark"] .quantum-dashboard .gantt-audit,
html[data-theme="dark"] .quantum-dashboard .gantt-audit-card,
html[data-theme="dark"] .quantum-dashboard .table-wrapper,
html[data-theme="dark"] .quantum-dashboard table.sched-table th,
html[data-theme="dark"] .quantum-dashboard table.sched-table td,
html[data-theme="dark"] .quantum-dashboard .pcp-toolbar,
html[data-theme="dark"] .quantum-dashboard .pcp-panel,
html[data-theme="dark"] .quantum-dashboard .supply-panel,
html[data-theme="dark"] .quantum-dashboard .pcp-panel-head,
html[data-theme="dark"] .quantum-dashboard .supply-panel-head,
html[data-theme="dark"] .quantum-dashboard .pcp-heat-row,
html[data-theme="dark"] .quantum-dashboard .pcp-editor-card,
html[data-theme="dark"] .quantum-dashboard .supply-alert-item,
html[data-theme="dark"] .quantum-dashboard .supply-strategy-item,
html[data-theme="dark"] .quantum-dashboard .supply-chain-card,
html[data-theme="dark"] .quantum-dashboard .supply-unlinked-item,
html[data-theme="dark"] .quantum-dashboard .supply-risk-card,
html[data-theme="dark"] .quantum-dashboard .ai-col,
html[data-theme="dark"] .quantum-dashboard .ai-task-card,
html[data-theme="dark"] .quantum-dashboard .res-box,
html[data-theme="dark"] .quantum-dashboard .ai-context-card,
html[data-theme="dark"] .quantum-dashboard .ai-quick-btn,
html[data-theme="dark"] .quantum-dashboard .ai-chat-wrap,
html[data-theme="dark"] .quantum-dashboard .ai-chat-feed,
html[data-theme="dark"] .quantum-dashboard .ai-chat-controls,
html[data-theme="dark"] .quantum-dashboard .chat-msg.assistant,
html[data-theme="dark"] .quantum-dashboard .ultra-tooltip,
html[data-theme="dark"] .quantum-dashboard .toast,
html[data-theme="dark"] .quantum-dashboard .api-modal {
  background:rgba(17,27,37,.88);
  color:var(--q-ink);
}

html[data-theme="dark"] .quantum-dashboard .masthead {
  background:
    radial-gradient(circle at top right, rgba(75,213,196,.12), transparent 28%),
    radial-gradient(circle at top left, rgba(132,168,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(17,27,37,.94), rgba(15,24,34,.88));
}

html[data-theme="dark"] .quantum-dashboard .container {
  background:
    linear-gradient(180deg, rgba(17,27,37,.74), rgba(13,22,32,.92)),
    rgba(13,22,32,.92);
}

html[data-theme="dark"] .quantum-dashboard .sidebar {
  background:linear-gradient(180deg, rgba(17,27,37,.94), rgba(13,22,32,.88));
}

html[data-theme="dark"] .quantum-dashboard .masthead-highlight,
html[data-theme="dark"] .quantum-dashboard .gantt-brief-card,
html[data-theme="dark"] .quantum-dashboard .pcp-brief-card,
html[data-theme="dark"] .quantum-dashboard .supply-brief-card {
  background:linear-gradient(180deg, rgba(22,34,46,.92), rgba(16,25,35,.88));
}

html[data-theme="dark"] .quantum-dashboard .dashboard-menu__trigger,
html[data-theme="dark"] .quantum-dashboard .site-switcher,
html[data-theme="dark"] .quantum-dashboard .mh-meta,
html[data-theme="dark"] .quantum-dashboard .filters-bar,
html[data-theme="dark"] .quantum-dashboard .pcp-panel-head,
html[data-theme="dark"] .quantum-dashboard .supply-panel-head,
html[data-theme="dark"] .quantum-dashboard table.sched-table th,
html[data-theme="dark"] .quantum-dashboard .sec-head {
  background:rgba(255,255,255,.04) !important;
}

html[data-theme="dark"] .quantum-dashboard .filter-select,
html[data-theme="dark"] .quantum-dashboard .filter-input,
html[data-theme="dark"] .quantum-dashboard .pcp-export-range__select,
html[data-theme="dark"] .quantum-dashboard .pcp-editor-input,
html[data-theme="dark"] .quantum-dashboard .pcp-editor-reason-input,
html[data-theme="dark"] .quantum-dashboard .api-key-input,
html[data-theme="dark"] .quantum-dashboard .task-sync-modal-input,
html[data-theme="dark"] .quantum-dashboard .ai-input,
html[data-theme="dark"] .quantum-dashboard .ai-date-input,
html[data-theme="dark"] .quantum-dashboard .calc-group input,
html[data-theme="dark"] .quantum-dashboard .ai-chat-input {
  background:rgba(14,22,32,.86);
  color:var(--q-ink);
  box-shadow:none;
}

html[data-theme="dark"] .quantum-dashboard .masthead-highlight__text,
html[data-theme="dark"] .quantum-dashboard .gantt-brief-sub,
html[data-theme="dark"] .quantum-dashboard .pcp-brief-sub,
html[data-theme="dark"] .quantum-dashboard .supply-brief-sub,
html[data-theme="dark"] .quantum-dashboard .gantt-audit-card__sub,
html[data-theme="dark"] .quantum-dashboard .gantt-audit-finding__body,
html[data-theme="dark"] .quantum-dashboard .sb-data-row,
html[data-theme="dark"] .quantum-dashboard .chat-msg.assistant,
html[data-theme="dark"] .quantum-dashboard .task-sync-modal-grid label {
  color:var(--q-ink-soft);
}

.quantum-dashboard::before {
  content:"";
  position:fixed;
  inset:14px;
  border-radius:36px;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.38);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg, rgba(47,99,255,.018) 0, rgba(47,99,255,.018) 1px, transparent 1px, transparent 120px);
}

.quantum-dashboard .site-switcher,
.quantum-dashboard .container,
.quantum-dashboard .masthead,
.quantum-dashboard .masthead-console,
.quantum-dashboard .masthead-highlight,
.quantum-dashboard .sb-group,
.quantum-dashboard section,
.quantum-dashboard .pcp-panel,
.quantum-dashboard .supply-panel,
.quantum-dashboard .calc-panel,
.quantum-dashboard .risk-panel,
.quantum-dashboard .gtask-container,
.quantum-dashboard .api-modal { backdrop-filter:blur(16px); }

.quantum-dashboard .site-switcher {
  position:sticky; top:12px; z-index:70; margin-bottom:16px; padding:12px 16px;
  border:1px solid var(--q-line); border-radius:999px; background:rgba(251,253,255,.72); box-shadow:var(--q-shadow-md);
}
.quantum-dashboard .site-switcher__heading { font-family:'Sora',sans-serif; font-size:16px; font-weight:600; letter-spacing:-.02em; text-transform:none; }
.quantum-dashboard .site-switcher__eyebrow { font-size:10px; letter-spacing:.16em; color:var(--q-ink-faint); }
.quantum-dashboard .dashboard-menu__trigger { min-height:42px; padding:0 16px; border:1px solid var(--q-line) !important; border-radius:999px; background:rgba(255,255,255,.74) !important; color:var(--q-ink) !important; }
.quantum-dashboard .dashboard-menu__current { color:var(--q-accent-2); }
.quantum-dashboard .dashboard-menu__panel { border:1px solid var(--q-line); border-radius:18px; background:rgba(255,255,255,.92); box-shadow:var(--q-shadow-lg); }
.quantum-dashboard .container {
  position:relative; border:1px solid rgba(255,255,255,.55); border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.18)), rgba(248,250,252,.82); box-shadow:var(--q-shadow-xl);
}
.quantum-dashboard .status-band { height:5px; background:linear-gradient(90deg, var(--q-accent) 0%, var(--q-accent-2) 48%, var(--q-warn) 100%); }

.quantum-dashboard .masthead {
  gap:22px; padding:26px; border-bottom:1px solid var(--q-line);
  background:
    radial-gradient(circle at top right, rgba(11,122,112,.08), transparent 28%),
    radial-gradient(circle at top left, rgba(47,99,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(240,245,248,.62));
}
.quantum-dashboard .masthead-eyebrow,
.quantum-dashboard .gantt-brief-label,
.quantum-dashboard .pcp-brief-label,
.quantum-dashboard .supply-brief-label,
.quantum-dashboard .gantt-command-label,
.quantum-dashboard .supply-command-label,
.quantum-dashboard .gantt-audit__eyebrow,
.quantum-dashboard .sb-label,
.quantum-dashboard .fin-title,
.quantum-dashboard .filters-bar strong,
.quantum-dashboard .pcp-filter-group label,
.quantum-dashboard .pcp-editor-inputlabel,
.quantum-dashboard .task-sync-modal-grid label { font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint); }
.quantum-dashboard .mh-title { max-width:13ch; font-family:'Sora',sans-serif; font-size:clamp(34px,4vw,54px); line-height:.94; letter-spacing:-.06em; text-transform:none; }
.quantum-dashboard .mh-meta { min-height:42px; padding:0 16px; border:1px solid rgba(47,99,255,.16); border-radius:999px; background:rgba(255,255,255,.72); font-size:11px; letter-spacing:.06em; color:var(--q-ink-soft); }
.quantum-dashboard .masthead-highlights { gap:14px; }
.quantum-dashboard .masthead-highlight { min-height:138px; gap:10px; padding:18px 18px 20px; border:1px solid var(--q-line); border-radius:22px; background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,248,250,.82)); box-shadow:var(--q-shadow-md); }
.quantum-dashboard .masthead-highlight::before { height:5px; background:linear-gradient(90deg, var(--q-accent-2), var(--q-accent)); }
.quantum-dashboard .masthead-highlight strong { font-size:18px; line-height:1.1; }
.quantum-dashboard .masthead-highlight__text { font-size:12.5px; line-height:1.65; color:var(--q-ink-soft); }
.quantum-dashboard .masthead-console { gap:18px; padding:20px; border:1px solid rgba(21,36,48,.06); border-radius:28px; background:linear-gradient(155deg, rgba(21,36,48,.96), rgba(29,47,61,.92)); box-shadow:0 18px 46px rgba(12,20,28,.22); color:#ecf4f8; }
.quantum-dashboard .masthead-console__head { padding-bottom:16px; border-bottom:1px solid rgba(255,255,255,.09); }
.quantum-dashboard .masthead-console__eyebrow { color:rgba(123,226,214,.88); }
.quantum-dashboard .masthead-console__title { font-family:'Sora',sans-serif; font-size:22px; color:#f4f8fb; }
.quantum-dashboard .masthead-console__note { color:rgba(236,244,248,.64); font-size:11px; }
.quantum-dashboard .integration-panel { gap:12px; }
.quantum-dashboard .btn-import,
.quantum-dashboard .masthead-console .api-key-status,
.quantum-dashboard .update-marker,
.quantum-dashboard .kanban-save-indicator,
.quantum-dashboard .btn-filter,
.quantum-dashboard .gtask-btn,
.quantum-dashboard .ai-btn-add,
.quantum-dashboard .calc-btn-calc,
.quantum-dashboard .calc-btn-export,
.quantum-dashboard .calc-btn-pdf,
.quantum-dashboard .ai-chat-send,
.quantum-dashboard .api-modal-save,
.quantum-dashboard .api-modal-cancel { min-height:44px; border-radius:14px; border:1px solid transparent; font-family:'IBM Plex Sans',sans-serif; font-size:12px; text-transform:none; box-shadow:none; }
.quantum-dashboard .btn-import.planning { background:linear-gradient(135deg, var(--q-accent-2), #678cff) !important; color:#fff !important; }
.quantum-dashboard .btn-import.pls { background:linear-gradient(135deg, #6f4ff6, #906af8) !important; color:#fff !important; }
.quantum-dashboard .btn-import.ai { background:linear-gradient(135deg, var(--q-accent), #1da194) !important; color:#fff !important; }
.quantum-dashboard .btn-import.risk-ai { background:linear-gradient(135deg, var(--q-danger), #ea796d) !important; color:#fff !important; }
.quantum-dashboard .btn-import.review { background:linear-gradient(135deg, #1f9362, #2bb07d) !important; color:#fff !important; }
.quantum-dashboard .btn-import.dark-toggle,
.quantum-dashboard .btn-import.preview-toggle,
.quantum-dashboard .update-marker { background:rgba(255,255,255,.08) !important; border-color:rgba(255,255,255,.08) !important; color:rgba(243,247,250,.9) !important; }
.quantum-dashboard .update-marker.synced,
.quantum-dashboard .kanban-save-indicator { background:rgba(31,147,98,.18) !important; border-color:rgba(31,147,98,.18) !important; color:#c9f7df !important; }
.quantum-dashboard .masthead-status-strip { gap:12px; }

.quantum-dashboard .layout { grid-template-columns:minmax(320px,340px) minmax(0,1fr); }
.quantum-dashboard .sidebar { gap:16px; padding:20px; border-right:1px solid var(--q-line); background:linear-gradient(180deg, rgba(245,248,250,.95), rgba(234,240,244,.88)); }
.quantum-dashboard .sb-group { padding:16px; border:1px solid var(--q-line); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:var(--q-shadow-md); }
.quantum-dashboard .sb-label { margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--q-line); }
.quantum-dashboard .sb-data-row { margin-bottom:8px; font-size:12px; color:var(--q-ink-soft); }
.quantum-dashboard .sb-data-val, .quantum-dashboard .fin-val, .quantum-dashboard .gantt-brief-value, .quantum-dashboard .pcp-brief-value, .quantum-dashboard .supply-brief-value, .quantum-dashboard .gantt-audit-card__value, .quantum-dashboard .res-val { font-family:'Sora',sans-serif; letter-spacing:-.05em; }
.quantum-dashboard .sb-data-val { font-size:18px; }
.quantum-dashboard .pg-bar-wrap { height:12px; margin:10px 0 14px; border-radius:999px; background:rgba(21,36,48,.08); border:0; overflow:hidden; }
.quantum-dashboard .pg-bar-fill { background:linear-gradient(90deg, var(--q-danger), var(--q-warn)); }
.quantum-dashboard .pg-bar-target { width:4px; border-radius:999px; }
.quantum-dashboard .fin-box, .quantum-dashboard .gtask-container, .quantum-dashboard .risk-panel { border:1px solid var(--q-line); border-radius:16px; background:rgba(255,255,255,.78); box-shadow:none; }
.quantum-dashboard .fin-box { padding:14px 14px 15px; border-left-width:1px; }
.quantum-dashboard .fin-box.total { background:linear-gradient(180deg, rgba(47,99,255,.06), rgba(255,255,255,.9)); }
.quantum-dashboard .fin-box.hist { background:linear-gradient(180deg, rgba(111,79,246,.05), rgba(255,255,255,.9)); }
.quantum-dashboard .fin-box.target { background:linear-gradient(180deg, rgba(31,147,98,.06), rgba(255,255,255,.9)); }
.quantum-dashboard .fin-box.hist { position:relative; overflow:hidden; }
.quantum-dashboard .history-selector { top:14px; right:14px; min-height:34px; padding:0 12px; border-radius:999px; border:1px solid rgba(111,79,246,.24); background:rgba(255,255,255,.86); box-shadow:0 10px 20px rgba(61,20,111,.08); }
.quantum-dashboard .fin-badge {
  display:inline-flex; align-items:center; gap:6px; margin:4px 0 12px;
  min-height:30px; padding:0 12px; border-radius:999px; border:1px solid rgba(111,79,246,.18);
  background:rgba(111,79,246,.08); color:var(--s-purple); font-family:'IBM Plex Mono',monospace;
  font-size:10px; letter-spacing:.12em; text-transform:uppercase; font-weight:700;
}
.quantum-dashboard .fin-metrics-grid {
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px;
  margin-top:14px;
}
.quantum-dashboard .fin-metric-card {
  display:flex; flex-direction:column; gap:6px; padding:12px 12px 14px;
  border:1px solid rgba(111,79,246,.12); border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.78), rgba(247,242,255,.88));
}
.quantum-dashboard .fin-metric-card span {
  font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .fin-metric-card strong {
  font-family:'Sora',sans-serif; font-size:18px; line-height:1.1; letter-spacing:-.04em; color:var(--q-ink);
}
.quantum-dashboard .fin-metric-card small {
  color:var(--q-ink-soft); font-size:11px; line-height:1.45;
}
.quantum-dashboard .fin-footnote {
  margin-top:12px; color:var(--q-ink-soft); font-size:11px; line-height:1.55;
}
.quantum-dashboard .risk-load { border-radius:14px; background:linear-gradient(135deg, rgba(11,122,112,.08), rgba(47,99,255,.08)); border:1px solid rgba(11,122,112,.18); color:var(--q-accent); }

.quantum-dashboard .main { gap:18px; padding:20px; background:transparent; }
.quantum-dashboard .dashboard-power-strip {
  display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:16px;
  padding:20px 22px; border:1px solid rgba(47,99,255,.14); border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(123,226,214,.16), transparent 24%),
    linear-gradient(145deg, rgba(243,248,255,.96), rgba(255,255,255,.88));
  box-shadow:0 18px 40px rgba(21,36,48,.08);
}
.quantum-dashboard .dashboard-power-strip__intro {
  display:flex; flex-direction:column; gap:8px;
}
.quantum-dashboard .dashboard-power-strip__eyebrow,
.quantum-dashboard .gantt-preset-bar__eyebrow {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .dashboard-power-strip__intro strong {
  font-family:'Sora',sans-serif; font-size:24px; line-height:1.08; letter-spacing:-.04em; color:var(--q-ink);
}
.quantum-dashboard .dashboard-power-strip__intro small {
  color:var(--q-ink-soft); font-size:12px; line-height:1.6;
}
.quantum-dashboard .dashboard-power-strip__actions {
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px;
}
.quantum-dashboard .dashboard-power-btn {
  min-height:56px; padding:14px 16px;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid rgba(21,36,48,.08); border-radius:18px;
  background:rgba(255,255,255,.84); color:var(--q-ink);
  font-family:'IBM Plex Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.02em;
}
.quantum-dashboard .dashboard-power-btn.accent {
  background:linear-gradient(135deg, var(--q-accent-2), #6e8fff); border-color:transparent; color:#fff;
}
.quantum-dashboard .dashboard-power-btn.success {
  background:linear-gradient(135deg, #1f9362, #2bb07d); border-color:transparent; color:#fff;
}
.quantum-dashboard .dashboard-power-btn:hover {
  transform:translateY(-1px); box-shadow:0 12px 24px rgba(21,36,48,.08);
}
.quantum-dashboard section { border:1px solid var(--q-line); border-radius:24px; background:rgba(255,255,255,.72); box-shadow:var(--q-shadow-lg); }
.quantum-dashboard .sec-head { padding:16px 18px; border-bottom:1px solid var(--q-line); background:rgba(255,255,255,.66); color:var(--q-ink); font-family:'Sora',sans-serif; font-size:18px; letter-spacing:-.03em; text-transform:none; }
.quantum-dashboard .tag, .quantum-dashboard .google-tasks-badge, .quantum-dashboard .api-key-status, .quantum-dashboard .gantt-day-info, .quantum-dashboard .supply-tab, .quantum-dashboard .pcp-panel-btn, .quantum-dashboard .pcp-pr-badge, .quantum-dashboard .pcp-ppc-badge, .quantum-dashboard .pcp-status-pill, .quantum-dashboard .supply-pill, .quantum-dashboard .supply-alert-badge, .quantum-dashboard .gantt-audit__badge, .quantum-dashboard .pcp-filter-note { border-radius:999px; }
.quantum-dashboard .filters-bar { gap:10px; padding:14px 16px; border-bottom:1px solid var(--q-line); background:rgba(247,249,251,.82); }
.quantum-dashboard .filter-select, .quantum-dashboard .filter-input, .quantum-dashboard .pcp-export-range__select, .quantum-dashboard .pcp-editor-input, .quantum-dashboard .pcp-editor-reason-input, .quantum-dashboard .api-key-input, .quantum-dashboard .task-sync-modal-input, .quantum-dashboard .ai-input, .quantum-dashboard .ai-date-input, .quantum-dashboard .calc-group input, .quantum-dashboard .ai-chat-input { min-height:42px; border:1px solid var(--q-line-strong); border-radius:14px; background:rgba(255,255,255,.82); color:var(--q-ink); box-shadow:inset 0 1px 0 rgba(255,255,255,.6); }
.quantum-dashboard .filter-select:focus, .quantum-dashboard .filter-input:focus, .quantum-dashboard .pcp-export-range__select:focus, .quantum-dashboard .pcp-editor-input:focus, .quantum-dashboard .pcp-editor-reason-input:focus, .quantum-dashboard .api-key-input:focus, .quantum-dashboard .task-sync-modal-input:focus, .quantum-dashboard .ai-input:focus, .quantum-dashboard .ai-date-input:focus, .quantum-dashboard .calc-group input:focus, .quantum-dashboard .ai-chat-input:focus { border-color:rgba(47,99,255,.4); box-shadow:0 0 0 4px rgba(47,99,255,.08); }
.quantum-dashboard .gantt-priority-section { position:relative; border-color:rgba(47,99,255,.2); box-shadow:0 18px 50px rgba(24,56,94,.12); }
.quantum-dashboard .gantt-priority-section::before {
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  border-radius:24px 24px 0 0;
  background:linear-gradient(90deg, var(--q-accent-2), var(--q-accent), var(--q-warn));
}
.quantum-dashboard .gantt-priority-section .sec-head,
.quantum-dashboard .gantt-priority-section .filters-bar { position:relative; z-index:1; }
.quantum-dashboard .gantt-priority-section .filters-bar {
  flex-wrap:wrap; align-items:center;
  background:
    radial-gradient(circle at top left, rgba(47,99,255,.06), transparent 26%),
    linear-gradient(180deg, rgba(244,248,255,.92), rgba(247,249,251,.82));
}
.quantum-dashboard .gantt-preset-bar {
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr); gap:14px;
  margin:0 16px; padding:16px 18px;
  border:1px solid rgba(47,99,255,.12); border-radius:20px;
  background:linear-gradient(145deg, rgba(245,249,255,.92), rgba(255,255,255,.86));
}
.quantum-dashboard .gantt-preset-bar__intro {
  display:flex; flex-direction:column; gap:8px;
}
.quantum-dashboard .gantt-preset-bar__intro strong {
  font-family:'Sora',sans-serif; font-size:19px; line-height:1.14; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .gantt-preset-bar__actions {
  display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:10px;
}
.quantum-dashboard .gantt-preset-btn {
  min-height:54px; padding:12px 14px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid rgba(47,99,255,.12); border-radius:16px;
  background:rgba(255,255,255,.86); color:var(--q-ink);
  font-family:'IBM Plex Sans',sans-serif; font-size:11px; font-weight:700;
}
.quantum-dashboard .gantt-preset-btn.neutral {
  border-style:dashed;
}
.quantum-dashboard .gantt-preset-btn.is-active,
.quantum-dashboard .gantt-preset-btn:hover {
  border-color:transparent;
  background:linear-gradient(135deg, var(--q-accent-2), #5f86ff);
  color:#fff;
  box-shadow:0 12px 22px rgba(47,99,255,.16);
}
.quantum-dashboard .gantt-priority-section .filter-select { min-width:170px; }
.quantum-dashboard .gantt-priority-section #filterPeriod { min-width:280px; }
.quantum-dashboard .gantt-priority-section .table-wrapper { max-height:64vh; }
.quantum-dashboard .gantt-analytics-panel {
  margin:0 16px 16px; padding:18px;
  border:1px solid rgba(47,99,255,.14); border-radius:22px;
  background:linear-gradient(145deg, rgba(243,248,255,.94), rgba(255,255,255,.9));
}
.quantum-dashboard .gantt-analytics-panel__head {
  display:flex; justify-content:space-between; align-items:flex-start; gap:14px;
  margin-bottom:14px;
}
.quantum-dashboard .gantt-analytics-panel__eyebrow,
.quantum-dashboard .gantt-insight-card__label {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .gantt-analytics-panel__title {
  font-family:'Sora',sans-serif; font-size:20px; line-height:1.1; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .gantt-analysis-note {
  max-width:34ch; min-height:42px; padding:10px 12px;
  border:1px solid rgba(47,99,255,.14); border-radius:16px;
  background:rgba(255,255,255,.78); color:var(--q-ink-soft); font-size:12px; line-height:1.5;
}
.quantum-dashboard .gantt-analytics-grid {
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; margin-bottom:12px;
}
.quantum-dashboard .gantt-insight-card {
  display:flex; flex-direction:column; gap:8px; min-height:126px; padding:16px;
  border:1px solid var(--q-line); border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(243,247,251,.82));
}
.quantum-dashboard .gantt-insight-card__value {
  font-family:'Sora',sans-serif; font-size:24px; line-height:1.05; letter-spacing:-.04em; color:var(--q-ink);
}
.quantum-dashboard .gantt-insight-card__text {
  color:var(--q-ink-soft); font-size:12px; line-height:1.55;
}
.quantum-dashboard .gantt-cluster-list {
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px;
}
.quantum-dashboard .gantt-cluster-item,
.quantum-dashboard .gantt-cluster-empty {
  padding:14px 15px; border:1px solid var(--q-line); border-radius:18px;
  background:rgba(255,255,255,.78);
}
.quantum-dashboard .gantt-cluster-item strong {
  display:block; margin-bottom:8px; font-family:'Sora',sans-serif; font-size:16px; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .gantt-cluster-item span,
.quantum-dashboard .gantt-cluster-empty {
  display:block; color:var(--q-ink-soft); font-size:12px; line-height:1.55;
}
.quantum-dashboard .gantt-virtual-group-row td {
  padding:12px 14px !important; background:rgba(21,36,48,.92) !important; color:#f2f7fb !important;
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase;
}
.quantum-dashboard .section-head-tools {
  margin-left:auto; display:flex; flex-wrap:wrap; align-items:center; gap:8px;
}
.quantum-dashboard .section-head-btn {
  min-width:38px; min-height:38px; padding:0 14px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:1px solid var(--q-line); border-radius:999px;
  background:rgba(255,255,255,.76); color:var(--q-ink);
  font-size:11px; font-family:'IBM Plex Mono',monospace; letter-spacing:.08em; text-transform:uppercase;
}
.quantum-dashboard .section-head-btn__label {
  white-space:nowrap;
}
.quantum-dashboard .section-head-btn.emphasis {
  border-color:rgba(47,99,255,.2);
  background:rgba(47,99,255,.08);
  color:var(--q-accent-2);
}
.quantum-dashboard .section-head-btn:hover { border-color:rgba(47,99,255,.24); color:var(--q-accent-2); }
.quantum-dashboard.dashboard-section-focus .main > section:not(.section-is-focus) { display:none; }
.quantum-dashboard .main > section.section-is-focus {
  width:100%; box-shadow:0 24px 70px rgba(15,23,42,.16);
}
.quantum-dashboard .main > section.section-is-focus .table-wrapper { max-height:76vh; }
.quantum-dashboard #directorReportModal.api-modal-overlay {
  align-items:flex-start;
  padding:18px 18px 34px;
  overflow-y:auto;
}
.quantum-dashboard .director-report-modal {
  width:min(1780px, calc(100vw - 36px)); min-height:min(94vh, 1120px); max-height:none; overflow:auto;
  resize:both;
  padding:0; border-color:rgba(47,99,255,.18);
}
.quantum-dashboard .director-report-modal--fullscreen {
  width:100vw; max-width:100vw; max-height:100vh; min-height:100vh; border-radius:0;
}
.quantum-dashboard .director-report-shell { padding:34px; min-height:min(92vh, 1040px); }
.quantum-dashboard .director-report-head {
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  margin-bottom:18px;
}
.quantum-dashboard .director-report-head__actions {
  display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px;
}
.quantum-dashboard .director-report-eyebrow {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .director-report-head h2 { margin:6px 0 8px; }
.quantum-dashboard .director-report-head p { margin:0; color:var(--q-ink-soft); }
.quantum-dashboard .director-report-toolbar {
  display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, .8fr); gap:12px; margin-bottom:16px;
}
.quantum-dashboard .director-report-toolbar__item {
  display:flex; flex-direction:column; gap:8px; padding:16px;
  border:1px solid var(--q-line); border-radius:20px; background:rgba(255,255,255,.78);
}
.quantum-dashboard .director-report-toolbar__item span,
.quantum-dashboard .director-report-field span {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .director-report-toolbar__item--status strong {
  font-family:'Sora',sans-serif; font-size:18px; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .director-report-toolbar__item--status small { color:var(--q-ink-soft); }
.quantum-dashboard .director-report-kpis {
  display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:12px; margin-bottom:18px;
}
.quantum-dashboard .director-report-kpi {
  display:flex; flex-direction:column; gap:8px; padding:16px;
  border:1px solid var(--q-line); border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(243,247,250,.84));
}
.quantum-dashboard .director-report-kpi span {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .director-report-kpi strong {
  font-family:'Sora',sans-serif; font-size:24px; line-height:1.05; letter-spacing:-.04em; color:var(--q-ink);
}
.quantum-dashboard .director-report-kpi small { color:var(--q-ink-soft); line-height:1.45; }
.quantum-dashboard .director-report-grid {
  display:grid; grid-template-columns:minmax(0, 1.12fr) minmax(440px, .98fr); gap:18px;
}
.quantum-dashboard .director-report-column { display:flex; flex-direction:column; gap:14px; }
.quantum-dashboard .director-report-field {
  display:flex; flex-direction:column; gap:8px; padding:16px;
  border:1px solid var(--q-line); border-radius:22px; background:rgba(255,255,255,.8);
}
.quantum-dashboard .director-report-field textarea { min-height:220px; resize:vertical; }
.quantum-dashboard .director-report-panel {
  border:1px solid var(--q-line); border-radius:22px; overflow:hidden; background:rgba(255,255,255,.8);
}
.quantum-dashboard .director-report-panel__head {
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:14px 16px; border-bottom:1px solid var(--q-line);
  background:rgba(247,249,251,.82); font-family:'Sora',sans-serif; font-size:15px;
}
.quantum-dashboard .director-report-charts {
  display:grid; grid-template-columns:1fr; gap:12px; padding:16px;
}
.quantum-dashboard .director-report-chart-card {
  padding:16px; border:1px solid var(--q-line); border-radius:18px; background:rgba(255,255,255,.82);
}
.quantum-dashboard .director-report-chart-card__title {
  margin-bottom:10px; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .director-report-chart-card canvas {
  width:100% !important; height:240px !important;
}
.quantum-dashboard .director-report-list {
  display:flex; flex-direction:column; gap:10px; padding:16px;
}
.quantum-dashboard .director-report-list-item {
  padding:14px 15px; border:1px solid var(--q-line); border-radius:16px; background:rgba(255,255,255,.76);
}
.quantum-dashboard .director-report-list-item strong {
  display:block; margin-bottom:6px; font-family:'Sora',sans-serif; font-size:15px; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .director-report-list-item span {
  display:block; color:var(--q-ink-soft); font-size:12px; line-height:1.55;
}
.quantum-dashboard .director-report-list-item .tag { display:inline-flex; margin-top:8px; }
.quantum-dashboard .director-report-actions { margin-top:18px; }

.quantum-dashboard .gantt-brief, .quantum-dashboard .pcp-brief, .quantum-dashboard .supply-brief { gap:14px; padding:16px; background:transparent; border-bottom:1px solid var(--q-line); }
.quantum-dashboard .gantt-brief-card, .quantum-dashboard .pcp-brief-card, .quantum-dashboard .supply-brief-card { min-height:122px; padding:18px; border:1px solid var(--q-line); border-radius:20px; background:linear-gradient(180deg, rgba(255,255,255,.84), rgba(245,248,250,.82)); box-shadow:none; }
.quantum-dashboard .gantt-brief-card::after, .quantum-dashboard .supply-brief-card::after { opacity:.08; }
.quantum-dashboard .gantt-brief-value, .quantum-dashboard .pcp-brief-value, .quantum-dashboard .supply-brief-value { font-size:30px; line-height:1; }
.quantum-dashboard .gantt-brief-sub, .quantum-dashboard .pcp-brief-sub, .quantum-dashboard .supply-brief-sub, .quantum-dashboard .gantt-audit-card__sub, .quantum-dashboard .gantt-audit-finding__body { color:var(--q-ink-soft); font-size:12px; line-height:1.55; }
.quantum-dashboard .gantt-command-strip, .quantum-dashboard .supply-command-strip, .quantum-dashboard .supply-meta-strip { gap:12px; padding:0 16px 16px; background:transparent; border-bottom:1px solid var(--q-line); }
.quantum-dashboard .gantt-command-item, .quantum-dashboard .supply-command-item, .quantum-dashboard .supply-meta-item { padding:16px 18px; border:1px solid var(--q-line); border-radius:18px; background:rgba(255,255,255,.8); box-shadow:none; }
.quantum-dashboard .gantt-command-item strong, .quantum-dashboard .supply-command-item strong, .quantum-dashboard .supply-meta-item strong { font-size:14px; line-height:1.4; }
.quantum-dashboard .gantt-secondary-toolbar {
  display:grid; grid-template-columns:minmax(0, 1.15fr) auto; gap:12px;
  align-items:center; margin:0 16px 16px; padding:14px 16px;
  border:1px solid var(--q-line); border-radius:18px;
  background:rgba(255,255,255,.78);
}
.quantum-dashboard .gantt-secondary-toolbar__copy {
  display:flex; flex-direction:column; gap:6px;
}
.quantum-dashboard .gantt-secondary-toolbar__eyebrow {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .gantt-secondary-toolbar__copy strong {
  font-family:'Sora',sans-serif; font-size:17px; line-height:1.12; letter-spacing:-.03em; color:var(--q-ink);
}
.quantum-dashboard .gantt-secondary-toolbar__actions {
  display:flex; justify-content:flex-end; align-items:center; gap:10px;
}
.quantum-dashboard .gantt-secondary-toolbar .dashboard-power-btn {
  min-width:260px;
}
.quantum-dashboard .gantt-audit { margin:0 16px 16px; padding:18px; border:1px solid rgba(47,99,255,.14); border-radius:22px; background:linear-gradient(180deg, rgba(244,248,255,.92), rgba(255,255,255,.88)); box-shadow:none; }
.quantum-dashboard .gantt-audit[hidden] { display:none !important; }
.quantum-dashboard .gantt-audit__title { font-family:'Sora',sans-serif; font-size:20px; letter-spacing:-.03em; }
.quantum-dashboard .gantt-audit-card, .quantum-dashboard .supply-alert-item, .quantum-dashboard .supply-strategy-item, .quantum-dashboard .supply-chain-card, .quantum-dashboard .supply-unlinked-item, .quantum-dashboard .supply-risk-card, .quantum-dashboard .pcp-heat-row, .quantum-dashboard .pcp-editor-card, .quantum-dashboard .pcp-guidance-cell { border-radius:18px; }
.quantum-dashboard .gantt-audit-card { min-height:120px; padding:14px 16px; border-color:var(--q-line); background:rgba(255,255,255,.82); }
.quantum-dashboard .gantt-audit-card__value { font-size:30px; }
.quantum-dashboard .gantt-table-empty {
  padding:26px 18px !important;
  text-align:center;
  color:var(--q-ink-soft);
  font-size:13px;
  line-height:1.6;
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,248,252,.84)) !important;
}

.quantum-dashboard .table-wrapper { max-height:58vh; border-top:1px solid var(--q-line); background:rgba(246,249,251,.78); }
.quantum-dashboard table.sched-table th { padding:10px 8px; border-bottom:1px solid var(--q-line-strong); background:rgba(240,245,248,.96); color:var(--q-ink-faint); font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:.08em; }
.quantum-dashboard table.sched-table td { padding:7px 8px; border-bottom:1px solid rgba(21,36,48,.05); background:rgba(255,255,255,.84); }
.quantum-dashboard table.sched-table tr:hover td { background:rgba(242,247,250,.96); }
.quantum-dashboard .macro-row td { background:rgba(236,242,247,.96); color:var(--q-accent-2); }
.quantum-dashboard .month-divider td { background:rgba(21,36,48,.92) !important; }
.quantum-dashboard .td-ativ { font-size:12px; line-height:1.45; }
.quantum-dashboard .td-pls { border-radius:999px; padding:4px 8px; }
.quantum-dashboard .gantt-sync-btn { width:36px; height:32px; border:1px solid var(--q-line-strong); border-radius:10px; background:rgba(255,255,255,.84); }
.quantum-dashboard .bar { height:20px; border-radius:999px; font-size:8px; }

.quantum-dashboard .pcp-shell, .quantum-dashboard .supply-view, .quantum-dashboard .ai-kanban-input-wrap, .quantum-dashboard .kanban-alerts, .quantum-dashboard .ai-kanban-grid, .quantum-dashboard .calc-grid, .quantum-dashboard .ai-chat-wrap { background:transparent; }
.quantum-dashboard .pcp-shell { gap:16px; padding:16px; }
.quantum-dashboard .pcp-toolbar { padding:16px; border:1px solid var(--q-line); border-radius:20px; background:rgba(255,255,255,.78); }
.quantum-dashboard .pcp-panel, .quantum-dashboard .supply-panel { border:1px solid var(--q-line); border-radius:22px; background:rgba(255,255,255,.78); box-shadow:none; }
.quantum-dashboard .pcp-panel-head, .quantum-dashboard .supply-panel-head { padding:16px 18px; border-bottom:1px solid var(--q-line); background:rgba(247,249,251,.84); font-family:'Sora',sans-serif; font-size:16px; text-transform:none; }
.quantum-dashboard .pcp-heat-row, .quantum-dashboard .pcp-editor-card, .quantum-dashboard .supply-alert-item, .quantum-dashboard .supply-strategy-item, .quantum-dashboard .supply-chain-card, .quantum-dashboard .supply-unlinked-item, .quantum-dashboard .supply-risk-card, .quantum-dashboard .ai-task-card, .quantum-dashboard .res-box, .quantum-dashboard .ai-context-card, .quantum-dashboard .ai-quick-btn { border:1px solid var(--q-line); background:rgba(255,255,255,.84); box-shadow:none; }
.quantum-dashboard .pcp-table th, .quantum-dashboard .supply-table th { background:rgba(240,245,248,.96); color:var(--q-ink-faint); }
.quantum-dashboard .pcp-table td, .quantum-dashboard .supply-table td { background:rgba(255,255,255,.8); }
.quantum-dashboard .supply-tab.is-active { background:linear-gradient(135deg, var(--q-accent-2), #6c8fff); border-color:transparent; color:#fff; box-shadow:none; }
.quantum-dashboard .ai-kanban-input-wrap, .quantum-dashboard .kanban-alerts, .quantum-dashboard .ai-kanban-grid, .quantum-dashboard .calc-grid { padding:16px; }
.quantum-dashboard .ai-col { border:1px solid var(--q-line); border-radius:20px; background:rgba(255,255,255,.78); overflow:hidden; }
.quantum-dashboard .ai-col-head { padding:14px 12px; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; }
.quantum-dashboard .ai-task-deadline, .quantum-dashboard .ai-task-criticality { border-radius:999px; }
.quantum-dashboard .calc-panel { padding:18px; border-radius:22px; }
.quantum-dashboard .res-box { border-left-width:1px; border-radius:16px; }
.quantum-dashboard .res-title, .quantum-dashboard .ai-context-card strong, .quantum-dashboard .ai-quick-head { font-family:'IBM Plex Mono',monospace; }
.quantum-dashboard .res-val, .quantum-dashboard .ai-context-card b, .quantum-dashboard .ai-chat-feed-title { font-family:'Sora',sans-serif; letter-spacing:-.03em; }
.quantum-dashboard .ai-chat-wrap { border:1px solid var(--q-line); border-radius:22px; overflow:hidden; }
.quantum-dashboard .ai-chat-feed { background:rgba(246,249,251,.82); }
.quantum-dashboard .chat-msg { border-radius:18px; }
.quantum-dashboard .chat-msg.user { background:rgba(21,36,48,.92); }
.quantum-dashboard .chat-msg.assistant { border:1px solid var(--q-line); border-left:4px solid var(--q-accent); background:rgba(255,255,255,.88); }
.quantum-dashboard .ai-chat-controls { background:rgba(255,255,255,.76); border-left:1px solid var(--q-line); }
.quantum-dashboard .ai-context-summary { border-radius:18px; background:linear-gradient(135deg, rgba(11,122,112,.08), rgba(47,99,255,.08)); }
.quantum-dashboard .ultra-tooltip { border:1px solid var(--q-line); border-top:4px solid var(--q-accent-2); border-radius:18px; background:rgba(255,255,255,.96); box-shadow:var(--q-shadow-xl); }
.quantum-dashboard .toast { border:1px solid var(--q-line); border-left:0; border-radius:16px; background:rgba(255,255,255,.92); box-shadow:var(--q-shadow-md); }
.quantum-dashboard .api-modal-overlay { background:rgba(12,20,28,.46); backdrop-filter:blur(10px); }
.quantum-dashboard .api-modal { position:relative; width:min(560px,95vw); padding:28px; border:1px solid rgba(11,122,112,.18); border-top:0; border-radius:26px; background:rgba(255,255,255,.94); box-shadow:var(--q-shadow-xl); }
.quantum-dashboard .api-modal::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:5px; border-radius:26px 26px 0 0; background:linear-gradient(90deg, var(--q-accent), var(--q-accent-2)); }
.quantum-dashboard .api-modal h2 { font-family:'Sora',sans-serif; font-size:24px; text-transform:none; letter-spacing:-.03em; }
.quantum-dashboard.quantum-popout-body {
  margin:0; min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(47,99,255,.16), transparent 34%),
    radial-gradient(circle at top right, rgba(11,122,112,.14), transparent 28%),
    linear-gradient(180deg, #eef3f7, #f8fbfd 48%, #edf3f7);
}
.quantum-dashboard .quantum-popout-shell {
  min-height:100vh; padding:22px;
}
.quantum-dashboard .quantum-popout-toolbar {
  display:flex; justify-content:space-between; align-items:flex-start; gap:14px;
  padding:18px 20px; border:1px solid var(--q-line); border-radius:24px;
  background:rgba(255,255,255,.84); box-shadow:var(--q-shadow-md);
}
.quantum-dashboard .quantum-popout-toolbar__meta {
  display:flex; flex-direction:column; gap:6px;
}
.quantum-dashboard .quantum-popout-toolbar__meta strong {
  font-family:'Sora',sans-serif; font-size:24px; letter-spacing:-.04em; color:var(--q-ink);
}
.quantum-dashboard .quantum-popout-toolbar__meta small {
  color:var(--q-ink-soft); font-size:12px; line-height:1.5;
}
.quantum-dashboard .quantum-popout-eyebrow {
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--q-ink-faint);
}
.quantum-dashboard .quantum-popout-toolbar__actions {
  display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px;
}
.quantum-dashboard .quantum-popout-content {
  padding:18px 2px 2px;
}
.quantum-dashboard .quantum-popout-content > section {
  margin:0;
}
.quantum-dashboard .quantum-popout-content .table-wrapper {
  max-height:none;
}
.quantum-dashboard .director-report-chart-image {
  width:100%; display:block; min-height:240px; object-fit:contain;
  border:1px solid var(--q-line); border-radius:16px; background:rgba(255,255,255,.9);
}

html[data-theme="dark"] .quantum-dashboard .history-selector,
html[data-theme="dark"] .quantum-dashboard .dashboard-power-strip,
html[data-theme="dark"] .quantum-dashboard .dashboard-power-btn,
html[data-theme="dark"] .quantum-dashboard .gantt-secondary-toolbar,
html[data-theme="dark"] .quantum-dashboard .fin-metric-card,
html[data-theme="dark"] .quantum-dashboard .gantt-preset-bar,
html[data-theme="dark"] .quantum-dashboard .gantt-analytics-panel,
html[data-theme="dark"] .quantum-dashboard .gantt-insight-card,
html[data-theme="dark"] .quantum-dashboard .gantt-cluster-item,
html[data-theme="dark"] .quantum-dashboard .gantt-cluster-empty,
html[data-theme="dark"] .quantum-dashboard .gantt-preset-btn,
html[data-theme="dark"] .quantum-dashboard .section-head-btn,
html[data-theme="dark"] .quantum-dashboard .director-report-toolbar__item,
html[data-theme="dark"] .quantum-dashboard .director-report-kpi,
html[data-theme="dark"] .quantum-dashboard .director-report-field,
html[data-theme="dark"] .quantum-dashboard .director-report-panel,
html[data-theme="dark"] .quantum-dashboard .director-report-chart-card,
html[data-theme="dark"] .quantum-dashboard .director-report-list-item {
  background:rgba(17,27,37,.86);
  color:var(--q-ink);
}

html[data-theme="dark"] .quantum-dashboard .gantt-priority-section,
html[data-theme="dark"] .quantum-dashboard .gantt-analytics-panel,
html[data-theme="dark"] .quantum-dashboard .director-report-modal {
  border-color:rgba(132,168,255,.16);
}

html[data-theme="dark"] .quantum-dashboard.quantum-popout-body {
  background:
    radial-gradient(circle at top left, rgba(132,168,255,.15), transparent 32%),
    radial-gradient(circle at top right, rgba(11,122,112,.15), transparent 26%),
    linear-gradient(180deg, #0b1219, #101922 48%, #0f1821);
}

html[data-theme="dark"] .quantum-dashboard .quantum-popout-toolbar,
html[data-theme="dark"] .quantum-dashboard .director-report-chart-image {
  background:rgba(17,27,37,.88);
  border-color:rgba(132,168,255,.16);
}

html[data-theme="dark"] .quantum-dashboard .fin-badge,
html[data-theme="dark"] .quantum-dashboard .gantt-analysis-note {
  background:rgba(132,168,255,.1);
  border-color:rgba(132,168,255,.18);
  color:var(--q-ink-soft);
}

html[data-theme="dark"] .quantum-dashboard .gantt-table-empty {
  background:linear-gradient(180deg, rgba(17,27,37,.92), rgba(12,20,29,.9)) !important;
  color:var(--q-ink-soft);
}

html[data-theme="dark"] .quantum-dashboard .dashboard-power-btn.accent,
html[data-theme="dark"] .quantum-dashboard .dashboard-power-btn.success,
html[data-theme="dark"] .quantum-dashboard .gantt-preset-btn.is-active,
html[data-theme="dark"] .quantum-dashboard .gantt-preset-btn:hover {
  color:#fff;
}

html[data-theme="dark"] .quantum-dashboard .gantt-virtual-group-row td {
  background:rgba(132,168,255,.12) !important;
  color:var(--q-ink) !important;
}

@media (max-width:1280px) {
  .quantum-dashboard .layout { grid-template-columns:1fr; }
  .quantum-dashboard .sidebar { position:static; max-height:none; border-right:none; border-bottom:1px solid var(--q-line); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .quantum-dashboard .director-report-kpis { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .quantum-dashboard .director-report-grid { grid-template-columns:1fr; }
}

@media (max-width:960px) {
  .quantum-dashboard::before { inset:10px; border-radius:24px; }
  .quantum-dashboard .masthead, .quantum-dashboard .integration-panel, .quantum-dashboard .gantt-command-strip, .quantum-dashboard .gantt-secondary-toolbar, .quantum-dashboard .supply-command-strip, .quantum-dashboard .supply-meta-strip, .quantum-dashboard .pcp-toolbar, .quantum-dashboard .pcp-grid, .quantum-dashboard .pcp-grid-bottom, .quantum-dashboard .supply-view-grid, .quantum-dashboard .supply-view-grid-chain, .quantum-dashboard .supply-risk-grid, .quantum-dashboard .calc-grid, .quantum-dashboard .ai-chat-wrap, .quantum-dashboard .ai-kanban-grid { grid-template-columns:1fr; }
  .quantum-dashboard .dashboard-power-strip,
  .quantum-dashboard .gantt-preset-bar { grid-template-columns:1fr; }
  .quantum-dashboard .dashboard-power-strip__actions,
  .quantum-dashboard .gantt-preset-bar__actions { grid-template-columns:1fr 1fr; }
  .quantum-dashboard .masthead-highlights, .quantum-dashboard .masthead-status-strip, .quantum-dashboard .gantt-brief, .quantum-dashboard .pcp-brief, .quantum-dashboard .supply-brief { grid-template-columns:1fr 1fr; }
  .quantum-dashboard .ai-chat-controls { border-left:none; border-top:1px solid var(--q-line); }
  .quantum-dashboard .gantt-analytics-grid,
  .quantum-dashboard .gantt-cluster-list,
  .quantum-dashboard .fin-metrics-grid,
  .quantum-dashboard .director-report-kpis,
  .quantum-dashboard .director-report-toolbar { grid-template-columns:1fr 1fr; }
  .quantum-dashboard .gantt-analytics-panel__head,
  .quantum-dashboard .director-report-head { flex-direction:column; }
  .quantum-dashboard #directorReportModal.api-modal-overlay { padding:14px; }
  .quantum-dashboard .director-report-modal { width:min(100vw - 28px, 100vw); min-height:auto; resize:none; }
}

@media (max-width:720px) {
  .quantum-dashboard::before { display:none; }
  .quantum-dashboard .container { border:none; border-radius:0; }
  .quantum-dashboard .site-switcher { top:0; margin-bottom:10px; border-radius:0 0 18px 18px; }
  .quantum-dashboard .masthead, .quantum-dashboard .main, .quantum-dashboard .sidebar { padding:16px; }
  .quantum-dashboard .mh-title { max-width:none; font-size:30px; }
  .quantum-dashboard .masthead-highlights, .quantum-dashboard .masthead-status-strip, .quantum-dashboard .gantt-brief, .quantum-dashboard .pcp-brief, .quantum-dashboard .supply-brief, .quantum-dashboard .sidebar, .quantum-dashboard .integration-panel, .quantum-dashboard .dashboard-power-strip__actions, .quantum-dashboard .gantt-preset-bar__actions { grid-template-columns:1fr; }
  .quantum-dashboard .sb-group, .quantum-dashboard section, .quantum-dashboard .pcp-panel, .quantum-dashboard .supply-panel, .quantum-dashboard .calc-panel { border-radius:20px; }
  .quantum-dashboard .table-wrapper { max-height:none; }
  .quantum-dashboard #toast-container { left:12px; right:12px; bottom:12px; }
  .quantum-dashboard .gantt-analytics-grid,
  .quantum-dashboard .gantt-cluster-list,
  .quantum-dashboard .fin-metrics-grid,
  .quantum-dashboard .director-report-kpis,
  .quantum-dashboard .director-report-toolbar { grid-template-columns:1fr; }
  .quantum-dashboard .director-report-shell { padding:18px; min-height:auto; }
  .quantum-dashboard #directorReportModal.api-modal-overlay { padding:0; }
  .quantum-dashboard .director-report-modal { width:100vw; max-height:none; border-radius:0; resize:none; }
  .quantum-dashboard .quantum-popout-shell { padding:12px; }
  .quantum-dashboard .quantum-popout-toolbar { flex-direction:column; }
  .quantum-dashboard .gantt-secondary-toolbar .dashboard-power-btn { width:100%; min-width:0; }
}
