/* CEILR Dashboard Visual Command V1 — native CSS/SVG only; no fabricated data states. */

.ceilr-theme-toggle{display:inline-flex!important;gap:6px;align-items:center;min-height:34px!important;padding:7px 10px!important;border:1px solid var(--p44-line)!important;background:var(--p44-panel)!important;color:var(--p44-ink)!important;box-shadow:none!important;font-size:11px!important}.ceilr-theme-toggle:hover{filter:none!important;background:var(--p44-soft)!important}.ceilr-theme-icon{font-size:13px;line-height:1}

.ceilr-command-readiness{display:grid;gap:9px;margin:10px 0 14px;padding:12px 14px;border:1px solid var(--p44-line);border-radius:14px;background:var(--p44-panel);box-shadow:0 3px 12px rgba(15,23,42,.025)}.ceilr-readiness-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ceilr-readiness-head>div{display:flex;align-items:baseline;gap:8px;min-width:0}.ceilr-readiness-kicker{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--p44-muted)}#ceilr-readiness-label{font-size:12px;color:var(--p44-ink)}.ceilr-readiness-percent{font-size:11px;font-weight:850;color:#4058c3}.ceilr-readiness-track{height:6px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--p44-line) 82%,transparent)}.ceilr-readiness-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#4361ee,#2a7bdb);transition:width .25s ease}.ceilr-readiness-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ceilr-readiness-item{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 8px;border:1px solid var(--p44-line);border-radius:9px;background:var(--p44-soft);color:var(--p44-ink);text-decoration:none}.ceilr-readiness-item>span:last-child{min-width:0}.ceilr-readiness-item strong,.ceilr-readiness-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ceilr-readiness-item strong{font-size:10px}.ceilr-readiness-item small{margin-top:2px;font-size:9px;color:var(--p44-muted)}.ceilr-status-dot{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:#98a2b3}.is-ready>.ceilr-status-dot,.ceilr-evidence-state.is-ready .ceilr-status-dot{background:#12b76a}.is-warning>.ceilr-status-dot,.ceilr-evidence-state.is-warning .ceilr-status-dot{background:#f79009}.is-missing>.ceilr-status-dot,.ceilr-evidence-state.is-missing .ceilr-status-dot{background:#98a2b3}

.ceilr-guardrail-kpi{grid-column:span 1}.ceilr-guardrail-gauge{display:grid;gap:5px;margin-top:10px;padding-top:9px;border-top:1px solid var(--p44-line)}.ceilr-guardrail-track{position:relative;height:9px;border-radius:999px;background:linear-gradient(90deg,color-mix(in srgb,var(--p44-green) 11%,var(--p44-panel)) 0 50%,color-mix(in srgb,var(--p44-amber) 12%,var(--p44-panel)) 50% 100%);border:1px solid color-mix(in srgb,var(--p44-line) 90%,transparent)}.ceilr-guardrail-safe{position:absolute;inset:0 auto 0 0;width:0;border-radius:999px;background:color-mix(in srgb,var(--p44-green) 31%,transparent)}.ceilr-guardrail-marker{position:absolute;top:50%;width:2px;height:18px;transform:translate(-1px,-50%);border-radius:2px;background:var(--p44-ink);box-shadow:0 0 0 1px var(--p44-panel)}.ceilr-guardrail-marker.is-current{width:8px;height:8px;border-radius:50%;background:#4361ee;box-shadow:0 0 0 2px var(--p44-panel),0 0 0 3px #4361ee}.ceilr-guardrail-marker.is-fundable{width:7px;height:7px;transform:translate(-3px,-50%) rotate(45deg);border-radius:1px;background:var(--p44-amber);box-shadow:0 0 0 2px var(--p44-panel)}.ceilr-guardrail-scale{display:flex;justify-content:space-between;gap:8px;color:var(--p44-muted);font-size:8.5px}.ceilr-guardrail-scale strong{color:var(--p44-ink);font-weight:800}.ceilr-guardrail-status{font-size:9px;line-height:1.35;color:var(--p44-muted)}.ceilr-inline-action,.ceilr-kpi-action{display:inline-flex;width:max-content;max-width:100%;align-items:center;margin-top:2px;padding:5px 7px;border-radius:7px;background:var(--p44-bluebg);color:#4058c3;text-decoration:none;font-size:9px;font-weight:800}.ceilr-inline-action:hover,.ceilr-kpi-action:hover{filter:brightness(.97)}

.ceilr-microtrend{display:grid;grid-template-columns:minmax(80px,1fr) auto;align-items:center;gap:7px;margin-top:9px;padding-top:8px;border-top:1px solid var(--p44-line);color:#4361ee}.ceilr-microtrend svg{width:100%;height:24px;overflow:visible}.ceilr-microtrend span{font-size:8.5px;line-height:1.25;color:var(--p44-muted);text-align:right}.ceilr-microtrend.is-empty svg{display:none}.ceilr-microtrend.is-empty{grid-template-columns:1fr;color:var(--p44-muted)}.ceilr-microtrend[data-direction="down"]{color:var(--p44-red)}.ceilr-microtrend[data-direction="up"]{color:var(--p44-green)}

.ceilr-evidence-state{display:flex;align-items:center;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--p44-line)}.ceilr-evidence-state strong{font-size:9px;color:var(--p44-muted)}.p44-kpi.is-incomplete{border-style:dashed;background:color-mix(in srgb,var(--p44-panel) 88%,var(--p44-soft))}.ceilr-kpi-action.hidden{display:none!important}

.ceilr-info-toggle{display:inline-flex!important;align-items:center;gap:5px;width:auto!important;min-height:0!important;margin:4px 0 0;padding:4px 6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--p44-muted)!important;font-size:10px!important;font-weight:800!important;box-shadow:none!important}.ceilr-info-toggle:hover{background:var(--p44-soft)!important;filter:none!important}.ceilr-decision-reason{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;max-width:850px}.ceilr-decision-reason.is-expanded{display:block;overflow:visible}.p44-command[data-ceilr-temperature="act"]{border-color:color-mix(in srgb,var(--p44-red) 35%,var(--p44-line))}.p44-command[data-ceilr-temperature="ready"]{border-color:color-mix(in srgb,var(--p44-green) 28%,var(--p44-line))}.p44-command[data-ceilr-temperature="review"],.p44-command[data-ceilr-temperature="monitor"]{border-color:color-mix(in srgb,var(--p44-amber) 28%,var(--p44-line))}.ceilr-temp-act{background:var(--p44-redbg)!important;color:var(--p44-red)!important}.ceilr-temp-review,.ceilr-temp-monitor{background:var(--p44-amberbg)!important;color:var(--p44-amber)!important}.ceilr-temp-ready{background:var(--p44-greenbg)!important;color:var(--p44-green)!important}.ceilr-temp-blocked{background:color-mix(in srgb,var(--p44-muted) 10%,var(--p44-panel))!important;color:var(--p44-muted)!important}

/* Focus is deliberately one-screen-first. Deeper diagnostics remain in Analyst/Portfolio or dedicated routes. */
body[data-dashboard-mode="focus"] #overview .ceilr-focus-secondary,body[data-dashboard-mode="focus"] #overview .ceilr-focus-secondary-label{display:none!important}body[data-dashboard-mode="focus"] #overview .p44-sectionlabel:first-of-type{margin-top:10px}body[data-dashboard-mode="focus"] #overview .p44-commandgrid{grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:12px}body[data-dashboard-mode="focus"] #overview .p44-command{padding:17px 18px}body[data-dashboard-mode="focus"] #overview .p44-nextdollar{padding:17px 18px}body[data-dashboard-mode="focus"] #overview .p44-bigdecision{margin-top:9px;font-size:24px}body[data-dashboard-mode="focus"] #overview .p44-decisionmeta{margin-top:11px}body[data-dashboard-mode="focus"] #overview .p44-integrity,body[data-dashboard-mode="focus"] #overview .ceilr-philosophy-copy{display:none!important}body[data-dashboard-mode="focus"] #overview .p44-kpis{gap:9px}body[data-dashboard-mode="focus"] #overview .p44-kpi{padding:13px 14px;min-height:112px}

/* Operator dark mode. The toggle is workspace-only and does not alter authentication or data state. */
html[data-ceilr-theme="dark"]{color-scheme:dark;--p44-ink:#e5edf8;--p44-muted:#98a6bb;--p44-soft:#09111d;--p44-panel:#101a29;--p44-line:#263449;--p44-nav:#050b13;--p44-brand:#6f86ff;--p44-green:#41c98d;--p44-greenbg:#113226;--p44-amber:#f6b94a;--p44-amberbg:#352811;--p44-red:#ff7b72;--p44-redbg:#351718;--p44-bluebg:#172848;--p44-shadow:0 10px 28px rgba(0,0,0,.22)}html[data-ceilr-theme="dark"] body.workspace-open{background:var(--p44-soft);color:var(--p44-ink)}html[data-ceilr-theme="dark"] body.workspace-open .topbar{background:rgba(10,19,34,.97);border-color:var(--p44-line)}html[data-ceilr-theme="dark"] body.workspace-open .workspace-context h1,html[data-ceilr-theme="dark"] body.workspace-open .workspace-product-copy strong{color:var(--p44-ink)}html[data-ceilr-theme="dark"] body.workspace-open .workspace-product-switcher,html[data-ceilr-theme="dark"] body.workspace-open .account-menu-toggle,html[data-ceilr-theme="dark"] body.workspace-open .account-menu,html[data-ceilr-theme="dark"] body.workspace-open .notifications-panel{background:var(--p44-panel)!important;border-color:var(--p44-line)!important;color:var(--p44-ink)!important}html[data-ceilr-theme="dark"] body.workspace-open .account-menu a,html[data-ceilr-theme="dark"] body.workspace-open .account-menu-signout{color:var(--p44-ink)!important}html[data-ceilr-theme="dark"] body.workspace-open .account-menu a:hover,html[data-ceilr-theme="dark"] body.workspace-open .account-menu-signout:hover{background:#172338!important}html[data-ceilr-theme="dark"] body.workspace-open .p44-kpi,html[data-ceilr-theme="dark"] body.workspace-open .p44-panel,html[data-ceilr-theme="dark"] body.workspace-open .panel,html[data-ceilr-theme="dark"] body.workspace-open .card,html[data-ceilr-theme="dark"] body.workspace-open .metric,html[data-ceilr-theme="dark"] body.workspace-open .result-box,html[data-ceilr-theme="dark"] body.workspace-open .proof-item,html[data-ceilr-theme="dark"] body.workspace-open details{background:var(--p44-panel);border-color:var(--p44-line);color:var(--p44-ink)}html[data-ceilr-theme="dark"] body.workspace-open .p44-dm,html[data-ceilr-theme="dark"] body.workspace-open .seller-suite-grid a,html[data-ceilr-theme="dark"] body.workspace-open .p44-ai-intent-metrics>div{background:#0d1725;border-color:var(--p44-line);color:var(--p44-ink)}html[data-ceilr-theme="dark"] body.workspace-open .p44-dm strong,html[data-ceilr-theme="dark"] body.workspace-open .seller-suite-grid strong,html[data-ceilr-theme="dark"] body.workspace-open .p44-ai-intent-metrics strong{color:var(--p44-ink)}html[data-ceilr-theme="dark"] body.workspace-open input,html[data-ceilr-theme="dark"] body.workspace-open select,html[data-ceilr-theme="dark"] body.workspace-open textarea{background:#0b1523;border-color:#34445b;color:#e5edf8}html[data-ceilr-theme="dark"] body.workspace-open th{background:#152033;color:#bac6d8}html[data-ceilr-theme="dark"] body.workspace-open td{border-color:#263449;color:#d8e1ee}html[data-ceilr-theme="dark"] body.workspace-open tbody tr:hover{background:#121f31}html[data-ceilr-theme="dark"] body.workspace-open .table-wrap{border-color:var(--p44-line)}html[data-ceilr-theme="dark"] body.workspace-open .empty,html[data-ceilr-theme="dark"] body.workspace-open .empty-cell{background:#0d1725;color:#98a6bb}html[data-ceilr-theme="dark"] body.workspace-open .p44-reason,html[data-ceilr-theme="dark"] body.workspace-open .field-note,html[data-ceilr-theme="dark"] body.workspace-open .input-help,html[data-ceilr-theme="dark"] body.workspace-open .p44-ph p{color:var(--p44-muted)}html[data-ceilr-theme="dark"] body.workspace-open .readonly-badge{border-color:#35506b;background:#0c1b2a;color:#b8d5ef}

@media(max-width:1260px){.ceilr-readiness-items{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-dashboard-mode="focus"] #overview .p44-commandgrid{grid-template-columns:1fr}}
@media(max-width:768px){.ceilr-command-readiness{padding:11px}.ceilr-readiness-head{align-items:flex-start}.ceilr-readiness-head>div{display:grid;gap:2px}.ceilr-readiness-items{grid-template-columns:1fr 1fr}.ceilr-theme-toggle-label{display:none}.ceilr-theme-toggle{padding-inline:8px!important}.ceilr-microtrend{grid-template-columns:1fr}.ceilr-microtrend span{text-align:left}body[data-dashboard-mode="focus"] #overview .p44-bigdecision{font-size:21px}}
@media(max-width:520px){.ceilr-readiness-items{grid-template-columns:1fr}.ceilr-command-readiness{margin-inline:-2px}.ceilr-guardrail-status{font-size:8.5px}.ceilr-inline-action,.ceilr-kpi-action{width:100%;justify-content:center}}


/* Dashboard Visual Command V1 final experience corrective */
.ceilr-evidence-state{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--p44-line)}
.ceilr-evidence-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;height:7px}
.ceilr-evidence-segment{display:block;border-radius:999px;background:color-mix(in srgb,var(--p44-line) 82%,transparent);opacity:.45;transition:opacity .18s ease,transform .18s ease}
.ceilr-evidence-segment.is-fresh.is-active{background:var(--p44-green);opacity:1}.ceilr-evidence-segment.is-stale.is-active{background:var(--p44-amber);opacity:1}.ceilr-evidence-segment.is-missing.is-active{background:var(--p44-red);opacity:1}
.ceilr-evidence-segment.is-active{transform:scaleY(1.15)}
.ceilr-evidence-state-copy{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.ceilr-evidence-state-copy strong{font-size:9px;color:var(--p44-ink)}.ceilr-evidence-state-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;color:var(--p44-muted);text-align:right}
.ceilr-next-dollar-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}.ceilr-next-dollar-status.is-ready{background:var(--p44-greenbg);color:var(--p44-green)}.ceilr-next-dollar-status.is-blocked{background:color-mix(in srgb,var(--p44-muted) 10%,var(--p44-panel));color:var(--p44-muted)}
.ceilr-decision-reason:not(.is-expanded){display:none!important}.ceilr-decision-reason.is-expanded{display:block!important}
body[data-dashboard-mode="focus"] #overview #ceilr-command-readiness,body[data-dashboard-mode="focus"] #overview #p44-period-context,body[data-dashboard-mode="focus"] #overview #p44-comparison-context,body[data-dashboard-mode="focus"] #overview .p44-sectionlabel,body[data-dashboard-mode="focus"] #overview .p44-integrity,body[data-dashboard-mode="focus"] #overview .p44-moneyhint,body[data-dashboard-mode="focus"] #overview .p44-setupstrip{display:none!important}
body[data-dashboard-mode="focus"] #overview .p44-contextbar{margin-bottom:7px}
body[data-dashboard-mode="focus"] #overview .p44-command .p44-ctas>*{display:none!important}body[data-dashboard-mode="focus"] #overview .p44-command .p44-ctas>#p44-primary-action,body[data-dashboard-mode="focus"] #overview .p44-command .p44-ctas>#p44-show-working{display:inline-flex!important}
body[data-dashboard-mode="focus"] #overview .p44-decisionmeta>.p44-dm:nth-child(n+4){display:none!important}
body[data-dashboard-mode="focus"] #overview .p44-nextdollar .p44-ctas>*:not(:first-child){display:none!important}
@media(min-width:1180px){body[data-dashboard-mode="focus"] #overview .p44-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}body[data-dashboard-mode="focus"] #overview .p44-kpi{min-height:96px;padding:10px 11px}body[data-dashboard-mode="focus"] #overview .p44-kvalue{margin:5px 0 1px;font-size:21px}body[data-dashboard-mode="focus"] #overview .p44-ksub{font-size:9px}body[data-dashboard-mode="focus"] #overview .ceilr-guardrail-gauge{margin-top:6px;padding-top:6px;gap:3px}body[data-dashboard-mode="focus"] #overview .ceilr-guardrail-status{display:none}body[data-dashboard-mode="focus"] #overview .ceilr-inline-action{padding:3px 5px;font-size:8px}body[data-dashboard-mode="focus"] #overview .ceilr-microtrend{margin-top:5px;padding-top:5px}body[data-dashboard-mode="focus"] #overview .ceilr-microtrend svg{height:20px}body[data-dashboard-mode="focus"] #overview .p44-commandgrid{grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr);gap:9px;margin-top:8px}body[data-dashboard-mode="focus"] #overview .p44-command,body[data-dashboard-mode="focus"] #overview .p44-nextdollar{padding:12px 13px}body[data-dashboard-mode="focus"] #overview .p44-bigdecision{margin-top:7px;font-size:21px;line-height:1.15}body[data-dashboard-mode="focus"] #overview .p44-decisionmeta{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}body[data-dashboard-mode="focus"] #overview .p44-dm{padding:8px}body[data-dashboard-mode="focus"] #overview .p44-ctas{margin-top:8px;gap:6px}body[data-dashboard-mode="focus"] #overview .p44-btn{min-height:31px;padding:6px 9px;font-size:9px}body[data-dashboard-mode="focus"] #overview .p44-money{margin-top:8px;font-size:25px}body[data-dashboard-mode="focus"] #overview .p44-alloc{margin-top:8px;gap:5px}}
