:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.container { width: min(100% - 32px, 1040px); margin: 0 auto; }
.site-header { padding: 18px 0; background: #0b4f8a; }
.brand { color: #fff; font-size: 1.2rem; font-weight: 700; text-decoration: none; }
main { min-height: calc(100vh - 120px); padding: 32px 0 48px; }
.site-footer { padding: 18px 0; color: #536174; font-size: .85rem; border-top: 1px solid #d7deea; }
.hero, .search-form, .detail-card, .result-card, .empty-message { background: #fff; border: 1px solid #d7deea; border-radius: 12px; }
.hero { padding: 28px; margin-bottom: 20px; }
h1 { margin: 0 0 12px; } h2 { margin: 8px 0; font-size: 1.1rem; }
.search-form { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, button { font: inherit; }
input, select { width: 100%; padding: 10px; border: 1px solid #aeb9ca; border-radius: 6px; background: #fff; }
button, .detail-link, .map-link { display: inline-block; padding: 10px 16px; border: 0; border-radius: 6px; background: #0b4f8a; color: #fff; text-decoration: none; cursor: pointer; font-weight: 700; }
button { margin-top: 18px; }.form-note { color: #536174; font-size: .9rem; }
.result-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }.result-heading h1 { margin: 0; }.result-heading a { margin-left: auto; }
.result-list { display: grid; gap: 12px; }.result-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; }.result-card p { margin: 6px 0; }.detail-link { white-space: nowrap; }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .82rem; font-weight: 700; }.status-active { color: #126b35; background: #dff5e5; }.status-need_review { color: #7a5100; background: #fff1c8; }.status-abolished { color: #8d2630; background: #f9dfe2; }
.detail-card { padding: 28px; }.detail-card dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; margin: 24px 0; }.detail-card dt, .detail-card dd { padding: 12px; margin: 0; border-bottom: 1px solid #d7deea; }.detail-card dt { font-weight: 700; background: #f5f7fb; }.empty-message { padding: 24px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; }.result-card { display: block; }.detail-link { margin-top: 12px; }.detail-card dl { grid-template-columns: 1fr; }.detail-card dt { border-bottom: 0; }.result-heading { flex-wrap: wrap; }.result-heading a { margin-left: 0; } }

/* Home: supporting parking imagery on wide screens */
.home-three-column { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 260px); gap: 22px; align-items: stretch; }
.home-main-column { min-width: 0; }
.container:has(.home-three-column) { width: min(100% - 32px, 1560px); }
body:has(.home-three-column) { background: radial-gradient(circle at 50% 0, #eef4fb 0, #f5f7fb 48%, #e9f0f8 100%); }
.home-side-image { position: relative; min-width: 0; min-height: 438px; overflow: hidden; border: 1px solid rgba(30, 85, 132, .32); border-radius: 16px; background: #0b2942; box-shadow: 0 16px 36px rgba(8, 35, 62, .18); }
.home-side-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 22, 37, .10), rgba(4, 22, 37, .34)); pointer-events: none; }
.home-side-image img { display: block; width: 100%; height: 100%; min-height: 438px; object-fit: cover; }
.home-side-left img { object-position: 57% center; }
.home-side-right img { object-position: 46% center; }
@media (max-width: 1179px) { .container:has(.home-three-column) { width: min(100% - 32px, 1040px); } .home-three-column { display: block; } .home-side-image { display: none; } }
@media (max-width: 720px) { .container:has(.home-three-column) { width: min(100% - 24px, 1040px); } .home-three-column { max-width: 100%; } }

/* A8 affiliate placements: never overlay parking search or result controls */
.a8-ads { margin: 28px 0 8px; padding: 20px; background: #fff; border: 1px solid #d7deea; border-radius: 12px; }
.a8-ads-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 16px; }
.a8-ads-heading h2 { margin: 0; font-size: 1.05rem; }
.a8-pr-label { font-size: .82rem; color: #536174; background: #f0f3f8; border-radius: 4px; padding: 4px 8px; }
.a8-ad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.a8-ad-card { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 86px; padding: 12px; border: 1px solid #e2e7ee; border-radius: 8px; text-align: center; overflow-wrap: anywhere; }
.a8-ad-card a { color: #0b4f8a; line-height: 1.6; }
.a8-ad-card a img { max-width: 100%; height: auto; vertical-align: middle; }
.a8-ad-card > img[width="1"] { position: absolute; width: 1px; height: 1px; }
@media (max-width: 900px) { .a8-ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .a8-ads { padding: 14px; } .a8-ad-grid { grid-template-columns: 1fr; } }
