:root{--freedom-bg:#f1f5f9;--freedom-surface:#fff;--freedom-ink:#173d52;--freedom-line:#dce5ed;--ink:#172f43;--muted:#536b7d;--line:#dce5ed}html,body{background:var(--freedom-bg);color:var(--ink);font-family:'Segoe UI','DM Sans',sans-serif}.shell,.content,.topbar{background:var(--freedom-bg)}.sidebar{background:var(--freedom-surface);border-right:1px solid var(--freedom-line);padding-top:18px}.sidebar .brand{padding-bottom:12px}.sidebar .side-label{padding-top:12px;padding-bottom:8px}.sidebar .side-bottom{display:none}.sidebar .module-link{min-height:39px;padding:7px 12px;font-size:13px;line-height:1.3}.sidebar .module-link .tile{width:28px;height:28px}.sidebar .nav-item.active{background:#e6eff6!important;color:#194d66!important}.sidebar .nav-item{box-shadow:none!important}.freedom-theme-control{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;color:#536b7d;font-size:12px}.freedom-theme-control select{border:1px solid #dce5ed;border-radius:6px;padding:5px;background:#f6f9fb;color:#173d52;font:inherit}.module-banner{border:1px solid var(--freedom-line);border-radius:12px;box-shadow:none;padding-top:18px}.module-banner h1{color:var(--freedom-ink)!important;font-family:'Segoe UI',sans-serif!important;letter-spacing:-.5px!important}.module-banner .mb-top{padding-bottom:16px}.module-banner .mb-commands{gap:10px;padding:12px 0}.module-banner .mb-commands :is(button,.ui-btn){min-height:34px;font-size:13px;padding:7px 12px;border-radius:7px}.module-banner .mb-commands label{font-size:13px}.module-banner .mb-commands :is(input:not([type=checkbox]),select){min-height:36px;font-size:14px}.ui-panel,.chart-box,.detail-panel,.ex-card,.cx-card,.kpi-card{border-radius:12px;box-shadow:none!important}h2,h3{color:var(--freedom-ink)}.content table th{font-size:12px}.content table td{font-size:14px}.ui-btn:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.ops-module-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:14px}.ops-module-head h1{font-size:28px;margin:5px 0;color:var(--freedom-ink)}.ops-module-head>div:last-child{display:flex;gap:8px}.ops-eyebrow{font-size:11px;letter-spacing:1.2px;color:#637b8e}.ops-module-head .ui-btn{background:#edf2f6;border:1px solid #cfdae5;color:#24485f;font-size:13px;padding:8px 12px}.ops-module-head .ops-related{background:#194d66;color:white}#operations-frame{display:block;width:100%;height:calc(100dvh - 125px);min-height:540px;border:1px solid var(--freedom-line);border-radius:12px;background:#f1f5f9}.operations-page #main{max-width:none;padding:20px 24px}.operations-page .topbar,.operations-page .module-banner{display:none!important}
html[data-freedom-theme=dark]{--freedom-bg:#101a29;--freedom-surface:#172437;--freedom-ink:#e2eff8;--freedom-line:#34475b;--ink:#e2eff8;--muted:#bac9d8;--line:#34475b}html[data-freedom-theme=dark] :is(.sidebar,.module-banner){background:#172437;color:#e2eff8;border-color:#34475b}html[data-freedom-theme=dark] .sidebar .nav-item{color:#d5e4ef}html[data-freedom-theme=dark] .sidebar .nav-item.active{background:#26495d!important;color:#fff!important}html[data-freedom-theme=dark] .content :is(.ui-panel,.chart-box,.detail-panel,.ex-card,.cx-card,.kpi-card){color:#172f43}html[data-freedom-theme=dark] .content :is(.ui-panel,.chart-box,.detail-panel,.ex-card,.cx-card,.kpi-card) :is(h2,h3){color:#173d52}html[data-freedom-theme=dark] .sidebar :is(strong,small,.freedom-theme-control,.side-label){color:#dcebf4!important}
@media(max-height:800px) and (min-width:801px){.sidebar .module-link{min-height:34px;padding-top:4px;padding-bottom:4px}.sidebar .brand-symbol{height:35px}.sidebar .brand strong{font-size:20px}.sidebar .brand small{font-size:10px}.sidebar .nav-item{margin-bottom:1px}}@media(max-width:800px){.operations-page #main{padding:14px}.ops-module-head{align-items:flex-start;flex-direction:column;gap:8px}#operations-frame{height:calc(100dvh - 160px)}.sidebar .module-link{min-height:40px}}

/* Keep operational data surfaces light for legibility in the dark navigation theme. */
html[data-freedom-theme=dark] .content{--ink:#172f43;--muted:#536b7d;--freedom-ink:#173d52;--line:#dce5ed;background:#f1f5f9;color:#172f43}
html[data-freedom-theme=dark] .content .module-banner{background:white;color:#172f43;border-color:#dce5ed}
html[data-freedom-theme=dark] .content .module-banner h1{color:#173d52!important}
