/* NOVA LEDGER — STUDIO EDITION
   Editorial financial UI. Restrained ink/stone palette with a single copper accent.
   Visual-only overrides: no accounting, access-control or payment behavior changes. */
:root{
 --studio-ink:#14253b;--studio-muted:#738195;--studio-line:#e2e7eb;
 --studio-canvas:#f4f6f8;--studio-cream:#fbfcfc;--studio-blue:#194b7b;
 --studio-copper:#db925c;--studio-sage:#5c968b;--studio-radius:16px;
 --bg:var(--studio-canvas);--line:var(--studio-line);--ink:var(--studio-ink);
 --shadow:0 8px 32px rgba(20,38,56,.035);
}
html{scroll-behavior:smooth}
body{background:var(--studio-canvas);font-feature-settings:"tnum" 1,"ss01" 1;letter-spacing:-.005em}
button{touch-action:manipulation}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #c18b59;outline-offset:3px}
::selection{background:#e9cdb7;color:#233348}

/* Navigation: calmer, denser and more expressive than a template sidebar. */
.sidebar{width:260px;background:#0b1e35;border-right:1px solid #1e3b54;padding:22px 15px 17px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#2e4964 transparent;scrollbar-width:thin}
.content-wrap{margin-left:260px}
.sidebar .brand.new-brand{margin:2px 10px 26px;flex:0 0 auto}
.sidebar .brand-caption{letter-spacing:1.35px!important;opacity:.86}
.sidebar .workspace{background:#132e49;border:1px solid #2a475f;border-radius:14px;padding:12px;margin:0 3px 20px}
.sidebar .workspace-icon{background:#d0e4dd;color:#143b43;border-radius:10px;font-weight:780}
.sidebar .workspace-label b{color:#f2f6f5;font-size:12px}
.sidebar .workspace-label small{color:#a1b3bf;font-size:9px}
.sidebar .menu-heading{color:#89a1b0;font-size:9px;letter-spacing:1.6px;font-weight:760;margin:19px 15px 9px}
.sidebar .menu-heading.second{margin-top:25px}
.sidebar .nav-item{min-height:38px;margin:2px 0;padding:9px 12px;gap:11px;border-radius:9px;color:#b1c3d0;font-size:12px;font-weight:520;letter-spacing:-.04px;transition:background .16s ease,color .16s ease,transform .16s ease}
.sidebar .nav-item .nav-ico{width:18px;height:18px;color:#97b4c5}
.sidebar .nav-item .nav-ico svg{width:17px;height:17px}
.sidebar .nav-item:hover{background:#1b3550;color:#fff;transform:translateX(2px)}
.sidebar .nav-item.active{color:#f8fbfc;background:#254d68;box-shadow:inset 3px 0 #eeb889;font-weight:710}
.sidebar .nav-item.active .nav-ico{color:#eeb889}
.sidebar .sidebar-tip{background:#152f47;border:1px solid #36546a;border-radius:13px;margin:23px 0 12px;padding:17px 17px 20px}
.sidebar .sidebar-tip-heading{color:#f0f5f4;font-size:13px}
.sidebar .sidebar-tip p{color:#b0c3c9}
.sidebar .sidebar-tip-art span:nth-child(even){background:#8cbcb0}
.sidebar .sidebar-tip-art span:nth-child(odd){background:#547f9a}
.sidebar .sidebar-footer{color:#b0c2ce;padding-bottom:4px}
.sidebar .status-dot{background:#81bfb1;box-shadow:0 0 0 3px #81bfb126}

/* A breathable workspace header with unusually clear hierarchy. */
.content-wrap{background:var(--studio-canvas)}
.topbar{height:74px;background:rgba(255,255,255,.96);padding:0 clamp(22px,3.3vw,53px);border-bottom:1px solid var(--studio-line);position:sticky;top:0;z-index:22;backdrop-filter:blur(10px)}
.breadcrumb{font-weight:700;letter-spacing:1.25px;color:#8490a0}
.breadcrumb b{color:#29465d}
.top-actions{gap:14px}
.top-actions .today-date{color:#68798c;font-weight:560}
.top-actions .sync-indicator{background:#f1f6f5;border:1px solid #dceae8;padding:8px 10px;border-radius:20px;color:#436d66;font-weight:640;font-size:10px}
.top-actions .avatar{background:#e3ebef;border-color:#dae5ec;color:#23445c;width:36px;height:36px;font-weight:750}
.top-actions .top-quick{background:#143e63;color:#fff;border-color:#143e63;padding:11px 16px;box-shadow:none;border-radius:10px}
.top-actions .top-quick:hover{background:#25577b}
.top-actions .ux-tool-btn{border-radius:9px;font-size:11px;min-height:35px;font-weight:650}
.content-main{max-width:1490px;padding:40px clamp(22px,3.3vw,54px) 75px}
.page-head{align-items:center;margin-bottom:26px}
.page-head h1{font-size:clamp(29px,2.25vw,38px);font-weight:720;letter-spacing:-1.25px;color:#152a42;line-height:1.12;margin:0 0 9px}
.page-head p{color:#738296;font-size:12px;letter-spacing:0;max-width:750px}
.eyebrow{color:#b17e59;font-size:10px;letter-spacing:1.75px;font-weight:820;margin:0 0 10px}
.head-actions{gap:9px}
.btn{border-radius:10px;border-color:#dbe3e9;color:#334b61;font-size:11px;min-height:41px;font-weight:700;box-shadow:none;transition:background .16s,transform .16s,border-color .16s}
.btn.primary{background:#184d76;border-color:#184d76;box-shadow:none;color:#fff}
.btn.primary:hover{background:#0e3352;border-color:#0e3352}
.btn:hover:not(:disabled){transform:translateY(-1px)}
.card{background:#fff;border-color:#e2e8eb;border-radius:var(--studio-radius);box-shadow:0 3px 19px #14283b08}
.card-pad{padding:25px}
.card-heading h2,.table-heading h2{font-size:15px;letter-spacing:-.35px;color:#253a4c;font-weight:740}
.card-heading small,.card-sub{font-size:11px;color:#8392a0}
.pill{border-radius:20px;color:#657f8f;border-color:#e1e8ec;background:#f7fafb}
.kpis{gap:15px;margin-bottom:17px}
.kpi{min-height:154px;border-radius:15px;padding:22px 21px 20px;position:relative;overflow:hidden}
.kpi::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:#e5eef0}
.kpi:nth-child(1)::before{background:#719d90}
.kpi:nth-child(2)::before{background:#d3ad83}
.kpi:nth-child(3)::before{background:#829eaf}
.kpi:nth-child(4)::before{background:#a69ac1}
.kpi-label{font-size:11px;color:#687a88;font-weight:690}
.kpi-icon,.kpi-icon.green,.kpi-icon.amber,.kpi-icon.rose{border:0;background:#f0f5f7;color:#41657a;border-radius:11px;width:34px;height:34px}
.kpi:nth-child(1) .kpi-icon{color:#4b8577;background:#eaf3ef}
.kpi:nth-child(2) .kpi-icon{color:#b48158;background:#faf1e7}
.kpi:nth-child(3) .kpi-icon{color:#527d98;background:#edf4f8}
.kpi:nth-child(4) .kpi-icon{color:#7b6aa2;background:#f0edf7}
.kpi-num{font-weight:760;font-size:clamp(20px,2.25vw,30px);letter-spacing:-1.5px;color:#1b334a;margin:19px 0 10px}
.kpi-foot{font-size:10px;color:#83919d;line-height:1.5}
.kpi-foot b{color:#487b68}
.table-card{border-radius:15px}
.table-heading{padding:24px 26px}
thead{background:#f7f9fa}
th{color:#7d8c9c;letter-spacing:1px}
td{color:#617385;border-color:#edf0f2;font-size:11px}
td strong{color:#263e54;font-weight:700}
tbody tr:hover{background:#fbfcfd}
.type-badge{border-radius:8px}
.empty-state{color:#8393a2}
.empty-state h3{color:#2b455c}
.empty-illustration{background:#eff5f6;color:#416b80;border-color:#dbe7ec;border-radius:14px}
.report-filter-panel,.filters{border-color:#e3e9eb}
.footer{color:#8493a0}

/* Productive landing surface: real hierarchy instead of an ornamental gradient. */
.studio-welcome{background:#112a43!important;min-height:244px;padding:32px 36px;margin:0 0 22px;box-shadow:none;border:1px solid #24445b;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:26px;align-items:stretch}
.studio-welcome::before,.studio-welcome::after{display:none}
.studio-welcome .studio-welcome-copy{position:relative;z-index:1;display:flex;align-items:flex-start;flex-direction:column}
.studio-welcome .ribbon-kicker{color:#abc9d3;font-size:9px;letter-spacing:1.8px;font-weight:800;margin-bottom:18px}
.studio-ribbon-divider{color:#e6af81;margin:0 7px}
.studio-welcome h2{font-size:clamp(25px,2.55vw,36px);line-height:1.12;letter-spacing:-1.15px;font-weight:710;margin:0 0 12px;max-width:580px}
.studio-welcome p{font-size:12px;line-height:1.7;color:#b9cbd8;max-width:460px}
.studio-welcome .ribbon-actions{margin-top:23px;gap:9px}
.studio-welcome .ribbon-btn{color:#173c55!important;background:#f7f9f9!important;border:1px solid #f7f9f9!important;min-height:38px;padding:9px 14px}
.studio-welcome .ribbon-btn-quiet{background:#24435a!important;border-color:#4c6b7c!important;color:#e6f1f2!important}
.studio-welcome .ribbon-btn:hover{transform:translateY(-1px)}
.studio-ribbon-art{border-radius:12px;border:1px solid #426076;background:#17374e;padding:18px 20px 17px;display:flex;justify-content:space-between;flex-direction:column;min-height:183px;position:relative;isolation:isolate;overflow:hidden}
.studio-art-label,.studio-art-bottom{font-size:9px;font-weight:800;letter-spacing:1.4px;color:#b6cfd5}
.studio-art-bottom b{color:#eab58a;margin:0 7px}
.studio-art-lines{display:flex;align-items:flex-end;gap:11px;height:95px;padding:0 8px 7px;border-bottom:1px solid #55778a;position:relative;overflow:hidden}
.studio-art-lines::before,.studio-art-lines::after{content:"";position:absolute;left:0;right:0;height:1px;background:#43647866;top:22px}
.studio-art-lines::after{top:51px}
.studio-art-lines i{display:block;height:var(--h,40%);background:#82a9a6;width:10%;border-radius:4px 4px 0 0;opacity:.88}
.studio-art-lines i:nth-child(1){--h:28%}.studio-art-lines i:nth-child(2){--h:47%;background:#e5ad7f}.studio-art-lines i:nth-child(3){--h:41%}.studio-art-lines i:nth-child(4){--h:75%;background:#e5ad7f}.studio-art-lines i:nth-child(5){--h:58%}.studio-art-lines i:nth-child(6){--h:88%;background:#e5ad7f}.studio-art-lines i:nth-child(7){--h:63%}.studio-art-lines i:nth-child(8){--h:92%;background:#e5ad7f}

/* Live-data widgets: readable at a glance, useful when empty, keyboard operable. */
.studio-widget-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.86fr);gap:16px;margin:0 0 17px}
.studio-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}
.studio-card-head h2{font-size:17px;line-height:1.2;font-weight:750;color:#213b50;letter-spacing:-.4px;margin:5px 0 6px}
.studio-card-head p{font-size:11px;color:#82919d;line-height:1.6;margin:0;max-width:360px}
.studio-overline{font-size:9px;color:#a57b5c;font-weight:820;letter-spacing:1.5px}
.studio-pulse,.studio-attention,.studio-ratio,.studio-shortcuts{padding:24px 25px 19px;min-width:0}
.studio-switch{display:flex;border:1px solid #e3e9ec;border-radius:10px;overflow:hidden;background:#f4f7f9;flex-shrink:0}
.studio-switch button{border:0;background:transparent;color:#697f8c;font-size:10px;padding:9px 10px;font-weight:740;min-height:35px}
.studio-switch button.is-selected{background:#173e5c;color:#fff}
.studio-switch button:hover:not(.is-selected){background:#e8eff3}
.pulse-topline{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 12px}
.pulse-topline>div{display:flex;align-items:center;gap:7px;font-size:10px;color:#788a97}
.pulse-topline strong{color:#294258;font-size:12px;letter-spacing:-.3px;margin-left:2px}
.pulse-dot{width:8px;height:8px;border-radius:2px;display:inline-block}
.pulse-dot.in{background:#598b80}.pulse-dot.out{background:#dea377}
.pulse-plot{height:158px;display:flex;align-items:stretch;justify-content:space-between;border-bottom:1px solid #dee6e8;border-top:1px dashed #e7ecee;gap:3px;padding:6px 1px 0;background:linear-gradient(to bottom,transparent 49.6%,#e9eef066 49.8%,transparent 50.1%)}
.pulse-slot{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:end;align-items:center;position:relative}
.pulse-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;height:118px;width:100%;padding:0 1px}
.pulse-bar{display:block;min-width:2px;max-width:13px;width:36%;border-radius:3px 3px 0 0;transition:height .2s ease}
.pulse-bar-in{background:#598b80}.pulse-bar-out{background:#dea377}
.pulse-slot:hover .pulse-bar{filter:brightness(.88)}
.pulse-tick{font-size:8px;line-height:23px;white-space:nowrap;color:#9aa8b1;letter-spacing:-.2px}
.pulse-empty{font-size:10px;line-height:1.5;color:#8395a2;margin-top:7px}
.studio-fineprint{font-size:10px!important;line-height:1.6!important;color:#9aa6ae!important;margin:15px 0 0!important}
.studio-icon-quiet{height:30px;width:30px;border:1px solid #e5ebee;border-radius:9px;display:grid;place-items:center;color:#6f8b99}
.studio-attention-list{display:flex;flex-direction:column;gap:0;border-top:1px solid #edf0f1}
.attention-item{background:none;border:0;width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 1px;border-bottom:1px solid #edf0f1;min-height:63px;transition:background .13s}
.attention-item:hover{background:#f9fbfb}
.attention-symbol{width:35px;height:35px;border-radius:10px;background:#eff4f4;color:#486d76;display:grid;place-items:center;flex-shrink:0;font-size:17px}
.attention-item:nth-child(2) .attention-symbol{background:#fbf2e9;color:#aa805a}
.attention-item:nth-child(3) .attention-symbol{background:#f0eff7;color:#8272aa}
.attention-copy{min-width:0;flex:1}
.attention-copy strong{display:block;font-size:11px;color:#273e53;font-weight:740;white-space:normal}
.attention-copy small{display:block;color:#82909c;font-size:10px;line-height:1.6;overflow-wrap:anywhere;margin-top:3px}
.attention-arrow{font-size:14px;color:#91a4af}
.studio-analysis-grid{margin-bottom:16px}
.studio-analysis-grid .chart-area{height:220px}
.studio-analysis-grid .card-heading{margin-bottom:19px}
.studio-bottom-widgets{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px;margin:0 0 16px}
.ratio-content{display:flex;align-items:center;gap:24px;margin:23px 0 12px}
.ratio-ring{width:128px;height:128px;flex:none;border-radius:50%;background:conic-gradient(#598b80 var(--ratio-fill),#e8edf0 var(--ratio-fill));display:grid;place-items:center;position:relative}
.ratio-ring::before{content:"";position:absolute;width:95px;height:95px;border-radius:50%;background:#fff}
.ratio-ring span{position:relative;font-weight:780;font-size:27px;letter-spacing:-1.2px;color:#234458}
.ratio-metrics{display:flex;flex-direction:column;gap:17px;min-width:0}
.ratio-metrics small{display:block;font-size:10px;color:#8b98a4;margin-bottom:5px}
.ratio-metrics strong{font-size:16px;letter-spacing:-.55px;color:#294359;word-break:break-word}
.studio-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:23px}
.studio-shortcut-grid button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:#f6f9f9;border:1px solid #e7ebec;border-radius:12px;padding:15px 12px;text-align:left;min-height:115px;color:#29445b}
.studio-shortcut-grid button:hover{border-color:#9db7c0;background:#edf4f5}
.studio-shortcut-icon{font-size:19px;margin:0 0 9px;color:#638a94}
.studio-shortcut-grid strong{font-size:11px;font-weight:740}
.studio-shortcut-grid small{font-size:9px;color:#84929c}
.studio-shortcut-grid button>span:last-child{position:absolute;top:12px;right:11px;color:#9aadb5}
.studio-recent{margin-bottom:16px}
.studio-recent .table-heading h2{margin-top:5px}
.studio-recent .table-heading small{color:#8797a3}

/* Guest experience is intentionally editorial, not a simulated analytics screenshot. */
.auth-gate{background:#eff2f3;display:flex;justify-content:center;align-items:center;gap:0;padding:32px 22px}
.auth-editorial{width:min(47%,540px);align-self:stretch;min-height:600px;max-height:850px;background:#102b43;color:#fff;border-radius:20px 0 0 20px;position:relative;overflow:hidden}
.auth-editorial-inner{height:100%;min-height:600px;display:flex;flex-direction:column;padding:37px clamp(28px,3.4vw,52px) 28px}
.auth-edition-mark{font-size:13px;letter-spacing:1.5px;color:#e8c3a4;font-weight:850}
.auth-editorial-copy{margin-top:auto;margin-bottom:auto}
.auth-editorial-kicker{color:#b6c6cd;letter-spacing:2px;font-size:9px;font-weight:780}
.auth-editorial h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-2px;line-height:1.08;font-size:clamp(34px,3.6vw,56px);margin:19px 0 17px}
.auth-editorial p{font-size:13px;line-height:1.9;color:#bfd0da;max-width:360px;margin:0}
.auth-editorial-rule{height:1px;background:#466174;margin-top:40px;max-width:340px}
.auth-editorial-features{display:flex;gap:20px;flex-wrap:wrap;margin-top:15px;font-size:9px;letter-spacing:1.4px;font-weight:800;color:#e3ba98}
.auth-editorial-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#9eb4c0;border-top:1px solid #466174;padding-top:16px}
.auth-gate .auth-card{width:min(100%,490px);border-radius:0 20px 20px 0;box-shadow:0 22px 60px #1d385014;border:1px solid #e4e9e9;border-left:0;padding:32px clamp(27px,3.2vw,47px);max-height:calc(100svh - 64px);overflow-y:auto;overscroll-behavior:contain}
.auth-card h1{font-size:clamp(26px,2.2vw,33px);letter-spacing:-1.15px;color:#213e53}
.auth-card p{color:#778a95}
.auth-card .auth-eyebrow{color:#b0805c}
.auth-card input{background:#f9fbfc;border-color:#dfe7eb}
.auth-card .auth-submit{background:#17496f;border-color:#17496f}
.auth-card .google-signin{background:#fff;color:#30475b;border-color:#dce4e7}
.auth-card .google-signin:hover{background:#f5f8f9;border-color:#8ca8b9}
.auth-card a{color:#276b80}

/* Responsive density without losing financial clarity or touch targets. */
@media(max-width:1250px){
 .studio-widget-row{grid-template-columns:minmax(0,1.25fr) minmax(285px,.85fr)}
 .studio-welcome{grid-template-columns:minmax(0,1fr) minmax(205px,.65fr)}
 .studio-ribbon-art{min-height:170px}
 .content-main{padding-left:30px;padding-right:30px}
}
@media(max-width:1050px){
 .studio-widget-row,.studio-bottom-widgets{grid-template-columns:1fr}
 .studio-attention-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:0}
 .attention-item{border:1px solid #edf0f1;border-radius:10px;padding:11px;align-items:flex-start}
 .attention-arrow{display:none}
}
@media(max-width:880px){
 .sidebar{transform:translateX(-100%);z-index:30}
 .sidebar.open{transform:translateX(0)}
 .content-wrap{margin-left:0}
 .topbar{height:67px;padding:0 21px;position:sticky}
 .content-main{padding:30px 21px 95px}
 .top-actions .today-date,.top-actions .vertical-rule{display:none}
 .auth-editorial{display:none}
 .auth-gate .auth-card{max-height:none;overflow:visible;border-radius:18px;border-left:1px solid #e4e9e9}
 .auth-gate{padding:23px 16px}
}
@media(max-width:620px){
 .content-main{padding:27px 15px 100px}
 .page-head{margin-bottom:22px;align-items:flex-start}
 .page-head h1{font-size:28px}
 .studio-welcome{grid-template-columns:1fr;padding:24px 22px;min-height:0;margin-bottom:16px}
 .studio-welcome h2{font-size:27px}
 .studio-ribbon-art{display:none}
 .studio-welcome .ribbon-actions{width:100%}
 .studio-welcome .ribbon-btn{flex:1;min-width:0!important;font-size:11px}
 .studio-attention-list{display:block}
 .attention-item{border-radius:0;border-left:0;border-right:0;border-top:0;margin:0}
 .studio-widget-row{gap:13px}
 .studio-pulse,.studio-attention,.studio-ratio,.studio-shortcuts{padding:20px 17px}
 .studio-card-head{flex-wrap:wrap}
 .studio-switch{margin-top:4px}
 .pulse-topline{gap:12px}
 .pulse-topline>div{font-size:9px}
 .pulse-topline strong{font-size:10px}
 .pulse-plot{height:140px}
 .pulse-bars{height:99px}
 .studio-shortcut-grid button{min-height:109px;padding:12px 8px}
 .studio-shortcut-grid strong{font-size:10px}
 .studio-shortcut-grid small{font-size:9px}
 .ratio-ring{width:106px;height:106px}
 .ratio-ring::before{width:79px;height:79px}
 .ratio-ring span{font-size:23px}
 .ratio-content{gap:17px}
 .ratio-metrics strong{font-size:14px}
 .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kpi{min-height:137px;padding:17px 14px}
 .kpi-num{font-size:clamp(18px,5vw,25px)}
 .kpi-foot{font-size:9px}
 .top-actions .ux-search-open{display:none}
}
@media(max-width:360px){.studio-shortcut-grid{grid-template-columns:1fr}.studio-shortcut-grid button{min-height:73px}.ratio-content{flex-wrap:wrap}.kpis{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Dark presentation matching the existing app's appearance setting. */
html[data-theme="dark"]{--studio-canvas:#101e2c;--studio-ink:#e6eef5;--studio-line:#314456;--bg:#101e2c;--line:#314456}
html[data-theme="dark"] .content-wrap{background:#101e2c}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .card{background:#1b2e41;border-color:#354a5d}
html[data-theme="dark"] .page-head h1,html[data-theme="dark"] .studio-card-head h2,html[data-theme="dark"] .card-heading h2,html[data-theme="dark"] .table-heading h2,html[data-theme="dark"] .kpi-num,html[data-theme="dark"] .attention-copy strong,html[data-theme="dark"] .ratio-metrics strong,html[data-theme="dark"] .pulse-topline strong,html[data-theme="dark"] .studio-shortcut-grid strong{color:#e9f1f7}
html[data-theme="dark"] .page-head p,html[data-theme="dark"] .studio-card-head p,html[data-theme="dark"] .attention-copy small,html[data-theme="dark"] .pulse-topline,html[data-theme="dark"] .ratio-metrics small{color:#bac8d5}
html[data-theme="dark"] .studio-welcome{background:#11283b!important;border-color:#38536a}
html[data-theme="dark"] .studio-pulse,html[data-theme="dark"] .studio-attention,html[data-theme="dark"] .studio-ratio,html[data-theme="dark"] .studio-shortcuts{background:#1b2e41}
html[data-theme="dark"] .pulse-plot{border-color:#42566b;background:linear-gradient(to bottom,transparent 49.6%,#56708466 49.8%,transparent 50.1%)}
html[data-theme="dark"] .pulse-tick{color:#a8b8c8}
html[data-theme="dark"] .attention-item{border-color:#384b5d;color:#dceaf3}
html[data-theme="dark"] .attention-item:hover{background:#22394d}
html[data-theme="dark"] .attention-symbol{background:#30465a;color:#b6d3da}
html[data-theme="dark"] .studio-shortcut-grid button{background:#243a4e;border-color:#3a5265;color:#eaf2f8}
html[data-theme="dark"] .studio-shortcut-grid button:hover{background:#304a60}
html[data-theme="dark"] .studio-switch{background:#203447;border-color:#41586b}
html[data-theme="dark"] .studio-switch button{color:#c4d1dc}
html[data-theme="dark"] .studio-switch button.is-selected{background:#426b82;color:#fff}
html[data-theme="dark"] .ratio-ring::before{background:#1b2e41}
html[data-theme="dark"] .ratio-ring span{color:#e4eff8}
html[data-theme="dark"] .auth-gate{background:#101e2c}
html[data-theme="dark"] .auth-editorial{background:#10283e}
html[data-theme="dark"] .auth-gate .auth-card{background:#1b2e41;border-color:#3a5265}
html[data-theme="dark"] .auth-card h1{color:#edf4f9}
html[data-theme="dark"] .kpi::before{opacity:.9}
@media print{
 .studio-welcome,.studio-shortcuts,.studio-switch,.studio-attention,.studio-pulse{display:none!important}
 .studio-ratio{break-inside:avoid}
 .topbar{position:static}
}
/* Keep the two halves of the desktop login experience truly adjacent. */
@media(min-width:881px){
 .auth-gate .auth-card{margin:0!important;flex:0 1 490px;}
 .auth-gate .auth-editorial{flex:0 1 540px;margin:0!important}
}
/* Complete the dark theme in the filters, trend chart and original table controls. */
html[data-theme="dark"] .report-filter-panel,html[data-theme="dark"] .filter-upgrade,html[data-theme="dark"] .filters{background:#1b2e41!important;border-color:#385064!important;color:#d6e3ed}
html[data-theme="dark"] .report-filter-panel strong,html[data-theme="dark"] .filter-panel-heading strong,html[data-theme="dark"] .filter-row label{color:#e3edf5}
html[data-theme="dark"] .filter-panel-heading span,html[data-theme="dark"] .filter-upgrade span{color:#b9c8d5}
html[data-theme="dark"] .chart-area svg text{fill:#c0ccd5}
html[data-theme="dark"] .chart-area svg line{stroke:#395166}
html[data-theme="dark"] .breakdown-meta,html[data-theme="dark"] .breakdown-meta b{color:#e2ebf3}
html[data-theme="dark"] .breakdown-track{background:#2c445a}
html[data-theme="dark"] .text-link{color:#9cd0f2}
html[data-theme="dark"] .kpi-icon{background:#2a4558}
html[data-theme="dark"] .kpi-foot,html[data-theme="dark"] .studio-fineprint{color:#b0c3d2!important}
