@font-face { font-family: Barlow; src: url("../lanchuan/assets/barlow-semi-condensed-600.woff2") format("woff2"); font-display: swap; font-weight: 600; }
:root {
  --ink: #282633; --ink-deep: #161825; --muted: #6d6570; --paper: #f7f2e9;
  --quiet: #f1e9dc; --surface: #fffdf8; --border: #e4dacf; --red: #a43e31; --gold: #f3c396;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --num: Barlow, "Bahnschrift", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; scroll-padding-top: 42px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.55 var(--sans); }
h1,h2,h3,p,ul,figure,dl,dd { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
button,a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 2px solid #c98649; outline-offset: 3px; }
img { display: block; width: 100%; object-fit: cover; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 50; padding: 9px 14px; background: #fff; color: #151522; }
.skip:focus { top: 8px; }
.digits { font: 600 1em/1.12 var(--num); font-variant-numeric: tabular-nums; }
.mono { font-family: "IBM Plex Mono", Consolas, monospace; font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .82rem; letter-spacing: .11em; }
.content-width { width: min(100% - 72px, 1392px); margin-inline: auto; }
.gap-top { margin-top: 16px; }

.modebar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 13px; min-height: 37px; padding: 0 24px; color: #d8d2e0; background: #11121c; border-bottom: 1px solid #2b2a3a; font-size: .77rem; }
.modebar nav { display: flex; align-items: stretch; align-self: stretch; gap: 1px; }
.modebar nav a { display: grid; place-items: center; padding: 4px 18px; border-bottom: 2px solid transparent; white-space: nowrap; }
.modebar nav a:hover,.modebar a:hover { color: #fff; }
.modebar nav a[aria-current] { color: #f7d5af; background: #252435; border-color: #d9a169; }
.case-back { white-space: nowrap; justify-self: start; }
.mode-date { justify-self: end; color: #aaa4ba; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand > span,.screen-brand > span { display: grid; gap: 1px; }
.brand b { font: 700 1.32rem/1.2 var(--serif); letter-spacing: .08em; }
.brand small,.screen-brand small { font: 600 .64rem/1.25 var(--sans); letter-spacing: .12em; opacity: .68; }
.brand-mark { position: relative; display: block; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 54% 47% 48% 52%; transform: rotate(-11deg); color: #bb785b; }
.brand-mark::before,.brand-mark::after { position: absolute; content: ""; left: 5px; right: 5px; border-top: 1px solid; border-radius: 60%; height: 8px; }
.brand-mark::before { inset-block-start: 10px; transform: skewX(-28deg) rotate(5deg); }
.brand-mark::after { inset-block-start: 16px; transform: skewX(30deg) rotate(-5deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 36px; padding: 7px 13px; border: 1px solid transparent; border-radius: 5px; background: var(--quiet); color: var(--ink); font-size: .86rem; white-space: nowrap; line-height: 1.25; }
.btn:hover { filter: brightness(.96); }
.btn.solid { color: #fff5ed; background: var(--red); border-color: var(--red); }
.btn.gold { color: #2c1a18; background: #f1c597; border-color: #f1c597; }
.btn.outline { color: #fff5ed; background: #1d213368; border-color: #f4dec28a; }
.btn.mini { gap: 5px; min-height: 29px; padding: 5px 8px; font-size: .76rem; background: transparent; border-color: var(--border); }
.btn.text-btn { padding-inline: 0; background: transparent; color: var(--red); }
.btn.text-btn:hover { text-decoration: underline; }
.badge { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 22px; padding: 2px 7px; color: #655d6c; background: #efebee; border-radius: 4px; font-size: .72rem; line-height: 1.22; white-space: nowrap; }
.badge.amber { color: #76402b; background: #fae6d2; }
.badge.blue { color: #4d526b; background: #eae8f1; }
.badge.green { color: #315847; background: #e3eee4; }
.badge.red { color: #943e33; background: #f7e2dc; }
.status-dot { flex: 0 0 auto; width: 7px; height: 7px; display: inline-block; background: #8b8bad; border-radius: 50%; }
.status-dot.amber { background: #d59960; }
.status-dot.red { background: #b85b4e; }

.visitor-shell { min-height: calc(100svh - 37px); color: var(--ink); background: var(--paper); }
.visitor-header { background: #faf6ee; border-bottom: 1px solid var(--border); }
.visitor-nav { display: flex; justify-content: space-between; align-items: center; min-height: 67px; gap: 24px; }
.visitor-nav nav { display: flex; gap: clamp(12px,2.8vw,38px); align-items: stretch; min-height: inherit; overflow-x: auto; }
.visitor-nav nav a { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; white-space: nowrap; border-bottom: 2px solid transparent; }
.visitor-nav nav a[aria-current] { border-color: var(--red); color: var(--red); }
.visitor-nav nav a:hover { color: var(--red); }
.visitor-nav nav a > span { color: var(--red); background: #f0dfd4; padding: 0 5px; font-size: .7rem; border-radius: 8px; }
.visitor-hero { position: relative; isolation: isolate; min-height: 540px; min-height: clamp(430px,60svh,645px); display: flex; align-items: end; overflow: hidden; background: #1c2234; color: #fff3e4; }
.hero-image,.hero-shade { position: absolute; inset: 0; height: 100%; z-index: -2; }
.hero-image { object-position: 60% 58%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg,#111321e6 0%,#141625a6 36%,#10162e08 76%),linear-gradient(0deg,#14131ece,#15152510 58%); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(232px,270px); gap: 35px; align-items: end; padding-block: 60px 43px; }
.hero-copy { max-width: 660px; }
.hero-copy .eyebrow { color: #ffc797; font-weight: 700; }
.hero-copy h1 { margin: 14px 0 12px; font: 800 clamp(4.65rem,10.2vw,9.85rem)/.98 var(--serif); letter-spacing: .015em; text-shadow: 0 3px 30px #141520a0; }
.hero-copy > p:not(.eyebrow) { color: #f1e4df; letter-spacing: .065em; font-size: clamp(.94rem,1.6vw,1.15rem); }
.hero-actions { display: flex; gap: 11px; margin-top: 26px; }
.hero-actions .btn { min-height: 44px; padding-inline: 17px; }
.hero-program { padding: 15px 15px 12px; align-self: end; border: 1px solid #ebc09775; border-radius: 7px; background: #201d2cc7; backdrop-filter: blur(9px); color: #f6e9dd; }
.hero-program > div { display: flex; align-items: center; justify-content: space-between; color: #f1c59f; font-size: .81rem; }
.hero-program > div b { font-weight: 500; opacity: .84; }
.hero-program > button { display: grid; grid-template-columns: 1fr 1fr auto; text-align: left; align-items: center; width: 100%; gap: 7px; background: transparent; border: 0; border-bottom: 1px solid #e8c79e43; padding: 11px 0; }
.hero-program > button:hover { color: #ffd2a4; }
.hero-program > button strong { font-size: 1.94rem; }
.hero-program > button span { font-size: .8rem; }
.hero-program > button small { display: block; color: #d2b6a4; }
.hero-program > button i { font-style: normal; color: #f3c396; }
.hero-program p { margin-top: 10px; color: #e7c4a8; font-size: .78rem; }
.visit-content { padding-block: 25px 48px; }
.travel-notice { display: grid; grid-template-columns: max-content 1fr auto; align-items: center; gap: 15px; padding: 10px 14px; background: #f3e7d8; border: 1px solid #eadcc9; border-radius: 5px; }
.travel-notice b { display: flex; align-items: center; gap: 6px; font-size: .88rem; }
.travel-notice span { color: #645360; font-size: .8rem; }
.tour-section { margin-top: 32px; }
.section-head { min-width: 0; display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 13px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: 1.04rem; line-height: 1.36; letter-spacing: .01em; }
.section-head p { color: var(--muted); font-size: .79rem; margin-top: 4px; line-height: 1.45; }
.tour-section .section-head { margin-bottom: 17px; align-items: end; }
.tour-section .section-head h2 { font: 800 clamp(1.6rem,3.2vw,2.58rem)/1.24 var(--serif); }
.tour-section .section-head p { font-size: .9rem; }
.destination-grid,.products-grid,.offer-grid,.venue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.destination,.product-card,.offer-card { overflow: hidden; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.destination img { aspect-ratio: 1.78; object-position: center 54%; }
.destination-body,.product-content,.offer-card { padding: 13px 16px 15px; }
.destination h3,.product-content h3,.offer-card h3 { margin: 4px 0; font: 800 1.35rem/1.3 var(--serif); }
.destination small,.product-content .eyebrow { color: #84534a; }
.destination p,.product-content p { color: var(--muted); font-size: .86rem; }
.destination-foot,.product-buy { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--border); }
.destination-foot > span { font-size: .72rem; color: var(--muted); }
.product-card img { aspect-ratio: 2.3; }
.product-buy strong { font-size: 1.48rem; color: #8c3b31; }
.product-buy strong small { color: var(--muted); font: .76rem var(--sans); }
.visitor-footer { background: #232334; color: #eddfd3; padding-block: 23px; }
.visitor-footer > div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.visitor-footer strong { font: 700 1.08rem var(--serif); letter-spacing: .05em; }
.visitor-footer span,.visitor-footer a { font-size: .78rem; color: #dac3b5; }
.visitor-footer a:hover { text-decoration: underline; }
.night-banner { position: relative; isolation: isolate; min-height: 216px; display: grid; align-items: center; color: #fff4e8; background: #1e2131; }
.night-banner img { position: absolute; inset: 0; height: 100%; object-position: center 51%; z-index: -2; }
.night-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#16182ce6,#1b1d2a4a); }
.night-banner h1,.visit-page-title h1 { font: 800 clamp(2.12rem,5.5vw,4.4rem)/1.13 var(--serif); margin: 5px 0 7px; }
.crumb,.night-banner p,.visit-page-title p { color: #dfb991; font-size: .87rem; }
.visit-page-title { padding: 8px 0 24px; }
.visit-page-title p { color: #9c5b49; }
.visit-page-title span { color: var(--muted); font-size: .87rem; }
.night-flow,.wallet-layout { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(0,1fr); gap: 16px; }
.surface { min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; }
.segments { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 5px; background: #f2ece4; }
.segments button,.segments a { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; background: transparent; border: 0; border-radius: 3px; font-size: .77rem; white-space: nowrap; }
.segments [aria-pressed="true"],.segments [aria-current="true"] { background: var(--surface); color: #963e34; box-shadow: 0 1px 2px #4b373525; }
.segments button:hover,.segments a:hover { color: var(--red); }
.programs { margin-top: 9px; }
.programs li { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 11px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--border); }
.programs li:last-child { border-bottom: 0; }
.program-time { display: grid; gap: 2px; }
.program-time strong { font-size: 1.9rem; color: #a14f41; }
.program-time span,.programs li p,.offer-card small { font-size: .77rem; color: var(--muted); }
.programs li h3 { font-size: .95rem; margin: 0 0 3px; }
.route-call { border-left: 2px solid #b7664b; background: #f8ecdf; color: #4d3b3d; padding: 11px 12px; display: grid; justify-items: start; gap: 5px; }
.route-call > p,.route-call small { color: #75534b; font-size: .76rem; }
.route-call strong { color: #9a4839; font-size: 1.06rem; }
.route-call span { font-size: .84rem; }
.route-call .btn { min-height: 30px; font-size: .76rem; margin-top: 4px; background: #edd9c8; }
.bulletins { color: inherit; }
.bulletins li { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: start; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bulletins li:last-child { border-bottom: 0; padding-bottom: 0; }
.bulletins time { padding-top: 3px; color: #8e5448; }
.bulletins strong { font-size: .82rem; }
.bulletins p { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.offer-card > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .76rem; }
.offer-card p { margin: 5px 0; }
.offer-card > .btn { display: flex; margin-top: 10px; width: max-content; }
.travel-route { padding: 12px 0; border-bottom: 1px solid var(--border); }
.travel-route:last-child { border: 0; }
.travel-route > b { margin-right: 8px; }
.travel-route p { margin: 4px 0; font-size: .85rem; }
.travel-route small { color: var(--muted); }
.wallet-orders { display: grid; gap: 10px; margin-top: 12px; }
.wallet-pass { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--border); border-left: 3px solid #cd9271; border-radius: 6px; background: #fbf4eb; }
.wallet-pass > div:last-child { display: grid; justify-items: end; gap: 7px; }
.wallet-pass p,.wallet-pass span:not(.badge),.wallet-coupons p,.wallet-empty p { color: var(--muted); font-size: .8rem; }
.wallet-pass h3 { margin: 3px 0 5px; font-size: 1.02rem; }
.wallet-empty .btn { margin-top: 12px; }
.wallet-coupons li { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

body[data-mode="ops"] { background: #f5f0ea; }
.ops-shell { min-height: calc(100svh - 37px); display: grid; grid-template-columns: 208px minmax(0,1fr); color: var(--ink); background: #f5f0ea; }
.ops-rail { display: flex; flex-direction: column; min-width: 0; padding: 23px 13px 15px; color: #dcd3e0; background: #242436; }
.ops-rail .brand { padding: 0 8px 20px; align-self: start; color: #fff0df; }
.ops-rail nav { display: grid; gap: 5px; }
.ops-rail nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 7px 10px; border-radius: 5px; border-left: 2px solid transparent; white-space: nowrap; }
.ops-rail nav a i { width: 17px; text-align: center; color: #d9a589; font-style: normal; font-size: 1rem; }
.ops-rail nav a[aria-current] { color: #ffe5c9; background: #3b303d; border-color: #e3ab7b; font-weight: 700; }
.ops-rail nav a:hover { background: #403446; }
.rail-footer { margin-top: auto; padding: 21px 8px 4px; color: #c3aebc; font-size: .78rem; }
.rail-footer i { margin-right: 5px; }
.ops-main { min-width: 0; padding: 20px clamp(16px,3vw,38px) 30px; }
.ops-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ops-head p { color: #92574a; font-size: .75rem; }
.ops-head h1 { font: 800 clamp(1.7rem,3.2vw,2.45rem)/1.2 var(--serif); margin: 4px 0; letter-spacing: .02em; }
.ops-head span { font-size: .82rem; color: var(--muted); }
.ops-metrics,.screen-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.ops-metrics.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.metric { min-width: 0; padding: 12px 13px 11px; border: 1px solid var(--border); border-top: 2px solid #bdb1bf; border-radius: 6px; background: var(--surface); }
.metric.warm { border-top-color: #ca8c6f; }
.metric > div { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.metric strong { display: block; font-size: clamp(1.32rem,2.55vw,2.12rem); margin: 4px 0; white-space: nowrap; }
.metric.warm strong { color: #9d4a39; }
.metric strong small { margin-left: 4px; color: var(--muted); font: .73rem var(--sans); }
.metric p { color: var(--muted); font-size: .72rem; }
.ops-2col { display: grid; grid-template-columns: minmax(0,1.88fr) minmax(258px,1fr); gap: 15px; }
.table-wrap { width: 100%; overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .82rem; font-variant-numeric: tabular-nums; }
th { background: #f5eee6; color: #645663; white-space: nowrap; font-size: .72rem; font-weight: 650; }
td,th { padding: 8px 7px; border-bottom: 1px solid var(--border); }
td { line-height: 1.38; }
td strong { font-weight: 700; }
td > small { display: block; font-size: .68rem; color: var(--muted); margin-top: 3px; }
td .ratio { display: block; min-width: 46px; margin-top: 6px; }
tr:last-child td { border-bottom: 0; }
.ratio { display: block; position: relative; height: 5px; border-radius: 4px; overflow: hidden; background: #e9e1e3; }
.ratio i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: #9b8297; }
.ratio.amber i { background: #d69d6e; }
.table-actions { display: flex; gap: 4px; }
.audit-log li,.todo-list li { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.todo-list li { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; }
.todo-list li:last-child,.audit-log li:last-child { border-bottom: 0; }
.audit-log strong,.todo-list strong { font-size: .84rem; }
.audit-log p,.todo-list p { color: var(--muted); font-size: .76rem; margin-top: 2px; }
.audit-log time,.todo-list time { color: #906050; font-size: 1rem; padding-top: 2px; }
.filter-bar { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; margin-bottom: 13px; }
.f-control { display: grid; gap: 5px; min-width: 0; font-weight: 650; font-size: .79rem; color: #554858; }
.f-control input,.f-control select,.f-control textarea { width: 100%; min-width: 0; min-height: 36px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 4px; font-weight: 450; background: #fffdf7; color: #272337; }
.filter-bar small { margin: 8px 0 8px auto; color: var(--muted); }
.filter-bar label:first-child { min-width: min(100%,210px); }
.filter-bar .btn { min-height: 36px; }
.empty-cell { color: var(--muted); padding: 18px 10px; text-align: center; }
.venue-card { padding: 0; overflow: hidden; }
.venue-card img { aspect-ratio: 2; }
.venue-card > div { padding: 12px 14px; }
.venue-card .card-row { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.venue-card h2 { font-size: 1.04rem; }
.venue-card p,.venue-card dt { color: var(--muted); font-size: .76rem; }
.venue-card dl { display: grid; gap: 4px; margin: 10px 0; }
.venue-card dl > div { display: flex; justify-content: space-between; gap: 6px; }
.surface .segments + .table-wrap { margin-top: 10px; }

.group-map,.city-map { position: relative; isolation: isolate; width: 100%; min-width: 0; min-height: 200px; aspect-ratio: 1.93; color: #f9ebdc; overflow: hidden; border: 1px solid #35394d; border-radius: 5px; background: radial-gradient(ellipse at 51% 38%,#353549,#212335 57%,#171a29); }
.group-map > svg,.city-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.north { position: absolute; z-index: 2; top: 11px; right: 13px; display: grid; justify-items: center; color: #e0c4a8; font: 600 1.08rem/1.05 var(--num); }
.north small { font-size: .65rem; }
.map-key { position: absolute; z-index: 2; left: 9px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; background: #202132ed; color: #e9cdba; border: 1px solid #5c4d66; padding: 3px 7px; border-radius: 3px; font-size: .67rem; }
.map-key i,.map-key b { display: inline-block; width: 12px; height: 2px; background: #e1ac78; border-radius: 2px; }
.map-key b { width: 5px; height: 5px; margin-left: 7px; background: #ea8d73; }
.map-block { fill: #343244; stroke: #676176; stroke-width: 2; }
.river-line { fill: none; stroke: #474769; stroke-width: 55; }
.alley,.bridge { fill: none; stroke: #7b7183; stroke-width: 4; stroke-linecap: round; opacity: .67; }
.bridge { stroke: #a399a7; stroke-width: 10; }
.roof { fill: #514b5d; stroke: #74657c; stroke-width: .8; opacity: .86; }
.walking { fill: none; stroke: #ac97a7; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 7 11; }
.walking.active { stroke: #ffd29d; stroke-width: 6.2; filter: drop-shadow(0 0 3px #f8a26396); }
.river-label { fill: #c9b8d2; font: 26px var(--serif); opacity: .85; }
.river-label.entrance { fill: #f3c48b; font-size: 20px; }
.map-pin,.district-pin { position: absolute; padding: 0; background: transparent; border: 0; color: inherit; z-index: 2; top: var(--y); left: var(--x); transform: translate(-50%,-50%); display: grid; justify-items: center; gap: 3px; }
.map-pin i,.district-pin i { width: 9px; height: 9px; border: 2px solid #fae5d0; box-shadow: 0 0 0 3px #e1ac7470; border-radius: 50%; background: #df9f62; }
.map-pin.hot i { background: #f98674; box-shadow: 0 0 0 4px #f9867455; }
.map-pin > span { display: flex; gap: 5px; align-items: baseline; padding: 3px 6px; background: #191a29f3; border-radius: 3px; border: 1px solid #746274; color: #f4e6dd; font-size: .68rem; white-space: nowrap; }
.map-pin.hot > span { border-color: #d59a82; color: #ffd2b3; }
.map-pin > span b { color: #f5c8a1; font-size: .82rem; }
.map-pin:hover > span,.district-pin:hover > span { background: #433143; }
.map-land { fill: #343247; stroke: #726780; stroke-width: 2; opacity: .78; }
.map-contour { fill: none; stroke: #776984; stroke-width: 1.3; }
.group-river { fill: none; stroke: #51517a; stroke-width: 26; }
.group-lake { fill: #4a4b73; stroke: #7a759b; stroke-width: 2.5; }
.group-route { fill: none; stroke: #c19b82; stroke-width: 4; stroke-dasharray: 8 8; }
.group-map svg text { fill: #b4a6bb; font: 17px var(--sans); }
.district-pin i { width: 13px; height: 13px; background: var(--pin); box-shadow: 0 0 0 5px #d5c7f444; }
.district-pin > span { display: grid; min-width: 96px; padding: 5px 9px; gap: 1px; margin-top: 4px; text-align: left; background: #191b2af2; border: 1px solid #6e6077; border-radius: 5px; }
.district-pin.selected > span { border-color: #eeb987; }
.district-pin b { font-size: .76rem; }
.district-pin strong { font-size: 1.32rem; color: var(--pin); }
.district-pin small { font-size: .62rem; color: #bab0c2; }

body[data-mode="screen"] { color: #f4e9dd; background: #181a28; }
.screen { --border:#3e3d53; --muted:#bcb3c8; --surface:#302d41; --ink:#eee4ec; --quiet:#2f2a3e; min-height: calc(100svh - 37px); padding: 12px clamp(10px,2.1vw,28px) 6px; max-width: 1900px; margin-inline: auto; color: #f4e9dd; background: radial-gradient(ellipse at 50% 0,#342c4370,transparent 40%),#181a28; }
.screen-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 11px; }
.screen-brand { display: flex; align-items: center; gap: 8px; min-width: 0; color: #f1d7bb; }
.screen-brand b { font: 700 1.08rem var(--serif); white-space: nowrap; }
.screen-brand small { font-size: .62rem; color: #dcc4b4; }
.screen-title { text-align: center; }
.screen-title h1 { font: 750 clamp(1.43rem,3vw,2.28rem)/1.15 var(--serif); letter-spacing: .07em; }
.screen-title p { margin-top: 4px; color: #c3a9a9; font-size: .75rem; letter-spacing: .04em; }
.screen-tools { display: flex; gap: 6px; justify-content: end; }
.screen a:hover,.screen button:hover { color: #f7c798; }
.screen .btn.mini { color: #e9dce5; }
.screen-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.screen-filter .segments { background: #242438; }
.screen-filter .segments [aria-pressed="true"],.screen-filter .segments [aria-current="true"] { background: #4e3845; color: #f5c69a; }
.screen-filter .scrubbing { margin-left: auto; }
.screen-filter label,.scope-note { color: var(--muted); font-size: .77rem; }
.screen-filter select { margin-left: 5px; padding: 4px 6px; background: #252538; color: #f1e7e5; border: 1px solid #47475c; border-radius: 4px; }
.screen-kpis { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.screen .metric { background: #222437; border-color: #444257; border-top-color: #8d80ae; padding: 9px 10px; }
.screen .metric.warm { border-top-color: #e1a16f; }
.screen .metric.warm strong { color: #f4bd8d; }
.screen .metric strong { color: #f3e6e7; font-size: clamp(1.5rem,2.4vw,2.3rem); }
.screen .metric p { color: #bdb4c8; }
.screen-board,.screen-foot-grid { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.55fr) minmax(0,.94fr); gap: 9px; align-items: stretch; }
.screen-column { display: grid; gap: 9px; align-content: stretch; grid-auto-rows: auto 1fr; min-width: 0; }
.screen-panel { min-width: 0; min-height: 0; border: 1px solid var(--border); border-radius: 6px; background: linear-gradient(150deg,#28293c,#202235 67%); padding: 11px 12px; }
.screen-panel .section-head { margin-bottom: 8px; border-left: 2px solid #c0886d; padding-left: 8px; }
.screen-panel .section-head h2 { font-size: .95rem; }
.screen-panel .section-head p { font-size: .72rem; }
.map-panel { display: flex; flex-direction: column; }
.map-panel .city-map,.map-panel .group-map { flex: 1; aspect-ratio: auto; min-height: 300px; }
.map-caption { margin-top: 5px; display: flex; justify-content: space-between; gap: 7px; font-size: .65rem; color: #b9adbf; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 9px; color: #cdc1d3; font-size: .65rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: 3px; }
.chart-legend i { width: 7px; height: 3px; display: inline-block; background: var(--series); }
.chart-legend b { color: #f1d9c2; font-size: .83rem; }
.trend-chart svg { display: block; width: 100%; max-height: 170px; }
.trend-chart svg text { fill: #c5b7cb; font: 10px var(--num); }
.trend-chart svg text.selected { fill: #ffd29a; }
.chart-grid { fill: none; stroke: #55546e; stroke-width: .7; opacity: .7; }
.chart-cursor { fill: none; stroke: #c1a5ac; stroke-width: .7; stroke-dasharray: 2 3; }
.chart-point { stroke: #27283a; stroke-width: 2; }
.screen-ranks li { padding: 2px 0 4px; }
.screen-ranks button,.screen-schedule button { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: baseline; gap: 7px; text-align: left; border: 0; background: transparent; padding: 3px 0; font-size: .78rem; }
.screen-ranks button b { font-size: 1rem; }
.screen-ranks small { color: var(--muted); min-width: 30px; text-align: right; }
.screen-schedule li { padding: 4px 0 6px; border-bottom: 1px solid var(--border); }
.screen-schedule li:last-child { border-bottom: 0; }
.screen-schedule button { grid-template-columns: 39px minmax(0,1fr) auto; }
.screen-schedule button small { display: block; color: var(--muted); font-size: .68rem; margin: 1px 0 3px; }
.screen-schedule b { font-size: .77rem; }
.screen-schedule button strong,.screen-schedule time { color: #f3c493; }
.screen-schedule time { font-size: .95rem; }
.screen .ratio { background: #444259; height: 4px; }
.screen .ratio i { background: #9893be; }
.screen .ratio.amber i { background: #df9f72; }
.pulse-list li { display: grid; grid-template-columns: 38px minmax(0,1fr) 8px; align-items: start; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.pulse-list li:last-child { border-bottom: 0; }
.pulse-list time { color: #e6b595; font-size: .92rem; }
.pulse-list strong { display: block; font-size: .77rem; }
.pulse-list p { margin-top: 2px; font-size: .66rem; color: #bdb5c8; }
.pulse-list .status-dot { align-self: center; }
.screen-foot-grid { margin-top: 9px; }
.compact-mix { display: grid; gap: 5px; }
.compact-mix > div { display: grid; grid-template-columns: minmax(100px,1fr) 1.25fr 27px; align-items: center; gap: 5px; font-size: .72rem; }
.compact-mix > div b { text-align: right; color: #efc6b2; }
.compact-mix.merchants > div { grid-template-columns: minmax(76px,1fr) 1.2fr 48px; }
.screen table { font-size: .72rem; }
.screen th { background: #292c40; color: #cec6d3; }
.screen td,.screen th { padding: 5px; }
.screen .badge { background: #473845; color: #f3c8a4; min-height: 18px; }
.screen-footer { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; font-size: .69rem; color: #b3a8bc; }

dialog { width: min(534px,calc(100% - 26px)); max-height: min(92dvh,780px); padding: 0; border: 1px solid #d5bfab; border-radius: 10px; background: #fffaf2; color: #2b2632; box-shadow: 0 25px 70px #190e1f62; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #181523a6; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 13px; padding: 16px 19px 14px; background: #282639; color: #fff0e5; }
.dialog-head p { color: #dfb299; font-size: .75rem; }
.dialog-head h2 { font: 770 1.4rem/1.24 var(--serif); margin-top: 3px; overflow-wrap: anywhere; }
.dialog-close { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #766477; border-radius: 5px; background: #362f45; color: #fff0e5; font-size: 1.34rem; line-height: 1; }
.dialog-body { min-height: 0; overflow: auto; padding: 16px 19px 19px; }
.dialog-copy { color: #685b64; margin-bottom: 11px; }
.dialog-photo { aspect-ratio: 2.6; border-radius: 4px; margin-bottom: 11px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 11px; }
.dialog-actions:empty { display: none; }
.detail-form { display: grid; gap: 11px; justify-items: stretch; }
.detail-form .dialog-copy { margin: 2px 0; }
.detail-form > .btn { justify-self: start; }
.form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.form-error { color: #a2322d; font-size: .81rem; }
.form-error:empty { display: none; }
.field-note { font-size: .76rem; color: #776977; }
.fact-list { display: grid; margin-bottom: 12px; }
.fact-list > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.fact-list dt { color: var(--muted); flex: 0 0 auto; font-size: .8rem; }
.fact-list dd { text-align: right; font-size: .87rem; overflow-wrap: anywhere; }
.receipt,.amount { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px; border: 1px solid #ead7c4; border-radius: 4px; background: #f8ecdd; }
.receipt small { display: block; color: #856761; font-size: .7rem; }
.amount strong { font-size: 1.6rem; color: #984737; }
.entitlements { margin: 4px 0 10px; }
.entitlements li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.entitlements li small { display: block; color: var(--muted); font-size: .73rem; margin-top: 2px; }
.entitlements li strong { font-size: .83rem; }
.route-options { display: grid; gap: 7px; }
.route-options label { display: flex; align-items: start; gap: 7px; border: 1px solid var(--border); border-radius: 6px; padding: 8px 11px; cursor: pointer; }
.route-options label:has(input:checked) { background: #f8ecdf; border-color: #d09b82; }
.route-options input { accent-color: #9e4538; margin-top: 4px; }
.route-options div { display: grid; gap: 2px; }
.route-options small,.route-options span { color: var(--muted); }
.route-options span { font-size: .76rem; }
.toast { position: fixed; z-index: 25; bottom: 16px; right: 20px; max-width: min(90vw,430px); padding: 10px 14px; background: #292839; color: #fae6d7; border: 1px solid #846b77; border-left: 3px solid #d8a17a; border-radius: 5px; box-shadow: 0 7px 25px #18122228; transition: opacity .16s,transform .16s; opacity: 0; transform: translateY(6px); pointer-events: none; }
.toast.shown { opacity: 1; transform: none; }
.toast[data-tone="error"] { border-left-color: #d86b62; }

@media (max-width: 1130px) {
  .ops-shell { grid-template-columns: 174px minmax(0,1fr); }
  .ops-main { padding-inline: 17px; }
  .ops-2col { grid-template-columns: minmax(0,1.63fr) minmax(223px,1fr); gap: 10px; }
  .ops-2col .surface { padding-inline: 12px; }
  .screen-board,.screen-foot-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.36fr) minmax(0,.95fr); }
  .screen-panel { padding: 9px; }
  .map-pin > span { gap: 3px; padding: 2px 4px; }
}
@media (min-width: 1131px) and (max-height: 960px) {
  .screen { padding-top: 8px; }
  .screen-head { margin-bottom: 7px; }
  .screen-title h1 { font-size: 2rem; }
  .screen-filter,.screen-kpis { margin-bottom: 7px; }
  .screen .metric { padding-block: 6px; }
  .screen-panel { padding: 8px 10px; }
  .screen-panel .section-head { margin-bottom: 5px; }
  .map-panel .city-map,.map-panel .group-map { min-height: 269px; }
  .trend-chart svg { max-height: 135px; }
  .screen-schedule li { padding-block: 2px 4px; }
  .screen-schedule button { padding-block: 1px; }
  .screen-schedule button small { margin-bottom: 1px; }
  .pulse-list li { padding-block: 4px; }
  .screen-ranks li { padding-block: 0 2px; }
  .screen-ranks button { padding-block: 2px; }
}
@media (max-width: 920px) {
  .content-width { width: min(100% - 36px,1392px); }
  .visitor-nav { gap: 17px; }
  .ops-shell { grid-template-columns: 153px minmax(0,1fr); }
  .ops-rail { padding-inline: 8px; }
  .ops-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ops-2col { grid-template-columns: minmax(0,1fr); }
  .screen-board { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .screen-board .map-panel { grid-column: 1/-1; grid-row: 1; }
  .map-panel .city-map,.map-panel .group-map { min-height: 355px; }
  .screen-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .screen-foot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .screen-foot-grid > :nth-child(2) { grid-row: 2; grid-column: 1/-1; }
  .travel-notice { grid-template-columns: 1fr auto; gap: 2px 11px; }
  .travel-notice span { grid-column: 1/2; grid-row: 2; }
  .travel-notice .btn { grid-column: 2/3; grid-row: 1/3; }
}
@media (max-width: 660px) {
  .content-width { width: calc(100% - 26px); }
  .modebar { padding-inline: 9px; grid-template-columns: auto minmax(0,1fr); gap: 8px; }
  .modebar nav { justify-content: end; }
  .modebar nav a { padding-inline: clamp(7px,2vw,13px); }
  .mode-date { display: none; }
  .case-back { font-size: .69rem; }
  .visitor-nav { display: grid; gap: 4px; padding-top: 8px; }
  .visitor-nav nav { gap: 18px; min-height: 37px; font-size: .82rem; scrollbar-width: thin; }
  .visitor-nav .brand { gap: 8px; }
  .brand-mark { flex-basis: 27px; width: 27px; height: 27px; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 72px 15px; }
  .hero-image { object-position: 67% 54%; }
  .hero-shade { background: linear-gradient(0deg,#121322eb,#171a2b82 69%,#15172d20); }
  .hero-copy h1 { font-size: clamp(3.08rem,14vw,5.6rem); margin-block: 8px; }
  .hero-copy > p:not(.eyebrow) { font-size: .88rem; }
  .hero-actions { margin-top: 15px; }
  .hero-actions .btn { min-height: 36px; padding-inline: 10px; }
  .hero-program { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; padding: 9px 10px; }
  .hero-program > div,.hero-program p { grid-column: 1/-1; }
  .hero-program > button { grid-template-columns: auto minmax(0,1fr) auto; padding-block: 6px; gap: 4px; }
  .hero-program > button strong { font-size: 1.46rem; }
  .hero-program > button span { font-size: .68rem; }
  .night-banner { min-height: 158px; }
  .visit-content { padding-top: 13px; padding-bottom: 31px; }
  .tour-section { margin-top: 23px; }
  .travel-notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; padding: 7px 9px; }
  .travel-notice b { width: 100%; }
  .travel-notice .btn { min-height: 24px; padding-block: 0; }
  .destination-grid,.products-grid,.offer-grid,.venue-grid,.night-flow,.wallet-layout { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .destination-grid .destination img { aspect-ratio: 2.1; }
  .surface { padding: 12px; }
  .programs li { grid-template-columns: 56px minmax(0,1fr) auto; gap: 5px; min-height: 68px; }
  .programs li h3 { font-size: .81rem; }
  .programs li .btn { padding-inline: 6px; font-size: .72rem; }
  .program-time strong { font-size: 1.48rem; }
  .ops-shell { display: block; }
  .ops-rail { padding: 7px 10px; }
  .ops-rail .brand { padding: 1px 0 5px; }
  .ops-rail .brand small { display: none; }
  .ops-rail nav { display: flex; overflow-x: auto; scrollbar-width: thin; gap: 3px; }
  .ops-rail nav a { flex: 0 0 auto; gap: 3px; min-height: 32px; padding: 5px 7px; font-size: .76rem; }
  .rail-footer { display: none; }
  .ops-main { padding: 14px 10px 22px; }
  .ops-head { align-items: start; }
  .ops-head span { font-size: .75rem; }
  .ops-head .btn { min-height: 30px; padding-inline: 7px; font-size: .73rem; }
  .ops-metrics,.ops-metrics.four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .metric { padding: 7px 8px; }
  .ops-main table { min-width: 535px; }
  .ops-main .has-actions :is(td,th):last-child:not([colspan]) { position: sticky; right: 0; z-index: 1; box-shadow: -6px 0 8px -6px #3e213a38; }
  .ops-main .has-actions td:last-child:not([colspan]) { background: var(--surface); }
  .ops-main .filter-bar label:first-child { min-width: 0; width: 100%; }
  .filter-bar small { margin-left: 0; }
  .screen { padding: 8px 8px 7px; }
  .screen-head { grid-template-columns: 1fr auto; gap: 7px; margin-bottom: 8px; }
  .screen-brand { display: none; }
  .screen-title { text-align: left; }
  .screen-title h1 { font-size: clamp(1.22rem,4.7vw,1.56rem); letter-spacing: 0; }
  .screen-title p { font-size: .64rem; }
  .screen-tools { gap: 3px; }
  .screen-tools .btn { padding-inline: 5px; font-size: .66rem; }
  .screen-filter { gap: 5px; }
  .screen-filter .scrubbing { margin-left: 0; width: 100%; gap: 1px; }
  .screen-filter .scrubbing button { flex: 1; justify-content: center; padding-inline: 3px; }
  .screen-filter label,.scope-note { font-size: .66rem; }
  .screen-kpis { gap: 4px; }
  .screen .metric { padding: 7px 5px; }
  .screen .metric > div,.screen .metric p { font-size: .66rem; }
  .screen .metric strong { font-size: clamp(1.25rem,5.45vw,1.75rem); }
  .screen .metric strong small { font-size: .57rem; margin-left: 2px; }
  .screen-board,.screen-foot-grid { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .screen-foot-grid > :nth-child(2) { grid-row: auto; }
  .screen-column { gap: 7px; }
  .map-panel .city-map,.map-panel .group-map { min-height: 246px; }
  .city-map:not(.guest),.group-map { font-size: .68rem; }
  .map-pin > span { font-size: .55rem; }
  .map-pin > span b { display: none; }
  .district-pin > span { min-width: 75px; padding: 4px 6px; }
  .district-pin b { font-size: .63rem; }
  .district-pin strong { font-size: 1.08rem; }
  .dialog-head,.dialog-body { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
