:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #07080b;
  --panel: #101217;
  --panel-raised: #151820;
  --panel-soft: #1b1f28;
  --line: #2a303b;
  --line-strong: #3b4350;
  --text: #e8edf3;
  --muted: #9aa4b2;
  --subtle: #6f7a89;
  --accent: #64d8ff;
  --accent-strong: #8ce6ff;
  --gold: #ffcc66;
  --danger: #ff6b6b;
  --shadow: 0 20px 60px rgb(0 0 0 / 35%);
  --font-xs: 11px;
  --font-sm: 12px;
  --font-md: 13px;
  --font-lg: 14px;
  --font-stat: 16px;
  --font-xl: 18px;
  --font-page: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: var(--font-md);
  line-height: 1.45;
}

.app-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  background: #0c0e13;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand strong {
  overflow: hidden;
  color: var(--text);
  font-size: var(--font-lg);
  font-weight: 720;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(100 216 255 / 45%);
  border-radius: 7px;
  background: #111923;
  color: var(--accent-strong);
  font-size: var(--font-xs);
  font-weight: 780;
}

.top-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: 8px;
}

.nav-button {
  min-height: 44px;
  border-color: var(--line);
  background: #10141b;
  color: var(--muted);
  font-size: var(--font-lg);
  padding: 10px 16px;
}

.nav-button.active {
  border-color: rgb(100 216 255 / 45%);
  background: #121b25;
  color: var(--accent-strong);
}

.nav-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.project-session {
  display: flex;
  align-items: center;
  flex: 0 1 280px;
  min-width: 0;
  gap: 8px;
}

.project-session[hidden] {
  display: none;
}

#current-project-name {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #121720;
  color: var(--accent-strong);
  font-size: var(--font-sm);
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#status {
  flex: 0 1 auto;
  max-width: 52vw;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #141820;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-main {
  height: calc(100vh - 64px);
  min-height: 0;
  background: #08090d;
}

.app-view[hidden] {
  display: none !important;
}

.editor-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.management-view {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 22px;
}

.picker-view {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 28px;
}

.picker-shell {
  width: min(980px, 100%);
  display: grid;
  gap: 16px;
  margin: 0 auto;
}

.picker-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.picker-head h1 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: var(--font-page);
  letter-spacing: 0;
  line-height: 1.1;
}

.recent-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  min-width: 0;
}

.recent-project-card {
  display: grid;
  min-height: 118px;
  min-width: 0;
  align-content: start;
  gap: 8px;
  border-radius: 8px;
  padding: 14px;
  text-align: left;
}

.recent-project-card strong,
.recent-project-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-project-card strong {
  color: var(--text);
  font-size: var(--font-lg);
}

.recent-project-path {
  color: var(--muted);
  font-size: var(--font-sm);
}

.recent-project-stats {
  color: var(--gold);
  font-size: var(--font-sm);
}

.recent-project-card:disabled {
  border-color: #252a32;
  background: #111319;
  color: var(--subtle);
  cursor: default;
  opacity: 0.72;
}

.recent-project-card:disabled .recent-project-stats {
  color: var(--danger);
}

.project-path-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel);
}

.management-head {
  width: min(1180px, 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
}

.management-head h1 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: var(--font-page);
  letter-spacing: 0;
  line-height: 1.1;
}

.image-list-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.image-resume-button {
  min-height: 40px;
  white-space: nowrap;
}

.parking-grid,
.camera-grid,
.settings-layout,
.queue-layout,
.admin-layout {
  width: min(1180px, 100%);
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.parking-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
  align-items: start;
  justify-content: start;
}

.camera-grid {
  grid-template-columns: repeat(auto-fill, 320px);
  align-items: start;
  justify-content: start;
}

.danger-zone {
  width: min(1180px, 100%);
  margin: 16px auto 0;
  border: 1px solid rgb(255 107 107 / 28%);
  border-radius: 8px;
  background: #0d0b0d;
}

.danger-zone summary {
  cursor: pointer;
  padding: 11px 12px;
  color: #ffb1b1;
  font-size: var(--font-sm);
  font-weight: 760;
}

.danger-zone-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgb(255 107 107 / 22%);
  padding: 12px;
}

.danger-zone-body div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.danger-zone-body strong,
.danger-zone-body span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.danger-zone-body strong {
  color: var(--text);
  font-size: var(--font-md);
}

.danger-zone-body span {
  color: var(--muted);
  font-size: var(--font-sm);
}

.settings-layout {
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr) minmax(260px, 1fr);
  align-items: start;
}

.queue-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.admin-layout {
  align-items: start;
}

.admin-summary {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: var(--font-md);
}

.admin-output-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.admin-output-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-output-row strong,
.admin-output-row span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-output-row strong {
  color: var(--text);
  font-size: var(--font-md);
}

.admin-output-row span {
  color: var(--muted);
  font-size: var(--font-sm);
}

.clip-cut-status {
  display: grid;
  gap: 8px;
  min-height: 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--font-sm);
}

.clip-cut-status.success {
  color: #8ce8b0;
}

.clip-cut-status.info {
  color: var(--gold);
}

.clip-cut-status.error {
  color: var(--danger);
}

.clip-cut-summary {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.clip-cut-summary strong,
.clip-cut-summary span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-result-list {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.clip-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 8px;
  background: #0b0e13;
}

.clip-result-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clip-result-row a {
  color: var(--accent-strong);
  font-weight: 720;
  text-decoration: none;
}

.clip-result-row a:hover {
  color: #fff;
}

.clip-result-more {
  color: var(--subtle);
}

.validation-issue-list {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.validation-issue-row {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 8px;
  background: #0b0e13;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-hint {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--font-sm);
}

.field-hint.warning {
  color: var(--gold);
}

.field-hint[hidden] {
  display: none;
}

.parking-card,
.camera-card,
.video-row,
.empty-state {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.parking-card {
  display: grid;
  width: min(360px, 100%);
  min-height: 250px;
  gap: 13px;
  grid-template-rows: auto minmax(56px, auto) auto auto;
  padding: 14px;
}

.camera-card {
  display: grid;
  width: 320px;
  min-height: 430px;
  gap: 13px;
  grid-template-rows: auto auto auto auto auto;
  padding: 14px;
}

.camera-preview {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    #050609;
  background-size: 28px 28px;
  color: var(--subtle);
  font-size: var(--font-sm);
  place-items: center;
}

.camera-preview img,
.zone-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.camera-preview span {
  z-index: 1;
}

.zone-overlay {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--accent);
  background: rgb(100 216 255 / 14%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 35%);
}

.camera-card-title,
.badge-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.hierarchy-path {
  min-height: 18px;
  overflow: hidden;
  margin: 4px 0 2px;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-card-title {
  justify-content: space-between;
}

.camera-card-title strong,
.video-main strong {
  overflow: hidden;
  font-size: var(--font-lg);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-main span,
.video-counts,
.video-error,
.form-error {
  overflow: hidden;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
}

.camera-info {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.camera-info-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: var(--font-sm);
}

.camera-info-item dt,
.camera-info-item dd {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-info-item dt {
  color: var(--subtle);
}

.camera-info-item dd {
  color: var(--text);
}

.parking-camera-summary {
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.parking-camera-summary span {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: #0b0e13;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.parking-card .stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: #0b0e13;
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  color: var(--text);
  font-size: var(--font-stat);
}

.stat-item span {
  overflow: hidden;
  color: var(--subtle);
  font-size: var(--font-xs);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-list {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.video-row {
  display: grid;
  grid-template-areas:
    "main badges actions"
    "main counts actions";
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.75fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.video-main {
  grid-area: main;
  display: grid;
  min-width: 0;
  gap: 4px;
}

.video-row .badge-row {
  grid-area: badges;
  flex-wrap: wrap;
}

.video-counts {
  grid-area: counts;
  white-space: nowrap;
}

.video-error {
  grid-column: 1 / -1;
  color: var(--danger);
  white-space: normal;
}

.video-warning {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--gold);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: normal;
}

.form-message {
  min-height: 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
}

.form-message.success {
  color: #8ce8b0;
}

.form-message.info {
  color: var(--gold);
}

.setting-status {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: #0b0e13;
  font-size: var(--font-sm);
  font-weight: 700;
}

.setting-status.ok {
  border-color: rgb(95 214 149 / 35%);
  color: #8ce8b0;
}

.setting-status.missing {
  border-color: rgb(255 204 102 / 35%);
  color: var(--gold);
}

.analysis-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.upload-progress {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #0b0e13;
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.upload-progress-head strong,
.upload-progress-head span,
.upload-progress-detail {
  overflow: hidden;
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress-head strong {
  color: var(--text);
}

.upload-progress-head span,
.upload-progress-detail {
  color: var(--muted);
}

.analysis-progress span {
  overflow: hidden;
  color: var(--gold);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-track {
  position: relative;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #080a0f;
  box-shadow: inset 0 0 0 1px var(--line);
}

.progress-bar {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 220ms ease;
}

.analysis-log {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.analysis-log summary {
  cursor: pointer;
  color: var(--muted);
  font-size: var(--font-sm);
}

.analysis-log pre {
  overflow: auto;
  max-height: 220px;
  margin: 8px 0 0;
  border-radius: 6px;
  padding: 10px;
  background: #07090d;
  color: var(--text);
  font-size: var(--font-xs);
  line-height: 1.55;
  white-space: pre-wrap;
}

.video-actions {
  justify-content: end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #11151c;
  color: var(--muted);
  font-size: var(--font-sm);
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.ok,
.status-pill.done,
.status-pill.fixed {
  border-color: rgb(95 214 149 / 35%);
  background: #102018;
  color: #8ce8b0;
}

.status-pill.queued,
.status-pill.analyzing,
.status-pill.in_progress {
  border-color: rgb(255 204 102 / 35%);
  background: #211a0f;
  color: var(--gold);
}

.status-pill.failed {
  border-color: rgb(255 107 107 / 45%);
  background: #241213;
  color: var(--danger);
}

.status-pill.muted,
.status-pill.not_started,
.status-pill.stage {
  color: var(--subtle);
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.zone-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    #050609;
  background-size: 32px 32px;
  cursor: crosshair;
  touch-action: none;
}

#zone-preview-box {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--accent);
  background: rgb(100 216 255 / 14%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 35%);
  pointer-events: none;
}

.zone-preview:not(.has-image) img {
  display: none;
}

.reference-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px auto;
  gap: 8px;
  align-items: end;
}

.empty-state {
  padding: 18px;
  color: var(--subtle);
  font-size: var(--font-md);
}

.form-error {
  min-height: 18px;
  color: var(--danger);
}

.drop-zone {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 132px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #0b0e13;
  color: var(--muted);
  text-align: center;
  transition:
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;
}

.drop-zone strong,
.drop-zone span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drop-zone strong {
  color: var(--text);
  font-size: var(--font-lg);
}

.drop-zone span {
  font-size: var(--font-sm);
}

.drop-zone.drag-over,
.drop-zone.uploading {
  border-color: rgb(100 216 255 / 70%);
  background: #10202d;
  color: var(--accent-strong);
}

.selected-files {
  display: grid;
  gap: 6px;
  min-height: 0;
}

.selected-file {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  background: #0b0e13;
  color: var(--muted);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal {
  width: min(520px, calc(100vw - 28px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgb(0 0 0 / 65%);
}

.modal-panel,
.modal-body {
  display: grid;
  min-width: 0;
}

.modal-panel {
  gap: 14px;
  padding: 16px;
}

.modal-head,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head h2 {
  margin: 5px 0 0;
  font-size: var(--font-xl);
  letter-spacing: 0;
}

.modal-body {
  gap: 10px;
}

.modal-actions {
  justify-content: end;
}

.scene-bin {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #0d0f14;
}

.side-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #11141a;
}

.image-editor-toolbar-status {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.image-editor-progress,
.image-editor-fix-status {
  flex: 0 0 auto;
  white-space: nowrap;
}

.image-editor-fix-status {
  min-width: 82px;
  font-weight: 800;
  text-align: center;
}

.video-detail-summary {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #0c1016;
}

.video-detail-summary div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

.video-detail-summary span,
.video-detail-summary strong {
  overflow: hidden;
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-detail-summary span {
  color: var(--subtle);
}

.video-detail-summary strong {
  color: var(--text);
  font-weight: 700;
}

.project-metadata {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #0f1218;
}

.project-metadata label:first-child,
.project-metadata label:last-child {
  grid-column: 1 / -1;
}

#scene-list {
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.workspace {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto auto auto;
  min-width: 0;
  min-height: 0;
  background: #07080b;
}

.viewer {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  place-items: center;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    #08090d;
  background-size: 36px 36px;
  box-shadow: inset 0 -1px 0 var(--line);
}

.viewer::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

video,
canvas {
  max-width: 100%;
  max-height: 100%;
}

video {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: auto;
  height: calc(100% - 36px);
  max-width: calc(100% - 36px);
  display: block;
  margin: auto;
  border: 1px solid #000;
  border-radius: 8px;
  background: #000;
  object-fit: contain;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

canvas {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

canvas.editing {
  pointer-events: auto;
  cursor: crosshair;
  touch-action: none;
}

.box-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
}

.box-toolbar .checkbox {
  flex-direction: row;
  gap: 6px;
  align-items: center;
  margin: 0;
}

.box-frame-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.frame-chip {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft, #ccc);
  font-size: 12px;
  cursor: pointer;
}

.frame-chip.truth {
  border-color: var(--accent);
}

.frame-chip.active {
  background: var(--accent);
  color: #04121a;
}

.range-preview {
  display: grid;
  gap: 8px;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  background: #090b10;
}

.range-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#preview-count {
  overflow: hidden;
  color: var(--subtle);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-strip {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
}

.preview-empty {
  color: var(--subtle);
  font-size: var(--font-sm);
  padding: 9px 0;
}

.preview-thumb {
  display: grid;
  flex: 0 0 118px;
  gap: 4px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px;
  background: #10141b;
}

.preview-thumb:hover {
  border-color: rgb(100 216 255 / 60%);
}

.preview-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 5px;
  background: #000;
  object-fit: cover;
}

.preview-thumb span {
  overflow: hidden;
  color: var(--muted);
  font-size: var(--font-sm);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#editor {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.8fr) minmax(280px, 1.1fr) minmax(132px, auto);
  gap: 12px;
  min-height: 0;
  max-height: 42vh;
  overflow: auto;
  padding: 12px;
  background: #0c0e13;
  border-top: 1px solid var(--line);
}

.panel-group {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel);
}

.panel-title {
  color: var(--muted);
  font-size: var(--font-sm);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: var(--font-sm);
  font-weight: 560;
}

.scene-tag-groups {
  display: grid;
  gap: 9px;
  min-width: 0;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
  background: #0b0d12;
  color: var(--text);
  font-size: var(--font-md);
  padding: 9px 10px;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgb(100 216 255 / 75%);
  background: #0f141b;
  box-shadow: 0 0 0 3px rgb(100 216 255 / 12%);
}

input[readonly],
input:disabled,
textarea:disabled,
select:disabled {
  border-color: #252b34;
  background: #11141a;
  color: var(--subtle);
}

textarea {
  min-height: 42px;
  max-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 30px;
}

button {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #161a22;
  color: var(--text);
  cursor: pointer;
  font-size: var(--font-md);
  font-weight: 650;
  padding: 8px 11px;
  transition:
    background 120ms ease,
    border-color 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

button:hover {
  border-color: rgb(100 216 255 / 55%);
  background: #1c2430;
  color: #fff;
}

button:disabled {
  cursor: default;
  opacity: 0.55;
}

button:disabled:hover {
  border-color: var(--line-strong);
  background: #161a22;
  color: var(--text);
}

.recent-project-card:disabled:hover {
  border-color: #252a32;
  background: #111319;
  color: var(--subtle);
}

button:active {
  transform: translateY(1px);
}

.compact-button {
  min-height: 32px;
  padding: 7px 9px;
  color: #dce4ee;
  font-size: var(--font-sm);
}

.primary-button {
  border-color: rgb(100 216 255 / 70%);
  background: #112231;
  color: var(--accent-strong);
}

.primary-button:hover {
  background: #153044;
}

.danger-button {
  border-color: rgb(255 107 107 / 55%);
  background: #241213;
  color: #ffb1b1;
}

.danger-button:hover {
  border-color: rgb(255 107 107 / 85%);
  background: #311719;
  color: #fff;
}

.link-button {
  min-height: 28px;
  border-color: transparent;
  background: transparent;
  color: var(--accent-strong);
  padding: 4px 0;
}

.link-button:hover {
  border-color: transparent;
  background: transparent;
  color: #fff;
}

.scene,
.target {
  width: 100%;
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  padding: 10px;
}

.scene {
  gap: 7px;
  padding: 8px;
}

.scene + .scene,
.target + .target {
  margin-top: 7px;
}

.scene-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
}

.scene-thumbnails img,
.scene-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 5px;
  background: #050609;
  object-fit: cover;
}

.scene-thumb-placeholder {
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / 6%), transparent),
    #111620;
  background-size: 220% 100%;
}

.scene-thumb-empty {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: 5px;
  padding: 8px;
  color: var(--subtle);
  font-size: var(--font-sm);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-summary {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.scene strong,
.target strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: var(--font-md);
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene span,
.target span {
  overflow: hidden;
  color: var(--subtle);
  font-size: var(--font-sm);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene:hover,
.target:hover {
  border-color: var(--line-strong);
  background: var(--panel-soft);
}

.scene.active,
.target.active {
  border-color: rgb(100 216 255 / 55%);
  background: #10202d;
  box-shadow: inset 3px 0 0 var(--accent);
}

.scene.deleted,
.target.deleted {
  opacity: 0.52;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

.transport-actions {
  align-content: start;
  align-items: stretch;
  justify-content: stretch;
}

.transport-actions button {
  flex: 1 1 100%;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0c10;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #0a0c10;
  border-radius: 999px;
  background: #313846;
}

::-webkit-scrollbar-thumb:hover {
  background: #465062;
}

.image-management-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.image-upload-panel {
  position: sticky;
  top: 0;
}

.image-management-layout .admin-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.image-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.image-sample-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}

.image-sample-card.deleted {
  opacity: 0.58;
}

.image-sample-preview {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  place-items: center;
  background: #080a0e;
  cursor: pointer;
}

.image-sample-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-sample-body {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 11px;
}

.image-sample-body > strong,
.image-sample-body > span,
.image-sample-body > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-sample-body > span,
.image-sample-body > small {
  color: var(--muted);
}

.image-editor-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.image-sample-bin {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #0d0f14;
}

.image-editor-list {
  min-height: 0;
  overflow: auto;
  padding: 8px;
}

.image-editor-list-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 9px;
  align-items: center;
  border: 1px solid transparent;
  padding: 7px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.image-editor-list-item + .image-editor-list-item {
  margin-top: 4px;
}

.image-editor-list-item:hover,
.image-editor-list-item.active {
  border-color: var(--line-strong);
  background: #151a22;
}

.image-editor-list-item.active {
  border-color: rgb(100 216 255 / 55%);
}

.image-editor-list-item.deleted {
  opacity: 0.55;
}

.image-editor-list-item img {
  width: 68px;
  height: 48px;
  border-radius: 5px;
  background: #07090d;
  object-fit: contain;
}

.image-editor-list-item span,
.image-editor-list-item strong,
.image-editor-list-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-editor-list-item small {
  color: var(--muted);
  font-size: var(--font-xs);
}

.image-editor-workspace {
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto minmax(180px, 42vh);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.image-truth-viewer {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  place-items: center;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    #08090d;
  background-size: 36px 36px;
}

.image-truth-viewer img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

#image-editor-overlay {
  position: absolute;
  z-index: 2;
  max-width: none;
  max-height: none;
  pointer-events: auto;
  touch-action: none;
  cursor: crosshair;
}

#image-editor-overlay.drawing {
  cursor: crosshair;
}

.image-editor-hint {
  min-height: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 14px;
  background: #10141b;
  color: var(--muted);
  font-size: var(--font-sm);
}

.image-editor-form {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) minmax(150px, 180px);
  height: 100%;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  gap: 12px;
  padding: 12px;
  background: #0c0e13;
}

.compact-target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compact-target {
  min-height: 31px;
  padding: 5px 9px;
  background: #111720;
  color: var(--muted);
}

.compact-target.active {
  border-color: rgb(100 216 255 / 60%);
  color: var(--accent-strong);
}

.box-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.image-transport-actions {
  align-content: start;
}

@media (max-width: 1040px) {
  .editor-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .settings-layout,
  .queue-layout {
    grid-template-columns: 1fr;
  }

  .video-row {
    grid-template-areas:
      "main"
      "badges"
      "counts"
      "actions";
    grid-template-columns: minmax(0, 1fr);
  }

  .video-actions {
    justify-content: start;
  }

  #editor {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    max-height: 50vh;
  }

  .transport-actions button {
    flex: 1 1 auto;
  }

  .image-management-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .image-editor-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .image-editor-form {
    grid-template-columns: minmax(200px, 0.8fr) minmax(260px, 1.2fr) minmax(145px, 170px);
  }

  .image-transport-actions {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-nav-height: 64px;
    --mobile-editor-actions-height: 64px;
  }

  html,
  body {
    height: auto;
    min-height: 100%;
  }

  body {
    overflow: auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  }

  .app-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: grid;
    grid-template-areas:
      "brand session"
      "status status";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 10px;
    height: auto;
    min-height: 70px;
    padding: 7px 10px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  }

  .brand {
    grid-area: brand;
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand strong {
    font-size: var(--font-sm);
  }

  .top-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    overflow: hidden;
    border-top: 1px solid var(--line-strong);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgb(12 14 19 / 96%);
    box-shadow: 0 -10px 28px rgb(0 0 0 / 38%);
    backdrop-filter: blur(12px);
  }

  .nav-button {
    min-width: 0;
    min-height: 48px;
    overflow: hidden;
    border-color: transparent;
    padding: 5px 3px;
    font-size: var(--font-xs);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-button.active {
    border-color: rgb(100 216 255 / 38%);
    box-shadow: inset 0 3px 0 var(--accent);
  }

  .project-session {
    grid-area: session;
    flex: 0 1 auto;
    width: auto;
    max-width: 158px;
    gap: 5px;
  }

  #current-project-name {
    max-width: 98px;
    padding: 5px 7px;
    font-size: var(--font-xs);
  }

  #close-project {
    min-height: 32px;
    padding: 5px 7px;
    font-size: var(--font-xs);
  }

  #status {
    grid-area: status;
    width: 100%;
    max-width: 100%;
    padding: 4px 8px;
    font-size: var(--font-xs);
  }

  .parking-grid,
  .camera-grid {
    grid-template-columns: 1fr;
  }

  .parking-card,
  .camera-card {
    width: 100%;
  }

  .parking-card .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-main {
    height: auto;
    min-height: calc(100dvh - 70px - var(--mobile-nav-height) - env(safe-area-inset-bottom));
  }

  .editor-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 220px minmax(0, 1fr);
    height: auto;
    min-height: calc(100dvh - 70px - var(--mobile-nav-height));
  }

  .management-view {
    padding: 12px 10px;
  }

  .image-management-layout {
    grid-template-columns: 1fr;
  }

  .image-upload-panel {
    position: static;
  }

  .image-management-layout .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-editor-shell {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100dvh - 70px - var(--mobile-nav-height));
  }

  .image-sample-bin {
    display: grid;
    flex: 0 0 124px;
    grid-template-rows: 39px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-sample-bin .side-toolbar {
    gap: 8px;
    padding: 7px 10px;
  }

  .image-sample-bin .side-toolbar .panel-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .image-editor-toolbar-status {
    gap: 4px;
  }

  .image-editor-fix-status {
    min-width: 74px;
  }

  .image-editor-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 8px 8px;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .image-editor-list-item {
    flex: 0 0 184px;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 70px;
    scroll-snap-align: start;
  }

  .image-editor-list-item + .image-editor-list-item {
    margin-top: 0;
  }

  .image-editor-list-item img {
    width: 76px;
    height: 54px;
  }

  .image-editor-workspace {
    display: block;
    overflow: visible;
  }

  .image-truth-viewer {
    width: 100%;
    height: clamp(280px, 42dvh, 390px);
    padding: 10px;
  }

  .image-editor-hint {
    min-height: 42px;
    padding: 9px 10px;
    font-size: var(--font-sm);
  }

  .image-editor-form {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow: visible;
    gap: 10px;
    padding: 10px 10px calc(var(--mobile-editor-actions-height) + 18px);
  }

  .image-editor-form > .panel-group:first-child {
    order: 2;
  }

  #image-target-panel {
    order: 1;
  }

  .image-editor-form .panel-group {
    padding: 11px;
  }

  .compact-target,
  #add-vehicle-box,
  #delete-image-target {
    min-height: 44px;
  }

  .box-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  input,
  textarea,
  select {
    min-height: 44px;
    font-size: 16px;
  }

  .image-transport-actions {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    left: 0;
    display: grid;
    grid-template-columns: 0.75fr 0.9fr 1.55fr 0.75fr 1.05fr;
    grid-column: auto;
    gap: 5px;
    min-height: var(--mobile-editor-actions-height);
    padding: 7px 6px;
    border-top: 1px solid var(--line-strong);
    background: rgb(16 18 23 / 96%);
    box-shadow: 0 -9px 24px rgb(0 0 0 / 34%);
    backdrop-filter: blur(12px);
  }

  .image-transport-actions button {
    min-width: 0;
    min-height: 48px;
    padding: 5px 3px;
    font-size: var(--font-xs);
    line-height: 1.15;
  }

  .image-transport-actions[hidden] {
    display: none;
  }

  .picker-view {
    padding: 14px;
  }

  .project-path-form {
    grid-template-columns: 1fr;
  }

  .management-head {
    align-items: stretch;
    flex-direction: column;
  }

  .image-list-head-actions {
    justify-content: space-between;
    width: 100%;
  }

  .image-resume-button {
    min-height: 44px;
  }

  .admin-output-row {
    align-items: stretch;
    flex-direction: column;
  }

  .reference-controls {
    grid-template-columns: 1fr;
  }

  .scene-bin {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace {
    grid-template-rows: minmax(260px, 48vh) auto;
  }

  #editor {
    grid-template-columns: 1fr;
    max-height: none;
  }
}

.crumb-link {
  border: none;
  background: transparent;
  padding: 0;
  min-height: 0;
  color: var(--accent-strong);
  font-size: var(--font-sm);
  cursor: pointer;
}

.crumb-link:hover {
  color: #fff;
  text-decoration: underline;
}

.crumb-current {
  color: var(--muted);
}

.view-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tab-button {
  min-height: 36px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--font-md);
  padding: 8px 16px;
  cursor: pointer;
}

.tab-button + .tab-button {
  border-left: 1px solid var(--line);
}

.tab-button.active {
  background: #121b25;
  color: var(--accent-strong);
  cursor: default;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--font-sm);
}

.filter-label select {
  min-width: 220px;
}

.camera-group-list {
  display: grid;
  gap: 24px;
}

.camera-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.camera-group-head h2 {
  margin: 0;
  font-size: var(--font-xl);
}

.parking-admin-list {
  display: grid;
  gap: 6px;
}

.parking-admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-raised);
}

.parking-admin-row strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parking-admin-count {
  color: var(--muted);
  font-size: var(--font-sm);
}

.parking-admin-note {
  color: var(--gold);
  font-size: var(--font-sm);
}

.parking-add-row {
  display: flex;
  gap: 8px;
}

.parking-add-row input {
  flex: 1;
}
