/* A compact workspace rail and calm, dark data surfaces. */
body:has(.shell){--sx-rail-width:76px}
body:has(.shell) .sidebar{width:var(--sx-rail-width);padding:18px 11px 14px;align-items:center;gap:0;z-index:45}
body:has(.shell) .shell{margin-left:var(--sx-rail-width);min-width:0}
body:has(.shell) .sidebar .brand{width:52px;height:52px;padding:0;justify-content:center;border-radius:15px}
body:has(.shell) .sidebar .brand>span,body:has(.shell) .sidebar .workspace>div,body:has(.shell) .sidebar .nav-label,body:has(.shell) .sidebar .sidebar-bottom .sidebar-plan,body:has(.shell) .sidebar .demo-note,body:has(.shell) .sidebar .profile>div,body:has(.shell) .sidebar nav i,body:has(.shell) .sidebar-collapse{display:none}
body:has(.shell) .sidebar .brandmark{width:36px;height:36px}
body:has(.shell) .sidebar .workspace{width:52px;height:52px;justify-content:center;margin:30px 0 27px;padding:0;border-radius:15px;box-shadow:none}
body:has(.shell) .sidebar .workspace{display:none}
body:has(.shell) .sidebar nav:first-of-type{margin-top:38px}
body:has(.shell) .sidebar .workspace .avatar{width:34px;height:34px}
body:has(.shell) .sidebar nav{width:100%;display:flex;flex-direction:column;align-items:center;gap:9px}
body:has(.shell) .sidebar nav button{position:relative;width:52px;height:52px;min-height:52px;justify-content:center;padding:0;font-size:0;line-height:1;border:1px solid transparent;border-radius:15px;transform:none}
body:has(.shell) .sidebar nav button>span{width:auto;font-size:23px;line-height:1}
body:has(.shell) .sidebar nav button>span svg{display:block;width:21px;height:21px}
body:has(.shell) .sidebar nav button.active{box-shadow:inset 3px 0 #ff965f,0 0 0 3px #ff965f0a}
body:has(.shell) .sidebar nav button:hover{transform:none}
body:has(.shell) .sidebar nav button::after{content:attr(aria-label);position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%) translateX(-5px);opacity:0;pointer-events:none;padding:8px 11px;border:1px solid #3b3736;border-radius:9px;background:#1b1a1a;color:#f5f3ef;font:500 12px/1.2 'DM Sans',sans-serif;white-space:nowrap;box-shadow:0 12px 30px #0008;transition:opacity .15s,transform .15s}
body:has(.shell) .sidebar nav button:hover::after,body:has(.shell) .sidebar nav button:focus-visible::after{opacity:1;transform:translateY(-50%) translateX(0)}
body:has(.shell) .sidebar-bottom{width:100%;display:flex;justify-content:center;margin-top:auto}
body:has(.shell) .sidebar .profile{padding:0;justify-content:center}
body:has(.shell) .sidebar .profile .avatar{width:39px;height:39px;border-radius:12px}
body:has(.shell) .topbar{min-height:72px;height:72px;padding:0 clamp(18px,2.6vw,44px);flex-wrap:nowrap;gap:20px}
body:has(.shell) .topbar .crumb{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:12px}
body:has(.shell) .topbar .crumb span{margin:0}
body:has(.shell) .topbar .crumb strong{font-weight:650}
body:has(.shell) .topbar .top-right{margin-left:auto;gap:12px;min-width:0}
body:has(.shell) .topbar .sx-header-controls{margin-left:0}
body:has(.shell) .topbar .sx-menu-pill{min-height:44px;padding:4px 6px}
body:has(.shell) .topbar .sx-menu-pill .sx-menu-toggle{min-height:34px;min-width:88px}
body:has(.shell) .topbar .sx-progress{display:none}
body:has(.shell) .workspace-tabs{position:sticky;top:0;z-index:35;display:flex;align-items:center;gap:7px;min-height:65px;padding:10px clamp(18px,2.6vw,44px);overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #302d2d;background:#111010ed;backdrop-filter:blur(18px)}
body:has(.shell) .workspace-tabs button{flex:0 0 auto;min-height:39px;padding:9px 16px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aaa5a6;font-size:12px;font-weight:550;line-height:1.2;white-space:nowrap;transition:background .16s,border-color .16s,color .16s}
body:has(.shell) .workspace-tabs button:hover{background:#252322;color:#f5f3ef;transform:none}
body:has(.shell) .workspace-tabs button.active{background:#2d2521;border-color:#80513d;color:#ffb18c;box-shadow:none}
body:has(.shell) .workspace-tabs button:focus-visible{outline:2px solid #ff9b68;outline-offset:2px}
body:has(.shell) .workspace-tabs .workspace-pricing{flex:0 0 auto;display:inline-flex;align-items:center;min-height:39px;margin-left:auto;padding:9px 15px;border:1px solid #704936;border-radius:11px;background:#2b211c;color:#ffb58c;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none;transition:background .16s,border-color .16s}
body:has(.shell) .workspace-tabs .workspace-pricing:hover{background:#3b281e;border-color:#bd7951}
body:has(.shell) .workspace-tabs .workspace-pricing:focus-visible{outline:2px solid #ff9b68;outline-offset:2px}
body:has(.shell) main{padding:29px clamp(18px,3vw,54px) 56px;max-width:1820px}
body:has(.shell) .page-heading{border-radius:18px;padding:24px 26px;box-shadow:none}
body:has(.shell) .page-heading h1{font-size:clamp(30px,3vw,42px)}
html:not([data-theme=light]) body:has(.shell){--bg:#080808;--panel:#1a1918;--line:#373332;--text:#f5f3ef;--muted:#aaa4a1;--gold:#ffb185;--purple:#c3aff1;--accent:#ff965f;background:#080808;color:var(--text)}
html:not([data-theme=light]) body:has(.shell) .sidebar{background:#101010;border-color:#2e2b2b}
html:not([data-theme=light]) body:has(.shell) .sidebar .brand:hover{background:#242120}
html:not([data-theme=light]) body:has(.shell) .sidebar .workspace{background:#1d1b1a;border-color:#3c3633}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button{color:#aaa4a2}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button.active{background:#30241f;border-color:#77503e;color:#ffb18c}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button.active>span{color:#ffab7d}
html:not([data-theme=light]) body:has(.shell) .sidebar nav button:hover{background:#282320;border-color:#5e4638;color:#fff2eb}
html:not([data-theme=light]) body:has(.shell) .topbar{background:#101010;border-color:#2e2b2b}
html:not([data-theme=light]) body:has(.shell) .topbar .crumb{color:#a59e9b}
html:not([data-theme=light]) body:has(.shell) .topbar .crumb strong{color:#f5f3ef}
html:not([data-theme=light]) body:has(.shell) .sx-menu-pill{background:#1b1a1b;border-color:#3b3738}
html:not([data-theme=light]) body:has(.shell) .page-heading{background:#191817;border:1px solid #383332}
html:not([data-theme=light]) body:has(.shell) .page-heading .eyebrow,html:not([data-theme=light]) body:has(.shell) .overline{color:#b3a8a1}
html:not([data-theme=light]) body:has(.shell) .page-heading h1>span{color:#ff9c6c}
html:not([data-theme=light]) body:has(.shell) .page-heading p{color:#aaa4a1}
html:not([data-theme=light]) body:has(.shell) .card,html:not([data-theme=light]) body:has(.shell) .profit-kpis article:not(.margin-loss):not(.margin-profit):not(.margin-estimate):not(.margin-positive-estimate),html:not([data-theme=light]) body:has(.shell) .kpi,html:not([data-theme=light]) body:has(.shell) .chart-card,html:not([data-theme=light]) body:has(.shell) .two-col>.card{background:#1a1918;border:1px solid #373332;box-shadow:inset 0 1px #ffffff07,0 10px 28px #00000020}
html:not([data-theme=light]) body:has(.shell) .kpi:nth-child(n),html:not([data-theme=light]) body:has(.shell) .kpi.primary{background:#1c1a19;border-color:#3e3936}
html:not([data-theme=light]) body:has(.shell) .profit-kpis article.featured{background:#24201d;border-color:#624637}
html:not([data-theme=light]) body:has(.shell) .card:hover,html:not([data-theme=light]) body:has(.shell) .profit-kpis article:hover{border-color:#87654e}
html:not([data-theme=light]) body:has(.shell) .overview-next,html:not([data-theme=light]) body:has(.shell) .price-panel{background:#211c1a;border-color:#554138}
html:not([data-theme=light]) body:has(.shell) .recommended-price{background:#c3aff1;border-color:#d1c0f4}
html:not([data-theme=light]) body:has(.shell) .demo-banner{background:#231c18;border-color:#594234;color:#ddc5b5}
html:not([data-theme=light]) body:has(.shell) .profit-table th,html:not([data-theme=light]) body:has(.shell) th{background:#242120;color:#bfb4ae}
html:not([data-theme=light]) body:has(.shell) .profit-table td,html:not([data-theme=light]) body:has(.shell) td{border-color:#393431}
html:not([data-theme=light]) body:has(.shell) .profit-table .selected-product{background:#30241e}
html:not([data-theme=light]) body:has(.shell) select,html:not([data-theme=light]) body:has(.shell) .button{background:#272322;border-color:#524a45;color:#f3ece8}
html:not([data-theme=light]) body:has(.shell) #refresh{background:linear-gradient(120deg,#ffa367,#ff8054 70%,#ffb77b);border-color:#ffb388;color:#21130c;box-shadow:0 0 0 4px #ff945c0b}
/* Carry the homepage's charcoal and orange through the remaining dashboard components. */
html:not([data-theme=light]) body:has(.shell) :is(.marketplace-price-row,.competition-grid article,.auto-repricing){background:#1a1918;border-color:#403a37;box-shadow:none}
html:not([data-theme=light]) body:has(.shell) :is(.profit-kpis article>span,.profit-kpis article>small,.kpi-title,.kpi-bottom,.chart-labels,.gridline>span,.overview-note,.overview-message){color:#aaa4a1}
html:not([data-theme=light]) body:has(.shell) :is(.metric-glyph,.kpi-title>span,.row-open,.section-link,.price-spark){color:#ffad80}
html:not([data-theme=light]) body:has(.shell) :is(.pricing-rule,.pill,.status,.signal.unknown,.attention-count){background:#292625;border-color:#46403d;color:#c9bdb6}
html:not([data-theme=light]) body:has(.shell) :is(.search,.segmented,.auto-repricing-fields input,.auto-repricing-fields select){background:#121111;border-color:#46403d;color:#f5f3ef}
html:not([data-theme=light]) body:has(.shell) :is(.segmented button.active,.multiplier-options button.active){background:#ff9b68;color:#24140d}
html:not([data-theme=light]) body:has(.shell) :is(.overview-channel,.overview-attention button,.overview-source-list button,.chart-summary,.channel-row){border-color:#3a3532}
html:not([data-theme=light]) body:has(.shell) :is(.coverage-track,.mini-track,.product-cost-track,.cost-stack){background:#38322f}
html:not([data-theme=light]) body:has(.shell) :is(.coverage-track span,.mini-track span,.bar){background:#ff9b68}
html:not([data-theme=light]) body:has(.shell) .bar.secondary{background:#c3aff1}
html:not([data-theme=light]) body:has(.shell) .legend span:before{background:#ff9b68}
html:not([data-theme=light]) body:has(.shell) .legend span:nth-child(2):before{background:#c3aff1}
html:not([data-theme=light]) body:has(.shell) .gridline{border-color:#393330}
html:not([data-theme=light]) body:has(.shell) .chart-summary strong{color:#f5f3ef}
html:not([data-theme=light]) body:has(.shell) .profit-table .selected-product td:first-child{box-shadow:inset 3px 0 #ff9b68}
html:not([data-theme=light]) body:has(.shell) tbody tr:hover{background:#27211e}
html:not([data-theme=light]) body:has(.shell) .recommended-price>strong,html:not([data-theme=light]) body:has(.shell) .recommended-price>span,html:not([data-theme=light]) body:has(.shell) .recommended-price>p{color:#281e31}
html:not([data-theme=light]) body:has(.shell) .recommended-price :is(small,.pill){color:#4e405a}
html:not([data-theme=light]) body:has(.shell) .recommended-price .pill{background:#ddcff6;border-color:#b8a4db}
html:not([data-theme=light]) body:has(.shell) .marketplace-prices .primary-price-note{background:#231f1c;border-color:#5e4a3e;color:#ffc7a5}
html:not([data-theme=light]) body:has(.shell) .marketplace-price-row:focus-within{border-color:#ff9b68}
html:not([data-theme=light]) body:has(.shell) .auto-repricing-switch input{accent-color:#ff9b68}
html:not([data-theme=light]) body:has(.shell) :is(.price-selected small,.price-range>span,.price-range>small,.price-facts>div,.scenario-editor label,.scenario-editor small,.price-disclaimer,.product-cost-graph-top,.product-cost-key small,.product-cost-note){color:#aaa4a1}
html:not([data-theme=light]) body:has(.shell) :is(.price-selected strong,.price-range>strong,.price-facts strong,.cost-head>strong,.product-cost-graph-top strong,.product-cost-key strong,.product-cost-key b:not(.positive):not(.negative)){color:#f5f3ef}
html:not([data-theme=light]) body:has(.shell) :is(.multiplier-options,.scenario-editor input,.product-cost-graph-top select){background:#151313;border-color:#4c413c;color:#f5f3ef}
html:not([data-theme=light]) body:has(.shell) :is(.price-facts,.scenario-editor,.contribution-total,.product-cost-balance){border-color:#47403c}
html[data-theme=light] body:has(.shell) .workspace-tabs{background:#f5f5f2eF;border-color:#d8dcd8}
html[data-theme=light] body:has(.shell) .workspace-tabs button{color:#596366}
html[data-theme=light] body:has(.shell) .workspace-tabs button:hover{background:#e8eeeb;color:#243531}
html[data-theme=light] body:has(.shell) .workspace-tabs button.active{background:#dcece5;border-color:#9abfad;color:#204437}
html[data-theme=light] body:has(.shell) .workspace-tabs .workspace-pricing{background:#fff0e6;border-color:#d3a184;color:#88401f}
html[data-theme=light] body:has(.shell) .sidebar nav button::after{background:#f9fbf9;border-color:#c6d5cd;color:#263630}
@media(max-width:1050px){body:has(.shell) .topbar .account-menu{display:none}body:has(.shell) .workspace-tabs{gap:2px}body:has(.shell) .workspace-tabs button{padding-inline:12px}}
@media(max-width:700px){body:has(.shell) .sidebar{display:none}body:has(.shell) .shell{margin-left:0}body:has(.shell) .topbar{height:62px;min-height:62px;padding:0 16px}body:has(.shell) .topbar .crumb-workspace,body:has(.shell) .topbar .crumb>span:nth-child(2){display:none}body:has(.shell) .topbar .sx-menu-pill{min-height:40px}body:has(.shell) .topbar .sx-menu-pill .sx-menu-toggle{min-width:74px;padding:5px 7px}body:has(.shell) .topbar .sx-menu-pill .sx-theme-toggle,body:has(.shell) .topbar .sx-menu-pill .sx-language{display:none}body:has(.shell) .workspace-tabs{min-height:58px;padding:8px 14px}body:has(.shell) main{padding:20px 15px 42px}body:has(.shell) .page-heading{padding:20px}body:has(.shell) .page-heading h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){body:has(.shell) .sidebar nav button::after,body:has(.shell) .workspace-tabs button{transition:none}}
body:not(.auth-ready){visibility:hidden}
