    :root {
      --blue: #003DA5;
      --red: #C8102E;
      --ink: #041E42;
      --white: #FFFFFF;
      --primary: var(--blue);
      --secondary: var(--red);
      --success: #00843D;
      --warning: #E87722;
      --danger: var(--red);
      --noise: #00A499;
      --surface: var(--white);
      --text: var(--ink);
      --on-field: var(--white);
      --neutral: var(--white);
      --line: 3px solid var(--ink);
      --shadow: 4px 4px 0 #001028;
      --radius: 8px;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: Inter, sans-serif;
      font-size: 15px;
      line-height: 1.45;
      color: var(--on-field);
      background: var(--blue);
      min-height: 100vh;
      padding-top: env(safe-area-inset-top);
      padding-bottom: env(safe-area-inset-bottom);
    }
    button, input, select { font: inherit; color: var(--ink); }
    :focus-visible {
      outline: 3px solid var(--secondary);
      outline-offset: 2px;
    }
    .wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
    header { padding: 32px 0 16px; }
    .eyebrow {
      margin: 0 0 12px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    h1 {
      display: inline-block;
      margin: 0;
      padding: 8px 12px;
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-size: 35px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--ink);
    }
    h1 span { color: var(--red); }
    .dek {
      max-width: 40rem;
      margin: 16px 0 0;
      font-size: 17px;
      font-weight: 500;
    }
    form {
      display: grid;
      grid-template-columns: 1fr 140px auto;
      gap: 12px;
      margin-top: 24px;
      position: relative;
    }
    form.names { grid-template-columns: 1fr auto; }
    label.sr, label {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
    }
    .field { position: relative; }
    .field input { width: 100%; padding-right: 56px; }
    #locate {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      padding: 0;
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      cursor: pointer;
    }
    #locate:hover { background: var(--blue); color: var(--white); }
    #locate:disabled { cursor: wait; }
    input, select {
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 12px 16px;
    }
    input:hover, select:hover { background: #fff; }
    button[type="submit"] {
      background: var(--secondary);
      color: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 12px 16px;
      font-weight: 800;
      cursor: pointer;
    }
    button[type="submit"]:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--text); }
    button[type="submit"]:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--text); }
    button[type="submit"]:disabled { cursor: wait; transform: none; }
    .suggest {
      position: absolute;
      z-index: 1000;
      top: 64px;
      left: 0;
      right: 280px;
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .suggest button {
      display: block;
      width: 100%;
      text-align: left;
      background: var(--surface);
      border: 0;
      border-bottom: var(--line);
      border-radius: 0;
      box-shadow: none;
      padding: 12px 16px;
      cursor: pointer;
      font-weight: 600;
    }
    .suggest button:last-child { border-bottom: 0; }
    .suggest button:hover, .suggest button:focus { background: var(--blue); color: var(--white); }
    .suggest small {
      display: block;
      margin-top: 4px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 500;
    }
    .chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px; }
    .chips button, .choices button {
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 8px 12px;
      font-weight: 700;
      cursor: pointer;
    }
    .chips button:hover, .choices button:hover,
    .legend button:hover, .stats button:hover, .card:hover {
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 var(--text);
    }
    .chips button:active, .choices button:active,
    .legend button:active, .stats button:active, .card:active {
      transform: translate(4px, 4px);
      box-shadow: 0 0 0 var(--text);
    }
    #map {
      height: 416px;
      margin: 16px 0;
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    #map[hidden] { display: none; }
    .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 0 0 16px;
    }
    .legend button {
      display: inline-flex;
      align-items: center;
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 8px 12px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
    .legend button.on, .stats button.on {
      background: var(--red);
      color: var(--white);
    }
    button.kicker.on {
      background: var(--white);
      color: var(--red);
    }
    .legend i {
      display: inline-block;
      width: 12px;
      height: 12px;
      margin-right: 8px;
      border: 2px solid var(--text);
      vertical-align: -1px;
    }
    .layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 24px;
      align-items: start;
      padding-bottom: 32px;
    }
    .lede {
      margin: 16px 0 12px;
      font-size: 21px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }
    .glance { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
    .glance-place {
      margin: 0;
      font-size: 27px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--white);
    }
    .glance .fine { margin: 4px 0 0; }
    .pulse {
      min-width: 132px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 12px 16px;
    }
    .pulse span {
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--white);
    }
    .pulse b { display: block; margin-top: 4px; font-size: 21px; font-weight: 800; line-height: 1; color: var(--white); }
    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
      gap: 12px;
      width: 100%;
      margin: 16px 0 0;
      padding: 0;
      list-style: none;
    }
    .stats li { margin: 0; padding: 0; }
    .stats button, .stats .stat {
      display: block;
      width: 100%;
      min-height: 76px;
      background: var(--white);
      color: var(--ink);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 8px 12px;
      text-align: left;
      cursor: pointer;
    }
    .stats .stat { cursor: default; }
    .stats button strong, .stats button span,
    .stats .stat strong, .stats .stat span { color: inherit; }
    .stats button[data-kind="business"] { border-top: 8px solid var(--success); }
    .stats button[data-kind="rising"], .stats button[data-kind="homes"] { border-top: 8px solid var(--warning); }
    .stats button[data-kind="demo"] { border-top: 8px solid var(--danger); }
    .stats button[data-kind="noise"] { border-top: 8px solid var(--noise); }
    .stats button[data-kind="event"] { border-top: 8px solid var(--blue); }
    .stats button[data-kind="proposal"], .stats button[data-kind="all"] { border-top: 8px solid var(--ink); }
    .open-note {
      margin: 16px 0 0;
      padding: 12px 16px;
      background: var(--white);
      color: var(--ink);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .open-note p { margin: 0; color: var(--ink); font-size: 15px; }
    .open-note strong { display: block; margin-top: 8px; font-size: 17px; }
    .flag {
      display: inline-block;
      padding: 4px 8px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: 4px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .filter-line { margin: 12px 0 0; font-size: 15px; }
    .filter-line button {
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 4px 8px;
      font-weight: 800;
      cursor: pointer;
    }
    .stats strong { display: block; font-size: 27px; font-weight: 800; line-height: 1; }
    .stats span {
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 500;
    }
    .fine { margin: 12px 0 0; font-size: 15px; }
    section { margin-top: 24px; }
    section h2 {
      margin: 0 0 8px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    section .section-note { margin: 0 0 12px; font-size: 15px; }
    .card, .ad {
      background: var(--surface);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 8px 12px;
      margin: 0 0 8px;
    }
    .card { cursor: pointer; color: var(--ink); }
    .card h3, .ad h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
    .kicker, .where, .when, .detail, .extra { margin: 0; }
    .kicker {
      display: inline-block;
      margin: 0 4px 4px 0;
      padding: 2px 6px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: 4px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
    }
    .where, .when { font-size: 13px; }
    .where a.place, .open-note a.place {
      color: var(--ink);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
    }
    .detail, .extra { margin-top: 4px; font-size: 13px; }
    .tone-eat, .tone-laneway { border-top: 4px solid var(--success); }
    .tone-fun, .tone-noise { border-top: 4px solid var(--noise); }
    .tone-shop, .tone-condo, .tone-multiplex, .tone-house { border-top: 4px solid var(--warning); }
    .tone-demo { border-top: 4px solid var(--danger); }
    .tone-service, .tone-project, .tone-patio { border-top: 4px solid var(--text); }
    .tone-event { border-top: 4px solid var(--blue); }
    .tone-proposal { border-top: 4px solid var(--ink); }
    .tone-opening { border-top: 4px solid var(--warning); }
    .shot { display: block; width: calc(100% + 24px); height: 72px; object-fit: cover; margin: -8px -12px 8px; border-bottom: var(--line); }
    .answer {
      display: block;
      width: 100%;
      margin-top: 8px;
      padding: 6px 8px;
      font-size: 13px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: 4px;
      box-shadow: 3px 3px 0 var(--ink);
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }
    .card.open .answer { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
    .slip { margin-top: 12px; padding-top: 12px; border-top: var(--line); }
    .slip[hidden] { display: none; }
    .slip p { margin: 0 0 8px; font-size: 15px; }
    .slip a.place, .slip a.mail {
      color: var(--ink);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .slip a.place.go { display: block; }
    .slip .cta { margin: 8px 8px 0 0; }
    .ad {
      background: var(--surface);
      color: var(--text);
    }
    .ad h3, .ad .detail, .ad .brand { color: var(--text); }
    .ad-flag {
      display: inline-block;
      margin: 0 0 8px;
      padding: 4px 8px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: 4px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .adsbygoogle { display: block; min-height: 120px; }
    .brand { margin: 8px 0 0; font-weight: 800; }
    .cta {
      display: inline-block;
      margin-top: 12px;
      padding: 4px 8px;
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: 4px;
      box-shadow: 4px 4px 0 var(--text);
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
    }
    .side { position: sticky; top: 16px; }
    .more {
      margin: 4px 0 8px;
      font-family: "JetBrains Mono", ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
    }
    button.load {
      margin-left: 8px;
      padding: 8px 12px;
      background: var(--white);
      color: var(--ink);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-weight: 800;
      cursor: pointer;
    }
    button.load:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
    button.load:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
    .status {
      display: inline-block;
      margin: 12px 0 0;
      padding: 8px 12px;
      background: var(--white);
      color: var(--red);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-weight: 800;
    }
    .choices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
    footer {
      border-top: var(--line);
      padding: 16px 0 32px;
      font-size: 13px;
      line-height: 1.5;
    }
    .leaflet-popup-content-wrapper, .leaflet-popup-tip {
      background: var(--surface);
      color: var(--text);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .leaflet-popup-content-wrapper { border: var(--line); }
    .leaflet-popup-content { margin: 12px 16px; font-family: Inter, sans-serif; font-size: 15px; }
    .leaflet-container { font-family: Inter, sans-serif; background: var(--surface); }
    @media (max-width: 800px) {
      form { grid-template-columns: 1fr; }
      .suggest { right: 0; top: auto; }
      #map { height: 320px; }
      .layout { display: grid; grid-template-columns: 1fr; }
      .side { position: static; }
      button[type="submit"] { min-height: 48px; }
    }

    .nav { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
    .nav-links { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
    .nav a {
      display: inline-block;
      padding: 8px 12px;
      background: var(--surface);
      color: var(--text);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-weight: 800;
      text-decoration: none;
    }
    .nav a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--text); }
    .nav a.mark {
      margin-left: auto;
      padding: 0;
      line-height: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
    }
    .nav a.mark:hover { transform: none; box-shadow: none; }
    .nav a.mark img { display: block; width: 44px; height: 44px; }
    .guide { margin: 8px 0 32px; }
    .prose { max-width: 44rem; }
    .prose h2 { margin: 24px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
    .prose p, .prose li { font-size: 17px; margin: 0 0 16px; }
    .prose ul { margin: 0 0 16px; padding-left: 24px; }
    .page-title { margin-bottom: 16px; }
    .consent[hidden] { display: none; }
    .consent {
      position: sticky;
      bottom: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin: 0 -16px;
      padding: 16px;
      background: #001028;
      color: var(--white);
      border-top: var(--line);
    }
    .consent p { margin: 0; flex: 1 1 240px; font-size: 15px; }
    .consent a { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
    .consent button {
      background: var(--red);
      color: var(--white);
      border: var(--line);
      border-radius: var(--radius);
      box-shadow: none;
      padding: 8px 12px;
      font-weight: 800;
      cursor: pointer;
    }
    .consent button.no { background: var(--white); color: var(--ink); }
    .prose a, footer a { color: var(--white); font-weight: 800; }
    footer a { text-decoration: underline; text-underline-offset: 3px; }
    @media (max-width: 800px) {
      header { padding-top: 16px; }
    }

