/* A readable finance workspace, with the same restrained palette as the homepage. */
@media (min-width: 1051px) {
  body.sidebar-expanded:has(.shell) { --sx-rail-width: 244px; --sx-sidebar-width: 244px; }
  body.sidebar-expanded:has(.shell) .sidebar { width: 244px; padding: 24px 13px 16px; align-items: stretch; overflow-y: auto; scrollbar-width: thin; }
  body.sidebar-expanded:has(.shell) .shell { margin-left: 244px; }
  body.sidebar-expanded:has(.shell) .sidebar-top { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 0 5px; }
  body.sidebar-expanded:has(.shell) .sidebar .brand { width: auto; height: 43px; gap: 8px; justify-content: flex-start; font-size: 20px; }
  body.sidebar-expanded:has(.shell) .sidebar .brandmark { width: 32px; height: 32px; }
  body.sidebar-expanded:has(.shell) .sidebar .brand>span { display: inline; }
  body.sidebar-expanded:has(.shell) #sidebar-toggle { position: static; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid #353334; border-radius: 10px; color: #aaa4a0; font-size: 16px; }
  body.sidebar-expanded:has(.shell) #sidebar-toggle:hover { background: #272322; color: #fff; }
  body.sidebar-expanded:has(.shell) .sidebar .workspace { display: flex; width: auto; height: auto; margin: 28px 1px 27px; padding: 11px; justify-content: flex-start; gap: 10px; border-radius: 13px; }
  body.sidebar-expanded:has(.shell) .sidebar .workspace>div,
  body.sidebar-expanded:has(.shell) .sidebar .nav-label,
  body.sidebar-expanded:has(.shell) .sidebar .profile>div,
  body.sidebar-expanded:has(.shell) .sidebar .demo-note { display: block; }
  body.sidebar-expanded:has(.shell) .sidebar .workspace .avatar { width: 35px; height: 35px; }
  body.sidebar-expanded:has(.shell) .sidebar .nav-label { margin: 21px 10px 8px; font-size: 9px; letter-spacing: 1.8px; }
  body.sidebar-expanded:has(.shell) .sidebar nav:first-of-type { margin-top: 0; }
  body.sidebar-expanded:has(.shell) .sidebar nav { display: grid; align-items: stretch; width: 100%; gap: 3px; }
  body.sidebar-expanded:has(.shell) .sidebar nav button { width: 100%; height: auto; min-height: 42px; justify-content: flex-start; gap: 11px; padding: 10px 11px; border-radius: 10px; font-size: 12px; font-weight: 500; }
  body.sidebar-expanded:has(.shell) .sidebar nav button>span { display: inline-flex; align-items: center; width: 19px; font-size: 18px; }
  body.sidebar-expanded:has(.shell) .sidebar nav button>span svg { width: 17px; height: 17px; }
  body.sidebar-expanded:has(.shell) .sidebar nav button::after { display: none; }
  body.sidebar-expanded:has(.shell) .sidebar-bottom { display: grid; justify-content: stretch; gap: 13px; margin-top: auto; padding-top: 24px; }
  body.sidebar-expanded:has(.shell) .sidebar-quicklinks { display: grid; gap: 3px; }
  body.sidebar-expanded:has(.shell) .sidebar-quicklinks a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 9px; color: #ada7a3; font-size: 11px; }
  body.sidebar-expanded:has(.shell) .sidebar-quicklinks a:hover { background: #272322; color: #ffb38d; }
  body.sidebar-expanded:has(.shell) .sidebar .demo-note { padding: 10px 12px; font-size: 11px; }
  body.sidebar-expanded:has(.shell) .sidebar .demo-note p { margin-top: 5px; font-size: 10px; }
  body.sidebar-expanded:has(.shell) .sidebar .profile { justify-content: flex-start; gap: 10px; padding: 9px 7px 0; border-top: 1px solid #34302e; }
  body.sidebar-expanded:has(.shell) .sidebar .profile .avatar { width: 33px; height: 33px; }
  body.sidebar-expanded:has(.shell) .workspace-tabs { display: none; }
  body.sidebar-expanded:has(.shell) .topbar .sx-header-controls { position: static; left: auto; right: auto; top: auto; transform: none; }
  body.sidebar-expanded:has(.shell) .topbar .top-right { margin-left: auto; }
  body.sidebar-expanded:has(.shell) .topbar .sx-header-controls>.sx-menu-pill { width: auto; min-height: 38px; box-shadow: none; }
  body.sidebar-expanded:has(.shell) .topbar .sx-menu-toggle { display: none; }
  body.sidebar-expanded:has(.shell) .topbar .sx-theme-toggle { display: grid; place-items: center; }
  body.sidebar-expanded:has(.shell) .topbar .sx-language select { width: 58px; padding-left: 9px; }
}

/* The compact rail remains an option, with readable labels in the horizontal navigation. */
body:has(.shell) .sidebar-top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
body:has(.shell) #sidebar-toggle { position: static; top: auto; right: auto; left: auto; }
body:has(.shell) .sidebar-quicklinks { display: none; }
body:has(.shell) .sidebar nav:first-of-type { margin-top: 20px; }
body:has(.shell) .sidebar nav button { white-space: nowrap; }
body:has(.shell) .sidebar nav button.active { box-shadow: inset 3px 0 #ff965f; }
body:has(.shell) .topbar { border-bottom: 1px solid #302d2b !important; }
body:has(.shell) main { max-width: 1590px; }
body:has(.shell) .page-heading { padding: 10px 0 22px; margin-bottom: 22px; border: 0 !important; border-radius: 0; background: transparent !important; }
body:has(.shell) .page-heading h1 { font-size: clamp(29px, 2.8vw, 38px); line-height: 1.18; }
body:has(.shell) .page-heading .eyebrow { margin-bottom: 11px; letter-spacing: 1.5px; }
body:has(.shell) .page-heading:has(>div:first-child[hidden]) { padding: 0; }
body:has(.shell) :is(.card,.profit-kpis article,.kpi,.chart-card) { border-radius: 14px; }
body:has(.shell) :is(.profit-kpis article,.kpi) { min-height: 138px; }
body:has(.shell) :is(.profit-kpis article>strong,.kpi-value) { font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
body:has(.shell) :is(.overview-panel,.chart-card,.two-col>.card) { box-shadow: none; }
html:not([data-theme=light]) body:has(.shell) :is(.card,.profit-kpis article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate),.kpi,.chart-card,.two-col>.card) { background: #181716; border-color: #373331; box-shadow: none; }
html:not([data-theme=light]) body:has(.shell) :is(.profit-kpis article.featured,.kpi.primary,.overview-next,.price-panel) { background: #211e1b; border-color: #574537; }
html:not([data-theme=light]) body:has(.shell) .sidebar { background: #11100f; border-color: #302d2b; }
html:not([data-theme=light]) body:has(.shell) .topbar { background: #11100fed; }
html:not([data-theme=light]) body:has(.shell) .sidebar .workspace { background: #1b1a18; border-color: #37312e; }

html[data-theme=light] body:has(.shell) { --bg: #f5f4f0; --panel: #fff; --line: #e3e0da; --text: #242526; --muted: #66676b; background: #f5f4f0; }
html[data-theme=light] body:has(.shell) .sidebar,
html[data-theme=light] body:has(.shell) .topbar { background: #f9f8f5 !important; border-color: #dfddd8 !important; }
html[data-theme=light] body:has(.shell) .sidebar .workspace,
html[data-theme=light] body:has(.shell) .sidebar .demo-note { background: #fff !important; border-color: #dfddd7 !important; }
html[data-theme=light] body:has(.shell) .sidebar nav button { color: #57585b; }
html[data-theme=light] body:has(.shell) .sidebar nav button:hover { background: #efede9; color: #242526; }
html[data-theme=light] body:has(.shell) .sidebar nav button.active { background: #eee9e3 !important; color: #292725 !important; border-color: #e1d7cd; box-shadow: inset 3px 0 #db8151; }
html[data-theme=light] body:has(.shell) .workspace-tabs button.active { background: #f5e9df; border-color: #dfb493; color: #843f21; }
html[data-theme=light] body:has(.shell) .sidebar .nav-label,
html[data-theme=light] body:has(.shell) .sidebar-quicklinks a { color: #73716d; }
html[data-theme=light] body:has(.shell) :is(.card,.profit-kpis article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate),.kpi,.chart-card,.two-col>.card) { background: #fff !important; border-color: #e1ded8 !important; box-shadow: 0 5px 18px #39302508; }
html[data-theme=light] body:has(.shell) :is(.profit-kpis article.featured,.kpi.primary,.overview-next,.price-panel) { background: #f3eee8 !important; border-color: #e7d9cc !important; }
html[data-theme=light] body:has(.shell) .page-heading h1 { color: #232426 !important; }
html[data-theme=light] body:has(.shell) .page-heading p { color: #696a6d !important; }
html[data-theme=light] body:has(.shell) .sidebar .brandmark { filter: brightness(0); opacity: .86; }
html[data-theme=light] body:has(.shell) .sidebar .workspace small,
html[data-theme=light] body:has(.shell) .sidebar .profile small,
html[data-theme=light] body:has(.shell) .sidebar nav button>span { color: #6f6e70; }
html[data-theme=light] body:has(.shell) .sidebar nav button.active>span { color: #bd6236; }
html[data-theme=light] body:has(.shell) :is(.kpi-title,.kpi-bottom,.kpi-title>span,.profit-kpis article>span,.profit-kpis article>small,.chart-labels,.gridline>span,.chart-summary,.legend,.section-head .sub) { color: #626267 !important; }
html[data-theme=light] body:has(.shell) .chart-summary strong { color: #323337 !important; }
html[data-theme=light] body:has(.shell) .gridline { border-color: #e1ded8; }
html[data-theme=light] body:has(.shell) .bar { background: #d9865c !important; }
html[data-theme=light] body:has(.shell) .bar.secondary { background: #8b7396 !important; }
html[data-theme=light] body:has(.shell) .legend span:before { background: #d9865c; }
html[data-theme=light] body:has(.shell) .legend span:nth-child(2):before { background: #8b7396; }
html[data-theme=light] body:has(.shell) .demo-banner { background: #f6ede4 !important; border-color: #e5c5ad !important; color: #5a4234 !important; }
html[data-theme=light] body:has(.shell) .demo-banner :is(p,strong) { color: #5a4234 !important; }
html[data-theme=light] body:has(.shell) .demo-banner button { color: #9c4b27 !important; }
@media (min-width: 701px) and (max-width: 1050px) {
  body.sidebar-expanded:has(.shell) { --sx-rail-width: 76px; --sx-sidebar-width: 76px; }
  body.sidebar-expanded:has(.shell) .sidebar { width: 76px; align-items: center; padding: 18px 11px 14px; }
  body.sidebar-expanded:has(.shell) .shell { margin-left: 76px; }
  body.sidebar-expanded:has(.shell) .sidebar .brand { width: 52px; justify-content: center; }
  body.sidebar-expanded:has(.shell) .sidebar .brand>span,
  body.sidebar-expanded:has(.shell) .sidebar .workspace,
  body.sidebar-expanded:has(.shell) .sidebar .nav-label,
  body.sidebar-expanded:has(.shell) .sidebar .sidebar-bottom,
  body.sidebar-expanded:has(.shell) .sidebar nav button::after { display: none; }
  body.sidebar-expanded:has(.shell) .sidebar nav { align-items: center; gap: 9px; }
  body.sidebar-expanded:has(.shell) .sidebar nav:first-of-type { margin-top: 38px; }
  body.sidebar-expanded:has(.shell) .sidebar nav button { width: 52px; height: 52px; font-size: 0; justify-content: center; padding: 0; }
  body.sidebar-expanded:has(.shell) .workspace-tabs { display: flex; }
}
@media (max-width: 700px) { body:has(.shell) .page-heading { padding: 17px 16px; border: 1px solid #373331 !important; border-radius: 15px; background: #181716 !important; } html[data-theme=light] body:has(.shell) .page-heading { border-color: #e1ded8 !important; background: #fff !important; } }

/* Dense finance workspace: quiet dark surfaces and clear source coverage. */
body:has(.shell) .operations-intro{max-width:790px;margin:8px 0 23px}
body:has(.shell) .operations-intro h2{font-size:clamp(27px,3vw,40px);line-height:1.12;letter-spacing:-.045em;margin:9px 0}
body:has(.shell) .operations-intro p{max-width:730px;color:#aca7a2;font-size:13px;line-height:1.65}
body:has(.shell) .operations-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
body:has(.shell) .operations-source{min-height:150px;padding:20px;display:flex;flex-direction:column;justify-content:space-between}
body:has(.shell) .operations-source>div{display:flex;align-items:start;justify-content:space-between;gap:10px}
body:has(.shell) .operations-source strong{font-size:13px;font-weight:600}
body:has(.shell) .operations-source b{font-size:31px;font-weight:520;letter-spacing:-.05em}
body:has(.shell) .operations-source small{color:#aaa39d;font-size:11px;line-height:1.4}
body:has(.shell) .operations-badge{display:inline-block;border:1px solid #514238;border-radius:999px;background:#29221d;padding:5px 8px;color:#dfaa89;font-size:10px;white-space:nowrap}
body:has(.shell) .operations-badge.ready{border-color:#315846;background:#172a21;color:#9bdcb6}
body:has(.shell) .operations-badge.partial{border-color:#665037;background:#322718;color:#f3bd80}
body:has(.shell) .operations-table{padding:24px}
body:has(.shell) .operations-table .section-head{padding:0 0 17px}
body:has(.shell) .operations-table .section-head h2{margin:5px 0;font-size:21px}
body:has(.shell) .operations-table table small{display:block;margin-top:5px;color:#9e9893;font-size:10px}
body:has(.shell) .operations-note{margin:15px 0 0;color:#a9a39e;font-size:11px;line-height:1.6}
body:has(.shell) .operations-stale{margin:0 0 18px;padding:13px 16px;border:1px solid #705039;border-radius:12px;background:#2b211a;color:#f2bd8d;font-size:12px;line-height:1.5}
html[data-theme=light] body:has(.shell) .operations-intro p,
html[data-theme=light] body:has(.shell) .operations-source small,
html[data-theme=light] body:has(.shell) .operations-note{color:#66615e}
html[data-theme=light] body:has(.shell) .operations-badge{background:#fcf3ec;color:#965535;border-color:#e6cbb9}
html[data-theme=light] body:has(.shell) .operations-badge.ready{background:#eaf7ed;color:#286847;border-color:#c6e7ce}
html[data-theme=light] body:has(.shell) .operations-badge.partial{background:#fff1db;color:#8c5a19;border-color:#e9ce9d}
html[data-theme=light] body:has(.shell) .operations-stale{background:#fff5e7;border-color:#e8cba2;color:#774c1e}
@media(max-width:900px){body:has(.shell) .operations-source-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){body:has(.shell) .operations-source-grid{grid-template-columns:1fr}body:has(.shell) .operations-table{padding:17px}}

/* Finance-workspace refinement: calm surfaces, distinct hierarchy, and a quiet rail. */
body:has(.shell) :is(.page-heading h1,.operations-intro h2,.true-margin-intro h2){font-weight:620;letter-spacing:-.055em}
body:has(.shell) :is(.section-head h2,.operations-table h2,.true-margin-grid h2,.margin-product-section h2,.dashboard-ask h2){font-weight:600;letter-spacing:-.035em;line-height:1.25}
body:has(.shell) :is(.profit-kpis article>strong,.kpi-value,.margin-metric strong,.operations-source b){font-variant-numeric:tabular-nums;font-weight:580;letter-spacing:-.055em;line-height:1.12}
body:has(.shell) :is(.eyebrow,.overline,.sidebar .nav-label){font-weight:700;letter-spacing:.16em}
body:has(.shell) :is(.card,.profit-kpis article,.kpi,.chart-card,.margin-metric,.operations-source){border-radius:17px}
body:has(.shell) :is(.operations-intro p,.true-margin-intro p,.section-head .sub){font-size:13px;line-height:1.6}
body:has(.shell) :is(.operations-table,.margin-product-section) th{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
body:has(.shell) :is(.operations-table,.margin-product-section) td{font-size:12px;line-height:1.5}
body:has(.shell) .operations-table tbody tr:hover{transition:background-color .15s ease}
body:has(.shell) .overview-kpis article{padding:23px 24px;min-height:152px}
body:has(.shell) .overview-kpis article>span{font-size:12px;font-weight:570;line-height:1.4;min-height:0}
body:has(.shell) .overview-kpis article>strong{font-size:clamp(31px,2.6vw,40px);margin:12px 0 8px}
body:has(.shell) .overview-kpis article>small{font-size:11.5px;line-height:1.5}
body:has(.shell) .overview-panel .section-head h2{font-size:21px}
body:has(.shell) .overview-panel :is(.overview-channel,.overview-attention button,.overview-source-list button){min-height:65px}
body:has(.shell) .overview-panel :is(.overview-channel strong,.overview-attention strong){font-size:13px}
body:has(.shell) .overview-panel :is(.overview-channel small,.overview-attention small,.overview-note){font-size:11px;line-height:1.5}
body:has(.shell) .profit-table :is(th,td){font-size:12px}
body:has(.shell) .profit-table .product-select strong{font-size:13px}

html:not([data-theme=light]) body:has(.shell){--bg:#0e1012;--panel:#191d21;--line:#333a40;--text:#f1f3f4;--muted:#a8b0b7;--gold:#f7ae81;--purple:#b8c9d8;background:#0e1012;color:var(--text)}
html:not([data-theme=light]) body:has(.shell) .sidebar{background:#121518;border-color:#30363b}
html:not([data-theme=light]) body:has(.shell) .topbar{background:#121518ee;border-color:#30363b!important}
html:not([data-theme=light]) body:has(.shell) .workspace-tabs{background:#121518ee;border-color:#30363b}
html:not([data-theme=light]) body:has(.shell) .sidebar .brand{color:#f1f3f4}
html:not([data-theme=light]) body:has(.shell) .sidebar .brand .hq{color:#f4a273}
html:not([data-theme=light]) body:has(.shell) .sidebar .workspace{background:#1a1f23;border-color:#394147}
html:not([data-theme=light]) body:has(.shell) .sidebar .nav-label{color:#909aa2;font-size:10px}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button{color:#bbc2c8;font-weight:530}
@media(min-width:1051px){html:not([data-theme=light]) body.sidebar-expanded:has(.shell) .sidebar nav button{font-size:13px}}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button>span{color:#9faeb9}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button:hover{background:#232b30;border-color:#48535a;color:#fff}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button.active{background:#27343c;border-color:#465d69;color:#f3f6f7;box-shadow:inset 3px 0 #f49a69}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button.active>span{color:#ffa775}
html:not([data-theme=light]) body:has(.shell) .sidebar-quicklinks a{color:#aeb8c0}
html:not([data-theme=light]) body:has(.shell) .sidebar-quicklinks a:hover{background:#222a2e;color:#ffc094}
html:not([data-theme=light]) body:has(.shell) .sidebar .profile{border-color:#343d43}
html:not([data-theme=light]) body:has(.shell) .sidebar .demo-note{background:#1c2428;border-color:#3b474d;color:#dce3e6}
html:not([data-theme=light]) body:has(.shell) .topbar .crumb{color:#aeb6bb}
html:not([data-theme=light]) body:has(.shell) .topbar .crumb strong{color:#f2f4f5}
html:not([data-theme=light]) body:has(.shell) .page-heading h1{color:#f3f5f5}
html:not([data-theme=light]) body:has(.shell) .page-heading p{color:#aeb6bc}
html:not([data-theme=light]) body:has(.shell) :is(.page-heading .eyebrow,.overline){color:#aab9c2}
html:not([data-theme=light]) body:has(.shell) :is(.card,.profit-kpis article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate),.kpi,.chart-card,.two-col>.card,.margin-metric,.operations-source){background:#1a1f23;border-color:#364047;box-shadow:inset 0 1px #ffffff06}
html:not([data-theme=light]) body:has(.shell) :is(.profit-kpis article.featured,.kpi.primary,.overview-next,.price-panel){background:#202a2e;border-color:#53616a}
html:not([data-theme=light]) body:has(.shell) .overview-kpis article:first-child{background:linear-gradient(125deg,#23333b,#1b262c);border-color:#526570}
html:not([data-theme=light]) body:has(.shell) :is(.card,.profit-kpis article,.margin-metric,.operations-source):hover{border-color:#586771}
html:not([data-theme=light]) body:has(.shell) :is(.profit-kpis article>strong,.kpi-value,.margin-metric strong,.operations-source b,.section-head h2,.true-margin-grid h2,.operations-table h2){color:#f3f5f6}
html:not([data-theme=light]) body:has(.shell) :is(.profit-kpis article>span,.profit-kpis article>small,.margin-metric span,.margin-metric small,.operations-source small,.operations-intro p,.true-margin-intro p,.margin-waterfall small,.margin-source-list span,.operations-note){color:#aeb7be}
html:not([data-theme=light]) body:has(.shell) :is(.profit-table th,th){background:#222b30;color:#aebcc5;border-color:#38434a}
html:not([data-theme=light]) body:has(.shell) :is(.profit-table td,td,.margin-waterfall>div,.margin-source-list>div){border-color:#374149}
html:not([data-theme=light]) body:has(.shell) tbody tr:hover{background:#27343a}
html:not([data-theme=light]) body:has(.shell) :is(.marketplace-price-row,.competition-grid article,.auto-repricing){background:#1a1f23;border-color:#364047}
html:not([data-theme=light]) body:has(.shell) :is(.search,.segmented,.dashboard-ask input,.inline-cost-grid input,.margin-settings-grid input){background:#12171a;border-color:#465159;color:#f3f5f6}
html:not([data-theme=light]) body:has(.shell) .dashboard-ask-suggestions button{background:#253036;border-color:#445158;color:#e1e7e9}
html:not([data-theme=light]) body:has(.shell) .dashboard-ask-suggestions button:hover{border-color:#ef9b6c;color:#fff}
html:not([data-theme=light]) body:has(.shell) :is(.operations-badge,.pricing-rule,.pill,.status){background:#283036;border-color:#4b5a62;color:#d0d9de}
html:not([data-theme=light]) body:has(.shell) .operations-badge.ready{background:#1e342e;border-color:#426656;color:#a7dec0}
html:not([data-theme=light]) body:has(.shell) .operations-badge.partial{background:#3a2d20;border-color:#705335;color:#f4c18e}
html:not([data-theme=light]) body:has(.shell) :is(.coverage-track,.mini-track,.product-cost-track){background:#344049}
html:not([data-theme=light]) body:has(.shell) .bar.secondary{background:#819cad}
html:not([data-theme=light]) body:has(.shell) .legend span:nth-child(2):before{background:#819cad}
html:not([data-theme=light]) body:has(.shell) .recommended-price{background:#d8e2e8;border-color:#dce9ee}
html:not([data-theme=light]) body:has(.shell) :is(.recommended-price>strong,.recommended-price>span,.recommended-price>p){color:#1d3038}
html:not([data-theme=light]) body:has(.shell) .recommended-price .pill{background:#bdd0da;border-color:#a6bdca;color:#29414f}

html[data-theme=light] body:has(.shell){--bg:#f5f6f5;--panel:#fff;--line:#dce3e5;--text:#253037;--muted:#607079;background:#f5f6f5}
html[data-theme=light] body:has(.shell) .sidebar,
html[data-theme=light] body:has(.shell) .topbar{background:#fbfcfb!important;border-color:#dbe2e4!important}
html[data-theme=light] body:has(.shell) .sidebar .workspace{border-color:#dbe2e4!important}
html[data-theme=light] body:has(.shell) .sidebar nav button{color:#52616a}
html[data-theme=light] body:has(.shell) .sidebar nav button.active{background:#e8f0f3!important;border-color:#c9dce4!important;color:#1d3642!important;box-shadow:inset 3px 0 #eb9565}
html[data-theme=light] body:has(.shell) :is(.card,.profit-kpis article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate),.kpi,.chart-card,.two-col>.card,.margin-metric,.operations-source){background:#fff!important;border-color:#dce3e5!important;box-shadow:0 5px 18px #263d4808}
html[data-theme=light] body:has(.shell) :is(.profit-kpis article.featured,.kpi.primary,.overview-next,.price-panel){background:#eef3f4!important;border-color:#cfdde1!important}
html[data-theme=light] body:has(.shell) .overview-kpis article:first-child{background:#edf3f5!important;border-color:#cadce3!important}
html[data-theme=light] body:has(.shell) :is(.margin-metric strong,.operations-source b,.operations-table h2,.true-margin-grid h2){color:#263238}
html[data-theme=light] body:has(.shell) :is(.margin-metric span,.margin-metric small,.operations-source small,.operations-intro p,.true-margin-intro p,.operations-note){color:#607078}
html[data-theme=light] body:has(.shell) :is(.profit-table th,th){background:#f0f4f5;color:#53656e;border-color:#dce4e6}
html[data-theme=light] body:has(.shell) :is(.profit-table td,td,.margin-waterfall>div,.margin-source-list>div){border-color:#e0e6e8;color:#27343b}
html[data-theme=light] body:has(.shell) tbody tr:hover{background:#f2f7f8}
html[data-theme=light] body:has(.shell) .dashboard-ask input{background:#fff;color:#263238;border-color:#cbd8dc}
html[data-theme=light] body:has(.shell) .dashboard-ask-suggestions button{background:#edf3f5;color:#354c56;border-color:#cddde3}
html[data-theme=light] body:has(.shell) .dashboard-ask #dashboard-answer{color:#27343b;border-color:#dce3e5}
@media(max-width:700px){body:has(.shell) .operations-intro h2,body:has(.shell) .true-margin-intro h2{font-size:29px}body:has(.shell) .overview-kpis article{padding:17px;min-height:130px}body:has(.shell) .overview-kpis article>strong{font-size:25px}}
