    :root {
      color-scheme: light;
      --ink: #17211f;
      --muted: #667169;
      --paper: #f5f1e8;
      --panel: #fffdf8;
      --line: #dfe3da;
      --line-strong: #b8d0be;
      --green: #2f6b4f;
      --green-deep: #21483d;
      --green-soft: #e3eee8;
      --amber: #c9a45c;
      --amber-soft: #f5eddc;
      --shadow: 0 18px 45px rgba(31, 48, 40, .10), 0 2px 8px rgba(31, 48, 40, .05);
      --radius: 10px;
      /* Semantic layer: components read these instead of hard-coded light values,
         so [data-theme="dark"] can flip the whole page without re-deriving colors. */
      --surface: rgba(255, 253, 248, .94);
      --surface-strong: rgba(255, 253, 248, .97);
      --surface-2: #f4f8f3;
      --field: #fff;
      --map-bg: #fff;
      --heading: var(--green-deep);
      --brand: var(--green-deep);
      --brand-ink: #fff;
      --backdrop: rgba(23, 33, 31, .72);
      --chip-ink: #80642d;
      --on-green: #fff;
      --danger: #a64d3f;
      --danger-line: #e5c4b8;
    }
    [data-theme="dark"] {
      color-scheme: dark;
      --ink: #e6ece8;
      --muted: #9aa8a1;
      --paper: #121a18;
      --panel: #1b2623;
      --line: #2f413b;
      --line-strong: #3f5a4f;
      --green: #74c299;
      --green-deep: #1a2b25;
      --green-soft: #23342e;
      --amber: #d9b871;
      --amber-soft: #2f2a1e;
      --shadow: 0 18px 45px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .30);
      --surface: rgba(27, 38, 35, .94);
      --surface-strong: rgba(27, 38, 35, .97);
      --surface-2: #213029;
      --field: #16211e;
      --map-bg: #1d2725;
      --heading: #cfe6d8;
      --brand: #0f1715;
      --brand-ink: #e6ece8;
      --backdrop: rgba(6, 12, 11, .82);
      --chip-ink: #e7c98d;
      --on-green: #10201a;
      --danger: #e2988a;
      --danger-line: #7d4b3d;
    }
    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      color: var(--ink);
      background: linear-gradient(180deg, var(--paper) 0%, var(--panel) 46%, var(--paper) 100%);
      font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    }
    button, input, select { font: inherit; }
    .skip-link { position: absolute; z-index: 1200; top: -60px; left: 16px; padding: 10px 14px; color: var(--heading); background: var(--surface-strong); border: 1px solid var(--line-strong); border-radius: 8px; transition: top .16s ease; }
    .skip-link:focus { top: 12px; }
    .app-shell { min-height: 100dvh; display: flex; flex-direction: column; }
    .topbar {
      position: relative; z-index: 20; flex: 0 0 70px;
      display: flex; align-items: center; justify-content: space-between; gap: 22px;
      min-height: 0; padding: 12px clamp(18px, 4vw, 58px);
      color: #f7fbf7; background: rgba(47,107,79,.96); border-bottom: 1px solid rgba(255,255,255,.14);
      backdrop-filter: blur(14px);
    }
    [data-theme="dark"] .topbar { color: var(--ink); background: #16241f; border-bottom-color: var(--line); }
    .brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
    .brand img { width: 150px; max-width: 42vw; height: auto; object-fit: contain; }
    .brand-divider { width: 1px; height: 30px; background: rgba(255,255,255,.30); }
    .brand-copy { display: grid; gap: 2px; }
    .brand-copy strong { font-size: 16px; letter-spacing: .05em; }
    .brand-copy span { color: rgba(247,251,247,.72); font-size: 12px; letter-spacing: .10em; }
    .topbar-meta { display: flex; align-items: center; gap: 12px; color: rgba(247,251,247,.78); font-size: 12px; white-space: nowrap; }
    .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #e7b45b; box-shadow: 0 0 0 4px rgba(231,180,91,.15); }
    .topbar-btn { min-height: 34px; padding: 4px 12px; color: #f7fbf7; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; cursor: pointer; font-size: 12px; }
    .topbar-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; }
    .topbar-btn[aria-pressed="true"] { color: #16241f; background: var(--amber); border-color: var(--amber); }
    [data-theme="dark"] .topbar-btn { color: var(--ink); border-color: var(--line-strong); }
    [data-theme="dark"] .topbar-btn:hover { background: var(--surface-2); }
    [data-theme="dark"] .brand-copy span, [data-theme="dark"] .topbar-meta { color: var(--muted); }
    .admin-entry { color: rgba(247,251,247,.64); background: transparent; border: 0; border-bottom: 1px solid rgba(247,251,247,.35); padding: 2px 0; cursor: pointer; font-size: 11px; }
    .admin-entry:hover { color: #fff; border-bottom-color: #fff; }

    .page { width: min(1600px, 100%); min-height: 0; flex: 1; display: flex; flex-direction: column; margin: 0 auto; padding: 20px clamp(16px, 4vw, 58px) 12px; }
    .workspace { display: grid; grid-template-columns: 244px minmax(0, 1fr) 286px; gap: 14px; flex: 1; min-height: 0; align-items: stretch; }
    .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
    .panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .panel-head h2 { margin: 0; font-size: 14px; letter-spacing: .04em; }
    .panel-head span { color: var(--muted); font-size: 11px; }

    .directory { min-height: 0; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
    .zone-list { display: grid; gap: 3px; padding: 8px; overflow: auto; flex: 1; min-height: 0; }
    .directory-empty, .detail-empty { margin: 16px; color: var(--muted); font-size: 12px; line-height: 1.65; }
    .zone-button { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; padding: 7px 8px; color: var(--ink); text-align: left; background: transparent; border: 0; border-radius: 6px; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
    .zone-button:hover { background: var(--green-soft); transform: translateX(2px); }
    .zone-button:focus-visible { outline: 3px solid rgba(214,154,69,.55); outline-offset: 2px; }
    .zone-button[aria-current="true"] { color: var(--green); background: var(--green-soft); }
    .zone-index { display: grid; place-items: center; width: 26px; height: 26px; color: var(--green); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; font-weight: 700; }
    .zone-button[aria-current="true"] .zone-index { color: var(--on-green); background: var(--green); border-color: var(--green); }
    .zone-name { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
    .directory-note { margin: 6px 16px 12px; padding-top: 9px; color: var(--muted); border-top: 1px dashed var(--line); font-size: 10px; line-height: 1.5; }

    .map-card { position: relative; min-height: 0; height: 100%; padding: 10px; overflow: hidden; background: var(--map-bg); }
    .map-toolbar { position: absolute; top: 18px; left: 18px; z-index: 520; display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--green); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(26,44,35,.12); font-size: 11px; pointer-events: none; }
    .map-toolbar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
    .map-controls { position: absolute; top: 18px; right: 18px; z-index: 520; display: grid; gap: 8px; }
    .map-control-btn { min-width: 38px; min-height: 38px; padding: 0 10px; color: var(--heading); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(26,44,35,.12); cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1; }
    .map-control-btn:hover, .map-control-btn:focus-visible { background: var(--field); outline: 3px solid rgba(214,154,69,.55); outline-offset: 2px; }
    .map-control-btn.secondary { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
    .map-viewport { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; border-radius: 5px; background: var(--map-bg); }
    .map-canvas { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--map-bg); }
    .map-canvas.admin-pick-mode { cursor: crosshair; touch-action: none; }
    .leaflet-container { width: 100%; height: 100%; background: var(--map-bg); font: inherit; }
    .leaflet-container a { color: var(--green); }
    .leaflet-control-attribution, .leaflet-control-zoom { display: none !important; }
    .map-marker { position: relative; display: flex; align-items: center; gap: 5px; padding: 3px 5px 3px 3px; color: var(--green); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: 0 2px 9px rgba(24,50,39,.14); cursor: pointer; transform: translate(-50%, -50%); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
    .map-marker:hover { background: var(--field); transform: translate(-50%, -50%) scale(1.04); }
    .map-marker:focus-visible { outline: 3px solid rgba(214,154,69,.7); outline-offset: 3px; }
    .map-marker[aria-current="true"] { color: var(--on-green); background: var(--green); border-color: var(--green); box-shadow: 0 7px 20px rgba(47,107,79,.35); transform: translate(-50%, -50%) scale(1.06); }
    .marker-pin { display: grid; place-items: center; width: 17px; height: 17px; color: var(--green); background: var(--surface); border: 1px solid currentColor; border-radius: 50%; }
    .map-marker[aria-current="true"] .marker-pin { color: var(--brand-ink); background: var(--brand); }
    .map-marker[data-location="true"] { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(201,164,92,.18), 0 5px 14px rgba(24,50,39,.16); }
    .map-marker[data-location="true"]::after { content: "当前"; position: absolute; top: -18px; left: 50%; padding: 2px 5px; color: var(--chip-ink); background: var(--amber-soft); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 9px; transform: translateX(-50%); }
    .marker-pin b { font-size: 9px; line-height: 1; }
    .marker-label { max-width: 0; overflow: hidden; font-size: 10px; font-weight: 750; opacity: 0; white-space: nowrap; transition: max-width .2s ease, opacity .2s ease; }
    .map-marker:hover .marker-label, .map-marker[aria-current="true"] .marker-label, .map-marker.is-draft .marker-label { max-width: 120px; opacity: 1; }
    .map-marker.is-draft { border-style: dashed; }
    .admin-pick-pin { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7df, #d69a45 58%, #8f6a28); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(214,154,69,.28), 0 8px 18px rgba(24,50,39,.22); }
    .map-legend { position: absolute; right: 18px; bottom: 18px; z-index: 520; display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }
    .legend-key { display: inline-flex; align-items: center; gap: 5px; }
    .legend-key::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
    .legend-key.active::before { background: var(--green); }
    .map-hint { position: absolute; left: 50%; top: 18px; z-index: 520; transform: translateX(-50%); padding: 7px 10px; color: var(--heading); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px rgba(26,44,35,.12); font-size: 10px; pointer-events: none; }
    .map-hint[hidden] { display: none !important; }

    .detail { min-height: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
    .detail-body { display: flex; flex: 1; flex-direction: column; padding: 18px 18px 16px; overflow: auto; }
    .detail-number { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
    .detail h3 { margin: 9px 0 8px; color: var(--green); font-size: 25px; line-height: 1.2; }
    .detail-lead { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
    .activity-block { margin: 18px 0 2px; padding: 14px 0 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .activity-kicker { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: 10px; letter-spacing: .13em; }
    .activity-kicker strong { color: var(--green); font-size: 11px; letter-spacing: .04em; }
    .activity-stage { position: relative; height: 104px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 6px; }
    .scene-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--green-soft); }
    .scene-image { display: block; width: 100%; height: 100%; object-fit: cover; }
    .scene-badge { position: absolute; top: 8px; left: 8px; padding: 4px 7px; color: var(--brand-ink); background: var(--brand); border-radius: 999px; font-size: 9px; letter-spacing: .04em; }
    .scene-placeholder { display: grid; place-items: center; height: 100%; color: var(--green); background: var(--surface-2); font-size: 10px; letter-spacing: .08em; }
    .scene-placeholder::before { content: "现场照片待上传"; }
    .detail-meta { display: grid; gap: 10px; margin: 16px 0 0; }
    .detail-meta div { display: grid; gap: 4px; }
    .detail-meta dt { color: var(--muted); font-size: 11px; }
    .detail-meta dd { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.5; }

    .footer { display: flex; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 4vw, 58px) 16px; color: var(--muted); font-size: 11px; }

    body.admin-open { overflow: hidden; }
    body.admin-editing .app-shell { padding-right: min(430px, 42vw); }
    body.admin-editing .detail { display: none; }
    body.admin-editing .workspace { grid-template-columns: 244px minmax(0, 1fr); }
    body.admin-editing .map-legend { pointer-events: none; }
    body.admin-editing .map-card { z-index: 2; }

    .admin-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start center; padding: clamp(18px, 5vh, 48px) 18px; overflow: auto; background: linear-gradient(135deg, var(--backdrop), rgba(33,72,61,.48)); backdrop-filter: blur(10px); }
    .admin-overlay[hidden] { display: none; }
    .admin-overlay.is-editor { inset: 0 0 0 auto; left: auto; right: 0; width: min(430px, 42vw); padding: 0; overflow: hidden; place-items: stretch; pointer-events: none; background: transparent; backdrop-filter: none; }
    .admin-overlay.is-editor .admin-card { pointer-events: auto; width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; border-left: 1px solid var(--line); }
    .admin-card { width: min(980px, 100%); max-height: min(800px, calc(100dvh - 36px)); overflow: hidden; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 90px rgba(12,28,20,.34); }
    .admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; color: #fff; background: var(--brand); flex-shrink: 0; }
    .admin-card-head h2 { margin: 0; font-size: 17px; letter-spacing: .02em; }
    .admin-head-copy { display: grid; gap: 4px; }
    .admin-head-copy span { color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .14em; }
    .admin-head-meta { display: flex; align-items: center; gap: 14px; }
    .admin-head-status { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.74); font-size: 11px; }
    .admin-head-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e7b45b; box-shadow: 0 0 0 4px rgba(231,180,91,.14); }
    .admin-close { display: grid; place-items: center; width: 32px; height: 32px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
    .admin-body { min-height: 0; overflow: auto; padding: clamp(20px, 4vw, 32px); }
    .admin-overlay.is-editor .admin-body { height: calc(100dvh - 68px); max-height: none; padding: 18px 18px 24px; }
    .admin-gate { max-width: 390px; margin: 10px auto 18px; text-align: center; }
    .admin-gate-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 15px; color: var(--green); background: var(--green-soft); border: 1px solid var(--line-strong); border-radius: 15px; font-size: 22px; font-weight: 800; }
    .admin-gate h3 { margin: 0 0 8px; color: var(--heading); font-size: 22px; letter-spacing: -.02em; }
    .admin-gate p { margin: 0 auto 20px; max-width: 340px; color: var(--muted); font-size: 13px; line-height: 1.65; }
    .admin-field { display: grid; gap: 6px; margin-bottom: 14px; }
    .admin-field label { color: var(--heading); font-size: 12px; font-weight: 700; }
    .admin-field input:not([type="checkbox"]), .admin-field select { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: var(--field); border: 1px solid var(--line-strong); border-radius: 7px; outline: none; }
    .admin-field input:not([type="checkbox"]):focus, .admin-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,107,79,.14); }
    .admin-field small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
    .password-wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
    .password-toggle { min-height: 42px; padding: 0 12px; color: var(--green); background: var(--green-soft); border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; }
    .admin-primary { width: 100%; min-height: 42px; color: var(--on-green); background: var(--green); border: 0; border-radius: 7px; cursor: pointer; font-weight: 700; }
    .admin-error { min-height: 18px; margin-top: 10px; color: var(--danger); font-size: 11px; }
    .admin-error[data-state="success"] { color: var(--green); }
    .admin-editor-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .admin-editor-intro h3 { margin: 0 0 5px; color: var(--heading); font-size: 18px; }
    .admin-editor-intro p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
    .admin-scene-summary { flex: 0 0 auto; padding: 7px 9px; color: var(--green); background: var(--green-soft); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 10px; white-space: nowrap; }
    .admin-position { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 8px 10px; color: var(--heading); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 7px; }
    .admin-position-readout { min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
    .admin-position-readout strong { display: block; overflow: hidden; color: var(--green); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .admin-position-current { flex: 0 0 auto; padding: 6px 8px; color: var(--green); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: 10px; }
    .admin-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; }
    .admin-preview img { width: 90px; height: 62px; object-fit: cover; border-radius: 4px; background: var(--green-soft); }
    .admin-preview span { color: var(--muted); font-size: 11px; line-height: 1.5; }
    .admin-scene-clear { padding: 5px 8px; color: var(--danger); background: transparent; border: 1px solid var(--danger-line); border-radius: 999px; cursor: pointer; font-size: 10px; }
    .admin-actions { display: flex; flex-wrap: wrap; gap: 9px; }
    .admin-actions button { min-height: 38px; padding: 0 16px; border-radius: 6px; cursor: pointer; }
    .admin-save { color: var(--on-green); background: var(--green); border: 1px solid var(--green); }
    .admin-logout, .admin-config-btn { color: var(--green); background: transparent; border: 1px solid var(--line-strong); }
    .admin-hint { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }
    .admin-new { width: 100%; min-height: 38px; margin-bottom: 14px; color: var(--green); background: var(--green-soft); border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; font-weight: 700; }
    .admin-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
    .admin-list-head h4 { margin: 0; color: var(--heading); font-size: 12px; letter-spacing: .04em; }
    .admin-list-tools { display: flex; align-items: center; gap: 8px; }
    .admin-select-all { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; cursor: pointer; }
    .admin-batch-delete, .admin-zone-delete { min-height: 30px; padding: 0 10px; color: var(--danger); background: transparent; border: 1px solid var(--danger-line); border-radius: 999px; cursor: pointer; font-size: 10px; }
    .admin-batch-delete:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; }
    .admin-zone-list { display: grid; gap: 4px; max-height: min(280px, 32vh); overflow: auto; margin-bottom: 16px; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; }
    .admin-zone-empty { padding: 18px 8px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
    .admin-zone-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; }
    .admin-zone-row[aria-current="true"] { background: var(--green-soft); }
    .admin-zone-pick { min-width: 0; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; }
    .admin-zone-pick strong { display: block; overflow: hidden; color: var(--heading); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .admin-zone-pick span { color: var(--muted); font-size: 10px; }
    .admin-config-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
    .config-banner { margin: 0 0 14px; padding: 10px 12px; color: var(--heading); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 11px; line-height: 1.55; }
    .config-banner strong { display: block; margin-bottom: 2px; }

    @media (max-width: 1180px) {
      .workspace { grid-template-columns: 220px minmax(0, 1fr); }
      .detail { grid-column: 1 / -1; min-height: auto; }
    }
    @media (max-width: 760px) {
      body { overflow: auto; }
      .app-shell { height: auto; min-height: 100dvh; }
      body.admin-editing .app-shell { padding-right: 0; padding-bottom: 46dvh; }
      body.admin-editing .workspace { display: flex; }
      .topbar { min-height: 66px; padding: 12px 16px; }
      .brand img { width: 122px; }
      .brand-divider, .brand-copy span, .topbar-meta span:not(.status-dot) { display: none; }
      .brand-copy strong { font-size: 14px; }
      .page { padding: 16px 12px 24px; }
      .workspace { display: flex; flex-direction: column; }
      .directory { min-height: auto; }
      .zone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .directory-note { display: none; }
      .map-card { min-height: 470px; padding: 7px; }
      .map-viewport { min-height: 456px; }
      .marker-label { display: none; }
      .map-legend { right: 14px; bottom: 14px; }
      .map-hint { top: 10px; }
      .detail { min-height: auto; }
      .footer { flex-direction: column; gap: 8px; }
      .admin-overlay { padding: 0; align-items: stretch; }
      .admin-card { min-height: 100dvh; max-height: none; width: 100%; border: 0; border-radius: 0; }
      .admin-overlay.is-editor { inset: auto 0 0 0; width: 100%; height: auto; max-height: 46dvh; pointer-events: none; background: transparent; }
      .admin-overlay.is-editor .admin-card { min-height: 0; max-height: 46dvh; height: auto; border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; align-self: end; }
      .admin-overlay.is-editor .admin-body { height: calc(46dvh - 60px); max-height: none; }
      .admin-editor-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
      .admin-config-row, .admin-actions { grid-template-columns: 1fr; display: grid; }
      .admin-actions button { width: 100%; }
      .admin-position { align-items: flex-start; flex-direction: column; }
      .admin-entry { min-height: 44px; }
      .topbar-btn { min-height: 40px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }
