.map-tab { padding-top: 4px; }
.map-controls { display: grid; gap: 8px; margin-bottom: 12px; }
.map-controls input { width: 100%; background: var(--surface); }
.map-controls input::placeholder { color: var(--muted); opacity: 1; font-size: .85rem; }
.map-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-toolbar button { background: var(--surface); }
.map-toolbar [aria-busy="true"] { border-color: var(--accent); }
.map-viewport { position: relative; margin: 0 -16px; height: 60dvh; background: var(--bg); overflow: hidden; }
.map-svg { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; }
.map-svg [role="button"] { cursor: pointer; }
.map-svg [role="button"]:focus-visible { outline: none; }
.map-hall-shape { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-hall[aria-selected="true"] .map-hall-shape, .map-hall:focus-visible .map-hall-shape { stroke: var(--accent); stroke-width: 2; }
.map-hall-label { fill: var(--text); font-weight: 700; pointer-events: none; }
.map-hall-labels { pointer-events: none; }
.map-svg .lens-dot { fill: var(--lens); }
.map-hit { fill: transparent; stroke: none; }
.map-area { opacity: .12; stroke: none; fill: var(--muted); }
.map-area[data-area="A"], .map-area[data-tint="blue-grey"] { fill: color-mix(in srgb, var(--muted) 75%, var(--lens-a)); }
.map-area[data-area="B"], .map-area[data-tint="teal"] { fill: color-mix(in srgb, var(--ok) 60%, var(--lens-a)); }
.map-area[data-area="C"], .map-area[data-tint="sand"] { fill: var(--lens-b); }
.map-area[data-area="D"], .map-area[data-tint="plum"] { fill: var(--lens-c); }
.map-river { fill: var(--lens-a); fill-opacity: .12; pointer-events: none; }
.map-road { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-road-label { fill: var(--muted); font-size: calc(8px * var(--map-unit)); letter-spacing: .02em; pointer-events: none; }
.map-link { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.map-poi-symbol { fill: var(--surface); stroke: var(--muted); stroke-width: 1; pointer-events: none; }
.map-poi-symbol path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-poi-glyph { fill: var(--text); stroke: none; font-size: 7px; font-weight: 700; }
.map-poi[data-poi-type="toilet"] .map-poi-glyph { font-size: 5px; }
.map-poi[data-poi-type="gate"] .map-poi-symbol, .map-exit-glyph { stroke: var(--text); }
.map-poi:focus-visible .map-poi-symbol { stroke: var(--accent); stroke-width: 2; }
.map-pin-drop { fill: var(--accent); }
.map-pin-ring { fill: var(--surface); stroke: var(--lens); stroke-width: 2; }
.map-pin:focus-visible .map-pin-drop { stroke: var(--text); stroke-width: 2; }
.map-north { fill: var(--text); pointer-events: none; }
.map-north circle { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.map-north text { font-size: 8px; font-weight: 700; }
.map-location { fill: var(--accent); stroke: var(--surface); stroke-width: 2; pointer-events: none; }
.map-location circle:first-child { fill-opacity: .18; stroke: var(--accent); stroke-width: 1; }
.map-hint { font-size: .75rem; text-align: center; margin: 8px 0 0; }
.map-search-results { min-height: 320px; padding-bottom: 16px; }
.map-search-row { display: block; width: 100%; text-align: left; background: var(--surface); padding: 12px; margin-bottom: 8px; overflow-wrap: anywhere; }
.map-search-row .muted { font-size: .8rem; }
.map-sheet { padding-top: 4px; }
.map-sheet h4 { font-size: 1rem; margin: 12px 0 4px; }
.map-sheet p { white-space: pre-line; }
.map-lenses { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.map-lenses .chip { margin: 0; }
.map-sheet-section { padding: 16px 0; border-top: 1px solid var(--line); }
.map-sheet-section > h3 { margin: 0 0 12px; }
.map-highlight-card + .map-highlight-card { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.map-highlight-card .chip { margin-left: 0; }
.map-facilities { display: grid; gap: 8px; }
.map-facilities button { text-align: left; padding: 12px; }
.map-sheet-actions { display: grid; gap: 8px; margin-top: 16px; }
.map-sheet-actions button { width: 100%; min-height: 48px; }
.map-sheet-actions button:first-child { border-color: var(--accent); }
.map-full-button { width: 100%; margin-top: 16px; }
.map-chinese { font-size: 1.2rem; }
