/* Visual reconstruction of the three approved 1672 × 941 concept screens. */
:root { --ink: #061827; --line: rgba(126, 175, 198, .18); --mist: #eef7fb; --muted: #a1b9c9; --lantern: #f4c47d; --lake: #72c8f6; }
html, body { background: #061827; }
.page-shell { max-width: none; padding: 0 2.1vw; background: #061827 !important; }
.masthead { position: relative; z-index: 10; height: 66px; grid-template-columns: minmax(360px, 1fr) auto minmax(390px, 1fr); border-color: rgba(113, 169, 201, .22); }
.brand-mark { width: 44px; height: 38px; gap: 4px; }
.brand-mark span { width: 7px; background: linear-gradient(#ffe0a0, #b98545); box-shadow: 0 0 10px #f4b95a44; }
.brand-text strong { color: #f5faff; font-size: 27px; font-weight: 750; letter-spacing: .12em; text-shadow: 0 2px 12px #0008; }
.brand-text small { color: #9eb8cc; font-size: 12px; letter-spacing: .06em; }
.view-nav { gap: 70px; }
.view-tab { font-size: 17px; font-weight: 570; color: #b2c7d8; border-bottom-width: 3px; }
.view-tab.is-active { color: #ffda97; text-shadow: 0 0 15px #edaa6070; }
.subtle-label { color: #7995aa; font-size: 10px; }
.region-button, .date-stack strong { color: #f0f7ff; font-size: 14px; font-weight: 650; }
.demo-badge { color: #f7d79e; border-color: #a1794c; background: #3b2d1e38; font-weight: 650; }
.first-screen { min-height: calc(100vh - 66px); isolation: isolate; background-image: linear-gradient(90deg, rgba(3,19,31,.70), rgba(3,18,30,.38) 23%, rgba(2,19,33,.25) 50%, rgba(2,16,29,.64) 78%, rgba(2,16,28,.84)), linear-gradient(180deg, rgba(2,16,29,.46), rgba(3,20,31,.26) 50%, rgba(2,14,24,.56)), var(--scene-ambient-image, url('./assets/night-city.png')); background-size: cover; background-position: center center; }
.first-screen::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 54% 47%, transparent 22%, #06182720 58%, #06182790 100%); }
.registered-backdrop { display: none; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #061827; }
.registered-backdrop img { position: absolute; top: 0; left: 0; width: 1672px; height: 941px; max-width: none; transform-origin: 0 0; }
.registered-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,19,31,.58), rgba(3,18,30,.20) 23%, rgba(2,19,33,.09) 50%, rgba(2,16,29,.42) 78%, rgba(2,16,28,.73)), linear-gradient(180deg, rgba(2,16,29,.32), rgba(3,20,31,.13) 50%, rgba(2,14,24,.39)), radial-gradient(ellipse at 54% 47%, transparent 22%, #06182720 58%, #06182790 100%); }
.registered-map-backdrop { display: none; position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: #061827; }
.registered-map-backdrop img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; }
.registered-map-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #06182759, transparent 30%, transparent 72%, #06182773), linear-gradient(180deg, #06182730, transparent 28%, #06182755); }
body[data-view="consumption"] .registered-map-backdrop { display: block; }
.analysis-deck, .footnote { position: relative; z-index: 1; background: #061827; }
.first-screen .hero-primary, .first-screen .hero-index, .first-screen .left-panel, .first-screen .map-stage, .first-screen .right-panel, .first-screen .lower-band { position: relative; z-index: 1; }
.eyeline { color: #afc9dd; font-size: 12px; }
.eyeline-line { width: 20px; height: 2px; background: #f5c47e; }
.section-kicker { color: #f4c279; font-size: 12px; }
.hero-measure #hero-orders, .index-core #hero-index { font-weight: 750; letter-spacing: -.055em; background: linear-gradient(180deg, #fff6cd 2%, #ffdc95 52%, #edac5c 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; filter: drop-shadow(0 4px 12px #e7a75333); }
.hero-unit { font-size: 22px; font-weight: 650; color: #ffcc7c; }
.hero-caption strong { color: #fff1d1; font-size: 18px !important; font-weight: 720; }
.hero-caption span { color: #a7c1d2; font-size: 13px; }
.map-stage, .lower-band { background-color: transparent !important; }
.map-head h1 { color: #f0f8fd; font-weight: 720; }
.map-head p { color: #a4bdca; }
.map-canvas::before, .map-canvas::after { display: none; }
.map-canvas::before { display: block; width: 120%; height: 120%; left: -10%; top: -10%; border: 0; z-index: 0; background: radial-gradient(ellipse at 50% 46%, #031626ba 0%, #03162686 54%, transparent 78%); }
.map-canvas .map-grid { opacity: .18; }
.map-halo { border-color: rgba(82,168,213,.22) !important; box-shadow: 0 0 0 70px #4ca9d309, 0 0 0 145px #4ca9d305 !important; }
#district-map { overflow: visible; filter: drop-shadow(0 14px 4px #020a14aa) drop-shadow(0 27px 22px #000b) !important; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.map-backdrop path { fill: #06152199; stroke: #67b2cf40; stroke-width: 1.4; }
.map-river-bank, .map-river-core, .map-river-shine, .map-ground-road, .map-top-road { fill: none; vector-effect: non-scaling-stroke; }
.map-river-bank { stroke: #26678d; stroke-opacity: .16; stroke-width: 19; filter: drop-shadow(0 0 5px #267bb63b); }
.map-river-core { stroke: #0b3557; stroke-opacity: .68; stroke-width: 11; }
.map-river-shine { stroke: #6dc4ec; stroke-opacity: .13; stroke-width: .8; }
.map-ground-road { stroke: #7caaca; stroke-opacity: .055; stroke-width: .5; }
.map-ground-road.is-major { stroke: #9bbfd2; stroke-opacity: .16; stroke-width: 1; filter: drop-shadow(0 0 2px #a4cfe467); }
.map-top-road { stroke: #ffe6ac; stroke-opacity: .27; stroke-width: .65; }
.map-top-road.is-major { stroke: #ffdb8b; stroke-opacity: .57; stroke-width: 1.2; filter: drop-shadow(0 0 3px #ffcf83); }
body[data-view="consumption"] .map-top-road { stroke: #ffc388; }
body[data-view="consumption"] .map-top-road.is-major { stroke: #ffb270; }
body[data-view="supply"] .map-top-road { stroke: #92e8ff; stroke-opacity: .32; }
body[data-view="supply"] .map-top-road.is-major { stroke: #75dfff; stroke-opacity: .72; filter: drop-shadow(0 0 3px #56cfff); }
.map-base { fill: #051b29; stroke: #366d82; }
.map-side { stroke: rgba(226,202,153,.59); stroke-width: .55; }
.map-region { stroke: #e9d1a0; stroke-opacity: .76; stroke-width: 1.25; filter: drop-shadow(0 0 3px #f6cb7b55); }
.map-surface { opacity: .85; }
.map-city-light { opacity: .31; mix-blend-mode: screen; }
.map-activity-glow { mix-blend-mode: screen; }
.map-light-blocks { opacity: .66; mix-blend-mode: screen; filter: drop-shadow(0 0 2px #ffd998); }
body[data-view="consumption"] .map-city-light { opacity: .35; }
body[data-view="supply"] .map-city-light { opacity: .39; }
body[data-view="supply"] .map-light-blocks { opacity: .9; filter: drop-shadow(0 0 3px #55d5ff); }
.map-tile-overlay { opacity: .85; }
.map-label-chip rect { fill: rgba(8,24,33,.76); stroke: rgba(172,198,199,.18); stroke-width: .5; }
.map-label { fill: #f2f7f2; font-size: 10px; font-weight: 720; stroke: none; text-shadow: 0 1px 3px #000; }
.map-label.is-selected { fill: #fff0c2; font-size: 11px; }
.map-canvas.is-3d .map-region { stroke: #f6dba7; stroke-opacity: .9; stroke-width: 1.4; }
.map-canvas.is-3d .map-region.is-selected { stroke: #fff9ce; stroke-width: 2.6; filter: drop-shadow(0 0 9px #fff0b4); }
.map-region:focus-visible { outline: none; stroke: #fff2c0; stroke-opacity: 1; stroke-width: 2.6; }
.map-view-switch { border-color: #44677a; background: #071d2bd9; }
.map-view-switch button { font-size: 11px; color: #a8c2cd; }
.map-view-switch button.is-active { background: #3b4547; color: #ffe1a3; }

/* Overview: the gold terrain occupies the center of the city. */
body[data-view="overview"] .first-screen { grid-template-columns: 24% minmax(0, 1fr) 19%; grid-template-rows: 242px minmax(0, 1fr) 164px; grid-template-areas: 'order map ranking' 'index map ranking' 'trend trend trend'; }
body[data-view="overview"] .hero-primary { padding: 27px 22px 0 0; border: 0; }
body[data-view="overview"] .hero-measure { margin: 58px 0 3px; white-space: nowrap; }
body[data-view="overview"] .hero-measure #hero-orders { font-size: clamp(70px, 6vw, 100px); }
body[data-view="overview"] .hero-caption strong { position: absolute; top: 68px; left: 0; color: #ffda90; }
body[data-view="overview"] .hero-caption span { display: block; width: 100%; }
body[data-view="overview"] #hero-period-control { display: none; }
body[data-view="overview"] .hero-index { margin: 0 0 18px 0; padding: 17px 18px 16px; border: 1px solid #4c728650; background: linear-gradient(135deg, rgba(3,21,35,.92), rgba(6,27,42,.77)); box-shadow: inset 0 0 30px #83c2c40b, 0 10px 28px #0005; }
body[data-view="overview"] .hero-index .index-heading { flex-wrap: nowrap; color: #f6db9b; font-size: 17px; font-weight: 690; white-space: nowrap; gap: 7px; }
body[data-view="overview"] .hero-index .index-star { font-size: 23px; }
body[data-view="overview"] .hero-index .index-window { display: inline-flex; margin-left: auto; color: #a7bdc7; }
body[data-view="overview"] .hero-index .index-window { margin-right: 16px; }
body[data-view="overview"] .hero-index .text-button { position: absolute; top: 24px; right: 14px; width: 15px; height: 15px; font-size: 0; border: 1px solid #8da8b0; border-radius: 50%; color: #a9c2c9; }
body[data-view="overview"] .hero-index .text-button::before { content: 'i'; font-size: 10px; line-height: 12px; }
body[data-view="overview"] .index-core { margin: 10px 0 10px; }
body[data-view="overview"] .index-core #hero-index { font-size: clamp(75px, 6vw, 105px); }
body[data-view="overview"] .index-core .baseline { color: #9ab3c0; font-size: 11px; }
body[data-view="overview"] .index-track { height: 10px; margin: 1px 0 23px; border: 1px solid #7ca6aa65; border-radius: 6px; background: linear-gradient(90deg, #b6744b, #f3c574 44%, #5cc0c0 70%, #246fa1); }
body[data-view="overview"] .index-track-fill { background: transparent; }
body[data-view="overview"] .index-track i { top: -3px; height: 14px; background: #fff0b9; }
.index-scale { display: none; }
body[data-view="overview"] .index-scale { display: flex; justify-content: space-between; margin: -17px 0 13px; color: #8eabbc; font-size: 10px; }
body[data-view="overview"] .index-components { gap: 0; margin-top: 0; }
body[data-view="overview"] .component { padding: 7px 0 8px 47px; border-top: 1px solid #7393a829; min-height: 65px; }
body[data-view="overview"] .component-top { font-size: 15px; font-weight: 650; }
body[data-view="overview"] .component-top strong { font-size: 24px; }
.component-desc { display: none; }
body[data-view="overview"] .component-desc { display: block; color: #9cb5c5; font-size: 11px; margin: 1px 0 0; }
body[data-view="overview"] .component-dot { position: absolute; margin-left: -47px; width: 34px; height: 34px; border: 1px solid #6a99a559; border-radius: 50%; background: #0c3040; }
body[data-view="overview"] .component:nth-child(1) .component-dot::after { content: '◆'; color: #f5c36c; position: absolute; inset: 7px; font-size: 14px; }
body[data-view="overview"] .component:nth-child(2) .component-dot::after { content: '▣'; color: #72d9c9; position: absolute; inset: 6px; font-size: 16px; }
body[data-view="overview"] .component:nth-child(3) .component-dot::after { content: '⇢'; color: #81b7ef; position: absolute; inset: 4px; font-size: 21px; }
body[data-view="overview"] .component-track { margin-top: 4px; background: #486074; }
body[data-view="overview"] .component-track span { box-shadow: 0 0 9px var(--component-color); }
body[data-view="overview"] .map-stage { padding: 0 0 0 8px; border: 0; }
body[data-view="overview"] .first-screen { background-image: none; background-color: #061827; }
body[data-view="overview"] .registered-backdrop { display: block; }
body[data-view="overview"] .map-head, body[data-view="overview"] .map-control-bar, body[data-view="overview"] .map-foot, body[data-view="overview"] .map-scope-chip, body[data-view="overview"] .map-depth-note { display: none; }
body[data-view="overview"] .map-canvas { min-height: 0; }
body[data-view="overview"] .map-canvas::before { background: radial-gradient(ellipse at 50% 46%, #03162666 0%, #03162635 54%, transparent 78%); }
.overview-compass { display: none; position: absolute; z-index: 1; pointer-events: none; color: #8daac1; text-shadow: 0 1px 8px #031726; }
body[data-view="overview"] .overview-compass { display: block; }
.map-context-labels { display: none; }
body[data-view="overview"] .map-context-labels { display: block; }
.map-context-labels text { fill: #8daac1; font-size: 14px; letter-spacing: .26em; text-shadow: 0 1px 8px #031726; }
.overview-compass { top: 48px; right: 31px; width: 42px; height: 52px; text-align: center; font-size: 11px; letter-spacing: .12em; }
.overview-compass::before { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 40px; border: 1px solid #6485a3a6; border-radius: 50%; }
.overview-compass i { position: absolute; left: 18px; bottom: 7px; width: 5px; height: 24px; border: 1px solid #d0e0e9; clip-path: polygon(50% 0, 100% 75%, 50% 100%, 0 75%); background: linear-gradient(90deg, #c9e1ef 50%, #0c2737 50%); }
body[data-view="overview"] .map-top-roads, body[data-view="overview"] .map-geography { display: none; }
body[data-view="overview"] .map-base { stroke: #c89455; stroke-opacity: .85; stroke-width: 1.3; filter: drop-shadow(0 0 7px #eab263); }
body[data-view="overview"] .map-side { stroke: #c7aa76; stroke-opacity: .29; filter: drop-shadow(0 0 2px #e2b46b9c); }
body[data-view="overview"] .map-surface { opacity: .1; }
body[data-view="overview"] .map-city-light { opacity: .34; mix-blend-mode: screen; }
body[data-view="overview"] .map-light-blocks { display: none; }
body[data-view="overview"] #district-map { transform: translate(3%, 0) scale(.94, .92); transform-origin: center center; }
body[data-view="overview"] .map-view-switch { top: 8px; right: 25px; opacity: .72; }
body[data-view="overview"] .right-panel { align-self: start; margin-top: 56px; margin-bottom: 0; padding: 25px 20px 22px; min-height: 518px; border: 1px solid #3e617950; background: linear-gradient(90deg, #061a2bd9, #061a2baa); box-shadow: 0 10px 35px #0005; }
body[data-view="overview"] .right-head { margin-bottom: 35px; }
body[data-view="overview"] .right-head h2 { color: #f4f9fd; font-size: 27px; font-weight: 730; margin: 9px 0; }
body[data-view="overview"] .right-head p { color: #a2b9c8; font-size: 12px; }
body[data-view="overview"] .rank-row { padding: 14px 0 20px; grid-template-columns: 33px 1fr auto; }
body[data-view="overview"] .rank-num { color: #9fb5c2; font-size: 16px; }
body[data-view="overview"] .rank-name { color: #edf5f9; font-size: 15px; font-weight: 620; }
body[data-view="overview"] .rank-row strong { color: #f5f9fd; font-size: 20px; }
body[data-view="overview"] .rank-bar { left: 33px; bottom: 10px; height: 3px; background: #f7d286; box-shadow: 0 0 12px #f4cb7c66; }
body[data-view="overview"] .right-insight { display: none; }
body[data-view="overview"] .lower-band { grid-template-columns: 21% minmax(0, 1fr) 19%; border-top: 1px solid #51759070; background: #061a2bc4 !important; }
body[data-view="overview"] .lower-intro h2 { color: #f2f7fb; font-size: 20px; font-weight: 680; }
body[data-view="overview"] .trend-chart { border-left: 0; border-right: 0; padding: 13px 24px 10px; }
body[data-view="overview"] .trend-chart svg { height: 83px; }
body[data-view="overview"] .trend-line { stroke: #ffd07e; stroke-width: 2.5; filter: drop-shadow(0 0 7px #f7c27188); }
.trend-dot { fill: #ffe4a3; stroke: #f6c070; stroke-width: 2; filter: drop-shadow(0 0 5px #f7c271); }
body[data-view="overview"] .trend-fill { fill: #eaba6340; }
body[data-view="overview"] .chart-labels { color: #9db9d0; font-size: 11px; }
body[data-view="overview"] .chart-labels span { text-align: center; }
body[data-view="overview"] .chart-labels small { display: block; font-size: 10px; }
body[data-view="overview"] .lower-aside { margin: 0 0 8px 16px; padding: 16px 20px; border: 1px solid #41647a70; border-radius: 5px; background: #08233ac4; }
body[data-view="overview"] .lower-aside strong { font-size: 52px; color: #ffd483; font-weight: 730; }

/* Consumption: one continuous warm hourly waveform above three lower analyses. */
body[data-view="consumption"] .first-screen { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); grid-template-rows: 475px minmax(390px, 1fr); grid-template-areas: none; background-image: linear-gradient(90deg, #031522e8, #061d29b7 24%, #071926ad 55%, #031625dc), linear-gradient(180deg, #061a2a87, #061827b8), var(--scene-ambient-image, url('./assets/night-city.png')); }
body[data-view="consumption"] .hero-primary { grid-column: 1 / span 3; grid-row: 1; padding: 27px 18px 17px 0; border: 0; }
body[data-view="consumption"] .hero-measure { margin: 60px 0 4px; white-space: nowrap; }
body[data-view="consumption"] .hero-measure #hero-orders { font-size: clamp(64px, 5.3vw, 90px); }
body[data-view="consumption"] .hero-caption strong { position: absolute; top: 70px; left: 0; color: #f4f8fb; }
body[data-view="consumption"] .hero-caption span { display: block; color: #f18356; font-size: 12px; }
body[data-view="consumption"] .hero-secondary { margin-top: 30px; display: flex; flex-direction: column; }
body[data-view="consumption"] .hero-secondary > span { color: #f3f6f7; font-size: 19px; font-weight: 700; }
body[data-view="consumption"] .hero-secondary sup { color: #7a9baa; font-size: 13px; }
body[data-view="consumption"] .hero-secondary strong { font-size: clamp(58px, 5.2vw, 88px); line-height: 1.1; color: #ffbe7b; font-weight: 740; letter-spacing: -.055em; text-shadow: 0 0 22px #f3926240; white-space: nowrap; }
body[data-view="consumption"] .hero-secondary em { margin-left: 4px; font-size: 27px; font-style: normal; letter-spacing: 0; }
body[data-view="consumption"] .hero-secondary small { margin-top: 5px; color: #f0815c; font-size: 12px; }
body[data-view="consumption"] #hero-period-control { margin-top: auto; }
body[data-view="consumption"] .period-selector { width: 100%; border-color: #547083; border-radius: 7px; padding: 3px; }
body[data-view="consumption"] .period-button { flex: 1; font-size: 13px; padding: 8px 4px; }
body[data-view="consumption"] .period-button.is-active { border-radius: 5px; color: #152632; background: linear-gradient(#ffd492, #ffae60); box-shadow: 0 0 18px #ed955d66; font-weight: 760; }
body[data-view="consumption"] .hero-index { top: 17px; right: 0; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
body[data-view="consumption"] .hero-index .index-heading { font-size: 13px; color: #d8e2e5; }
body[data-view="consumption"] .hero-index #hero-index { font-size: 39px; }
body[data-view="consumption"] .hero-index .text-button { display: none; }
body[data-view="consumption"] .lower-band { grid-column: 4 / -1; grid-row: 1; padding: 28px 0 18px 18px; border: 0; background: radial-gradient(ellipse at 55% 55%, #b7573836, transparent 70%) !important; }
body[data-view="consumption"] .wave-heading h2 { color: #f6f8f7; font-size: 25px; font-weight: 710; }
body[data-view="consumption"] .wave-heading .section-kicker { display: none; }
body[data-view="consumption"] .wave-heading p { font-size: 12px; color: #9ab3c1; }
body[data-view="consumption"] .wave-chart { margin-top: 12px; }
body[data-view="consumption"] .wave-chart svg { height: 358px; }
body[data-view="consumption"] .wave-chart .hour-bar { opacity: .87; }
body[data-view="consumption"] .wave-chart .hour-bar.is-peak { fill: url(#wave-bar); opacity: 1; filter: drop-shadow(0 0 12px #f17d48aa); }
.wave-period-band { fill: #9b745113; }
.wave-period-band.is-warm { fill: #bd77552b; }
.wave-period-label { fill: #9db5bf; font-size: 12px; }
.wave-period-label.is-warm { fill: #ffc071; font-weight: 720; }
.wave-horizontal { stroke: #9cb6c22d; stroke-width: 1; }
.wave-y-axis { fill: #9aafbd; font-size: 10px; }
body[data-view="consumption"] .wave-line { stroke: #ffd098; stroke-width: 3.5; filter: drop-shadow(0 0 6px #ff693f) drop-shadow(0 0 12px #ff693f77); }
body[data-view="consumption"] .wave-peak { fill: #fff0bb; filter: drop-shadow(0 0 8px #ff9253); }
body[data-view="consumption"] .wave-note { display: none; }
body[data-view="consumption"] .left-panel { grid-column: 1 / span 5; grid-row: 2; display: block; border-top: 1px solid #5b819568; border-right: 1px solid #5b819568; padding: 21px 20px 14px 0; background: #061b2abc; }
body[data-view="consumption"] .right-panel { grid-column: 6 / span 5; grid-row: 2; display: block; border-top: 1px solid #5b819568; border-right: 1px solid #5b819568; padding: 21px 23px 14px; background: #061b2ac2; }
.consumption-bottom-head h2 { color: #f4f8fa; font-size: 22px; font-weight: 740; margin: 0 0 3px; }
.consumption-bottom-head p { color: #9bb5c5; font-size: 12px; margin: 0; }
body[data-view="consumption"] .category-list { padding: 0; margin-top: 26px; }
body[data-view="consumption"] .category-list .category-body { display: flex; align-items: center; gap: 26px; }
body[data-view="consumption"] .category-ring { width: min(48%, 215px); height: auto; aspect-ratio: 1; margin: 0; box-shadow: 0 0 26px #ef8c5740; }
body[data-view="consumption"] .category-ring::before { inset: 49px; background: #071b29; }
body[data-view="consumption"] .category-ring span { text-align: center; font-size: 19px; color: #f1f7f7; }
body[data-view="consumption"] .category-ring span small { display: block; font-size: 10px; color: #9eb8c6; font-weight: 450; }
body[data-view="consumption"] .category-legend > div { display: grid; grid-template-columns: 1fr 36px 59px; align-items: center; border-bottom: 1px solid #63829745; padding: 7px 0; font-size: 13px; }
body[data-view="consumption"] .category-legend span { color: #d6e4e8; }
body[data-view="consumption"] .category-legend strong { color: #f2f8fa; font-size: 17px; }
body[data-view="consumption"] .category-legend small { color: #879eae; font-size: 11px; text-align: right; }
body[data-view="consumption"] .right-panel .time-slot-list { margin-top: 21px; }
.time-slot-row { display: grid; grid-template-columns: 26px 84px 1fr 47px 62px; align-items: center; gap: 8px; min-height: 47px; border-bottom: 1px solid #57778b35; }
.time-slot-icon { color: var(--slot-color); font-size: 21px; line-height: 1; text-shadow: 0 0 14px var(--slot-color); }
.time-slot-title { display: flex; flex-direction: column; }
.time-slot-title strong { color: #f4f8fb; font-size: 13px; }
.time-slot-title small { color: #8fa9b9; font-size: 10px; white-space: nowrap; }
.time-slot-track { height: 8px; background: #1b3647; border-radius: 3px; }
.time-slot-track span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--slot-color) 63%, #fff), var(--slot-color)); box-shadow: 0 0 10px var(--slot-color); }
.time-slot-row > strong { color: #f4f7f8; font-size: 16px; }
.time-slot-row > small { color: #a6bfcb; text-align: right; font-size: 11px; }
body[data-view="consumption"] .map-stage { grid-column: 11 / -1; grid-row: 2; border-top: 1px solid #5b819568; padding: 18px 0 5px 22px; background: #061a2ab5 !important; }
body[data-view="consumption"] .map-head .section-kicker { display: none; }
body[data-view="consumption"] .map-head h1 { font-size: 22px; }
body[data-view="consumption"] .map-head p { font-size: 11px; }
body[data-view="consumption"] .map-control-bar { margin: 5px 0 0; }
body[data-view="consumption"] .layer-button { padding: 3px 5px; font-size: 9px; }
body[data-view="consumption"] .map-canvas { min-height: 270px; overflow: visible; }
body[data-view="consumption"] .map-control-bar { position: absolute; top: 16px; right: 0; z-index: 6; margin: 0; }
body[data-view="consumption"] #district-map { transform: translate(10%, 2%) scale(1.22); }
body[data-view="consumption"] .map-view-switch { top: -46px; }
body[data-view="consumption"] .map-foot, body[data-view="consumption"] .map-scope-chip, body[data-view="consumption"] .map-depth-note { display: none; }

/* Supply: cyan terrain, a large circular time instrument, and luminous counts. */
body[data-view="supply"] .first-screen { grid-template-columns: 44% 32% 24%; grid-template-rows: 140px minmax(510px, 1fr) 211px; grid-template-areas: 'title index index' 'map dial metrics' 'notes notes notes'; background-image: none; background-color: #061827; }
body[data-view="supply"] .registered-backdrop { display: block; }
body[data-view="supply"] .registered-backdrop::after { background: linear-gradient(90deg, #03172670, #03172647 31%, #031726ab 60%, #031726e8 100%), linear-gradient(180deg, #03172649, #03172613 38%, #031726a3); }
@media (min-width: 1051px) { body[data-view="supply"] .first-screen { min-height: calc(100vh - 66px); grid-template-rows: 140px minmax(510px, 1fr) 211px; } }
body[data-view="supply"] .hero-primary { padding: 27px 15px 10px 0; border-bottom: 1px solid #5c819660; }
body[data-view="supply"] .story-title { color: #f2f8fc; font-size: clamp(44px, 3.1vw, 57px); font-weight: 780; letter-spacing: .03em; margin-top: 11px; padding-left: 12px; border-left: 5px solid #54c6f7; text-shadow: 0 3px 18px #000b; }
body[data-view="supply"] .hero-primary::after { content: '基于订单触达的区域服务运行视图'; display: block; margin: 6px 0 0 18px; color: #a3c2d2; font-size: 14px; }
body[data-view="supply"] .hero-index { padding: 17px 0 10px 28px; border-bottom: 1px solid #5c819660; display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: 35px 1fr; column-gap: 22px; align-items: center; justify-content: stretch; }
body[data-view="supply"] .hero-index .index-heading { grid-column: 1; grid-row: 1; color: #dcebf0; font-size: 14px; white-space: nowrap; }
body[data-view="supply"] .hero-index .index-heading > span:nth-child(2) { display: none; }
body[data-view="supply"] .hero-index .index-heading::after { content: '人民生活 · 在线餐饮综合指数'; }
body[data-view="supply"] .hero-index .text-button { display: none; }
body[data-view="supply"] .hero-index .index-core { grid-column: 1; grid-row: 2; align-self: end; }
body[data-view="supply"] .hero-index #hero-index { font-size: 74px; }
body[data-view="supply"] .hero-index .index-components { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-self: end; margin: 0 0 12px; }
body[data-view="supply"] .hero-index .component { min-width: 0; }
body[data-view="supply"] .hero-index .component-top { flex-wrap: wrap; gap: 4px; font-size: 11px; color: #a6c0d1; }
body[data-view="supply"] .hero-index .component-top strong { width: 100%; margin: 3px 0 0; font-size: 17px; color: #f2f7f9; }
body[data-view="supply"] .hero-index .component-dot { background: var(--component-color); }
body[data-view="supply"] .hero-index .component-track { height: 6px; margin-top: 5px; background: #1e3f51; }
body[data-view="supply"] .hero-index .component-track span { height: 6px; box-shadow: 0 0 13px var(--component-color); }
body[data-view="supply"] .map-stage { padding: 0 18px 8px 0; border-right: 1px solid #5b819568; background: radial-gradient(circle at 43% 50%, #1c79ba2e, transparent 65%) !important; }
body[data-view="supply"] .map-head, body[data-view="supply"] .map-scope-chip, body[data-view="supply"] .map-depth-note { display: none; }
body[data-view="supply"] .map-control-bar { display: flex; position: absolute; left: 0; bottom: 4px; z-index: 6; margin: 0; gap: 2px; flex-wrap: nowrap; }
body[data-view="supply"] .layer-button { padding: 7px 8px; font-size: 10px; border-color: #52738680; background: #071d2ccf; }
body[data-view="supply"] .layer-button.is-active { border-color: #e9c47e; box-shadow: inset 0 0 10px #e9bc6c29; }
body[data-view="supply"] .map-canvas { min-height: 0; }
body[data-view="supply"] #district-map { transform: translate(12%, 8%) scale(1.08); }
body[data-view="supply"] .map-canvas:not(.is-3d) #district-map { transform: translate(12%, 3%) scale(.98); }
body[data-view="supply"] .map-region { stroke: #a9edff; stroke-opacity: 1; filter: drop-shadow(0 0 5px #61d6ff88); }
body[data-view="supply"] .map-canvas.is-3d .map-region { stroke: #aff2ff; stroke-width: 1.4; }
body[data-view="supply"] .map-side { stroke: #66beec88; }
body[data-view="supply"] .map-label-chip rect { fill: #0a2b46d9; stroke: #73c1de66; }
body[data-view="supply"] .map-halo { border-color: #4abff344 !important; box-shadow: 0 0 0 60px #369cd20c, 0 0 0 125px #369cd209 !important; }
body[data-view="supply"] .map-view-switch { top: 13px; right: 30px; }
body[data-view="supply"] .map-foot { border: 0; padding: 0 0 4px 7px; margin-bottom: 39px; }
body[data-view="supply"] .legend-gradient { width: 166px; height: 8px; border-radius: 3px; box-shadow: 0 0 10px #5edbff88; }
body[data-view="supply"] .legend-detail { display: none; }
body[data-view="supply"] .lower-band { padding: 19px 15px 8px; border-right: 1px solid #5b819568; background: radial-gradient(circle at 50% 53%, #15588f4d, transparent 63%) !important; }
body[data-view="supply"] .dial-heading h2 { font-size: 23px; font-weight: 730; }
body[data-view="supply"] .dial-heading p { font-size: 11px; }
body[data-view="supply"] .dial-chart { min-height: 0; margin-top: 12px; }
body[data-view="supply"] .service-dial { width: min(91%, 430px); padding: 0; aspect-ratio: 1; box-shadow: 0 0 0 6px #071d2c, 0 0 0 8px #56c8fa67, 0 0 45px #43b9f380, inset 0 0 25px #f5ffff66; }
body[data-view="supply"] .service-dial { transform: translateY(-42px); }
body[data-view="supply"] .service-dial::before { inset: -20px; border: 0; background: repeating-conic-gradient(#81dfffd9 0deg .4deg, transparent .4deg 4deg); -webkit-mask: radial-gradient(transparent 0 85%, #000 86% 87%, transparent 88%); mask: radial-gradient(transparent 0 85%, #000 86% 87%, transparent 88%); }
body[data-view="supply"] .service-dial::after { content: ''; position: absolute; inset: 22px; border-radius: 50%; z-index: 0; background: linear-gradient(45deg, transparent 49.7%, #66bbd073 50%, transparent 50.3%), linear-gradient(-45deg, transparent 49.7%, #66bbd073 50%, transparent 50.3%), radial-gradient(circle at 50% 50%, #061a2d 16%, #081d33e9 62%, #0a2740db 100%); box-shadow: inset 0 0 30px #000a, 0 0 0 1px #93e6ff70; }
.dial-sector { position: absolute; z-index: 1; width: 112px; height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #eaf8ff; text-align: center; text-shadow: 0 1px 5px #001728; }
.dial-sector strong { font-size: 18px; line-height: 1.1; }
.dial-sector small { margin-top: 3px; color: #c8deeb; font-size: 10px; white-space: nowrap; }
.dial-sector em { margin-top: 4px; font-size: 24px; font-style: normal; font-weight: 750; }
.dial-sector-bars { width: 105px; height: 34px; display: flex; align-items: end; justify-content: center; gap: 1px; margin-top: 3px; }
.dial-sector-bars i { width: 4px; min-height: 4px; background: #74dfff; box-shadow: 0 0 8px #3fc8f8; }
.dial-sector-breakfast { left: 22px; top: 50%; transform: translateY(-50%); }
.dial-sector-lunch { top: 25px; left: 50%; transform: translateX(-50%); }
.dial-sector-dinner { right: 19px; top: 50%; transform: translateY(-50%); }
.dial-sector-dinner .dial-sector-bars i { background: #ffd37f; box-shadow: 0 0 8px #ffb969; }
.dial-sector-night { bottom: 21px; left: 50%; transform: translateX(-50%); }
.dial-sector-night .dial-sector-bars i { background: #9e9aff; box-shadow: 0 0 8px #7867ed; }
body[data-view="supply"] .dial-core { position: absolute; z-index: 2; inset: 35%; width: auto; height: auto; background: radial-gradient(circle, #09263c, #051b2a 72%); border: 2px solid #67d3f6b3; box-shadow: 0 0 0 9px #071d2adc, 0 0 0 11px #70d0ff87, inset 0 0 24px #329bcc8f, 0 0 25px #36b6ff80; }
body[data-view="supply"] .dial-core > span { font-size: 27px; line-height: 1; }
body[data-view="supply"] .dial-core strong { font-size: 18px; font-weight: 760; line-height: 1.2; }
body[data-view="supply"] .dial-core small { font-size: 13px; color: #d2f0fd; }
.dial-early { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: #adc7d6; font-size: 9px; }
body[data-view="supply"] .dial-note { display: none; }
body[data-view="supply"] .right-panel { padding: 19px 0 9px 18px; border: 0; background: #061a2a80; }
body[data-view="supply"] .supply-stat { padding: 8px 0 21px; border-color: #678ca34d; }
body[data-view="supply"] .supply-stat > span { color: #f0f8fb; font-size: 15px; font-weight: 680; }
body[data-view="supply"] .stat-main { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
body[data-view="supply"] .supply-stat strong { color: #9fe5ff; font-size: 68px; font-weight: 740; margin: 1px 0 0; }
body[data-view="supply"] .supply-stat.is-night strong { color: #b2a7ff; }
body[data-view="supply"] .supply-stat small { color: #9bb7c6; font-size: 10px; }
.stat-bars { height: 57px; width: 122px; display: flex; gap: 3px; align-items: end; border-bottom: 1px solid #638ea4; }
.stat-bars i { flex: 1; min-width: 2px; background: linear-gradient(0deg, #245381, var(--bar-color)); box-shadow: 0 0 6px var(--bar-color); }
.supply-night { margin-top: 14px; }
.supply-night h3 { font-size: 16px; margin: 0 0 8px; color: #f0f8fb; }
.supply-night-body { position: relative; display: block; height: 165px; }
.supply-night-body .night-donut { margin: 0 auto; }
.night-donut { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(#9f91ff var(--night-share), #5eb6ef 0); box-shadow: 0 0 25px #628de664; }
.night-donut > div { width: 72%; height: 72%; border-radius: 50%; background: #061b2d; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.night-donut strong { color: #f4f8fb; font-size: 28px; }
.night-donut span { color: #a9bfce; font-size: 9px; }
.supply-night-body p { position: absolute; right: 0; top: 55px; margin: 0; display: flex; flex-direction: column; color: #aabed0; font-size: 10px; line-height: 1.5; }
.supply-night-body p strong { color: #b6aaff; font-size: 30px; }
body[data-view="supply"] .left-panel { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 0; align-items: stretch; padding: 16px 0 5px; border-top: 1px solid #61849c70; background: #061827cf; }
.supply-foot-col { min-width: 0; padding: 0 23px; border-left: 1px solid #60849c5c; }
.supply-foot-col:first-child { padding-left: 0; border-left: 0; }
.supply-foot-col h2 { margin: 0 0 12px; font-size: 17px; color: #f1f8fb; }
.supply-foot-col h2 small { color: #91aabd; font-size: 10px; font-weight: 450; }
.supply-time-bars { display: flex; justify-content: space-between; }
.time-bar-group { width: 22%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.micro-bars { width: 100%; height: 60px; display: flex; align-items: end; justify-content: center; gap: 2px; border-bottom: 1px solid #5c839a; }
.micro-bars i { flex: 1; max-width: 8px; background: linear-gradient(0deg, #2a5787, var(--bar-color)); box-shadow: 0 0 7px var(--bar-color); }
.time-bar-group strong { font-size: 12px; margin-top: 4px; }
.time-bar-group small { font-size: 9px; color: #97b2c3; white-space: nowrap; }
.time-bar-group em { font-size: 16px; font-style: normal; font-weight: 720; color: var(--bar-color); }
.supply-top-list { display: flex; flex-direction: column; gap: 4px; }
.supply-top-row { display: grid; grid-template-columns: 19px 77px 1fr 29px; gap: 5px; align-items: center; width: 100%; border: 0; background: transparent; text-align: left; padding: 1px 0; font-size: 10px; }
.supply-top-row b { color: #efc779; border-radius: 50%; background: #796441; text-align: center; font-size: 10px; }
.supply-top-row span { color: #c7d9e2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.supply-top-row i { height: 9px; background: #244051; }
.supply-top-row i em { display: block; height: 100%; background: linear-gradient(90deg,#63cef6,#4a8fe4); }
.supply-top-row strong { color: #eef7fa; text-align: right; }
.supply-trend { width: 100%; height: 120px; overflow: visible; }
.supply-trend-axis { stroke: #5f89a1; }
.supply-trend-guide { stroke: #5f89a159; stroke-dasharray: 4 4; }
.supply-trend-line { fill: none; stroke: #6bddf6; stroke-width: 3; filter: drop-shadow(0 0 8px #53d5f5); }
.supply-trend text { fill: #8cabc0; font-size: 10px; }

@media (min-width: 1051px) and (max-height: 900px) {
  body[data-view="supply"] .first-screen { height: calc(100vh - 66px); min-height: 770px; grid-template-rows: 130px minmax(470px, 1fr) 170px; }
  body[data-view="supply"] .hero-primary { padding-top: 16px; }
  body[data-view="supply"] .hero-index { padding-top: 10px; }
  body[data-view="supply"] #district-map { transform: translate(12%, 7%) scale(1.01); }
  body[data-view="supply"] .service-dial { width: min(91%, 390px); transform: translateY(-27px); }
  body[data-view="supply"] .right-panel { padding-top: 10px; }
  body[data-view="supply"] .supply-stat { padding-bottom: 12px; }
  body[data-view="supply"] .supply-stat strong { font-size: 58px; }
  body[data-view="supply"] .supply-night { margin-top: 8px; }
  body[data-view="supply"] .supply-night-body { height: 132px; }
  body[data-view="supply"] .night-donut { width: 128px; height: 128px; }
  body[data-view="supply"] .left-panel { padding-top: 9px; }
  body[data-view="supply"] .supply-foot-col h2 { margin-bottom: 4px; }
  body[data-view="supply"] .micro-bars { height: 45px; }
  body[data-view="supply"] .supply-trend { height: 92px; }
}

@media (max-width: 1350px) and (min-width: 1061px) {
  .view-nav { gap: 36px; }
  .brand-text small { display: none; }
  body[data-view="overview"] .hero-measure #hero-orders { font-size: 70px; }
  body[data-view="overview"] .hero-index .index-heading { font-size: 14px; }
  body[data-view="consumption"] .hero-measure #hero-orders { font-size: 62px; }
  body[data-view="consumption"] .hero-secondary strong { font-size: 61px; }
  body[data-view="supply"] .service-dial { width: min(90%, 390px); }
}
@media (max-width: 1050px) {
  .masthead { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 60px 46px; height: 106px; min-height: 0; gap: 0; }
  .brand-wrap { grid-column: 1; grid-row: 1; }
  .header-end { grid-column: 2; grid-row: 1; width: auto; padding: 0; }
  .view-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 42px; border-top: 1px solid var(--line); }
  .first-screen { background-size: cover; }
  body[data-view="overview"] .first-screen { grid-template-columns: 270px minmax(0, 1fr); grid-template-rows: 220px 430px auto 155px; grid-template-areas: 'order map' 'index map' 'ranking ranking' 'trend trend'; min-height: 0; }
  body[data-view="overview"] .hero-primary { padding-top: 22px; }
  body[data-view="overview"] .hero-measure #hero-orders { font-size: 59px; }
  body[data-view="overview"] .hero-index { margin: 0; padding: 16px 12px; }
  body[data-view="overview"] .hero-index .index-heading { font-size: 12px; }
  body[data-view="overview"] .hero-index .index-window, body[data-view="overview"] .hero-index .text-button { display: none; }
  body[data-view="overview"] .index-core #hero-index { font-size: 72px; }
  body[data-view="overview"] .component { min-height: 56px; padding: 5px 0 5px 36px; }
  body[data-view="overview"] .component-dot { margin-left: -36px; width: 28px; height: 28px; }
  body[data-view="overview"] .component-top { font-size: 11px; }
  body[data-view="overview"] .component-top strong { font-size: 17px; }
  body[data-view="overview"] .component-desc { font-size: 9px; }
  body[data-view="overview"] .right-panel { margin: 0; min-height: 0; padding: 18px 14px; display: block; }
  body[data-view="overview"] .right-head { margin: 0 0 12px; }
  body[data-view="overview"] .rank-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  body[data-view="overview"] .rank-row { display: flex; align-items: start; flex-direction: column; gap: 4px; min-width: 0; padding: 8px 0 15px; }
  body[data-view="overview"] .rank-bar { left: 0; bottom: 4px; }
  body[data-view="overview"] .rank-name { font-size: 12px; }
  body[data-view="overview"] .rank-row strong { font-size: 16px; }
  body[data-view="overview"] .lower-band { grid-template-columns: 170px minmax(0, 1fr) 170px; }
  body[data-view="overview"] .lower-aside strong { font-size: 35px; }
  body[data-view="consumption"] .first-screen { grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: 500px auto auto; grid-template-areas: 'order wave' 'category times' 'map map'; }
  body[data-view="consumption"] .hero-primary { grid-area: order; }
  body[data-view="consumption"] .lower-band { grid-area: wave; }
  body[data-view="consumption"] .left-panel { grid-area: category; }
  body[data-view="consumption"] .right-panel { grid-area: times; }
  body[data-view="consumption"] .map-stage { grid-area: map; min-height: 430px; }
  body[data-view="consumption"] .map-canvas { min-height: 340px; overflow: hidden; }
  body[data-view="consumption"] #district-map { transform: scale(1); }
  body[data-view="consumption"] .map-view-switch { top: 14px; }
  body[data-view="supply"] .first-screen { grid-template-columns: 50% 50%; grid-template-rows: 145px 530px auto auto; grid-template-areas: 'title index' 'map dial' 'metrics metrics' 'notes notes'; }
  body[data-view="supply"] .hero-index { grid-template-columns: 1fr; grid-template-rows: 30px 1fr; }
  body[data-view="supply"] .hero-index .index-components { display: none; }
  body[data-view="supply"] .right-panel { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  body[data-view="supply"] .right-panel .supply-stat { min-width: 31%; }
  body[data-view="supply"] .map-control-bar { right: 0; flex-wrap: wrap; }
  body[data-view="supply"] .layer-button { font-size: 9px; padding: 5px 6px; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 16px; }
  body[data-view="overview"] .map-context-labels, body[data-view="overview"] .overview-compass { display: none; }
  .masthead { display: flex; height: auto; min-height: 0; padding-top: 10px; }
  .brand-text small { display: block; }
  .view-nav { gap: 12px; }
  .view-tab { font-size: 14px; }
  .first-screen { min-height: 0; }
  body[data-view="overview"] .hero-measure #hero-orders, body[data-view="consumption"] .hero-measure #hero-orders { font-size: 54px !important; }
  body[data-view="overview"] .hero-primary, body[data-view="consumption"] .hero-primary { min-height: 205px; }
  body[data-view="overview"] .hero-index { margin: 0; }
  body[data-view="overview"] .map-stage, body[data-view="supply"] .map-stage { min-height: 500px; }
  body[data-view="overview"] #district-map, body[data-view="supply"] #district-map, body[data-view="consumption"] #district-map { transform: scale(1.02); }
  body[data-view="overview"] .right-panel { margin: 0; min-height: 0; }
  body[data-view="consumption"] .hero-primary, body[data-view="consumption"] .left-panel, body[data-view="consumption"] .right-panel, body[data-view="consumption"] .lower-band, body[data-view="consumption"] .map-stage { grid-column: auto; grid-row: auto; }
  body[data-view="consumption"] .hero-secondary { margin-top: 20px; }
  body[data-view="consumption"] .hero-secondary strong { font-size: 57px; }
  body[data-view="consumption"] .category-ring { width: 140px; }
  body[data-view="consumption"] .category-ring::before { inset: 31px; }
  body[data-view="consumption"] .right-panel { padding-left: 0; padding-right: 0; }
  body[data-view="supply"] .hero-primary, body[data-view="supply"] .hero-index, body[data-view="supply"] .map-stage, body[data-view="supply"] .lower-band, body[data-view="supply"] .right-panel, body[data-view="supply"] .left-panel { grid-column: auto; grid-row: auto; }
  body[data-view="supply"] .hero-index { display: block; }
  body[data-view="supply"] .map-control-bar { position: static; margin: 7px 0 0; }
  body[data-view="supply"] .service-dial { width: min(92%, 390px); }
  body[data-view="supply"] .left-panel { display: block; }
  body[data-view="supply"] .supply-foot-col { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
}
