/* Screenshot reference: 53px header, 116px rail and 32px page tab. */
:root{--console-sidebar:116px;--console-blue:#1677ff;--console-background:#f1f5fd}
#workspace{display:block;background:var(--console-background)}
#workspace .app-topbar{height:53px;position:fixed;inset:0 0 auto;display:flex;align-items:center;gap:14px;padding:0 20px;background:#fff;border:0;z-index:50;font-size:14px}
.app-topbar .top-brand{flex:0 0 auto;gap:0}.app-topbar .brand-art{width:82px;min-width:82px;height:36px;background:none}.app-topbar .brand-art img{width:100%;height:100%;object-fit:contain;filter:grayscale(1) brightness(.12)}
.app-topbar .top-context{display:flex;gap:12px;align-items:center;white-space:nowrap;font-size:14px;color:#111;font-weight:400}.top-context small{font-size:12px;color:#999;margin-left:0}.console-divider{margin-right:0}
.app-topbar button{font-family:inherit;font-weight:400;background:none;border:0;box-shadow:none}.app-topbar .console-analysis{display:flex;gap:7px;align-items:center;background:linear-gradient(100deg,#f2f8ff,#faf0ff);color:#4058ff;border:1px solid #efebff;border-radius:28px;font-size:13px;padding:6px 10px;white-space:nowrap}.console-analysis>span{font-size:19px;font-weight:700;color:#6f85ff}.console-analysis b{font-size:21px;line-height:1;font-weight:400}
.console-header-tools{margin-left:auto;display:flex;align-items:center;gap:14px;white-space:nowrap}.console-header-tools>button{color:var(--console-blue);padding:0;font-size:14px;white-space:nowrap}.console-header-tools>.console-help{color:#262626;font-size:22px;line-height:30px}.console-menu-search{display:flex;align-items:center;position:relative;margin:0;width:200px}.console-menu-search input{border:1px solid #ddd;border-radius:20px;height:32px;margin:0;font-size:13px;padding:5px 35px 5px 12px;box-shadow:none;width:100%;background:#fff}.console-menu-search>span{position:absolute;right:12px;color:#b5b5b5;font-size:25px;line-height:20px}.console-menu-search input::placeholder{color:#bbb}
.console-account{position:relative;font-size:13px;color:#666;min-width:100px;max-width:none;display:block;margin:0}.console-account>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;white-space:nowrap}.console-account>summary::marker{content:''}.console-account>div{position:absolute;right:0;top:30px;background:white;box-shadow:0 4px 18px #0002;border:1px solid #eee;min-width:120px;padding:5px;display:flex;flex-direction:column}.console-account>div button{padding:10px;text-align:left;color:#333}
#workspace aside{position:fixed;top:53px;bottom:0;left:0;width:var(--console-sidebar);height:auto;padding:7px 16px 50px;background:white;border:0;z-index:35;overflow:auto}aside>.brand,aside>.sidebar-caption,aside>.side-note{display:none}#departments{display:block;overflow:visible}#departments button,#departments summary{font-size:14px;color:#333;line-height:1.5;font-weight:400;display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:10px 9px;margin:0;min-height:40px;width:100%;border-radius:0;white-space:nowrap;cursor:pointer}#departments svg{width:15px;height:15px;flex:0 0 15px}#departments .console-home{color:var(--console-blue)}#departments .console-menu-group{border:0;margin:0;padding:0;background:none}#departments summary{list-style:none}#departments summary::marker{content:''}#departments summary::-webkit-details-marker{display:none}#departments .console-menu-group>div{padding:2px 0 6px 12px}#departments .console-menu-group>div button{white-space:normal;font-size:12px;line-height:1.6;padding:8px 5px;min-height:30px;color:#666}#departments .console-menu-group:has(.data-active)>summary,#departments button.data-active{color:#1677ff}#departments button:hover,#departments summary:hover{color:#1677ff;background:#f5f8ff}#departments .console-not-connected{display:block;font-size:11px;color:#aaa;line-height:1.7;white-space:normal;padding:7px 0}#console-collapse{position:fixed!important;bottom:8px;left:16px;width:84px!important;background:#fff!important}.console-departments{margin-top:8px!important;border-top:1px solid #eee!important}
#workspace main{margin:53px 0 0 var(--console-sidebar);padding:0 16px 24px;min-height:calc(100vh - 53px);background:var(--console-background)}#workspace main>header{height:32px;min-height:32px;background:white;margin:0 -16px;padding:0;display:flex;align-items:stretch;border:0;position:sticky;top:53px;z-index:30}#workspace main>header>.muted{display:none}#workspace .breadcrumb{background:var(--console-background);padding:0 14px;height:32px;min-width:94px;display:flex;align-items:center;gap:10px;border-radius:7px 7px 0 0}#workspace .breadcrumb::before{content:'⟳';font-size:18px;color:#888;font-weight:400}#workspace .breadcrumb>span{display:none}#workspace .breadcrumb h1{font-size:14px;font-weight:500;margin:0}
.retail-root #workspace main>.supporting,.retail-root #workspace main>footer,.retail-root #workspace main>#task-area:not([open]){display:none}.retail-root #department-workspace{margin:0;padding:0}.home-tabs{display:flex;gap:40px;border-bottom:1px solid #e0e4eb;align-items:stretch;height:54px;margin-bottom:16px}.home-tabs>button{position:relative;font-size:14px;min-height:54px;border:0;border-radius:0;background:none;padding:0;color:#262626;font-weight:400;white-space:nowrap;box-shadow:none}.home-tabs>button[aria-selected=true]{color:#1677ff}.home-tabs>button[aria-selected=true]::after{position:absolute;content:'';height:3px;border-radius:3px;bottom:-1px;background:#1677ff;left:0;right:0}.home-count{position:absolute;font-size:13px;line-height:20px;min-width:22px;background:#ff443b;border:1px solid #fff;border-radius:20px;top:6px;right:-24px;color:white;padding:0 4px}
.home-dashboard[hidden],.home-work[hidden],.home-compare[hidden],.home-custom[hidden]{display:none!important}.home-filter{background:#fff;border-radius:8px;padding:24px;margin:0 0 16px;min-height:140px}.home-periods{display:flex;align-items:center;flex-wrap:wrap;gap:0}.home-periods>button,.home-mini-tabs>button{font-family:inherit;font-size:14px;font-weight:400;border:1px solid #d9d9d9;border-right:0;border-radius:0;background:white;height:32px;min-height:32px;padding:0 16px;color:#333;box-shadow:none}.home-periods>button:first-child,.home-mini-tabs>button:first-child{border-radius:4px 0 0 4px}.home-periods>button:nth-child(5),.home-mini-tabs>button:last-child{border-right:1px solid #d9d9d9;border-radius:0 4px 4px 0}.home-periods>button[aria-pressed=true]{background:#1677ff;border-color:#1677ff;color:white}.home-asof{margin-left:12px;font-size:12px;color:#999;letter-spacing:.5px}.home-scope-fields{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:24px;align-items:center}.home-scope-fields>label{display:flex;align-items:center;gap:16px;margin:0;font-size:14px;color:#262626;white-space:nowrap}.home-scope-fields label>span{flex:0 0 auto}.home-scope-fields select{margin:0;box-shadow:none;height:32px;min-height:32px;min-width:0;border:1px solid #d9d9d9;background:white;border-radius:3px;font-family:inherit;font-weight:400;font-size:14px;color:#333;padding:0 12px}.home-scope-fields label>select{flex:1}.home-store-select{display:flex;flex:1;min-width:0}.home-store-select>#home-store-mode{width:98px;flex:0 0 98px;border-radius:3px 0 0 3px}.home-store-select>#home-store{flex:1;border-radius:0 3px 3px 0}.home-custom{display:flex;align-items:center;gap:12px;margin-top:14px}.home-custom input{width:180px;margin:0;min-height:32px;font-size:13px}.home-custom button{background:#1677ff;color:white;border-radius:3px}
.home-core{padding:24px;background:#fff;border-radius:8px;min-width:0}.home-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.home-section-head h2,.home-charts h2,.home-compare h2{font-size:16px;font-weight:600;color:#222;margin:0;line-height:1.6}.home-config{position:relative;margin:0;font-size:14px;color:#333}.home-config>summary{cursor:pointer;list-style:none;white-space:nowrap}.home-config>div{position:absolute;right:0;top:26px;z-index:15;background:white;border:1px solid #eee;box-shadow:0 5px 20px #0002;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px;width:400px}.home-config label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;margin:0}.home-config input{width:14px;min-height:14px;margin:0}
.home-core-grid{border:1px solid #dedede;border-radius:4px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.home-group{padding:16px;min-width:0}.home-group-1{border-left:1px solid #dedede}.home-group-2{grid-column:1/-1;border-top:1px solid #dedede}.home-group h3{font-size:16px;font-weight:600;color:#222;margin:0 0 19px;line-height:1.6}.home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 32px}.home-group-2>.home-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.home-metric{min-width:0;padding:0 0 1px;line-height:1.6}.home-metric-label{font-size:14px;display:flex;align-items:center;gap:6px;margin:0 0 20px;white-space:nowrap;color:#262626}.home-question{border:1.2px solid currentColor;border-radius:50%;width:13px;height:13px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;line-height:1;cursor:help;flex:0 0 13px}.home-metric>strong{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:block;font-size:26px;font-weight:650;color:#222;line-height:1.3;margin:0 0 13px;letter-spacing:.2px;font-variant-numeric:tabular-nums}.home-comparison{display:flex;align-items:center;gap:6px;font-size:12px;color:#999;min-height:24px;line-height:24px;white-space:nowrap}.home-comparison b{font-weight:400}.home-comparison .up{color:#ff4038}.home-comparison .down{color:#04b845}.home-comparison .home-missing{color:#aaa}.home-group .home-metric{min-height:116px}.home-group-2 .home-metric{min-height:116px}
.home-charts{display:grid;grid-template-columns:3fr 2fr;border-top:1px solid #dedede;margin-top:16px;padding-top:16px}.home-charts>section{min-width:0;padding-right:16px}.home-charts>section+section{border-left:1px solid #dedede;padding-left:16px;padding-right:0}.home-trend-legend{display:flex;gap:20px;align-items:center;color:#666;font-size:12px;margin:25px 0 14px}.home-trend-legend span{display:flex;gap:8px;align-items:center}.home-trend-legend i{width:8px;height:8px;background:#1677ff}.home-trend-legend span+span i{background:#ff974a;width:12px;height:2px}.home-trend-svg{width:100%;display:block;height:auto;min-height:180px}.home-trend-svg text{font-size:10px;fill:#999}.home-mini-tabs{display:flex}.home-mini-tabs>button{font-size:13px}.home-mini-tabs>button[aria-pressed=true]{background:#e5edff;color:#1677ff;border:1px solid #1677ff}.home-channel-tabs{display:flex;justify-content:center;gap:40px;margin-top:22px}.home-channel-tabs>button{border:0;border-bottom:3px solid transparent;background:white;border-radius:0;padding:0 0 10px;font-size:14px;font-weight:400;color:#333}.home-channel-tabs>button[aria-pressed=true]{color:#1677ff;border-color:#1677ff}.home-donut-wrap{display:flex;align-items:center;justify-content:center;gap:20px}.home-donut{width:min(240px,55%);flex:0 0 auto}.home-donut text{fill:#999;font-size:12px}.home-donut .donut-total{fill:#333;font-size:19px;font-weight:600}.home-chart-legend{display:flex;flex-direction:column;gap:12px;font-size:12px;color:#666}.home-chart-legend span{display:flex;align-items:center;gap:6px}.home-chart-legend i{width:8px;height:8px;background:var(--swatch);display:inline-block}.home-chart-legend b{font-weight:400;margin-left:8px}.home-chart-empty{min-height:110px;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:13px;line-height:1.8}.home-source-status{font-size:11px;color:#999;margin:12px 0 0;line-height:1.7}.home-work{padding-top:4px}.home-work>.welcome{display:none}.home-compare{background:white;padding:24px;border-radius:8px}.home-compare>p{font-size:13px;color:#999}.data-page{inset:101px 16px 16px calc(var(--console-sidebar) + 16px)}
.console-collapsed{--console-sidebar:56px}.console-collapsed #workspace aside{padding-left:10px;padding-right:10px}.console-collapsed #departments summary span,.console-collapsed #departments>button>span,.console-collapsed #departments .console-menu-group>div{display:none}.console-collapsed #console-collapse{left:7px;width:42px!important}.console-collapsed #departments button,.console-collapsed #departments summary{padding:10px}
@media(max-width:1500px){.console-analysis{display:none!important}.console-header-tools{gap:12px}.home-metrics{gap:20px}.home-metric-label{font-size:13px}.home-scope-fields{gap:32px}.home-asof{font-size:11px}.top-context small{display:none}}
@media(max-width:1150px){.console-header-tools>.console-help{display:none}.console-menu-search{width:150px}.home-metric-label{white-space:normal;align-items:flex-start;min-height:36px;margin-bottom:10px}.home-metrics{gap:20px 14px}.home-metric>strong{font-size:23px}.home-charts{grid-template-columns:1fr 1fr}.home-channel-tabs{gap:12px}.home-channel-tabs button{font-size:12px}.home-donut-wrap{gap:6px}.home-core{padding:20px}.home-group{padding:14px}.home-group h3{font-size:15px}}
@media(max-width:850px){.app-topbar .top-context{display:none}.console-header-tools{gap:10px}.home-scope-fields{gap:18px;grid-template-columns:1fr}.home-core-grid{grid-template-columns:1fr}.home-group-1{border-left:0;border-top:1px solid #dedede}.home-group-2>.home-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.home-charts{grid-template-columns:1fr}.home-charts>section+section{border-left:0;border-top:1px solid #ddd;margin-top:20px;padding:20px 0 0}.home-config>div{width:320px;max-width:80vw;grid-template-columns:1fr}.home-filter{padding:20px}}
@media(max-width:650px){:root{--console-sidebar:0px}#workspace .app-topbar{padding:0 12px;height:53px;gap:10px}.app-topbar .brand-art{width:76px;min-width:76px}.console-menu-search,.console-header-tools>button{display:none}.console-account{min-width:0;font-size:11px}.console-header-tools{margin-left:auto}.header-actions{max-width:none}#workspace aside{position:sticky;top:53px;width:100%;height:40px;padding:0 10px;overflow:visible;white-space:nowrap;z-index:40}#departments{display:flex;overflow:auto;height:40px;gap:10px}#departments .console-menu-group{position:static;flex:0 0 auto}#departments button,#departments summary{width:auto;padding:8px 6px;min-height:40px;font-size:12px}#departments .console-menu-group>div{position:fixed;top:93px;left:0;right:0;background:white;padding:12px;box-shadow:0 5px 10px #0002;white-space:normal}#departments .console-menu-group>div button{display:inline-flex;width:auto}#console-collapse{display:none!important}#workspace main{margin:53px 0 0;padding:0 12px 20px}#workspace main>header{display:none}.home-tabs{height:50px;gap:35px;margin-bottom:12px}.home-tabs>button{font-size:13px;min-height:50px}.home-filter{padding:16px;margin-bottom:12px}.home-periods>button{font-size:12px;padding:0 12px}.home-asof{width:100%;margin:12px 0 0;letter-spacing:0}.home-scope-fields{margin-top:16px}.home-scope-fields>label{font-size:12px;gap:8px}.home-scope-fields select{font-size:12px}.home-core{padding:14px}.home-section-head{margin-bottom:16px}.home-section-head h2{font-size:15px}.home-config{font-size:12px}.home-group{padding:14px 12px}.home-metric-label{font-size:11px;line-height:1.6;margin-bottom:10px}.home-metric>strong{font-size:21px}.home-comparison{font-size:10px;gap:3px}.home-metrics{gap:18px 10px}.home-group h3{font-size:14px;margin-bottom:16px}.home-question{width:11px;height:11px;flex-basis:11px;font-size:9px}.home-custom input{min-width:0;flex:1;font-size:11px}.home-custom{gap:6px}.home-custom button{font-size:12px;padding:6px 10px}.home-trend-legend{font-size:10px;gap:10px}.data-page{inset:105px 12px 12px}.home-donut{width:55%}.home-chart-legend{font-size:11px}}
/* Remove former grid-shell offsets; the reference console owns its rail and page. */
#workspace{padding-top:53px;display:flow-root}#workspace[hidden]{display:none!important}#workspace main{margin-top:0;width:calc(100% - var(--console-sidebar))}.app-topbar .brand-art{background:white;mix-blend-mode:multiply}.app-topbar .brand-art img{position:absolute;left:0;top:50%;width:100%;height:auto;object-fit:fill;transform:translateY(-50%);filter:grayscale(1) contrast(5) invert(1);mix-blend-mode:normal}.app-topbar .header-actions.console-account{margin-left:0}#departments>button>span{display:inline;margin:0;color:inherit;font-size:14px}.home-section-head{margin-bottom:12px}
@media(max-width:650px){#workspace main{width:100%;margin-top:0}#departments>button>span{font-size:12px}.console-collapsed #departments>button>span{display:inline}}
#workspace{font-size:14px;line-height:1.5715}.home-section-head{margin-bottom:16px}.home-group h3{line-height:25.14px;margin-bottom:16px}.home-metrics{gap:16px 24px}.home-metric-label{line-height:22px;margin-bottom:10px}.home-metric>strong{font-size:24px;font-weight:700;line-height:37.716px;margin-bottom:10px;letter-spacing:0}.home-comparison{line-height:18.858px;min-height:18.858px}.home-comparison+.home-comparison{margin-top:4px}.home-group .home-metric{min-height:121.414px;padding:0}.console-header-tools>.console-help{width:20px;height:24px;display:inline-flex;align-items:center;justify-content:center}.console-help svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.home-core .home-group .home-metric-label{font-weight:400}
@media(max-width:1150px){.console-header-tools>.console-help{display:none}.home-metric-label{min-height:36px}.home-metrics{gap:16px}.home-metric>strong{font-size:23px}}
@media(max-width:650px){.home-metric-label{font-size:11px}.home-metrics{gap:18px 10px}.home-metric>strong{font-size:21px}.home-comparison{font-size:10px}.home-group .home-metric{min-height:120px}}
.home-scope-fields select:focus{outline:0;border-color:#1677ff;box-shadow:0 0 0 1px #1677ff15}
#departments .console-home:not(.active),#departments:has(.data-active) .console-home{color:#333}
/* Keep the reference page tab/header fixed; scroll only its content region. */
body.retail-root #workspace{height:100vh;overflow:hidden}body.retail-root #workspace main{height:calc(100vh - 53px)}body.retail-root #department-workspace{height:calc(100vh - 85px);width:calc(100% + 32px);margin:0 -16px;padding:0 16px 24px;overflow-y:auto;overflow-x:hidden}body.retail-root #workspace main:has(>#task-area[open]){overflow-y:auto}body.retail-root main:has(>#task-area[open]) #department-workspace{height:auto;overflow:visible}
@media(max-width:650px){body.retail-root #workspace main{height:calc(100vh - 93px)}body.retail-root #department-workspace{height:calc(100vh - 93px);width:calc(100% + 24px);margin:0 -12px;padding:0 12px 24px}}
.console-open{width:20px;height:22px;display:inline-flex;color:#222;text-decoration:none}.console-open svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.console-bell{position:relative}#console-alert-count{position:absolute;background:#ff3d38;color:white;top:-7px;right:-12px;font-size:11px;line-height:16px;border-radius:10px;min-width:20px;padding:0 3px;border:1px solid white}.console-floating{position:fixed;right:25px;z-index:45;width:48px;height:48px;border-radius:50%;border:1px solid white;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 24px #0000000b;padding:11px;color:white}.console-floating svg{width:27px;height:27px;fill:none;stroke:white;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.console-floating-help{bottom:164px;background:#ff7700}.console-floating-work{bottom:88px;background:#1677ff}.console-floating-help:hover{background:#ef7200}.console-floating-work:hover{background:#116df2}@media(max-width:1150px){.console-open,.console-bell{display:none!important}}@media(max-width:650px){.console-floating{right:12px;width:40px;height:40px}.console-floating-help{bottom:110px}.console-floating-work{bottom:58px}}

/* Sticky offsets are relative to the main scrollport, below the fixed topbar. */
body.retail-root #workspace main>header{top:0}
/* The small-screen rail is fixed below the topbar, outside the content scrollport. */
@media(max-width:650px){body.retail-root #workspace{padding-top:93px}#workspace aside{position:fixed;top:53px;left:0;right:0;height:40px}}
