:root {
  --ink: #071411;
  --ink-soft: #0d1e1a;
  --surface: #10231e;
  --surface-2: #142d26;
  --surface-3: #19382e;
  --paper: #f3f0e7;
  --paper-soft: #d9dfce;
  --muted: #9caf9e;
  --muted-2: #688275;
  --lime: #d6ef8d;
  --lime-deep: #9ec65f;
  --amber: #f6b866;
  --coral: #ff806e;
  --line: rgba(217, 239, 207, 0.13);
  --line-strong: rgba(217, 239, 207, 0.26);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --topbar-height: 128px;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 3%, rgba(214, 239, 141, 0.13), transparent 28rem),
    radial-gradient(circle at 12% 68%, rgba(246, 184, 102, 0.08), transparent 25rem),
    linear-gradient(135deg, #071411 0%, #0a1915 48%, #10251e 100%);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }

button { cursor: pointer; }

button:focus-visible, input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.app-shell { min-height: 100vh; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px clamp(22px, 4vw, 68px) 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 17, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
  box-shadow: 0 10px 26px rgba(2, 8, 6, 0.18);
  isolation: isolate;
}

.brand-lockup h1 {
  margin: 8px 0 2px;
  letter-spacing: -0.07em;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 0.98;
  font-weight: 700;
}

.brand-lockup p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-stamp, .eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-stamp { display: flex; align-items: center; gap: 8px; }
.brand-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(214, 239, 141, 0.9); }

.view-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(16, 35, 30, 0.72); }
.view-tab { min-width: 86px; padding: 10px 15px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.view-tab span { margin-left: 5px; color: var(--muted-2); font-size: 10px; font-weight: 500; }
.nav-progress { display: inline-flex; align-items: center; gap: 4px; }
.nav-progress::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: beacon-pulse 1.8s ease-in-out infinite; }
.view-tab:hover { color: var(--paper); }
.view-tab.is-active { color: var(--ink); background: var(--lime); }
.view-tab.is-active span { color: var(--ink-soft); }
.view-tab.is-complete .nav-progress::before { animation: status-pop 700ms ease-out both; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }

.storage-state {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.storage-state .status-dot { width: 6px; height: 6px; margin-right: 7px; background: var(--lime-deep); box-shadow: none; }

.button {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 8px 24px rgba(214, 239, 141, 0.17); }
.button-primary:hover { background: #e8f8ad; box-shadow: 0 11px 32px rgba(214, 239, 141, 0.3); }
.button-quiet { color: var(--paper-soft); background: var(--surface-3); border: 1px solid var(--line); }
.button-quiet:hover { color: var(--paper); background: #21483a; }
.button-arrow { font-size: 17px; line-height: 0; margin-left: 5px; }

.workspace {
  width: min(1540px, 100%);
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  margin: 0 auto;
}

.app-view.is-hidden { display: none; }
.workspace.is-inspect { grid-template-columns: minmax(0, 1fr); }
.workspace.is-inspect .side-panel { display: none; }
.workspace.is-settings { display: block; }
.workspace.is-settings .content-panel { display: none; }
.workspace.is-settings .side-panel { width: min(720px, 100%); min-height: calc(100vh - var(--topbar-height)); margin: 0 auto; padding-right: clamp(22px, 4vw, 68px); border-right: 0; }

.side-panel {
  min-height: calc(100vh - 128px);
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 30px 24px 24px clamp(22px, 4vw, 68px);
  border-right: 1px solid var(--line);
}

.page-heading { padding-bottom: 25px; }
.page-heading h2 { margin: 12px 0 7px; color: var(--paper); font-size: 28px; letter-spacing: -0.07em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.panel-block { padding: 0 0 29px; border-bottom: 1px solid var(--line); }
.panel-block + .panel-block { padding-top: 27px; }
.source-panel, .backup-panel { border-bottom: 0; }
.source-panel { padding-bottom: 23px; }
.backup-panel { padding-top: 0 !important; }
.data-summary { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; color: var(--paper-soft); font-size: 12px; cursor: pointer; list-style: none; }
.data-summary::-webkit-details-marker { display: none; }
.data-summary span:last-child { color: var(--muted-2); font-size: 18px; line-height: 1; transition: transform 160ms ease; }
.backup-panel[open] .data-summary span:last-child { transform: rotate(180deg); }

.roster-select { width: 100%; height: 40px; margin-top: 14px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--paper); background: var(--surface); font-size: 13px; }
.roster-select:focus { border-color: var(--lime-deep); outline: none; box-shadow: 0 0 0 3px rgba(214, 239, 141, 0.12); }
.roster-hint { margin-top: 9px; color: var(--muted); font-size: 10px; line-height: 1.5; word-break: break-all; }
.roster-import { width: 100%; min-height: 35px; margin-top: 13px; padding-inline: 10px; font-size: 11px; }

.date-input-wrap {
  position: relative;
  display: block;
  margin-top: 16px;
  padding: 14px 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--paper);
  background: rgba(16, 35, 30, 0.76);
  overflow: hidden;
}

.date-input-wrap span:first-child { display: block; font-size: 21px; letter-spacing: -0.05em; font-weight: 700; }
.date-input-wrap input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.calendar-glyph { position: absolute; right: 13px; top: 15px; color: var(--amber); font-size: 19px; }

.date-pills { display: flex; gap: 7px; margin-top: 13px; overflow-x: auto; padding: 2px 0 5px; scrollbar-width: thin; }
.date-pill { min-width: 45px; padding: 8px 5px 7px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; text-align: center; }
.date-pill:hover { color: var(--paper); border-color: var(--line-strong); }
.date-pill.is-active { color: var(--ink); background: var(--lime); }
.date-pill strong, .date-pill span { display: block; }
.date-pill strong { font-size: 15px; line-height: 1; }
.date-pill span { margin-top: 5px; font-size: 9px; letter-spacing: 0.08em; }
.date-pill small { display: block; margin-top: 4px; font-size: 9px; opacity: 0.66; }

.location-input { width: 100%; height: 40px; margin-top: 14px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--paper); background: var(--surface); font-size: 13px; }
.location-input::placeholder { color: var(--muted-2); }
.location-input:focus { border-color: var(--lime-deep); outline: none; box-shadow: 0 0 0 3px rgba(214, 239, 141, 0.12); }
.location-hint { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.source-line { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--paper-soft); font-size: 12px; }
.source-line strong { color: var(--paper); font-size: 16px; }
.source-rule { display: block; width: 10px; height: 26px; border-radius: 3px; }
.source-rule-lime { background: var(--lime); }
.source-rule-amber { background: var(--amber); }
.source-note { margin: 19px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.backup-panel h2 { margin: 12px 0 8px; color: var(--paper); font-size: 17px; letter-spacing: -0.04em; }
.backup-panel p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.backup-actions { display: flex; gap: 8px; margin-top: 16px; }
.backup-actions .button { min-height: 35px; padding: 0 11px; font-size: 11px; }
.side-footer { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 22px; color: var(--muted-2); font-size: 10px; line-height: 1.55; }
.side-footer-mark { color: var(--amber); font-size: 10px; font-weight: 700; }

.content-panel { min-width: 0; padding: 28px clamp(22px, 4vw, 68px) 76px 42px; }
.hero-row { display: flex; align-items: center; gap: 38px; padding-bottom: 22px; }
.inspection-meta { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(16, 35, 30, 0.72); font-size: 11px; }
.inspection-beacon { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(214, 239, 141, 0.85); animation: beacon-pulse 1.8s ease-in-out infinite; }
.inspection-divider { width: 1px; height: 13px; background: var(--line-strong); }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--line); }
.stat-card { min-height: 105px; padding: 17px 18px; background: rgba(16, 35, 30, 0.68); }
.stat-card:first-child { background: rgba(214, 239, 141, 0.12); }
.stat-label { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }
.stat-value { margin-top: 14px; color: var(--paper); font-size: 31px; line-height: 1; letter-spacing: -0.08em; font-weight: 700; }
.stat-card:first-child .stat-value { color: var(--lime); }
.stat-foot { margin-top: 7px; color: var(--muted-2); font-size: 10px; }

.control-strip { position: sticky; z-index: 12; top: var(--topbar-height); display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); background: rgba(7, 20, 17, 0.96); -webkit-backdrop-filter: blur(20px) saturate(125%); backdrop-filter: blur(20px) saturate(125%); box-shadow: 0 12px 24px rgba(2, 8, 6, 0.2); isolation: isolate; }
.filter-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.filter-tab { border: 0; border-radius: 999px; padding: 9px 13px; color: var(--muted); background: transparent; font-size: 11px; }
.filter-tab span { margin-left: 3px; color: var(--muted-2); }
.filter-tab:hover { color: var(--paper); }
.filter-tab.is-active { color: var(--ink); background: var(--paper); }
.filter-tab.is-active span { color: var(--ink-soft); }
.search-wrap { position: relative; flex: 1; min-width: 135px; }
.search-icon { position: absolute; left: 13px; top: 8px; color: var(--lime); font-size: 19px; }
.search-wrap input { width: 100%; height: 38px; padding: 0 14px 0 35px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); background: var(--surface); font-size: 12px; }
.search-wrap input::placeholder { color: var(--muted-2); }
.search-wrap input:focus { border-color: var(--lime-deep); outline: none; box-shadow: 0 0 0 3px rgba(214, 239, 141, 0.12); }
.only-open { display: flex; align-items: center; gap: 7px; flex: none; color: var(--muted); font-size: 11px; white-space: nowrap; }
.only-open input { width: 15px; height: 15px; accent-color: var(--lime); }

.notice-banner { display: flex; align-items: center; min-height: 42px; margin-bottom: 22px; padding: 10px 14px; border-left: 3px solid var(--amber); color: var(--paper-soft); background: rgba(246, 184, 102, 0.08); font-size: 12px; }
.notice-banner::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 9px; border-radius: 50%; color: var(--ink); background: var(--amber); font-size: 11px; font-weight: 800; }
.notice-banner-pending::before { animation: beacon-pulse 1.8s ease-in-out infinite; }
.notice-banner-complete { border-left-color: var(--lime); background: rgba(214, 239, 141, 0.08); }
.notice-banner-complete::before { content: "✓"; background: var(--lime); }

.parking-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.parking-row { position: relative; display: grid; grid-template-columns: 91px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 84px; padding: 12px 13px 12px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16, 35, 30, 0.74); transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.parking-row:hover { transform: translateY(-1px); border-color: var(--line-strong); background: rgba(25, 56, 46, 0.84); }
.parking-row.is-ok { border-color: rgba(214, 239, 141, 0.32); }
.parking-row.is-issue { border-color: rgba(255, 128, 110, 0.5); background: rgba(255, 128, 110, 0.065); }
.parking-row.is-pending { box-shadow: inset 3px 0 0 rgba(246, 184, 102, 0.6); }
.slot-block { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-right: 13px; border-right: 1px solid var(--line); }
.slot-number { color: var(--paper); font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -0.07em; }
.slot-type { display: inline-flex; width: fit-content; margin-top: 8px; padding: 3px 6px; border-radius: 5px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; }
.slot-type.temporary { background: var(--amber); }
.row-main { min-width: 0; }
.row-headline { display: flex; align-items: center; gap: 7px; min-width: 0; }
.plate { min-width: 0; overflow: hidden; color: var(--paper); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.plate.missing { color: var(--muted-2); font-size: 12px; font-weight: 500; }
.owner { color: var(--muted); font-size: 10px; white-space: nowrap; }
.row-meta { display: flex; gap: 10px; margin-top: 8px; color: var(--muted-2); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-meta span { overflow: hidden; text-overflow: ellipsis; }
.row-meta span + span::before { content: "·"; margin-right: 10px; color: var(--muted-2); }
.row-note { margin-top: 6px; color: var(--amber); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.status-button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: transparent; font-size: 17px; font-weight: 700; transition: transform 150ms ease, color 150ms ease, background 150ms ease, border-color 150ms ease; }
.status-button:hover { transform: scale(1.06); color: var(--paper); border-color: var(--line-strong); }
.status-button.ok.is-active { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.status-button.issue.is-active { color: var(--paper); border-color: var(--coral); background: var(--coral); }
.photo-button { position: relative; width: 35px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--amber); background: transparent; font-size: 16px; }
.photo-button:hover { border-color: var(--amber); background: rgba(246, 184, 102, 0.12); }
.photo-count { position: absolute; top: -7px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; color: var(--ink); background: var(--amber); font-size: 9px; line-height: 16px; font-weight: 800; }
.photo-thumb { width: 33px; height: 33px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(246, 184, 102, 0.7); cursor: zoom-in; }
.empty-state { grid-column: 1 / -1; padding: 42px 20px; border: 1px dashed var(--line-strong); border-radius: 15px; color: var(--muted); text-align: center; font-size: 12px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 8, 6, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal-backdrop.is-open { display: flex; animation: modal-in 180ms ease-out both; }
.modal-card, .photo-modal-card, .camera-modal-card { position: relative; width: min(560px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow: auto; padding: 30px; border: 1px solid var(--line-strong); border-radius: 22px; background: #10231e; box-shadow: var(--shadow); }
.photo-modal-card { width: min(760px, 100%); }
.camera-modal-card { width: min(540px, 100%); }
.modal-close { position: absolute; right: 17px; top: 14px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 20px; }
.modal-close:hover { color: var(--paper); border-color: var(--line-strong); }
.modal-card h2, .photo-modal-card h2, .camera-modal-card h2 { margin: 12px 0 8px; font-size: 28px; letter-spacing: -0.07em; }
.modal-lede { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.modal-hint { margin: 13px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.55; }
.modal-hint.is-error { color: var(--coral); }
.export-open-list { max-height: 220px; margin-top: 18px; overflow: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.export-open-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--paper-soft); font-size: 12px; }
.export-open-item:last-child { border-bottom: 0; }
.export-open-item span:last-child { color: var(--amber); font-size: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.photo-viewer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.photo-viewer figure { margin: 0; }
.photo-viewer img { width: 100%; height: 240px; display: block; object-fit: contain; border-radius: 12px; background: #06100d; }
.photo-viewer figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; word-break: break-all; }
.photo-remove { margin-left: 6px; padding: 0; border: 0; color: var(--coral); background: transparent; font-size: 10px; }
.photo-remove:hover { text-decoration: underline; }
.camera-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; margin-top: 17px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: #06100d; }
.camera-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.camera-frame-label { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 7px 9px; border-radius: 7px; color: rgba(243, 240, 231, 0.78); background: rgba(7, 20, 17, 0.62); font-size: 10px; letter-spacing: 0.05em; pointer-events: none; }
.camera-status { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.camera-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 15px; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 48px)); padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--paper); background: #17352b; box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes beacon-pulse { 0%, 100% { opacity: 0.55; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1.16); } }
@keyframes status-pop { 0% { transform: scale(0.6); opacity: 0.4; } 55% { transform: scale(1.45); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

@media (max-width: 1060px) {
  .workspace { grid-template-columns: 240px minmax(0, 1fr); }
  .side-panel { padding-left: 24px; }
  .content-panel { padding-left: 28px; }
  .parking-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --topbar-height: 184px; }
  .topbar { min-height: auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 18px 12px; }
  .brand-lockup h1 { margin-top: 4px; font-size: 22px; }
  .view-tabs { width: 100%; }
  .view-tab { flex: 1; min-width: 0; padding: 9px 10px; }
  .topbar-actions { width: 100%; justify-content: stretch; gap: 8px; padding-top: 0; }
  .storage-state { display: none; }
  .topbar-actions .button { width: 100%; min-height: 40px; flex: 1; }
  .workspace { display: block; }
  .side-panel { min-height: auto; padding: 21px 18px 0; border-right: 0; }
  .date-panel { padding-bottom: 18px; }
  .date-input-wrap { margin-top: 11px; }
  .source-panel { display: none; }
  .backup-panel { display: block; padding: 17px 0 !important; border-bottom: 1px solid var(--line); }
  .backup-panel[open] { padding-bottom: 17px !important; }
  .backup-actions { margin-top: 13px; }
  .side-footer { display: none; }
  .workspace.is-settings .side-panel { width: auto; min-height: auto; margin: 0; padding: 24px 18px 70px; }
  .content-panel { padding: 16px 18px 70px; }
  .hero-row { padding-bottom: 16px; }
  .inspection-meta { max-width: 100%; padding: 7px 10px; font-size: 10px; }
  .control-strip { top: var(--topbar-height); flex-wrap: wrap; gap: 9px; margin-inline: -18px; padding: 9px 18px; }
  .filter-tabs { order: 1; width: 100%; justify-content: space-between; }
  .filter-tab { flex: 1; padding-inline: 6px; }
  .search-wrap { order: 2; flex: 1 1 180px; }
  .only-open { order: 3; }
  .notice-banner { margin-bottom: 13px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 15px; }
  .stat-card { min-height: 70px; padding: 10px 7px; }
  .stat-label { font-size: 9px; white-space: nowrap; }
  .stat-value { margin-top: 8px; font-size: 22px; }
  .stat-foot { display: none; }
  .parking-row { grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; padding-left: 11px; }
  .slot-number { font-size: 18px; }
  .slot-block { padding-right: 9px; }
  .row-headline { display: block; }
  .owner { display: block; margin-top: 4px; }
  .row-meta { gap: 6px; }
  .row-meta span + span::before { margin-right: 6px; }
  .modal-card, .photo-modal-card, .camera-modal-card { padding: 24px 20px; }
  .modal-actions, .camera-actions { justify-content: stretch; }
  .modal-actions .button, .camera-actions .button { flex: 1; min-height: 44px; padding-inline: 10px; }
  .photo-viewer { grid-template-columns: 1fr; }
  .photo-viewer img { height: min(58vh, 380px); }
  .toast { right: 18px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
