:root {
  /* NYT / print-editorial. White page, black ink, serif headlines, big photos.
     Beauty comes from TYPE + PHOTOGRAPHY — not boxes, shadows, gradients or color. */
  --paper: #ffffff;
  --ink: #121212;
  --ink-2: #333333;
  --gray: #666666;
  --faint: #999999;
  --rule: #e2e2e2;
  --rule-strong: #121212;
  --tile: #f2f2f2;
  --link: #326891;            /* single restrained NYT-style link blue */
  --serif: 'Fraunces', Georgia, 'Times New Roman', Times, serif;
  --body: Georgia, 'Times New Roman', Times, serif;
  --sans: 'Inter', Helvetica, Arial, sans-serif;
  --maxw: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; font-family: var(--sans); font-size: 14px; z-index: 10; }
.skip:focus { left: 0; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 120px; }

/* masthead / nav — understated section bar, like a paper's top strip */
.masthead { padding: 16px 0 12px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 26px; }
.nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; font-family: var(--sans); }
.navlink { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); padding: 2px 0; }
.navlink:hover { color: var(--ink); text-decoration: none; }
.navlink.on { color: var(--ink); }
.navlink.home { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 26px; font-weight: 600; color: var(--ink); margin-right: 10px; }

/* lede — section front headline + standfirst */
.lede { margin: 4px 0 36px; max-width: 38ch; }
.lede .week { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-bottom: 14px; }
.lede h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 6vw, 58px); line-height: 1.04; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.lede .intro { font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 18px 0 0; max-width: 60ch; }
.lede .weather { font-family: var(--sans); font-size: 14px; color: var(--gray); margin: 16px 0 0; max-width: 60ch; }

/* front page: compact dateline header — the cards, not the headline, are the page */
.lede-front { margin: 0 0 24px; max-width: none; }
.lede-front .dateline { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lede-front h1 { font-size: 21px; line-height: 1.2; }
.lede-front .week { margin-bottom: 0; }
.lede-front .standfirst { font-family: var(--serif); font-size: 16.5px; line-height: 1.45; color: var(--ink-2); margin: 7px 0 0; max-width: 70ch; }
.lede-front .weather { margin: 4px 0 0; font-size: 13.5px; max-width: 70ch; }
.muted { color: var(--gray); }

/* hero — lead story, big image, serif head under it */
.hero { margin: 0 0 16px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.hero-kicker, .section-label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-strong); }
.hero-card { display: block; }
.hero-card .img { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.hero-body { max-width: 60ch; }
.hero-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 40px); line-height: 1.08; margin: 0 0 12px; letter-spacing: -.01em; }
.hero-body h2 a { color: var(--ink); }
.hero-body h2 a:hover { color: var(--ink); }
.hero-body p { font-size: 19px; color: var(--ink-2); margin: 0; }

/* sections + grid */
.block { margin: 40px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; }

/* cards — photo on top, serif headline, one line meta, a sentence. No box. */
.card { display: flex; flex-direction: column; min-width: 0; }
.card .img { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.img { position: relative; width: 100%; overflow: hidden; background: var(--tile); }
.img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* understated flat placeholder — small serif monogram on light gray, hairline frame */
.img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 34px; font-weight: 600; color: #cfcfcf;
  background: var(--tile); border: 1px solid var(--rule); }
.imgtag { position: absolute; left: 0; top: 0; z-index: 2; background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.cbody { min-width: 0; }
.cname { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.18; margin: 0 0 5px; letter-spacing: -.005em; }
.cname a { color: var(--ink); }
.cname a:hover { color: var(--ink); }
.cmeta { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-bottom: 8px; }
.dot { color: var(--faint); margin: 0 6px; }
.take { font-size: 16.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.desc { font-size: 16px; color: var(--gray); margin: 0; line-height: 1.5; }

/* browse — plain text links, comma-list feel, not buttons */
.browse { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.browse-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.chip { display: inline-flex; align-items: baseline; gap: 7px; padding: 0; background: none; border: 0; border-radius: 0;
  font-family: var(--sans); font-size: 14px; color: var(--ink); }
.chip span { color: var(--faint); }
.chip:hover { color: var(--link); text-decoration: underline; }

/* warming / empty */
.warming { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0; color: var(--gray); font-size: 17px; margin: 0 0 40px; }
.warming p { margin: 0 0 8px; }

/* heat-day strip + next-election block — one strong rule, no boxes */
.hotday { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 14px 0; margin: 0 0 34px; }
.hotday-line { margin: 0; font-size: 17px; }
.nextvote { border-top: 3px solid var(--ink); padding: 14px 0 4px; margin-bottom: 20px; }
.nextvote-line { margin: 0 0 8px; font-size: 18px; }
.nextvote .civic-note { margin-top: 4px; }

/* compact place rows (image-less entries) — a directory list, not empty tiles */
.prowlist { list-style: none; padding: 0; margin: 0; column-width: 320px; column-gap: 48px; }
.prow { padding: 10px 0; border-top: 1px solid var(--rule); break-inside: avoid; display: block; }
.prow-name { font-family: var(--serif); font-weight: 600; font-size: 18px; display: block; }
.prow-name a { color: var(--ink); }
.prow .cmeta { margin: 1px 0 0; display: block; }
.prow-take { display: block; font-size: 15px; color: var(--gray); margin-top: 3px; line-height: 1.45; }
.rowlabel { margin-top: 44px; }
.dayblock { margin-top: 34px; }

/* city desk — news lists + hairline tables, same ink-and-rules system */
.newslist { list-style: none; padding: 0; margin: 0; }
.newsrow { padding: 14px 0; border-top: 1px solid var(--rule); }
.newsrow:first-child { border-top: 0; }
.newshead { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; margin-bottom: 4px; }
.newshead a { color: var(--ink); }
.newsrow .desc { margin-top: 6px; }
.morelink { font-family: var(--sans); font-size: 14px; margin: 14px 0 0; }
.projrow { padding: 14px 0; border-top: 1px solid var(--rule); }
.projrow:first-child { border-top: 0; }
.projrow .t-strong { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.projrow .cmeta { margin: 3px 0 0; }
.projrow .desc { margin-top: 5px; }

.tblwrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); font-weight: 500; padding: 0 16px 8px 0; border-bottom: 1px solid var(--rule-strong); }
.tbl td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .t-strong { color: var(--ink); font-weight: 600; }
.tbl .t-strong a { color: var(--ink); }
.t-sub { display: block; font-size: 12.5px; color: var(--faint); font-weight: 400; margin-top: 1px; }
.t-role { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--gray); font-weight: 500; margin-left: 6px; }
.t-num, .tbl th.t-num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.tbl-tight td { padding-top: 7px; padding-bottom: 7px; }

.t-label { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-bottom: 8px; }
.asof { float: right; font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--faint); font-weight: 400; }
.civic-kicker { font-family: var(--sans); font-size: 14px; color: var(--gray); margin: -6px 0 18px; }
.civic-note { margin-top: 16px; font-size: 15px; }
.civic-note .inlinelist { list-style: none; padding: 0; margin: 4px 0 8px; font-family: var(--sans); font-size: 14.5px; line-height: 1.9; }
.civic-note p { margin: 4px 0 0; font-family: var(--sans); font-size: 13.5px; }
.paygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 40px; }

/* council — portrait cards for the sitting council, same ink-and-rules system */
.councilgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 36px; }
.ccard { min-width: 0; }
.cportrait { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); margin-bottom: 12px; }
.cportrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cportrait .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 34px; font-weight: 600; color: #cfcfcf;
  background: var(--tile); border: 1px solid var(--rule); }
.ccard .cname { font-size: 20px; margin-bottom: 2px; }
.crole { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 6px; }
.ccard .cmeta { display: block; margin-bottom: 3px; }
.ballot { display: inline-block; font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 3px; margin-top: 4px; }
.cbio { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 8px 0 0; }
.cwrite { font-family: var(--sans); font-size: 13px; margin-top: 8px; }
.lean { display: inline-block; font-size: 10px; letter-spacing: .06em; color: var(--gray); border: 1px solid var(--rule); padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }

/* the field — candidate columns per district */
.racegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 40px; }
.race .t-label { margin-bottom: 2px; }
.candlist { list-style: none; padding: 0; margin: 0; }
.candrow { padding: 8px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 15px; }
.civic-sources p { font-family: var(--sans); font-size: 13.5px; line-height: 1.7; margin: 0; }

/* footer */
.foot { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--rule-strong); font-family: var(--sans); font-size: 13px; color: var(--gray); line-height: 1.7; }
.foot .by { color: var(--ink); margin: 0 0 4px; }
.foot b { color: var(--ink); font-weight: 600; }

@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card .img { aspect-ratio: 3 / 2; }
}

/* ── /map — the whole town on one screen, in the paper's own language ────────── */
.mappage { height: 100dvh; overflow: hidden; }
.mappage #map { position: fixed; inset: 52px 0 0 0; background: #f6f5f2; }
.mappage #map.crosshair { cursor: crosshair; }
.mapbar { position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 1100; display: flex; align-items: center; gap: 12px;
  padding: 0 14px; background: var(--paper); border-bottom: 1px solid var(--rule-strong); overflow-x: auto; scrollbar-width: none; }
.mapbar::-webkit-scrollbar { display: none; }
.mapword { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); flex: none; }
.mapword:hover { text-decoration: none; }
.mapname { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); flex: none; border-left: 1px solid var(--rule); padding-left: 12px; }
/* layer toggles in the masthead's own language: uppercase sans text links,
   ink underline when on — no pills, no web-app chrome */
.mapchips { display: flex; gap: 4px 18px; margin-left: auto; }
.mapchip { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--sans); font-size: 12px;
  text-transform: uppercase; letter-spacing: .07em; padding: 4px 0 2px; background: none; border: 0;
  border-bottom: 2px solid transparent; color: var(--gray); cursor: pointer; }
.mapchip span { color: var(--faint); text-transform: none; }
.mapchip:hover { color: var(--ink); }
.mapchip.on { color: var(--ink); border-bottom-color: var(--ink); }
.mapchip.on span { color: var(--ink); }

/* markers: ink dots with category glyphs — the site's own iconography */
.mk { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 11px; line-height: 1; border: 1.5px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.mk-dim { opacity: .55; }
.mk-events { background: #8a2f2f; }
.mk-outdoors { background: #2f5d3a; }
.mk-drink { background: #5a4630; }
.mk-shops { background: #44406b; }
.mk-fire { background: #b32d2d; width: 24px; height: 24px; font-size: 12px; }
.mkn { position: absolute; top: -7px; right: -8px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  border-radius: 999px; min-width: 15px; height: 15px; font: 600 9.5px/13px var(--sans); font-style: normal; text-align: center; padding: 0 2px; }
.dlabel { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink); color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 14px; }

/* popups: an editorial card, not a speech bubble */
.editpop .leaflet-popup-content-wrapper { background: var(--paper); color: var(--ink); border-radius: 2px; border: 1px solid var(--rule-strong); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.editpop .leaflet-popup-content { margin: 0; width: 260px !important; }
.editpop .leaflet-popup-tip { background: var(--paper); border: 1px solid var(--rule-strong); }
.mpop img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.mpop h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2; margin: 10px 12px 2px; }
.mpop h3 a { color: var(--ink); }
.mpop .mmeta { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); margin: 0 12px 4px; }
.mpop p { font-family: var(--body); font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 4px 12px 12px; }
.mevlist { list-style: none; margin: 6px 0 12px; padding: 0 12px; }
.mevlist li { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 13px; line-height: 1.35; }
.mevlist li:first-child { border-top: 0; }
.mevd { flex: none; min-width: 78px; color: var(--gray); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding-top: 1px; }
.mevlist a { color: var(--ink); }
.mevmore { color: var(--faint); }

/* the side panel: district / parcel cards */
.mappanel { position: fixed; top: 64px; right: 12px; z-index: 1200; width: min(340px, calc(100vw - 24px));
  max-height: calc(100dvh - 88px); overflow-y: auto; background: var(--paper); border: 1px solid var(--rule-strong);
  box-shadow: 0 6px 24px rgba(0,0,0,.16); padding: 16px 18px 14px; }
.pclose { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 22px; color: var(--gray); cursor: pointer; line-height: 1; }
.plabel { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 6px; margin-bottom: 10px; padding-right: 20px; }
.pballot { color: #8a2f2f; }
.pmember { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.pmember img { width: 64px; height: 80px; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.pmember h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 2px; line-height: 1.15; }
.pmeta { font-family: var(--sans); font-size: 12px; color: var(--gray); }
.plean { border: 1px solid var(--rule); padding: 0 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.pbio { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 8px 0; }
.pfacts { margin: 10px 0 0; }
.pfacts dt { font-family: var(--sans); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-top: 8px; }
.pfacts dd { margin: 1px 0 0; font-size: 15px; }
.psub { font-family: var(--sans); font-size: 11px; color: var(--faint); }
.pact, .pmore { font-family: var(--sans); font-size: 13.5px; margin: 12px 0 0; }
.parcelhint { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 1200;
  background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12.5px; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 640px) {
  .mappanel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 55dvh; border-left: 0; border-right: 0; border-bottom: 0; }
}

/* about — stat row, newspaper agate style */
.factrow { display: flex; flex-wrap: wrap; gap: 18px 44px; border-top: 1px solid var(--rule); padding: 16px 0 10px; }
#numbers .factrow:first-of-type { border-top: 3px solid var(--ink); }
.fact { display: flex; flex-direction: column; }
.fnum { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.flabel { font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); margin-top: 3px; }
.mapinvite { font-family: var(--sans); font-size: 15px; margin: 18px 0 0; }

/* ── feedback widget — a quiet editorial tab, bottom right ───────────────────── */
.fb { position: fixed; right: 16px; bottom: 16px; z-index: 1500; font-family: var(--sans); }
.fb-tab { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .02em; padding: 8px 14px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.10); }
.fb-tab:hover { background: var(--ink); color: #fff; }
.fb-panel { position: absolute; right: 0; bottom: 44px; width: min(330px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: 0 6px 24px rgba(0,0,0,.16);
  padding: 14px 16px 12px; }
.fb-head { font-family: var(--serif); font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 7px; margin-bottom: 10px; }
.fb-l { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--gray); margin: 9px 0 0; }
.fb-opt { text-transform: none; letter-spacing: 0; color: var(--faint); }
.fb-l select, .fb-l input, .fb-l textarea { display: block; width: 100%; margin-top: 4px; padding: 7px 8px;
  font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 0; }
.fb-l textarea { resize: vertical; line-height: 1.45; }
.fb-l :focus { border-color: var(--ink); outline: none; }
.fb-hp { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.fb-send { margin-top: 12px; width: 100%; background: var(--ink); color: #fff; border: 0; padding: 9px 0;
  font-family: var(--sans); font-size: 13.5px; letter-spacing: .03em; cursor: pointer; }
.fb-send:disabled { opacity: .6; }
.fb-thanks { font-size: 14.5px; color: var(--ink-2); margin: 4px 0 2px; }
@media print { .fb { display: none; } }

/* pulse — live signals */
.mk-chp { background: #a05a00; font-weight: 700; }
.mk-quake { border: 2px solid #8a5a2f; border-radius: 50%; background: rgba(138,90,47,.12); }
.alertbar { position: fixed; top: 52px; left: 0; right: 0; z-index: 1090; background: #8a2f2f; color: #fff;
  font-family: var(--sans); font-size: 13px; padding: 6px 16px; text-align: center; }
.pulsestat { position: fixed; left: 12px; bottom: 12px; z-index: 1090; background: var(--paper);
  border: 1px solid var(--rule); font-family: var(--sans); font-size: 12px; color: var(--gray); padding: 6px 12px; }

/* address lookup + you-are-here */
.addrbox { position: fixed; top: 64px; left: 12px; z-index: 1090; display: flex; width: min(340px, calc(100vw - 24px));
  background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: 0 2px 10px rgba(0,0,0,.10); }
.addrbox input { flex: 1; border: 0; padding: 9px 12px; font-family: var(--sans); font-size: 13.5px; color: var(--ink); background: none; }
.addrbox input:focus { outline: none; }
.addrbox button { border: 0; background: var(--ink); color: #fff; padding: 0 14px; font-size: 15px; cursor: pointer; }
.mk-you { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); font-size: 14px; }
.mk-watch { background: #445a6b; font-size: 10px; }

/* /cal — the plain-text calendar */
.calday { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 26px 0 6px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 5px; }
.callist { list-style: none; margin: 0; padding: 0; }
.callist li { padding: 6px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.callist li:first-child { border-top: 0; }

/* map modes — three questions, not a layer console */
.mapsearch { display: flex; flex: 1 1 200px; max-width: 340px; border: 1px solid var(--rule); margin: 0 6px; }
.mapsearch input { flex: 1; min-width: 0; border: 0; padding: 6px 10px; font-family: var(--sans); font-size: 13px; color: var(--ink); background: none; }
.mapsearch input:focus { outline: none; }
.mapsearch button { border: 0; background: var(--ink); color: #fff; padding: 0 12px; cursor: pointer; }
.mapmodes { display: flex; gap: 18px; margin-left: auto; }
.mapmode { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 4px 0 2px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--gray); }
.mapmode:hover { color: var(--ink); }
.mapmode.on { color: var(--ink); border-bottom-color: var(--ink); }
.subbar { position: fixed; top: 52px; left: 0; right: 0; z-index: 1090; display: flex; gap: 4px 18px; padding: 6px 16px;
  background: var(--paper); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
@media (max-width: 640px) {
  .mapbar { flex-wrap: wrap; height: auto; padding-bottom: 8px; }
  .mappage #map { inset: 92px 0 0 0; }
  .mapsearch { order: 3; flex-basis: 100%; margin: 6px 0 0; }
}

/* the story — three short sourced essays */
.storygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 44px; }
.storyitem h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 14px 0 8px; }
.storyitem p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 10px; }
