/* wackywestside.com/parking. Layout: answer first, map with an inspector beside it, tables below; one column on phones. */
:root {
  --bg: #f4f4f0; --surface: #fcfcfb; --ink: #16181a; --ink2: #4c504c; --ink3: #696d66; --line: #dadbd3;
  --street: #e7e8e1; --permit: #c3c5b9; --halo: #fcfcfb;
  --mon: #2a78d6; --tue: #eb6834; --wed: #1baf7a; --thu: #d4a900; --fri: #b8336a;
  --display: "Overpass", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111211; --surface: #1a1a19; --ink: #f0efec; --ink2: #c3c2b7; --ink3: #96958c; --line: #34352f; --street: #2b2c28; --permit: #5a5c52; --halo: #1a1a19;
    --mon: #3987e5; --tue: #d95926; --wed: #199e70; --thu: #d99a00; --fri: #e87ba4; color-scheme: dark; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px 56px; display: flex; flex-direction: column; gap: 26px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.12; }
h1 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.012em; }
h2 { font-size: 21px; font-weight: 700; } h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; } a { color: inherit; text-underline-offset: 2px; }
q { quotes: "\201C" "\201D"; }
.top { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.top .brand { font: 800 17px/1 var(--display); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 2px 14px; font: 600 13px/2 var(--body); }
.top nav a { text-decoration: none; color: var(--ink2); } .top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font: 700 12px/1.3 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-bottom: -12px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.eyebrow { font: 700 12px/1.3 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); }
.head { display: flex; flex-direction: column; gap: 12px; }
.lead { max-width: 68ch; font-size: 17px; color: var(--ink2); } .lead b { color: var(--ink); font-weight: 600; }
.note, .sub { font-size: 13.5px; color: var(--ink2); max-width: 80ch; }
.sec { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
a.card { text-decoration: none; transition: border-color 0.12s; } a.card:hover { border-color: var(--ink3); }
.card p { font-size: 14px; color: var(--ink2); } .card q { color: var(--ink); font-weight: 500; }
.bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; max-width: 520px; }
.bar i { display: block; min-width: 2px; border-radius: 0; height: auto; margin: 0; }
.keys { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 12.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.keys span { display: inline-flex; align-items: center; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink3); margin-right: 6px; flex: none; }
.dM { background: var(--mon); } .dT { background: var(--tue); } .dW { background: var(--wed); } .dR { background: var(--thu); } .dF { background: var(--fri); }
.dot.nop { background: var(--ink); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; font-size: 13.5px; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 14px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
th { font: 700 11px/1.3 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); border-top: 0; white-space: nowrap; }
td.num, th.num { text-align: right; } td .sub { font-size: 12.5px; }
summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.dir { columns: 190px; column-gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.dir li { padding: 3px 0; break-inside: avoid; }
input { font: 15px var(--body); padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 42px; }
input::placeholder { color: var(--ink3); }
#find, #filter { width: min(100%, 300px); }
.src { font-size: 12.5px; color: var(--ink2); display: flex; flex-direction: column; gap: 4px; max-width: 90ch; border-top: 1px solid var(--line); padding-top: 16px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13.5px; }
.btn { display: inline-flex; align-items: center; font: 600 13.5px/1 var(--body); padding: 0 14px; min-height: 42px; border-radius: 9px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); cursor: pointer; text-decoration: none; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); } .btn.ghost:hover { border-color: var(--ink3); }
.btn.small { min-height: 34px; padding: 0 10px; font-size: 12.5px; }

/* home page: the address box and the city at a glance */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; align-items: start; }
.hero-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ask { display: flex; flex-direction: column; gap: 6px; }
.ask label { font: 700 12px/1.3 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); }
.ask-row { display: flex; gap: 8px; } .ask-row input { flex: 1; min-width: 0; font-size: 17px; min-height: 50px; border-color: var(--ink3); } .ask-row .btn { min-height: 50px; }
.answer { gap: 10px; border-color: var(--ink3); } .answer h2 { font-size: 24px; }
.citymap { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cm { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cm img { display: block; width: 100%; height: auto; }
.cm svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cm polygon { fill: transparent; stroke: var(--ink3); stroke-width: 1.2px; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; cursor: pointer; }
.cm a:hover polygon, .cm a:focus polygon { fill: color-mix(in srgb, var(--ink) 9%, transparent); stroke: var(--ink); stroke-dasharray: none; }
.cm text { font-family: var(--display); font-weight: 800; fill: var(--ink); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--halo); stroke-linejoin: round; pointer-events: none; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-variant-numeric: tabular-nums; }
.cal b { font: 700 10px/1.6 var(--display); letter-spacing: 0.06em; color: var(--ink3); text-align: center; }
.cal span { position: relative; text-align: center; font-size: 12.5px; line-height: 1; padding: 6px 0 9px; border-radius: 5px; color: var(--ink2); }
.cal span.off { background: var(--ink); color: var(--surface); font-weight: 600; }
.cal span.today { outline: 2px solid var(--ink); outline-offset: -2px; color: var(--ink); font-weight: 600; }
.cal span.off.today { outline-color: var(--ink3); }
.cal span.past { opacity: 0.35; }
.cal span i { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; gap: 2px; }
.cal span i u { width: 5px; height: 5px; border-radius: 50%; margin: 0; }

/* zone map */
.controls { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.controls input[type="date"] { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.seg button { font: 600 13.5px/1 var(--body); padding: 0 14px; min-height: 40px; border: 0; background: none; color: var(--ink2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--body); padding: 0 11px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="false"] { opacity: 0.45; text-decoration: line-through; }
.chip .mi { color: var(--ink3); font-variant-numeric: tabular-nums; }
.sw { width: 18px; height: 0; border-top: 3px solid var(--ink3); flex: none; background: none; }
.sw.dM { border-color: var(--mon); } .sw.dT { border-color: var(--tue); } .sw.dW { border-color: var(--wed); } .sw.dR { border-color: var(--thu); } .sw.dF { border-color: var(--fri); }
.sw.nop { border-color: var(--ink); border-top-width: 5px; } .sw.multi { border-top-style: dashed; } .sw.nolist { border-top-style: dotted; } .sw.band { border-top: 7px solid var(--permit); }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.mapbox { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; max-height: min(84vh, 880px); min-height: 440px; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.zone { fill: none; stroke: var(--ink3); stroke-width: var(--zw, 12px); stroke-dasharray: var(--zdash, 60px 40px); opacity: 0.55; }
.ring { fill: none; stroke: var(--ink2); stroke-width: var(--rw, 70px); stroke-linecap: round; stroke-linejoin: round; }
.band { fill: none; stroke: var(--street); stroke-width: var(--bw, 46px); stroke-linecap: round; stroke-linejoin: round; }
.band.p1 { stroke: var(--permit); }
.curb { fill: none; stroke-width: var(--cw, 24px); stroke: var(--ink3); }
.curb.dM { stroke: var(--mon); } .curb.dT { stroke: var(--tue); } .curb.dW { stroke: var(--wed); } .curb.dR { stroke: var(--thu); } .curb.dF { stroke: var(--fri); }
.curb.nop { stroke: var(--ink); stroke-width: var(--cwf, 38px); }
.curb.multi { stroke-dasharray: var(--dash, 60px 40px); }
.curb.nolist { stroke-dasharray: var(--dot, 2px 50px); stroke-linecap: round; opacity: 0.75; }
.curb.muted { opacity: 0.3; }
.permit-only .curb.np:not(.show), .hide-dM .curb.dM, .hide-dT .curb.dT, .hide-dW .curb.dW, .hide-dR .curb.dR, .hide-dF .curb.dF, .hide-nop .curb.nop, .hide-multi .curb.multi, .hide-nolist .curb.nolist { display: none; }
.out { opacity: 0.2; }
.hit { fill: none; stroke: transparent; stroke-width: var(--hit, 80px); pointer-events: stroke; cursor: pointer; }
.lbl { font-family: var(--display); font-weight: 600; font-size: var(--fs, 110px); fill: var(--ink2); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--halo); stroke-width: var(--hs, 30px); stroke-linejoin: round; pointer-events: none; }
.lbl.k1 { font-weight: 800; fill: var(--ink); } .zoomedout .lbl.k2 { display: none; }
.homedot { fill: var(--ink); stroke: var(--halo); }
.hometxt { font-family: var(--display); font-weight: 800; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--halo); stroke-linejoin: round; pointer-events: none; }
.zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.zoom button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: 700 18px/1 var(--display); cursor: pointer; }
.zoom button.fit { font-size: 11px; letter-spacing: 0.04em; }
.furn { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: flex-end; gap: 12px; pointer-events: none; color: var(--ink2); font: 600 11px/1.2 var(--display); }
.compass { width: 40px; height: 40px; } .compass path { fill: var(--ink); }
.compass text { font: 800 11px var(--display); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.scale { display: flex; flex-direction: column; gap: 3px; } .scale i { display: block; height: 5px; border: 1.5px solid var(--ink2); border-top: 0; }
#tip { position: absolute; z-index: 2; max-width: 260px; background: var(--ink); color: var(--surface); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 1.35; pointer-events: none; }
#tip strong { font-family: var(--display); font-size: 13.5px; }
#peek { display: none; }
.panel { display: flex; flex-direction: column; gap: 12px; max-height: min(84vh, 880px); overflow: auto; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 700 11px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 7px 4px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink2); }
.tag.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 0; align-items: baseline; padding-top: 9px; border-top: 1px solid var(--line); }
.side .dot { align-self: center; }
.side .nm { font: 700 12px/1.3 var(--display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink3); grid-column: 1 / -1; }
.side .wh { font-weight: 600; font-variant-numeric: tabular-nums; } .side .tr { grid-column: 2; font-size: 13px; color: var(--ink2); }
.answer .side .wh { font-size: 17px; }
.plan { font-size: 13.5px; background: var(--bg); border-radius: 8px; padding: 9px 10px; color: var(--ink2); }
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: column; gap: 3px; text-align: left; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.row .rt { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.row .nm { font: 700 14.5px/1.25 var(--display); } .row .away { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.row .ft { font-size: 12.5px; color: var(--ink2); }
.row .sd { font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 2px 12px; font-variant-numeric: tabular-nums; } .row .sd span { display: inline-flex; align-items: center; }
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .tool { grid-template-columns: minmax(0, 1fr); } .mapbox { max-height: 68vh; min-height: 380px; } .panel { max-height: none; overflow: visible; }
  #peek { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; text-align: left; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); font: 13px/1.3 var(--body); cursor: pointer; }
  #peek strong { font: 800 14.5px/1.2 var(--display); } #peek span { grid-column: 1; opacity: 0.85; } #peek em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-weight: 600; text-decoration: underline; }
  #peek:not([hidden]) ~ .furn { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
