:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{margin:0;-webkit-text-size-adjust:100%}img{max-width:100%}[hidden]{display:none!important}

/* Layout: street-sign header, map left (sticky on desktop), ranked corner list right; stacks on phones. */
:root {
  --bg: #f4f5f1;
  --panel: #ffffff;
  --ink: #1d2320;
  --muted: #4d5550;
  --line: #d9ddd6;
  --need: #c8261d;
  --need-soft: #fbe6e3;
  --ok: #1f7a43;
  --ok-soft: #e1f1e6;
  --plan: #b26a00;
  --plan-soft: #fbefd9;
  --diy: #e8590c;
  --sign: #1f5f3a;
  --sign-ink: #ffffff;
  --example: #6b5bb0;
  --example-soft: #ece9f8;
  --f-display: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-data: "Overpass Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151917; --panel: #1e2421; --ink: #e9ece7; --muted: #a3ada6; --line: #333b36;
    --need: #ff6b5e; --need-soft: #3a1d1a; --ok: #5cc98a; --ok-soft: #173123;
    --plan: #f0a93b; --plan-soft: #3a2c12; --diy: #ff8a4c; --sign: #2b7a4d; --sign-ink: #ffffff;
    --example: #b3a6ff; --example-soft: #2a2545; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151917; --panel: #1e2421; --ink: #e9ece7; --muted: #a3ada6; --line: #333b36;
  --need: #ff6b5e; --need-soft: #3a1d1a; --ok: #5cc98a; --ok-soft: #173123;
  --plan: #f0a93b; --plan-soft: #3a2c12; --diy: #ff8a4c; --sign: #2b7a4d; --sign-ink: #ffffff;
  --example: #b3a6ff; --example-soft: #2a2545; color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); font: 17px/1.55 var(--f-body); }
.wrap { max-width: 1240px; margin: 0 auto; padding-block: 20px 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
.sign { display: inline-flex; flex-direction: column; gap: 2px; background: var(--sign); color: var(--sign-ink);
  border: 3px solid var(--sign-ink); outline: 3px solid var(--sign); border-radius: 8px; padding: 10px 16px 8px; }
.sign h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: .01em; line-height: 1.05; }
.sign small { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 20px; }
.intro p { margin: 0; max-width: 62ch; color: var(--muted); }
.intro p strong { color: var(--ink); }
.proto { margin: 0 0 14px; font-size: 15px; color: var(--ink); background: var(--example-soft); border-radius: 8px; padding: 8px 12px; }
.proto b { color: var(--example); }
.sv { margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; max-width: 100%; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
a.stat { text-decoration: none; color: inherit; display: block; }
a.stat:hover { border-color: var(--muted); }
a.stat:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
#corners, #city { scroll-margin-top: 12px; }
.list h3 .lt { font: inherit; color: inherit; }
.list h3 button.link { font: 600 15px var(--f-body); color: var(--need); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.stat b { display: block; font: 800 26px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted); }
.stat.need b { color: var(--need); } .stat.plan b { color: var(--plan); } .stat.ok b { color: var(--ok); }
.ex { display: inline-block; font: 600 12px/1 var(--f-data); letter-spacing: .06em; text-transform: uppercase;
  color: var(--example); background: var(--example-soft); border-radius: 4px; padding: 3px 5px; vertical-align: 2px; }
.main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mapcol { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); }
.map { position: relative; width: 100%; aspect-ratio: var(--ar); max-width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #e8e4dc; }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map img { filter: saturate(.55) contrast(.95); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pin, .chk { position: absolute; transform: translate(-50%, -50%); }
.chk { width: 19px; height: 19px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.chk svg { position: static; width: 11px; height: 11px; }
.pin { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; background: var(--need); color: #fff;
  font: 800 16px/1 var(--f-display); display: grid; place-items: center; cursor: pointer; padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; z-index: 2; }
.pin:focus-visible, .pin.on { outline: 3px solid var(--ink); outline-offset: 2px; z-index: 3; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.attrib { font-size: 13px; color: var(--muted); margin-top: 6px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.detail { padding: 16px 18px; margin-bottom: 16px; }
.detail .eyebrow { font: 600 13px/1 var(--f-data); color: var(--need); letter-spacing: .06em; text-transform: uppercase; }
.detail h2 { font-size: 24px; margin: 6px 0 2px; }
.detail .sub { color: var(--muted); font-size: 15px; }
.rows { display: grid; gap: 12px; margin-top: 14px; }
/* Each label sits on the baseline of its value's first line, so every row lines up the same way. */
.row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.row > span:first-child { font: 600 13px/1.5 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.chip { display: inline-block; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 2px 10px; }
.chip.need { background: var(--need-soft); color: var(--need); } .chip.plan { background: var(--plan-soft); color: var(--plan); }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.diy { background: var(--need-soft); color: var(--diy); }
.meta .chip { font-size: 13px; padding: 0 8px; }
.bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.bar { font-size: 13px; color: var(--muted); }
.bar span, .bar b { display: block; white-space: nowrap; }
.bar b { font-weight: 600; color: var(--ink); }
.bar div { height: 6px; border-radius: 3px; background: var(--line); margin-top: 3px; overflow: hidden; }
.bar div i { display: block; height: 100%; background: var(--sign); }
.timeline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.step { font-size: 15px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
.step.done { border-color: var(--ok); color: var(--ok); }
.step.now { border-color: var(--plan); color: var(--plan); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
button.act { font: 600 16px/1 var(--f-display); border-radius: 8px; padding: 10px 14px; cursor: pointer; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); }
button.act.primary { background: var(--need); border-color: var(--need); color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.cta-btn { flex: 1 1 220px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 54px;
  font: 800 17px/1.1 var(--f-display); letter-spacing: .01em; color: #fff; border: 0; border-radius: 10px; text-align: center;
  padding: 10px 18px; cursor: pointer; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.cta-btn.flag { background: var(--diy); }
.cta-btn.vote { background: var(--sign); }
.cta-btn.secondary { flex: 1 1 160px; background: transparent; color: var(--diy); box-shadow: inset 0 0 0 2px var(--diy); font-size: 17px; }
.cta-btn.done { filter: saturate(.55); }
.cta-btn:hover { filter: brightness(1.06); }
.cta-btn:active { transform: translateY(1px); box-shadow: none; }
.cta-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.detail .sub { margin-top: 10px; } .detail .sub.tight { margin-top: 2px; }
a.sign { text-decoration: none; }
a.cta-btn { text-decoration: none; }
.cta-btn.wide { width: 100%; flex: none; margin-top: 12px; }
.name-link { color: inherit; text-decoration: none; }
.name-link:hover { text-decoration: underline; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Corner details page: one readable column, sections numbered in priority order. */
#corner-page { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; }
.back { font: 600 16px var(--f-display); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.cp-head { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.cp-head .eyebrow { font: 600 13px/1 var(--f-data); color: var(--need); letter-spacing: .06em; text-transform: uppercase; }
.cp-title { font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 8px 0 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; }
.tile span { font: 600 13px var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile b { font-size: 16px; } .tile b.need { color: var(--need); } .tile b.plan { color: var(--plan); } .tile b.ok { color: var(--ok); } .tile b.diy { color: var(--diy); }
.cp-meta { margin: -6px 0 12px; font-size: 16px; color: var(--muted); }
.cp-meta b { color: var(--ink); } .cp-meta b.need { color: var(--need); } .cp-meta b.plan { color: var(--plan); }
.cp-meta a { color: inherit; font-weight: 600; }
.tiles.todo { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.todo .tile { color: inherit; text-decoration: none; }
.todo .tile b { font: 800 18px/1.15 var(--f-display); }
.todo .tile small { font-size: 15px; color: var(--muted); }
.todo .tile:hover { border-color: var(--ink); } .todo .tile:hover small { color: var(--ink); }
.todo .tile:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.follow { display: flex; gap: 6px; flex: 1 1 260px; }
.follow input { flex: 1; min-width: 0; font: 400 16px var(--f-body); padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
.act.small, button.act.small { padding: 8px 12px; font-size: 15px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer; font-family: var(--f-display); font-weight: 600; }
.saved { font-size: 15px; color: var(--ok); }
#corner-page .sv { margin-top: 0; aspect-ratio: 16 / 9; }
.cp-sec { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; scroll-margin-top: 12px; }
.cp-sec.why { grid-template-columns: minmax(0, 1fr); }
.sdot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.sched-alert { display: grid; gap: 2px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 8px; border-left: 4px solid var(--plan);
  background: var(--plan-soft); font-size: 16px; max-width: 64ch; }
.sched-alert b { font: 800 17px var(--f-display); color: var(--plan); }
.estimate { border: 2px solid var(--need); border-radius: 12px; padding: 14px; }
.estimate.plan { border-color: var(--plan); }
.estimate .big { font: 800 20px var(--f-display); color: var(--plan); }
.estimate .big.need { font-size: 30px; line-height: 1.1; color: var(--need); margin-bottom: 4px; }
.wait-label { font: 600 13px var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.why-h { margin: 12px 0 6px; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.flyer { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 4px; }
.flyer p { margin: 0 0 10px; font-size: 16px; color: var(--muted); }
.flyer-pdf { display: block; width: 100%; aspect-ratio: 8.5 / 11; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.estimate p { margin: 10px 0 0; font-size: 16px; color: var(--muted); max-width: 64ch; }
.odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.odds b { display: block; font: 800 28px/1.1 var(--f-display); color: var(--need); font-variant-numeric: tabular-nums; }
.odds span { font-size: 15px; color: var(--muted); }
button.mark { justify-self: start; }
.sec-n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--panel); font: 800 20px/40px var(--f-display); text-align: center; }
.sec-body h2 { font-size: 22px; margin-bottom: 4px; }
.sec-body h3 { font-size: 18px; margin: 18px 0 6px; }
.lead { margin: 0 0 12px; color: var(--muted); max-width: 62ch; }
.product { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; border: 2px solid var(--diy); border-radius: 12px; padding: 14px; }
.product-img img { width: 100%; height: auto; display: block; border-radius: 10px; background: #fff; }
.p-name { font: 800 19px var(--f-display); }
.p-price { font: 800 22px var(--f-display); color: var(--diy); margin: 2px 0 6px; }
.product ul, .more, .mini { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; font-size: 16px; }
.product .check { display: flex; gap: 8px; align-items: flex-start; font-size: 16px; margin-top: 6px; }
.product .check input { margin-top: 4px; }
.ordered { margin-top: 12px; font-weight: 600; color: var(--ok); }
.yard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.yard-sign { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.kit.confirm { border: 2px solid var(--ok); border-radius: 10px; padding: 14px; margin-top: 12px; }
.radio { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.radio legend { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { border: 1px solid var(--line); border-radius: 10px; }
.steps li.now { border: 2px solid var(--diy); }
.steps summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
.steps summary::-webkit-details-marker { display: none; }
.sn { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); font: 800 15px/26px var(--f-display); text-align: center; }
.steps li.now .sn { background: var(--diy); border-color: var(--diy); color: #fff; }
.steps li.done .sn { background: var(--ok); border-color: var(--ok); color: #fff; }
.st { font: 600 18px var(--f-display); }
.st em { font: 700 13px var(--f-data); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--diy); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.steps li.done .st { color: var(--muted); }
.sd { padding: 0 14px 14px 56px; display: grid; gap: 8px; }
.sd p { margin: 0; font-size: 16px; }
.mailline { display: grid; gap: 2px; font-size: 15px; color: var(--muted); }
.copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.copy textarea { font: 400 15px/1.45 var(--f-data); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); resize: vertical; max-width: 100%; }
.sd a.act { justify-self: start; }
label.inline { font-size: 16px; display: inline-flex; gap: 8px; align-items: center; }
label.inline input { width: 90px; font: 400 16px var(--f-body); padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
.votebox { border: 2px solid var(--sign); border-radius: 12px; padding: 14px; }
.votebox .sub { font-size: 15px; color: var(--muted); } .votebox .sub.err { color: var(--need); }
.votebox > .cta-btn.vote { margin-top: 10px; }
.vote-form .actions { margin-top: 0; }
.vote-form .cta-btn { min-height: 46px; }
.vote-msg { margin: 10px 0 4px; font-size: 16px; font-weight: 600; color: var(--ok); }
.vote-msg.err { color: var(--need); }
.check-email { margin-top: 10px; font-size: 16px; padding: 10px 12px; border-radius: 8px; background: var(--ok-soft); }
.votebox button.link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.votebox .signed { margin-top: 10px; }
.flag-box { border: 2px solid var(--diy); border-radius: 12px; padding: 14px; margin: 4px 0 16px; }
.flag-line { font-size: 17px; } .flag-line b.ok { color: var(--ok); }
.flag-box .sub { font-size: 15px; color: var(--muted); margin-top: 8px; }
.flag-box .actions { margin-top: 10px; }
.flag-box button.link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.reasons { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.reasons h3 { font-size: 17px; margin: 0 0 8px; }
.vcount { font-size: 17px; } .vcount b { font: 800 30px var(--f-display); color: var(--sign); }
.goal { height: 10px; border-radius: 5px; background: var(--line); margin: 8px 0 6px; overflow: hidden; }
.goal i { display: block; height: 100%; background: var(--sign); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notes li { font-size: 16px; border-left: 3px solid var(--line); padding-left: 10px; }
.notes li span { display: block; font-size: 14px; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }
@media (max-width: 600px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-img { max-width: 320px; }
  .yard { grid-template-columns: minmax(0, 1fr); }
  .yard-sign { max-width: 320px; }
  .cp-sec { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .bars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .sec-n { width: 34px; height: 34px; font-size: 17px; line-height: 34px; }
  .tiles, .sdot-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles.todo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .odds b { font-size: 24px; }
  .sd { padding-left: 14px; }
  .copy { grid-template-columns: minmax(0, 1fr); }
}
a.act { font: 600 16px/1 var(--f-display); border-radius: 8px; padding: 10px 14px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
a.act:hover { border-color: var(--ink); }
a.act:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
button.act:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
.toast { min-height: 20px; font-size: 15px; color: var(--ok); margin-top: 8px; }
.list { overflow: hidden; }
.list h3 { font-size: 17px; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.list h3 span { font: 400 15px var(--f-body); color: var(--muted); }
.item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px;
  border-bottom: 1px solid var(--line); cursor: pointer; background: transparent; width: 100%; text-align: left; color: inherit; font: inherit; border-left: 0; border-right: 0; border-top: 0; }
.item:last-child { border-bottom: 0; }
.item:hover, .item.on { background: var(--need-soft); }
.item:focus-visible { outline: 3px solid var(--plan); outline-offset: -3px; }
.num { width: 26px; height: 26px; border-radius: 50%; background: var(--need); color: #fff; font: 800 14px/26px var(--f-display); text-align: center; font-variant-numeric: tabular-nums; }
.item .name { font-weight: 600; font-size: 16px; }
.item .meta { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.votes { font: 600 15px var(--f-data); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.votes small { display: block; font: 400 13px var(--f-body); color: var(--muted); }
.votes .first-vote { display: block; font: 600 14px/1.25 var(--f-body); color: var(--sign); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.votes .first-vote:hover { text-decoration-thickness: 2px; }
@media (max-width: 600px) { .votes .first-vote { white-space: normal; width: 4.6em; } }
.feed { padding: 14px 18px; margin-top: 16px; }
.feed h3 { font-size: 17px; margin-bottom: 8px; }
.feed h3.feed-more { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.feed .sub { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.feed time { font: 400 14px var(--f-data); color: var(--muted); padding-top: 2px; }
.feed .who { font-weight: 600; }
.feed .city .who { color: var(--plan); } .feed .n .who { color: var(--ok); }
.feed li.you { background: var(--ok-soft); border-radius: 6px; margin: 0 -8px; padding: 4px 8px; }
.feed li.you time::before { content: "Your step"; }
.feed a, .feed button.link { color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.feed button.link { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.feed a:hover, .feed button.link:hover { text-decoration-color: currentColor; }
.feed q { color: var(--muted); font-style: italic; }
.map.live { aspect-ratio: auto; height: min(82vh, 900px); }
.map.live > img, .map.live > .outline-svg { display: none; }
.gmap { position: absolute; inset: 0; }
.map-toggle { position: absolute; z-index: 5; top: 10px; left: 10px; font: 700 16px var(--f-display); color: #1d2320; background: #fff;
  border: 0; border-radius: 8px; padding: 9px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.3); cursor: pointer; }
.map.live.expanded { position: fixed; inset: 0; z-index: 50; height: auto; border-radius: 0; border: 0; }
.map.expanded .map-toggle { top: calc(env(safe-area-inset-top, 0px) + 10px); left: calc(env(safe-area-inset-left, 0px) + 10px); }
html.map-open, html.map-open body { overflow: hidden; }
@media (max-width: 900px) { .map.live { height: 62vh; } }
button.chk { cursor: pointer; padding: 0; }
/* Bigger invisible tap targets for fingers, without changing how markers look. */
.chk::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; }
.pin::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
button.chk:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.score-line { display: flex; align-items: center; gap: 6px; }
.score-line b { font: 800 18px var(--f-display); }
.info-btn { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--muted); background: transparent; color: var(--muted); padding: 0;
  font: italic 700 13px/1 Georgia, serif; cursor: pointer; display: inline-grid; place-items: center; }
.info-btn[aria-expanded="true"], .info-btn:hover { border-color: var(--sign); color: var(--sign); }
.info-btn:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
.info-pop { margin: 8px 0 4px; font-size: 15px; line-height: 1.5; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 10px 12px; max-width: 62ch; }
.info-pop b { color: var(--ink); }
.kit { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 12px; }
.kit h3 { font-size: 19px; }
.kit ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 15px; }
.kit label { display: grid; gap: 4px; font-size: 15px; font-weight: 600; }
.kit textarea { font: 400 16px/1.45 var(--f-body); padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--ink); max-width: 100%; resize: vertical; }
.kit input[type=text], .kit input[type=email], .kit input[type=number] { font: 400 16px var(--f-body); padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--bg); color: var(--ink); max-width: 100%; }
.kit .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.kit .check input { margin-top: 3px; }
.kit .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kit .err { color: var(--need); font-size: 15px; min-height: 18px; }
.kit .next { display: grid; gap: 6px; font-size: 15px; }
.kit .next div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 460px) { .kit .two { grid-template-columns: minmax(0, 1fr); } }
.sources { font-size: 15px; color: var(--muted); margin-top: 22px; max-width: 90ch; }
.sources a { color: inherit; }
@media (max-width: 900px) {
  .main { grid-template-columns: minmax(0, 1fr); }
  .mapcol { position: static; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 460px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pin { width: 34px; height: 34px; font-size: 15px; }
  .chk { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: no-preference) { .pin { transition: transform .15s; } .pin:hover { transform: translate(-50%, -50%) scale(1.12); } }

/* Citywide additions */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 600 16px var(--f-display); color: var(--muted); margin: -6px 0 14px; }
.crumbs a { color: var(--sign); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span.sep { color: var(--line); }
#map-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); font-size: 16px; }
.side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.side .panel { padding: 14px 18px; }
.side h3.ph { font-size: 18px; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.side h3.ph span { font: 400 15px var(--f-body); color: var(--muted); }
.rows-list { display: grid; }
.rowbtn { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.rowbtn:last-child { border-bottom: 0; }
a.rowbtn, a.item { text-decoration: none; color: inherit; }
.rowbtn.hood { grid-template-columns: minmax(0, 1fr) auto; padding-left: 4px; }
a.rowbtn > span:last-child { color: var(--muted); font-size: 18px; }
.rowbtn:hover { background: var(--need-soft); }
.rowbtn:focus-visible { outline: 3px solid var(--plan); outline-offset: -3px; }
.rowbtn .name { font-weight: 600; font-size: 16px; }
.rowbtn .meta { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hood-num { font: 800 17px/1 var(--f-display); color: var(--need); text-align: center; font-variant-numeric: tabular-nums; }
.hood-num small { display: block; font: 600 13px var(--f-body); color: var(--muted); margin-top: 2px; }
.search { width: 100%; font: 400 17px var(--f-body); padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); margin-bottom: 8px; }
.more-rows { margin-top: 8px; }
.dot { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: var(--need); border: 1px solid #fff;
  padding: 0; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.dot::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.pin.city { width: 28px; height: 28px; font-size: 12.5px; border-width: 2px; }
@media (max-width: 600px) { .pin.city { width: 24px; height: 24px; font-size: 11px; } .dot { width: 8px; height: 8px; } }
.preview { border: 2px solid var(--need); }
.riskbox { border: 2px solid var(--line); border-radius: 12px; padding: 14px; margin: 8px 0 14px; }
.riskbox .wait-label { margin-bottom: 6px; }
.riskbox .big { font: 800 26px/1.1 var(--f-display); margin-bottom: 6px; }
.risk-very { color: var(--need); } .risk-risky { color: var(--diy); } .risk-mod { color: var(--plan); }
.tabs { display: flex; gap: 6px; padding: 12px 18px 0; border-bottom: 1px solid var(--line); }
.tab { font: 700 16px var(--f-display); color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent;
  padding: 6px 4px 8px; margin-right: 12px; cursor: pointer; }
.tab.on { color: var(--ink); border-bottom-color: var(--need); }
.tab:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
.tab-note { margin: 0; padding: 8px 18px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
.tab-note a { color: var(--sign); }
.list .more-rows { margin: 10px 18px 14px; }
.points { margin: 0 0 10px; }
.cp-head .eyebrow a { color: inherit; }
.factors { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 16px; }
.factors + h2 { margin-top: 20px; }
.how { max-width: 72ch; }
.how h2 { font-size: 26px; margin-bottom: 4px; }
.how section { margin-top: 22px; scroll-margin-top: 16px; }
.how h3 { font-size: 19px; margin-bottom: 6px; }
.how p { margin: 0 0 10px; }
.how a { color: var(--sign); }
/* SDOT progress page: stat tiles, a bar chart of crossings per year, and a one-square-per-crosswalk chart of new vs repainted. */
.prog { max-width: 820px; --ctx: #d5d9d3; }
:root[data-theme="dark"] .prog { --ctx: #3c443f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prog { --ctx: #3c443f; } }
.prog .lead { font-size: 19px; max-width: 62ch; }
.prog .stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 16px 0 6px; }
.prog .stat b { font-size: 30px; }
.prog figure { margin: 10px 0 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 12px; }
.prog figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.badge { display: inline-block; font: 600 12px/1 var(--f-data); letter-spacing: .06em; text-transform: uppercase; border-radius: 4px;
  padding: 3px 5px; vertical-align: 2px; color: var(--plan); background: var(--plan-soft); white-space: nowrap; }
.badge.gap { color: var(--need); background: var(--need-soft); }
.stat .badge { margin-top: 6px; }
.bplot { position: relative; height: 220px; margin: 22px 0 0 30px; }
.bplot .gl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.bplot .gl span { position: absolute; right: calc(100% + 6px); top: -9px; font: 13px var(--f-data); color: var(--muted); }
.bplot .gl.zero { border-top-color: var(--muted); }
.bcols { position: absolute; inset: 0; display: flex; gap: 2px; }
.bcol { flex: 1; position: relative; outline: none; cursor: default; }
.bcol i { position: absolute; left: 14%; right: 14%; bottom: 0; background: var(--ok); border-radius: 4px 4px 0 0; }
.bcol:hover i, .bcol:focus-visible i { filter: brightness(1.15); }
.bcol:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; border-radius: 4px; }
.bcol .bv { position: absolute; left: 0; right: 0; text-align: center; font: 700 15px var(--f-display); font-variant-numeric: tabular-nums; }
.bcol .by { position: absolute; left: 0; right: 0; top: calc(100% + 6px); text-align: center; font: 13px var(--f-data); color: var(--muted); }
.byears { height: 26px; }
@media (max-width: 600px) { .bcol .by { font-size: 11px; } .bcol .by.odd { visibility: hidden; } }
.waffle { display: grid; grid-template-columns: repeat(auto-fill, 9px); gap: 2px; margin-top: 12px; }
.waffle span { width: 9px; height: 9px; border-radius: 2px; background: var(--ctx); }
.waffle span.new { background: var(--ok); }
@media (max-width: 600px) { .waffle { grid-template-columns: repeat(auto-fill, 7px); } .waffle span { width: 7px; height: 7px; } }
.wkey { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }
.wkey i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 7px; vertical-align: -1px; }
.prog ul.caveats { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.prog details { margin-top: 8px; font-size: 16px; }
.prog summary { cursor: pointer; color: var(--sign); font-weight: 600; }
.prog table { border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.prog th, .prog td { padding: 4px 14px 4px 0; text-align: right; border-bottom: 1px solid var(--line); }
.prog th:first-child, .prog td:first-child { text-align: left; }
.ptip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: var(--bg); font: 600 15px var(--f-body);
  padding: 6px 10px; border-radius: 6px; max-width: 260px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.site-foot { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 16px var(--f-display); }
.site-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--sign); }
.site-foot .copy { margin-left: auto; color: var(--muted); font-weight: 400; }
.link { font: 600 15px var(--f-body); color: var(--sign); }
.dot.faint { width: 9px; height: 9px; opacity: .45; background: #8b928d; }
.map-chip { position: absolute; z-index: 5; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 10px; align-items: baseline;
  background: #fff; color: #1d2320; text-decoration: none; border-radius: 999px; padding: 9px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font: 600 16px var(--f-display); white-space: nowrap; max-width: calc(100% - 24px); }
.map-chip b { font-weight: 800; font-size: 17px; }
.map-chip span { color: #4d5550; font-size: 15px; }
.map-chip em { font-style: normal; color: #1f5f3a; font-weight: 800; }
.map-chip:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; }
@media (max-width: 420px) { .map-chip span { display: none; } }
.flyer-view { background: #e8e6e1; border-radius: 10px; padding: 16px; }
.flyer-sheet { position: relative; width: 100%; aspect-ratio: 8.5 / 11; max-width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); overflow: hidden; }
.flyer-sheet iframe { position: absolute; left: 0; top: 0; width: 816px; height: 1056px; border: 0; transform-origin: 0 0; }
.flyer-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; font: 600 15px var(--f-display); color: #3c4540; }
.flyer-bar .file { display: flex; gap: 8px; align-items: center; }
.flyer-bar .file::before { content: "PDF"; font: 800 10px var(--f-data); color: #fff; background: #c8261d; border-radius: 3px; padding: 2px 5px; }
