/* The advertiser page: map, spot list, booking steps, dashboard. */
.book { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .book { grid-template-columns: minmax(0, 1fr); } }
.book > section { min-width: 0; }
.maptools select { min-width: 0; }

.mapwrap { position: relative; background: var(--land); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mapwrap svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; touch-action: manipulation; }
.map-water { fill: var(--water); fill-rule: evenodd; stroke: none; }
.map-district { fill: transparent; stroke: var(--district); stroke-dasharray: 6 4; cursor: pointer; }
.map-district:hover { fill: rgba(127, 127, 127, 0.08); }
.map-district.active { stroke: var(--text-2); stroke-dasharray: none; }
.map-label { fill: var(--text-2); font-weight: 600; pointer-events: none; paint-order: stroke; stroke: var(--land); }
.spot { cursor: pointer; stroke: var(--surface); }
.spot.t1 { fill: var(--series-1); }
.spot.t2 { fill: var(--series-2); }
.spot.t3 { fill: var(--series-3); }
.spot.sel { stroke: var(--text); }
.spot:focus { outline: none; stroke: var(--text); }

.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-2); padding: 8px 2px; }
.legend .key { display: inline-flex; align-items: center; gap: 6px; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.t1 { background: var(--series-1); }
.dot.t2 { background: var(--series-2); }
.dot.t3 { background: var(--series-3); }

.maptools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.maptools select { width: auto; flex: 1 1 140px; }

.spotlist { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.spotrow { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border: none; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; cursor: pointer; }
.spotrow:hover, .spotrow.sel { background: var(--surface-2); }
.spotrow .name { flex: 1; min-width: 0; }
.spotrow .name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotrow .price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.steps span { padding: 3px 10px; border-radius: 999px; background: var(--muted-bg); color: var(--text-2); }
.steps span.on { background: var(--text); color: var(--bg); }

.total { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.booked { color: var(--danger); font-size: 13px; }

.checkout { border: 2px dashed var(--warn); background: var(--test-bg); color: var(--test-ink); border-radius: var(--radius); padding: 16px; }
.checkout h2 { color: var(--test-ink); }

.creativepick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0; }
.creativepick button { text-align: left; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); padding: 6px; cursor: pointer; color: inherit; font: inherit; }
.creativepick button.sel { border-color: var(--accent); }
.creativepick img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; display: block; background: var(--surface-2); }

.bk { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .bk { grid-template-columns: 1fr; } }
.bk .head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.bk .stats { display: flex; gap: 18px; flex-wrap: wrap; margin: 8px 0; }
.bk .stats div { font-size: 12px; color: var(--text-2); }
.bk .stats b { display: block; font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }

/* Billboard type pictures (web/img/billboard-<type>.jpg) or a drawn outline. */
.typepic { background: var(--surface-2); border-radius: 6px; overflow: hidden; display: block; }
.typepic img, .typepic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.typepic.thumb { width: 64px; height: 40px; flex: none; }
.typepic.hero { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 12px; }
.sketch .sk-bg { fill: var(--surface-2); }
.sketch .sk-pole { fill: var(--text-3); }
.sketch .sk-building { fill: var(--line); }
.sketch .sk-face { fill: var(--surface); stroke: var(--text-2); stroke-width: 1.5; }
.sketch .sk-face.led { fill: var(--series-1); }
.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 12px; }
.typecard { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.typecard .typepic { aspect-ratio: 16 / 10; }
.gate { border-bottom: 1px solid var(--line); }
.gate summary { padding: 10px 12px; cursor: pointer; background: var(--surface-2); }
.gate .spotrow { padding-left: 24px; }
.spotrow .name span { display: block; }
.maptools select { flex: 1 1 120px; }
