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

/* Source: apple-visual-refresh.css */
/* D2Clytics · premium glass desktop refresh.
   Presentation-only: existing semantics, DOM events, access and data unchanged. */
:root{
 color-scheme:dark;
 --tx:#f4f7ff;--soft:#b3bed2;--mut:#8e9ab1;--blue:#94b6ff;
 --cyan:#75dcf0;--green:#82dcb7;--edge:rgba(196,211,245,.135);
 --r:22px;--ios-outline:rgba(190,211,255,.13);
 --ios-surface:rgba(28,39,61,.78);--ios-deep:#0c111e;
 --ios-blue:#83aaff;--ios-shadow:0 16px 45px rgba(0,0,0,.22);
}
body{background:radial-gradient(ellipse at 10% -22%,rgba(61,89,150,.25),transparent 49%),
radial-gradient(ellipse at 82% -18%,rgba(77,110,168,.17),transparent 47%),#0a0e18;
color:var(--tx);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,ui-sans-serif,system-ui,sans-serif;
-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
button,input,select,textarea{border-color:rgba(177,201,240,.15);border-radius:12px;background:rgba(47,64,89,.53)}
button{font-weight:600}
button:hover:not(:disabled){background:rgba(94,127,183,.32);border-color:rgba(167,197,245,.35)}
button:active:not(:disabled){transform:scale(.985)}
button.primary{background:linear-gradient(155deg,#6c9dff,#4177e6)!important;border:1px solid rgba(174,203,255,.5)!important;
box-shadow:0 4px 18px rgba(54,112,236,.19);color:#fff}
button.primary:hover:not(:disabled){background:linear-gradient(155deg,#85afff,#5286ed)!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
summary:focus-visible{outline:2px solid #a5c6ff!important;outline-offset:3px}
input::placeholder,textarea::placeholder{color:#7e91ad}
.glass{background:linear-gradient(158deg,rgba(60,77,106,.42),rgba(24,34,53,.83) 68%);
border:1px solid rgba(208,225,255,.13);border-radius:23px;
box-shadow:0 1px 1px rgba(255,255,255,.035) inset,0 20px 50px rgba(0,0,0,.15);
backdrop-filter:blur(28px) saturate(125%)}
.sidebar{background:linear-gradient(180deg,rgba(25,34,53,.92),rgba(13,20,33,.97));border-right:1px solid rgba(208,224,255,.10);
box-shadow:5px 0 32px rgba(0,0,0,.08);padding:25px 13px}
.sidebar .brand{font-size:19px;letter-spacing:-.75px;font-weight:800}
.sidebar .brand i,.brand i{border-radius:14px;box-shadow:0 5px 18px rgba(74,119,222,.22)}
.navlabel{font-size:9px;font-weight:750;letter-spacing:1.7px;color:#8696af}
.navbtn{min-height:41px;margin:3px 0;padding:10px 12px;border-radius:12px;color:#b7c6dd;font-weight:560}
.navbtn .ico{opacity:.9;color:#a4c4ff}
.navbtn.active{background:linear-gradient(110deg,rgba(87,130,206,.38),rgba(76,109,177,.22));
border:1px solid rgba(148,186,255,.22);box-shadow:inset 0 1px rgba(255,255,255,.07);
color:#fff;font-weight:720}
.navbtn:hover:not(.active){background:rgba(160,191,249,.08)}
.top{min-height:68px;background:rgba(16,24,40,.77);border-bottom:1px solid rgba(221,234,255,.1);
backdrop-filter:blur(30px) saturate(140%);box-shadow:0 6px 27px rgba(0,0,0,.09)}
.workspace{padding-top:30px}
h1,h2,h3,h4{letter-spacing:-.035em}
h1{font-weight:760;letter-spacing:-.045em}
.header{margin-bottom:24px}
.eyebrow{letter-spacing:1.45px;color:#a6c7ff}
.kpis,.cards,.grid2,.sharegrid{gap:15px}
.kpi{padding:22px}
.kpi .value{font-size:31px;letter-spacing:-1.25px;font-weight:760;font-variant-numeric:tabular-nums}
.kpi .label,.card .metric .caption{color:#bac8dc}
.kpi .hint,.note{color:#91a6c1}
.card,.sharecard,.chartpanel,.panel{border-radius:20px}
.chartpanel{padding:23px}
.chartCanvas{height:300px}.chartCanvas canvas{max-height:300px}
.seg{background:rgba(20,30,49,.82);border:1px solid var(--ios-outline);border-radius:13px;padding:4px}
.seg button{border-radius:10px}
.seg button.active{background:rgba(113,155,229,.36);box-shadow:0 2px 9px rgba(0,0,0,.12);color:#fff}
.pill{border-radius:999px}
.sect{margin:31px 0 15px}.sect h2{font-size:19px}
.tablewrap{background:rgba(21,32,51,.86);border:1px solid rgba(204,222,255,.13);border-radius:19px;
box-shadow:0 10px 24px rgba(0,0,0,.095)}
.tbl th,.tbl td{border-bottom-color:rgba(221,235,255,.07)}
.tbl th{background:#243650;color:#cbd9ed;font-size:11px;font-weight:720}
.tbl th:first-child,.tbl td:first-child{background:#202f47}
.tbl tr.group td{background:#2b4366}.tbl tr.group td:first-child{background:#324d71}
.tbl tr:hover td{filter:brightness(1.10)}
.detailedMetricsTable .tbl tbody tr:not(.group):not(.detailChangeRow)>td:not(:first-child){
 font-weight:735;letter-spacing:-.1px}
.detailedMetricsTable .tbl tr.detailChangeRow>td:not(:first-child){font-weight:610}
.detailedChangeLegend{border-radius:12px!important;background:rgba(34,52,78,.7)!important;border-color:var(--ios-outline)!important}
.detailTimeControls select{border-radius:10px!important;background:rgba(39,55,79,.8)!important}
.snsMainTrend{background:linear-gradient(145deg,rgba(42,61,87,.8),rgba(17,34,56,.86))!important;
border-radius:23px!important}
.snsReadableGraph{border-radius:17px!important;background:rgba(12,27,45,.65)!important}
.snsSignals{gap:13px}
.snsSignal{border-radius:18px!important;background:linear-gradient(155deg,rgba(46,69,100,.64),rgba(21,39,62,.85))!important;border-color:var(--ios-outline)!important}
.snsSignalValue{font-weight:755}
.snsMetricSwitch{border-radius:13px}
.snsMetricSwitch button{border-radius:11px!important}
.reportPointTooltip{background:rgba(20,32,53,.97)!important;border:1px solid rgba(183,210,255,.38)!important;
border-radius:15px!important;box-shadow:0 18px 46px rgba(0,0,0,.4)!important;backdrop-filter:blur(26px)}
/* Checklist surfaces */
.uManager{gap:16px}
.uHero{background:linear-gradient(130deg,rgba(60,85,125,.56),rgba(29,45,70,.74) 62%,rgba(20,34,55,.85))!important;
border:1px solid rgba(190,216,255,.17)!important;border-radius:24px!important;
box-shadow:var(--ios-shadow),inset 0 1px rgba(255,255,255,.065)}
.uHero h2{font-size:27px;letter-spacing:-.055em;font-weight:760}
.uEyebrow{letter-spacing:1.45px;color:#a5c8ff}
.uTop,.uSection{border-radius:20px!important;border-color:var(--ios-outline)!important;background:rgba(25,39,60,.8)!important}
.uTop{padding:23px}
.uTop strong{font-weight:770}
.uBar{height:7px;background:rgba(169,190,226,.16)}
.uBar span{background:linear-gradient(90deg,#6fcda8,#a1eac8)}
.uTabs,.uFilterButtons,.uBrandNav{border-radius:15px!important;border-color:var(--ios-outline)!important;
background:rgba(14,27,45,.68)!important}
.uTabs button,.uFilterButtons button,.uBrandNav button{border-radius:11px!important}
.uTabs button.active,.uFilterButtons button.active,.uBrandNav button.on{background:rgba(98,146,228,.35)!important;
border-color:rgba(149,188,255,.24)!important;box-shadow:0 3px 9px rgba(0,0,0,.14)}
.uSectionHead h3{font-size:16px;font-weight:745}
.uStep{padding-top:15px;padding-bottom:15px;border-color:rgba(222,233,255,.08)}
.uStep:hover{background:rgba(128,164,225,.055)!important}
.uStepText strong{font-size:12.5px;letter-spacing:-.008em}
.uTick input,.uProductTick input,.uKeywordChecks input{accent-color:#71d5b0}
.uEdit,.uOpen,.uGraphLink{border-radius:11px!important}
.uEdit{background:rgba(62,85,118,.48)!important;border:1px solid rgba(160,189,230,.2)!important}
.uOpen{background:rgba(67,146,119,.19)!important}
.uGraphLink{background:rgba(63,93,131,.5)!important;border:1px solid rgba(144,184,235,.23)!important}
.uGraphLink.uVisited{background:rgba(32,130,93,.60)!important;border-color:rgba(105,224,169,.69)!important}
.uProductQuick,.uProductHubCard,.uKeywordProduct{background:rgba(34,53,77,.68)!important;border-radius:16px!important;border-color:var(--ios-outline)!important}
.uProductEditor,.uEventForm{border-radius:16px!important;background:rgba(23,38,61,.9)!important}
.uProductEditFields input,.uInlineUrl,.uProductHubControls input{border-radius:11px!important}
/* Operational notifications: visual rules only, no functionality changes */
.opnRoot .uHero{align-items:center}
.opnRoot .opnAdd,.opnRoot .opnActions button,.opnRoot .opnActions a,
.opnRoot .opnFilters button,.opnRoot .opnEditor button{border-radius:12px;padding:9px 14px}
.opnRoot .opnSourceWarning,.opnRoot .opnAlert,.opnRoot .opnEditor,.opnRoot .opnStats>div{
 background:linear-gradient(135deg,rgba(43,63,91,.64),rgba(23,38,59,.86));border:1px solid var(--ios-outline);
 border-radius:20px;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.opnRoot .opnStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.opnRoot .opnStats>div{padding:17px}
.opnRoot .opnAlert{display:flex;gap:14px;padding:19px}
.opnRoot .opnAlertMark{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:11px;background:rgba(247,174,147,.15);color:#ffc4b3}
.opnRoot .opnMeta{display:flex;gap:8px;flex-wrap:wrap;color:#9db2cc;font-size:11px}
.opnRoot .opnAlertList{display:grid;gap:12px}
.opnRoot .opnSourceWarning{display:flex;flex-direction:column;gap:4px;padding:15px 18px;margin:14px 0}
.opnRoot .opnSourceWarning strong{color:#f6d4a6}
.opnRoot .opnListHeader{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0 13px}
.opnRoot .opnEditor{padding:21px;margin:15px 0}
.opnRoot .opnFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.opnRoot .opnFields label{display:grid;gap:6px}
.opnRoot .opnFields .opnWide{grid-column:1/-1}
.opnRoot .opnFeeFields{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.opnRoot .opnFeeFields[hidden]{display:none!important}
.opnRoot .opnFee{display:flex;gap:13px;flex-wrap:wrap}
.opnRoot .opnFee span{padding:6px 0}
.opnRoot .opnActions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.opnRoot .opnAlertContent{flex:1;min-width:0}
.opnRoot .opnFilters{display:flex;gap:6px;flex-wrap:wrap}
.opnRoot .opnFilters button.active{background:rgba(95,146,228,.4);border-color:rgba(164,202,255,.4)}
.opnRoot .opnStats strong{font-size:26px;font-weight:765}
.opnRoot .opnStats span{display:block;color:#a7bad2;font-size:11px}
.opnRoot .opnEmpty{padding:30px;border:1px dashed rgba(180,211,247,.18);border-radius:17px;text-align:center;color:#9eb5d0}
@media(max-width:1024px){
 .workspace{padding-left:18px;padding-right:18px}
 .opnRoot .opnStats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .sidebar{background:rgba(19,29,48,.98)}
 .top{padding:11px 14px}
 .workspace{padding:17px 12px 48px}
 .glass,.uSection{border-radius:17px!important}
 .uHero{padding:19px}
 .uHero h2{font-size:24px}
 .kpi{padding:18px}
 .chartpanel{padding:15px}
 .opnRoot .opnStats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .opnRoot .opnFields{grid-template-columns:1fr}
 .opnRoot .opnFeeFields{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){button,input,select,textarea{transition:none!important}}

/* Source: morning-command-center.css */
/* D2Clytics — demo Morning Command Center | presentation only */
.cmdRoot{--cmd-accent:#a9c3ff;--cmd-border:rgba(187,212,255,.14);--cmd-surface:rgba(32,46,68,.8);
 display:grid;gap:19px;max-width:1550px;margin:0 auto 40px;color:#edf4ff}
.cmdRoot *{box-sizing:border-box}
.cmdRoot button{cursor:pointer}
.cmdHero{display:flex;justify-content:space-between;align-items:center;gap:26px;min-height:208px;
 padding:32px 37px;border:1px solid rgba(204,221,255,.18);border-radius:27px;
 background:radial-gradient(ellipse at 92% -35%,rgba(119,160,233,.28),transparent 65%),
 linear-gradient(128deg,rgba(50,73,108,.93),rgba(23,36,58,.92) 67%);
 box-shadow:inset 0 1px rgba(255,255,255,.09),0 24px 55px rgba(0,0,0,.16)}
.cmdEyebrow{display:flex;gap:9px;align-items:center;font-size:10px;letter-spacing:1.6px;font-weight:780;color:#bed2f6}
.cmdPulse{height:8px;width:8px;border-radius:100%;background:#8ee8bb;box-shadow:0 0 0 5px rgba(142,232,187,.10)}
.cmdHero h1{margin:13px 0 8px;font-size:clamp(26px,3vw,40px);font-weight:760;letter-spacing:-1.7px;line-height:1.14}
.cmdHero p{margin:0;line-height:1.55;color:#b9cce6;max-width:720px;font-size:13px}
.cmdHeroRight{display:flex;flex-direction:column;gap:12px;align-items:flex-end;color:#d6e4fa;font-size:12px;white-space:nowrap}
.cmdHeroRight button,.cmdTitleBar>button{padding:9px 13px;border:1px solid rgba(180,209,251,.28);
 border-radius:11px;background:rgba(105,146,213,.19);font-size:11px;color:#eef5ff;font-weight:750}
.cmdCaveat{display:flex;align-items:start;gap:12px;padding:15px 18px;
 background:rgba(35,48,70,.71);border:1px solid rgba(171,198,244,.14);border-radius:15px}
.cmdCaveat>span{font-size:18px;line-height:1;color:#98bff4}
.cmdCaveat strong{font-size:11px;color:#dbe8fb}
.cmdCaveat p{margin:3px 0 0;font-size:11px;color:#98aec9;line-height:1.55}
.cmdCaveat em{font-style:normal;color:#efcb92}
.cmdSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cmdStat{display:flex;flex-direction:column;gap:7px;padding:21px 22px;
 border:1px solid var(--cmd-border);border-radius:20px;
 background:linear-gradient(153deg,rgba(54,72,100,.61),rgba(26,39,59,.82));
 box-shadow:inset 0 1px rgba(255,255,255,.04)}
.cmdStat>span{font-size:11px;color:#b8cbe3;font-weight:650}
.cmdStat strong{font-size:33px;line-height:1.1;letter-spacing:-1.2px;font-weight:780;font-variant-numeric:tabular-nums;color:#f3f8ff}
.cmdStat strong small{font-size:18px;color:#98adc9}
.cmdStat em{font-style:normal;color:#90a8c6;font-size:10px}
.cmdSection{min-width:0}
.cmdSectionEyebrow{font-size:9px;letter-spacing:1.6px;color:#92b3e9;font-weight:760}
.cmdTitleBar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 2px 15px;flex-wrap:wrap}
.cmdTitleBar h2{font-size:19px;font-weight:730;margin:3px 0 0;letter-spacing:-.55px}
.cmdTitleBar p{font-size:11px;color:#9bb2ce;margin:5px 0 0}
.cmdCount{border:1px solid var(--cmd-border);border-radius:999px;padding:6px 12px;background:rgba(76,99,130,.24);font-size:11px;color:#acc1df}
.cmdAccountList{display:grid;gap:10px}
.cmdClient{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:16px;
 padding:18px 21px;background:linear-gradient(135deg,rgba(40,57,83,.75),rgba(23,37,59,.88));
 border:1px solid var(--cmd-border);border-radius:19px;transition:background .2s ease,box-shadow .2s ease}
.cmdClient:hover{background:linear-gradient(135deg,rgba(53,73,104,.85),rgba(30,45,70,.95));box-shadow:0 8px 28px rgba(0,0,0,.13)}
.cmdClientSymbol{height:43px;width:43px;border-radius:14px;background:rgba(116,145,196,.20);display:grid;place-items:center;
 color:#b7d1ff;font-size:21px;font-weight:760}
.cmdClient.critical .cmdClientSymbol{background:rgba(226,107,114,.19);color:#ffc1bd}
.cmdClient.done .cmdClientSymbol{background:rgba(69,187,136,.15);color:#9beac3}
.cmdClientMain{min-width:0}
.cmdClientName{display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.cmdClientName h3{font-size:14px;margin:0;color:#f2f7ff;font-weight:750}
.cmdClientMarket{color:#95accb;font-size:10px}
.cmdClientMain p{font-size:11px;color:#afc4dd;line-height:1.5;margin:3px 0 10px}
.cmdProgressBar{height:5px;background:rgba(185,207,240,.12);overflow:hidden;border-radius:99px}
.cmdProgressBar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#73a9ef,#91dec5)}
.cmdClient.done .cmdProgressBar span{background:#83dcaf}
.cmdMicro{display:flex;flex-wrap:wrap;gap:12px;color:#819bb9;font-size:10px;margin-top:8px}
.cmdClientAction{display:flex;align-items:flex-end;flex-direction:column;gap:12px}
.cmdState{border-radius:99px;padding:5px 10px;background:rgba(116,144,180,.16);color:#c0d2ea;font-size:10px;font-weight:730;white-space:nowrap}
.cmdState.critical{color:#ffc0be;background:rgba(224,103,110,.15)}
.cmdState.review{color:#f1d3a1;background:rgba(226,171,100,.15)}
.cmdState.done{color:#9feac4;background:rgba(87,191,145,.17)}
.cmdClientAction button{border:1px solid rgba(157,191,237,.27);border-radius:11px;padding:8px 12px;
 background:rgba(76,114,164,.25);color:#e1eeff;font-size:11px}
.cmdLower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px;align-items:start}
.cmdSecondary{border:1px solid var(--cmd-border);background:linear-gradient(140deg,rgba(35,51,75,.78),rgba(19,31,51,.87));border-radius:21px;padding:17px}
.cmdSecondary .cmdTitleBar{margin:0 1px 16px}
.cmdFollowupList,.cmdAlertsList{display:grid;gap:9px}
.cmdFollowup,.cmdAlert{display:flex;gap:11px;align-items:center;padding:13px;
 border:1px solid rgba(186,211,250,.09);background:rgba(32,46,69,.55);border-radius:13px}
.cmdFollowupCheck{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;background:rgba(100,151,231,.16);color:#a4c6f5;font-size:17px}
.cmdFollowup>div:nth-child(2),.cmdAlert>div:nth-child(2){min-width:0;flex:1}
.cmdFollowup strong,.cmdAlert strong{font-size:11px;color:#e1eaf9}
.cmdFollowup p,.cmdAlert p{font-size:10px;line-height:1.5;color:#98aecb;margin:4px 0 0}
.cmdFollowupEnd{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.cmdFollowupEnd span{font-size:10px;color:#adc1dc;white-space:nowrap}
.cmdFollowupEnd span.overdue{color:#f6c29a}
.cmdFollowupEnd button,.cmdAlert button{font-size:10px;border:1px solid rgba(157,192,236,.22);background:rgba(92,123,172,.18);padding:7px 9px;border-radius:9px;white-space:nowrap}
.cmdAlertDot{width:9px;height:9px;border-radius:50%;flex:0 0 9px;background:#ebc17e}
.cmdAlertDot.critical{background:#ff8d9b}
.cmdAlertDot.info{background:#95b9f1}
.cmdEmpty,.cmdEmptyMini{padding:25px;border:1px dashed rgba(181,207,242,.16);text-align:center;color:#a2bad8;border-radius:13px;font-size:11px}
.cmdEmptyMini{padding:22px}
.cmdFooter{color:#8198b9;font-size:10px;padding:2px 4px}
.cmdError{padding:14px;background:rgba(116,54,66,.42);border:1px solid rgba(249,148,159,.33);border-radius:13px;color:#ffc6c9;font-size:12px}
.cmdLoading{padding:54px 15px;color:#a7bfde;display:flex;justify-content:center;gap:12px;align-items:center;font-size:12px}
.cmdLoader{width:17px;height:17px;border:2px solid rgba(175,208,248,.24);border-top-color:#a9cfff;border-radius:50%;animation:cmdSpin 1s linear infinite}
@keyframes cmdSpin{to{transform:rotate(360deg)}}
.cmdSuccess{font-size:11px;color:#93dfb4}
.cmdNewFollowup{border:1px solid rgba(168,207,255,.2);padding:16px;background:rgba(18,35,57,.86);border-radius:16px;margin:14px 0}
.cmdFormHeading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.cmdFormHeading strong{font-size:13px}.cmdFormHeading button{padding:5px 9px}
.cmdFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.cmdFormGrid label{display:grid;gap:6px;font-size:11px;color:#b1c7e2}
.cmdFormGrid input,.cmdFormGrid select,.cmdFormGrid textarea{font-size:12px;max-width:100%;background:rgba(18,30,50,.82)}
.cmdWide{grid-column:1/-1}
.cmdFormFooter{margin-top:14px;display:flex;justify-content:space-between;gap:11px;align-items:center;flex-wrap:wrap}
.cmdFormFooter span{font-size:10px;color:#8fa9c9}
@media(max-width:1250px){.cmdSummary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:970px){.cmdLower{grid-template-columns:1fr}.cmdClient{grid-template-columns:43px minmax(0,1fr)}.cmdClientAction{grid-column:2;align-items:center;flex-direction:row;justify-content:space-between}}
@media(max-width:650px){.cmdHero{padding:24px;min-height:0;flex-direction:column;align-items:flex-start}
.cmdHeroRight{align-items:flex-start}.cmdSummary{gap:10px}.cmdStat{padding:16px}.cmdStat strong{font-size:27px}
.cmdClient{padding:13px;gap:11px}.cmdMicro{gap:6px}.cmdClientName{gap:6px}
.cmdSecondary{padding:13px}.cmdFormGrid{grid-template-columns:1fr}.cmdFollowup,.cmdAlert{align-items:flex-start;flex-wrap:wrap}
.cmdFollowupEnd{flex-basis:100%;flex-direction:row;align-items:center;justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){.cmdLoader{animation:none}.cmdClient{transition:none}}

/* Mark sample data quietly when demo and live accounts appear together. */
.cmdClientDemo{display:inline-flex;align-items:center;max-width:max-content;padding:2px 7px;border:1px solid var(--ui2-border,rgba(153,181,214,.27));border-radius:7px;color:var(--ui2-muted,#a6bacd);background:var(--ui2-card-raised,rgba(90,116,146,.18));font-size:10px;font-weight:650;letter-spacing:.01em}

/* Source: mobile-experience.css */
/* D2Clytics 2026 — phone-first visual/ergonomic polish.
   Scoped responsive rules only, no data, reporting, account, or integration changes. */
#mobileMoreNavBtn{display:none}
@media(max-width:760px){
 :root{--mobile-bottom:calc(77px + env(safe-area-inset-bottom,0px))}
 html{-webkit-text-size-adjust:100%;scroll-padding-top:75px}
 html,body,#app,.main,.workspace,#page{width:100%;min-width:0;max-width:100%}
 body{overflow-x:clip;-webkit-tap-highlight-color:transparent}
 button,select,input,textarea{font-size:16px}
 a,button,summary,[role="button"]{touch-action:manipulation}
 button:active:not(:disabled),a:active{opacity:.83}
 /* Short, stable glass header; retain existing client chooser and sheet. */
 .sidebar{
  position:sticky!important;top:0!important;z-index:53!important;
  padding:calc(8px + env(safe-area-inset-top,0px)) 14px 9px!important;
  background:rgba(19,27,43,.97)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  border-bottom:1px solid rgba(184,206,243,.13)!important;min-height:59px!important;
 }
 .sidebar .brand{font-size:16.5px!important;letter-spacing:-.6px!important}
 .sidebar .d2cMark{width:29px!important;height:29px!important}
 #mobileClientBtn{
  min-height:43px!important;border-radius:13px!important;
  background:rgba(79,107,152,.23)!important;border:1px solid rgba(160,190,243,.19)!important;
  font-size:12px!important;
 }
 #mobileMenuBtn{
  min-height:43px!important;width:43px!important;flex-basis:43px!important;
  border-radius:13px!important;background:rgba(79,107,152,.23)!important;
  border:1px solid rgba(160,190,243,.19)!important
 }
 .mobileContext{font-size:10px!important;color:#a5b8d3!important;line-height:1.35!important}
 #nav{
  position:fixed!important;bottom:0!important;left:0!important;right:0!important;
  width:100%!important;height:var(--mobile-bottom)!important;
  padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px))!important;
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;gap:3px!important;overflow:visible!important;
  border-top:1px solid rgba(206,225,255,.17)!important;
  background:rgba(19,29,47,.95)!important;backdrop-filter:blur(32px) saturate(150%)!important;
  box-shadow:0 -10px 32px rgba(4,9,19,.3)!important;z-index:70!important;
 }
 #nav .navbtn{display:none!important}
 #nav .navbtn[data-mobile-primary="true"],#nav #mobileMoreNavBtn{
  display:flex!important;flex:initial!important;min-width:0!important;width:100%!important;height:auto!important;
  min-height:55px!important;max-height:none!important;justify-content:center!important;
  align-items:center!important;gap:4px!important;padding:5px 2px!important;
  font-size:10px!important;font-weight:650!important;line-height:1.13!important;
  color:#acbcd5!important;text-align:center!important;letter-spacing:-.15px;
  border:1px solid transparent!important;border-radius:13px!important;
  white-space:normal!important;
 }
 #nav .navbtn .ico{font-size:21px!important;color:#abc7f8!important;line-height:1!important;width:auto!important}
 #nav .navbtn.active{background:rgba(110,153,222,.18)!important;border-color:rgba(166,197,250,.2)!important;color:#f2f7ff!important;box-shadow:none!important}
 #nav .navbtn.active .ico{color:#d7e6ff!important}
 #nav .mobileMoreNavBtn .ico{font-size:18px!important;font-weight:850!important;letter-spacing:2px}
 #app{padding-bottom:var(--mobile-bottom)!important}
 .workspace{padding:16px 13px 34px!important}
 .header{margin-bottom:13px!important}
 .header h1{font-size:25px!important;font-weight:760!important;letter-spacing:-.8px!important;margin:0 0 8px!important}
 .mobileQuick{gap:8px!important;margin-bottom:8px!important}
 .mobilePeriod .seg{border-radius:13px!important;background:rgba(28,44,68,.8)!important}
 .mobilePeriod .seg button{border-radius:10px!important}
 #mobileFilterToggle{min-height:43px!important;min-width:90px!important;border-radius:13px!important;background:rgba(69,93,129,.45)!important;font-size:12px!important}
 #controls.mobileFiltersExpanded{padding:13px!important;border-radius:17px!important}
 #controls.mobileFiltersExpanded>*{min-width:0}
 /* Bottom sheets with safe-area spacing and generous touch surfaces. */
 .mobileSheet{
  z-index:99!important;left:8px!important;right:8px!important;
  bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
  max-height:min(80dvh,750px)!important;
  border:1px solid rgba(192,214,251,.25)!important;
  border-radius:25px!important;padding:11px 13px 15px!important;
  background:rgba(27,40,62,.97)!important;
  backdrop-filter:blur(30px) saturate(135%)!important;
  box-shadow:0 -20px 70px rgba(0,0,0,.48)!important;
 }
 .mobileSheetContent{padding-bottom:12px!important;scrollbar-width:thin}
 .mobileSheetHandle{background:#a1b7da87!important;width:42px!important}
 .mobileSheetItem{
  min-height:53px!important;border-radius:14px!important;margin:6px 0!important;
  background:rgba(73,94,129,.29)!important;
  border-color:rgba(175,203,245,.13)!important;padding:12px 14px!important
 }
 .mobileSheetItem.selected{background:rgba(94,146,226,.31)!important;border-color:rgba(170,200,255,.36)!important}
 .mobileSheetItemMain{font-size:14px!important}
 .mobileSheetItemHint{font-size:11px!important}
 .mobileSheetBackdrop{z-index:98!important}
 body.mobileSheetOpen{overflow:hidden!important}
 /* Actionable Command Center. */
 .cmdRoot{gap:15px!important}
 .cmdHero{padding:20px!important;border-radius:23px!important;gap:13px!important}
 .cmdHero h1{font-size:28px!important;letter-spacing:-.85px!important;line-height:1.15!important}
 .cmdHero p{font-size:12px!important;line-height:1.55!important}
 .cmdHeroRight{width:100%;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
 .cmdHeroRight span{white-space:normal;font-size:11px}
 .cmdHeroRight button{min-height:41px!important;font-size:12px!important;white-space:nowrap}
 .cmdCaveat{padding:12px 13px!important;border-radius:16px!important;gap:9px!important}
 .cmdCaveat p{font-size:11px!important}
 .cmdSummary{gap:9px!important}
 .cmdStat{min-height:112px!important;padding:14px 12px!important;border-radius:17px!important;gap:7px!important}
 .cmdStat>span{font-size:10.5px!important;line-height:1.25!important}
 .cmdStat strong{font-size:29px!important}
 .cmdStat em{font-size:10px!important;line-height:1.3!important}
 .cmdTitleBar{align-items:center!important;gap:9px!important}
 .cmdTitleBar h2{font-size:19px!important}
 .cmdClient{
  display:grid!important;grid-template-columns:39px minmax(0,1fr)!important;gap:10px!important;
  padding:14px 12px!important;border-radius:18px!important;align-items:start!important
 }
 .cmdClientSymbol{width:39px!important;height:39px!important;border-radius:12px!important}
 .cmdClientName{gap:5px!important}
 .cmdClientName h3{font-size:13px!important;line-height:1.35!important}
 .cmdClientMarket{font-size:10px!important}
 .cmdClientMain p{line-height:1.45!important}
 .cmdClientAction{
  grid-column:2!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:8px!important;width:100%!important
 }
 .cmdClientAction button{min-height:43px!important;border-radius:12px!important;font-size:12px!important;padding:9px 12px!important}
 .cmdMicro{display:flex;gap:5px 11px!important;line-height:1.4!important;font-size:10px!important}
 .cmdLower{gap:15px!important}
 .cmdSecondary{padding:14px!important;border-radius:18px!important}
 .cmdFollowup,.cmdAlert{padding:12px!important}
 .cmdFollowupEnd button,.cmdAlert button{min-height:40px!important;font-size:11px!important}
 .cmdFormGrid{grid-template-columns:1fr!important}
 .cmdFormGrid label,.cmdFormGrid input,.cmdFormGrid select,.cmdFormGrid textarea{width:100%;min-width:0}
 /* Daily Performance Manager. Keep one-tap graph links and individual checkboxes. */
 .uManager{gap:12px!important}
 .uHero{padding:17px!important;border-radius:20px!important;gap:11px!important}
 .uHero h2{font-size:23px!important}
 .uHero p{font-size:12px!important;line-height:1.55!important}
 .uTop{padding:15px!important;border-radius:17px!important}
 .uTabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:5px!important;gap:4px!important}
 .uTabs button{min-height:43px!important;padding:8px 4px!important;border-radius:10px!important}
 .uTabs button[data-u-legacy]{grid-column:1/-1!important;min-height:38px!important}
 .uFilter{gap:10px!important}
 .uFilterButtons{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
 .uFilterButtons button{min-height:43px!important;padding:8px 6px!important;font-size:12px!important}
 .uSection{padding:12px!important;border-radius:18px!important}
 .uSectionHead{display:flex!important;align-items:flex-start!important;gap:9px!important;flex-wrap:wrap!important}
 .uSectionHead h3{font-size:15px!important}
 .uSectionHead .uEdit{min-height:39px!important}
 .uStep{grid-template-columns:27px minmax(0,1fr)!important;gap:10px!important;padding:14px 4px!important}
 .uTick input{width:23px!important;height:23px!important;accent-color:#75d8b5!important}
 .uStepText strong{font-size:13px!important;line-height:1.38!important}
 .uStepText small{font-size:11px!important;line-height:1.5!important}
 .uStepTools{grid-column:2!important;gap:7px!important;justify-content:flex-start!important;min-width:0!important}
 .uStepTools .uTool{font-size:10px!important}
 .uInlineUrl{min-height:42px!important;width:100%!important;flex-basis:100%!important;font-size:14px!important}
 .uEdit,.uOpen{min-height:39px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important}
 .uProductQuick,.uProductHubCard{padding:13px!important;border-radius:17px!important}
 .uProductIdentity{flex-direction:column!important;align-items:stretch!important;gap:11px!important}
 .uProductIdentity strong{font-size:14px!important}
 .uProductTicks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
 .uProductTick{
  display:flex!important;min-width:0!important;min-height:46px!important;gap:8px!important;
  padding:9px!important;border-radius:12px!important;
  border:1px solid rgba(195,215,248,.12)!important;background:rgba(24,39,63,.6)!important;
  white-space:normal!important;font-size:11px!important;line-height:1.3!important
 }
 .uProductTick input{flex:0 0 20px!important;width:20px!important;height:20px!important}
 .uProductGraphLinks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .uProductGraphLinks .uLinkCaption{grid-column:1/-1!important;margin:8px 0 0!important;font-size:10px!important}
 .uGraphLink,.uGraphMissing{
  width:100%!important;white-space:normal!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;text-align:center!important;
  padding:9px 7px!important;line-height:1.3!important;font-size:11px!important;border-radius:12px!important
 }
 .uBidxLinks{margin-top:8px}
 .uEventAdd{min-height:42px!important;font-size:12px!important}
 .uEventActions{align-items:stretch!important}
 .uEventForm{gap:10px!important;padding:11px!important}
 .uEventForm input,.uEventForm textarea,.uEventForm select{font-size:16px!important;min-height:43px!important}
 .uProductEditFields{grid-template-columns:1fr!important;gap:11px!important}
 .uProductEditFields label{font-size:12px!important}
 .uProductEditFields input,.uProductEditFields select{min-height:45px!important;font-size:16px!important}
 .uProductHubControls{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
 .uProductHubControls input{min-height:45px!important;font-size:14px!important}
 .uProductHubControls button{min-height:45px!important}
 .uKeywordRow{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 .uKeywordActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .uKeywordChecks{display:grid!important;grid-template-columns:1fr!important;gap:11px!important}
 .uKeywordChecks label{min-height:42px!important;font-size:12px!important}
 .uKeywordChecks input{width:21px!important;height:21px!important}
 /* Notifications: single-column list, clear status + large action areas. */
 .opnRoot .opnStats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .opnRoot .opnStats>div{padding:13px!important;min-width:0}
 .opnRoot .opnSourceWarning{padding:13px!important;margin:11px 0!important}
 .opnRoot .opnAlert{padding:14px!important;gap:11px!important}
 .opnRoot .opnAlertMark{height:29px!important;flex-basis:29px!important}
 .opnRoot .opnActions{gap:8px!important}
 .opnRoot .opnActions button,.opnRoot .opnActions a{min-height:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .opnRoot .opnFields,.opnRoot .opnFeeFields{grid-template-columns:1fr!important}
 .opnRoot .opnEditor{padding:14px!important}
 .opnRoot .opnEditor input,.opnRoot .opnEditor select,.opnRoot .opnEditor textarea{min-width:0!important;width:100%!important;min-height:43px!important;font-size:16px!important}
 .opnRoot .opnFilters{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .opnRoot .opnFilters button{min-height:43px!important;padding:8px!important}
 /* Reports: leave data accessible; enlarge touch controls and distinguish tables as horizontally scrollable. */
 .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .kpi{min-width:0!important;padding:15px 12px!important;border-radius:17px!important}
 .kpi .label{font-size:11px!important;min-height:0!important}
 .kpi .value{font-size:clamp(20px,5.7vw,27px)!important;overflow-wrap:anywhere!important}
 .chartpanel{padding:14px!important;border-radius:18px!important}
 .chartCanvas{height:265px!important}
 .chartControls{gap:8px!important}
 .chartControls select{min-height:44px!important;font-size:14px!important}
 .tablewrap{border-radius:16px!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important}
 .detailedMetricsTable{scrollbar-width:thin}
 .detailedMetricsTable .tbl th:first-child,.detailedMetricsTable .tbl td:first-child{width:205px!important;min-width:205px!important;max-width:205px!important}
 .tableToolbar{gap:8px!important}
 .tableToolbar button{min-height:42px!important}
 .detailTimeControls{gap:7px!important}
 .detailTimeControls select{min-height:44px!important;font-size:13px!important}
 .detailTimeDates{width:100%!important}
 .detailTimeDates select{min-width:0!important}
 .detailedJumpNav{overflow-x:auto!important;flex-wrap:nowrap!important;overscroll-behavior-x:contain!important}
 .detailedJumpNav>span{display:none!important}
 .detailedJumpNav button{white-space:nowrap!important;flex:0 0 auto!important;min-height:42px!important}
 .snsSignals{grid-template-columns:1fr!important}
 .snsSignal{padding:15px!important;border-radius:17px!important}
 .snsMainTrend{padding:13px!important}
 .snsReadableGraph{padding:10px!important}
 .snsMetricSwitch{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .snsMetricSwitch button{min-height:43px!important;font-size:11px!important}
 .snsPlotScroll{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important}
 .snsReadableSvg{min-width:650px!important}
 /* Avoid mobile zoom on inputs. */
 input[type="text"],input[type="email"],input[type="url"],input[type="search"],input[type="number"],
 input[type="date"],textarea,select{font-size:16px!important}
}
@media(max-width:385px){
 #nav{gap:1px!important;padding-inline:5px!important}
 #nav .navbtn[data-mobile-primary="true"],#nav #mobileMoreNavBtn{font-size:9px!important;letter-spacing:-.2px!important}
 .sidebar{padding-inline:10px!important}
 .sidebar .brand{font-size:15px!important}
 #mobileClientBtn{max-width:137px!important}
 .workspace{padding-inline:10px!important}
 .uProductTicks{gap:6px!important}
 .cmdStat{padding:11px 9px!important}
 .cmdStat strong{font-size:26px!important}
}
@media(prefers-reduced-motion:reduce){
 .cmdClient,.navbtn,button{transition:none!important}
}

@media(max-width:760px){
 body{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
 #page{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
 .uCheckStats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .uCheckStats>div:last-child{grid-column:1/-1}
 .uPeriodTabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important}
 .uPeriodTabs>*{min-width:0!important;white-space:normal!important}
 .uManager,.uHero,.uSection,.uMonthlyReminder{max-width:100%!important;min-width:0!important}
 .uManager h1,.uManager h2,.uManager h3{overflow-wrap:anywhere}
 .uProductHubGrid,.uCheckStats{min-width:0!important}
}

@media(max-width:760px){:root{--mobile-bottom:calc(82px + env(safe-area-inset-bottom,0px))}#page{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important}.tablewrap,.amazonDatasetScroll,.snsPlotScroll,.detailedMetricsTable{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;scrollbar-width:thin}.opnRoot .opnFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.chartControls,.detailTimeControls,.detailTimeDates{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.chartControls>*,.detailTimeControls>*,.detailTimeDates>*{min-width:0!important;width:100%!important}.tableToolbar{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.tableToolbar button{flex:1 1 130px!important}.mobileSheet,.modal,.dialog{max-height:calc(100dvh - var(--mobile-bottom) - env(safe-area-inset-top,0px))!important}}@media(max-width:390px){.chartControls,.detailTimeControls,.detailTimeDates,.opnRoot .opnFilters{grid-template-columns:1fr!important}}
@media(max-width:760px){.mobileSheetThemeSwitch{display:flex!important;gap:8px!important;padding:5px!important;border-radius:14px!important;background:rgba(20,32,51,.72)!important}.mobileSheetThemeSwitch button{flex:1;min-height:44px;border-radius:11px!important;font-size:14px!important}.mobileThemeGroup{margin-top:14px!important;padding-top:12px!important;border-top:1px solid rgba(180,200,232,.18)!important}}

@media(max-width:760px){#mobileHeaderRight>.themeSwitch{display:none!important}}

@media(max-width:760px){
 .mobileSheetAppearance{grid-column:1/-1;display:grid;gap:7px;padding:0 1px 9px;border-bottom:1px solid rgba(175,203,245,.19)}
 .mobileSheetAppearance>span{font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#a9bedb}
 .mobileSheetThemeSwitch{display:flex!important;gap:6px!important;padding:4px!important;border-radius:12px!important}
 .mobileSheetThemeSwitch button{flex:1;min-height:44px;border-radius:9px!important;font-size:13px!important}
}

/* Final mobile layout pass: reserve one bottom-nav inset and let menus fit their content. */
@media(max-width:760px){
 body{padding-bottom:0!important}
 #app{padding-bottom:var(--mobile-bottom)!important}
 #page{padding-bottom:14px!important}
 #page>*{min-width:0;max-width:100%}

 /* Short menus should not open as mostly empty full-height sheets. Longer menus
    retain an internal scroll area so every destination remains reachable. */
 .mobileSheet{
  height:auto!important;
  max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)!important;
 }
 .mobileSheetContent{
  flex:0 1 auto!important;
  max-height:min(68dvh,calc(100dvh - 190px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))!important;
 }

 /* Keep range selectors legible and their native arrows clear of the labels. */
 #controls.mobileFiltersExpanded{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
 #controls select{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:44px!important;padding:8px 40px 8px 12px!important;font-size:14px!important;
  line-height:1.25!important;text-overflow:ellipsis!important;
 }
 #controls #comparison{grid-column:1/-1!important}
 #controls .dateRange{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)!important;gap:6px!important;align-items:center!important}
 #controls .dateRange .periodLabel{display:grid!important;grid-template-columns:1fr;gap:5px!important;min-width:0!important;font-size:11px!important}
 #controls .dateRange .periodLabel select{min-width:0!important}

 /* Avoid page-level horizontal scrolling while keeping data tables swipeable. */
 .workspace,#page,.header{min-width:0!important;max-width:100%!important}
 .tbl{width:max-content;min-width:100%}
 .tablewrap,.amazonDatasetScroll,.snsPlotScroll,.detailedMetricsTable{max-width:100%!important;overscroll-behavior-x:contain!important;touch-action:pan-x pan-y}
}
@media(max-width:390px){
 .mobileSheet{left:8px!important;right:8px!important}
 .mobileSheetContent{max-height:min(64dvh,calc(100dvh - 190px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))!important}
 #controls.mobileFiltersExpanded{padding:10px!important;gap:7px!important}
 #controls select{padding-inline-start:10px!important;padding-inline-end:36px!important;font-size:13px!important}
}

/* Source: mobile-nav-fix.css */
/* D2Clytics iPhone navigation sheet: complete, compact and accessible.
   Loaded after mobile-experience.css so only the menu is changed. */
@media (max-width:760px){
  .mobileSheet{
    display:flex!important; flex-direction:column!important;
    height:min(91dvh,780px)!important;
    max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)!important;
    min-height:0!important;
    left:8px!important; right:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    padding:9px 12px 12px!important;
    overflow:hidden!important;
    border-radius:22px!important;
  }
  .mobileSheet[hidden],.mobileSheetFooter[hidden]{display:none!important}
  .mobileSheetHandle{flex:0 0 auto!important}
  .mobileSheetHead{flex:0 0 auto!important;min-height:42px!important;margin-bottom:7px!important}
  .mobileSheetHead h2{font-size:19px!important;margin:0!important}
  .mobileSheetContent{
    min-height:0!important;max-height:none!important;
    flex:1 1 auto!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
    scrollbar-color:#6484af88 transparent;
    padding:0 3px 9px 1px!important;
    touch-action:pan-y;
  }
  .mobileSheetContent::-webkit-scrollbar{width:4px}
  .mobileSheetContent::-webkit-scrollbar-thumb{background:#748fb0aa;border-radius:10px}
  .mobileSheetUser{
    font-size:12px!important;line-height:1.4!important;
    margin:0 0 13px!important;padding:10px 12px!important;
    border:1px solid #ffffff0c;
  }
  .mobileSheetNavGroup{margin:0}
  .mobileSheetNavGroup+.mobileSheetNavGroup{margin-top:15px}
  .mobileSheetGroupTitle{
    margin:0 0 8px;padding-left:2px;
    font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.11em;
    color:#a9bedb;text-transform:uppercase;
  }
  .mobileSheetNavGrid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;align-items:stretch;min-width:0;
  }
  .mobileSheetNavGrid>.mobileSheetItem{
    width:100%!important;min-width:0!important;
    min-height:51px!important;margin:0!important;padding:9px 11px!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    border-radius:12px!important;
    text-align:left!important;white-space:normal!important;
    border:1px solid rgba(175,203,245,.17)!important;
  }
  .mobileSheetNavGrid .mobileSheetItemMain{
    min-width:0!important;flex:1 1 auto!important;
    width:auto!important;
    font-size:12px!important;line-height:1.3!important;font-weight:650!important;
    white-space:normal!important;overflow:visible!important;
    overflow-wrap:anywhere!important;text-overflow:clip!important;
  }
  .mobileSheetNavGrid .mobileSheetItem>span[aria-hidden="true"]{display:none!important}
  .mobileSheetNavGrid>.mobileSheetItem.selected{
    background:#36547f!important;border-color:#a7c7ffad!important;
    box-shadow:inset 3px 0 #a5c6ff;
  }
  .mobileSheetNavGrid>.mobileSheetItem:focus-visible,
  .mobileSheetFooter>.mobileSheetItem:focus-visible{outline:2px solid #a6c7ff;outline-offset:2px}
  .mobileSheetFooter{
    flex:0 0 auto;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
    padding:11px 1px 0;margin-top:1px;
    border-top:1px solid rgba(175,203,245,.19);
  }
  .mobileSheetFooter>.mobileSheetItem{
    width:100%!important;min-width:0!important;
    min-height:45px!important;margin:0!important;
    padding:10px 11px!important;
    border-radius:12px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    font-size:12px!important;font-weight:700!important;line-height:1.2!important;
    text-align:center!important;
  }
  .mobileSheetFooter>.mobileSheetItem:only-child{grid-column:1/-1}
  .mobileSheetFooter>.mobileSignOut{
    background:rgba(160,74,89,.12)!important;
    color:#ffc2ca!important;
    border:1px solid #b9788369!important;
  }
}
@media(max-width:359px){
  .mobileSheetNavGrid{gap:6px}
  .mobileSheetNavGrid>.mobileSheetItem{padding:8px!important}
  .mobileSheetNavGrid .mobileSheetItemMain{font-size:11.5px!important}
}

/* Workflow-first mobile navigation. Desktop sidebar keeps its full names and order. */
.navMobileName{display:none}
.navDesktopName{display:inline}
@media(max-width:760px){
 #nav .navbtn[data-mobile-primary="true"]{
   order:var(--mobile-nav-order,3)!important;
   min-width:0!important;
 }
 #nav #mobileMoreNavBtn{order:4!important}
 #nav .navDesktopName{display:none!important}
 #nav .navMobileName{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #nav .navbtn[data-mobile-primary="true"],#nav #mobileMoreNavBtn{
   min-height:55px!important;gap:4px!important;
   border-radius:12px!important;
 }
 #nav .navbtn:focus-visible{outline:2px solid #a4cbff!important;outline-offset:-3px!important}
 .mobileSheetNavGroup:first-child .mobileSheetNavGrid{
   grid-template-columns:1fr;
   gap:7px;
 }
 .mobileSheetNavGroup:first-child .mobileSheetNavGrid>.mobileSheetItem{
   min-height:59px!important;
 }
 .mobileSheetNavGrid>.mobileSheetItem{
   display:flex!important;align-items:center!important;gap:9px!important;
   min-width:0!important;
 }
 .mobileSheetNavGrid .mobileSheetItemIcon{
   width:32px;height:32px;flex:0 0 32px;
   display:grid;place-items:center;
   border-radius:10px;background:#45638a55;
   color:#b5d2f9;font-size:17px;line-height:1;
 }
 .mobileSheetNavGrid .mobileSheetItemBody{
   display:grid;align-content:center;min-width:0;flex:1 1 auto;
   gap:2px;
 }
 .mobileSheetNavGrid .mobileSheetItemMain{
   display:block!important;flex:none!important;
   color:#e4effe;font-size:12.5px!important;font-weight:750!important;
   overflow:hidden!important;text-overflow:ellipsis!important;
   white-space:nowrap!important;
 }
 .mobileSheetNavGrid .mobileSheetItemHint{
   display:block;white-space:normal;
   font-size:10.5px!important;color:#9fb7d3;
   line-height:1.25;
 }
 .mobileSheetNavGrid .mobileSheetArrow{
   flex:0 0 auto;color:#a9c5ea;font-size:20px;
 }
 .mobileSheetNavGrid>.mobileSheetItem.selected{
   border-color:#92bfffbb!important;
   background:#294f798a!important;
 }
 .mobileSheetNavGrid>.mobileSheetItem.selected .mobileSheetItemIcon{
   background:#3b75ae!important;color:#fff;
 }
 .mobileSheetUserBottom{
   margin:18px 0 4px!important;
   font-size:11px!important;opacity:.75;
 }
 html[data-d2c-theme="light"] .mobileSheetNavGrid .mobileSheetItemIcon{
   background:#dceafb!important;color:#366ba9!important;
 }
 html[data-d2c-theme="light"] .mobileSheetNavGrid .mobileSheetItemHint{
   color:#617b96!important;
 }
 html[data-d2c-theme="light"] .mobileSheetNavGrid .mobileSheetArrow{
   color:#6785a7!important;
 }
}
@media(max-width:385px){
 #nav .navMobileName{font-size:9px!important}
 .mobileSheetNavGrid .mobileSheetItemIcon{
   width:28px;height:28px;flex-basis:28px;font-size:15px;
 }
}

/* Source: mobile-chart-fix.css */
/* D2Clytics mobile Chart.js charts — presentation only, no data logic changes. */
.detailedTrendChart .chartmeta .legend{
  display:none!important; /* Chart.js already supplies the accurate legend below the plot. */
}
.mobileChartEvents{display:none}
@media(max-width:760px){
  .detailedTrendChart{
    min-width:0!important;max-width:100%!important;
    padding:14px 12px 16px!important;overflow:visible!important;
    border-radius:19px!important;
  }
  .detailedTrendChart .chartmeta{
    display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;
  }
  .detailedTrendChart .chartmeta h3{font-size:16px!important;line-height:1.35;margin:0}
  .detailedTrendChart .compactChartBar{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;align-items:end!important;
    margin:12px 0 16px!important;
    min-width:0!important;
  }
  .detailedTrendChart .compactChartBar>label{
    grid-column:1;display:flex;flex-direction:column;gap:6px;
    min-width:0!important;width:100%;font-size:11px!important;
    line-height:1.25;color:#b6c9e3;
  }
  .detailedTrendChart .compactChartBar select{
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;height:44px!important;
    padding:8px 10px!important;font-size:15px!important;
  }
  .detailedTrendChart .compactChartBar .metricPicker{
    grid-column:2;min-width:0!important;width:100%;position:relative;
  }
  .detailedTrendChart .compactChartBar .metricPicker summary{
    min-height:44px;display:flex;align-items:center;justify-content:center;
    padding:8px 7px!important;white-space:normal!important;
    text-align:center;font-size:12px!important;line-height:1.2;
    border-radius:11px;
  }
  .detailedTrendChart .compactChartBar .metricPicker[open] .metricDrawer{
    right:0!important;left:auto!important;max-width:calc(100vw - 54px);
    width:min(300px,80vw)!important;max-height:min(390px,65dvh)!important;
    overflow:auto!important;
  }
  .detailedTrendChart .compactChartBar>button{
    width:100%!important;min-width:0!important;min-height:40px!important;
    margin:0!important;padding:8px 11px!important;
    font-size:12px!important;line-height:1.2!important;border-radius:11px;
  }
  .detailedTrendChart .chartCanvas{
    height:255px!important;min-width:0!important;max-width:100%!important;
    padding:0!important;overflow:hidden!important;
  }
  .detailedTrendChart .chartCanvas canvas{
    display:block!important;width:100%!important;max-width:100%!important;
    max-height:none!important;
  }
  .mobileChartEvents{
    display:block;margin-top:9px;padding:11px 12px;
    border:1px solid #ffffff1c;border-radius:12px;
    background:#172940ad;
  }
  .mobileChartEventsTitle{
    display:flex;align-items:center;justify-content:space-between;
    gap:9px;flex-wrap:wrap;margin-bottom:7px;
    font-size:11px;font-weight:750;color:#c5d8f2;
  }
  .mobileChartEvents a{color:#a7c8ff;text-decoration:none;font-size:10px;font-weight:650}
  .mobileChartEventList{display:flex;flex-wrap:wrap;gap:6px}
  .mobileChartEvent{
    display:inline-flex;align-items:flex-start;gap:6px;
    padding:6px 8px;max-width:100%;
    border:1px solid #d9b9873b;background:#d3aa6d16;
    border-radius:8px;color:#ebd9c1;font-size:10px;line-height:1.45;
  }
  .mobileChartEvent time{color:#c3a37d;font-weight:700;white-space:nowrap}
  .mobileChartEvent span{overflow-wrap:anywhere}
  .mobileChartEvents>p{font-size:10px;line-height:1.45;margin:8px 0 0;color:#91abc8}
}
@media(max-width:380px){
  .detailedTrendChart{padding:12px 9px 14px!important}
  .detailedTrendChart .chartCanvas{height:240px!important}
  .detailedTrendChart .compactChartBar{gap:7px!important}
}

/* Tap to reveal the complete event information, without covering any plot labels. */
.chartEventDisclosure{
  margin-top:14px;
  border:1px solid #7899c34d;
  border-radius:13px;
  background:#182a42;
  color:#dae8fa;
  overflow:hidden;
}
.chartEventDisclosure>summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  list-style:none;cursor:pointer;min-height:49px;padding:11px 13px;
  user-select:none;-webkit-tap-highlight-color:transparent;
}
.chartEventDisclosure>summary::-webkit-details-marker{display:none}
.chartEventDisclosure>summary:focus-visible{outline:2px solid #84aaf0;outline-offset:-3px}
.chartEventDisclosure>summary:hover{background:#263c57}
.chartEventDisclosureMain{display:inline-flex;align-items:center;min-width:0;gap:8px;font-size:12px}
.chartEventDisclosureMain strong{font-size:12px;color:#e5eefc}
.chartEventDisclosureIcon{color:#edbe7c;font-size:14px;line-height:1}
.chartEventCount{display:inline-grid;place-items:center;border-radius:99px;min-width:23px;height:22px;padding:1px 6px;background:#334b6a;color:#e3f1ff;font-size:11px;font-weight:750}
.chartEventDisclosureAction{font-size:11px;color:#b4cae9;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}
.chartEventsHide{display:none}
.chartEventDisclosure[open] .chartEventsShow{display:none}
.chartEventDisclosure[open] .chartEventsHide{display:inline}
.chartEventDisclosure[open] .chartEventsChevron{transform:rotate(180deg)}
.chartEventsChevron{display:inline-block;transition:transform .15s ease}
.chartEventDisclosureBody{border-top:1px solid #839bbb30;padding:12px 13px 14px}
.chartEventDisclosureBody>p{color:#adc0d8;font-size:11px;line-height:1.5;margin:0 0 11px}
.chartEventDisclosureList{display:grid;gap:7px;margin:0 0 12px;max-height:275px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.chartEventDisclosureItem{display:grid;grid-template-columns:87px minmax(0,1fr);gap:12px;padding:9px 11px;border:1px solid #7c9abb27;background:#223650;border-radius:9px;line-height:1.4}
.chartEventDisclosureItem time{font-size:11px;white-space:nowrap;color:#d4b98e;font-weight:750}
.chartEventDisclosureItem span{font-size:11px;color:#d4e5f8;overflow-wrap:anywhere}
.chartEventDisclosureBody>a{font-size:11px;color:#b9d1ff;font-weight:700;text-decoration:none}
.chartEventDisclosureBody .chartEventCaveat{margin:10px 0 0;color:#829bb9;font-size:10px}
html[data-d2c-theme="light"] .chartEventDisclosure{background:#f5f8fd;border-color:#d5e3f0;color:#203b5b}
html[data-d2c-theme="light"] .chartEventDisclosure>summary:hover{background:#e9f2ff}
html[data-d2c-theme="light"] .chartEventDisclosureMain strong{color:#1d3959}
html[data-d2c-theme="light"] .chartEventCount{background:#d9e9fc;color:#20509a}
html[data-d2c-theme="light"] .chartEventDisclosureAction{color:#3c608d}
html[data-d2c-theme="light"] .chartEventDisclosureIcon{color:#aa752c}
html[data-d2c-theme="light"] .chartEventDisclosureBody{border-color:#dae5f1}
html[data-d2c-theme="light"] .chartEventDisclosureBody>p{color:#566f8b}
html[data-d2c-theme="light"] .chartEventDisclosureItem{background:#fff;border-color:#dce7f2}
html[data-d2c-theme="light"] .chartEventDisclosureItem time{color:#97651b}
html[data-d2c-theme="light"] .chartEventDisclosureItem span{color:#2f4d6d}
html[data-d2c-theme="light"] .chartEventDisclosureBody>a{color:#265aaf}
html[data-d2c-theme="light"] .chartEventDisclosureBody .chartEventCaveat{color:#6a7c93}
@media(max-width:760px){
  .chartEventDisclosure{margin-top:11px}
  .chartEventDisclosure>summary{min-height:48px}
  .chartEventDisclosureItem{grid-template-columns:1fr;gap:3px}
}

/* Source: amazon-event-planner.css */
/* Amazon event planning | readable on desktop and mobile, in light and dark modes. */
.aevRoot{--aev-text:#ecf4ff;--aev-sub:#adc2dd;--aev-border:#ffffff22;--aev-card:#1a2c44;--aev-surface:#182940;--aev-soft:#223954;--aev-accent:#a6caff;--aev-btn:#2a4670;--aev-btn-text:#e3f0ff;--aev-shadow:#050e1d20;display:grid;gap:17px;max-width:1420px;margin:0 auto 50px;color:var(--aev-text)}
.aevRoot *{box-sizing:border-box}
.aevRoot button{cursor:pointer}
.aevHero{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--aev-border);border-radius:22px;padding:26px 28px;background:linear-gradient(125deg,#23456e,#152941);box-shadow:0 10px 35px var(--aev-shadow)}
.aevHero h2{margin:7px 0;font-size:26px;color:#eff7ff;letter-spacing:-.65px}
.aevHero p{margin:0;max-width:790px;color:#b8cde7;font-size:12px;line-height:1.6}
.aevHeroRight{display:grid;text-align:right;gap:4px;font-size:11px;color:#9fbadc}
.aevHeroRight strong{font-size:17px;color:#cfe3ff}
.aevOverline{font-weight:850;font-size:10px;letter-spacing:1.25px;color:#9dbde9}
.aevFilters{display:grid;grid-template-columns:120px 190px minmax(140px,1fr) 190px;gap:10px;background:var(--aev-surface);border:1px solid var(--aev-border);padding:12px;border-radius:16px}
.aevFilters label{display:grid;gap:5px;font-size:10px;font-weight:750;color:var(--aev-sub)}
.aevFilters select{width:100%;min-width:0;min-height:40px;border:1px solid #7395c450;border-radius:9px;background:var(--aev-soft);padding:8px 10px;color:var(--aev-text);font-size:12px}
.aevFilters select option{background:#1b2d44;color:#eef5ff}
.aevSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.aevSummary>div{padding:16px 17px;background:var(--aev-card);border:1px solid var(--aev-border);border-radius:15px;display:grid;gap:4px}
.aevSummary span{font-size:11px;color:var(--aev-sub)}
.aevSummary strong{font-size:29px;line-height:1.3;color:var(--aev-text);font-weight:820;letter-spacing:-.6px}
.aevSummary small{font-size:10px;color:var(--aev-sub)}
.aevPanel{padding:19px;background:var(--aev-card);border:1px solid var(--aev-border);border-radius:17px}
.aevTitle{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.aevTitle h3{font-size:19px;line-height:1.3;margin:4px 0 0;color:var(--aev-text)}
.aevTitle small{font-size:11px;color:var(--aev-sub)}
.aevAlertList{display:grid;gap:8px}
.aevAlert{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px 12px;border-radius:11px;background:var(--aev-soft);border:1px solid var(--aev-border)}
.aevAlertDot{width:8px;height:8px;background:#9ebcf0;border-radius:100%}
.aevAlert.aev-danger .aevAlertDot{background:#ff838d}
.aevAlert.aev-warn .aevAlertDot{background:#edbd77}
.aevAlert>div{min-width:0}
.aevAlert strong{display:block;font-size:12px;color:var(--aev-text)}
.aevAlert small{display:block;font-size:10px;color:var(--aev-sub);margin-top:2px;line-height:1.5}
.aevAlert button,.aevDeadline button,.aevNotesButton{border:1px solid #7598d16e;background:var(--aev-btn);color:var(--aev-btn-text);font-size:11px;border-radius:10px;padding:8px 10px;white-space:nowrap}
.aevTimeline{padding:20px;background:var(--aev-card);border:1px solid var(--aev-border);border-radius:17px}
.aevCount{color:var(--aev-sub);font-size:11px}
.aevEventGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.aevEvent{min-width:0;border:1px solid var(--aev-border);background:var(--aev-surface);border-radius:15px;overflow:hidden;scroll-margin-top:25px}
.aevEventPrimary{display:flex;gap:15px;padding:17px}
.aevEventMonth{flex:0 0 55px;text-align:center;border:1px solid var(--aev-border);background:var(--aev-soft);color:var(--aev-sub);border-radius:12px;padding:8px 3px;align-self:flex-start;text-transform:uppercase;font-weight:750;font-size:11px}
.aevEventMonth strong{display:block;text-transform:none;color:var(--aev-text);font-size:18px;letter-spacing:-.4px}
.aevEventCopy{flex:1;min-width:0}
.aevEventCopy h3{margin:7px 0 2px;color:var(--aev-text);font-size:16px;letter-spacing:-.3px}
.aevEventCopy p{font-size:11px;line-height:1.55;color:var(--aev-sub);margin:5px 0 0}
.aevEventCopy .aevEventDate{font-weight:750;color:var(--aev-text)}
.aevEventBadges{display:flex;gap:5px;flex-wrap:wrap}
.aevEventType{display:inline-flex;border-radius:7px;padding:3px 6px;font-size:9px;font-weight:750;line-height:1.3;border:1px solid var(--aev-border);color:var(--aev-sub)}
.aevEventType.major,.aevEventType.confirmed{background:#3268b82e;color:#abcfff}
.aevEventType.calendar{background:#966c353d;color:#edc58b}
.aevEventType.unknown{background:#5a739733;color:#b7c9e1}
.aevEventBottom{border-top:1px solid var(--aev-border);padding:13px 16px 15px}
.aevDeadline{display:flex;align-items:center;gap:12px;justify-content:space-between}
.aevDeadline>div{display:grid;gap:3px}
.aevLabel{font-size:9px;letter-spacing:.5px;font-weight:800;color:var(--aev-sub)}
.aevDeadline strong{font-size:12px;color:var(--aev-text)}
.aevDeadlineStatus{font-size:10px;color:var(--aev-sub)}
.aevDeadlineStatus.aev-danger{color:#ff9e9c}
.aevDeadlineStatus.aev-warn{color:#f3c98a}
.aevDeadlineStatus.aev-good{color:#8de4ba}
.aevChecklistHint{font-size:11px;color:var(--aev-sub);border-top:1px solid var(--aev-border);margin:13px 0 0;padding-top:11px;line-height:1.6}
.aevSources{display:flex;flex-wrap:wrap;gap:14px;margin:9px 0 0;font-size:10px}
.aevSources a,.aevAccountDetails a{color:var(--aev-accent);text-decoration:none}
.aevEditForm{margin:12px 0 2px;padding:13px;border:1px solid var(--aev-border);background:var(--aev-soft);border-radius:11px;display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}
.aevEditForm>p{flex:1 1 100%;color:var(--aev-sub);margin:0;font-size:11px}
.aevEditForm>strong{font-size:11px;color:var(--aev-text)}
.aevEditForm label{flex:1 1 130px;min-width:0;display:grid;gap:4px;font-size:10px;font-weight:750;color:var(--aev-sub)}
.aevEditForm input,.aevEditForm textarea{width:100%;max-width:100%;border:1px solid #7994b76e;background:var(--aev-surface);border-radius:9px;padding:8px;font-size:12px;color:var(--aev-text)}
.aevEditForm button{min-height:38px;font-size:11px;padding:8px 11px}
.aevAccountDetails{margin:13px 0 0;border-top:1px solid var(--aev-border);padding-top:10px}
.aevAccountDetails>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--aev-text)}
.aevAccountDetails>summary::-webkit-details-marker{display:none}
.aevAccountDetails>summary strong{font-size:11px}
.aevAccountDetails>summary small{color:var(--aev-sub);font-size:10px}
.aevAccountDetails>summary:after{content:"⌄";color:var(--aev-sub)}
.aevAccountDetails[open]>summary:after{content:"⌃"}
.aevAccountList{display:grid;gap:7px;margin-top:12px}
.aevAccountRow{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;align-items:center;gap:8px}
.aevAccountLabel{display:grid;min-width:0}
.aevAccountLabel strong{overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--aev-text)}
.aevAccountLabel small{font-size:9px;color:var(--aev-sub)}
.aevAccountRow select{width:100%;font-size:11px;padding:8px 6px;min-width:0;background:var(--aev-soft);border:1px solid #88a9cb47;border-radius:9px;color:var(--aev-text)}
.aevEmpty,.aevFooter{font-size:11px;color:var(--aev-sub);line-height:1.65}
.aevEmpty{margin:9px 0}
.aevFooter{padding:4px 1px}
.aevError,.aevMessage,.aevLoading{border-radius:10px;padding:11px 13px;font-size:11px;background:#963a4434;border:1px solid #e88d9866;color:#ffc0c5}
.aevMessage{background:#1c7c5a37;border-color:#55bc9361;color:#a9eccc}
.aevLoading{background:var(--aev-soft);border-color:var(--aev-border);color:var(--aev-sub)}
.aevNavBadge{display:inline-flex!important;border-radius:9px;background:#e8b879;color:#2d2418;font-size:10px;padding:2px 5px;min-width:19px;text-align:center}
.aevNavBadge[hidden]{display:none!important}
/* Light appearance */
html[data-d2c-theme="light"] .aevRoot{--aev-text:#1c3655;--aev-sub:#526b87;--aev-border:#d8e4f0;--aev-card:#fff;--aev-surface:#f7faff;--aev-soft:#eaf2fc;--aev-accent:#245db0;--aev-btn:#e4effe;--aev-btn-text:#28569a;--aev-shadow:#27496817}
html[data-d2c-theme="light"] .aevHero{background:linear-gradient(125deg,#e0edff,#f1f8ff)}
html[data-d2c-theme="light"] .aevHero h2{color:#18395d}
html[data-d2c-theme="light"] .aevHero p,.aevRoot .aevHeroRight{color:var(--aev-sub)}
html[data-d2c-theme="light"] .aevHeroRight strong{color:#295eac}
html[data-d2c-theme="light"] .aevOverline{color:#2c64b0}
html[data-d2c-theme="light"] .aevEventType.major,html[data-d2c-theme="light"] .aevEventType.confirmed{color:#215db5;background:#e4efff}
html[data-d2c-theme="light"] .aevEventType.calendar{color:#92622a;background:#fff2dc}
html[data-d2c-theme="light"] .aevEventType.unknown{color:#526d8b;background:#e9f0f8}
html[data-d2c-theme="light"] .aevDeadlineStatus.aev-danger{color:#aa293a}
html[data-d2c-theme="light"] .aevDeadlineStatus.aev-warn{color:#93611f}
html[data-d2c-theme="light"] .aevDeadlineStatus.aev-good{color:#0b764c}
html[data-d2c-theme="light"] .aevRoot button:not(.primary),html[data-d2c-theme="light"] .aevRoot select,html[data-d2c-theme="light"] .aevRoot textarea,html[data-d2c-theme="light"] .aevRoot input{color:#284567;background:#ecf4fc;border-color:#cbdaeb}
html[data-d2c-theme="light"] .aevRoot a{color:#245db0}
/* Responsive */
@media(max-width:1120px){.aevFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.aevEventGrid{grid-template-columns:1fr}}
@media(max-width:760px){
 .aevRoot{gap:12px;padding-bottom:16px}
 .aevHero{padding:19px;display:block;border-radius:18px}
 .aevHero h2{font-size:23px}
 .aevHeroRight{display:flex;justify-content:space-between;text-align:left;margin-top:14px}
 .aevFilters{padding:10px;gap:8px}
 .aevFilters label{font-size:10px}
 .aevFilters select{font-size:12px;min-height:42px;padding:6px}
 .aevSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .aevSummary>div{padding:13px}
 .aevSummary strong{font-size:24px}
 .aevPanel,.aevTimeline{padding:12px;border-radius:14px}
 .aevTitle h3{font-size:17px}
 .aevAlert{grid-template-columns:7px minmax(0,1fr);gap:8px}
 .aevAlert button{grid-column:2;justify-self:start}
 .aevEventGrid{gap:10px}
 .aevEventPrimary{padding:13px;gap:11px}
 .aevEventMonth{flex-basis:45px}
 .aevEventCopy h3{font-size:15px}
 .aevEventBottom{padding:12px}
 .aevAccountRow{grid-template-columns:minmax(0,1fr) 113px;gap:7px}
 .aevNotesButton{grid-column:2;justify-self:start}
 .aevAccountDetails>summary{align-items:flex-start}
 .aevAccountDetails>summary small{max-width:150px}
}

/* Priority-first event view */
.aevPriorityItem{border-left:3px solid #799ed0}
.aevPriorityItem.aev-danger{border-left-color:#e27078;background:linear-gradient(90deg,#aa354018,transparent 60%),var(--aev-soft)}
.aevPriorityItem.aev-warn{border-left-color:#d69d4d;background:linear-gradient(90deg,#9d702018,transparent 60%),var(--aev-soft)}
.aevPriorityItem.aev-info{border-left-color:#6c98c9}
.aevReminderDisclosure{margin-top:10px;border-top:1px solid var(--aev-border);padding-top:9px}
.aevReminderDisclosure>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--aev-accent);font-size:11px;font-weight:750}
.aevReminderDisclosure>summary::-webkit-details-marker{display:none}
.aevReminderDisclosure>summary:after{content:"Show"}
.aevReminderDisclosure[open]>summary:after{content:"Hide"}
.aevReminderDisclosure .aevAlertList{margin-top:10px;max-height:380px;overflow:auto;padding-right:3px}
.aevPriorityFallback{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;border:1px solid var(--aev-border);border-radius:12px;background:var(--aev-soft)}
.aevPriorityFallback>div{display:grid;gap:4px}
.aevPriorityFallback strong{font-size:13px;color:var(--aev-text)}
.aevPriorityFallback small{font-size:10px;color:var(--aev-sub);line-height:1.45}
.aevPriorityFallback button{border:1px solid #7598d16e;background:var(--aev-btn);color:var(--aev-btn-text);font-size:11px;border-radius:10px;padding:8px 10px;white-space:nowrap}
html[data-d2c-theme="light"] .aevPriorityItem.aev-danger{background:linear-gradient(90deg,#fce9e9,transparent 75%),var(--aev-soft)}
html[data-d2c-theme="light"] .aevPriorityItem.aev-warn{background:linear-gradient(90deg,#fff2dc,transparent 75%),var(--aev-soft)}
html[data-d2c-theme="light"] .aevPriorityFallback{background:#f4f8fc;border-color:#d5e1ed}
html[data-d2c-theme="light"] .aevPriorityFallback strong{color:#203b59}
html[data-d2c-theme="light"] .aevPriorityFallback small{color:#506b87}
html[data-d2c-theme="light"] .aevReminderDisclosure>summary{color:#285da2}
@media(max-width:760px){
 .aevPriorityFallback{align-items:flex-start;flex-direction:column}
 .aevPriorityFallback button{align-self:flex-start}
}

/* Clear deadline hierarchy and one-tap priority filters. */
.aevPriorityFilters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}
.aevPriorityFilters button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid var(--aev-border);border-radius:10px;background:var(--aev-surface);color:var(--aev-sub);font-size:10px;font-weight:750}
.aevPriorityFilters button.active{background:var(--aev-btn);border-color:#87a9dc;color:var(--aev-text);box-shadow:inset 0 0 0 1px #86a9db30}
.aevPriorityFilters button span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#ffffff18;color:inherit;font-size:9px;font-variant-numeric:tabular-nums}
.aevPriorityPill{display:inline-flex;margin:0 0 4px;padding:3px 7px;border-radius:6px;background:#28415f;color:#c4d9f3;font-size:9px;line-height:1.3;font-weight:850;letter-spacing:.3px}
.aevPriorityPill.aev-danger{background:#542e38;color:#ffd2d6}
.aevPriorityPill.aev-warn{background:#50422c;color:#ffe0a6}
.aevPriorityPill.aev-info{background:#28415f;color:#c8dcf4}
.aevPriorityMore{margin:8px 0 0;color:var(--aev-sub);font-size:10px;line-height:1.45}
html[data-d2c-theme="light"] .aevPriorityFilters button{background:#f5f8fb;border-color:#d4dfeb;color:#415a74}
html[data-d2c-theme="light"] .aevPriorityFilters button.active{background:#e4effc;border-color:#8eadd0;color:#1e4f89;box-shadow:inset 0 0 0 1px #9bb9d633}
html[data-d2c-theme="light"] .aevPriorityFilters button span{background:#dce7f2;color:#365370}
html[data-d2c-theme="light"] .aevPriorityPill.aev-danger{background:#fde8e8;color:#9a2535}
html[data-d2c-theme="light"] .aevPriorityPill.aev-warn{background:#fff1d8;color:#855713}
html[data-d2c-theme="light"] .aevPriorityPill.aev-info{background:#e7f0fb;color:#31577e}
html[data-d2c-theme="light"] .aevPriorityMore{color:#536d86}
@media(max-width:760px){
 .aevPriorityFilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .aevPriorityFilters button{justify-content:center;gap:4px;min-width:0;padding:7px 4px;font-size:9px;white-space:nowrap}
 .aevPriorityPill{font-size:9px}
}

/* Source: sqpr-comparison.css */
.sqprComparisonPanel{margin:18px 0 14px;padding:18px;border:1px solid var(--edge);border-radius:var(--r,16px);background:linear-gradient(145deg,#ffffff12,#ffffff04 70%),rgba(22,35,53,.78);box-shadow:0 12px 32px #0208132b}
.sqprComparisonHeader{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.sqprComparisonEyebrow{font-size:10px;font-weight:850;letter-spacing:1.1px;color:#a9c3ee}
.sqprComparisonHeader h3{margin:4px 0 5px;font-size:18px;color:var(--tx,#f2f6ff)}
.sqprComparisonHeader p,.sqprComparisonFootnote{margin:0;color:var(--soft,#aabbd2);font-size:11px;line-height:1.55}
.sqprComparisonFilters{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.sqprComparisonFilters label{display:grid;gap:4px;color:var(--soft,#aabbd2);font-size:10px;font-weight:750}
.sqprComparisonFilters input,.sqprComparisonFilters select{min-width:180px;max-width:260px;min-height:38px;padding:8px 10px;border:1px solid #8ba4c84d;border-radius:10px;background:#142238;color:var(--tx,#f2f6ff)}
.sqprComparisonNoRules{max-width:280px;color:var(--soft,#aabbd2);font-size:10px;line-height:1.5}
.sqprComparisonMeta{margin:11px 0 7px;color:var(--soft,#aabbd2);font-size:10px}
.sqprComparisonTable{max-height:540px;overflow:auto}
.sqprComparisonTable .tbl{min-width:930px}
.sqprComparisonTable .tbl th{white-space:normal;text-align:left}
.sqprComparisonTable .tbl td:first-child{min-width:190px;max-width:280px;white-space:normal;text-align:left}
.sqprComparisonTable .tbl td:nth-child(2){text-align:left}
.sqprComparisonTable .tbl td.sqprDeltaCell{min-width:122px;text-align:left}
.sqprDeltaCell strong{display:block;font-size:12px;font-variant-numeric:tabular-nums}
.sqprDeltaCell small{display:block;margin-top:2px;color:var(--soft,#aabbd2);font-size:9px;line-height:1.35;white-space:normal}
.sqprComparisonBaseline{min-width:120px;text-align:left;color:var(--soft,#aabbd2);font-size:10px}
.sqprComparisonFootnote{margin-top:9px}
.sqprComparisonEmpty{margin:12px 0 4px;padding:14px;border:1px dashed #8294aa66;border-radius:11px;color:var(--soft,#aabbd2);font-size:11px}
.sqprComparisonPanel .pos{color:#76e2ae}
.sqprComparisonPanel .neg{color:#ff9a9f}
html[data-d2c-theme="light"] .sqprComparisonPanel{background:#fff;border-color:#d7e0d9;box-shadow:0 8px 24px #24382c12}
html[data-d2c-theme="light"] .sqprComparisonEyebrow{color:#41688f}
html[data-d2c-theme="light"] .sqprComparisonHeader h3{color:#202a25}
html[data-d2c-theme="light"] .sqprComparisonHeader p,html[data-d2c-theme="light"] .sqprComparisonFootnote,html[data-d2c-theme="light"] .sqprComparisonMeta,html[data-d2c-theme="light"] .sqprComparisonBaseline,html[data-d2c-theme="light"] .sqprDeltaCell small,html[data-d2c-theme="light"] .sqprComparisonNoRules,html[data-d2c-theme="light"] .sqprComparisonEmpty{color:#59665f}
html[data-d2c-theme="light"] .sqprComparisonFilters label{color:#3d4a43}
html[data-d2c-theme="light"] .sqprComparisonFilters input,html[data-d2c-theme="light"] .sqprComparisonFilters select{color:#26342d;background:#f7faf7;border-color:#c9d5cc}
html[data-d2c-theme="light"] .sqprComparisonTable .tbl th{color:#344239;background:#e9efe9}
html[data-d2c-theme="light"] .sqprComparisonTable .tbl td{color:#25322b;background:#fff;border-bottom-color:#e4eae5}
html[data-d2c-theme="light"] .sqprComparisonTable .tbl td:first-child{background:#fff;box-shadow:4px 0 10px #263b3010}
html[data-d2c-theme="light"] .sqprComparisonPanel .pos{color:#167448}
html[data-d2c-theme="light"] .sqprComparisonPanel .neg{color:#b4232d}
@media(max-width:760px){
 .sqprComparisonPanel{padding:13px 10px}
 .sqprComparisonHeader{align-items:stretch}
 .sqprComparisonHeader h3{font-size:16px}
 .sqprComparisonFilters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}
 .sqprComparisonFilters label{min-width:0}
 .sqprComparisonFilters input,.sqprComparisonFilters select{width:100%;min-width:0;max-width:100%;font-size:16px}
 .sqprComparisonNoRules{grid-column:1/-1}
 .sqprComparisonTable{max-height:430px}
 .sqprComparisonTable .tbl{min-width:850px}
}
/* Quick-read movement summary and ranking controls. */
.sqprComparisonFilters label{flex:1 1 155px;min-width:140px}
.sqprComparisonFilters input,.sqprComparisonFilters select{width:100%;min-width:0;max-width:none}
.sqprComparisonFilters button{min-height:38px;border:1px solid #7892b451;border-radius:10px;background:#192a40;color:var(--tx,#f2f6ff);padding:8px 11px;font-size:11px}
.sqprComparisonFilters button:hover{border-color:#8db6ed;background:#243d5c}
.sqprComparisonContext{margin:12px 0 8px;color:var(--soft,#aabbd2);font-size:11px;font-weight:700}
.sqprMovementSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 11px}
.sqprMovementCard{display:grid;gap:4px;min-width:0;padding:12px 13px;border:1px solid #ffffff20;border-radius:12px;background:linear-gradient(140deg,#ffffff0d,transparent),#1a2b40}
.sqprMovementCard span{font-size:10px;font-weight:750;color:var(--soft,#aabbd2)}
.sqprMovementCard strong{overflow-wrap:anywhere;font-size:15px;line-height:1.3;color:var(--tx,#f2f6ff);font-variant-numeric:tabular-nums}
.sqprMovementCard small{color:var(--soft,#aabbd2);font-size:9px;line-height:1.4}
.sqprComparisonTable .sqprComparisonRow[hidden]{display:none!important}
.sqprComparisonFilterEmpty{margin:10px 0 0;padding:12px;border:1px dashed #8294aa66;border-radius:10px;color:var(--soft,#aabbd2);font-size:11px}
html[data-d2c-theme="light"] .sqprMovementCard{background:linear-gradient(140deg,#f8fbf8,#fff);border-color:#d7e1d8}
html[data-d2c-theme="light"] .sqprMovementCard span,html[data-d2c-theme="light"] .sqprMovementCard small,html[data-d2c-theme="light"] .sqprComparisonContext,html[data-d2c-theme="light"] .sqprComparisonFilterEmpty{color:#56675c}
html[data-d2c-theme="light"] .sqprMovementCard strong{color:#21332a}
html[data-d2c-theme="light"] .sqprComparisonFilters button{color:#294331;background:#f0f5f0;border-color:#cbd8cd}
html[data-d2c-theme="light"] .sqprComparisonFilters button:hover{background:#e5efe6;border-color:#9db9a1}
@media(max-width:760px){
 .sqprComparisonFilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
 .sqprComparisonFilters label{min-width:0;flex:unset}
 .sqprComparisonFilters input,.sqprComparisonFilters select{width:100%;min-width:0;max-width:100%;font-size:16px}
 .sqprComparisonFilters label:first-child{grid-column:1/-1}
 .sqprMovementSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .sqprMovementCard{padding:10px}
 .sqprMovementCard strong{font-size:13px}
}

/* Direction-first comparison: readable arrows and actual count impact. */
.sqprDeltaCell .sqprArrow{font-size:15px;font-weight:900;vertical-align:-1px}
.sqprComparisonTable .tbl{min-width:1330px}
.sqprInlineMovement{display:block;margin-top:4px;font-size:10px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.sqprInlineMovement.pos{color:#24ab74}.sqprInlineMovement.neg{color:#da606b}
.sqprInlineMovement.sqprNoBaseline{color:var(--soft,#9aabc1)}
#page .sqprComparisonTable .sqprDeltaCell{min-width:145px}
@media(max-width:760px){.sqprComparisonTable .tbl{min-width:1200px}.sqprInlineMovement{font-size:10px}}

/* Source: performance-checkboxes.css */
/* Modern completion controls — native accessible checkboxes, client-side styling only.
   Distinguish "opened" links from confirmed reviews. Works on iOS Safari. */

.uManager{--check-bg:#152940;--check-border:#6781a0;--check-active:#0f9c78;--check-on:#d7fff0}

.uManager :is(.uTick,.uProductTick,.uKeywordChecks label){
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]){
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-grid!important;
  place-items:center;
  position:relative;
  flex:0 0 25px!important;
  width:25px!important;height:25px!important;
  min-width:25px!important;min-height:25px!important;
  max-width:25px!important;max-height:25px!important;
  margin:0!important;padding:0!important;
  border:1.5px solid var(--check-border)!important;
  border-radius:9px!important;
  background:linear-gradient(155deg,#203750,#14283e)!important;
  box-shadow:inset 0 1px 2px #05172b22,0 1px 2px #050b1640!important;
  vertical-align:middle;
  outline:none!important;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"])::after{
  content:"";
  width:11px;height:7px;
  border-left:2.8px solid white;
  border-bottom:2.8px solid white;
  transform:translateY(-2px) rotate(-45deg) scale(.75);
  opacity:0;
  transition:transform .16s ease,opacity .13s ease;
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]):checked{
  background:linear-gradient(145deg,#22b88d,#0b8669)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.8 10.1L8.1 14.3 16.2 5.9' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(145deg,#22b88d,#0b8669)!important;
  background-position:center,center!important;
  background-repeat:no-repeat,no-repeat!important;
  background-size:17px 17px,100% 100%!important;
  border-color:#4bd3a5!important;
  box-shadow:0 0 0 3px #2dc89b22,inset 0 1px 0 #a5f9d44d!important;
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]):checked::after{
  opacity:0;transform:translateY(-2px) rotate(-45deg) scale(.75);
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]):focus-visible{
  outline:3px solid #91b9ff!important;outline-offset:3px!important;
}
.uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]):disabled{
  opacity:.55!important;cursor:wait;filter:saturate(.7);
}
.uManager .uTick{
  display:grid!important;place-items:center;
  min-width:34px;min-height:44px;
  align-self:stretch;
  border:1px solid transparent;
  border-radius:10px;
}
.uManager .uTick:focus-within{outline:none}
.uManager .uStep{transition:background .15s ease}
.uManager .uStep:has(.uTick input:checked){background:#17493514}
.uManager .uStep:has(.uTick input:checked) .uStepText strong{text-decoration:none;color:#a6dcca}
.uManager .uProductTicks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;width:100%}
.uManager .uProductTicks .uProductTick{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-width:0!important;min-height:56px!important;
  padding:13px 14px!important;gap:12px!important;
  border-radius:14px!important;border:1px solid #5f78975c!important;
  background:linear-gradient(135deg,#203951,#1b3048)!important;
  color:#d4e5f7!important;font-size:12px!important;font-weight:650!important;line-height:1.35!important;
  white-space:normal!important;
  box-shadow:0 2px 8px #07162516;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.uManager .uProductTicks .uProductTick span{min-width:0;flex:1;overflow-wrap:anywhere;text-align:left}
.uManager .uProductTicks .uProductTick:is(:hover,:focus-within){border-color:#8db4dc9b!important;background:#29455e!important}
.uManager .uProductTicks .uProductTick:has(input:checked),
.uManager .uProductTicks .uProductTick.isChecked{
  border-color:#3ac099a3!important;
  background:linear-gradient(125deg,#195042,#183d3b)!important;
  color:var(--check-on)!important;
}
.uManager .uProductTicks .uProductTick:has(input:checked) span{color:var(--check-on)!important}
.uManager .uKeywordChecks{gap:9px!important}
.uManager .uKeywordChecks label{
  min-height:47px;display:flex;align-items:center;
  gap:10px;padding:10px 12px;border:1px solid #627e9d66;border-radius:12px;
  background:#1b324a;color:#d1e3f6;font-size:12px;line-height:1.3;
}
.uManager .uKeywordChecks label:has(input:checked){background:#1b4a3b;border-color:#4dc69a88;color:#cbf7e6}
.uManager .uKeywordChecks label:focus-within{outline:2px solid #94bbf5;outline-offset:2px}

html[data-d2c-theme="light"] .uManager{--check-bg:#fff;--check-border:#90a8c5;--check-on:#126c52}
html[data-d2c-theme="light"] .uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"]):not(:checked){
  background:linear-gradient(155deg,#fff,#eff4fb)!important;
  border-color:#91abc7!important;
  box-shadow:0 1px 3px #1738521f!important;
}
html[data-d2c-theme="light"] .uManager .uProductTicks .uProductTick{
  background:#f6f9fe!important;border-color:#ccddef!important;color:#274763!important;
}
html[data-d2c-theme="light"] .uManager .uProductTicks .uProductTick:has(input:checked){
  background:#e1f6ec!important;border-color:#70c8a8!important;color:#12664d!important;
}
html[data-d2c-theme="light"] .uManager .uProductTicks .uProductTick:has(input:checked) span{color:#12664d!important}
html[data-d2c-theme="light"] .uManager .uKeywordChecks label{background:#f5f8fd;color:#254665;border-color:#c5d7e9}
html[data-d2c-theme="light"] .uManager .uKeywordChecks label:has(input:checked){background:#e5f6ec;color:#146349;border-color:#83c9ad}
html[data-d2c-theme="light"] .uManager .uStep:has(.uTick input:checked){background:#d6f2e530}
html[data-d2c-theme="light"] .uManager .uStep:has(.uTick input:checked) .uStepText strong{color:#22654f}

@media(max-width:760px){
 .uManager .uTick{min-width:38px;min-height:47px}
 .uManager .uProductTicks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 .uManager .uProductTicks .uProductTick{min-height:61px!important;padding:11px 10px!important;gap:9px!important}
 .uManager .uKeywordChecks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .uManager .uKeywordChecks label{font-size:11px;padding:10px 8px}
}
@media(max-width:365px){
 .uManager .uProductTicks{grid-template-columns:1fr!important}
 .uManager .uKeywordChecks{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"],.uProductTick,.uStep){transition:none!important}
 .uManager :is(.uTick input[type="checkbox"],.uProductTick input[type="checkbox"],.uKeywordChecks input[type="checkbox"])::after{transition:none!important}
}

/* Source: account-pipeline.css */
/* Account task pipeline — 2026 editorial CRM styling.
   Operational tasks live in Supabase; trends use imported daily figures only. */
.pipeRoot{
  --pipe-bg:#f2f1eb;--pipe-panel:#fffefa;--pipe-ink:#212722;--pipe-sub:#6c756e;
  --pipe-edge:#dddcd2;--pipe-shadow:0 10px 32px rgba(34,39,34,.07);
  --pipe-yellow:#efc950;--pipe-green:#246453;--pipe-orange:#db6343;--pipe-softgreen:#d8e6dc;
  color:var(--pipe-ink);background:var(--pipe-bg);border:1px solid var(--pipe-edge);
  border-radius:25px;padding:clamp(15px,2.1vw,28px);
  display:grid;gap:18px;max-width:100%;min-width:0;
  font-family:inherit;
}
.pipeRoot *{box-sizing:border-box}
.pipeRoot :is(h2,h3,h4,p){margin:0;color:inherit}
.pipeHero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}
.pipeHero h2{font-size:clamp(23px,2.3vw,34px);line-height:1.13;letter-spacing:-.035em;font-weight:820}
.pipeHero p{font-size:12px;color:var(--pipe-sub);line-height:1.5;margin-top:9px;max-width:600px}
.pipeEyebrow{display:block;font-size:10px;letter-spacing:.14em;font-weight:850;margin-bottom:9px;color:#637468}
.pipeRoot button{cursor:pointer}
.pipeRoot button:disabled{cursor:wait;opacity:.6}
.pipeRoot :is(button,input,select,textarea):focus-visible{outline:3px solid #569982!important;outline-offset:2px!important}
.pipePrimary{border:1px solid #27302a!important;border-radius:999px!important;min-height:45px;padding:11px 19px!important;background:#222925!important;color:#fff!important;font-weight:750;font-size:12px;box-shadow:0 5px 12px #18221c18}
.pipePrimary:hover{background:#3e4e43!important}
.pipeInsights{display:grid;gap:14px;border:1px solid #e6e4d9;background:#fffdf9;border-radius:22px;padding:clamp(14px,1.8vw,22px);box-shadow:var(--pipe-shadow)}
.pipeInsights>header{display:flex;align-items:center;justify-content:space-between;gap:11px;flex-wrap:wrap}
.pipeInsights h3{font-size:19px;letter-spacing:-.03em}
.pipeInsights p{font-size:11px;margin-top:4px;color:#677468;line-height:1.4}
.pipeRange,.pipeViewSwitch{display:inline-flex;align-items:center;padding:4px;border-radius:999px;background:#eaece6;gap:3px}
.pipeRange button,.pipeViewSwitch button{border:0!important;background:transparent!important;color:#6b776f!important;border-radius:999px;padding:9px 13px!important;font-size:11px;font-weight:720;min-height:33px}
.pipeRange button.active,.pipeViewSwitch button.active{background:#fff!important;color:#263b30!important;box-shadow:0 2px 6px #17251c15}
.pipeCharts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.pipeTrendCard{display:flex;flex-direction:column;gap:8px;min-width:0;padding:15px 17px 12px;border:1px solid #e6e7df;border-radius:19px;background:linear-gradient(140deg,#fcfcf8,#f3f4ee)}
.pipeTrendTop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pipeTrendTop span{font-size:11px;font-weight:740;color:#55655b}
.pipeTrendTop strong{font-size:clamp(18px,2.1vw,28px);font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.pipeTrendCard>small,.pipeSpark>small{color:#7a857d;font-size:10px;line-height:1.4}
.pipeSpark{display:grid;min-height:118px;gap:3px;color:#2d836a}
.pipeSpark.tacos{color:#d16b45}
.pipeSpark svg{display:block;max-width:100%;width:100%;height:118px;overflow:visible}
.pipeNoChart{display:grid;place-items:center;min-height:118px;font-size:11px;color:#8d9790;background:#eceee8;border:1px dashed #c6cec5;border-radius:12px;text-align:center;padding:12px}
.pipeSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pipeSummary>div{display:flex;flex-direction:column;gap:5px;background:#fffefb;border:1px solid #e4e3d9;border-radius:16px;padding:14px 17px}
.pipeSummary strong{font-size:25px;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.pipeSummary span{font-size:11px;color:#7b837a}
.pipeToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:4px}
.pipeToolbar h3{font-size:21px;letter-spacing:-.03em}
.pipeToolbar p{font-size:11px;color:#7c827b;margin-top:5px}
.pipeToolbarActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pipeSearch input,.pipeTypeFilter select,.pipeForm :is(input,select,textarea),.pipeStatusPicker select{
  border-radius:11px;border:1px solid #cfd8ce!important;background:#fffefa!important;color:#293b30!important;
  font-size:13px;padding:11px 12px;min-height:42px;
}
.pipeSearch input{min-width:190px;max-width:260px}
.pipeTypeFilter select{max-width:175px}
.pipeStagePicker{display:flex;gap:7px;overflow:auto;scrollbar-width:thin;padding:2px 1px 9px}
.pipeStagePicker button{border:1px solid #d6dad1;border-radius:999px;white-space:nowrap;background:#fbfbf8!important;color:#54675a!important;padding:9px 13px!important;font-size:11px;font-weight:700}
.pipeStagePicker button.active{border-color:#345d49!important;background:#2c5b46!important;color:#fff!important}
.pipeStagePicker small{opacity:.7;margin-left:3px}
.pipeBoard{display:grid;grid-template-columns:repeat(5,minmax(225px,1fr));gap:12px;overflow-x:auto;padding:4px 1px 16px;scroll-snap-type:x proximity}
.pipeColumn{background:#fffefb;border:1px solid #e8e5dc;box-shadow:var(--pipe-shadow);border-radius:23px;padding:9px;min-height:270px;min-width:220px;display:flex;flex-direction:column;gap:9px;scroll-snap-align:start}
.pipeColumn>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 8px 5px}
.pipeColumn>header>div{display:flex;align-items:center;gap:8px;min-width:0}
.pipeColumn>header strong{font-size:12px;line-height:1.3}
.pipeStageCount{font-size:11px;font-weight:800;border-radius:999px;background:#e9ede8;color:#3a4a3e;padding:3px 8px}
.pipeStageDot{display:block;flex:0 0 10px;height:10px;border-radius:50%;background:#b8bdc3;box-shadow:0 0 0 3px #b8bdc32f}
.pipeStage-todo .pipeStageDot{background:#dfb635;box-shadow:0 0 0 3px #f3d46b50}
.pipeStage-in_progress .pipeStageDot{background:#2e7d6a;box-shadow:0 0 0 3px #4ead8b47}
.pipeStage-review .pipeStageDot{background:#dd744b;box-shadow:0 0 0 3px #eaa4853c}
.pipeStage-done .pipeStageDot{background:#4c8b62;box-shadow:0 0 0 3px #63ac7640}
.pipeColumn>header button{width:33px;height:33px;padding:0;border:1px solid #d3d9d0;border-radius:50%;background:#fbfdf9!important;color:#3b4b40!important;font-size:20px}
.pipeCards{display:grid;align-content:start;gap:9px;min-height:185px}
.pipeTaskCard{border-radius:17px;padding:13px;display:flex;flex-direction:column;gap:12px;min-height:178px;min-width:0;background:#eae9e6;color:#29312a;border:1px solid #d8ded8;box-shadow:0 4px 8px #1b33231a}
.pipeStage-todo .pipeTaskCard{background:#efcb52;border-color:#e0b935;color:#26291c}
.pipeStage-in_progress .pipeTaskCard{background:#286250;border-color:#265946;color:#f4fbf6}
.pipeStage-review .pipeTaskCard{background:#cd583b;border-color:#b84b30;color:#fff9f1}
.pipeStage-done .pipeTaskCard{background:#d5e7d9;border-color:#b4d2ba;color:#1d4e36}
.pipeCardTop,.pipeCardFooter{display:flex;align-items:center;justify-content:space-between;gap:7px}
.pipeTypeChip{display:inline-flex;border:1px solid currentColor;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:750;opacity:.8}
.pipeTaskCard .pipeCardTop button{width:29px;height:29px;padding:0;border:1px solid currentColor;border-radius:50%;color:inherit;background:transparent!important;font-size:17px;font-weight:850;line-height:1;opacity:.75}
.pipeTaskCard h4{font-size:14px;line-height:1.3;font-weight:790;letter-spacing:-.02em;overflow-wrap:anywhere}
.pipeCardDescription{font-size:11px;line-height:1.42;opacity:.75;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.pipeCardMeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:10px;opacity:.87}
.pipeCardMeta>span{white-space:normal}
.pipeOverdue{font-weight:750;text-decoration:underline;text-underline-offset:3px}
.pipePriority{font-weight:820;border:1px solid currentColor;border-radius:999px;padding:3px 7px}
.pipeCardFooter{margin-top:auto;border-top:1px solid currentColor;padding-top:10px;border-color:color-mix(in srgb,currentColor 24%, transparent)}
.pipeMoveBtns{display:inline-flex;gap:6px}
.pipeMoveBtns button{height:30px;width:30px;border:1px solid currentColor;border-radius:9px;background:transparent!important;color:inherit;font-size:17px;font-weight:700;opacity:.85}
.pipeMoveBtns button:hover,.pipeTaskCard .pipeCardTop button:hover{opacity:1}
.pipeStatusPicker{max-width:132px;flex:1}
.pipeStatusPicker select{width:100%;min-height:32px;padding:6px 9px;background:color-mix(in srgb,#fff 80%,transparent)!important;color:#223c30!important;border:1px solid color-mix(in srgb,#fff 70%,transparent)!important;border-radius:9px!important;font-size:10px;font-weight:740}
.pipeEmptyStage{display:grid;place-items:center;min-height:95px;font-size:11px;color:#9da59c;border:1px dashed #d6ddd2;border-radius:13px;text-align:center}
.pipeList{grid-template-columns:1fr;overflow:visible}
.pipeList .pipeColumn{min-height:auto;padding:12px}
.pipeList .pipeCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));min-height:0}
.pipeList .pipeTaskCard{min-height:150px}
.pipeEditor{background:#fff;border:1px solid #d6dbcf;box-shadow:0 14px 45px #20372918;border-radius:20px;padding:17px}
.pipeEditorHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.pipeEditorHead h3{font-size:18px}
.pipeEditorHead button{border:0;background:#eff0ea;color:#55695d;border-radius:50%;width:37px;height:37px;font-size:22px}
.pipeForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.pipeForm label{display:grid;align-content:start;gap:6px;color:#425f4e;font-size:11px;font-weight:750;min-width:0}
.pipeForm .pipeFull{grid-column:1/-1}
.pipeForm :is(input,select,textarea){width:100%;min-width:0}
.pipeForm textarea{resize:vertical;line-height:1.45}
.pipeFormActions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:4px}
.pipeFormActions>button:not(.pipePrimary){border:1px solid #cbd9ce;background:#eff5f0;color:#335c42;border-radius:11px;padding:10px 13px;font-size:11px}
.pipeFormActions>.pipeDanger{margin-left:auto;color:#a24343!important;border-color:#ebc4c4!important;background:#fff6f6!important}
.pipeError{padding:12px 14px;border:1px solid #d49a89;background:#fff1e9;color:#893b2a;border-radius:12px;font-size:12px}
.pipeError button{background:none;border:0;color:inherit;text-decoration:underline;font-weight:750}
.pipeLoading{padding:25px 16px;text-align:center;color:#667b6b;background:#fff;border-radius:16px}
.pipeFooter{padding:0 4px;color:var(--pipe-sub);font-size:10px;line-height:1.5}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Dark mode retains warm stage colors without changing underlying data semantics. */
html[data-d2c-theme="dark"] .pipeRoot{
 --pipe-bg:#152131;--pipe-panel:#1b2e40;--pipe-ink:#e8f0e8;--pipe-sub:#a7b8b0;
 --pipe-edge:#3a5261;--pipe-shadow:0 11px 30px #060d1830;
 background:#142133;border-color:#31475b;
}
html[data-d2c-theme="dark"] .pipeInsights,
html[data-d2c-theme="dark"] .pipeSummary>div,
html[data-d2c-theme="dark"] .pipeColumn,
html[data-d2c-theme="dark"] .pipeEditor{background:#192e44;border-color:#3a506a}
html[data-d2c-theme="dark"] .pipeTrendCard{background:#243a4f;border-color:#3a506a}
html[data-d2c-theme="dark"] .pipeTrendTop span,
html[data-d2c-theme="dark"] .pipeTrendCard>small,
html[data-d2c-theme="dark"] .pipeInsights p,
html[data-d2c-theme="dark"] .pipeSummary span,
html[data-d2c-theme="dark"] .pipeToolbar p{color:#b8c6da}
html[data-d2c-theme="dark"] .pipeRange,
html[data-d2c-theme="dark"] .pipeViewSwitch{background:#1b2d43}
html[data-d2c-theme="dark"] .pipeRange button.active,
html[data-d2c-theme="dark"] .pipeViewSwitch button.active{background:#365f8d!important;color:#edf3fb!important}
html[data-d2c-theme="dark"] .pipeStagePicker button{background:#243a4f!important;color:#dce7f4!important;border-color:#3a506a!important}
html[data-d2c-theme="dark"] .pipeStagePicker button.active{background:#365f8d!important}
html[data-d2c-theme="dark"] .pipeTaskCard:not(.pipeStage-todo .pipeTaskCard):not(.pipeStage-in_progress .pipeTaskCard):not(.pipeStage-review .pipeTaskCard):not(.pipeStage-done .pipeTaskCard){background:#405465;color:#e4eff5;border-color:#607889}
html[data-d2c-theme="dark"] .pipeForm label{color:#c5d2e3}
html[data-d2c-theme="dark"] .pipeForm :is(input,select,textarea),
html[data-d2c-theme="dark"] .pipeSearch input,
html[data-d2c-theme="dark"] .pipeTypeFilter select{background:#131e30!important;border-color:#657f9e!important;color:#edf3fb!important}
html[data-d2c-theme="dark"] .pipeEditorHead button{background:#243a4f;color:#e2eaf5}
html[data-d2c-theme="dark"] .pipeEmptyStage{border-color:#536a86;color:#a5b6ca}

@media(max-width:1100px){
 .pipeBoard{grid-template-columns:repeat(5,minmax(210px,225px))}
 .pipeCharts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .pipeRoot{border-radius:18px;padding:12px;gap:14px}
 .pipeHero{align-items:flex-start}
 .pipeHero h2{font-size:23px}
 .pipeHero .pipePrimary{width:100%}
 .pipeInsights{padding:12px;border-radius:18px}
 .pipeCharts{grid-template-columns:1fr}
 .pipeTrendCard{padding:13px}
 .pipeTrendTop strong{font-size:23px}
 .pipeSummary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pipeSummary>div{padding:12px}
 .pipeToolbarActions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:8px}
 .pipeToolbarActions .pipeSearch{grid-column:1/-1;width:100%}
 .pipeSearch input{max-width:none;width:100%;min-width:0}
 .pipeToolbarActions .pipeTypeFilter,.pipeToolbarActions .pipeTypeFilter select{min-width:0;width:100%}
 .pipeStagePicker{margin:0 -3px;gap:6px}
 .pipeStagePicker button{padding:9px 11px!important}
 .pipeBoard{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:4px;padding-bottom:16px}
 .pipeBoard .pipeColumn{flex:0 0 min(86vw,310px);min-width:0;scroll-snap-align:center}
 .pipeBoard.pipeList{display:grid;grid-template-columns:1fr;overflow:visible}
 .pipeBoard.pipeList .pipeColumn{width:auto;min-width:0}
 .pipeBoard.pipeList .pipeCards{grid-template-columns:1fr}
 .pipeForm{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pipeForm label:first-child{grid-column:1/-1}
 .pipeFormActions>.pipeDanger{margin-left:0}
 .pipeInsights header{gap:8px}
 .pipeFooter{padding-bottom:6px}
}
@media(max-width:390px){
 .pipeForm{grid-template-columns:1fr}
 .pipeForm label{grid-column:1/-1}
 .pipeBoard .pipeColumn{flex-basis:88vw}
}
@media(prefers-reduced-motion:reduce){
 .pipeRoot *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Clear drag targets for mouse/trackpad users; mobile retains accessible status select. */
@media(pointer:fine){
 .pipeTaskCard[draggable="true"]{cursor:grab}
 .pipeTaskCard[draggable="true"]:active{cursor:grabbing}
 .pipeTaskCard.pipeDragging{opacity:.45;transform:scale(.975)}
 .pipeColumn.pipeDropTarget{outline:3px dashed #3d9670;outline-offset:-5px;background:#eaf8ed}
 html[data-d2c-theme="dark"] .pipeColumn.pipeDropTarget{background:#1f3b57}
}
.pipeQuickTemplates{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:-4px}
.pipeQuickTemplates>span{font-size:11px;color:var(--pipe-sub);font-weight:700;margin-right:3px}
.pipeQuickTemplates button{border:1px solid #c8d7ca!important;border-radius:999px!important;background:#e6efe7!important;color:#24563f!important;padding:9px 12px!important;font-weight:750;font-size:11px}
.pipeQuickTemplates button:hover{background:#d5e8da!important}
html[data-d2c-theme="dark"] .pipeQuickTemplates button{background:#284666!important;border-color:#52739a!important;color:#e1efff!important}
@media(max-width:760px){.pipeQuickTemplates{gap:6px}.pipeQuickTemplates button{padding:9px 10px!important;font-size:10px}}

/* Source: report-trends.css */
/* Editorial reporting charts based on actual import rows; pipeline has no charts. */
.rptModern{--rptPanel:#fcfcf8;--rptInk:#232f28;--rptSoft:#6c7a72;display:grid;gap:17px;padding:clamp(15px,2.3vw,27px);margin:0 0 23px;background:#f3f2ed;border:1px solid #e4e5dc;border-radius:23px;color:var(--rptInk);box-shadow:0 10px 32px #283c2b0e}
.rptModern *{box-sizing:border-box}
.rptModern>header{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap}
.rptModernEyebrow{display:block;font-size:10px;letter-spacing:.16em;color:#64806e;font-weight:800;margin-bottom:5px}
.rptModern h3{margin:0;font-size:clamp(20px,2vw,28px);letter-spacing:-.035em;color:inherit;line-height:1.2}
.rptModern header p{margin:5px 0 0;font-size:11px;line-height:1.45;color:var(--rptSoft)}
.rptModernRange{display:inline-flex;background:#e3e8e0;padding:4px;border-radius:999px;gap:3px}
.rptModernRange button{background:transparent;border:0;color:#63786b;border-radius:999px;padding:9px 15px;min-height:34px;font-size:11px;font-weight:750;cursor:pointer}
.rptModernRange button.active{background:#fff;color:#264d38;box-shadow:0 2px 6px #16351a16}
.rptModernGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.rptModernCard{display:grid;align-content:start;gap:8px;min-width:0;background:var(--rptPanel);border:1px solid #e0e5da;border-radius:18px;padding:16px 16px 12px;box-shadow:0 3px 12px #1a3f2210}
.rptModernCardTop{display:grid;gap:5px}
.rptModernCardTop>span{font-size:11px;font-weight:700;color:#597064}
.rptModernCardTop strong{font-size:clamp(20px,2.2vw,28px);line-height:1.2;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--rptInk)}
.rptModernSpark{min-height:120px;color:#237f63}
.rptModernSpark.tacos{color:#d76b4c}
.rptModernSpark.profit{color:#56859b}
.rptModernSpark svg{display:block;width:100%;height:116px;max-width:100%;overflow:visible}
.rptModernCard small{font-size:10px;color:#65786c;line-height:1.4}
.rptModernCard p{margin:0;font-size:10px;color:#839188;line-height:1.4}
.rptModernMissing{min-height:112px;display:grid;place-items:center;border:1px dashed #c1d0c5;border-radius:12px;color:#839488;text-align:center;padding:14px;font-size:11px}
.rptModernEmpty{border:1px dashed #bbccc0;border-radius:12px;color:#687d70;padding:22px;font-size:12px}
.rptModern>footer{font-size:10px;color:#708477;line-height:1.45}
html[data-d2c-theme="dark"] .rptModern{--rptPanel:#243a4f;--rptInk:#edf3fb;--rptSoft:#b8c6da;background:#192e44;border-color:#3a506a;color:var(--rptInk)}
html[data-d2c-theme="dark"] .rptModernCard{border-color:#3a506a}
html[data-d2c-theme="dark"] .rptModernCardTop>span,html[data-d2c-theme="dark"] .rptModernCard small{color:#c5d2e3}
html[data-d2c-theme="dark"] .rptModernCard p,html[data-d2c-theme="dark"] .rptModern>footer{color:#a5b6ca}
html[data-d2c-theme="dark"] .rptModernRange{background:#1b2d43}
html[data-d2c-theme="dark"] .rptModernRange button{color:#c1cfe0}
html[data-d2c-theme="dark"] .rptModernRange button.active{background:#365f8d;color:#fff}
@media(max-width:1100px){.rptModernGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.rptModern{padding:14px;gap:13px;border-radius:17px}.rptModernGrid{grid-template-columns:1fr;gap:10px}.rptModernCard{padding:13px}.rptModernSpark{min-height:106px}.rptModernSpark svg{height:106px}}

/* Quick range presets and accessible custom-period picker in Overview and Reports. */
.rptModernCustom{display:flex;align-items:end;justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:12px 14px;border:1px solid #d8e3d8;border-radius:14px;background:#fffdfa}
.rptModernCustom label{display:grid;gap:5px;min-width:135px;font-size:11px;color:#52705c;font-weight:750}
.rptModernCustom input{min-height:42px;width:100%;min-width:0;border:1px solid #c3d7c8;border-radius:10px;padding:9px 11px;font-size:13px;background:#fff;color:#2f4335;color-scheme:light}
.rptModernCustom button{min-height:42px;padding:9px 14px;border-radius:10px;border:1px solid #336647;background:#306b51;color:white;font-size:11px;font-weight:800;cursor:pointer}
.rptModernCustom button:hover{background:#397d5d}
.rptModernCustom :is(button,input):focus-visible{outline:3px solid #8fb79d;outline-offset:2px}
.rptModernPeriod{font-size:11px;color:#5f7868;font-weight:720;font-variant-numeric:tabular-nums}
.rptModernError{font-size:11px;line-height:1.5;margin:0;color:#ad432e;background:#fff0e9;border:1px solid #e5ab9b;border-radius:10px;padding:10px 13px}
html[data-d2c-theme="dark"] .rptModernCustom{background:#192e44;border-color:#3a506a}
html[data-d2c-theme="dark"] .rptModernCustom label,html[data-d2c-theme="dark"] .rptModernPeriod{color:#b8c6da}
html[data-d2c-theme="dark"] .rptModernCustom input{background:#131e30;color:#edf3fb;border-color:#657f9e;color-scheme:dark}
html[data-d2c-theme="dark"] .rptModernCustom button{background:#365f8d;border-color:#7095bd;color:#fff}
html[data-d2c-theme="dark"] .rptModernError{background:#5c3435;color:#ffcaad;border-color:#956258}
@media(max-width:760px){
 .rptModernRange{max-width:100%;flex-wrap:wrap;justify-content:center;gap:2px}
 .rptModernRange button{padding:8px 12px}
 .rptModernCustom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}
 .rptModernCustom label{min-width:0}
 .rptModernCustom button{grid-column:1/-1}
}


/* Strong, theme-correct range controls plus keyboard/mouse-friendly chart targets. */
html[data-d2c-theme="dark"] .rptModernRange{background:#1b2d43;border:1px solid #3a506a!important}
html[data-d2c-theme="dark"] .rptModernRange button{color:#d4deea!important}
html[data-d2c-theme="dark"] .rptModernRange button:hover{background:#2a4461!important;color:#fff!important}
html[data-d2c-theme="dark"] .rptModernRange button.active{background:#365f8d!important;color:#fff!important;box-shadow:0 1px 4px #07101a80!important}
html[data-d2c-theme="light"] .rptModernRange{background:#e9e6ec!important;border:1px solid #d8d4dd!important}
html[data-d2c-theme="light"] .rptModernRange button{color:#45414a!important}
html[data-d2c-theme="light"] .rptModernRange button.active{background:#202027!important;color:#fff!important}
.rptModernSpark svg{overflow:visible;touch-action:pan-y}
.rptModernHitPoint{cursor:crosshair;outline:none}
.rptModernHitPoint:focus{stroke:currentColor;stroke-width:2;stroke-dasharray:2 2}
.rptModernPoint{pointer-events:none;transition:r .12s ease}
.rptModernHitPoint:hover+.rptModernPoint,.rptModernHitPoint:focus+.rptModernPoint{r:6}
@media(prefers-reduced-motion:reduce){.rptModernPoint{transition:none}}

/* Clear point affordances and a readable hover/focus readout. */
.rptModernHitPoint{cursor:crosshair;outline:none}
.rptModernHitPoint:focus{stroke:currentColor;stroke-width:2;stroke-dasharray:2 2}
.rptModernPoint{pointer-events:none;transition:r .12s ease}
.rptModernHitPoint:hover+.rptModernPoint,.rptModernHitPoint:focus+.rptModernPoint{r:6}
.rptModernTooltip{max-width:min(320px,calc(100vw - 20px));font-size:12px;font-weight:650;line-height:1.55}
@media(prefers-reduced-motion:reduce){.rptModernPoint{transition:none}}


/* Shopify-inspired trend charts: clean axes, focus the selected point, reveal an exact period guide. */
.rptModernCard{transition:border-color .16s ease,box-shadow .16s ease}
.rptModernCard:hover{border-color:#afc4b4;box-shadow:0 6px 20px #1a3f2218}
.rptModernSpark{min-height:136px;position:relative}
.rptModernSpark svg{height:132px;overflow:visible;touch-action:pan-y}
.rptModernSpark svg>path[stroke="currentColor"]{stroke-linecap:round}
.rptModernPoint{opacity:0;transition:r .12s ease,opacity .12s ease}
.rptModernHitPoint:hover+.rptModernPoint,.rptModernHitPoint:focus+.rptModernPoint{r:6;opacity:1}
.rptModernHitPoint:focus{stroke:currentColor;stroke-width:2;stroke-dasharray:2 2}
.rptModernCrosshair{transition:opacity .1s ease}
html[data-d2c-theme="light"] .rptModernSpark{color:#008060}
html[data-d2c-theme="light"] .rptModernSpark.tacos{color:#8a4b08}
html[data-d2c-theme="light"] .rptModernSpark.profit{color:#008060}
html[data-d2c-theme="dark"] .rptModernSpark{color:#8bb6ff}
html[data-d2c-theme="dark"] .rptModernSpark.tacos{color:#f19980}
html[data-d2c-theme="dark"] .rptModernSpark.profit{color:#83d9b7}
html[data-d2c-theme="light"] .reportPointTooltip.rptModernTooltip{background:#fff;color:#17201f;border-color:#d4ddd7;box-shadow:0 10px 30px #17201f24}
html[data-d2c-theme="light"] .reportPointTooltip.rptModernTooltip strong{color:#17201f}
html[data-d2c-theme="light"] .reportPointTooltip.rptModernTooltip div{color:#47554f}
html[data-d2c-theme="dark"] .reportPointTooltip.rptModernTooltip{background:#192e44;color:#edf3fb;border-color:#657f9e;box-shadow:0 12px 30px #02081390}
html[data-d2c-theme="dark"] .reportPointTooltip.rptModernTooltip strong{color:#fff}
html[data-d2c-theme="dark"] .reportPointTooltip.rptModernTooltip div{color:#d4dfeb}
@media(max-width:760px){.rptModernSpark{min-height:120px}.rptModernSpark svg{height:116px}}
@media(prefers-reduced-motion:reduce){.rptModernCard,.rptModernPoint,.rptModernCrosshair{transition:none}}


/* Explicitly toggle the previous-period line in the report trend charts. */
.rptModernControls{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.rptModernCompareToggle{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:7px 12px;border:1px solid #cdd8d1;border-radius:999px;background:#fff;color:#35443b;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}
.rptModernCompareToggle:hover{background:#f2f6f3;border-color:#aebfb3}
.rptModernCompareToggle:focus-visible{outline:3px solid #8fb79d;outline-offset:2px}
.rptModernSwitch{display:inline-flex;align-items:center;width:31px;height:18px;padding:2px;border-radius:999px;background:#89958d;transition:background .14s ease}
.rptModernSwitch i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .14s ease}
.rptModernCompareToggle.active .rptModernSwitch{background:#008060}
.rptModernCompareToggle.active .rptModernSwitch i{transform:translateX(13px)}
html[data-d2c-theme="dark"] .rptModernCompareToggle{background:#1e3447;border-color:#496276;color:#e5edf4}
html[data-d2c-theme="dark"] .rptModernCompareToggle:hover{background:#29445b;border-color:#67849b}
html[data-d2c-theme="dark"] .rptModernCompareToggle.active .rptModernSwitch{background:#4c83b6}
@media(max-width:760px){.rptModernControls{justify-content:stretch;width:100%}.rptModernRange{flex:1 1 100%;width:100%}.rptModernCompareToggle{justify-content:center;flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.rptModernCompareToggle,.rptModernSwitch,.rptModernSwitch i{transition:none}}

/* Source: daily-action-panel.css */
/* Daily exception queue: KPI status is independent of checklist completion. */
.uDailyHealth{display:grid;gap:12px;padding:17px;border:1px solid #718da859;border-radius:17px;background:#192e44;color:#e5f0fc}
.uDailyHealth>header{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;flex-wrap:wrap}
.uDailyHealth>header h3{margin:3px 0 5px;font-size:17px;letter-spacing:-.02em;color:#eaf4ff}
.uDailyHealth>header p{margin:0;font-size:11px;color:#abc0d6;line-height:1.45}
.uHealthBadge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:11px;font-weight:780;padding:8px 12px}
.uHealthBadge.warn{background:#70403366;color:#f4baaa;border:1px solid #dc907e55}
.uHealthBadge.good{background:#2657456d;color:#b6ebcb;border:1px solid #62af8e66}
.uHealthBadge.unknown{background:#66543169;color:#f0dba0;border:1px solid #c7ab6355}
.uHealthPriority{border:1px solid #d6967855;border-radius:10px;background:#60402c45;padding:9px 12px;font-size:11px;color:#f2d1bd;font-weight:700}
.uHealthMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.uHealthMetric{display:grid;align-content:start;gap:8px;min-width:0;border:1px solid #4e6b8566;border-radius:13px;background:#243a4f;padding:13px}
.uHealthMetric.issue{border-color:#be806577;background:#4e343d55}
.uHealthMetric.good{border-color:#428f7566}
.uHealthMetric.unknown{border-color:#ac915c70}
.uHealthMetricHead,.uHealthMetricBottom{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.uHealthMetricHead strong{font-size:12px;color:#e5effa}
.uHealthMetricHead span{font-size:10px;color:#aec7dc}
.uHealthMetric.issue .uHealthMetricHead span{color:#f2a98a}
.uHealthMetric.good .uHealthMetricHead span{color:#96ddbc}
.uHealthMetricValue{display:grid;gap:4px;font-size:22px;font-weight:800;letter-spacing:-.03em}
.uHealthMetricValue small{font-size:10px;letter-spacing:0;color:#a4bbd0;font-weight:600}
.uHealthMetric p{margin:0;font-size:10px;color:#b8c9d8;line-height:1.45}
.uHealthMetricBottom{margin-top:auto}
.uHealthMetricBottom small{font-size:10px;color:#9ab5ce}
.uHealthMetricBottom button,.uKeywordTodo button{border:1px solid #638fbb99;border-radius:9px;background:#2c5074;color:#d8ebff;min-height:34px;padding:7px 10px;font-size:11px;font-weight:760;cursor:pointer}
.uHealthMetricBottom button:hover,.uKeywordTodo button:hover{background:#396589}
.uKeywordTodo{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:13px;border-radius:12px;background:#74482c46;border:1px solid #c6975666}
.uKeywordTodo>div{display:grid;gap:5px;flex:1;min-width:180px}
.uKeywordTodo strong{font-size:13px;color:#ffe1ba}
.uKeywordTodo small{font-size:11px;color:#cdbba9;overflow-wrap:anywhere}
.uKeywordTodo p{margin:0;font-size:11px;color:#dbc9b8;line-height:1.4}
.uHealthDataWarning{margin:0;font-size:11px;color:#efc1a6}
.uDailyHealth footer{font-size:10px;color:#9eb5c8;line-height:1.45}
html[data-d2c-theme="light"] .uDailyHealth{background:#f4f8fd;color:#274564;border-color:#ccdae8}
html[data-d2c-theme="light"] .uDailyHealth h3{color:#1f3f60}
html[data-d2c-theme="light"] .uDailyHealth>header p,html[data-d2c-theme="light"] .uDailyHealth footer{color:#596f87}
html[data-d2c-theme="light"] .uHealthMetric{background:#fff;border-color:#cfdded}
html[data-d2c-theme="light"] .uHealthMetric.issue{background:#fff0eb;border-color:#e9b69f}
html[data-d2c-theme="light"] .uHealthMetric.unknown{background:#fff9eb;border-color:#e5d5ab}
html[data-d2c-theme="light"] .uHealthMetricHead strong,html[data-d2c-theme="light"] .uHealthMetricValue{color:#274461}
html[data-d2c-theme="light"] .uHealthMetric p,html[data-d2c-theme="light"] .uHealthMetricValue small,html[data-d2c-theme="light"] .uHealthMetricBottom small{color:#64788c}
html[data-d2c-theme="light"] .uHealthMetric.issue .uHealthMetricHead span{color:#a85234}
html[data-d2c-theme="light"] .uHealthMetric.good .uHealthMetricHead span{color:#217453}
html[data-d2c-theme="light"] .uHealthMetricBottom button{color:#245985;background:#e4effa}
html[data-d2c-theme="light"] .uKeywordTodo{background:#fff4e4;border-color:#edcba0}
html[data-d2c-theme="light"] .uKeywordTodo strong{color:#875622}
html[data-d2c-theme="light"] .uKeywordTodo small,html[data-d2c-theme="light"] .uKeywordTodo p{color:#886a48}
html[data-d2c-theme="light"] .uHealthPriority{background:#fff0e8;color:#8f4b36}
@media(max-width:800px){.uHealthMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.uDailyHealth{padding:12px}.uHealthMetrics{grid-template-columns:1fr}.uKeywordTodo button{width:100%}.uHealthMetricValue{font-size:20px}}

/* Weekly product diagnosis. It appears only inside a weekly product review. */
.uWeeklyIssueBadge{display:inline-flex;align-items:center;border:1px solid #cf9077;border-radius:999px;background:#47352f;color:#ffd8c7;padding:4px 9px;font-size:10px;font-weight:750}
.uProductDiagnostic{margin-top:12px;border:1px solid #536982;border-radius:13px;background:#172638;color:#edf3f9;overflow:hidden}
.uProductDiagnostic>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}
.uProductDiagnostic>summary::-webkit-details-marker{display:none}
.uProductDiagnostic>summary>span:first-child{display:grid;gap:3px;min-width:0}
.uProductDiagnostic>summary strong{font-size:12px;color:#f1f5fa}
.uProductDiagnostic>summary small{font-size:10px;color:#b8c7da;line-height:1.45}
.uProductDiagnosticChevron{flex:0 0 auto;font-size:18px;color:#b8c7da;transition:transform .15s ease}
.uProductDiagnostic[open] .uProductDiagnosticChevron{transform:rotate(180deg)}
.uProductDiagnosticBody{padding:0 14px 14px}
.uProductDiagnosticBody>p{margin:0 0 10px;color:#b8c7da;font-size:11px;line-height:1.5}
.uProductReviewFeedback{padding:8px 10px;border-radius:8px;background:#20384b;color:#c7deef!important}
.uProductClearedNotes{display:grid;gap:6px;margin:0 0 10px;padding:10px;border:1px solid #577564;border-radius:9px;background:#24372f}
.uProductClearedNotes strong{color:#d4ebd9;font-size:11px}
.uProductClearedNotes p{margin:0;color:#d0dfd2;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.uProductClearedNotes small{color:#b5cbb9;font-size:10px;line-height:1.45}
.uProductBadToggle{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:10px 12px;border:1px solid #8e6b5a;border-radius:10px;background:#342d29;color:#ffe4d7;font-size:12px;font-weight:750;cursor:pointer}
.uProductBadToggle input,.uProductDiagnosticItem input{width:18px;height:18px;flex:0 0 auto;accent-color:#d48363}
.uWeeklyIssueBadge+*{margin-left:4px}
.uProductBadForm{display:grid;gap:10px;margin-top:10px}
.uProductDriverFieldset{min-width:0;border:0;padding:0;margin:0}
.uProductDriverFieldset legend{margin:0 0 8px;color:#eaf1f8;font-size:12px;font-weight:760}
.uProductDiagnosticGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.uProductDiagnosticItem{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:10px;border:1px solid #3f536e;border-radius:10px;background:#202f45;cursor:pointer}
.uProductDiagnosticItem input{margin:1px 0 0;accent-color:#6fb18d}
.uProductDiagnosticItem span{display:grid;gap:4px;min-width:0;font-size:10px;line-height:1.45;color:#d0dbea}
.uProductDiagnosticItem strong{font-size:11px;color:#c6d9e7}
.uProductDiagnosticItem small{font-size:10px;color:#b8c7da;font-weight:450}
.uProductBadForm label,.uProductRecheckField{display:grid;gap:5px;font-size:11px;font-weight:700;color:#d8e1ed}
.uProductBadForm label small{color:#b8c7da;font-size:10px;font-weight:500;line-height:1.45}
.uProductBadForm textarea,.uProductBadForm input[type="date"]{width:100%;min-height:40px;resize:vertical;background:#121d2e;color:#edf2f9;border:1px solid #62758e;border-radius:9px;padding:9px;font:inherit}
.uProductBadForm textarea:focus,.uProductBadForm input:focus{outline:2px solid #8fbaa5;outline-offset:2px}
.uProductBadFormActions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.uProductBadFormActions button{justify-self:start}
.uProductBadFormActions small{color:#b8c7da;font-size:10px}
.uProductPriorActions{margin:0 0 10px;border:1px solid #a4784b;border-radius:10px;background:#302b25;overflow:hidden}
.uProductPriorActions>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;color:#f1d3a5;font-size:11px;font-weight:750;cursor:pointer}
.uProductPriorActions>summary span{display:inline-grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:#5c4932;color:#f8e6c4}
.uProductPriorActions>div{display:grid;gap:8px;padding:0 9px 9px}
.uProductPriorActions article{display:grid;gap:6px;padding:10px;border:1px solid #5b5143;border-radius:8px;background:#242a31}
.uProductPriorActions article header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.uProductPriorActions article header strong,.uProductPriorActions article p{margin:0;color:#eee3d0;font-size:10px;line-height:1.45}
.uProductPriorActions article small{color:#c4b49c;font-size:10px;line-height:1.45}
.uProductPriorActions article button{min-height:32px;border:1px solid #967b55;border-radius:8px;background:#413a30;color:#f5e3c5;padding:6px 9px;font-size:10px;font-weight:700;cursor:pointer}
html[data-d2c-theme="light"] .uWeeklyIssueBadge{background:#fff1e9;color:#8d4c37;border-color:#d7aa98}
html[data-d2c-theme="light"] .uProductDiagnostic{background:#f5f8f6;color:#202a25;border-color:#bfcfc4}
html[data-d2c-theme="light"] .uProductDiagnostic>summary strong,html[data-d2c-theme="light"] .uProductDriverFieldset legend{color:#244f3b}
html[data-d2c-theme="light"] .uProductDiagnostic>summary small,html[data-d2c-theme="light"] .uProductDiagnosticBody>p{color:#4f5d55}
html[data-d2c-theme="light"] .uProductDiagnosticChevron{color:#40594b}
html[data-d2c-theme="light"] .uProductReviewFeedback{background:#eaf3ec;color:#315a43!important}
html[data-d2c-theme="light"] .uProductClearedNotes{background:#f0f7f1;border-color:#b9ceb9}
html[data-d2c-theme="light"] .uProductClearedNotes strong,html[data-d2c-theme="light"] .uProductClearedNotes p{color:#31513a}
html[data-d2c-theme="light"] .uProductClearedNotes small{color:#526a55}
html[data-d2c-theme="light"] .uProductDiagnosticItem{background:#fff;border-color:#cbd7ce}
html[data-d2c-theme="light"] .uProductDiagnosticItem strong{color:#244f3b}
html[data-d2c-theme="light"] .uProductDiagnosticItem span,html[data-d2c-theme="light"] .uProductDiagnosticItem small{color:#35433b}
html[data-d2c-theme="light"] .uProductBadToggle{background:#fff1ef;color:#782e2b;border-color:#d7a29c}
html[data-d2c-theme="light"] .uProductBadForm label,html[data-d2c-theme="light"] .uProductBadForm label small{color:#35433b}
html[data-d2c-theme="light"] .uProductBadForm textarea,html[data-d2c-theme="light"] .uProductBadForm input[type="date"]{background:#fff;color:#202a25;border-color:#89978e}
html[data-d2c-theme="light"] .uProductBadFormActions small{color:#536158}
html[data-d2c-theme="light"] .uProductPriorActions{background:#fff8ec;border-color:#dfbf8b}
html[data-d2c-theme="light"] .uProductPriorActions>summary{color:#76512c}
html[data-d2c-theme="light"] .uProductPriorActions>summary span{background:#f1e2c5;color:#684a26}
html[data-d2c-theme="light"] .uProductPriorActions article{background:#fff;border-color:#e4d7be}
html[data-d2c-theme="light"] .uProductPriorActions article header strong,html[data-d2c-theme="light"] .uProductPriorActions article p{color:#3f3527}
html[data-d2c-theme="light"] .uProductPriorActions article small{color:#6f6047}
html[data-d2c-theme="light"] .uProductPriorActions article button{background:#fff;color:#684a26;border-color:#c5a46a}
@media(max-width:580px){.uProductDiagnosticGrid{grid-template-columns:1fr}.uProductDiagnosticBody{padding:0 11px 12px}.uProductPriorActions article header button{width:100%}.uProductBadFormActions button{width:100%}}
@media(prefers-reduced-motion:reduce){.uProductDiagnosticChevron{transition:none}}

/* Source: dark-readability.css */
/* Dark-only colour system. Loaded last to keep text and surfaces consistent across workspaces. */
:root {
 color-scheme: dark;
 --dark-canvas: #0e1623;
 --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);
}
body { background: var(--dark-canvas); color: var(--dark-text); line-height: 1.6; }
::selection { background: #36588b; color: #fff; }
:is(h1,h2,h3,h4) { color: var(--dark-text); }
:is(.soft,.muted,.note,.kpi .hint,.sect small,.sidebarfoot,.navlabel) { color: var(--dark-secondary); }
a { color: var(--dark-accent); text-underline-offset: 3px; }
a:hover { color: #d0dfff; }
.glass,.panel,.chartpanel,.tablewrap { background: var(--dark-panel); border-color: var(--dark-border); box-shadow: 0 8px 24px #00000024; backdrop-filter: none; }
.sidebar { background: #14151a; border-color: var(--dark-border); }
.top { background: #121e2e; border-color: var(--dark-border); }
.navbtn { color: var(--dark-secondary); }
.navbtn.active { background: #253e61; border-color: #7395c5; color: var(--dark-text); }
.navbtn:hover:not(.active) { background: var(--dark-raised); color: var(--dark-text); }
:is(button,input,select,textarea) { border-color: #62758e; }
:is(input,select,textarea) { background: var(--dark-field); color: var(--dark-text); }
select option { background: var(--dark-field); color: var(--dark-text); }
input::placeholder,textarea::placeholder { color: var(--dark-muted); opacity: 1; }
input[type="checkbox"],input[type="radio"] { accent-color: #9ebfff; }
button.primary,.pipeRoot .pipePrimary {
 background: #315db8 !important; border-color: #789bdc !important; color: #fff !important; box-shadow: 0 3px 12px #00000030;
}
button.primary:hover:not(:disabled),.pipeRoot .pipePrimary:hover:not(:disabled) { background: #3c6bc9 !important; }
:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--dark-focus) !important; outline-offset: 3px !important; }
button:disabled { opacity: .6; cursor: not-allowed; }
.pos,.green,.overviewDelta.pos { color: var(--dark-success); }
.neg,.red,.overviewDelta.neg { color: var(--dark-danger); }
.card .cardhead,.overviewCompareGrid .overviewCompareCard .cardhead { background: var(--dark-raised); color: var(--dark-text); }
.card:first-child .cardhead,.overviewCompareGrid .overviewCompareCard.current .cardhead { background: #243f65; }
.overviewCompareMetricTop>span,.overviewCompareValues small,.overviewCompareHeading p,.overviewCompareSelector,.overviewCompareNote { color: var(--dark-secondary); }
.overviewSecondaryHeading,.overviewDemandHeading,.overviewShopHeading { color: var(--dark-accent); }
.tbl th,.tbl th:first-child { background: #24334a; color: var(--dark-text); }
.tbl td:first-child { background: #1c2a3e; }
.tbl th,.tbl td { border-bottom-color: #354760; font-variant-numeric: tabular-nums; }
.tbl tr.group td,.tbl tr.group td:first-child { background: #2a405e; color: var(--dark-text); }
.tbl tr:hover td { filter: none; background: #263b54; }
.tbl tr.detailChangeRow td { color: var(--dark-secondary); }
.svgchart text { fill: var(--dark-secondary); }
.loginbox label { color: var(--dark-secondary); font-size: 12px; }
.loginbox .note { line-height: 1.65; }
.loginbox .status { color: var(--dark-warning); }
/* Opaque checklist cards keep dense text separate from decorative backgrounds. */
.uManager :is(.uHero,.uTop,.uSection) { background: var(--dark-panel) !important; border-color: var(--dark-border) !important; }
.uStepText small,.uHero p,.uFooter,.uLinkCaption,.uGraphOpenedCount,.uProductName small { color: var(--dark-secondary); }
.uStep { border-color: #354760; }
.cmdRoot { --cmd-border: var(--dark-border); --cmd-surface: var(--dark-panel); }
.cmdHero,.cmdStat,.cmdClient,.cmdSecondary,.cmdCaveat { background: var(--dark-panel); border-color: var(--dark-border); }
.cmdHero p,.cmdCaveat p,.cmdStat em,.cmdClientMain p,.cmdMicro,.cmdFollowup p,.cmdAlert p,.cmdFooter { color: var(--dark-secondary); }
/* Task status uses a coloured edge plus a labelled stage, with dark cards throughout. */
html[data-d2c-theme="dark"] .pipeRoot {
 --pipe-bg: var(--dark-canvas); --pipe-panel: var(--dark-panel); --pipe-ink: var(--dark-text);
 --pipe-sub: var(--dark-secondary); --pipe-edge: var(--dark-border);
 background: var(--dark-canvas); border-color: var(--dark-border);
}
html[data-d2c-theme="dark"] .pipeRoot :is(.pipeColumn,.pipeSummary>div,.pipeEditor,.pipeLoading) { background: var(--dark-panel); border-color: var(--dark-border); color: var(--dark-text); }
html[data-d2c-theme="dark"] .pipeRoot .pipeTaskCard { background: var(--dark-raised) !important; color: var(--dark-text) !important; border: 1px solid #536981; border-left: 4px solid #a4b4c9; }
html[data-d2c-theme="dark"] .pipeRoot .pipeStage-todo .pipeTaskCard { border-left-color: var(--dark-warning); }
html[data-d2c-theme="dark"] .pipeRoot .pipeStage-in_progress .pipeTaskCard { border-left-color: var(--dark-accent); }
html[data-d2c-theme="dark"] .pipeRoot .pipeStage-review .pipeTaskCard { border-left-color: #ffd188; }
html[data-d2c-theme="dark"] .pipeRoot .pipeStage-done .pipeTaskCard { border-left-color: var(--dark-success); }
.pipeRoot :is(.pipeCardDescription,.pipeCardMeta,.pipeTypeChip) { color: var(--dark-secondary); opacity: 1; }
html[data-d2c-theme="dark"] .pipeRoot .pipeColumn>header button,
html[data-d2c-theme="dark"] .pipeRoot .pipeStatusPicker select,
html[data-d2c-theme="dark"] .pipeRoot .pipeFormActions>button:not(.pipePrimary) { background: var(--dark-field) !important; color: var(--dark-text) !important; border-color: #62758e !important; }
html[data-d2c-theme="dark"] .pipeRoot .pipeStageCount { background: #243a4f; color: var(--dark-text); }
html[data-d2c-theme="dark"] .pipeRoot :is(.pipeViewSwitch button.active,.pipeStagePicker button.active) { background: #315276 !important; color: var(--dark-text) !important; }
html[data-d2c-theme="dark"] .pipeRoot .pipeFormActions>.pipeDanger { background: #442634 !important; color: var(--dark-danger) !important; border-color: #b27385 !important; }
html[data-d2c-theme="dark"] .pipeRoot .pipeError { background: #442634; color: var(--dark-danger); border-color: #b27385; }
/* Report cards share neutral navy surfaces while retaining distinct series colours. */
html[data-d2c-theme="dark"] .rptModern { --rptPanel: var(--dark-panel); --rptInk: var(--dark-text); --rptSoft: var(--dark-secondary); background: #131e2e; border-color: var(--dark-border); }
html[data-d2c-theme="dark"] .rptModern :is(.rptModernCard,.rptModernCustom) { background: var(--dark-panel); border-color: var(--dark-border); }
html[data-d2c-theme="dark"] .rptModern :is(.rptModernCardTop>span,.rptModernCard small,.rptModernCard p,.rptModernPeriod,.rptModernMissing,.rptModernEmpty,footer) { color: var(--dark-secondary); }
html[data-d2c-theme="dark"] .rptModern .rptModernRange button.active { background: #315276; color: var(--dark-text); }
html[data-d2c-theme="dark"] .rptModern .rptModernSpark { color: #8bb6ff; }
html[data-d2c-theme="dark"] .rptModern .rptModernSpark.tacos { color: #f19980; }
html[data-d2c-theme="dark"] .rptModern .rptModernSpark.profit { color: #83d9b7; }
/* Predictable overlays and mobile controls retain clear boundaries. */
.mobileSheet { background: var(--dark-panel); color: var(--dark-text); border-color: var(--dark-border); }
.mobileSheetItemHint,.mobileContext,.mobileSheetUser { color: var(--dark-secondary); }
.reportPointTooltip { background: var(--dark-panel) !important; color: var(--dark-text); }
@media(max-width:760px) {
 #nav { background: #121e2e; border-color: var(--dark-border); }
 .loginbox :is(input,button) { min-height: 44px; }
 .pipeRoot :is(.pipeStatusPicker select,.pipeMoveBtns button,.pipeCardTop button) { min-height: 40px; }
}
@media(prefers-reduced-motion:reduce) { :is(button,input,select,textarea,.navbtn) { transition: none; } }

/* Dark mode: keep segmented navigation and filter controls on the same dark surface as their pages. */
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav){background:#1b2d43!important;border-color:#3a506a!important;color:#d4dfed!important}
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav) button{background:transparent!important;border-color:transparent!important;color:#c7d6e8!important;box-shadow:none!important}
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav) button:is(.active,.on,[aria-pressed="true"]){background:#365f8d!important;border-color:#7095bd!important;color:#fff!important;box-shadow:0 2px 8px #0003!important}
html[data-d2c-theme="dark"] :is(.seg,.uTabs,.uFilterButtons,.uBrandNav,.rptModernRange,.pipeRange,.pipeViewSwitch,.pipeStagePicker,.checkinViewNav,.checkinBrandNav,.checkinDayNav) button:not(:is(.active,.on,[aria-pressed="true"])):hover{background:#2a4461!important;color:#f3f7fb!important}
html[data-d2c-theme="dark"] .uTabs button[data-u-legacy]{color:#c3d3e6!important}
html[data-d2c-theme="dark"] .uManager :is(.uTabs,.uFilterButtons) button:focus-visible{outline:3px solid #8ac8e4!important;outline-offset:2px!important}

/* Client context beside the demo flag reads as a rounded chip. */
html[data-d2c-theme="dark"] .top #clientLabel{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:1px solid var(--dark-border);border-radius:999px;background:var(--dark-raised);color:var(--dark-text);line-height:1.2}
