/* Generated ShareScalio CSS bundle. Source order is maintained in css-bundle-manifest.json. */

/* Source: light-theme.css */
/* D2Clytics light theme inspired by calm, modern operations dashboards. */
html[data-d2c-theme="light"]{
 color-scheme:light;
 --light-canvas:#f3f4f0;
 --light-panel:#ffffff;
 --light-raised:#f7f8f5;
 --light-field:#ffffff;
 --light-hover:#edf1ed;
 --light-border:#dfe4df;
 --light-text:#17201f;
 --light-secondary:#596561;
 --light-muted:#66716c;
 --light-blue:#416f9f;
 --light-green:#397a5c;
 --light-orange:#b66d43;
 --light-focus:#497da9;
 --tx:var(--light-text);--soft:var(--light-secondary);--mut:var(--light-muted);
 --blue:var(--light-blue);--green:var(--light-green);--gold:var(--light-orange);--edge:var(--light-border);
}
html[data-d2c-theme="light"] body{
 background:var(--light-canvas)!important;color:var(--light-text)!important;
 background-image:radial-gradient(ellipse at 4% 0%,rgba(94,139,165,.08),transparent 35%),radial-gradient(ellipse at 92% 0%,rgba(105,156,127,.07),transparent 34%)!important;
}
html[data-d2c-theme="light"] ::selection{background:#d5e6f2;color:#17201f}
html[data-d2c-theme="light"] :is(h1,h2,h3,h4){color:var(--light-text)!important}
html[data-d2c-theme="light"] :is(.soft,.muted,.note,.kpi .hint,.sect small,.sidebarfoot,.navlabel){color:var(--light-secondary)!important}
html[data-d2c-theme="light"] a{color:#386b99}
html[data-d2c-theme="light"] a:hover{color:#214c75}
html[data-d2c-theme="light"] :is(.glass,.panel,.chartpanel,.tablewrap,.card,.kpi,.cmdHero,.cmdStat,.cmdClient,.cmdSecondary,.cmdCaveat,.rptModern,.rptModernCard,.rptModernCustom,.uHero,.uTop,.uSection){
 background:var(--light-panel)!important;color:var(--light-text)!important;border-color:var(--light-border)!important;
 box-shadow:0 5px 18px rgba(35,54,45,.055)!important;backdrop-filter:none!important
}
html[data-d2c-theme="light"] :is(.sidebar,.top,#nav){background:rgba(250,251,248,.97)!important;color:var(--light-text)!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] .sidebar{box-shadow:0 4px 18px rgba(35,54,45,.035)}
html[data-d2c-theme="light"] .brand{color:var(--light-text)!important}
html[data-d2c-theme="light"] .navbtn{color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .navbtn.active{background:#171b19!important;border-color:#171b19!important;color:#fff!important}
html[data-d2c-theme="light"] .navbtn:hover:not(.active){background:#edf1ed!important;color:var(--light-text)!important}
html[data-d2c-theme="light"] :is(button,input,select,textarea){border-color:#d3dad4!important}
html[data-d2c-theme="light"] :is(input,select,textarea){background:#fff!important;color:var(--light-text)!important}
html[data-d2c-theme="light"] select option{background:#fff;color:var(--light-text)}
html[data-d2c-theme="light"] :is(input,textarea)::placeholder{color:#7a8580!important;opacity:1}
html[data-d2c-theme="light"] input[type="checkbox"],html[data-d2c-theme="light"] input[type="radio"]{accent-color:#477da5}
html[data-d2c-theme="light"] button:not(.primary):not(.navbtn):not(.pipePrimary){background:#fff!important;color:var(--light-text)!important}
html[data-d2c-theme="light"] button:not(:disabled):not(.primary):not(.navbtn):not(.pipePrimary):hover{background:#edf2ef!important;border-color:#bccac1!important}
html[data-d2c-theme="light"] button.primary,html[data-d2c-theme="light"] .pipeRoot .pipePrimary{
 background:#171b19!important;border-color:#171b19!important;color:#fff!important;box-shadow:0 3px 9px rgba(27,38,33,.12)!important
}
html[data-d2c-theme="light"] button.primary:hover:not(:disabled),html[data-d2c-theme="light"] .pipeRoot .pipePrimary:hover:not(:disabled){background:#303a35!important}
html[data-d2c-theme="light"] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #79a3c4!important;outline-offset:3px!important}
html[data-d2c-theme="light"] .pos,html[data-d2c-theme="light"] .green,html[data-d2c-theme="light"] .overviewDelta.pos{color:#28734e!important}
html[data-d2c-theme="light"] .neg,html[data-d2c-theme="light"] .red,html[data-d2c-theme="light"] .overviewDelta.neg{color:#a4463f!important}
html[data-d2c-theme="light"] .card .cardhead,html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead{background:#f0f3f0!important;color:var(--light-text)!important}
html[data-d2c-theme="light"] .card:first-child .cardhead,html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard.current .cardhead{background:#e4eef3!important}
html[data-d2c-theme="light"] :is(.overviewCompareMetricTop>span,.overviewCompareValues small,.overviewCompareHeading p,.overviewCompareSelector,.overviewCompareNote){color:var(--light-secondary)!important}
html[data-d2c-theme="light"] :is(.overviewSecondaryHeading,.overviewDemandHeading){color:#416f9f!important}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl th:first-child{background:#edf1ed!important;color:#26312d!important}
html[data-d2c-theme="light"] .tbl td:first-child{background:#fff!important}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl td{border-bottom-color:#e2e7e2!important}
html[data-d2c-theme="light"] .tbl tr.group td,html[data-d2c-theme="light"] .tbl tr.group td:first-child{background:#e8eee9!important;color:#26312d!important}
html[data-d2c-theme="light"] .tbl tr:hover td{background:#f1f5f1!important;filter:none}
html[data-d2c-theme="light"] .tbl tr.detailChangeRow td{color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .svgchart text{fill:#5c6963!important}
html[data-d2c-theme="light"] .loginbox label{color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .loginbox .status{color:#9a5c21!important}
html[data-d2c-theme="light"] .kwBulkToolbar{background:#f8faf7!important;border-color:#dfe5df!important}
html[data-d2c-theme="light"] .kwBulkIntro strong,html[data-d2c-theme="light"] .kwBulkSelected{color:#23302a!important}
html[data-d2c-theme="light"] .kwBulkIntro span{color:#64716a!important}
html[data-d2c-theme="light"] .kwBulkSelected{background:#eaf0eb!important}
html[data-d2c-theme="light"] .kwSelectCheckbox,html[data-d2c-theme="light"] .kwSelectAllHeader input{accent-color:#477da5!important;outline-color:#7394a9!important}
html[data-d2c-theme="light"] .kwClearSelection{background:#eef2ee!important}
html[data-d2c-theme="light"] .ppcSegmentCard{background:#fff!important;border-color:#e1e6e0!important}
html[data-d2c-theme="light"] .ppcSegmentHead{background:#f2f5f2!important;border-color:#e1e6e0!important}
html[data-d2c-theme="light"] .ppcSegmentHead h3{color:#202925!important}
html[data-d2c-theme="light"] .ppcSegmentHead span{color:#65716b!important}
html[data-d2c-theme="light"] .ppcExportBtn{background:#edf2ef!important;color:#26342e!important;border-color:#d4ddd6!important}
html[data-d2c-theme="light"] .ppcSegmentScroll th{background:#f2f5f2!important;color:#46534c!important;border-color:#dfe5df!important}
html[data-d2c-theme="light"] .ppcSegmentScroll td{color:#26312c!important;border-color:#e7ebe7!important}
html[data-d2c-theme="light"] .ppcSegmentScroll tr:hover td{background:#f3f6f3!important}
html[data-d2c-theme="light"] .pipeRoot{
 --pipe-bg:var(--light-canvas);--pipe-panel:#fff;--pipe-ink:var(--light-text);
 --pipe-sub:var(--light-secondary);--pipe-edge:var(--light-border);
 background:var(--light-canvas)!important;border-color:var(--light-border)!important;color:var(--light-text)!important
}
html[data-d2c-theme="light"] .pipeRoot :is(.pipeColumn,.pipeSummary>div,.pipeEditor,.pipeLoading){background:#fff!important;border-color:var(--light-border)!important;color:var(--light-text)!important}
html[data-d2c-theme="light"] .pipeRoot .pipeTaskCard{background:#f8faf8!important;color:var(--light-text)!important;border-color:#d9e1db!important}
html[data-d2c-theme="light"] .pipeRoot :is(.pipeCardDescription,.pipeCardMeta,.pipeTypeChip){color:var(--light-secondary)!important;opacity:1}
html[data-d2c-theme="light"] .pipeRoot :is(.pipeColumn>header button,.pipeStatusPicker select,.pipeFormActions>button:not(.pipePrimary)){background:#fff!important;color:var(--light-text)!important;border-color:#d3dad4!important}
html[data-d2c-theme="light"] .pipeRoot .pipeStageCount{background:#edf1ed!important;color:#46534c!important}
html[data-d2c-theme="light"] .pipeRoot :is(.pipeViewSwitch button.active,.pipeStagePicker button.active){background:#e6edf2!important;color:#294b65!important}
html[data-d2c-theme="light"] .pipeRoot .pipeFormActions>.pipeDanger,html[data-d2c-theme="light"] .pipeRoot .pipeError{background:#fbefec!important;color:#9a453c!important;border-color:#e5b9b2!important}
html[data-d2c-theme="light"] .pipeRoot .pipeStage-todo .pipeTaskCard{border-left-color:#b97742}
html[data-d2c-theme="light"] .pipeRoot .pipeStage-in_progress .pipeTaskCard{border-left-color:#4c7fa8}
html[data-d2c-theme="light"] .pipeRoot .pipeStage-review .pipeTaskCard{border-left-color:#9a6b35}
html[data-d2c-theme="light"] .pipeRoot .pipeStage-done .pipeTaskCard{border-left-color:#468667}
html[data-d2c-theme="light"] .cmdRoot{--cmd-border:var(--light-border);--cmd-surface:#fff;color:var(--light-text)}
html[data-d2c-theme="light"] .cmdHero,html[data-d2c-theme="light"] .cmdStat,html[data-d2c-theme="light"] .cmdClient,html[data-d2c-theme="light"] .cmdSecondary,html[data-d2c-theme="light"] .cmdCaveat{background:#fff!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] :is(.cmdHero p,.cmdCaveat p,.cmdStat em,.cmdClientMain p,.cmdMicro,.cmdFollowup p,.cmdAlert p,.cmdFooter){color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .rptModern{--rptPanel:#fff;--rptInk:var(--light-text);--rptSoft:var(--light-secondary);background:#f8faf7!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] .rptModern :is(.rptModernCard,.rptModernCustom){background:#fff!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] .rptModern :is(.rptModernCardTop>span,.rptModernCard small,.rptModernCard p,.rptModernPeriod,.rptModernMissing,.rptModernEmpty,footer){color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .rptModern .rptModernRange button.active{background:#e6edf2!important;color:#294b65!important}
html[data-d2c-theme="light"] .rptModern .rptModernSpark{color:#397a5c}
html[data-d2c-theme="light"] .rptModern .rptModernSpark.tacos{color:#b66d43}
html[data-d2c-theme="light"] .rptModern .rptModernSpark.profit{color:#416f9f}
html[data-d2c-theme="light"] .mobileSheet{background:#fff!important;color:var(--light-text)!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] :is(.mobileSheetItemHint,.mobileContext,.mobileSheetUser){color:var(--light-secondary)!important}
html[data-d2c-theme="light"] .reportPointTooltip{background:#fff!important;color:var(--light-text)!important;border-color:var(--light-border)!important}
html[data-d2c-theme="light"] .themeToggle{background:#eef2ef!important;color:#30433a!important;border-color:#d7dfd8!important}
html[data-d2c-theme="light"] .themeToggle:hover{background:#e3ebe5!important}
html[data-d2c-theme="dark"] .themeToggle{background:#263449!important;color:#eef3f9!important;border-color:#50617a!important}
@media(max-width:760px){
 html[data-d2c-theme="light"] :is(.sidebar,.top,#nav){background:#f8faf7!important}
 html[data-d2c-theme="light"] .mobileSheet{box-shadow:0 16px 46px rgba(25,38,31,.16)}
}
@media(prefers-reduced-motion:reduce){html[data-d2c-theme="light"] :is(button,input,select,textarea,.navbtn){transition:none}}

.themeToggle{margin-left:auto!important;display:inline-grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border-radius:11px!important;font-size:18px!important;line-height:1!important;cursor:pointer}

.mobileHeaderRight .themeToggle{margin-left:0!important;flex:0 0 37px!important;width:37px!important;height:37px!important}

/* Commerce analytics polish: Shopify-like neutral workspace and focused charts. */
html[data-d2c-theme="light"]{
 --light-canvas:#f6f6f7;--light-panel:#fff;--light-raised:#f6f6f7;
 --light-field:#fff;--light-hover:#f1f2f3;--light-border:#e3e3e3;
 --light-text:#202223;--light-secondary:#616161;--light-muted:#707070;
 --light-blue:#2c6ecb;--light-green:#008060;--light-orange:#8a4b08;
 --light-focus:#2c6ecb;--blue:#2c6ecb;--green:#008060;--gold:#8a4b08;
}
html[data-d2c-theme="light"] body{
 background:#f6f6f7!important;background-image:none!important;color:#202223!important
}
html[data-d2c-theme="light"] :is(.glass,.panel,.chartpanel,.tablewrap,.card,.kpi,.cmdHero,.cmdStat,.cmdClient,.cmdSecondary,.cmdCaveat,.rptModern,.rptModernCard,.rptModernCustom,.uHero,.uTop,.uSection){
 border-radius:12px!important;border-color:#e3e3e3!important;
 box-shadow:0 1px 2px rgba(0,0,0,.045)!important
}
html[data-d2c-theme="light"] .chartpanel{padding:18px!important}
html[data-d2c-theme="light"] :is(.chartmeta h3,.dlyGraphTop strong){color:#202223!important}
html[data-d2c-theme="light"] .chartmeta .legend{color:#616161!important}
html[data-d2c-theme="light"] .svgchart text{fill:#707070!important}
html[data-d2c-theme="light"] .svgchart .gridline{stroke:#e5e5e5!important}
html[data-d2c-theme="light"] .svgchart .blue{fill:#2c6ecb!important}
html[data-d2c-theme="light"] .svgchart .orange{fill:#8a4b08!important}
html[data-d2c-theme="light"] .svgchart .line{stroke:#008060!important}
html[data-d2c-theme="light"] .svgchart .point{fill:#2c6ecb!important}
html[data-d2c-theme="light"] .chartCanvas{height:300px}
html[data-d2c-theme="light"] :is(.compactChartBar,.chartControls){gap:8px}
html[data-d2c-theme="light"] :is(.compactChartBar select,.chartControls select,.metricPicker summary,.chartChoices label){
 border-color:#e3e3e3!important;border-radius:8px!important;background:#fff!important;color:#202223!important
}
html[data-d2c-theme="light"] .chartChoices label{background:#f6f6f7!important}
html[data-d2c-theme="light"] .sidebar{
 background:#1a1a1a!important;color:#f6f6f7!important;border-color:#303030!important
}
html[data-d2c-theme="light"] .sidebar .brand{color:#fff!important}
html[data-d2c-theme="light"] .sidebar .navlabel{color:#a3a3a3!important}
html[data-d2c-theme="light"] .sidebar .navbtn{color:#e3e3e3!important}
html[data-d2c-theme="light"] .sidebar .navbtn.active{background:#3b3b3b!important;border-color:#4a4a4a!important;color:#fff!important}
html[data-d2c-theme="light"] .sidebar .navbtn:hover:not(.active){background:#292929!important;color:#fff!important}
html[data-d2c-theme="light"] .sidebar .sidebarfoot{color:#d0d0d0!important}
html[data-d2c-theme="light"] .top{background:#fff!important;color:#202223!important;border-color:#e3e3e3!important}
html[data-d2c-theme="light"] :is(button,input,select,textarea){border-radius:8px}
html[data-d2c-theme="light"] button.primary,html[data-d2c-theme="light"] .pipeRoot .pipePrimary{
 background:#008060!important;border-color:#008060!important;color:#fff!important
}
html[data-d2c-theme="light"] button.primary:hover:not(:disabled),html[data-d2c-theme="light"] .pipeRoot .pipePrimary:hover:not(:disabled){background:#006e52!important}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl th:first-child{
 background:#f6f6f7!important;color:#424242!important
}
html[data-d2c-theme="light"] .tbl tr.group td,html[data-d2c-theme="light"] .tbl tr.group td:first-child{
 background:#f1f2f3!important;color:#202223!important
}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl td{border-bottom-color:#e3e3e3!important}
html[data-d2c-theme="light"] .kwBulkToolbar{background:#fff!important;border-color:#e3e3e3!important}
html[data-d2c-theme="light"] .kwBulkSelected{background:#f1f2f3!important}
html[data-d2c-theme="light"] :is(.sidebar #mobileClientBtn,.sidebar #mobileMenuBtn){
 background:#292929!important;color:#fff!important;border-color:#484848!important
}
@media(max-width:760px){
 html[data-d2c-theme="light"] .sidebar{background:#1a1a1a!important}
 html[data-d2c-theme="light"] .mobileContext{color:#bdbdbd!important}
 html[data-d2c-theme="light"] .chartpanel{padding:14px!important}
}

/* Keep authentication screens consistently light, independent of dashboard panels. */
html[data-d2c-theme="light"] :is(#login,#recover){
 min-height:100vh;padding:24px;
 background:#f6f6f7!important;color:#202223!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox{
 width:min(440px,100%);padding:34px!important;border:1px solid #e3e3e3!important;
 border-radius:16px!important;background:#fff!important;color:#202223!important;
 box-shadow:0 8px 28px rgba(0,0,0,.07)!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .brand{color:#202223!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox h1{color:#202223!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox :is(.soft,.note,.loginPasswordHelp){color:#616161!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox label{color:#424242!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox input:not([type="checkbox"]){
 width:100%;min-height:44px;margin:4px 0;padding:11px 13px;
 border:1px solid #c9cccf!important;border-radius:9px!important;
 background:#fff!important;color:#202223!important;box-shadow:none!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox input:not([type="checkbox"]):hover{border-color:#8c9196!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox input:not([type="checkbox"]):focus{
 border-color:#2c6ecb!important;outline:2px solid rgba(44,110,203,.22)!important;outline-offset:1px!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox input::placeholder{color:#707070!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button{
 min-height:43px;border-radius:9px!important;font-weight:650;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button.primary{
 background:#008060!important;border-color:#008060!important;color:#fff!important;
 box-shadow:none!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button.primary:hover:not(:disabled){
 background:#006e52!important;border-color:#006e52!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button:not(.primary){
 background:#fff!important;border-color:#c9cccf!important;color:#202223!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button:not(.primary):hover:not(:disabled){
 background:#f6f6f7!important;border-color:#8c9196!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button.quiet{
 background:transparent!important;border-color:transparent!important;color:#2c6ecb!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox button.quiet:hover:not(:disabled){
 background:#f1f2f3!important;color:#1f5199!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox .status{color:#616161!important}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox .note{
 border-color:#e3e3e3!important;background:#f6f6f7!important;border-radius:9px!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox :is(a,button,input,select,textarea):focus-visible{
 outline:3px solid rgba(44,110,203,.55)!important;outline-offset:2px!important;
}
@media(max-width:560px){
 html[data-d2c-theme="light"] :is(#login,#recover){padding:16px}
 html[data-d2c-theme="light"] :is(#login,#recover) .loginbox{padding:24px!important}
}

/* Override the dark UA scheme left on the auth containers; it affects autofill rendering. */
html[data-d2c-theme="light"] :is(#login,#recover){
 color-scheme:light!important;
}
html[data-d2c-theme="light"] :is(#login,#recover) .loginbox input:is(:autofill, :-webkit-autofill, :-webkit-autofill:hover, :-webkit-autofill:focus, :-webkit-autofill:active){
 color-scheme:light!important;
 -webkit-text-fill-color:#202223!important;
 caret-color:#202223!important;
 -webkit-box-shadow:0 0 0 1000px #fff inset!important;
 box-shadow:0 0 0 1000px #fff inset!important;
}

/* Explicit two-choice theme control; users can select Light without guessing the icon. */
.themeSwitch{
 display:inline-flex;align-items:center;gap:2px;padding:3px;
 border:1px solid #d7dfd8;border-radius:10px;background:#eef2ef;
 white-space:nowrap;flex:none
}
.themeSwitch [data-theme-choice]{
 display:inline-flex!important;align-items:center;justify-content:center;gap:5px;
 width:auto!important;min-width:64px!important;min-height:30px!important;
 margin:0!important;padding:5px 9px!important;border:0!important;border-radius:7px!important;
 background:transparent!important;color:#47534c!important;
 font-size:11px!important;font-weight:700!important;line-height:1.2
}
html[data-d2c-theme="light"] .themeSwitch [data-theme-choice].active{
 background:#008060!important;color:#fff!important
}
html[data-d2c-theme="dark"] .themeSwitch{
 border-color:#3c506a;background:#1b2a3d
}
html[data-d2c-theme="dark"] .themeSwitch [data-theme-choice]{
 background:transparent!important;color:#c6d3e4!important
}
html[data-d2c-theme="dark"] .themeSwitch [data-theme-choice].active{
 background:#3a5d96!important;color:#fff!important
}
.themeSwitch [data-theme-choice]:focus-visible{
 outline:2px solid #2c6ecb!important;outline-offset:2px!important;z-index:1
}
@media(max-width:760px){
 .themeSwitch [data-theme-choice]{min-width:58px!important;padding:5px 7px!important}
}

/* High-contrast light surfaces for navigation and operational dashboard accents. */
html[data-d2c-theme="light"] .sidebar{
 background:#fff!important;color:#202223!important;border-color:#e3e3e3!important
}
html[data-d2c-theme="light"] .sidebar .brand{color:#202223!important}
html[data-d2c-theme="light"] .sidebar .navlabel{color:#525a55!important}
html[data-d2c-theme="light"] .sidebar .navbtn{color:#424a45!important}
html[data-d2c-theme="light"] .sidebar .navbtn .ico{color:#365f7d!important}
html[data-d2c-theme="light"] .sidebar .navbtn.active{
 background:#202223!important;border-color:#202223!important;color:#fff!important
}
html[data-d2c-theme="light"] .sidebar .navbtn.active .ico{color:#fff!important}
html[data-d2c-theme="light"] .sidebar .navbtn:disabled{
 opacity:1!important;background:#f6f7f6!important;border-color:#e1e5e1!important;color:#626a65!important
}
html[data-d2c-theme="light"] .sidebar .navbtn:disabled .ico{color:#596d7c!important}
html[data-d2c-theme="light"] :is(.eyebrow,.cmdEyebrow,.cmdSectionEyebrow,.cmdTitleBar p,.cmdHeroRight,.cmdCount,.cmdStat>span,.cmdStat strong,.cmdStat strong small,.cmdStat em,.cmdClientMarket,.cmdClientMain p,.cmdMicro,.cmdState,.cmdFollowupCheck,.cmdFollowup strong,.cmdAlert strong,.cmdFollowup p,.cmdAlert p,.cmdFollowupEnd span,.cmdEmpty,.cmdEmptyMini,.cmdFooter,.cmdLoading,.cmdCaveat>span,.cmdCaveat strong,.cmdFormGrid label,.cmdFormFooter span){
 color:#424a45!important
}
html[data-d2c-theme="light"] .cmdEyebrow,
html[data-d2c-theme="light"] .cmdSectionEyebrow{color:#315f83!important}
html[data-d2c-theme="light"] .cmdStat strong{color:#202223!important}
html[data-d2c-theme="light"] .cmdStat strong small{color:#424a45!important}
html[data-d2c-theme="light"] .cmdClientSymbol{background:#e8f0f5!important;color:#315f83!important}
html[data-d2c-theme="light"] .cmdClient.critical .cmdClientSymbol{background:#fbe9e8!important;color:#a33a36!important}
html[data-d2c-theme="light"] .cmdClient.done .cmdClientSymbol{background:#e7f3ec!important;color:#256746!important}
html[data-d2c-theme="light"] .cmdCount{background:#f1f2f3!important;border-color:#d8dcda!important;color:#424a45!important}
html[data-d2c-theme="light"] .cmdState{background:#f1f2f3!important;color:#424a45!important}
html[data-d2c-theme="light"] .cmdState.critical{background:#fbe9e8!important;color:#9d302d!important}
html[data-d2c-theme="light"] .cmdState.review{background:#fff2d8!important;color:#80520c!important}
html[data-d2c-theme="light"] .cmdState.done{background:#e7f3ec!important;color:#256746!important}
html[data-d2c-theme="light"] .cmdClientAction button,
html[data-d2c-theme="light"] .cmdFollowupEnd button,
html[data-d2c-theme="light"] .cmdAlert button{
 background:#fff!important;color:#26342e!important;border-color:#cbd2cd!important
}
html[data-d2c-theme="light"] .cmdClientAction button:hover,
html[data-d2c-theme="light"] .cmdFollowupEnd button:hover,
html[data-d2c-theme="light"] .cmdAlert button:hover{background:#f1f2f3!important}
html[data-d2c-theme="light"] .cmdProgressBar{background:#e5e8e6!important}
html[data-d2c-theme="light"] :is(.cmdRoot,.cmdRoot .cmdStat,.cmdRoot .cmdClient,.cmdRoot .cmdSecondary,.cmdRoot .cmdCaveat){
 color:#202223
}
html[data-d2c-theme="light"] :is(.cmdRoot .cmdStat,.cmdRoot .cmdClient,.cmdRoot .cmdSecondary,.cmdRoot .cmdCaveat){
 border-color:#e3e3e3!important
}
html[data-d2c-theme="light"] .cmdError{color:#8f2828!important;background:#fbe9e8!important;border-color:#e7b9b6!important}
html[data-d2c-theme="light"] .cmdSuccess{color:#256746!important}
html[data-d2c-theme="light"] .cmdFollowupEnd span.overdue{color:#80520c!important}
html[data-d2c-theme="light"] .cmdState.critical,html[data-d2c-theme="light"] .cmdState.review,html[data-d2c-theme="light"] .cmdState.done{font-weight:750}
html[data-d2c-theme="light"] button:disabled{opacity:.78!important}

/* High contrast light-mode treatment for reporting, event panels, forms, and charts. */
html[data-d2c-theme="light"] .executiveBrief{
 background:#fff!important;color:#202223!important;border:1px solid #e3e3e3!important;
 box-shadow:0 1px 2px rgba(0,0,0,.045)!important
}
html[data-d2c-theme="light"] .executiveBrief :is(h2,strong,.executiveBriefEyebrow,.executiveBriefTop>span,.executiveBriefMissing,.executiveEventHint){color:#202223!important}
html[data-d2c-theme="light"] .executiveBrief :is(p,small){color:#424a45!important}
html[data-d2c-theme="light"] .executiveBriefEyebrow{color:#315f83!important}
html[data-d2c-theme="light"] .executiveSignal{background:#f6f6f7!important;color:#202223!important;border:1px solid #d9ddda!important}
html[data-d2c-theme="light"] .executiveSignal strong{color:#202223!important}
html[data-d2c-theme="light"] .executiveSignal small{color:#424a45!important}
html[data-d2c-theme="light"] .executiveSignalIcon{color:#008060!important}
html[data-d2c-theme="light"] .executiveSignal.watch .executiveSignalIcon{color:#9a5b00!important}
html[data-d2c-theme="light"] .executivePrintBtn{background:#202223!important;color:#fff!important;border-color:#202223!important}
html[data-d2c-theme="light"] .executiveBrief .overviewMetricButton{color:#202223!important}
html[data-d2c-theme="light"] .executiveBrief .overviewMetricButton:hover{background:#f1f2f3!important}
html[data-d2c-theme="light"] .businessEvents{
 background:#fff!important;color:#202223!important;border:1px solid #d9ddda!important
}
html[data-d2c-theme="light"] .businessEvents :is(h2,strong,summary){color:#202223!important}
html[data-d2c-theme="light"] .businessEvents :is(p,small,.businessEventsHeading>span,.businessEventEmpty){color:#424a45!important}
html[data-d2c-theme="light"] .businessEventItem{background:#f6f6f7!important;border-color:#d9ddda!important}
html[data-d2c-theme="light"] .businessEventWhen{color:#80520c!important}
html[data-d2c-theme="light"] .businessEventItem :is(strong,p,small){color:#303633!important}
html[data-d2c-theme="light"] .businessEventEditor{background:#fff!important;border-color:#c9cccf!important;color:#202223!important}
html[data-d2c-theme="light"] .businessEventEditor :is(label,span,small){color:#424a45!important}
html[data-d2c-theme="light"] .businessEventEditor :is(input,select,textarea){background:#fff!important;color:#202223!important;border:1px solid #8c9196!important}
html[data-d2c-theme="light"] .businessEventEditor input::placeholder,
html[data-d2c-theme="light"] .businessEventEditor textarea::placeholder{color:#616161!important;opacity:1}
html[data-d2c-theme="light"] .rptModernPeriod::after{content:"  ·  Solid line: selected period   Dashed line: previous same-length period";font-weight:500;color:#525a55}
html[data-d2c-theme="light"] .rptModern :is(input,select,textarea,button){color-scheme:light}
html[data-d2c-theme="light"] .rptModern :is(input,select,textarea){background:#fff!important;color:#202223!important;border-color:#8c9196!important}
html[data-d2c-theme="light"] .rptModern :is(input,select,textarea)::placeholder{color:#616161!important;opacity:1}
html[data-d2c-theme="light"] .rptModern svg path{stroke-linejoin:round!important;stroke-linecap:round!important}
html[data-d2c-theme="light"] .rptModern :is(.rptModernCard,.rptModernCustom,.rptModernRange,.rptModernMissing,.rptModernEmpty){color:#202223!important}

/* Keep the theme choices visible in the compact mobile header. The prior
   single-row layout squeezed them between the client selector and menu. */
@media(max-width:760px){
 html[data-d2c-theme] .mobileHeaderRight{
  display:grid!important;grid-template-columns:minmax(0,1fr) 37px;
  grid-template-rows:auto auto;align-items:center;gap:4px 6px;
  width:100%;min-width:0;justify-content:stretch
 }
 html[data-d2c-theme] #mobileClientBtn{
  grid-column:1;grid-row:1;width:100%;max-width:none!important;min-width:0
 }
 html[data-d2c-theme] #mobileMenuBtn{grid-column:2;grid-row:1}
 html[data-d2c-theme] .mobileHeaderRight .themeSwitch{
  grid-column:1/-1;grid-row:2;justify-self:end;display:inline-flex!important;
  position:relative;z-index:3;visibility:visible!important;opacity:1!important;
  max-width:100%;margin:0!important
 }
 html[data-d2c-theme] .mobileHeaderRight .themeSwitch [data-theme-choice]{
  display:inline-flex!important;visibility:visible!important;opacity:1!important;
  min-width:62px!important;min-height:30px!important;padding:5px 9px!important
 }
}
@media(max-width:360px){
 html[data-d2c-theme] .mobileHeaderRight .themeSwitch [data-theme-choice]{
  min-width:57px!important;padding-inline:7px!important
 }
}

/* Shopify-neutral light workspace: soft neutral canvas, white cards, charcoal
   selection, and warm orange accents. This only affects Light mode. */
html[data-d2c-theme="light"]{
 --light-canvas:#f6f6f7;--light-panel:#fff;--light-raised:#f8f7fa;
 --light-field:#fff;--light-hover:#f5f3f7;--light-border:#e5e2e9;
 --light-text:#24232a;--light-secondary:#625f69;--light-muted:#77737d;
 --light-blue:#2c6ecb;--light-green:#008060;--light-orange:#008060;
 --light-focus:#2c6ecb;--blue:#2c6ecb;--green:#008060;--gold:#008060;
}
html[data-d2c-theme="light"] body{
 background:#f6f6f7!important;background-image:none!important;color:#24232a!important
}
html[data-d2c-theme="light"] :is(.sidebar,.top){
 background:#fff!important;color:#24232a!important;border-color:#e5e2e9!important;
 box-shadow:0 1px 4px rgba(38,31,48,.045)!important;backdrop-filter:none!important
}
html[data-d2c-theme="light"] .sidebar{border-right:1px solid #e5e2e9!important}
html[data-d2c-theme="light"] .sidebar .brand{color:#24232a!important}
html[data-d2c-theme="light"] .sidebar .navlabel{color:#77737d!important}
html[data-d2c-theme="light"] .sidebar .navbtn{color:#625f69!important;border-radius:999px!important}
html[data-d2c-theme="light"] .sidebar .navbtn .ico{color:#77737d!important}
html[data-d2c-theme="light"] .sidebar .navbtn.active{
 background:#202027!important;border-color:#202027!important;color:#fff!important;
 box-shadow:none!important
}
html[data-d2c-theme="light"] .sidebar .navbtn.active .ico{color:#fff!important}
html[data-d2c-theme="light"] .sidebar .navbtn:hover:not(.active){background:#f2f0f4!important;color:#24232a!important}
html[data-d2c-theme="light"] :is(.glass,.panel,.chartpanel,.tablewrap,.card,.kpi,.brandfocus,.sharecard,.executiveBrief,.businessEvents,.cmdHero,.cmdStat,.cmdClient,.cmdSecondary,.cmdCaveat,.rptModern,.rptModernCard,.rptModernCustom,.uHero,.uTop,.uSection,.snsMainTrend,.snsReadableGraph,.snsSignal,.opnRoot .opnStats>div,.opnRoot .opnAlert,.opnRoot .opnEditor){
 background:#fff!important;color:#24232a!important;border:1px solid #e5e2e9!important;
 border-radius:16px!important;box-shadow:0 2px 7px rgba(38,31,48,.045)!important;
 backdrop-filter:none!important
}
html[data-d2c-theme="light"] :is(.workspace .card,.sharecard,.chartpanel,.panel,.tablewrap,.kpi){padding:18px}
html[data-d2c-theme="light"] :is(.header h1,.sect h2,.chartmeta h3,.chartpanel h2,.chartpanel h3,.card h2,.card h3,.panel h2,.panel h3){color:#24232a!important}
html[data-d2c-theme="light"] :is(.eyebrow,.cmdEyebrow,.cmdSectionEyebrow,.uEyebrow,.rptModernEyebrow){color:#bd5226!important}
html[data-d2c-theme="light"] :is(.soft,.muted,.note,.sect small,.kpi .hint,.small,.legend,.chartmeta,.card .metric .caption){color:#625f69!important}
html[data-d2c-theme="light"] :is(button,input,select,textarea){
 border-color:#d8d4dd!important;border-radius:10px;color:#24232a
}
html[data-d2c-theme="light"] :is(input,select,textarea){
 background:#fff!important;color:#24232a!important;box-shadow:none!important
}
html[data-d2c-theme="light"] :is(input,textarea)::placeholder{color:#77737d!important;opacity:1}
html[data-d2c-theme="light"] :is(button:not(.primary):not(.navbtn),.seg button:not(.active),.themeSwitch [data-theme-choice]){
 background:#fff!important;color:#34313a!important
}
html[data-d2c-theme="light"] :is(button:not(:disabled):not(.primary):not(.navbtn),.seg button:not(:disabled)):hover{
 background:#f5f3f7!important;border-color:#c9c3cf!important
}
html[data-d2c-theme="light"] :is(button.primary,.pipeRoot .pipePrimary){
 background:#202027!important;border-color:#202027!important;color:#fff!important;
 box-shadow:0 2px 5px rgba(20,18,24,.13)!important;border-radius:999px!important
}
html[data-d2c-theme="light"] :is(button.primary,.pipeRoot .pipePrimary):hover:not(:disabled){background:#3a3941!important}
html[data-d2c-theme="light"] .seg,.rptModernRange,.uTabs,.uFilterButtons,.uBrandNav{
 background:#e9e6ec!important;border-color:#e2dee6!important;border-radius:999px!important
}
html[data-d2c-theme="light"] .seg button.active,
html[data-d2c-theme="light"] .uTabs button.active,
html[data-d2c-theme="light"] .uFilterButtons button.active,
html[data-d2c-theme="light"] .uBrandNav button.on{
 background:#202027!important;color:#fff!important;border-color:#202027!important;box-shadow:none!important
}
html[data-d2c-theme="light"] .rptModernRange button.active{background:#202027!important;color:#fff!important}
html[data-d2c-theme="light"] .kpis .kpi:first-child{
 background:#008060!important;border-color:#008060!important;color:#fff!important
}
html[data-d2c-theme="light"] .kpis .kpi:first-child :is(.label,.value,.hint,.small,.caption){color:#fff!important}
html[data-d2c-theme="light"] .kpis .kpi:first-child .dot{background:#fff!important}
html[data-d2c-theme="light"] :is(.brandfocus,.sharecard){background:#fff!important;color:#24232a!important}
html[data-d2c-theme="light"] .sharecard:before{background:#008060!important}
html[data-d2c-theme="light"] .sharecard:nth-child(2):before{background:#2c6ecb!important}
html[data-d2c-theme="light"] .sharecard:nth-child(3):before{background:#008060!important}
html[data-d2c-theme="light"] .sharecard :is(.caption,.detail){color:#625f69!important}
html[data-d2c-theme="light"] .sharecard .number{color:#24232a!important}
html[data-d2c-theme="light"] .tablewrap{overflow:auto;border-radius:16px!important}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl th:first-child{
 background:#f5f3f7!important;color:#4d4952!important
}
html[data-d2c-theme="light"] .tbl td,html[data-d2c-theme="light"] .tbl td:first-child{
 background:#fff!important;color:#34313a!important
}
html[data-d2c-theme="light"] .tbl tr.group td,html[data-d2c-theme="light"] .tbl tr.group td:first-child{
 background:#eeeaf1!important;color:#34313a!important
}
html[data-d2c-theme="light"] .tbl tr:hover td{background:#faf9fb!important;filter:none}
html[data-d2c-theme="light"] .tbl th,html[data-d2c-theme="light"] .tbl td{border-bottom-color:#ebe8ee!important}
html[data-d2c-theme="light"] .svgchart text{fill:#77737d!important}
html[data-d2c-theme="light"] .svgchart .gridline{stroke:#e8e5eb!important}
html[data-d2c-theme="light"] .svgchart .blue{fill:#008060!important}
html[data-d2c-theme="light"] .svgchart .orange{fill:#2c6ecb!important}
html[data-d2c-theme="light"] .svgchart .line{stroke:#008060!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html[data-d2c-theme="light"] .svgchart .point{fill:#008060!important}
html[data-d2c-theme="light"] .chartpanel canvas{border-radius:12px}
html[data-d2c-theme="light"] .chartmeta .legend{color:#625f69!important}
html[data-d2c-theme="light"] .reportPointTooltip{background:#fff!important;color:#24232a!important;border-color:#d8d4dd!important;box-shadow:0 10px 30px rgba(38,31,48,.12)!important}
html[data-d2c-theme="light"] :is(.opnRoot .opnMeta,.opnRoot .opnStats span,.opnRoot .opnEmpty){color:#625f69!important}
html[data-d2c-theme="light"] .opnRoot .opnAlertMark{background:#fff0e9!important;color:#bd5226!important}
html[data-d2c-theme="light"] .uStep{border-color:#ebe8ee!important}
html[data-d2c-theme="light"] .uStep:hover{background:#f8f7fa!important}
html[data-d2c-theme="light"] :is(.uProductQuick,.uProductHubCard,.uKeywordProduct,.uProductEditor,.uEventForm){background:#fff!important;color:#24232a!important;border-color:#e5e2e9!important}
html[data-d2c-theme="light"] :is(.businessEvents,.executiveBrief){border-color:#e5e2e9!important}
html[data-d2c-theme="light"] .themeSwitch{background:#f2f0f4!important;border-color:#e2dee6!important}
html[data-d2c-theme="light"] .themeSwitch [data-theme-choice].active{background:#202027!important;color:#fff!important}
@media(max-width:760px){
 html[data-d2c-theme="light"] .sidebar{background:#fff!important;border-bottom-color:#e5e2e9!important}
 html[data-d2c-theme="light"] .top{background:#fff!important}
 html[data-d2c-theme="light"] .mobileSheet{background:#fff!important;color:#24232a!important;border-color:#e5e2e9!important}
 html[data-d2c-theme="light"] .mobileSheetItem{background:#f8f7fa!important;color:#24232a!important;border-color:#e5e2e9!important}
 html[data-d2c-theme="light"] .mobileSheetItem.selected{background:#eeeaf1!important;border-color:#2c6ecb!important}
 html[data-d2c-theme="light"] .mobileSheetItemHint,html[data-d2c-theme="light"] .mobileSheetUser{color:#625f69!important}
 html[data-d2c-theme="light"] .mobileHeaderRight .themeSwitch [data-theme-choice].active{background:#202027!important;color:#fff!important}
}


/* 2026-10-23: consistent light surfaces and readable data visualization.
   These rules normalize legacy dark-only modules when the global light theme is active. */
html[data-d2c-theme="light"]{
 --surface-1:#ffffff;--surface-2:#f7f8f6;--surface-3:#eef1ee;
 --ink-strong:#17201f;--ink-body:#35413d;--ink-muted:#58655f;
 --line-soft:#dfe5e0;--chart-grid:#e5e9e5;--chart-axis:#596660;
}
html[data-d2c-theme="light"] :is(.managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,.managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,.overviewCompareCard,.integrationServiceCard,.integrationGuide,.integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,.opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.cmdHero,.cmdPanel,.aevHero,.aevFilters,.aevCard,.aevPanel){
 color:var(--ink-body)!important;background-color:var(--surface-1)!important;
 border-color:var(--line-soft)!important;box-shadow:0 2px 9px rgba(24,38,30,.045)!important;
}
html[data-d2c-theme="light"] :is(.managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,.managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,.overviewCompareCard,.integrationServiceCard,.integrationGuide,.integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,.opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.cmdHero,.cmdPanel,.aevHero,.aevFilters,.aevCard,.aevPanel) :is(h1,h2,h3,h4,strong,b,th,label){
 color:var(--ink-strong)!important;
}
html[data-d2c-theme="light"] :is(.managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,.managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,.overviewCompareCard,.integrationServiceCard,.integrationGuide,.integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,.opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.cmdHero,.cmdPanel,.aevHero,.aevFilters,.aevCard,.aevPanel) :is(p,small,.soft,.muted,.note,.hint,.healthGoalTarget,.healthDisclaimer,.healthTrendLegend,.overviewCompareAgainst,.integrationServiceHead p,.integrationSteps p,.integrationGuide>p,.integrationsShortcut span,.managerFootnote,.managerPanelHead p,.managerTaskTitle span,.managerAlert small,.uFooter,.opnMeta,.opnAlertContent>p,.opnFeedback){
 color:var(--ink-muted)!important;
}
/* Performance manager: clearer hierarchy, statuses, and dense tables. */
html[data-d2c-theme="light"] .managerHero{background:linear-gradient(110deg,#fff,#f6f8f6)!important}
html[data-d2c-theme="light"] .managerHeroStats span,
html[data-d2c-theme="light"] .managerProgress{background:#f0f3f0!important;border-color:#d8dfd9!important;color:#35413d!important}
html[data-d2c-theme="light"] .managerEyebrow{color:#47685a!important}
html[data-d2c-theme="light"] .managerTable{color:#28332f!important}
html[data-d2c-theme="light"] .managerTable thead th{background:#edf1ed!important;color:#38443f!important;border-color:#dce2dc!important}
html[data-d2c-theme="light"] .managerTable tbody tr{background:#fff!important}
html[data-d2c-theme="light"] .managerTable tbody tr:nth-child(even){background:#f8faf8!important}
html[data-d2c-theme="light"] .managerTable tbody td,html[data-d2c-theme="light"] .managerTable tbody th{color:#28332f!important;border-color:#e3e8e3!important}
html[data-d2c-theme="light"] .managerTable tbody th small{color:#5d6963!important}
html[data-d2c-theme="light"] .managerTable input,html[data-d2c-theme="light"] .managerTable select{background:#fff!important;color:#202a26!important;border:1px solid #cbd4cd!important}
html[data-d2c-theme="light"] .managerTable input[type="checkbox"]{accent-color:#416f9f}
html[data-d2c-theme="light"] .managerTable thead input[type="checkbox"]+*,html[data-d2c-theme="light"] .managerTable th{color:#38443f!important}
html[data-d2c-theme="light"] .managerTask{background:#f8faf8!important}
html[data-d2c-theme="light"] .managerTaskTitle span{color:#58655f!important}
html[data-d2c-theme="light"] .managerAlert{background:#fff!important}
html[data-d2c-theme="light"] .managerAlert.critical{background:#fff6f5!important}
html[data-d2c-theme="light"] .managerAlert.warning{background:#fff9ed!important}
html[data-d2c-theme="light"] .managerAlert.info{background:#f3f8fc!important}
html[data-d2c-theme="light"] .managerAlert :is(span,small,p){color:#4d5b55!important}
/* KPI cards, comparison blocks, period summaries. */
html[data-d2c-theme="light"] .overviewCompareCard{background:#fff!important}
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead,
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard.current .cardhead{background:#eef3f7!important;color:#1b2924!important}
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead :is(strong,span){color:#1b2924!important}
html[data-d2c-theme="light"] .overviewCompareMetric{border-color:#e4e9e5!important}
html[data-d2c-theme="light"] .overviewCompareMetric :is(strong,b,.value){color:#17201f!important}
html[data-d2c-theme="light"] .overviewCompareMetric :is(span,small,label){color:#596660!important}
html[data-d2c-theme="light"] .overviewCompareAgainst{color:#596660!important}
html[data-d2c-theme="light"] .overviewFallback{background:#fff3e9!important;color:#854a2d!important;border-color:#edcfb8!important}
html[data-d2c-theme="light"] :is(.kpi,.metric,.statCard) :is(.label,.hint,small){color:#56625d!important}
html[data-d2c-theme="light"] :is(.kpi,.metric,.statCard) :is(.value,strong,b){color:#17201f!important}
html[data-d2c-theme="light"] .healthGoalCard{background:#fff!important}
html[data-d2c-theme="light"] .healthGoalTop{color:#35413d!important}
html[data-d2c-theme="light"] .healthGoalTop span{background:#f3f6f3!important;color:#4d5b55!important;border-color:#dce3dd!important}
html[data-d2c-theme="light"] .healthGoalCard.ok .healthGoalTop span{background:#e8f5ed!important;color:#246443!important}
html[data-d2c-theme="light"] .healthGoalCard.warning .healthGoalTop span{background:#fff2e3!important;color:#8a5420!important}
html[data-d2c-theme="light"] .healthGoalValue{color:#17201f!important}
html[data-d2c-theme="light"] :is(.healthGoalTarget,.healthGoalGap){color:#58655f!important}
html[data-d2c-theme="light"] .healthAlerts{background:#fff!important}
html[data-d2c-theme="light"] .healthTrendCard{background:#fff!important}
html[data-d2c-theme="light"] .healthTrendTitle :is(strong,span){color:#25312c!important}
html[data-d2c-theme="light"] .healthDisclaimer{color:#596660!important}
/* Graph surfaces: labels, grids, and legends must stay legible at every size. */
html[data-d2c-theme="light"] :is(.chart,.chartBox,.chartCard,.graphCard,.rptModernCard,.healthTrendCard,.overviewChart,.performanceChart){background:#fff!important;color:#25312c!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] :is(.chart,.chartBox,.chartCard,.graphCard,.rptModernCard,.healthTrendCard,.overviewChart,.performanceChart) :is(h3,h4,strong,.chartTitle,.legend,.legendItem,.axisLabel){color:#35413d!important}
html[data-d2c-theme="light"] :is(.chart,.chartBox,.chartCard,.graphCard,.rptModernCard,.healthTrendCard,.overviewChart,.performanceChart) :is(canvas,svg){color:#35413d}
html[data-d2c-theme="light"] .healthTrendCard svg text,
html[data-d2c-theme="light"] svg text{fill:#596660!important}
html[data-d2c-theme="light"] .healthTrendCard svg line,
html[data-d2c-theme="light"] .healthTrendCard svg .grid{stroke:#dce3dd!important}
html[data-d2c-theme="light"] :is(.rptModern,.rptModernCard){--rptInk:#202a26!important;--rptSoft:#58655f!important;color:#202a26!important}
html[data-d2c-theme="light"] .rptModern :is(.rptModernEyebrow,.rptModernCard p,.rptModernLegend,.rptModernAxis){color:#56635d!important}
html[data-d2c-theme="light"] .rptModernRange{background:#edf1ed!important}
html[data-d2c-theme="light"] .rptModernRange button{color:#46534d!important}
html[data-d2c-theme="light"] .rptModernRange button.active{background:#fff!important;color:#222d28!important}
/* Integrations and data management: remove inherited midnight gradients and improve form contrast. */
html[data-d2c-theme="light"] :is(.integrationServiceCard,.integrationDataDisclosure,.integrationGuide,.integrationSteps>div,.integrationsShortcut,.sellerCentralUnavailable){background:#fff!important;color:#26322d!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .integrationServiceHead p,
html[data-d2c-theme="light"] .integrationSteps p,
html[data-d2c-theme="light"] .integrationGuide>p,
html[data-d2c-theme="light"] .sellerCentralUnavailable p{color:#58655f!important}
html[data-d2c-theme="light"] .integrationServiceTag{background:#eef4f7!important;color:#355b78!important;border-color:#d3e1ea!important}
html[data-d2c-theme="light"] .integrationServiceTag.integrationPending{background:#fff4e8!important;color:#80552a!important;border-color:#ead2b3!important}
html[data-d2c-theme="light"] .integrationServiceLogo{background:#eef2ef!important;color:#26352e!important;border-color:#dbe2dc!important}
html[data-d2c-theme="light"] .integrationSteps>div>span{background:#e7eff7!important;color:#315b7e!important}
html[data-d2c-theme="light"] .integrationDataDisclosure :is(p,span,small,li){color:#4e5c55!important}
html[data-d2c-theme="light"] .integrationDataDisclosure :is(h3,strong,b){color:#202a26!important}
html[data-d2c-theme="light"] :is(.integrationDataDisclosure,.integrationServiceCard,.integrationGuide,.integrationsShortcut) :is(input,select,textarea){background:#fff!important;color:#202a26!important;border:1px solid #cbd4cd!important}
html[data-d2c-theme="light"] .integrationsShortcut span{color:#56635d!important}
/* Notifications and alerts: warm semantic surfaces, never low-contrast text. */
html[data-d2c-theme="light"] .opnRoot{color:#26322d!important}
html[data-d2c-theme="light"] .opnRoot .uHero{background:#fff!important;color:#202a26!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .opnRoot .uHero :is(h2,p,.uEyebrow){color:#35413d!important}
html[data-d2c-theme="light"] .opnSourceWarning{background:#fff5e9!important;border-color:#ecd2b4!important;color:#56391f!important}
html[data-d2c-theme="light"] .opnSourceWarning :is(strong,span,em){color:#694821!important}
html[data-d2c-theme="light"] .opnStats>div{background:#fff!important;border:1px solid #dfe5e0!important}
html[data-d2c-theme="light"] .opnStats strong{color:#17201f!important}
html[data-d2c-theme="light"] .opnStats span{color:#58655f!important}
html[data-d2c-theme="light"] .opnAlert{background:#fff!important;color:#26322d!important}
html[data-d2c-theme="light"] .opnAlert.critical{background:#fff7f6!important;border-color:#edc9c4!important}
html[data-d2c-theme="light"] .opnAlert.warning{background:#fffaf0!important;border-color:#efdfbd!important}
html[data-d2c-theme="light"] .opnAlert.info{background:#f4f9fc!important;border-color:#d9e7ed!important}
html[data-d2c-theme="light"] .opnAlert.resolved{background:#f5faf6!important}
html[data-d2c-theme="light"] .opnAlertContent h3{color:#202a26!important}
html[data-d2c-theme="light"] :is(.opnAlertContent p,.opnMeta,.opnNotes){color:#4f5c56!important}
html[data-d2c-theme="light"] .opnMeta span{color:#596660!important}
html[data-d2c-theme="light"] :is(.opnEditor label,.opnEditorTop h3){color:#35413d!important}
html[data-d2c-theme="light"] .opnRoot :is(input,select,textarea){background:#fff!important;color:#202a26!important;border:1px solid #c8d2ca!important}
html[data-d2c-theme="light"] .opnFilters{background:#eef1ed!important}
html[data-d2c-theme="light"] .opnFilters button{color:#3f4d46!important}
html[data-d2c-theme="light"] .opnFilters button.active{background:#22252b!important;color:#fff!important}
html[data-d2c-theme="light"] .opnRoot .uFooter{color:#58655f!important}
/* Data-first controls and tables on all pages, including horizontally scrollable mobile tables. */
html[data-d2c-theme="light"] :is(table,.table,.dataTable){color:#28332f!important}
html[data-d2c-theme="light"] :is(table,.table,.dataTable) thead th{background:#edf1ed!important;color:#35413d!important;border-color:#dce3dd!important}
html[data-d2c-theme="light"] :is(table,.table,.dataTable) tbody tr{background:#fff!important}
html[data-d2c-theme="light"] :is(table,.table,.dataTable) tbody tr:nth-child(even){background:#f8faf8!important}
html[data-d2c-theme="light"] :is(table,.table,.dataTable) :is(td,th){color:#34413b!important;border-color:#e1e7e1!important}
html[data-d2c-theme="light"] :is(input,select,textarea){color:#202a26}
html[data-d2c-theme="light"] :is(input,select,textarea):not([type=checkbox]):not([type=radio]){background:#fff!important;border-color:#c8d2ca!important}
html[data-d2c-theme="light"] :is(input,select,textarea)::placeholder{color:#717d76!important;opacity:1}
html[data-d2c-theme="light"] :is(input[type=checkbox],input[type=radio]){accent-color:#416f9f}
html[data-d2c-theme="light"] :is(button,.btn){text-shadow:none}
@media(max-width:700px){
 html[data-d2c-theme="light"] :is(.managerTable,.dataTable,table){border-color:#dfe5e0!important}
 html[data-d2c-theme="light"] .opnRoot .uHero{align-items:flex-start}
 html[data-d2c-theme="light"] .opnFilters{max-width:100%;overflow:auto}
}


/* Screenshot follow-up: remaining legacy dark modules missed by the first light pass. */
html[data-d2c-theme="light"]{
 --light-text-strong:#202725;--light-text-body:#34413b;--light-text-secondary:#58655f;
 --light-line:#dce3dd;--light-surface:#fff;--light-surface-soft:#f6f8f6;
}
html[data-d2c-theme="light"] .cmdRoot{color:#26322d!important}
/* Only actual panels receive an opaque surface. Title bars, sections,
   summary grids, and form grids are layout containers and must stay transparent.
   Otherwise a square white rectangle appears behind rounded child cards. */
html[data-d2c-theme="light"] :is(.cmdHero,.cmdPanel,.cmdClient,.cmdStat,.cmdEmpty,.cmdEmptyMini,.cmdNewFollowup){
 background:#fff!important;color:#28342e!important;border-color:#dfe5e0!important;box-shadow:0 3px 12px rgba(24,38,30,.05)!important
}
html[data-d2c-theme="light"] .cmdRoot :is(.cmdTitleBar,.cmdSection:not(.cmdSecondary),.cmdSummary,.cmdFormGrid){
 background:transparent!important;box-shadow:none!important;
}
html[data-d2c-theme="light"] .cmdHero{background:linear-gradient(130deg,#fff,#f4f7f5)!important}
html[data-d2c-theme="light"] .cmdRoot :is(h1,h2,h3,h4,strong,b,.cmdClientName){color:#202725!important}
html[data-d2c-theme="light"] .cmdRoot :is(p,small,.cmdEyebrow,.cmdHeroRight,.cmdFooter,.cmdFormFooter span,.cmdClientMeta){color:#58655f!important}
html[data-d2c-theme="light"] :is(.cmdFollowup,.cmdAlert){background:#fff!important;color:#28342e!important;border:1px solid #dce3dd!important;box-shadow:0 2px 7px rgba(25,40,31,.05)!important}
html[data-d2c-theme="light"] :is(.cmdFollowup,.cmdAlert) :is(strong,h3){color:#202725!important}
html[data-d2c-theme="light"] :is(.cmdFollowup,.cmdAlert) p{color:#58655f!important}
html[data-d2c-theme="light"] .cmdFollowupCheck{background:#edf3f6!important;color:#39617d!important}
html[data-d2c-theme="light"] .cmdFollowupEnd span{color:#58655f!important}
html[data-d2c-theme="light"] .cmdFollowupEnd span.overdue{color:#9a542d!important;font-weight:750}
html[data-d2c-theme="light"] .cmdFollowupEnd button,html[data-d2c-theme="light"] .cmdAlert button{background:#f2f5f2!important;color:#34413b!important;border-color:#d5ded7!important}
html[data-d2c-theme="light"] .cmdError{background:#fff3f1!important;color:#853d35!important;border-color:#ebc5bf!important}
html[data-d2c-theme="light"] .cmdFormGrid label{color:#46534d!important}
html[data-d2c-theme="light"] .cmdFormGrid :is(input,select,textarea){background:#fff!important;color:#202725!important;border-color:#cbd5ce!important}
/* Daily checklist / account review: restore readable labels and visible controls. */
html[data-d2c-theme="light"] :is(.checkinSequence,.checkinPanel,.checkinWeekPanel,.checkinBrandPanel,.checkinBrandNav,.checkinHero,.checkinOverview,.checkinProgress,.checkinCompareGrid>div){
 background:#fff!important;color:#2a3530!important;border-color:#dfe5e0!important;box-shadow:0 3px 12px rgba(24,38,30,.045)!important
}
html[data-d2c-theme="light"] .checkinPanel :is(h2,h3,h4,strong){color:#202725!important}
html[data-d2c-theme="light"] .checkinPanel :is(p,small,.checkinPanelTitle p,.checkinBrandPanel>p){color:#58655f!important}
html[data-d2c-theme="light"] .checkinSequence :is(strong,a,p){color:#40534a!important}
html[data-d2c-theme="light"] .checkinTask{background:#f8faf8!important;border-color:#dce3dd!important;color:#303c36!important}
html[data-d2c-theme="light"] .checkinTask:hover{background:#f0f5f1!important}
html[data-d2c-theme="light"] .checkinTaskText strong{color:#28352f!important}
html[data-d2c-theme="light"] .checkinTaskText small{color:#58655f!important}
html[data-d2c-theme="light"] .checkinTask.done{background:#edf7f0!important;border-color:#b9d8c2!important}
html[data-d2c-theme="light"] .checkinTask.done .checkinTaskText strong{color:#43634d!important}
html[data-d2c-theme="light"] .checkinTask input{accent-color:#28764f}
html[data-d2c-theme="light"] .checkinNumber{background:#e7eff5!important;color:#345b77!important}
html[data-d2c-theme="light"] .checkinProgress strong{color:#246946!important}
html[data-d2c-theme="light"] :is(.checkinProgress span,.checkinFooter){color:#58655f!important}
html[data-d2c-theme="light"] .checkinBar{background:#e3e9e4!important}
html[data-d2c-theme="light"] .checkinDayNav button{background:#f7f9f7!important;color:#34413b!important;border-color:#d7dfd8!important}
html[data-d2c-theme="light"] .checkinDayNav button span{color:#58655f!important}
html[data-d2c-theme="light"] .checkinDayNav button.active{background:#e8f0f5!important;border-color:#7093ad!important}
html[data-d2c-theme="light"] .checkinWeekBullet{background:#f7f9f7!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .checkinWeekBullet p,html[data-d2c-theme="light"] .checkinCompareGrid p{color:#58655f!important}
html[data-d2c-theme="light"] .checkinCompareGrid strong{color:#34413b!important}
/* Overview: financial metrics remain quiet; demand/brand block becomes a soft sage inset. */
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard{background:#fff!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead,
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard.current .cardhead{background:#eef3f6!important}
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead :is(strong,span){color:#26342e!important}
html[data-d2c-theme="light"] .overviewCompareMetricTop>span{color:#526159!important}
html[data-d2c-theme="light"] .overviewCompareValues>strong{color:#17201f!important}
html[data-d2c-theme="light"] .overviewCompareValues>small{color:#58655f!important}
html[data-d2c-theme="light"] .overviewCompareMetric .overviewDelta{color:#34413b!important}
html[data-d2c-theme="light"] .overviewCompareMetric .overviewDelta.pos{color:#21734e!important}
html[data-d2c-theme="light"] .overviewCompareMetric .overviewDelta.neg{color:#a44336!important}
html[data-d2c-theme="light"] .overviewDemandGroup,html[data-d2c-theme="light"] .overviewShopGroup{background:#f0f5f1!important;border:1px solid #d6e2d8!important}
html[data-d2c-theme="light"] .overviewCompareCard .overviewDemandHeading,html[data-d2c-theme="light"] .overviewCompareCard .overviewShopHeading{color:#385f49!important}
html[data-d2c-theme="light"] .overviewDemandDot,html[data-d2c-theme="light"] .overviewShopDot{background:#39845b!important}
html[data-d2c-theme="light"] .overviewCompareCard .overviewDemandGroup .overviewCompareMetric,html[data-d2c-theme="light"] .overviewCompareCard .overviewShopGroup .overviewCompareMetric{background:#fff!important;border:1px solid #e1e7e1!important;border-radius:9px;padding:11px 12px!important;margin:0 0 7px!important;box-shadow:0 1px 3px rgba(20,40,28,.04)}
html[data-d2c-theme="light"] .overviewCompareCard .overviewDemandGroup .overviewCompareMetric:last-child,html[data-d2c-theme="light"] .overviewCompareCard .overviewShopGroup .overviewCompareMetric:last-child{margin-bottom:0!important}
html[data-d2c-theme="light"] .overviewCompareCard .detailToggle{background:#f0f3f1!important;color:#34413b!important;border-color:#d7dfd8!important}
html[data-d2c-theme="light"] .overviewCompareCard .extraDetails[open] .detailToggle{color:#27352e!important;border-color:#bfcfc2!important}
html[data-d2c-theme="light"] .overviewSecondaryGroup{background:#f7f9f7!important;border-color:#e0e6e1!important}
html[data-d2c-theme="light"] .overviewSecondaryHeading{color:#46564d!important}
/* Detailed report in light mode, including its sticky in-page jump controls. */
html[data-d2c-theme="light"] .detailedJumpNav{background:#fff!important;border-color:#dfe5e0!important;box-shadow:0 2px 8px rgba(24,38,30,.05)}
html[data-d2c-theme="light"] .detailedJumpNav>span{color:#58655f!important}
html[data-d2c-theme="light"] .detailedJumpNav button{background:#f5f7f5!important;color:#34413b!important;border-color:#dce3dd!important}
html[data-d2c-theme="light"] .detailedJumpNav button:hover{background:#eaf0eb!important}
/* Integration banners and native consent/source details. */
html[data-d2c-theme="light"] :is(.integrationPageStatus,.integrationClient,.integrationStatus,.amazonIntegration,.amazonSetupHint,.amazonConnectionDetails,.spPilot,.spRequest,.spSources,.spJobs,.spSource,.spSetup,.spConnected,.spEmpty){
 background:#fff!important;color:#28342e!important;border-color:#dfe5e0!important;box-shadow:0 2px 8px rgba(24,38,30,.04)!important
}
html[data-d2c-theme="light"] .integrationPageStatus{background:#f1f5f2!important;color:#3e5549!important}
html[data-d2c-theme="light"] .integrationPageTop p,html[data-d2c-theme="light"] .integrationPageTop .integrationEyebrow{color:#58655f!important}
html[data-d2c-theme="light"] .integrationClient :is(strong,span,small){color:#34413b!important}
html[data-d2c-theme="light"] .integrationStatus :is(strong,p,small){color:#34413b!important}
html[data-d2c-theme="light"] .integrationStatusTags span{background:#fff4e7!important;color:#865b2c!important;border-color:#ead4b4!important}
html[data-d2c-theme="light"] .amazonIntegration :is(h3,strong){color:#202725!important}
html[data-d2c-theme="light"] .amazonIntegration :is(p,small,label,.amazonUnconnected,.amazonAdsMessage){color:#58655f!important}
html[data-d2c-theme="light"] .amazonConnectionBadge{background:#fff4e7!important;color:#80532b!important;border-color:#e7cfac!important}
html[data-d2c-theme="light"] .amazonConnectionBadge.connected,html[data-d2c-theme="light"] .spPill.ready{background:#eaf6ed!important;color:#286247!important;border-color:#c5dfce!important}
html[data-d2c-theme="light"] .integrationDataDisclosure{background:#fff!important;color:#34413b!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .integrationDisclosureTitle,html[data-d2c-theme="light"] .integrationDisclosureTitle strong{color:#26342e!important}
html[data-d2c-theme="light"] .integrationDisclosureLock{background:#edf2f5!important;color:#3d6178!important}
html[data-d2c-theme="light"] .integrationDataField{border-color:#e3e8e3!important}
html[data-d2c-theme="light"] .integrationDataField strong{color:#35443c!important}
html[data-d2c-theme="light"] .integrationDataField p,html[data-d2c-theme="light"] .integrationPermissionNote{color:#58655f!important}
html[data-d2c-theme="light"] .integrationAccessBoundary{background:#edf7f0!important;border-color:#cee4d4!important}
html[data-d2c-theme="light"] .integrationAccessBoundary strong{color:#2c6345!important}
html[data-d2c-theme="light"] .integrationAccessBoundary p{color:#465a4d!important}
html[data-d2c-theme="light"] .integrationGuide>p{color:#58655f!important}
html[data-d2c-theme="light"] .spPilot :is(h3,h4,strong){color:#26342e!important}
html[data-d2c-theme="light"] .spPilot :is(p,small,label,span){color:#58655f!important}
html[data-d2c-theme="light"] :is(.spStatusLine span,.spPill){background:#f1f5f2!important;color:#43594c!important;border-color:#dce5de!important}
html[data-d2c-theme="light"] .spSetup{background:#fff7eb!important;border-color:#ead6b4!important}
html[data-d2c-theme="light"] .spSetup :is(strong,p,small,code){color:#674a27!important}
html[data-d2c-theme="light"] .spConnected{background:#edf7f0!important;border-color:#c7e2d0!important}
html[data-d2c-theme="light"] .spConnected :is(strong,span){color:#286247!important}
html[data-d2c-theme="light"] :is(.amazonIntegration,.spPilot) :is(input,select,textarea){background:#fff!important;color:#202725!important;border-color:#cbd5ce!important}
/* Native Amazon import workspace: light cards, readable source coverage, coherent file controls. */
html[data-d2c-theme="light"] .nativeHub{background:#fff!important;color:#28342e!important;border-color:#dfe5e0!important;box-shadow:0 3px 12px rgba(24,38,30,.05)!important}
html[data-d2c-theme="light"] .nativeHubTitle span:first-child{color:#47735c!important}
html[data-d2c-theme="light"] .nativeHubTitle h2,html[data-d2c-theme="light"] .nativeHubImport h3{color:#202725!important}
html[data-d2c-theme="light"] .nativeHubTitle p,html[data-d2c-theme="light"] .nativeHubImport p,html[data-d2c-theme="light"] .nativeHubImport>small{color:#58655f!important}
html[data-d2c-theme="light"] .nativeHubBadge{background:#fff4e7!important;color:#80552c!important;border-color:#ead4b4!important}
html[data-d2c-theme="light"] .nativeHubRow{background:#f8faf8!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .nativeHubRow strong{color:#28352f!important}
html[data-d2c-theme="light"] .nativeHubRow p{color:#58655f!important}
html[data-d2c-theme="light"] .nativeHubRow>span{color:#39724f!important}
html[data-d2c-theme="light"] .nativeHubImport{background:#f5f7f5!important;border-color:#dfe5e0!important;color:#34413b!important}
html[data-d2c-theme="light"] .nativeHubImport>label{color:#46534d!important}
html[data-d2c-theme="light"] .nativeHubDemo{color:#80552c!important}
html[data-d2c-theme="light"] #nativeMessage{color:#40594b!important}
html[data-d2c-theme="light"] .nativeHubPreview{background:#eaf6ed!important;color:#286247!important;border-color:#c6dfcf!important}
html[data-d2c-theme="light"] .nativeHub input[type=file]{background:#fff!important;color:#34413b!important;border:1px solid #cbd5ce!important;border-radius:8px;padding:8px}
html[data-d2c-theme="light"] .nativeHub input[type=file]::file-selector-button{background:#edf2ee;color:#33463a;border:1px solid #cbd7ce;border-radius:6px;padding:7px 10px;margin-right:10px}
html[data-d2c-theme="light"] .amazonDatasetPanel{background:#fff!important;color:#28342e!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .amazonDatasetPanel :is(h3,h4,strong,th,label,summary){color:#26342e!important}
html[data-d2c-theme="light"] .amazonDatasetPanel :is(p,small){color:#58655f!important}
html[data-d2c-theme="light"] .amazonDatasetPanel th{background:#edf1ed!important}
html[data-d2c-theme="light"] .amazonDatasetPanel :is(table,td,th){border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .amazonDatasetScroll{background:#fff!important;border-color:#dfe5e0!important;scrollbar-color:#aab8ad #eff2ef}
html[data-d2c-theme="light"] .amazonDatasetPreview{border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .amazonNativeCharts article{background:#f7faf7!important;color:#39724f!important;border-color:#dfe5e0!important}
html[data-d2c-theme="light"] .amazonNativeCharts h4{color:#34413b!important}
html[data-d2c-theme="light"] .amazonDatasetPanel :is(input,select,textarea){background:#fff!important;color:#202725!important;border-color:#cbd5ce!important}
html[data-d2c-theme="light"] .amazonDatasetPanel .row{background:transparent!important;color:#34413b!important}


/* Launch QA: explicit light surfaces for the detailed report's period tiles. */
html[data-d2c-theme="light"] #page .ptRoot{
 background:#f6f6f7!important;color:#24232a!important;border:1px solid #e5e2e9!important;
 box-shadow:0 2px 7px rgba(38,31,48,.045)!important
}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptHeader h2,.ptCardHead strong,.ptHeroValues>strong,.ptMetric>strong,.ptDetailPanel h3,.ptDetailRow>strong){color:#24232a!important}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptEyebrow,.ptHeader p,.ptControls>label,.ptMetricName,.ptHeroValues>span,.ptMetric>small,.ptFootnote,.ptCoverage,.ptConfigPanel>p,.ptCustomDates label,.ptDetailPanel p,.ptDetailPanel small,.ptDetailRow>span:not(:first-child)){color:#625f69!important;opacity:1!important}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptCard,.ptConfigPanel,.ptDetailPanel){background:#fff!important;color:#24232a!important;border:1px solid #e5e2e9!important;box-shadow:0 2px 8px rgba(38,31,48,.07)!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCardHead,
html[data-d2c-theme="light"] #page .ptRoot .ptColor1 .ptCardHead,
html[data-d2c-theme="light"] #page .ptRoot .ptColor2 .ptCardHead,
html[data-d2c-theme="light"] #page .ptRoot .ptColor3 .ptCardHead{background:#f5f3f7!important;border-bottom:1px solid #e5e2e9!important;color:#24232a!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCard:nth-child(1){border-top:3px solid #2c6ecb!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCard:nth-child(2){border-top:3px solid #337d9d!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCard:nth-child(3){border-top:3px solid #008060!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCard:nth-child(4){border-top:3px solid #bd5226!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCardHead :is(strong,span,small){color:#34313a!important}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptCardBody,.ptConfigPanel,.ptDetailMetrics){background:#fff!important;color:#24232a!important}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptHeroMetric,.ptDetailRow,.ptDetailPanel>header){border-color:#e5e2e9!important}
html[data-d2c-theme="light"] #page .ptRoot .ptDetailPanel>header,
html[data-d2c-theme="light"] #page .ptRoot .ptDetailColumns,
html[data-d2c-theme="light"] #page .ptRoot .ptDetailPanel footer{background:#f5f3f7!important;color:#34313a!important}
html[data-d2c-theme="light"] #page .ptRoot .ptDetailColumns{border-bottom:1px solid #e5e2e9!important}
html[data-d2c-theme="light"] #page .ptRoot .ptDelta.good{background:#e8f4ec!important;color:#21633f!important}
html[data-d2c-theme="light"] #page .ptRoot .ptDelta.bad{background:#fbeceb!important;color:#9b3731!important}
html[data-d2c-theme="light"] #page .ptRoot .ptDelta.neutral{background:#eef0f4!important;color:#4b5563!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCoverage.complete{color:#21633f!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCoverage strong{color:#4b4650!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCoverage span{color:#625f69!important}
html[data-d2c-theme="light"] #page .ptRoot .ptFreshnessAction{background:#eaf0f7!important;color:#294763!important;border-color:#bdcddd!important}
html[data-d2c-theme="light"] #page .ptRoot .ptFreshnessAction:hover{background:#dce7f1!important;color:#1e394f!important}
html[data-d2c-theme="light"] #page .ptRoot .ptMore{background:#f5f3f7!important;color:#34313a!important;border-top:1px solid #e5e2e9!important}
html[data-d2c-theme="light"] #page .ptRoot .ptMore:hover{background:#eae7ef!important;color:#24232a!important}
html[data-d2c-theme="light"] #page .ptRoot :is(.ptControls select,.ptCustomDates input,.ptConfigPanel button,.ptDetailPanel [data-pt-close]){background:#fff!important;color:#24232a!important;border:1px solid #c9c3cf!important;color-scheme:light}
html[data-d2c-theme="light"] #page .ptRoot .ptConfigure>summary{background:#f5f3f7!important;color:#34313a!important;border-color:#d8d4dd!important}
html[data-d2c-theme="light"] #page .ptRoot .ptNotice{background:#fff4e8!important;color:#704719!important;border-color:#e8c89f!important}
html[data-d2c-theme="light"] #page .ptRoot .ptCustomDates{background:#fff!important;color:#34313a!important;border-color:#e5e2e9!important}

/* Performance Manager: its inline dark defaults need complete, scoped light tokens. */
html[data-d2c-theme="light"] #page :is(.managerHero,.managerPanel,.managerTask,.managerAlert,.managerHistorySection,.managerScore){background:#fff!important;color:#24232a!important;border-color:#e5e2e9!important;box-shadow:0 2px 7px rgba(38,31,48,.045)!important}
html[data-d2c-theme="light"] #page :is(.managerHero h2,.managerPanel h3,.managerPanel h4,.managerTaskTitle strong,.managerCheck,.managerTable tbody th,.managerAlert strong,.managerScoreMain strong,.managerHistoryTile strong,.managerEmpty strong){color:#24232a!important}
html[data-d2c-theme="light"] #page :is(.managerHero p,.managerPanelHead p,.managerFootnote,.managerTaskTitle span,.managerCheck small,.managerPeriodSelect small,.managerScoreMain span,.managerHistoryHead span,.managerHistoryTile span,.managerHistoryTile small,.managerAlert p,.managerAlert small,.managerTable tbody th small,.managerEmpty p){color:#625f69!important;opacity:1!important}
html[data-d2c-theme="light"] #page .managerEyebrow{color:#315f83!important}
html[data-d2c-theme="light"] #page :is(.managerHeroStats span,.managerProgress){background:#f5f3f7!important;color:#34313a!important;border-color:#d8d4dd!important}
html[data-d2c-theme="light"] #page .managerTabs button.active{background:#202027!important;color:#fff!important;border-color:#202027!important}
html[data-d2c-theme="light"] #page .managerTask{background:#f8f7fa!important;border-color:#e5e2e9!important}
html[data-d2c-theme="light"] #page .managerCheck{border-top-color:#e5e2e9!important}
html[data-d2c-theme="light"] #page .managerCheck:has(input:checked) span{color:#21633f!important}
html[data-d2c-theme="light"] #page .managerTableWrap{background:#fff!important;border-color:#d8d4dd!important}
html[data-d2c-theme="light"] #page .managerTable :is(th,td){color:#34313a!important;border-bottom-color:#e5e2e9!important}
html[data-d2c-theme="light"] #page .managerTable thead th{background:#f5f3f7!important;color:#34313a!important}
html[data-d2c-theme="light"] #page .managerTable a{color:#315f83!important}
html[data-d2c-theme="light"] #page .managerAlert.critical{background:#fff0ef!important;border-left-color:#ad3e42!important}
html[data-d2c-theme="light"] #page .managerAlert.warning{background:#fff6e8!important;border-left-color:#9a5c16!important}
html[data-d2c-theme="light"] #page .managerAlert.info{background:#eef4fa!important;border-left-color:#315f83!important}
html[data-d2c-theme="light"] #page .managerAlert.reviewed{opacity:1!important;background:#f5f3f7!important}
html[data-d2c-theme="light"] #page .managerScore.overdue{background:#fff0ef!important;border-color:#d59b98!important}
html[data-d2c-theme="light"] #page .managerScore.complete{background:#edf7f0!important;border-color:#b9d8c2!important}
html[data-d2c-theme="light"] #page .managerDeadlineWarning{background:#fff0ef!important;color:#7c292e!important;border-color:#d99b98!important}
html[data-d2c-theme="light"] #page .managerDeadlinePending{background:#fff6e8!important;color:#714b18!important;border-color:#e0c392!important}
html[data-d2c-theme="light"] #page .managerProgressTrack{background:#e8e5eb!important}
html[data-d2c-theme="light"] #page .managerHistoryTile{background:#fff!important;color:#24232a!important;border-color:#d8d4dd!important}
html[data-d2c-theme="light"] #page .managerHistoryTile.overdue{background:#fff0ef!important;border-color:#d59b98!important}
html[data-d2c-theme="light"] #page .managerHistoryTile.complete{background:#edf7f0!important;border-color:#b9d8c2!important}
html[data-d2c-theme="light"] #page .managerHistoryTile.pending{background:#fff6e8!important;border-color:#e0c392!important}
html[data-d2c-theme="light"] #page :is(.managerPanel button:disabled,.managerTask button:disabled){background:#f1f0f3!important;color:#625f69!important;border-color:#d8d4dd!important;opacity:1!important}
html[data-d2c-theme="light"] #page :is(.managerAdd,.managerPeriodSelect){border-color:#e5e2e9!important;color:#34313a!important}
html[data-d2c-theme="light"] #page :is(.managerAdd input,.managerAdd select,.managerTable input){background:#fff!important;color:#24232a!important;border-color:#c9c3cf!important;color-scheme:light}
html[data-d2c-theme="light"] #page .managerPanel :is(input[type="checkbox"],input[type="radio"]){accent-color:#008060!important}
@media(max-width:760px){html[data-d2c-theme="light"] #page :is(.managerPanel,.managerHero,.managerTask,.ptRoot){box-shadow:0 1px 4px rgba(38,31,48,.055)!important}html[data-d2c-theme="light"] #page .ptGrid{grid-template-columns:1fr}html[data-d2c-theme="light"] #page .ptControls{justify-content:stretch}}

/* Sidebar rail: accessible light palette with the same active-state treatment */
html[data-d2c-theme="light"] #app>.sidebar{background:linear-gradient(160deg,#fff,#f6f7f8 76%);border-color:#dfe3e8;box-shadow:0 14px 38px #26304412}
html[data-d2c-theme="light"] #app>.sidebar .navlabel{color:#697381}
html[data-d2c-theme="light"] .sidebarCollapse{background:#fff;border-color:#d9dee5;color:#252a32;box-shadow:0 2px 8px #1d27320d}
html[data-d2c-theme="light"] .sidebarCollapse:hover{border-color:#547e9a;box-shadow:0 0 0 4px #547e9a1a,0 0 16px #547e9a30}
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn{color:#4c5562}
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn:hover{background:#f0f2f5;color:#1e2630}
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active{background:linear-gradient(100deg,#e8eff3,#f4f7f8 80%,#fff);border-color:#d6e2e9;color:#23313a;box-shadow:inset 3px 0 #547e9a,0 3px 12px #4824650d}
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active .ico{color:#426b87}
html[data-d2c-theme="light"] #app>.sidebar .sidebarfoot{color:#606b78;border-color:#dfe4ea}
@media(max-width:760px){html[data-d2c-theme="light"] #app>.sidebar{background:#fff;border-radius:0;box-shadow:none}}

/* Detailed Report: readable hover values and high-contrast editorial sparklines. */
html[data-d2c-theme="light"] .rptModernSpark{color:#176b4b!important}
html[data-d2c-theme="light"] .rptModernSpark.tacos{color:#b94f2e!important}
html[data-d2c-theme="light"] .rptModernSpark.profit{color:#315e90!important}
html[data-d2c-theme="light"] .rptModernSpark svg>path:first-child{opacity:.38!important}
html[data-d2c-theme="light"] #page .rptModernCardTop>span,
html[data-d2c-theme="light"] #page .rptModernCard small{color:#4b5651!important}
html[data-d2c-theme="light"] #page .rptModernCard p,
html[data-d2c-theme="light"] #page .rptModern>footer{color:#59645f!important}
html[data-d2c-theme="light"] .rptModernHitPoint{cursor:crosshair}
html[data-d2c-theme="light"] .rptModernHitPoint:focus{stroke:#202223!important}
html[data-d2c-theme="light"] .rptModernTooltip{background:#202223!important;color:#fff!important;border-color:#202223!important;box-shadow:0 10px 28px #20222338!important}

/* Daily performance chart: replace dark-only panels, labels, and controls in light mode. */
html[data-d2c-theme="light"] #page .dlyRoot{
 background:#f6f6f7!important;color:#202223!important;border:1px solid #e3e3e3!important;
 box-shadow:0 2px 9px rgba(0,0,0,.045)!important
}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlyHead h2,.dlyGraphTop strong,.dlyInspectHead h3,.dlyInspectDate,.dlyEventsHeading h3,.dlyImportTitle h2,.dlyKpi>strong,.dlySettingsPanel>strong,.dlyMetricOption strong){color:#202223!important}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlyEyebrow,.dlyHead p,.dlyKpiLabel,.dlyKpi>small,.dlyGraphTop>small,.dlyGraphFoot,.dlyGraphFoot span:last-child,.dlyEventsHeading p,.dlyEventsHeading>small,.dlyEventItem time,.dlyNoEvents,.dlyFootnote,.dlyInspectCompared,.dlyInspectCols,.dlyInspectLabel,.dlyInspectPrevious,.dlyInspectChange,.dlyInspectHelp,.dlyMetricOption small,.dlyMetricOption em,.dlyDateControls label,.dlyCompareSelect,.dlyEditorGrid label,.dlyEditorSubmit small,.dlyEditorSubmit span,.dlyImportTitle p,.dlyImportControls label,.dlyImportMsg,.dlyFileSample){color:#59645f!important;opacity:1!important}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlyKpi,.dlyGraph,.dlyDashboard .dlyGraph,.dlyInspect,.dlyEvents,.dlyEventItem,.dlySettingsPanel,.dlyDateControls label,.dlyImportPanel,.dlyFileSample){background:#fff!important;border-color:#d8dcdf!important;box-shadow:0 1px 4px #2022230a!important;color:#202223!important}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlySettings>summary,.dlySettings[open]>summary,.dlySeries button,.dlyInspectTabs button,.dlySettingsPanel>button,.dlyDateControls>button,.dlyCompareSelect select,.dlyImportControls button,.dlyImportTitle button,.dlyEditorSubmit button,.dlyEmpty button){
 background:#fff!important;color:#30343a!important;border:1px solid #c9cdd1!important;box-shadow:none!important
}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlySettings>summary:hover,.dlySeries button:hover,.dlyInspectTabs button:hover,.dlyDateControls>button:hover,.dlyImportControls button:hover){background:#f1f2f3!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlySeries button.selected,
html[data-d2c-theme="light"] #page .dlyRoot .dlyInspectTabs button.active{background:#e7f1ed!important;color:#155c42!important;border-color:#9ac9b5!important}
html[data-d2c-theme="light"] #page .dlyRoot :is(.dlyInspectRow,.dlyInspectCols,.dlyGraphFoot){border-color:#e3e5e7!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyInspectChange.increase{color:#14734d!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyInspectChange.decrease{color:#a52c3e!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyCompareWarning{background:#fff5e8!important;color:#704515!important;border-color:#e7c48e!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyDemoIndicator{background:#eef4fa!important;color:#315f83!important;border-color:#c5d7e8!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyImportTitle>div>span{color:#315f83!important}
html[data-d2c-theme="light"] #page .dlyRoot .dlyAddEvent,
html[data-d2c-theme="light"] #page .dlyRoot .dlyManualAdd{background:#fff!important;border-color:#d8dcdf!important;color:#30343a!important}
html[data-d2c-theme="light"] #page .dlyRoot :is(input,select,textarea){background:#fff!important;color:#202223!important;border-color:#c9cdd1!important;color-scheme:light}
#page .dlyCanvas{cursor:crosshair;touch-action:pan-y}
#page .dlyCanvas canvas{pointer-events:auto;touch-action:pan-y}

/* Detailed Report signal cards and period controls use light, readable surfaces. */
html[data-d2c-theme="light"] #page .insights .insight{background:#fff!important;color:#202223!important;border:1px solid #e3e3e3!important;box-shadow:0 2px 8px #2022230a!important}
html[data-d2c-theme="light"] #page .insights .insight strong{color:#202223!important}
html[data-d2c-theme="light"] #page .insights .insight p,
html[data-d2c-theme="light"] #page .insights .insight small{color:#545b60!important;opacity:1!important}
html[data-d2c-theme="light"] #page .insights .signal.good{color:#13734f!important}
html[data-d2c-theme="light"] #page .insights .signal.warn{color:#875400!important}
html[data-d2c-theme="light"] #page .insights .signal.info{color:#315f83!important}
html[data-d2c-theme="light"] #page .executiveBrief{background:#fff!important;color:#202223!important;border-color:#e3e3e3!important}
html[data-d2c-theme="light"] #page .executiveBrief :is(h2,strong){color:#202223!important}
html[data-d2c-theme="light"] #page .executiveBrief :is(p,.executiveBriefEyebrow,.executiveSignal small,.executiveEventHint){color:#545b60!important;opacity:1!important}
html[data-d2c-theme="light"] #page .executiveSignal{background:#f6f6f7!important;border-color:#e3e3e3!important;color:#202223!important}
html[data-d2c-theme="light"] #page .executivePrintBtn{background:#202223!important;color:#fff!important;border-color:#202223!important}
html[data-d2c-theme="light"] #page .detailedChangeLegend{background:#f6f6f7!important;color:#454b50!important;border-color:#dfe1e3!important}
html[data-d2c-theme="light"] #page .detailLegendGood{color:#13734f!important}
html[data-d2c-theme="light"] #page .detailLegendBad{color:#a52c3e!important}
html[data-d2c-theme="light"] #page .detailTimeSpan,
html[data-d2c-theme="light"] #page .detailTimeDates span{color:#545b60!important}
html[data-d2c-theme="light"] #page .detailTimeControls{background:#fff!important;border-color:#dfe1e3!important}
html[data-d2c-theme="light"] #page .tbl tr.detailChangeRow td{background:#f6f6f7!important;color:#4b5257!important;border-bottom-color:#e3e5e7!important}
html[data-d2c-theme="light"] #page .tbl tr.detailChangeRow td:first-child{background:#eef0f2!important;color:#30363b!important}
html[data-d2c-theme="light"] #page .tbl tr.detailChangeRow td.detailChangeCell.good{background:#edf7f0!important;color:#17633f!important}
html[data-d2c-theme="light"] #page .tbl tr.detailChangeRow td.detailChangeCell.bad{background:#fff0ef!important;color:#9b2931!important}
html[data-d2c-theme="light"] #page .tbl tr.detailChangeRow td.detailChangeCell.partial{background:#fff6e8!important;color:#714b18!important}

/* Unified check-in / Performance Manager light surfaces and readable helper text. */
html[data-d2c-theme="light"] #page .uManager{color:#202223!important}
html[data-d2c-theme="light"] #page .uManager :is(.uHero,.uTop,.uSection,.uSectionAlt,.uProductSection,.uTaskGroup,.uDailyHealth,.uHealthMetric,.uNextAction,.uProductQuick,.uEmptyGroup,.uChecklistHint,.uSetupReminder){
 background:#fff!important;color:#202223!important;border-color:#e3e3e3!important;box-shadow:0 2px 8px #2022230a!important
}
html[data-d2c-theme="light"] #page .uManager .uHero{background:linear-gradient(120deg,#fff,#f6f7f8)!important}
html[data-d2c-theme="light"] #page .uManager :is(.uHero h2,.uTop strong,.uSection h3,.uSectionHead h3,.uStepText strong,.uCheckStats strong,.uProductQuick strong,.uNextAction strong,.uEmptyGroup strong){color:#202223!important}
html[data-d2c-theme="light"] #page .uManager :is(.uHero p,.uTop small,.uCheckStats span,.uSection small,.uFilter small,.uStepText small,.uNoLink,.uProductQuick small,.uCheckSearch,.uChecklistHint,.uSetupReminder,.uFooter,.uEmptyGroup p){color:#545b60!important;opacity:1!important}
html[data-d2c-theme="light"] #page .uManager .uEyebrow{color:#315f83!important}
html[data-d2c-theme="light"] #page .uManager .uPill{background:#edf7f0!important;color:#17633f!important;border-color:#b9d8c2!important}
html[data-d2c-theme="light"] #page .uManager .uTop{background:#f6f6f7!important}
html[data-d2c-theme="light"] #page .uManager .uBar{background:#e3e5e7!important}
html[data-d2c-theme="light"] #page .uManager .uPercent{color:#17633f!important}
html[data-d2c-theme="light"] #page .uManager .uCheckStats>div{background:#f6f6f7!important;border-color:#dfe1e3!important}
html[data-d2c-theme="light"] #page .uManager :is(.uTabs,.uFilterButtons){background:#f0f1f2!important;border-color:#dfe1e3!important}
html[data-d2c-theme="light"] #page .uManager .uTabs button{color:#454b50!important}
html[data-d2c-theme="light"] #page .uManager .uTabs button.active{background:#202223!important;color:#fff!important;border-color:#202223!important}
html[data-d2c-theme="light"] #page .uManager .uTabs button[data-u-legacy]{color:#315f83!important}
html[data-d2c-theme="light"] #page .uManager .uFilter strong{color:#202223!important}
html[data-d2c-theme="light"] #page .uManager .uCheckJumpItem{background:#fff!important;color:#30363b!important;border-color:#dfe1e3!important}
html[data-d2c-theme="light"] #page .uManager :is(.uStep,.uProductCard,.uProductRow,.uReviewCard,.uWeekendCard){background:#fff!important;color:#202223!important;border-color:#e3e3e3!important}
html[data-d2c-theme="light"] #page .uManager :is(.uStepText small,.uProductRow small,.uReviewCard small,.uWeekendCard small){color:#545b60!important;opacity:1!important}
html[data-d2c-theme="light"] #page .uManager :is(button,input,select,textarea){color:#202223}
html[data-d2c-theme="light"] #page .uManager :is(input,select,textarea){background:#fff!important;border-color:#c9cdd1!important;color-scheme:light}
html[data-d2c-theme="light"] #page .uManager .uEmptyGroup{color:#454b50!important}
html[data-d2c-theme="light"] #page .uManager .uEmptyGroup button,
html[data-d2c-theme="light"] #page .uManager .uChecklistHint button,
html[data-d2c-theme="light"] #page .uManager .uSetupReminder button{color:#315f83!important}

/* Compact the expanded desktop sidebar so pages and clients remain visible. */
#app>.sidebar{overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#aeb5bd transparent}
#app>.sidebar>.brand{margin-bottom:13px!important}
#app>.sidebar .navlabel{margin:13px 10px 5px!important}
#app>.sidebar #clientList .navbtn{min-height:39px;padding:7px 10px;margin:3px 0;border-radius:12px;font-size:12px;line-height:1.25}
#app>.sidebar #clientList .navbtn .ico{width:16px;flex:0 0 16px;font-size:14px}
#app>.sidebar #nav .navbtn{min-height:39px;padding:7px 10px;margin:2px 0;border-radius:12px;font-size:12px;line-height:1.25}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn{background:#fff!important;color:#4c5562!important;border-color:#dfe3e8!important}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn:hover{background:#f1f2f3!important;color:#202223!important}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active{background:#e8eff3!important;color:#30243a!important;border-color:#d6e2e9!important;box-shadow:inset 3px 0 #547e9a!important}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn.active .ico,
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active .ico{color:#426b87!important}
@media(max-width:760px){
 #app>.sidebar #clientList .navbtn,#app>.sidebar #nav .navbtn{min-height:37px}
}

@media(max-width:760px){
 html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn{min-height:37px!important;padding:7px 10px!important;margin:0!important;border-radius:20px!important}
 html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn{min-height:54px!important;padding:6px 3px!important;margin:0!important;border-radius:11px!important;font-size:10px!important;line-height:1.15!important}
}

/* Modern sidebar rhythm: quiet rows, clear active state, and a roomier collapse control. */
@media(min-width:761px){
 #app>.sidebar{padding:20px 14px 16px!important;overflow-x:hidden}
 #app>.sidebar>.brand{margin:0 58px 19px 6px!important;min-height:44px;gap:10px;font-size:19px}
 #app>.sidebar .d2cMark{width:38px;height:38px;flex-basis:38px}
 #app>.sidebar .sidebarCollapse{top:18px;right:16px;width:44px;height:44px;padding:0;border-radius:13px;font-size:23px;line-height:1;display:grid;place-items:center}
 #app>.sidebar .navlabel{margin:15px 10px 7px!important;font-size:10px;letter-spacing:1.35px}
 #app>.sidebar #clientList{display:grid;gap:3px}
 #app>.sidebar #clientList .navbtn,
 #app>.sidebar #nav .navbtn{
  width:100%;min-height:41px;margin:0;padding:8px 11px;gap:11px;
  border:1px solid transparent;border-radius:11px;background:transparent;
  box-shadow:none;font-size:12px;font-weight:560;line-height:1.25;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
 }
 #app>.sidebar #clientList .navbtn .ico,
 #app>.sidebar #nav .navbtn .ico{
  width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;
  border-radius:7px;background:transparent;font-size:15px;color:#777783;
 }
 #app>.sidebar #nav{display:grid;gap:3px}
 #app>.sidebar #nav .navDesktopName{font-weight:inherit}
 #app>.sidebar #clientList .navbtn:hover,
 #app>.sidebar #nav .navbtn:hover:not(.active){background:#f1f2f4;color:#202223;border-color:transparent}
 #app>.sidebar #clientList .navbtn.active,
 #app>.sidebar #nav .navbtn.active{
  background:#e8eff3!important;color:#23313a!important;border-color:#d6e2e9!important;
  box-shadow:inset 3px 0 #547e9a!important;font-weight:720;
 }
 #app>.sidebar #clientList .navbtn.active .ico,
 #app>.sidebar #nav .navbtn.active .ico{background:#dce8ee;color:#426b87}
 #app>.sidebar .sidebarfoot{margin-top:17px;padding:14px 10px 10px;font-size:12px;font-weight:550;color:#626a73;border-color:#e2e4e7}
}
@media(min-width:761px) and (prefers-reduced-motion:reduce){
 #app>.sidebar #clientList .navbtn,#app>.sidebar #nav .navbtn{transition:none}
}
html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn:hover,
html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn:hover:not(.active){background:#ffffff0b;color:#f2f3f7}
html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn.active{
 background:#25445f!important;color:#eaf4fa!important;border-color:#547e9a!important;
 box-shadow:inset 3px 0 #76b7e6,0 3px 14px #3c658320!important
}
html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn.active .ico,
html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn.active .ico{background:#345a78;color:#d8efff}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn,
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn{color:#4a5058!important}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active{
 background:#e8eff3!important;color:#23313a!important;border-color:#d6e2e9!important;
 box-shadow:inset 3px 0 #547e9a!important
}
html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn.active .ico,
html[data-d2c-theme="light"] #app>.sidebar #nav .navbtn.active .ico{background:#dce8ee!important;color:#426b87!important}
html[data-d2c-theme="light"] #app>.sidebar .sidebarCollapse{
 width:44px;height:44px;padding:0;border-radius:13px;background:#fff!important;
 border:1px solid #d9dee5!important;color:#292d33!important;
 box-shadow:0 2px 8px #1d27320d!important
}
html[data-d2c-theme="light"] #app>.sidebar .sidebarCollapse:hover{
 background:#edf1ed!important;border-color:#dfe4df!important
}
@media(max-width:760px){
 html[data-d2c-theme="light"] #app>.sidebar #clientList .navbtn.active{background:#e8eff3!important;color:#23313a!important;border-color:#d6e2e9!important}
}

/* Rounded client context chip pairs with the demo badge in light mode. */
html[data-d2c-theme="light"] .top #clientLabel{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:1px solid var(--light-border)!important;border-radius:999px;background:var(--light-hover)!important;color:var(--light-text)!important;line-height:1.2}

/* Light collapsed rail: give icon buttons breathing room and indicate selection with its edge only. */
@media(min-width:761px){
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #clientList,
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #nav{gap:3px!important}
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar>.brand{font-size:0!important;letter-spacing:0;gap:0;margin:0 auto 8px!important;width:100%;justify-content:center;white-space:nowrap}
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar>.brand .d2cMark{width:34px;height:34px;flex:0 0 34px}
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #clientList .navbtn.active,
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #nav .navbtn.active{
  background:transparent!important;color:#344955!important;border:2px solid #547e9a!important;box-shadow:none!important
 }
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #clientList .navbtn.active .ico,
 html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #nav .navbtn.active .ico{background:transparent!important;color:#426b87!important}
}

/* Dark sidebar active item: outline the complete pill and remove the inherited left stripe/icon fill. */
@media(min-width:761px){
 html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn.active,
 html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn.active{
  background:transparent!important;color:#eef6fb!important;border:2px solid #82b7d5!important;
  border-radius:14px!important;box-shadow:0 0 0 1px #82b7d533!important
 }
 html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn.active .ico,
 html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn.active .ico{
  background:transparent!important;color:#b9e1f6!important;box-shadow:none!important
 }
}
/* Align these tool pages with the workspace edge instead of centering their narrower roots. */
@media(min-width:761px){
 #page .cmdRoot,#page .uManager,#page .aevRoot,#page .integrationWorkspace{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important
 }
}

/* Expanded light sidebar: use a uniform selected pill with no inset leading stripe. */
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #nav .navbtn.active{
  background:#e8eff3!important;
  color:#23313a!important;
  border:1px solid #d6e2e9!important;
  box-shadow:none!important;
}
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #clientList .navbtn.active .ico,
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #nav .navbtn.active .ico{
  background:transparent!important;
  box-shadow:none!important;
  color:#426b87!important;
}


/* Light theme corrections for daily Amazon imports and Shopify integration notices. */
html[data-d2c-theme="light"] .dlyImportPanel{
  color:#17201f!important;
  background:#f4f7f5!important;
  border:1px solid #d7e1dc!important;
  box-shadow:0 8px 24px #17201f0d!important;
}
html[data-d2c-theme="light"] .dlyImportPanel .dlyImportTitle>div>span{color:#416f9f!important}
html[data-d2c-theme="light"] .dlyImportPanel .dlyImportTitle h2{color:#17201f!important}
html[data-d2c-theme="light"] .dlyImportPanel .dlyImportTitle p,
html[data-d2c-theme="light"] .dlyImportPanel .dlyImportMsg,
html[data-d2c-theme="light"] .dlyImportPanel .dlyEditorSubmit small{color:#596561!important}
html[data-d2c-theme="light"] .dlyImportPanel .dlyManualAdd{
  color:#17201f!important;background:#fff!important;border:1px solid #d7e1dc!important;
}
html[data-d2c-theme="light"] .dlyImportPanel .dlyManualAdd summary,
html[data-d2c-theme="light"] .dlyImportPanel label{color:#34413d!important}
html[data-d2c-theme="light"] .dlyImportPanel input,
html[data-d2c-theme="light"] .dlyImportPanel select,
html[data-d2c-theme="light"] .dlyImportPanel textarea{
  color:#17201f!important;background:#fff!important;border-color:#cbd6d1!important;
}
html[data-d2c-theme="light"] .dlyImportPanel input::placeholder,
html[data-d2c-theme="light"] .dlyImportPanel textarea::placeholder{color:#77817c!important}
html[data-d2c-theme="light"] .dlyImportPanel button:not(.primary){
  color:#26332f!important;background:#fff!important;border-color:#cbd6d1!important;
}
html[data-d2c-theme="light"] .dlyImportPanel button:not(:disabled):hover{background:#edf3ef!important}

html[data-d2c-theme="light"] .shopifyBox{
  color:#17201f!important;background:#f4f7f5!important;border-color:#d7e1dc!important;
}
html[data-d2c-theme="light"] .shopifyBox .shopifyNotReady,
html[data-d2c-theme="light"] .shopifyBox .shopifyStart label,
html[data-d2c-theme="light"] .shopifyBox .shopifyNotes,
html[data-d2c-theme="light"] .shopifyBox .shopifyCoverage span,
html[data-d2c-theme="light"] .shopifyBox .shopifyConnected span{color:#596561!important}
html[data-d2c-theme="light"] .shopifyBox .shopifySetup,
html[data-d2c-theme="light"] .shopifyBox .shopifyCoverage>div{
  color:#26332f!important;background:#fff!important;border-color:#d7e1dc!important;
}
html[data-d2c-theme="light"] .shopifyBox .shopifySetup p,
html[data-d2c-theme="light"] .shopifyBox .shopifySetup code{color:#596561!important}
html[data-d2c-theme="light"] .shopifyBox .shopifyStatus{color:#24623f!important;background:#e6f4eb!important;border-color:#b8ddc6!important}
html[data-d2c-theme="light"] .shopifyBox .shopifyMismatch{color:#704b16!important;background:#fff5df!important;border-color:#e8cf9f!important}
html[data-d2c-theme="light"] .shopifyBox .shopifyMessage{color:#286647!important}
html[data-d2c-theme="light"] .shopifyBox .shopifyControlRow button,
html[data-d2c-theme="light"] .shopifyBox .shopifyStart button{color:#26332f!important}


/* Overview comparison period label: soften the month header into a rounded panel. */
html[data-d2c-theme="light"] .overviewCompareGrid .overviewCompareCard .cardhead{
  border-radius:13px!important;
  overflow:hidden;
}

html[data-d2c-theme="light"] .mobileSheetAppearance>span{color:#596561!important}
html[data-d2c-theme="light"] .mobileSheetThemeSwitch{background:#eef2ef!important;border-color:#d7dfd8!important}
html[data-d2c-theme="light"] .uSetupPrompt{background:#f3f7f4!important;color:#17201f!important;border-color:#c9d8cf!important}
html[data-d2c-theme="light"] .uSetupPrompt p{color:#596561!important}
html[data-d2c-theme="light"] .uSetupPrompt button{background:#171b19!important;color:#fff!important;border-color:#171b19!important}

/* Keyword filters: keep category counts and active state distinct in the light palette. */
html[data-d2c-theme="light"] .keywordFilterShell{background:#f8faf8!important;border-color:#dfe5e0!important;box-shadow:0 2px 8px rgba(35,54,45,.035)!important}
html[data-d2c-theme="light"] .kwCategoryButton{background:#fff!important;border-color:#d7dfd9!important;color:#46534c!important}
html[data-d2c-theme="light"] .kwCategoryButton:hover:not([aria-pressed="true"]){background:#f0f4f1!important;border-color:#b9c9be!important;color:#26352e!important}
html[data-d2c-theme="light"] .kwCategoryButton[aria-pressed="true"]{background:#e5eef3!important;border-color:#7d9eb1!important;color:#294b65!important;box-shadow:inset 0 0 0 1px rgba(82,126,153,.08)!important}
html[data-d2c-theme="light"] .kwCategoryCount{color:#64716a!important}
html[data-d2c-theme="light"] .kwCategoryButton[aria-pressed="true"] .kwCategoryCount{color:#416f8e!important}
html[data-d2c-theme="light"] .kwFilterSummary{color:#596561!important}
html[data-d2c-theme="light"] .kwEmpty{color:#596561!important}

/* Preserve readable chart legends on the light Detailed Report surface. */
html[data-d2c-theme="light"] #page :is(.dlyLegend,.dlyInspectCoverage){color:#40536a!important}

/* Source: journey-polish.css */
/* Focused navigation, reporting context and setup-role refinements. */
.reportDataContext{
 display:grid;gap:11px;margin:0 0 15px;padding:14px 16px;
 border:1px solid #b9cadb4a;border-radius:16px;
 background:linear-gradient(110deg,#172a41,#122032);
 color:#eef5ff;box-shadow:none
}
.reportContextTop{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.reportContextTop>div:first-child{display:grid;gap:4px;min-width:min(100%,240px)}
.reportContextEyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#79d8c2}
.reportContextTop strong{font-size:14px;line-height:1.35}
.reportContextTop small,.reportContextRange span{font-size:11px;color:#b6c5d9}
.reportContextRange{display:grid;gap:3px;text-align:right}
.reportContextRange strong{font-variant-numeric:tabular-nums}
.reportContextMeta{display:flex;gap:8px;flex-wrap:wrap}
.reportContextMeta span{display:grid;gap:2px;padding:7px 9px;min-width:120px;border:1px solid #ffffff1e;border-radius:10px;background:#ffffff08;font-size:11px;color:#e2ebf7}
.reportContextMeta b{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#aabdd2}
.reportDataContext>p{margin:0;color:#b6c5d9;font-size:11px;line-height:1.5}
.uSetupRoleHint{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid #86a4bf3b;border-radius:10px;color:#aebfd1;font-size:11px;font-weight:650}
.dlyChartKeyboardHint{margin:7px 0 0;color:#9eb4cc;font-size:11px;line-height:1.45}
.dlyCanvas canvas:focus-visible{outline:3px solid #7fadd5;outline-offset:4px;border-radius:8px}
@media(max-width:760px){
 .mobileHeaderRight>.themeSwitch{display:none!important}
 .mobileSheet{
  top:max(8px,env(safe-area-inset-top,0px))!important;
  bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
  max-height:none!important;height:auto!important;
  border-radius:21px!important;
  padding-top:max(10px,env(safe-area-inset-top,0px))!important;
  padding-bottom:max(12px,env(safe-area-inset-bottom,0px))!important;
 }
 .mobileSheetContent{
  max-height:none!important;
  scrollbar-width:none;
  -ms-overflow-style:none;
 }
 .mobileSheetContent::-webkit-scrollbar{display:none}
 .mobileSheetFooter{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;gap:8px;padding-top:10px!important
 }
 .mobileSheetFooter[hidden]{display:none!important}
 .mobileSheetAppearance{
  grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;gap:10px;padding:8px 10px;border:1px solid #ffffff18;
  border-radius:12px;background:#101a28;color:#c4d3e3;font-size:12px;font-weight:700
 }
 .mobileSheetThemeSwitch{display:flex!important;min-width:0;margin:0!important}
 .mobileSheetThemeSwitch button{flex:1 1 0;min-width:0;padding:8px 7px!important}
 .mobileSheetFooter>.mobileSheetItem{width:100%;min-width:0;justify-content:center}
 .mobileSheet button:focus-visible,.mobileSheet a:focus-visible{
  outline:3px solid #79bde0;outline-offset:2px
 }
 html[data-d2c-theme="light"] .mobileSheetAppearance{
  background:#f4f7f7;border-color:#d9e2e3;color:#3c5158
 }
 html[data-d2c-theme="light"] .reportDataContext{
  background:#fff;border-color:#d9e1e4;color:#23343a;
  box-shadow:0 2px 9px #1d34400b
 }
 html[data-d2c-theme="light"] .reportContextEyebrow{color:#287b68}
 html[data-d2c-theme="light"] .reportContextTop small,
 html[data-d2c-theme="light"] .reportContextRange span,
 html[data-d2c-theme="light"] .reportDataContext>p{color:#56696f}
 html[data-d2c-theme="light"] .reportContextMeta span{background:#f6f8f8;border-color:#dce4e5;color:#2e4349}
 html[data-d2c-theme="light"] .reportContextMeta b{color:#5d747a}
 html[data-d2c-theme="light"] .uSetupRoleHint{border-color:#cbdadd;color:#50666c}
}
@media(max-width:390px){
 .reportDataContext{padding:12px}
 .reportContextMeta span{flex:1 1 42%;min-width:0}
 .reportContextRange{text-align:left}
 .mobileSheetFooter{gap:6px}
 .mobileSheetAppearance{grid-template-columns:1fr;gap:6px}
}
html[data-d2c-theme="light"] .reportDataContext{
 background:#fff;border-color:#d9e1e4;color:#23343a;
 box-shadow:0 2px 9px #1d34400b
}
html[data-d2c-theme="light"] .reportContextEyebrow{color:#287b68}
html[data-d2c-theme="light"] .reportContextTop small,
html[data-d2c-theme="light"] .reportContextRange span,
html[data-d2c-theme="light"] .reportDataContext>p{color:#56696f}
html[data-d2c-theme="light"] .reportContextMeta span{background:#f6f8f8;border-color:#dce4e5;color:#2e4349}
html[data-d2c-theme="light"] .reportContextMeta b{color:#5d747a}
html[data-d2c-theme="light"] .uSetupRoleHint{border-color:#cbdadd;color:#50666c}

/* Source: bubble-spacing.css */
/* Consistent breathing room for rounded controls and status chips. */
:root{--d2c-control-gap:8px;--d2c-control-gap-compact:6px}

/* Desktop clusters: tabs, ranges, filters, and small status bubbles. */
#page :is(
 .seg,.filters,.viewTabs,.chartControls,.chartChoices,.tableToolbar,
 .snsMetricSwitch,.snsModeSwitch,.snsCouponList,.snsEventList,
 .detailedJumpNav,.managerTabs,.managerTaskFilters,.managerAlertFilters,
 .managerPeriodSelect,.dlyInspectTabs,.uManager .uTabs,.uManager .uFilterButtons,
 .uManager .uBrandNav,.uManager .uRecentEvents,.uManager .uProductStatus,
 .aevEventBadges,.aevPriorityFilters,.checkinViewNav,.checkinBrandNav,
 .pipeRange,.pipeViewSwitch,.pipeStagePicker,.pipeToolbarActions,.pipeCardMeta,
 .rptModernRange,.rptModernControls,.opnRoot .opnFilters,.sqprComparisonFilters,
 .spStatusLine,.accessUserIdentity,.accessClients
){gap:var(--d2c-control-gap)!important}

/* The global toolbar and the fixed mobile menu are control clusters too. */
.themeSwitch,.mobileSheetThemeSwitch{gap:var(--d2c-control-gap)!important}
#mobileSheetContent .mobileSheetNavGrid{gap:var(--d2c-control-gap)!important}

/* Keep compact desktop navigation visibly separated without adding scrolling. */
@media(min-width:761px){
 #app:not([data-sidebar-collapsed])>.sidebar #clientList,
 #app:not([data-sidebar-collapsed])>.sidebar #nav{
  display:grid!important;gap:6px!important
 }
 #app:not([data-sidebar-collapsed])>.sidebar #clientList .navbtn,
 #app:not([data-sidebar-collapsed])>.sidebar #nav .navbtn{margin:0!important}
 #app[data-sidebar-collapsed]>.sidebar #clientList,
 #app[data-sidebar-collapsed]>.sidebar #nav{gap:4px!important}
}

/* Mobile controls keep a clear gap while preserving room for labels. */
@media(max-width:760px){
 :root{--d2c-control-gap:var(--d2c-control-gap-compact)}
 #page :is(
  .seg,.filters,.viewTabs,.chartControls,.chartChoices,.tableToolbar,
  .snsMetricSwitch,.snsModeSwitch,.snsCouponList,.snsEventList,
  .detailedJumpNav,.managerTabs,.managerTaskFilters,.managerAlertFilters,
  .managerPeriodSelect,.dlyInspectTabs,.uManager .uTabs,.uManager .uFilterButtons,
  .uManager .uBrandNav,.uManager .uRecentEvents,.uManager .uProductStatus,
  .aevEventBadges,.aevPriorityFilters,.checkinViewNav,.checkinBrandNav,
  .pipeRange,.pipeViewSwitch,.pipeStagePicker,.pipeToolbarActions,.pipeCardMeta,
  .rptModernRange,.rptModernControls,.opnRoot .opnFilters,.sqprComparisonFilters,
  .spStatusLine,.accessUserIdentity,.accessClients
 ){gap:var(--d2c-control-gap)!important}
 .themeSwitch,.mobileSheetThemeSwitch{gap:var(--d2c-control-gap)!important}
 #mobileSheetContent .mobileSheetNavGrid{gap:8px!important}
 #nav{gap:6px!important}
}

/* Source: color-system.css */
/* Shared semantic colors for the Shopify-neutral D2Clytics workspace.
   Keep layout rules in component stylesheets; this file owns color only. */
:root {
  --d2c-canvas: #0e1623;
  --d2c-surface: #192e44;
  --d2c-surface-raised: #243a4f;
  --d2c-surface-field: #131e30;
  --d2c-border: #3a506a;
  --d2c-control-border: #657f9e;
  --d2c-text: #edf3fb;
  --d2c-secondary: #b8c6da;
  --d2c-muted: #98acc4;
  --d2c-action: #365f8d;
  --d2c-action-hover: #4370a3;
  --d2c-link: #9ccdf0;
  --d2c-focus: #8ac8e4;
  --d2c-success: #83d9b7;
  --d2c-warning: #f1c780;
  --d2c-danger: #ef9a8e;
  --d2c-chart-sales: #8bb6ff;
  --d2c-chart-profit: #7bd3b1;
  --d2c-chart-spend: #f1bd75;
  --d2c-chart-tacos: #f19980;
  --d2c-chart-demand: #72ccdb;
  --d2c-chart-neutral: #becbdc;
}

html[data-d2c-theme="light"] {
  color-scheme: light;
  --d2c-canvas: #f6f6f7;
  --d2c-surface: #ffffff;
  --d2c-surface-raised: #f1f2f3;
  --d2c-surface-field: #ffffff;
  --d2c-border: #d5d9dc;
  --d2c-control-border: #8a8f94;
  --d2c-text: #202223;
  --d2c-secondary: #616161;
  --d2c-muted: #707070;
  --d2c-action: #008060;
  --d2c-action-hover: #006e52;
  --d2c-link: #2c6ecb;
  --d2c-focus: #2c6ecb;
  --d2c-success: #008060;
  --d2c-warning: #8a4b08;
  --d2c-danger: #b42318;
  --d2c-chart-sales: #2c6ecb;
  --d2c-chart-profit: #008060;
  --d2c-chart-spend: #8a4b08;
  --d2c-chart-tacos: #a14600;
  --d2c-chart-demand: #146c75;
  --d2c-chart-neutral: #50616b;
  --light-canvas: var(--d2c-canvas);
  --light-panel: var(--d2c-surface);
  --light-raised: var(--d2c-surface-raised);
  --light-field: var(--d2c-surface-field);
  --light-hover: #e8ecee;
  --light-border: var(--d2c-border);
  --light-text: var(--d2c-text);
  --light-secondary: var(--d2c-secondary);
  --light-muted: var(--d2c-muted);
  --light-blue: #2c6ecb;
  --light-green: #008060;
  --light-orange: #8a4b08;
  --light-focus: #2c6ecb;
  --surface-1: #ffffff;
  --surface-2: #f1f2f3;
  --surface-3: #e8ecee;
  --ink-strong: #202223;
  --ink-body: #343a3e;
  --ink-muted: #616161;
  --line-soft: #d5d9dc;
  --chart-grid: #e1e5e8;
  --chart-axis: #616161;
  --blue: #2c6ecb;
  --green: #008060;
  --gold: #8a4b08;
  --edge: #d5d9dc;
}

html[data-d2c-theme="dark"] {
  color-scheme: dark;
  --dark-canvas: #0e1623;
  --dark-sidebar: #14151a;
  --dark-nav: #121e2e;
  --dark-panel: #192e44;
  --dark-raised: #243a4f;
  --dark-field: #131e30;
  --dark-hover: #2a4461;
  --dark-border: #3a506a;
  --dark-control-border: #657f9e;
  --dark-text: #edf3fb;
  --dark-secondary: #b8c6da;
  --dark-muted: #98acc4;
  --dark-accent: #9ccdf0;
  --dark-action: #365f8d;
  --dark-action-hover: #4370a3;
  --dark-success: #83d9b7;
  --dark-warning: #f1c780;
  --dark-danger: #ef9a8e;
  --dark-focus: #8ac8e4;
  --tx: var(--dark-text);
  --soft: var(--dark-secondary);
  --mut: var(--dark-muted);
  --blue: var(--dark-accent);
  --green: var(--dark-success);
  --gold: var(--dark-warning);
  --edge: var(--dark-border);
}

/* Neutral canvas, white panels, and consistent text hierarchy in Light mode. */
html[data-d2c-theme="light"] body,
html[data-d2c-theme="light"] #app,
html[data-d2c-theme="light"] .main {
  background: var(--d2c-canvas) !important;
  color: var(--d2c-text) !important;
}
html[data-d2c-theme="light"] :is(.sidebar,.top,#nav) {
  background: var(--d2c-surface) !important;
  color: var(--d2c-text) !important;
  border-color: var(--d2c-border) !important;
  box-shadow: 0 1px 4px #2022230a !important;
  backdrop-filter: none !important;
}
html[data-d2c-theme="light"] .sidebar { border-right: 1px solid var(--d2c-border) !important; }
html[data-d2c-theme="light"] :is(.brand,.header h1,.header h2,.header h3,.sect h2,.sect h3,#title) {
  color: var(--d2c-text) !important;
}
html[data-d2c-theme="light"] :is(.soft,.muted,.note,.small,.sect small,.kpi .hint,.navlabel,.sidebarfoot,.mobileContext) {
  color: var(--d2c-secondary) !important;
}
html[data-d2c-theme="light"] a { color: var(--d2c-link) !important; }
html[data-d2c-theme="light"] a:hover { color: #1f5199 !important; }

html[data-d2c-theme="light"] :is(
  .glass,.panel,.chartpanel,.tablewrap,.card,.kpi,.brandfocus,.sharecard,
  .executiveBrief,.businessEvents,.cmdHero,.cmdStat,.cmdClient,.cmdSecondary,
  .cmdCaveat,.rptModern,.rptModernCard,.rptModernCustom,.uHero,.uTop,.uSection,
  .managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,
  .managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,
  .overviewCompareCard,.integrationServiceCard,.integrationGuide,
  .integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,
  .opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.aevHero,.aevFilters,.aevCard,
  .aevPanel,.ptCard,.ptConfigPanel,.ptDetailPanel,.pipeColumn,.pipeEditor,
  .pipeLoading,.ppcSegmentCard,.dlyGraph,.dlyImportPanel,.shopifyBox
) {
  background-color: var(--d2c-surface) !important;
  color: var(--d2c-text) !important;
  border-color: var(--d2c-border) !important;
  box-shadow: 0 2px 8px #2022230a !important;
  backdrop-filter: none !important;
}
html[data-d2c-theme="light"] :is(.managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,.managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,.overviewCompareCard,.integrationServiceCard,.integrationGuide,.integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,.opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.aevHero,.aevFilters,.aevCard,.aevPanel,.ptCard,.ptConfigPanel,.ptDetailPanel,.pipeColumn,.pipeEditor,.pipeLoading,.ppcSegmentCard,.dlyGraph,.dlyImportPanel,.shopifyBox) :is(h1,h2,h3,h4,strong,b,th,label) {
  color: var(--d2c-text) !important;
}
html[data-d2c-theme="light"] :is(.managerHero,.managerPanel,.managerTask,.managerScore,.managerAlert,.managerEmpty,.managerPeriodSelect,.healthGoalCard,.healthAlerts,.healthTrendCard,.overviewCompareCard,.integrationServiceCard,.integrationGuide,.integrationDataDisclosure,.integrationsShortcut,.opnSourceWarning,.opnEditor,.opnAlert,.opnEmpty,.uDailyHealth,.uHealthMetric,.aevHero,.aevFilters,.aevCard,.aevPanel,.ptCard,.ptConfigPanel,.ptDetailPanel,.pipeColumn,.pipeEditor,.pipeLoading,.ppcSegmentCard,.dlyGraph,.dlyImportPanel,.shopifyBox) :is(p,small,.soft,.muted,.note,.hint,.healthGoalTarget,.healthDisclaimer,.healthTrendLegend,.overviewCompareAgainst,.managerFootnote,.managerPanelHead p,.managerAlert small,.opnMeta,.uFooter) {
  color: var(--d2c-secondary) !important;
  opacity: 1 !important;
}

/* Controls retain visible edges and a single, predictable focus treatment. */
html[data-d2c-theme="light"] :is(button,input,select,textarea,summary) {
  border-color: var(--d2c-control-border) !important;
  color: var(--d2c-text);
}
html[data-d2c-theme="light"] :is(input,select,textarea) {
  background: var(--d2c-surface-field) !important;
  color: var(--d2c-text) !important;
  color-scheme: light;
}
html[data-d2c-theme="light"] select option { background: #fff; color: #202223; }
html[data-d2c-theme="light"] :is(input,textarea)::placeholder { color: #707070 !important; opacity: 1; }
html[data-d2c-theme="light"] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 3px solid #2c6ecb !important;
  outline-offset: 2px !important;
}
html[data-d2c-theme="light"] button:not(:disabled):not(.primary):not(.navbtn):hover {
  background: #f1f2f3 !important;
  border-color: #8a8f94 !important;
}
html[data-d2c-theme="light"] :is(button.primary,.pipeRoot .pipePrimary,.rptModernCustom button) {
  background: #008060 !important;
  border-color: #008060 !important;
  color: #fff !important;
}
html[data-d2c-theme="light"] :is(button.primary,.pipeRoot .pipePrimary,.rptModernCustom button):hover:not(:disabled) {
  background: #006e52 !important;
  border-color: #006e52 !important;
}

/* Selection is a complete, calm pill in either theme. */
html[data-d2c-theme="light"] #app .navbtn {
  color: #42484c !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}
html[data-d2c-theme="light"] #app .navbtn.active,
html[data-d2c-theme="light"] #app .navbtn.active:hover {
  background: #e5f2ee !important;
  color: #075a47 !important;
  border: 1px solid #b9d6cd !important;
  box-shadow: none !important;
}
html[data-d2c-theme="light"] #app .navbtn.active .ico { color: #075a47 !important; }
html[data-d2c-theme="light"] #app .navbtn.active::before { display: none !important; }
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="light"] #app:not([data-sidebar-collapsed])>.sidebar #nav .navbtn.active,
html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #nav .navbtn.active {
  background: #e5f2ee !important;
  color: #075a47 !important;
  border: 1px solid #b9d6cd !important;
  box-shadow: none !important;
}
html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #nav .navbtn.active,
html[data-d2c-theme="light"] #app[data-sidebar-collapsed]>.sidebar #clientList .navbtn.active {
  border-left: 1px solid #b9d6cd !important;
}
html[data-d2c-theme="light"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav,.managerTabs) {
  background: #f1f2f3 !important;
  border-color: #d5d9dc !important;
  color: #42484c !important;
}
html[data-d2c-theme="light"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav,.managerTabs) button:is(.active,.on,[aria-pressed="true"]) {
  background: #008060 !important;
  color: #fff !important;
  border-color: #008060 !important;
  box-shadow: none !important;
}
html[data-d2c-theme="light"] .mobileSheet { background: #fff !important; color: #202223 !important; border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] .mobileSheetItem { background: #fff !important; color: #343a3e !important; border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] .mobileSheetItem.selected {
  background: #e5f2ee !important;
  color: #075a47 !important;
  border-color: #83b6a5 !important;
  box-shadow: none !important;
}
html[data-d2c-theme="light"] .themeSwitch,
html[data-d2c-theme="light"] .mobileSheetThemeSwitch { background: #f1f2f3 !important; border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] :is(.themeSwitch,.mobileSheetThemeSwitch) [data-theme-choice].active {
  background: #008060 !important; color: #fff !important; border-color: #008060 !important;
}

/* Tables, badges, and summary cards share semantic rather than arbitrary colors. */
html[data-d2c-theme="light"] .kpis .kpi:first-child,
html[data-d2c-theme="light"] .kpis .kpi:first-child :is(.label,.value,.hint,.small,.caption) {
  background: #fff !important;
  color: #202223 !important;
  border-color: #d5d9dc !important;
}
html[data-d2c-theme="light"] .kpis .kpi:first-child .dot { background: #2c6ecb !important; }
html[data-d2c-theme="light"] :is(.tbl th,.managerTable thead th,.ppcSegmentScroll th) {
  background: #f1f2f3 !important; color: #343a3e !important; border-color: #d5d9dc !important;
}
html[data-d2c-theme="light"] :is(.tbl td,.managerTable td,.managerTable tbody th,.ppcSegmentScroll td) {
  background: #fff !important; color: #343a3e !important; border-color: #e1e5e8 !important;
}
html[data-d2c-theme="light"] :is(.tbl tr.group td,.tbl tr.group td:first-child) { background: #e8ecee !important; color: #202223 !important; }
html[data-d2c-theme="light"] :is(.tbl tr:hover td,.managerTable tr:hover td,.ppcSegmentScroll tr:hover td) { background: #f6f7f8 !important; }
html[data-d2c-theme="light"] :is(.pos,.green,.overviewDelta.pos,.cmdSuccess,.ptDelta.good,.managerCheck:has(input:checked) span) { color: #006b52 !important; }
html[data-d2c-theme="light"] :is(.neg,.red,.overviewDelta.neg,.ptDelta.bad) { color: #a1261d !important; }
html[data-d2c-theme="light"] :is(.managerAlert.critical,.managerDeadlineWarning,.managerScore.overdue,.managerHistoryTile.overdue) { background: #fff1f0 !important; color: #8f1d16 !important; border-color: #dfaaa6 !important; }
html[data-d2c-theme="light"] :is(.managerAlert.warning,.managerDeadlinePending,.managerHistoryTile.pending,.ptNotice) { background: #fff4df !important; color: #754300 !important; border-color: #dfbd7d !important; }
html[data-d2c-theme="light"] :is(.managerAlert.info,.ptDelta.neutral,.managerHistoryTile.complete,.managerScore.complete) { background: #eaf2f8 !important; color: #244f70 !important; border-color: #c2d4e0 !important; }

/* High contrast plot colors keep the metric understandable when filters change. */
html[data-d2c-theme="light"] .svgchart text,
html[data-d2c-theme="light"] :is(.snsSvgPlot,.kpiDetailChart,.ptChart) text { fill: #616161 !important; }
html[data-d2c-theme="light"] .svgchart .gridline,
html[data-d2c-theme="light"] :is(.snsSvgPlot,.kpiDetailChart,.ptChart) line { stroke: #e1e5e8 !important; }
html[data-d2c-theme="light"] .svgchart .blue { fill: #2c6ecb !important; }
html[data-d2c-theme="light"] .svgchart .orange { fill: #8a4b08 !important; }
html[data-d2c-theme="light"] .svgchart .line { stroke: #008060 !important; }
html[data-d2c-theme="light"] .svgchart .point { fill: #2c6ecb !important; }
html[data-d2c-theme="light"] .rptModernSpark { color: #2c6ecb !important; }
html[data-d2c-theme="light"] .rptModernSpark.profit { color: #008060 !important; }
html[data-d2c-theme="light"] .rptModernSpark.tacos { color: #a14600 !important; }
html[data-d2c-theme="light"] .kpiDetailChart path[stroke],
html[data-d2c-theme="light"] .snsSvgPlot path[stroke] { stroke: #2c6ecb !important; }
html[data-d2c-theme="light"] .kpiDetailChart circle[fill],
html[data-d2c-theme="light"] .snsSvgPlot circle[fill] { fill: #008060 !important; }
html[data-d2c-theme="light"] .kpiDetailChart circle[stroke],
html[data-d2c-theme="light"] .snsSvgPlot circle[stroke] { stroke: #fff !important; }
html[data-d2c-theme="light"] :is(.reportPointTooltip,.rptModernTooltip) {
  background: #fff !important; color: #202223 !important; border-color: #8a8f94 !important;
  box-shadow: 0 8px 24px #2022231f !important;
}
html[data-d2c-theme="light"] :is(.reportPointTooltip,.rptModernTooltip) :is(strong,div,span) { color: #343a3e !important; }
html[data-d2c-theme="light"] :is(.overviewHealthStrip,.healthAlerts,.healthTrendCard,.healthGoalCard,.kpiDetailDialog,.kpiDetailTrend,.kpiDetailNumbers>div,.kpiDetailRelated>span,.kpiDetailMethod) {
  background: #fff !important;
  color: #202223 !important;
  border-color: #d5d9dc !important;
}
html[data-d2c-theme="light"] :is(.overviewHealthStrip,.healthAlerts,.healthTrendCard,.healthGoalCard,.kpiDetailDialog,.kpiDetailTrend,.kpiDetailMethod) :is(h2,h3,h4,strong,b) { color: #202223 !important; }
html[data-d2c-theme="light"] :is(.overviewHealthStrip,.healthAlerts,.healthTrendCard,.healthGoalCard,.kpiDetailDialog,.kpiDetailTrend,.kpiDetailMethod) :is(p,small,span,label,.healthDisclaimer,.healthGoalTarget,.healthGoalGap,.kpiDetailNumbers span,.kpiDetailMethod p,.kpiDetailMethod small) { color: #616161 !important; }
html[data-d2c-theme="light"] :is(.healthGoalCard.ok .healthGoalTop span,.healthGoalCard.ok .healthGoalGap,.healthAllGood) { background: #e5f2ee !important; color: #075a47 !important; border-color: #b9d6cd !important; }
html[data-d2c-theme="light"] :is(.healthGoalCard.warning .healthGoalTop span,.healthGoalCard.warning .healthGoalGap,.healthAlertSymbol) { background: #fff4df !important; color: #754300 !important; border-color: #dfbd7d !important; }
html[data-d2c-theme="light"] .healthTrendCard :is(.healthTrendTitle strong,.healthTrendTitle span) { color: #202223 !important; }
html[data-d2c-theme="light"] .healthTrendCard svg text,
html[data-d2c-theme="light"] .healthTrendSvg text { fill: #616161 !important; }
html[data-d2c-theme="light"] .healthTrendSvg line { stroke: #e1e5e8 !important; }
html[data-d2c-theme="light"] .healthTrendSvg line[stroke-dasharray] { stroke: #8a4b08 !important; }
html[data-d2c-theme="light"] .healthTrendSvg path[stroke] { stroke: #2c6ecb !important; }
html[data-d2c-theme="light"] .healthTrendSvg .reportHoverPoint circle:not([fill="transparent"]) { fill: #008060 !important; stroke: #fff !important; }
html[data-d2c-theme="light"] .snsReadableSvg text { fill: #616161 !important; }
html[data-d2c-theme="light"] .snsReadableSvg line[stroke="#6fd9ae"] { stroke: #008060 !important; }
html[data-d2c-theme="light"] .snsReadableSvg line[stroke="#ffacac"] { stroke: #b42318 !important; }
html[data-d2c-theme="light"] .snsReadableSvg line[stroke="#f7c489"] { stroke: #8a4b08 !important; }
html[data-d2c-theme="light"] .snsReadableSvg circle[fill="#eec38b"] { fill: #8a4b08 !important; }
html[data-d2c-theme="light"] .snsReadableSvg .reportHoverPoint circle:not([fill="transparent"]) { fill: #2c6ecb !important; stroke: #fff !important; }
html[data-d2c-theme="light"] .snsSvgPlot rect[opacity=".72"] { fill: #008060 !important; opacity: .9 !important; }
html[data-d2c-theme="light"] .snsSvgPlot rect[stroke] { fill: #fff4df !important; stroke: #b07c16 !important; }
html[data-d2c-theme="light"] .snsSvgPlot line[stroke-dasharray] { stroke: #8a4b08 !important; }
html[data-d2c-theme="light"] .kpiDetailDialog { box-shadow: 0 20px 65px #2022232e !important; }
html[data-d2c-theme="light"] .kpiDetailDialog .kpiDetailTop small { color: #2c6ecb !important; }
html[data-d2c-theme="light"] .kpiDetailNumbers>div,
html[data-d2c-theme="light"] .kpiDetailRelated>span,
html[data-d2c-theme="light"] .kpiDetailMethod { background: #f1f2f3 !important; }
html[data-d2c-theme="light"] .kpiDetailRelated b { color: #202223 !important; }
html[data-d2c-theme="light"] .kpiDetailDialog .kpiDone { background: #008060 !important; border-color: #008060 !important; color: #fff !important; }
html[data-d2c-theme="light"] .kpiDetailDialog .kpiEvent { background: #fff4df !important; color: #754300 !important; }
html[data-d2c-theme="light"] .kpiDetailChart text { fill: #616161 !important; }
html[data-d2c-theme="light"] .kpiDetailChart line { stroke: #e1e5e8 !important; }
html[data-d2c-theme="light"] .kpiDetailChart path[stroke] { stroke: #2c6ecb !important; }
html[data-d2c-theme="light"] .kpiDetailChart .reportHoverPoint circle:not([fill="transparent"]) { fill: #008060 !important; stroke: #fff !important; }
html[data-d2c-theme="light"] .detailedTrendChart .legend span:nth-child(1) i { background: #1f5fae !important; }
html[data-d2c-theme="light"] .detailedTrendChart .legend span:nth-child(2) i { background: #684c22 !important; }
html[data-d2c-theme="light"] .detailedTrendChart .legend span:nth-child(3) i { background: #a23225 !important; }
html[data-d2c-theme="light"] :is(.snsMainTrend,.snsReadableGraph,.snsSignal,.snsStory,.snsRawDetails,.snsCouponDisclosure,.snsPhaseCard,.snsCompareChart,.snsSelectedCoupon) {
  background: #fff !important;
  color: #202223 !important;
  border-color: #d5d9dc !important;
}
html[data-d2c-theme="light"] :is(.snsSectionIntro h3,.snsMainHead h3,.snsStoryTop h3,.snsSignalValue,.snsPhaseCard b,.snsPhaseCard>strong,.snsSelectedCoupon strong) { color: #202223 !important; }
html[data-d2c-theme="light"] :is(.snsSectionIntro p,.snsMainHead p,.snsChartHint,.snsPlotHeader small,.snsPlotFoot,.snsInsightNote,.snsSignal>span,.snsSignal>small,.snsSignalValue em,.snsPhaseHeading small,.snsPhaseCard>span,.snsPhaseCard>small,.snsImpactCaveat,.snsRawDetails summary span,.snsCouponDisclosure summary span,.snsCompareChart small) { color: #616161 !important; }
html[data-d2c-theme="light"] .snsEyebrow { color: #315f83 !important; }
html[data-d2c-theme="light"] .snsPeriodTag { color: #343a3e !important; border-color: #8a8f94 !important; }
html[data-d2c-theme="light"] :is(.snsSignal,.snsMetricSwitch,.snsModeSwitch,.snsEventChip,.snsCompareChart) { border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] .snsPositive { color: #006b52 !important; }
html[data-d2c-theme="light"] .snsNegative { color: #a1261d !important; }
html[data-d2c-theme="light"] .snsNoBaseline { color: #50616b !important; }
html[data-d2c-theme="light"] .snsMainTrend { background: #fff !important; }
html[data-d2c-theme="light"] :is(.snsMetricSwitch,.snsModeSwitch) button { background: #fff !important; color: #343a3e !important; border-color: #8a8f94 !important; }
html[data-d2c-theme="light"] :is(.snsMetricSwitch,.snsModeSwitch) button.active { background: #008060 !important; border-color: #008060 !important; color: #fff !important; }
html[data-d2c-theme="light"] .snsReadableGraph { background: #f6f7f8 !important; border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] .snsPlotHeader span { color: #202223 !important; }
html[data-d2c-theme="light"] .snsLineSwatch { background: #2c6ecb !important; }
html[data-d2c-theme="light"] .snsCouponDot { background: #8a4b08 !important; }
html[data-d2c-theme="light"] :is(.snsSelectedCoupon,.snsEventChip.selected) { background: #fff4df !important; color: #754300 !important; border-color: #dfbd7d !important; }
html[data-d2c-theme="light"] .snsSelectedCoupon strong,
html[data-d2c-theme="light"] .snsEventChip.selected strong { color: #754300 !important; }
html[data-d2c-theme="light"] .snsEventChip { background: #fff !important; color: #343a3e !important; border-color: #d5d9dc !important; }
html[data-d2c-theme="light"] .snsEventChip strong { color: #202223 !important; }
html[data-d2c-theme="light"] .snsEventChip small { color: #616161 !important; }
html[data-d2c-theme="light"] .snsPhaseCard:nth-child(1) { border-top: 3px solid #2c6ecb !important; }
html[data-d2c-theme="light"] .snsPhaseCard:nth-child(2) { background: #fff !important; border: 1px solid #d5d9dc !important; border-top: 3px solid #8a4b08 !important; }
html[data-d2c-theme="light"] .snsPhaseCard:nth-child(3) { border-top: 3px solid #008060 !important; }
html[data-d2c-theme="light"] .snsPhaseCard em { color: #315f83 !important; }
html[data-d2c-theme="light"] .snsCompareBar { background: #2c6ecb !important; }
html[data-d2c-theme="light"] .snsCompareChart>div:nth-child(2) .snsCompareBar { background: #8a4b08 !important; }
html[data-d2c-theme="light"] .snsCompareChart>div:nth-child(3) .snsCompareBar { background: #008060 !important; }
html[data-d2c-theme="light"] :is(.snsRawDetails,.snsCouponDisclosure) summary { color: #202223 !important; }
html[data-d2c-theme="light"] .snsRawDetails { background: #fff !important; }
html[data-d2c-theme="light"] .snsMainTrend .snsInsightNote { color: #616161 !important; }

/* Dark mode uses the same semantic roles on quiet charcoal surfaces. */
html[data-d2c-theme="dark"] body,
html[data-d2c-theme="dark"] #app,
html[data-d2c-theme="dark"] .main { background: var(--d2c-canvas) !important; color: var(--d2c-text) !important; }
html[data-d2c-theme="dark"] :is(.sidebar,.top,#nav) {
  background: var(--dark-nav) !important; color: var(--d2c-text) !important;
  border-color: var(--d2c-border) !important; backdrop-filter: none !important;
}
html[data-d2c-theme="dark"] .sidebar { background: var(--dark-sidebar) !important; }
html[data-d2c-theme="dark"] :is(button,input,select,textarea,summary) { border-color: var(--d2c-control-border) !important; }
html[data-d2c-theme="dark"] :is(input,select,textarea) { background: var(--d2c-surface-field) !important; color: var(--d2c-text) !important; }
html[data-d2c-theme="dark"] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline-color: var(--d2c-focus) !important; }
html[data-d2c-theme="dark"] :is(button.primary,.pipeRoot .pipePrimary) {
  background: var(--dark-action) !important; border-color: #7095bd !important; color: #fff !important;
}
html[data-d2c-theme="dark"] :is(button.primary,.pipeRoot .pipePrimary):hover:not(:disabled) { background: var(--dark-action-hover) !important; }
html[data-d2c-theme="dark"] #app .navbtn.active,
html[data-d2c-theme="dark"] #app .navbtn.active:hover,
html[data-d2c-theme="dark"] #app[data-sidebar-collapsed] .navbtn.active {
  background: #203b59 !important;
  border: 1px solid #78b8d6 !important;
  color: #edf5fb !important;
  box-shadow: none !important;
}
html[data-d2c-theme="dark"] #app .navbtn.active::before { display: none !important; }
html[data-d2c-theme="dark"] #app .navbtn.active .ico { color: #a9def1 !important; }
html[data-d2c-theme="dark"] #app>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="dark"] #app>.sidebar #nav .navbtn.active,
html[data-d2c-theme="dark"] #app[data-sidebar-collapsed]>.sidebar #clientList .navbtn.active,
html[data-d2c-theme="dark"] #app[data-sidebar-collapsed]>.sidebar #nav .navbtn.active {
  background: #203b59 !important;
  border: 1px solid #78b8d6 !important;
  color: #edf5fb !important;
  box-shadow: none !important;
}
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav,.managerTabs) {
  background: #1b2d43 !important; border-color: #3a506a !important;
}
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav,.managerTabs) button:is(.active,.on,[aria-pressed="true"]) {
  background: #365f8d !important; border-color: #7095bd !important; color: #fff !important; box-shadow: none !important;
}
html[data-d2c-theme="dark"] .mobileSheetItem.selected { background: #203b59 !important; border-color: #78b8d6 !important; color: #edf5fb !important; box-shadow: none !important; }
html[data-d2c-theme="dark"] .rptModernSpark { color: var(--d2c-chart-sales) !important; }
html[data-d2c-theme="dark"] .rptModernSpark.profit { color: var(--d2c-chart-profit) !important; }
html[data-d2c-theme="dark"] .rptModernSpark.tacos { color: var(--d2c-chart-tacos) !important; }
html[data-d2c-theme="dark"] .rptModernCustom { background: var(--dark-panel) !important; border-color: var(--dark-border) !important; }
html[data-d2c-theme="dark"] .rptModernCustom label,html[data-d2c-theme="dark"] .rptModernPeriod { color: var(--dark-secondary) !important; }
html[data-d2c-theme="dark"] .rptModernCustom input { background: var(--dark-field) !important; color: var(--dark-text) !important; border-color: var(--dark-control-border) !important; color-scheme: dark; }
html[data-d2c-theme="dark"] .rptModernCustom button { background: var(--dark-action) !important; border-color: #7095bd !important; color: #fff !important; }
html[data-d2c-theme="dark"] .rptModernCustom button:hover { background: var(--dark-action-hover) !important; }

@media (prefers-reduced-motion: reduce) {
  html[data-d2c-theme] :is(button,.navbtn,.mobileSheetItem,.rptModernCard,.rptModernPoint) { transition: none !important; }
}

/* Source: grouped-navigation.css */
/* Two-level navigation: choose a section, then a destination. */
#app>.sidebar #nav{display:block;min-width:0;overflow:hidden}
.navDesktopPanel{display:grid;gap:7px;min-width:0}
.navMobileBar{display:none}
@media(min-width:761px){
 #app:not([data-sidebar-collapsed])>.sidebar #clientList{display:grid;gap:8px;margin:0}
 #app:not([data-sidebar-collapsed])>.sidebar #clientList>.navbtn{margin:0!important}
 #app:not([data-sidebar-collapsed])>.sidebar #addClient{margin:8px 0 0!important}
}
.navLayerHeading{padding:8px 10px 7px;border-bottom:1px solid var(--d2c-border);margin-bottom:4px}
.navLayerHeading>strong{display:block;color:var(--d2c-text);font-size:12px;letter-spacing:.02em}
.navLayerHeading>small{display:block;margin-top:3px;color:var(--d2c-muted);font-size:10px;line-height:1.35}
.navBack{width:100%;min-height:38px!important;padding:6px 10px!important;display:flex;align-items:center;gap:8px;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:var(--d2c-secondary)!important;text-align:left;font-size:11px;font-weight:700;cursor:pointer}
.navBack:hover{background:var(--d2c-surface-raised)!important;color:var(--d2c-text)!important}
.navBack .navBackIcon{font-size:18px;line-height:1;color:var(--d2c-action)}
.navSectionHeader{display:flex;align-items:center;gap:10px;margin:3px 0 5px;padding:8px 10px 11px;border-bottom:1px solid var(--d2c-border)}
.navSectionHeader .navSectionIcon{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:10px;background:var(--d2c-surface-raised);color:var(--d2c-action)}
.navSectionIcon svg{width:19px;height:19px;display:block}
.navSectionHeader strong{display:block;color:var(--d2c-text);font-size:14px}
.navSectionHeader small{display:block;margin-top:2px;color:var(--d2c-muted);font-size:10px;line-height:1.35}
.navCategoryList,.navPageList{display:grid;gap:8px;min-width:0}
#app>.sidebar #nav .navCategoryButton{position:relative;box-sizing:border-box;width:100%;min-width:0;min-height:56px;height:auto!important;margin:0;padding:8px 10px!important;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--d2c-border)!important;border-radius:12px!important;background:var(--d2c-surface)!important;color:var(--d2c-text)!important;text-align:left;cursor:pointer;box-shadow:0 1px 3px #1018200a;transition:background .16s,border-color .16s,transform .16s}
#app>.sidebar #nav .navCategoryButton:hover{background:var(--d2c-surface-raised)!important;border-color:var(--d2c-control-border)!important;transform:translateY(-1px)}
.navCategoryIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:transparent;color:var(--d2c-text)}
.navCategoryIcon svg{display:block;width:22px;height:22px}
.navCategoryText{min-width:0;display:grid;gap:3px}
.navCategoryName{font-size:12px;font-weight:750;line-height:1.15}
.navCategoryDescription{color:var(--d2c-muted);font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.navCategoryMeta{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--d2c-muted);font-size:10px;white-space:nowrap}
.navCategoryChevron{font-size:19px;line-height:1;color:var(--d2c-muted)}
#app>.sidebar #nav .navPageButton{box-sizing:border-box;width:100%;height:auto!important;min-height:42px!important;margin:0!important;padding:8px 11px!important;display:flex;align-items:center;gap:10px;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:var(--d2c-secondary)!important;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
#app>.sidebar #nav .navPageButton:hover{background:var(--d2c-surface-raised)!important;border-color:var(--d2c-border)!important;color:var(--d2c-text)!important}
#app>.sidebar #nav .navPageButton.active{border-color:var(--d2c-border)!important;background:var(--d2c-surface-raised)!important;color:var(--d2c-text)!important;box-shadow:none!important}
#app>.sidebar #nav .navPageButton .ico{width:20px;min-width:20px;flex:0 0 20px;display:grid;place-items:center;color:var(--d2c-muted)}
#app>.sidebar #nav .navPageButton .ico svg{display:block;width:18px;height:18px}
#app>.sidebar #nav .navPageButton.active .ico{color:var(--d2c-action)!important}
#app>.sidebar #nav .navDesktopName{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.navCurrentMark{width:7px;height:7px;flex:none;border-radius:50%;background:var(--d2c-action)}
.navPageBadge{flex:none;margin-left:auto}
.navBack:focus-visible,#app>.sidebar #nav .navCategoryButton:focus-visible,#app>.sidebar #nav .navPageButton:focus-visible,.navMobileBar button:focus-visible{outline:2px solid var(--d2c-focus)!important;outline-offset:2px}
html[data-d2c-theme="light"] #app>.sidebar #nav .navCategoryButton{box-shadow:0 1px 3px #2022230a}
html[data-d2c-theme="dark"] #app>.sidebar #nav .navCategoryButton{box-shadow:0 1px 3px #0002}
@media(min-width:761px){#app:not([data-sidebar-collapsed])>.sidebar #nav .navCategoryButton.current{border-color:var(--d2c-focus)!important;background:var(--d2c-surface)!important;color:var(--d2c-text)!important}}
@media(min-width:761px){
 #app>.sidebar #nav{flex:1 1 auto;min-height:0;overflow:hidden}
 #app[data-sidebar-collapsed]>.sidebar #nav{align-items:stretch}
 #app[data-sidebar-collapsed]>.sidebar #nav .navDesktopPanel{width:100%;align-content:start;justify-items:center;gap:6px}
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageList{box-sizing:border-box;width:100%;justify-items:center}
 #app[data-sidebar-collapsed]>.sidebar #nav .navLayerHeading,
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryText,
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryMeta,
 #app[data-sidebar-collapsed]>.sidebar #nav .navDesktopName,
 #app[data-sidebar-collapsed]>.sidebar #nav .navCurrentMark{display:none!important}
 #app[data-sidebar-collapsed]>.sidebar #nav .navSectionHeader,
 #app[data-sidebar-collapsed]>.sidebar #nav .navBack>span:not(.navBackIcon){display:none!important}
 #app[data-sidebar-collapsed]>.sidebar #nav .navBack,
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryButton,
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageButton{width:44px;min-width:44px;height:44px!important;min-height:44px!important;padding:0!important;display:flex;align-items:center;justify-content:center;gap:0;border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;color:var(--d2c-secondary)!important;box-shadow:none!important}
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryButton.current{border-color:var(--d2c-focus)!important;background:var(--d2c-surface)!important;color:var(--d2c-text)!important}
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageButton.active{border-color:var(--d2c-border)!important;background:var(--d2c-surface-raised)!important;color:var(--d2c-text)!important}
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryIcon{width:22px;height:22px;background:transparent;color:inherit}
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryIcon svg,
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageButton .ico svg{width:20px;height:20px}
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageButton .ico{width:22px;min-width:22px;flex:0 0 22px;margin:0;color:inherit}
 #app[data-sidebar-collapsed]>.sidebar #nav .navBack .navBackIcon{font-size:21px}
 #app[data-sidebar-collapsed]>.sidebar #nav .navCategoryButton:hover,
 #app[data-sidebar-collapsed]>.sidebar #nav .navPageButton:hover{background:var(--d2c-surface-raised)!important;border-color:var(--d2c-border)!important;color:var(--d2c-text)!important}
}
@media(max-width:760px){
 #app>.sidebar #nav{display:block;position:fixed;z-index:50;left:0;right:0;bottom:0;width:100%;height:var(--mobile-bottom,70px);margin:0;padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px));box-sizing:border-box;border-top:1px solid var(--d2c-border);border-radius:0;background:var(--d2c-surface);backdrop-filter:blur(18px);box-shadow:0 -8px 24px #0002;overflow:visible}
 .navDesktopPanel{display:none!important}
 .navMobileBar{height:100%;display:flex;align-items:stretch;justify-content:space-around;gap:4px}
 .navMobileBar .navCategoryButton{position:relative;flex:1 1 0;min-width:0;height:100%;min-height:48px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--d2c-secondary);cursor:pointer}
 .navMobileBar .navCategoryButton.current{border-color:var(--d2c-focus);background:var(--d2c-surface);color:var(--d2c-text)}
 .navMobileBar .navCategoryIcon{width:auto;height:auto;background:transparent;color:inherit}
 .navMobileBar .navCategoryIcon svg{width:19px;height:19px}
 .navMobileBar .navCategoryName{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.1;font-weight:700}
 .navMobileBar .navCategoryDescription,.navMobileBar .navCategoryMeta{display:none}
 .navMobileBar .navPageBadge{position:absolute;top:3px;right:calc(50% - 20px);margin:0;min-width:16px;height:16px;padding:0 4px;font-size:9px}
 .navMobileBar .navPageBadge[hidden]{display:none}
 #mobileSheetContent .mobileNavIntro{margin:0 0 10px;color:var(--d2c-muted);font-size:12px;line-height:1.45}
 #mobileSheetContent.mobileSheetContent{display:flex!important;flex-direction:column;gap:8px;max-height:none!important;overflow-y:auto!important;padding:0 2px 6px}
 #mobileSheetContent .mobileMenuCategory{width:100%;min-height:60px;flex:0 0 auto;margin:0;padding:8px 11px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;border:1px solid var(--d2c-border);border-radius:12px;background:var(--d2c-surface);color:var(--d2c-text);cursor:pointer}
 #mobileSheetContent .mobileMenuCategory.current{border-color:var(--d2c-focus);background:var(--d2c-surface)}
  #mobileSheetContent .mobileMenuCategory:hover{background:var(--d2c-surface-raised)}
 .mobileMenuCategoryIcon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:transparent;color:var(--d2c-text)}
 .mobileMenuCategoryIcon svg{width:22px;height:22px}
 .mobileMenuCategoryText{min-width:0;display:grid;gap:4px}
 .mobileMenuCategoryText strong{font-size:13px}
 .mobileMenuCategoryText small{color:var(--d2c-muted);font-size:11px;line-height:1.3}
 .mobileMenuCategoryMeta{display:flex;align-items:center;gap:7px;color:var(--d2c-muted);font-size:11px;white-space:nowrap}
 #mobileSheetContent .mobileCategoryBack{width:100%;min-height:40px;margin:0;padding:7px 9px;display:flex;align-items:center;gap:8px;border:0;border-radius:10px;background:transparent;color:var(--d2c-secondary);font-size:12px;font-weight:700;text-align:left;cursor:pointer}
 .mobileCategoryBack span:first-child{font-size:18px;color:var(--d2c-action)}
 .mobileCategoryIntro{display:flex;align-items:center;gap:10px;margin:0;padding:9px 10px;border-bottom:1px solid var(--d2c-border)}
 .mobileCategoryIntro .mobileMenuCategoryIcon{width:34px;height:34px;flex:0 0 34px}
 .mobileCategoryIntro div{min-width:0}
 .mobileCategoryIntro strong{display:block;color:var(--d2c-text);font-size:14px}
 .mobileCategoryIntro small{display:block;margin-top:2px;color:var(--d2c-muted);font-size:10px;line-height:1.3}
 #mobileSheetContent .mobilePageLink{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:52px;margin:0;padding:9px 11px;border:1px solid var(--d2c-border);border-radius:11px;background:var(--d2c-surface);color:var(--d2c-text);text-align:left;cursor:pointer}
 #mobileSheetContent .mobilePageLink.selected{border-color:var(--d2c-action);background:var(--d2c-surface-raised)}
 .mobilePageIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--d2c-surface-raised);color:var(--d2c-action)}
 .mobilePageIcon svg{width:18px;height:18px}
 .mobilePageText{min-width:0;display:grid;gap:2px}
 .mobilePageText strong{font-size:12px;line-height:1.2}
 .mobilePageText small{color:var(--d2c-muted);font-size:10px;line-height:1.3}
 .mobilePageArrow{color:var(--d2c-muted);font-size:18px}
 #mobileSheetFooter{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6px;padding-top:8px}
 .mobileSheetAppearance{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px}
 .mobileSheetFooter>.mobileSheetItem{width:100%;min-height:38px;margin:0;padding:6px 9px}
 html[data-d2c-theme="light"] #app>.sidebar #nav{box-shadow:0 -5px 18px #20222312}
}

/* Keep the collapsed icon rail compact and give client controls deliberate breathing room. */
@media(min-width:761px){
 #app[data-sidebar-collapsed]>.sidebar{height:fit-content;min-height:0;align-self:flex-start}
 #app[data-sidebar-collapsed]>.sidebar #nav::before{margin:14px auto 14px!important}
 #app:not([data-sidebar-collapsed])>.sidebar #addClient{box-sizing:border-box;min-height:34px!important;margin:10px 0 14px!important;padding:7px 12px!important;border-radius:12px!important}
}

/* Source: wide-screen-layout.css */
/* Use wide monitors through more usable columns while keeping copy readable. */
@media (min-width: 1440px) {
  #app > .main {
    min-width: 0;
    flex: 1 1 auto;
  }

  #app > .main > .workspace,
  #app[data-sidebar-collapsed] > .main > .workspace {
    box-sizing: border-box;
    width: 100%;
    max-width: 3600px;
    margin-inline: auto;
    padding-inline: clamp(28px, 2vw, 72px);
  }

  body {
    font-size: clamp(14px, .38vw, 16px);
  }

  #page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }

  #page :is(.cmdRoot, .aevRoot, .integrationWorkspace, .checkinGuide, .uManager, .pipeRoot, .ptRoot, .dlyRoot, .opnRoot) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  #subtitle {
    max-width: 68ch;
  }

  #page :is(.reportDataContext, .rptModern, .executiveBrief, .detailedJumpNav, .chartpanel) {
    max-width: 100%;
    margin-inline: auto;
  }

  #page p {
    max-width: 82ch;
  }

  #page .overviewCompareGrid {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  #page .overviewCompareCard {
    width: 100%;
    max-width: 100%;
  }

  #page .executiveSignals {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  #page .chartCanvas {
    box-sizing: border-box;
    width: 100%;
    max-width: min(100%, 2600px);
    height: clamp(340px, 14vw, 520px);
    margin: 12px auto 0;
  }

  #page .chartCanvas canvas,
  #page .dlyCanvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
  }

  #page .dlyCanvas {
    box-sizing: border-box;
    width: 100%;
    max-width: min(100%, 2600px);
    height: clamp(360px, 15vw, 540px);
    margin-inline: auto;
  }

  #page .rptModernGrid {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    gap: 18px;
  }

  #page .rptModernCard {
    width: 100%;
    max-width: 100%;
  }

  #page .rptModernSpark {
    display: flex;
    min-height: clamp(160px, 8.5vw, 190px);
    align-items: center;
    justify-content: center;
  }

  #page .rptModernSpark svg {
    width: min(100%, 800px);
    height: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: 3 / 1;
  }

  #page .rptModern :is(.rptModernEyebrow, .rptModernCardTop > span, .rptModernCard small, .rptModernCard p, .rptModern > footer, header p) {
    font-size: clamp(12px, .3vw, 13px);
    line-height: 1.5;
  }

  #page .rptModernRange button,
  #page .rptModernCompareToggle {
    font-size: clamp(11px, .28vw, 13px);
  }

  #page :is(.snsSvgWrap, .snsReadableGraph) {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  #page .snsSvgPlot {
    display: block;
    width: 100%;
    max-width: min(100%, 2600px);
    max-height: 640px;
    margin-inline: auto;
  }

  #page .snsPlotScroll {
    width: 100%;
    max-width: min(100%, 2600px);
    margin-inline: auto;
  }

  #page .snsReadableSvg {
    width: 100%;
    max-width: min(100%, 2600px);
    height: auto;
    margin-inline: auto;
  }

  #page :is(.healthTrendSvg, .kpiDetailChart, .ptChart) {
    display: block;
    width: 100%;
    max-width: min(100%, 1600px);
    height: auto;
    max-height: none;
    margin-inline: auto;
  }

  #page .svgchart {
    display: block;
    width: 100%;
    max-width: min(100%, 2600px);
    height: auto;
    margin-inline: auto;
  }

  #page :is(.reportDataContext p, .rptModern header p, .rptModernCard p, .rptModernCard small, .rptModern > footer, .dlyGraphFoot, .dlyChartKeyboardHint) {
    max-width: 82ch;
  }
}

/* On ultra-wide layouts, use a third PPC target column instead of making
   two tables excessively wide. Copy keeps a readable measure through 82ch. */
@media (min-width: 2200px) {
  #page .ppcSegmentGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  #page .ppcSegmentScroll {
    max-height: 480px;
  }
}

/* Source: control-alignment.css */
/* Shared sizing and alignment for filters and date controls across the app. */
/* Keep select labels clear of the native chevron in both themes and at all widths. */
html[data-d2c-theme] #app select {
  padding-inline-start: 12px !important;
  padding-inline-end: 46px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keep long option labels clear of the native chevron on wide filters. */
@media (min-width: 1121px) {
  .aevFilters {
    grid-template-columns: minmax(120px, .65fr) minmax(200px, 1fr) minmax(260px, 1.8fr) minmax(260px, 1.3fr);
  }

  .aevFilters select[data-aev-filter="show"] {
    min-width: 260px;
  }
}

@media (max-width: 760px) {
  .aevFilters label:last-of-type {
    grid-column: 1 / -1;
  }
}

.amazonConnectionFreshness {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 9px 11px;
  border: 1px solid #7798bd47;
  border-radius: 10px;
  background: #172940;
  color: #a9bfd6;
  font-size: 11px;
}

.amazonConnectionFreshness strong {
  color: #dce9f8;
  font-size: 11px;
}

.amazonConnectionFreshness .spSyncError {
  flex-basis: 100%;
}

@media (min-width: 1280px) {
  #controls #rangeMode { min-width: 180px !important; }
  #controls #periodRange { min-width: 150px !important; }
  #controls #comparison { min-width: 245px !important; }
  #controls .periodLabel select { min-width: 170px; }
  .overviewCompareSelector select { min-width: 235px; }
  .dlyRangeSelect select { min-width: 230px; }
  .dlyCompareSelect select { min-width: 210px; }
}

html[data-d2c-theme] #app input[type="date"] {
  padding-inline-end: 14px !important;
}

@media (min-width: 761px) {
  #controls {
    align-items: center;
    gap: 10px;
  }

  #controls > select {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding-block: 0;
    line-height: 1.25;
  }

  #controls .seg {
    min-height: 44px;
    align-items: center;
    padding: 3px;
  }

  #controls .seg button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding-block: 0;
    line-height: 1.2;
  }

  #controls .periodLabel {
    min-height: 44px;
    gap: 9px;
    line-height: 1.2;
  }

  #controls .periodLabel select {
    height: 40px;
    min-height: 40px;
    padding-block: 0;
    line-height: 1.2;
  }

  #controls .singlePeriodControl {
    align-items: center;
    gap: 8px;
  }

  #controls .singlePeriodControl :is(button, select) {
    height: 44px;
    line-height: 1.2;
  }

  .detailedMetricsToolbar {
    align-items: center;
  }

  .detailTimeControls {
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
  }

  .detailTimeHeading {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    line-height: 1.2;
  }

  .detailTimeControls select {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    padding-block: 0;
    line-height: 1.2;
  }

  .detailTimeDates {
    align-items: center;
    gap: 8px;
  }

  .detailTimeDates span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    line-height: 1.2;
  }

  .detailTimeSpan {
    line-height: 1.45;
  }

  .chartControls {
    align-items: center;
    gap: 10px;
  }

  .chartControls :is(select, button) {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .chartControls label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    line-height: 1.25;
  }

  .dlyToolbar {
    align-items: center;
  }

  .dlySettings > summary {
    box-sizing: border-box;
    min-height: 42px;
    line-height: 1.2;
  }

  .dlyToolbarRight {
    align-items: center;
    gap: 10px;
  }

  .dlyDateControls {
    gap: 8px;
  }

  .dlyDateControls > button {
    box-sizing: border-box;
    height: 42px;
    display: grid;
    place-items: center;
    line-height: 1.1;
  }

  .dlyDateControls label {
    box-sizing: border-box;
    height: 42px;
    line-height: 1.2;
  }

  .dlyDateControls input[type="date"] {
    box-sizing: border-box;
    height: 31px;
    line-height: 1.2;
  }

  .dlyCompareSelect {
    min-height: 42px;
    line-height: 1.2;
  }

  .dlyCompareSelect select {
    box-sizing: border-box;
    height: 42px;
    line-height: 1.2;
  }

  .dlyLegend {
    line-height: 1.25;
  }

  .ptControls {
    align-items: center;
    gap: 10px;
  }

  .ptControls > label {
    min-height: 42px;
    line-height: 1.25;
  }

  .ptControls select {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    padding-block: 0;
    line-height: 1.2;
  }

  .kwFilterControls {
    gap: 10px;
  }

  .kwFilterControls :is(input, select, button) {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    line-height: 1.2;
  }

  .kwFilterControls select {
    padding-block: 0;
  }

  .kwFilterControls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .kwCategoryButton {
    line-height: 1.2;
  }

  .kwBulkToolbar {
    align-items: center;
    gap: 10px;
  }

  .kwBulkSelected {
    box-sizing: border-box;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .kwBulkToolbar :is(select, button) {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    line-height: 1.2;
  }

  .kwBulkToolbar select {
    padding-block: 0;
  }

  .kwBulkToolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.aevFilters {
  align-items: end;
  gap: 12px;
}

.aevFilters label {
  gap: 6px;
  line-height: 1.25;
}

.aevFilters select {
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding-block: 0;
  line-height: 1.2;
}

.aevPriorityFilters {
  align-items: center;
  gap: 8px;
}

.aevPriorityFilters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

@media (max-width: 1120px) {
  .aevFilters {
    align-items: stretch;
    gap: 9px;
  }
}

/* Source: client-marketplaces.css */
.clientMarketplaceField{
 grid-column:1/-1;min-width:0;padding:15px;border:1px solid var(--edge,#ffffff24);border-radius:14px;
 background:rgba(7,16,29,.18)
}
.clientMarketplaceHead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.clientMarketplaceHead>div>strong{display:block;font-size:14px}
.clientMarketplaceHead>div>p{margin:4px 0 0}
.clientPrimaryField{display:grid;gap:6px;min-width:210px}
.clientPrimaryField select{width:100%;min-height:38px}
.clientMarketplaceChoices{display:flex;flex-wrap:wrap;gap:8px}
.clientMarketplaceChoice{
 display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 11px;border:1px solid var(--edge,#ffffff26);
 border-radius:11px;background:rgba(255,255,255,.025);color:var(--tx,#f2f6ff);cursor:pointer;transition:background .15s,border-color .15s
}
.clientMarketplaceChoice:hover{border-color:rgba(139,197,255,.62);background:rgba(111,171,238,.09)}
.clientMarketplaceChoice:has(input:checked){border-color:rgba(127,202,229,.8);background:rgba(76,145,188,.2)}
.clientMarketplaceChoice input{appearance:auto;width:16px;height:16px;margin:0;padding:0;border:1px solid rgba(168,195,226,.7);border-radius:4px;background:transparent;accent-color:#79b8ef;flex:0 0 auto}
.clientMarketplaceNote{margin:11px 0 0;color:var(--soft,#aabbd2);font-size:12px;line-height:1.45}
@media(max-width:760px){
 .clientMarketplaceField{padding:12px}
 .clientMarketplaceHead{align-items:stretch;flex-direction:column;gap:10px}
 .clientPrimaryField{min-width:0;width:100%}
 .clientMarketplaceChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .clientMarketplaceChoice{min-width:0;padding:7px 9px;font-size:12px}
}
@media(max-width:420px){.clientMarketplaceChoices{grid-template-columns:minmax(0,1fr)}}

/* Source: marketplace-sales.css */
.nativeMarketCoverage{display:grid;gap:14px;margin:20px 0;padding:18px;border:1px solid var(--edge);border-radius:var(--r);background:linear-gradient(145deg,#ffffff10,#ffffff04 70%),rgba(22,35,53,.65)}
.nativeMarketCoverage h2{font-size:17px;margin:0 0 4px}
.nativeMarketCoverage>div:first-child>p{margin:0;color:var(--soft);font-size:12px}
.nativeMarketCoverageGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}
.nativeMarketCoverageCard{display:grid;gap:7px;min-width:0;padding:15px;border:1px solid #91aed036;border-radius:14px;background:#14243a}
.nativeMarketCoverageHead{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--soft);font-size:12px}
.nativeMarketCoverageHead strong{color:var(--tx);font-size:14px}
.nativeMarketCoverageHead span{padding:3px 8px;border:1px solid var(--edge);border-radius:999px;color:var(--soft);font-size:10px}
.nativeMarketCoverageValue{font-size:23px;letter-spacing:-.5px}
.nativeMarketCoverageCard>small{color:var(--soft);font-size:11px}
.nativeMarketCoverageCard>p{margin:4px 0;color:var(--soft);font-size:12px}
.nativeMarketCoverageMeta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 12px;color:var(--mut);font-size:10px}
@media(max-width:760px){.nativeMarketCoverage{padding:13px}.nativeMarketCoverageGrid{grid-template-columns:minmax(0,1fr)}}

/* Source: amazon-sp-marketplaces.css */
.spStatusLine label {
  display: grid;
  gap: 5px;
  min-width: min(100%, 260px);
  color: #b6cee5;
  font-size: 10px;
}

.spStatusLine select {
  min-height: 40px;
  min-width: 240px;
  max-width: 100%;
  font-size: 11px;
}

.spMarketplaceCoverage {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #7699bd47;
  border-radius: 11px;
  background: #172940;
}

.spMarketplaceCoverage h4 {
  margin: 0;
  color: #e4efff;
  font-size: 13px;
}

.spMarketplaceCoverage > p {
  margin: 0;
  max-width: 80ch;
  color: #9eb8d2;
  font-size: 10px;
  line-height: 1.5;
}

.spMarketplaceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 8px;
}

.spMarketCard {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #7996b84d;
  border-radius: 9px;
  background: #213750;
}

.spMarketCard.selected {
  border-color: #7ab8db;
  box-shadow: inset 0 0 0 1px #7ab8db38;
}

.spMarketCard > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.spMarketCard strong {
  color: #e7f1ff;
  font-size: 11px;
}

.spMarketCard > div span,
.spMarketCard > small {
  color: #a6bed7;
  font-size: 10px;
  line-height: 1.4;
}

.spMarketCard > small {
  overflow-wrap: anywhere;
}

.spMarketCard .spSourceState {
  flex: none;
  text-align: left;
}

@media (max-width: 760px) {
  .spStatusLine label,
  .spStatusLine select {
    width: 100%;
    min-width: 0;
  }

  .spMarketplaceGrid {
    grid-template-columns: 1fr;
  }
}

/* Source: top-toolbar-navigation.css */
/* Desktop workspace destinations live inside the sticky top toolbar.
   Preserve the existing mobile bottom navigation and role-scoped route model. */
@media (min-width:761px) {
  #app>.sidebar #reportsNavLabel,
  #app>.sidebar #nav { display:none!important; }
  #app>.sidebar #clientList { min-width:0; }
}

/* Some earlier workspace styles force the header to nowrap; a full-width
   navigation row must be allowed to wrap rather than overflow the viewport. */
@media (min-width:761px) {
  #app .main > .top { flex-wrap:wrap; align-content:start; }
  #app .main > .top > .row { min-width:0; }
  #app .main > .top > .topNavigation { order:3; flex:1 0 100%; }
}

.topNavigation {
  order:3;
  flex:0 0 100%;
  box-sizing:border-box;
  min-width:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  padding:10px 0 0;
  border-top:1px solid var(--d2c-border, rgba(130,160,190,.18));
}
.topNavMenu { position:relative; min-width:0; }
.topNavTrigger,
.topNavDirect {
  box-sizing:border-box;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  max-width:100%;
  padding:8px 13px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--d2c-secondary, #aabbd2);
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.topNavTrigger { list-style:none; }
.topNavTrigger::-webkit-details-marker { display:none; }
.topNavTrigger::marker { content:""; }
.topNavTrigger svg,
.topNavDirect svg { flex:none; width:18px; height:18px; }
.topNavChevron { margin-left:3px; font-size:14px; transition:transform .16s ease; }
.topNavMenu[open] .topNavChevron { transform:rotate(180deg); }
.topNavTrigger:hover,
.topNavDirect:hover,
.topNavMenu[open]>.topNavTrigger {
  background:var(--d2c-surface-raised, rgba(160,190,220,.1));
  color:var(--d2c-text, #f2f6ff);
  border-color:var(--d2c-control-border, rgba(150,180,210,.28));
}
.topNavMenu.current>.topNavTrigger,
.topNavDirect.current {
  background:var(--d2c-surface-raised, rgba(160,190,220,.1));
  color:var(--d2c-text, #f2f6ff);
  border-color:var(--d2c-focus, #6488a8);
}
.topNavDropdown {
  box-sizing:border-box;
  position:absolute;
  z-index:95;
  top:calc(100% + 8px);
  left:0;
  width:max-content;
  min-width:220px;
  max-width:min(340px, calc(100vw - 32px));
  padding:6px;
  display:grid;
  gap:3px;
  background:var(--d2c-surface, #172437);
  color:var(--d2c-text, #f2f6ff);
  border:1px solid var(--d2c-control-border, rgba(150,180,210,.28));
  border-radius:15px;
  box-shadow:0 18px 45px #0003;
}
.topNavMenu:last-child .topNavDropdown { left:auto; right:0; }
.topNavLink {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:43px;
  padding:9px 11px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--d2c-secondary, #aabbd2);
  text-align:left;
  font-family:inherit;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
}
.topNavLink svg { width:17px; height:17px; flex:none; }
.topNavLink:hover,
.topNavLink.current {
  background:var(--d2c-surface-raised, rgba(160,190,220,.1));
  color:var(--d2c-text, #f2f6ff);
}
.topNavLink.current { border-color:var(--d2c-border, rgba(150,180,210,.2)); }
.topNavTrigger:focus-visible,
.topNavDirect:focus-visible,
.topNavLink:focus-visible { outline:2px solid var(--d2c-focus, #77aacc); outline-offset:2px; }
@media (max-width:960px) and (min-width:761px) {
  .topNavigation { gap:3px; }
  .topNavTrigger,.topNavDirect { padding:8px 9px; font-size:11.5px; }
}
@media (max-width:760px) {
  .topNavigation { display:none!important; }
}

/* Account-first toolbar: no duplicated desktop sidebar or demo badge. */
@media(min-width:761px){
 #app{gap:0!important}
 #app>.sidebar{display:none!important}
 #app>.main{flex:1 1 100%;width:100%;min-width:0}
 #app>.main>.workspace{width:100%;max-width:none}
 #app>.main>.top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
}
.topAccountHeader{min-width:0;display:flex;align-items:center;gap:14px}
.topBrand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:850;letter-spacing:-.5px;font-size:17px;color:var(--d2c-text,#eef5ff)}
.topBrand .d2cMark{width:29px;height:29px;flex:none}
.topAccountMenu{min-width:0;position:relative}
.topAccountTrigger{min-height:41px;list-style:none;display:flex;align-items:center;gap:10px;padding:6px 12px;border:1px solid var(--d2c-control-border,#536780);background:var(--d2c-surface-raised,#192b40);border-radius:12px;cursor:pointer;color:var(--d2c-text,#eef5ff)}
.topAccountTrigger::marker{content:""}
.topAccountTrigger::-webkit-details-marker{display:none}
.topAccountTrigger:hover,.topAccountMenu[open]>.topAccountTrigger{border-color:var(--d2c-focus,#84b3dc);background:var(--d2c-surface,#263b50)}
.topDataTag{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--d2c-secondary,#b3c9df)}
.topAccountSelected{max-width:min(280px,36vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.topAccountChevron{font-size:16px;transition:transform .18s}
.topAccountMenu[open] .topAccountChevron{transform:rotate(180deg)}
.topAccountDropdown{position:absolute;left:0;top:calc(100% + 7px);z-index:100;box-sizing:border-box;width:max-content;min-width:250px;max-width:min(400px,calc(100vw - 30px));padding:7px;display:grid;gap:3px;background:var(--d2c-surface,#18283b);border:1px solid var(--d2c-control-border,#536780);border-radius:14px;box-shadow:0 16px 40px #0004;max-height:min(60vh,530px);overflow-y:auto}
.topAccountDropdownTitle{font-size:10px;font-weight:750;padding:8px 10px;color:var(--d2c-muted,#99acc1);text-transform:uppercase;letter-spacing:.07em}
.topAccountOption{width:100%;min-height:43px;display:flex;gap:12px;justify-content:space-between;align-items:center;text-align:left;box-sizing:border-box;padding:9px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--d2c-text,#edf5ff);cursor:pointer}
.topAccountOption:hover,.topAccountOption.selected{background:var(--d2c-surface-raised,#243c56)}
.topAccountOption.selected{border-color:var(--d2c-border,#4b6d89)}
.topAccountOptionText{display:grid;gap:3px;min-width:0}
.topAccountOptionText strong{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.topAccountOptionText small{font-size:10px;color:var(--d2c-muted,#9caec2)}
.topAccountCheck{color:var(--d2c-action,#75aadd)}
.topAccountDivider,.topNavDropdownDivider{height:1px;margin:6px 5px;background:var(--d2c-border,#3b5065)}
.topAccountPlus{font-size:20px;line-height:1}
.topAccountEmpty{padding:10px;font-size:12px;color:var(--d2c-muted,#9caec2)}
.topAccountTrigger:focus-visible,.topAccountOption:focus-visible{outline:2px solid var(--d2c-focus,#7db6e0);outline-offset:2px}
@media(max-width:760px){
 .topAccountHeader,.topUserControls .topBrand{display:none!important}
 .topAccountMenu{display:none}
}


/* Unified desktop header. The five workspace destinations share the SAME row
   as brand/account and user controls when enough horizontal space is available.
   Keep the old two-row fallback for smaller laptops and the original mobile UI. */
@media (min-width:1280px) {
 #app > .main > .top {
   display:flex;
   flex-flow:row nowrap;
   align-items:center;
   justify-content:flex-start;
   column-gap:14px;
   min-height:68px;
   box-sizing:border-box;
 }
 #app > .main > .top > .topAccountHeader {
   order:1;
   flex:0 1 auto;
   min-width:0;
 }
 #app > .main > .top > .topNavigation {
   order:2;
   flex:1 1 auto;
   min-width:0;
   display:flex;
   flex-flow:row nowrap;
   align-items:center;
   justify-content:flex-start;
   gap:clamp(3px,.45vw,10px);
   border-top:0;
   border-left:1px solid var(--d2c-border, rgba(130,160,190,.28));
   padding:0 0 0 14px;
   margin:0;
 }
 #app > .main > .top > .topUserControls {
   order:3;
   flex:0 0 auto;
   margin-left:auto;
   min-width:0;
   justify-content:flex-end;
 }
 #app > .main > .top .topNavTrigger,
 #app > .main > .top .topNavDirect {
   min-height:39px;
   padding:8px clamp(8px,.58vw,13px);
 }
}
@media (min-width:1280px) and (max-width:1550px) {
 #app > .main > .top { column-gap:9px; padding-inline:12px; }
 #app > .main > .top > .topNavigation { padding-left:10px; }
 #app > .main > .top .topBrand { font-size:14px; }
 #app > .main > .top .topNavTrigger,
 #app > .main > .top .topNavDirect { padding:7px 8px; font-size:11px; gap:5px; }
 #app > .main > .top .topAccountHeader { gap:8px; }
 #app > .main > .top #userLabel { display:none; }
}
@media (min-width:761px) and (max-width:1279px) {
 #app > .main > .top {
   display:flex;
   flex-flow:row wrap;
   align-items:center;
   justify-content:space-between;
   row-gap:10px;
 }
 #app > .main > .top > .topAccountHeader { order:1; flex:0 1 auto; }
 #app > .main > .top > .topUserControls { order:2; flex:0 1 auto; }
 #app > .main > .top > .topNavigation {
   order:3;
   flex:1 0 100%;
   border-top:1px solid var(--d2c-border, rgba(130,160,190,.2));
   border-left:0;
   padding:9px 0 0;
   margin:0;
 }
}

/* Fill wide displays instead of centering reports inside an old 1740px cap.
   Align dashboard content with the toolbar's inner 32px padding. */
@media (min-width:761px) {
 #app > .main > .workspace,
 #app[data-sidebar-collapsed] > .main > .workspace {
   box-sizing:border-box;
   width:100% !important;
   max-width:none !important;
   margin:0 !important;
   padding:clamp(22px,1.6vw,34px) 32px 68px !important;
 }
 #app > .main > .workspace > .header,
 #app > .main > .workspace > #page {
   box-sizing:border-box;
   width:100%;
   max-width:none;
   min-width:0;
   margin-inline:0;
 }
 #app > .main > .workspace #page > .chartpanel,
 #app > .main > .workspace #page > .glass,
 #app > .main > .workspace #page > .tablewrap {
   max-width:100%;
   min-width:0;
   box-sizing:border-box;
 }
 #app > .main > .workspace .chartpanel,
 #app > .main > .workspace .chartCanvas {
   box-sizing:border-box;
   width:100%;
   max-width:none;
   min-width:0;
 }
 #app > .main > .workspace .chartCanvas > canvas {
   display:block;
   max-width:100%;
 }
}
@media (min-width:1600px) {
 #app > .main > .workspace .kpis {
   grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
   align-items:stretch;
 }
 #app > .main > .workspace .chartCanvas {
   height:clamp(300px,23vw,435px);
 }
}
@media (min-width:761px) and (max-width:920px) {
 #app > .main > .workspace,
 #app[data-sidebar-collapsed] > .main > .workspace {
   padding:20px 19px 55px !important;
 }
}

/* Source: sqpr-brand-range.css */
/* Dedicated Brand Performance range, without adding duplicate KPI rows */
.sqprBrandRange .sqprBrandRangeTop{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:9px}
.sqprBrandRange .sqprBrandRangeHeading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.sqprBrandRange .sqprBrandRangeHeading h2{font-size:19px;margin:0;color:inherit;line-height:1.25}
.sqprBrandRange .sqprBrandRangeControls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.sqprBrandRange .sqprBrandRangeControls label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:11px;color:var(--d2c-secondary,#b4c8dc)}
.sqprBrandRange .sqprBrandRangeControls select{min-width:138px;max-width:200px;min-height:39px;border:1px solid var(--d2c-control-border,#64809b);border-radius:10px;padding:7px 10px;background:var(--d2c-surface-raised,#18334d);color:var(--d2c-text,#eaf1fc);font:inherit;font-size:12px;cursor:pointer}
.sqprBrandRange .sqprBrandRangeControls select:focus-visible{outline:2px solid var(--d2c-focus,#90bce9);outline-offset:2px}
.sqprBrandRange .sqprBrandRangeDash{font-size:16px;padding-bottom:8px;color:var(--d2c-muted,#aabdd0)}
.sqprBrandRange .sqprBrandRangeCaption{font-size:11px;margin:0 0 14px;color:var(--d2c-muted,#a8bed3)}
.sqprBrandRange .sqprBrandRangeMethod{font-size:10px;margin-top:9px;color:var(--d2c-muted,#96b1cd);line-height:1.45}
.sqprBrandRange .sqprBrandRangeFoot{font-size:10px;line-height:1.5;color:var(--d2c-muted,#a6bad0);margin:13px 0 0}
.sqprBrandRange .sqprBrandRangeUnavailable{font-size:12px;color:var(--d2c-muted,#a6bad0)}
html[data-d2c-theme="light"] .sqprBrandRange .sqprBrandRangeControls label{color:#476078}
html[data-d2c-theme="light"] .sqprBrandRange .sqprBrandRangeControls select{background:#fff;color:#223a50;border-color:#cbd8e5}
html[data-d2c-theme="light"] .sqprBrandRange .sqprBrandRangeCaption,
html[data-d2c-theme="light"] .sqprBrandRange .sqprBrandRangeMethod,
html[data-d2c-theme="light"] .sqprBrandRange .sqprBrandRangeFoot{color:#596c7c}
@media(max-width:760px){
 .sqprBrandRange .sqprBrandRangeHeading h2{font-size:16px}
 .sqprBrandRange .sqprBrandRangeTop{align-items:stretch;flex-direction:column}
 .sqprBrandRange .sqprBrandRangeControls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:end}
 .sqprBrandRange .sqprBrandRangeControls label{min-width:0}
 .sqprBrandRange .sqprBrandRangeControls select{min-width:0;max-width:none;width:100%;font-size:16px}
 .sqprBrandRange .sqprBrandRangeDash{padding-bottom:8px}
}

/* Source: sqpr-volume-trends.css */
/* SQPR query search-volume drilldown */
.sqprVolumeLink {
 border:1px solid transparent!important;
 background:transparent!important;
 border-radius:8px!important;
 color:var(--d2c-action, #78a6e5)!important;
 padding:5px 7px!important;
 margin:-5px -7px;
 display:inline-flex;align-items:center;gap:7px;justify-content:flex-end;
 font:inherit;font-weight:750;cursor:pointer;white-space:nowrap
}
.sqprVolumeLink:hover,.sqprVolumeLink:focus-visible{
 background:var(--d2c-surface-raised, #253c58)!important;
 border-color:var(--d2c-control-border, #7294b9)!important;
 color:var(--d2c-text, #eff5ff)!important
}
.sqprVolumeLink:focus-visible{outline:2px solid var(--d2c-focus, #5a98d8);outline-offset:2px}
.sqprVolumeLinkIcon{font-size:12px;line-height:1}
.sqprVolumeDialog{
 position:fixed;
 margin:auto;
 box-sizing:border-box;
 width:min(920px,calc(100vw - 24px));
 max-width:920px;
 max-height:min(88vh,900px);
 padding:0;
 overflow:auto;
 overscroll-behavior:contain;
 color:var(--d2c-text, #172a3e);
 background:var(--d2c-surface, #ffffff);
 border:1px solid var(--d2c-control-border, #cbd7e6);
 border-radius:20px;
 box-shadow:0 26px 90px #0005;
}
.sqprVolumeDialog::backdrop{background:rgba(9,18,33,.7);backdrop-filter:blur(4px)}
.sqprVolumeShell{padding:24px;display:grid;gap:20px}
.sqprVolumeHeader{display:flex;align-items:start;justify-content:space-between;gap:12px}
.sqprVolumeEyebrow{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:var(--d2c-secondary, #6984a0)}
.sqprVolumeHeader h2{font-size:23px;line-height:1.22;overflow-wrap:anywhere;margin:5px 0;font-weight:800;color:var(--d2c-text,#172a3e)}
.sqprVolumeHeader p{color:var(--d2c-muted, #738398);font-size:12px;margin:0}
.sqprVolumeClose{border-radius:12px!important;font-size:24px!important;line-height:1;flex:none;width:42px;height:42px;padding:0!important;display:grid;place-items:center}
.sqprVolumeStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sqprVolumeStats>div{min-width:0;display:grid;gap:4px;border:1px solid var(--d2c-border, #d8e3ed);background:var(--d2c-surface-raised,#f4f7fb);border-radius:13px;padding:13px}
.sqprVolumeStats span{font-size:11px;color:var(--d2c-muted,#718196)}
.sqprVolumeStats strong{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--d2c-text,#172a3e)}
.sqprVolumeStats small{font-size:10px;color:var(--d2c-secondary,#72849b)}
.sqprVolumeGraph{height:285px;position:relative;border:1px solid var(--d2c-border,#d8e3ed);background:var(--d2c-surface-raised,#f4f7fb);border-radius:14px;padding:12px}
.sqprVolumeGraph canvas{width:100%!important;height:100%!important}
.sqprVolumeGraphFallback{padding:50px 12px;text-align:center;color:var(--d2c-muted,#718196)}
.sqprVolumeHistoryHead{display:flex;gap:12px;justify-content:space-between;align-items:center}
.sqprVolumeHistoryHead h3{font-size:15px;margin:0;color:var(--d2c-text,#172a3e)}
.sqprVolumeHistoryHead span{color:var(--d2c-muted,#718196);font-size:11px}
.sqprVolumeHistoryTable{max-height:310px;overflow:auto;border:1px solid var(--d2c-border,#d8e3ed);border-radius:12px}
.sqprVolumeHistoryTable table{width:100%;border-spacing:0;border-collapse:separate;text-align:right;font-size:12px}
.sqprVolumeHistoryTable th,.sqprVolumeHistoryTable td{padding:11px 14px;border-bottom:1px solid var(--d2c-border,#d8e3ed);font-variant-numeric:tabular-nums}
.sqprVolumeHistoryTable tr:last-child th,.sqprVolumeHistoryTable tr:last-child td{border-bottom:0}
.sqprVolumeHistoryTable thead th{position:sticky;top:0;background:var(--d2c-surface-raised,#eef3f8);color:var(--d2c-secondary,#526981);z-index:1;font-weight:750}
.sqprVolumeHistoryTable th:first-child{text-align:left}
.sqprVolumeHistoryTable tbody th{font-weight:650;color:var(--d2c-text,#172a3e)}
.sqprVolumeHistoryTable tbody td{color:var(--d2c-text,#172a3e)}
.sqprMissing{color:var(--d2c-muted,#7b8899)}
.sqprUp{color:#198a5e}.sqprDown{color:#ca5e52}
.sqprVolumeFoot{font-size:11px;color:var(--d2c-muted,#718196);margin:0;line-height:1.55}
@media(max-width:760px){
 .sqprVolumeDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 34px);border-radius:16px}
 .sqprVolumeShell{padding:15px;gap:15px}
 .sqprVolumeHeader h2{font-size:19px}
 .sqprVolumeStats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sqprVolumeStats>div:last-child{grid-column:1/-1}
 .sqprVolumeStats strong{font-size:18px}
 .sqprVolumeGraph{height:235px;padding:6px}
 .sqprVolumeHistoryTable th,.sqprVolumeHistoryTable td{padding:10px 8px}
}

/* Source: sqpr-focus-table.css */
.sqprFocus{border:1px solid var(--edge,#dce3eb);border-radius:18px;background:var(--d2c-surface,#fff);padding:20px;margin:22px 0;box-shadow:0 7px 24px #00000009}
.sqprFocusHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.sqprFocusHeader h2{font-size:19px;margin:3px 0 5px;color:var(--tx,var(--d2c-text,#203040))}
.sqprFocusHeader p{font-size:11px;color:var(--soft,#78899a);margin:0}
.sqprFocusEyebrow{font-size:9px!important;font-weight:850;letter-spacing:1.1px;color:var(--d2c-secondary,#7294b7)!important}
.sqprFocusExport{min-height:36px;padding:7px 12px;border:1px solid var(--edge,#dce3eb);border-radius:10px;background:transparent;color:inherit;cursor:pointer}
.sqprFocusControls{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(185px,1.4fr);gap:10px;margin:18px 0}
.sqprFocusControls label{display:grid;min-width:0;gap:5px;font-size:11px;color:var(--soft,#7b8c9d);font-weight:700}
.sqprFocusControls select,.sqprFocusControls input{width:100%;box-sizing:border-box;min-height:40px;border:1px solid var(--edge,#cbd7e2);border-radius:9px;background:var(--d2c-surface-raised,#f8fafc);color:var(--tx,#213044);padding:8px 10px;font-size:12px}
.sqprFocusResultsHead{display:flex;justify-content:space-between;gap:12px;margin:12px 0 8px;font-size:11px;color:var(--soft,#78899a)}
.sqprFocusResultsHead small{color:inherit}
.sqprFocusSignals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
.sqprFocusSignals>div{display:flex;align-items:center;gap:9px;padding:11px 13px;border:1px solid var(--edge,#dae4ee);background:var(--d2c-surface-raised,#f7f9fc);border-radius:11px;min-width:0}
.sqprFocusSignals small{font-size:10px;color:var(--soft,#8494a5);flex:none}
.sqprFocusMiniName{font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sqprFocusSignals strong{margin-left:auto;white-space:nowrap;font-size:12px}
.sqprFocus .up{color:#13815e}.sqprFocus .down{color:#c03c43}.sqprFocus .flat,.sqprFocus .missing{color:var(--soft,#7a8795)}
.sqprFocusScroll{overflow:auto;max-height:600px;border:1px solid var(--edge,#dce3eb);border-radius:11px}
.sqprFocusTable{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;font-size:12px}
.sqprFocusTable thead th{position:sticky;top:0;z-index:2;background:var(--d2c-surface-raised,#f1f4f7);color:var(--soft,#607285);font-size:10px;text-align:right;padding:13px 15px;border-bottom:1px solid var(--edge,#dce3eb);white-space:nowrap}
.sqprFocusTable thead th:first-child{text-align:left;width:35%}
.sqprFocusTable tbody tr.sqprFocusRow:hover{background:var(--d2c-surface-raised,#f6f9fc)}
.sqprFocusTable tbody th,.sqprFocusTable tbody td{padding:12px 15px;border-bottom:1px solid var(--edge,#e4eaf0);text-align:right;color:var(--tx,#233342)}
.sqprFocusTable tbody th{text-align:left;font-weight:650}
.sqprFocusKeyword{font-weight:700}
.sqprFocusBrand{margin-left:9px;padding:2px 6px;border:1px solid var(--edge,#dde5ed);border-radius:6px;font-size:9px;color:var(--soft,#7c8a99)}
.sqprFocusNumber{font-weight:750;font-size:13px}
.sqprFocusMovement .sqprFocusDelta{display:inline-block;font-weight:850;font-size:13px;white-space:nowrap}
.sqprFocusMovement small{display:block;margin-top:3px;font-size:10px;color:var(--soft,#8996a3)}
.sqprFocusActions{white-space:nowrap}
.sqprFocusActions button{padding:6px 9px;margin-left:4px;min-height:31px;border:1px solid var(--edge,#d5dfe8);border-radius:8px;background:transparent;color:inherit;font-size:11px;cursor:pointer}
.sqprFocusActions button:hover,.sqprFocusExport:hover{background:var(--d2c-surface-raised,#eef3f8)}
.sqprFocusDetailsRow[hidden]{display:none}
.sqprFocusDetailsRow>td{padding:16px!important;background:var(--d2c-surface-raised,#f8fafc)}
.sqprFocusDetailsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}
.sqprFocusDetailsMetric{border:1px solid var(--edge,#dae3ec);border-radius:10px;padding:11px;display:grid;gap:5px}
.sqprFocusDetailsMetric span,.sqprFocusDetailsMetric small{font-size:10px;color:var(--soft,#8290a1)}
.sqprFocusDetailsMetric strong{font-size:15px;color:var(--tx,#213044)}
.sqprFocusDetailsMetric em{font-style:normal;font-size:11px;font-weight:750}
.sqprFocusEmpty{text-align:center!important;padding:25px!important;color:var(--soft,#8996a5)}
.sqprFocusFoot{font-size:10px;color:var(--soft,#8996a5);line-height:1.5;margin:12px 0 0}
.sqprRawDisclosure{margin-top:20px}
.sqprRawDisclosure>summary{cursor:pointer;display:list-item;padding:12px;border:1px solid var(--edge,#dce3eb);border-radius:10px;font-size:12px;font-weight:700;color:var(--soft,#6f7e8e)}
.sqprRawDisclosure[open]>summary{margin-bottom:12px}
html:not([data-d2c-theme="light"]) .sqprFocus .up{color:#75dda7}
html:not([data-d2c-theme="light"]) .sqprFocus .down{color:#ff9c9b}
@media(max-width:1200px){.sqprFocusControls{grid-template-columns:repeat(3,minmax(0,1fr))}.sqprFocusSearchLabel{grid-column:span 2}}
@media(max-width:760px){.sqprFocus{padding:12px;margin:15px 0}.sqprFocusControls{grid-template-columns:repeat(2,minmax(0,1fr))}.sqprFocusSearchLabel{grid-column:1/-1}.sqprFocusSignals{grid-template-columns:1fr}.sqprFocusTable{min-width:640px}.sqprFocusPrevious{display:none}.sqprFocusScroll{max-height:550px}.sqprFocusTable thead th:first-child{width:35%}.sqprFocusHeader h2{font-size:17px}}

/* Source: mobile-ui-20261101.css */
/* Mobile workspace refresh • 2026-11-01.
 * Final responsive layer, loaded after legacy theme and navigation styles.
 * Presentation-only: role checks, reporting calculations and saved data stay unchanged. */
@media (max-width:760px) {
 :root { --mobile-bottom:calc(74px + env(safe-area-inset-bottom, 0px)); }
 html { scroll-padding-top:88px; }
 html,body,#app,.main,.workspace,#page { min-width:0;max-width:100%; }
 body { padding-bottom:0!important;overflow-x:clip; }
 #app { padding-bottom:var(--mobile-bottom)!important; }
 #page { padding-bottom:18px!important; }
 .workspace { padding:16px 14px 28px!important; }
 .workspace > .header { margin-bottom:12px!important; }
 .header h1 { font-size:clamp(23px,6vw,29px)!important;line-height:1.14!important;letter-spacing:-.8px!important;overflow-wrap:anywhere; }
 .header .eyebrow { letter-spacing:.08em; }
 #page, #page>*, .workspace .glass, .workspace .panel { box-sizing:border-box;min-width:0;max-width:100%; }
 /* A single, stable header and a compact five-destination dock. */
 #app>.sidebar { position:sticky!important;top:0;z-index:60!important;box-sizing:border-box;
  min-height:60px!important;padding:calc(7px + env(safe-area-inset-top,0px)) 12px 8px!important;
  border-radius:0!important;row-gap:2px!important; }
 #app>.sidebar .brand { min-width:0;font-size:16px!important;letter-spacing:-.4px!important; }
 #mobileClientBtn,#mobileMenuBtn { min-height:44px!important;border-radius:12px!important; }
 #mobileClientBtn { max-width:min(44vw,188px)!important;font-size:12px!important;padding-inline:11px!important; }
 #mobileMenuBtn { width:44px!important;min-width:44px!important;flex-basis:44px!important; }
 .mobileContext { margin-top:0!important;min-height:0!important;line-height:1.2!important; }
 #app>.sidebar #nav {
  position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;
  height:var(--mobile-bottom)!important;width:100%!important;margin:0!important;
  padding:6px 9px calc(7px + env(safe-area-inset-bottom,0px))!important;
  border-radius:0!important;box-sizing:border-box!important;z-index:80!important;
  display:block!important;overflow:visible!important;
 }
 #nav .navMobileBar { display:flex!important;align-items:stretch!important;gap:4px!important;height:100%!important;width:100%!important; }
 #nav .navMobileBar .navCategoryButton {
  display:flex!important;flex:1 1 0!important;width:0!important;min-width:0!important;
  min-height:48px!important;max-height:none!important;padding:5px 2px!important;gap:4px!important;
  border-radius:12px!important;justify-content:center!important;
  font-size:11px!important;transition:background-color .15s ease,border-color .15s ease;
 }
 #nav .navMobileBar .navCategoryIcon { display:grid;place-items:center;flex:none!important;min-height:23px!important;color:inherit!important; }
 #nav .navMobileBar .navCategoryIcon svg { width:22px!important;height:22px!important; }
 #nav .navMobileBar .navCategoryName { font-size:clamp(9px,2.45vw,11px)!important;letter-spacing:0!important;font-weight:720!important;white-space:nowrap!important; }
 #nav .navMobileBar .navCategoryButton.current { background:var(--d2c-surface-raised)!important;color:var(--d2c-text)!important;border-color:var(--d2c-focus)!important; }
 #nav .navMobileBar .navCategoryButton:focus-visible { outline:2px solid var(--d2c-focus)!important;outline-offset:-2px!important; }
 /* Friendly filter controls with fully accessible touch areas. */
 .mobileQuick { gap:8px!important;margin:0 0 10px!important; }
 .mobilePeriod .seg { padding:4px!important;border-radius:12px!important;min-height:46px!important; }
 .mobilePeriod .seg button { min-height:40px!important;font-size:13px!important; }
 #mobileFilterToggle { min-height:46px!important;min-width:98px!important;font-size:13px!important; }
 #controls.mobileFiltersExpanded { padding:13px!important;border-radius:16px!important;gap:10px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 #controls.mobileFiltersExpanded>* { min-width:0!important;max-width:100%!important; }
 #controls select,#controls input { min-height:45px!important;box-sizing:border-box!important; }
 #controls .dateRange,#controls #comparison { grid-column:1/-1!important; }
 /* The sheet keeps all destinations and footer actions reachable on small phones. */
 #mobileSheet.mobileSheet {
  display:flex!important;flex-direction:column!important;
  height:auto!important;min-height:0!important;
  max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 18px)!important;
  left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
  padding:11px 13px 14px!important;border-radius:21px!important;overflow:hidden!important;
 }
 #mobileSheet.mobileSheet[hidden] { display:none!important; }
 #mobileSheet .mobileSheetContent {
  flex:0 1 auto!important;max-height:min(62dvh,calc(100dvh - 205px))!important;
  min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important; }
 #mobileSheet .mobileSheetNavGroup+.mobileSheetNavGroup { margin-top:12px!important; }
 #mobileSheet .mobileMenuCategory,#mobileSheet .mobilePageLink,#mobileSheet .mobileSheetItem,#mobileSheet .mobileCategoryBack {
  min-height:48px!important;touch-action:manipulation; }
 #mobileSheet .mobileSheetFooter { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important; }
 #mobileSheet .mobileSheetAppearance { grid-column:1/-1!important; }
 #mobileSheet .mobileSheetUserBottom { overflow-wrap:anywhere!important; }
 /* Charts, tables and dense operational grids stay contained on iPhone. */
 #page .kpis { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important; }
 #page .kpi { border-radius:15px!important;padding:14px 11px!important;min-width:0!important; }
 #page .kpi .value { font-size:clamp(20px,5.5vw,28px)!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere!important; }
 #page :is(.chartpanel,.rptModern,.ptRoot,.uHero,.uSection,.aevHero,.pipeEditor,.opnEditor) {
  max-width:100%!important;min-width:0!important;box-sizing:border-box!important;border-radius:17px!important; }
 #page .chartCanvas { min-width:0!important;max-width:100%!important;overflow:hidden!important; }
 #page .chartCanvas canvas { max-width:100%!important; }
 #page :is(.tablewrap,.amazonDatasetScroll,.snsPlotScroll,.detailedMetricsTable,.sqprFocusTableScroll,.ptDetailMetrics) {
  max-width:100%!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important; }
 #page :is(.tablewrap,.amazonDatasetScroll,.snsPlotScroll,.detailedMetricsTable,.sqprFocusTableScroll) { overflow-x:auto!important; }
 #page :is(.ptControls,.detailTimeControls,.chartControls,.uProductHubControls,.aevFilters,.opnFields,.pipeForm,.accessActions) {
  min-width:0!important;max-width:100%!important; }
 #page .ptControls { display:grid!important;grid-template-columns:1fr!important;gap:8px!important; }
 #page .ptControls>*,#page .ptControls select { width:100%!important;min-width:0!important;max-width:100%!important; }
 #page .ptGrid { display:grid!important;grid-template-columns:1fr!important;gap:11px!important; }
 #page .ptCardMetrics { grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:12px!important; }
 #page .ptMore { min-height:44px!important; }
 #page .ptConfigPanel { max-width:calc(100vw - 34px)!important;max-height:min(65dvh,580px)!important;overflow:auto!important; }
 #page :is(.rptModernControls,.detailedJumpNav,.uTabs,.uPeriodTabs) { max-width:100%!important; }
 #page :is(.detailedJumpNav,.uTabs) { overscroll-behavior-x:contain; }
 #page :is(.uProductEditFields,.uProductHubGrid,.aevGrid,.pipeForm) { min-width:0!important;max-width:100%!important; }
 #page :is(input,select,textarea) { max-width:100%;box-sizing:border-box; }
 #page :is(input[type=text],input[type=email],input[type=number],input[type=date],input[type=search],textarea,select) { font-size:16px!important; }
 #page :is(.uTabs button,.uPeriodTabs button,.opnActions button,.aevActions button,.accessActions button,.tableToolbar button) { min-height:44px!important; }
 #page :is(.uManager,.opnRoot,.pipeRoot,.aevRoot) :is(h2,h3,strong) { overflow-wrap:anywhere; }
 /* Keep form feedback visible above iOS home indicator / bottom dock. */
 #page :is([role="alert"],[role="status"],.uProductFeedback,.opnFeedback) { overflow-wrap:anywhere; }
}
@media(max-width:380px) {
 .workspace { padding-inline:10px!important; }
 #mobileClientBtn { max-width:137px!important; }
 #nav .navMobileBar { gap:1px!important; }
 #nav .navMobileBar .navCategoryName { font-size:9px!important; }
 #page .ptCardMetrics { gap:10px 7px!important; }
 #controls.mobileFiltersExpanded { grid-template-columns:1fr!important; }
}
@media(max-width:760px) {
 /* Theme-aware mobile surfaces: dark mode is never silently imposed on Light. */
 html[data-d2c-theme="light"] #app>.sidebar,
 html[data-d2c-theme="light"] #app>.sidebar #nav {
  background:#fff!important;border-color:var(--d2c-border)!important;color:var(--d2c-text)!important;
  backdrop-filter:none!important;box-shadow:0 2px 14px #0c20320d!important;
 }
 html[data-d2c-theme="light"] :is(#mobileClientBtn,#mobileMenuBtn,#mobileFilterToggle) {
  background:#f0f3f6!important;color:#25364b!important;border-color:#cbd5e0!important;
 }
 html[data-d2c-theme="light"] #nav .navMobileBar .navCategoryButton { color:#556579!important; }
 html[data-d2c-theme="light"] #nav .navMobileBar .navCategoryButton.current {
  background:#e9f2fb!important;color:#174e84!important;border-color:#89b6d6!important;
 }
 html[data-d2c-theme="light"] #mobileSheet {
  background:#fff!important;color:#1e293b!important;border-color:#cdd8e4!important;box-shadow:0 -14px 60px #14253f33!important;
 }
 html[data-d2c-theme="light"] #mobileSheet :is(.mobileMenuCategory,.mobilePageLink,.mobileSheetItem,.mobileCategoryBack) {
  background:#f4f7fb!important;color:#203449!important;border-color:#d4dfeb!important;
 }
 html[data-d2c-theme="light"] #mobileSheet :is(.mobileSheetItemMain,.mobileSheetGroupTitle,.mobileSheetItemBody,.mobilePageLink strong,.mobileMenuCategoryText strong) {
  color:#203449!important;
 }
 html[data-d2c-theme="light"] #mobileSheet :is(.mobileSheetItemHint,.mobileSheetNavGrid .mobileSheetItemHint,.mobileSheetUserBottom) {
  color:#536b84!important;
 }
 html[data-d2c-theme="light"] #mobileSheet :is(.mobileMenuCategory.current,.mobilePageLink.selected,.mobileSheetItem.selected) {
  background:#e6f0fb!important;color:#164d82!important;border-color:#7ca8d2!important;
 }
 html[data-d2c-theme="light"] #mobileSheet .mobileSignOut { background:#fff0f1!important;color:#9e2636!important;border-color:#e7b6c0!important; }
 html[data-d2c-theme="light"] #mobileSheet .mobileSheetUser { background:#f2f6fa!important;color:#273951!important; }
 html[data-d2c-theme="light"] #mobileSheet .mobileSheetThemeSwitch { background:#eaf0f5!important; }
 html[data-d2c-theme="light"] #controls.mobileFiltersExpanded { background:#fff!important;color:#223247!important;border-color:#d3dce7!important; }
 html[data-d2c-theme="light"] #page .ptCardHead { color:#fff!important; }
 html[data-d2c-theme="light"] #page .ptCardHead :is(strong,small,span) { color:#fff!important; }
}
@media(max-width:760px) and (prefers-reduced-motion:reduce) {
 #app>.sidebar #nav .navCategoryButton { transition:none!important; }
}

/* Source: liquid-glass-ui.css */
/* D2Clytics · Liquid Glass. Inspired by the user-supplied sidebar reference.
   Presentation only: never change account permissions, analytics, or chart data. */
html[data-d2c-theme="dark"] {
 --lg-surface:rgba(28,44,62,.87);
 --lg-toolbar:rgba(22,34,48,.94);
 --lg-raised:rgba(56,76,96,.82);
 --lg-edge:rgba(185,216,239,.29);
 --lg-edge-strong:rgba(204,231,249,.54);
 --lg-sheen:rgba(255,255,255,.15);
 --lg-shadow:rgba(3,10,22,.34);
 --lg-glow:rgba(160,199,235,.17);
}
html[data-d2c-theme="light"] {
 --lg-surface:rgba(255,255,255,.92);
 --lg-toolbar:rgba(250,252,254,.96);
 --lg-raised:rgba(240,247,252,.95);
 --lg-edge:rgba(93,132,164,.3);
 --lg-edge-strong:rgba(71,124,171,.52);
 --lg-sheen:rgba(255,255,255,.88);
 --lg-shadow:rgba(30,55,81,.12);
 --lg-glow:rgba(88,148,195,.11);
}
html[data-d2c-theme] #app>.sidebar,
html[data-d2c-theme] #app>.main>.top,
html[data-d2c-theme] #app>.sidebar #nav,
html[data-d2c-theme] #mobileSheet,
html[data-d2c-theme] #topAccountDropdown,
html[data-d2c-theme] #topNavigation .topNavDropdown {
 background:linear-gradient(152deg,var(--lg-sheen) -30%,transparent 40%),var(--lg-toolbar)!important;
 border-color:var(--lg-edge)!important;
 box-shadow:inset 0 1px 0 var(--lg-sheen),0 12px 36px var(--lg-shadow)!important;
 -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
 backdrop-filter:blur(24px) saturate(145%)!important;
}
/* Desktop toolbar is a fully rounded floating surface; only mobile edge-to-edge docks stay square. */
@media(min-width:761px){html[data-d2c-theme] #app>.main>.top{border-radius:19px!important}}
@media(max-width:760px){html[data-d2c-theme] #app>.main>.top{border-radius:0!important}}
html[data-d2c-theme] #page :is(.glass,.panel,.chartpanel,.kpi,.ptRoot,.ptCard,.uHero,.uTop,.uSection,.opnAlert,.opnEditor,.aevCard,.aevHero,.cmdClient,.cmdStat,.cmdHero,.rptModern,.pipeColumn,.pipeEditor,.sharecard,.accessPanel,.managerPanel,.dlyGraph){
 background:linear-gradient(155deg,var(--lg-sheen) -70%,transparent 50%),var(--lg-surface)!important;
 border-color:var(--lg-edge)!important;
 box-shadow:inset 0 1px 0 var(--lg-sheen),0 5px 20px var(--lg-shadow)!important;
 -webkit-backdrop-filter:blur(12px) saturate(120%);
 backdrop-filter:blur(12px) saturate(120%);
}
html[data-d2c-theme] :is(.topNavDirect,.topNavTrigger,.topAccountTrigger,.topNavLink,.topAccountOption,
 .navCategoryButton,.navPageButton,.mobileMenuCategory,.mobilePageLink,.mobileSheetItem,
 #mobileClientBtn,#mobileMenuBtn,#mobileFilterToggle) {
 border-radius:13px!important;
 transition:transform .27s cubic-bezier(.22,1,.36,1),background-color .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
html[data-d2c-theme] :is(.topNavTrigger,.topNavDirect,.topAccountTrigger,.topAccountOption,
 #mobileClientBtn,#mobileMenuBtn,#mobileFilterToggle) {
 background:radial-gradient(180px circle at var(--lg-x,50%) var(--lg-y,0%),var(--lg-glow),transparent 90%),var(--lg-raised)!important;
 border:1px solid var(--lg-edge)!important;
 box-shadow:inset 0 1px 0 var(--lg-sheen),0 2px 9px var(--lg-shadow)!important;
}
html[data-d2c-theme] :is(.navCategoryButton.current,.navPageButton.active,.mobileMenuCategory.current,
 .mobilePageLink.selected,.topNavDirect.current,#topAccountMenu[open]>.topAccountTrigger){
 background:linear-gradient(135deg,var(--lg-glow),transparent 85%),var(--lg-raised)!important;
 border-color:var(--lg-edge-strong)!important;
 box-shadow:inset 0 1px 0 var(--lg-sheen),0 4px 16px var(--lg-shadow)!important;
}
@keyframes lg-pop {from{opacity:0;transform:translateY(-8px) scale(.97);filter:blur(3px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes lg-rise {from{opacity:.5;transform:translateY(13px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
html[data-d2c-theme] #topNavigation .topNavMenu[open]>.topNavDropdown,
html[data-d2c-theme] #topAccountMenu[open] #topAccountDropdown {
 animation:lg-pop .3s cubic-bezier(.16,1,.3,1) both;
 transform-origin:top center;
}
html[data-d2c-theme] #mobileSheet:not([hidden]) {
 animation:lg-rise .3s cubic-bezier(.16,1,.3,1) both!important;
 transform-origin:bottom center;
}
html[data-d2c-theme] #mobileSheetContent>:is(.mobileMenuCategory,.mobilePageLink,.mobileSheetItem){
 animation:lg-rise .25s cubic-bezier(.16,1,.3,1) both;
}
html[data-d2c-theme] #mobileSheetContent>:nth-child(2){animation-delay:20ms}
html[data-d2c-theme] #mobileSheetContent>:nth-child(3){animation-delay:35ms}
html[data-d2c-theme] #mobileSheetContent>:nth-child(4){animation-delay:50ms}
html[data-d2c-theme] #page>:is(.glass,.panel,.chartpanel,.ptRoot,.uManager,.rptModern,.tablewrap){
 animation:lg-rise .28s cubic-bezier(.16,1,.3,1) both;
}
html[data-d2c-theme] #page :is(.kpi,.ptCard,.sharecard,.cmdClient,.aevCard){
 transition:transform .25s cubic-bezier(.22,1,.36,1),border-color .25s,box-shadow .25s!important;
}
@media(hover:hover) and (pointer:fine){
 html[data-d2c-theme] :is(.topNavDirect,.topNavTrigger,.topAccountOption,.topAccountTrigger,
 .navCategoryButton,.mobileMenuCategory,.mobilePageLink):hover {
  transform:translateY(-2px);border-color:var(--lg-edge-strong)!important;
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 6px 18px var(--lg-shadow)!important;
 }
 html[data-d2c-theme] #page :is(.kpi,.ptCard,.sharecard,.cmdClient,.aevCard):hover{
  transform:translateY(-2px);border-color:var(--lg-edge-strong)!important;
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 8px 26px var(--lg-shadow)!important;
 }
}
html[data-d2c-theme] :is(.topNavDirect,.topNavTrigger,.topAccountOption,.navCategoryButton,
 .mobileMenuCategory,.mobilePageLink,button):active:not(:disabled){transform:scale(.985)}
@media(min-width:761px){
 html[data-d2c-theme] #app>.sidebar {
  transition:width .42s cubic-bezier(.22,1,.36,1),flex-basis .42s cubic-bezier(.22,1,.36,1),
             padding .42s cubic-bezier(.22,1,.36,1)!important;
 }
}
@media(max-width:760px){
 /* A backdrop-filter on the sidebar makes its fixed-position bottom-nav
    descendant position relative to the header instead of the viewport. */
 html[data-d2c-theme] #app>.sidebar {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
 }
 html[data-d2c-theme] #app>.sidebar #nav{
  border-radius:16px 16px 0 0!important;
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 -8px 25px var(--lg-shadow)!important;
 }
 html[data-d2c-theme="light"] #app>.sidebar #nav .navCategoryButton.current{
  color:#164b79!important;
 }
 html[data-d2c-theme] #mobileSheet {
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 -16px 50px var(--lg-shadow)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-d2c-theme] *,html[data-d2c-theme] *::before,html[data-d2c-theme] *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important;
 }
}


/* Keyboard focus always beats decorative glow. */
html[data-d2c-theme] :is(.topNavDirect,.topNavTrigger,.topAccountTrigger,.topAccountOption,
 .navCategoryButton,.navPageButton,.mobileMenuCategory,.mobilePageLink,button):focus-visible{
 outline:2px solid var(--d2c-focus)!important;outline-offset:2px!important;
}
/* Collapsed desktop rail: softly illuminated icon capsules with a stable width. */
@media(min-width:761px){
 html[data-d2c-theme] #app[data-sidebar-collapsed]>.sidebar {
  border-radius:21px!important;
  margin:10px 0 10px 8px!important;
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 14px 38px var(--lg-shadow)!important;
 }
 html[data-d2c-theme] #app[data-sidebar-collapsed]>.sidebar #nav :is(.navbtn,.navPageButton) {
  border-radius:14px!important;
 }
 html[data-d2c-theme] #app[data-sidebar-collapsed]>.sidebar #nav :is(.navbtn.active,.navPageButton.active) {
  background:linear-gradient(140deg,var(--lg-glow),transparent 72%),var(--lg-raised)!important;
  border-color:var(--lg-edge-strong)!important;
  box-shadow:inset 0 1px 0 var(--lg-sheen),0 4px 15px var(--lg-shadow)!important;
 }
}
