@font-face { font-family: Helvena; src: url("/assets/Helvena-Regular-cac2ae4f.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Helvena; src: url("/assets/Helvena-Medium-351ece98.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Helvena; src: url("/assets/Helvena-Semibold-0ce95ad5.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Helvena; src: url("/assets/Helvena-Bold-08fd304e.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
/* Common Record. The mocks are the bar: warm paper, compact ledger rows, one yellow highlighter for "being checked". */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .40 0 0 0 0 .40 0 0 0 0 .40 0 0 0 .75 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-fine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .40 0 0 0 0 .40 0 0 0 0 .40 0 0 0 .4 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --blue: #1c3582; --sky: #bcd3ff; --paper: #eff0ee; --sheet: #fbfbfa; --ground: #eeefed; --band: #e6e7e5;
  --ink: #16191b; --muted: #5a5f63; --rule: #dddedb; --hi: #ffe93b; --onblue: #f2f3f1;
  --display: "Big Shoulders Display", Impact, sans-serif;
  --sans: Helvena, "Helvetica Neue", -apple-system, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --gutter: 24px;
  --sheet-w: clamp(420px, 52vw, 620px);   /* the map keeps about half the screen on tablets; the sheet is full width only from 1192px */
  --card-top: 52svh;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
button { font-family: inherit; }
.visually-hidden { position: absolute; left: -9999px; }

/* ---------- the map is the ground ---------- */
#map { position: fixed; inset: 0; background: var(--paper); touch-action: none; cursor: grab; }
#map.drag { cursor: grabbing; }
#map.over { cursor: pointer; }
#map:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
#map { overflow: hidden; }
#map svg { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; display: block; }
#map #over { z-index: 2; inset: 0; left: 0; top: 0; width: 100%; height: 100%; }   /* the hover layer is screen-sized */
.maptip { z-index: 4; }
/* the canvases reach a quarter-screen past every edge (MARGIN in map_controller.js), so a pan moves land into view, not blank */
#map canvas { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; display: block; pointer-events: none; transform-origin: 0 0; }

/* Parcels, block hulls and neighborhood fills are painted on canvas (map_controller.js); these are the light SVG things above them. */
.close .area-label, .close .area-leader { opacity: 0; }
.area-leader { fill: none; stroke: var(--blue); stroke-opacity: .55; vector-effect: non-scaling-stroke; pointer-events: none; transition: opacity .25s; }
.area-leader.dot { fill: var(--blue); stroke: none; fill-opacity: .8; }
.area-label { font-family: var(--mono); font-weight: 700; font-size: calc(var(--u, 1) * 13px); letter-spacing: .14em; text-transform: uppercase; fill: var(--blue); paint-order: stroke; stroke: var(--sheet); stroke-width: calc(var(--u, 1) * 4px); stroke-linejoin: round; pointer-events: auto; cursor: pointer; text-anchor: middle; transition: opacity .25s; }
.area-label:hover { stroke: var(--hi); stroke-width: calc(var(--u, 1) * 11px); }   /* a yellow highlighter behind the name: it opens the neighborhood */
.close .area-label { pointer-events: none; }

/* what a click on the map would open, beside the cursor */
.maptip { position: absolute; left: 0; top: 0; pointer-events: none; display: grid; gap: 2px; max-width: 380px; padding: 6px 11px 7px; border-radius: 10px; background: var(--ink); color: var(--onblue); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .55); will-change: transform; }
.maptip[hidden] { display: none; }
.maptip b { font: 600 13.5px/1.25 var(--sans); }
.maptip span { font: 400 12.5px/1.3 var(--sans); color: var(--onblue); opacity: .85; }
.maptip span em { font-style: normal; font-weight: 600; color: var(--hi); opacity: 1; white-space: nowrap; }
.street.c1, .street.c2 { fill: var(--ink); }
.outline { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.street { font-family: var(--mono); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); paint-order: stroke; stroke: var(--paper); pointer-events: none; }
.pinmark { pointer-events: none; }

/* ---------- top bar ---------- */
/* desktop: the wordmark on its own line, its letters on the search pill's left edge; the search below it, the lens row below that */
.top { position: fixed; z-index: 5; top: max(14px, env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter); display: flex; flex-direction: column; gap: 6px; align-items: stretch; pointer-events: none; }
.top > .search { flex: none; width: 100%; max-width: 460px; }
@media (min-width: 761px) { body.has-sheet .top { right: calc(var(--sheet-w) + 2 * var(--gutter) + 12px); } }   /* the search never runs under the sheet */
.brand { pointer-events: auto; align-self: flex-start; margin-left: -8px; font: 700 21px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: transparent; color: var(--blue); padding: 6px 8px; border-radius: 3px; white-space: nowrap; text-decoration: none; text-shadow: 0 0 8px var(--paper), 0 0 3px var(--paper), 0 0 1px var(--paper); transition: background .12s; }
.home-btn { display: none; }
.brand:hover, .brand:focus-visible { background: var(--hi); color: var(--blue); text-shadow: none; outline: none; text-decoration: none; }
.search { pointer-events: auto; flex: 0 1 460px; min-width: 0; position: relative; }
.search input { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px 12px 40px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 30px -12px rgba(28, 53, 130, .45); }
.search input:focus, .search input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 3px var(--hi), 0 0 0 4.5px rgba(22, 25, 27, .18), 0 10px 30px -12px rgba(28, 53, 130, .45); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); pointer-events: none; }   /* a tap on the lens reaches the input */
.search .msg { position: absolute; left: 16px; top: calc(100% + 8px); max-width: calc(100vw - 2 * var(--gutter) - 20px); font: 700 11px/1.3 var(--mono); color: var(--ink); background: var(--hi); padding: 4px 7px; border-radius: 3px; }

.zoom { position: fixed; z-index: 4; left: var(--gutter); bottom: var(--gutter); display: flex; flex-direction: column-reverse; gap: 6px; align-items: flex-start; }
.zoom button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font: 700 18px/1 var(--mono); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.zoom button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.key { font: 700 11px/1.35 var(--mono); background: #fff; color: var(--ink); padding: 8px 11px; border-radius: 10px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); max-width: min(340px, 60vw); display: flex; gap: 8px; align-items: center; }
.key:has(#keytxt:empty) { display: none; }
.key i { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }

body { font-family: var(--sans); font-size: 14px; line-height: 1.45; }
a { color: var(--ink); }
#map { background-color: #bdc5d5; background-image: radial-gradient(rgba(40, 52, 80, .16) .55px, transparent .8px); background-size: 2.5px 2.5px; }
.top > .search { max-width: 420px; }
.brand { font-size: 20px; }
.search input { font-family: var(--sans); font-size: 15px; padding: 11px 16px 11px 40px; }

/* ---------- the sheet: plain paper, right side ---------- */
.sheet { position: fixed; z-index: 3; top: 0; bottom: 0; right: 0; width: var(--sheet-w); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; background: var(--ground); box-shadow: 0 30px 60px -30px rgba(22, 25, 27, .45); }
.sheet-in { padding: 22px 24px 30px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.eyerow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.eyebrow { font: 700 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
a.eyebrow:hover { color: var(--blue); }
.asof { font: 11px/1.2 var(--mono); color: var(--muted); }
h1 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 62px; line-height: .86; overflow-wrap: break-word; }
h1.block { font-size: 54px; }
h1 span { display: block; font-size: .5em; line-height: 1.1; color: var(--blue); margin-top: .45em; }
.tabs { display: flex; gap: 24px; }
.tabs a { padding: 6px 0 8px; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.box { position: relative; isolation: isolate; padding: 16px 18px; }
/* every card is a slip of paper: grained, with a printed edge; the fill lives on the slip, so text always sits on paper */
.box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--sheet); filter: url(#riso-edge); box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 8px 18px -14px rgba(22, 25, 27, .35); }
.box.tight { padding: 14px 18px; }
.box h2 { margin: 0 0 8px; font: 700 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.box a { color: var(--blue); }
.muted, .small { font-size: 11.5px; color: var(--muted); }
.small a { color: var(--blue); }
mark, .mark { background: var(--hi); color: var(--ink); padding: 0 4px; }

/* conditions: first period, latest period, trend */
.cond { display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px 92px; gap: 0; font-size: 13.5px; align-items: stretch; }   /* stretch: every cell of a row is as tall as the row, so their rules meet */
.cond .h { font: 10.5px/1.6 var(--mono); color: var(--muted); text-align: right; }
.cond .r { display: contents; }
.cond .r > * { padding: 7px 0; border-top: 1px solid var(--rule); }
.cond .r > .name { min-width: 0; padding-right: 12px; }   /* gaps are padding, not grid gaps, so each row's rule runs unbroken */
.cond .r > .a, .cond .r > .b { padding-right: 12px; display: flex; align-items: center; justify-content: flex-end; }
.cond .r > svg { align-self: stretch; height: auto; min-height: 22px; box-sizing: content-box; }
.cond .r > .a { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.cond .r > .b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.cond .r svg { display: block; }
.cond .name small { display: block; font-size: 11.5px; color: var(--muted); }
details.more { margin-top: 10px; }
details.more > summary { cursor: pointer; font: 600 13px/1.3 var(--sans); color: var(--blue); }
/* every disclosure opens on a drawn chevron, not the browser's triangle: pointing right when shut, down when open */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 .55em .14em .1em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .15s; }
details[open] > summary::before { transform: rotate(45deg); margin-bottom: .3em; }
details.more h3 { margin: 12px 0 4px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; font-size: 13.5px; }
.kv > .v { font-variant-numeric: tabular-nums; text-align: right; }
.kv small { display: block; font-size: 11.5px; color: var(--muted); }
.link-more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; }

/* the ledger table on the block page */
table.now { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.now th { text-align: left; font: 400 10.5px/1.6 var(--mono); color: var(--muted); }
table.now th:last-child, table.now td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.now td { padding: 8px 0; border-top: 1px solid var(--rule); vertical-align: baseline; padding-right: 12px; }
table.now td:first-child { font-weight: 600; white-space: nowrap; }
table.now td:last-child { padding-right: 0; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pills .lead { font: 700 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.pills a { font: 600 12.5px/1 var(--sans); padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--sheet); color: var(--blue); text-decoration: none; }
.pills a[aria-pressed=true] { background: var(--blue); color: var(--onblue); }
.pills a:hover { background: var(--hi); color: var(--blue); }
.pills a[aria-pressed=true]:hover { background: var(--blue); color: var(--onblue); }

/* the timeline: a dated spine, icon nodes hanging off it, years as markers */
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: 91px; top: 4px; bottom: 4px; width: 2px; background: var(--blue); opacity: .3; }
.tl .yr, .tl .it { display: grid; grid-template-columns: 62px 36px minmax(0, 1fr) auto; column-gap: 12px; }
.tl .yr { align-items: center; margin: 8px 0 2px; }
.tl .yr b { text-align: right; font: 800 17px/1 var(--display); color: var(--blue); }
.tl .it { padding: 8px 0; align-items: start; }
.tl .it .d { text-align: right; font: 11px/20px var(--mono); color: var(--muted); }
.tl .it .node { justify-self: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--blue); display: flex; align-items: center; justify-content: center; position: relative; }
.tl .it .node.lit { background: var(--sky); }
.tl .it .node.chk { background: var(--hi); }
.tl .it .node svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tl .it .t { min-width: 0; overflow-wrap: anywhere; }
.tl .it .t b { font-weight: 700; }
.tl .it .sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tl .it .sub a { color: var(--blue); margin-left: 4px; }
.tl .it .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.tl .it .sub .wordsbtn { display: inline-flex; width: 18px; height: 18px; padding: 0; margin-left: 4px; border: 0; background: none; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); border-radius: 4px; }
.tl .it .sub .wordsbtn:hover, .tl .it .sub .wordsbtn[aria-expanded="true"] { color: var(--blue); background: rgba(28, 53, 130, .08); }
.tl .it .sub .wordsbtn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tl .it .sub .wordsbtn[aria-expanded="true"] .plus { display: none; }   /* open: the minus, so clicking again folds it */
.tl .it .wordsbox { margin: 4px 0 0; padding: 6px 8px; font: 10.5px/1.45 var(--mono); color: var(--ink); background: rgba(22, 25, 27, .05); border: 1px solid var(--rule); border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow: auto; }
.tl .it .wordsbox[hidden] { display: none; }
.tl .it .sub .xp { color: var(--muted); border-bottom: 1px dotted var(--muted); cursor: help; }
.tl .it .t a.org { color: inherit; }
.tl .it .t a.org:hover { color: var(--blue); }
.tl .it .amt { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; font-weight: 700; }
.tl .it .amt.soft { font-weight: 400; color: var(--muted); }
.count-line { font-size: 12px; color: var(--muted); }
.btn { align-self: flex-start; display: inline-block; font: 600 14px/1.2 var(--sans); color: var(--blue); background: transparent; border: 1.5px solid var(--blue); border-radius: 999px; padding: 8px 16px; text-decoration: none; }
.btn:hover { background: var(--hi); color: var(--blue); }
.foot { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.foot a { color: var(--blue); }
.foot p { margin: 0 0 6px; }
.lede { margin: 0; font-size: 14px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { padding: 7px 0; border-top: 1px solid var(--rule); font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; }
.list li:first-child { border-top: 0; }
.list small { color: var(--muted); }
.list a { color: var(--blue); }

/* home card: the same paper, in the corner */
/* The card never scrolls while it fits. Only when the screen is too short for it (landscape phone, keyboard up, big text) does
   .card-in cap at the room between the ruler and the footer line and scroll inside, so nothing is out of reach. */
.card, .home-foot { --card-right: max(var(--gutter), calc((100vw - 1700px) / 2)); }   /* on ultrawide screens the card and its footer line come in toward the map, not the far corner */
.card { --cpx: 20px; --cpb: 18px; --card-bottom: calc(var(--foot-h, 22px) + var(--gutter)); position: fixed; z-index: 3; right: var(--card-right); bottom: var(--card-bottom); width: min(440px, calc(100vw - 2 * var(--gutter))); background: var(--ground); box-shadow: 0 30px 60px -30px rgba(22, 25, 27, .45); }
.card-in { padding: 18px var(--cpx) var(--cpb); display: grid; gap: 10px; max-height: calc(100vh - var(--top-h) - var(--card-bottom) - 12px); max-height: calc(100dvh - var(--top-h) - var(--card-bottom) - 12px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.card h1 { font-size: 40px; }
.card p { margin: 0; font-size: 13.5px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas a { display: inline-flex; gap: 6px; padding: 7px 12px 7px 13px; border: 1.5px solid var(--blue); border-radius: 999px; color: var(--blue); text-decoration: none; font: 600 13.5px/1 var(--sans); background: var(--sheet); }
.areas a::after { content: "›"; }
.areas a:hover { background: var(--hi); }
.msg { position: absolute; left: 16px; top: calc(100% + 8px); font: 700 11px/1.3 var(--mono); background: var(--hi); padding: 4px 7px; border-radius: 3px; }

/* phones: the map stays the ground, the sheet scrolls up over it */
@media (max-width: 760px) {
  html, body { height: auto; min-height: 100%; overflow-x: clip; }
  body { overflow-y: visible; }
  #map { position: fixed; inset: 0; height: 100lvh; }
  .sheet { position: relative; top: auto; bottom: auto; right: auto; width: auto; margin: var(--card-top) 0 0; overflow: visible; min-height: calc(100svh - 60px); }
  .sheet-in { padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .top { left: 16px; right: 16px; }
  h1 { font-size: 48px; }
  h1.block { font-size: 40px; }
  .card { --card-right: 16px; right: 16px; left: 16px; width: auto; }
  /* Trace's home page never scrolls: the card sits on the map */
  html:has(body:not(.has-sheet) > .card), body:not(.has-sheet):has(> .card) { height: 100%; overflow: hidden; }
  .cond { grid-template-columns: minmax(0, 1fr) 64px 64px 64px; }
  .cond .r > .name, .cond .r > .a, .cond .r > .b { padding-right: 8px; }
  .cond svg { width: 64px; }
  body.has-sheet .zoom { bottom: auto; left: auto; right: 16px; top: calc(var(--sheet-top, var(--card-top)) - 52px); flex-direction: row-reverse; transition: opacity .2s; }
  body.has-sheet.sheet-up .zoom { opacity: 0; pointer-events: none; }
}

/* a narrower sheet beside the map (tablets): the same compact conditions table the phone layout uses */
@media (min-width: 761px) and (max-width: 1000px) {
  .cond { grid-template-columns: minmax(0, 1fr) 64px 64px 64px; }
  .cond .r > .name, .cond .r > .a, .cond .r > .b { padding-right: 8px; }
  .cond svg { width: 64px; }
  h1 { font-size: 52px; }
  h1.block { font-size: 44px; }
}

/* pages with no map: about, errors */
.plain { max-width: 640px; margin: 0 auto; padding: 28px 20px 60px; display: flex; flex-direction: column; gap: 18px; }
.plain .brand { margin-left: 0; }
body.plain-page { overflow: auto; height: auto; background: var(--paper); }

/* passphrase page */
.unlock-page { overflow: auto; background: var(--blue); min-height: 100vh; }
.unlock { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; box-sizing: border-box; }
.unlock-card { width: min(420px, 100%); padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; background: var(--sheet); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.unlock-brand { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.unlock-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 44px; line-height: .9; margin: 4px 0 14px; color: var(--ink); }
.unlock-label { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.unlock-row { display: flex; gap: 8px; }
.unlock-input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); }
.unlock-input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.unlock-go { font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 0; border-radius: 999px; padding: 0 20px; background: var(--blue); color: var(--onblue); cursor: pointer; }
.unlock-alert { margin: 2px 0 0; font: 700 12px/1.3 var(--mono); background: var(--hi); padding: 6px 9px; border-radius: 3px; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }

/* the wordmark row */
.brandrow { display: flex; flex-direction: row; align-items: center; gap: 10px; align-self: flex-start; width: auto; pointer-events: none; }
.brandrow .brand { align-self: auto; flex: none; }
.tl .it .sub .lk { font: 700 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 1px 5px; margin-right: 4px; }
.home-btn { display: none; }

/* narrow screens: the wordmark gives way to a round CR mark, the search takes the row;
   the zoom controls leave the bottom (where the card sits) for the top right of the map */
@media (max-width: 760px) {
  .top { flex-direction: row; align-items: center; gap: 8px; }
  .brandrow { display: contents; }
  .brandrow .brand { display: none; }
  .home-btn { display: inline-grid; place-items: center; flex: none; pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); font: 700 14px/1 var(--mono); letter-spacing: .06em; text-decoration: none; box-shadow: 0 10px 30px -12px rgba(28, 53, 130, .45); order: 0; }
  .top > .search { order: 1; flex: 1 1 auto; max-width: none; width: auto; min-width: 0; }
  body:not(.has-sheet) .zoom { bottom: auto; left: auto; right: 16px; top: 74px; flex-direction: row-reverse; }
}

/* ---------- the time range: one compact row across the very top of every page, the words beside the ruler ---------- */
:root { --head-min: 50px; --head-h: var(--head-min); --range-h: 34px; --rb-bar: #1c3582; }   /* --head-h is the header's real height: application.js writes it, so text that wraps pushes the ruler down with it */
body { --top-h: calc(var(--head-h) + var(--range-h)); }
.rangebar { position: fixed; z-index: 7; top: var(--head-h); left: 0; right: 0; height: var(--range-h); padding: 0 var(--gutter); display: flex; flex-direction: row; align-items: stretch; gap: 14px; background: var(--grain-fine), var(--sheet); user-select: none; -webkit-user-select: none; }
.rb-head { flex: none; display: flex; align-items: center; gap: 8px; max-width: 46%; }
.rb-label { margin: 0; min-width: 0; font: 900 15px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-label mark { padding: 1px .16em; background: var(--hi); box-shadow: 0 0 0 0 var(--hi); transition: box-shadow .25s; }
.rangebar.dragging .rb-label mark { box-shadow: 0 0 0 3px var(--hi); }
.rb-kicker { display: none; }
.rb-sub { display: none; }
.rb-reset { flex: none; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px; padding: 4px 8px; background: var(--sheet); text-decoration: none; white-space: nowrap; }
.rb-reset:hover, .rb-reset:focus-visible { background: var(--hi); color: var(--blue); text-decoration: none; }
.rb-reset[hidden] { display: none; }
.rb-scroll { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; touch-action: pan-y; padding: 4px 4px 0; }
.rb-track { position: relative; height: 100%; min-width: 100%; cursor: crosshair; overflow: hidden; }
.rb-bars { position: absolute; left: 0; bottom: 13px; width: 100%; height: calc(100% - 13px); opacity: .34; pointer-events: none; }
/* a tick for every month, a longer one for every year, a label where there is room */
.rb-ticks { position: absolute; left: 0; bottom: 13px; width: 100%; height: 8px; pointer-events: none; }
.rb-years { position: absolute; inset: 0; pointer-events: none; }
.rb-year { position: absolute; bottom: 13px; width: 0; height: 6px; border-left: 1px solid rgba(22, 25, 27, .45); font-style: normal; }
.rb-year.major { height: 9px; border-left-color: var(--ink); }
.rb-year span { position: absolute; top: 10px; left: 0; transform: translateX(-50%); font: 700 9px/1 var(--mono); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
/* the window: lit, with the ruler outside it stepped back */
.rb-win { position: absolute; z-index: 2; top: 0; bottom: 12px; background: rgba(188, 211, 255, .55); border: 0; border-radius: 3px; box-shadow: 0 0 0 100vmax rgba(251, 251, 250, .72); clip-path: inset(-2px -100vmax); cursor: grab; touch-action: none; transition: background .15s; }
.rb-win:focus-visible { outline: 3px solid var(--hi); outline-offset: 1px; }
.rangebar.dragging .rb-win { cursor: grabbing; background: rgba(188, 211, 255, .72); }
.rangebar.whole .rb-win { background: none; box-shadow: none; }
.rb-grip { position: absolute; left: 50%; top: 50%; width: 16px; height: 6px; margin: -3px 0 0 -8px; background: repeating-linear-gradient(to right, var(--blue) 0 1.5px, transparent 1.5px 4px); opacity: .55; pointer-events: none; }
.rb-h { position: absolute; top: -2px; bottom: -2px; width: 18px; cursor: ew-resize; touch-action: none; display: grid; place-items: center; }
.rb-h-l { left: -11px; } .rb-h-r { right: -11px; }
.rb-h::after { content: ""; width: 7px; height: 18px; max-height: 80%; border-radius: 4px; background: var(--blue); border: 1.5px solid var(--sheet); box-shadow: 0 2px 6px -1px rgba(28, 53, 130, .55); transition: transform .12s, background .12s; }
.rb-h:hover::after, .rangebar.dragging .rb-h::after { transform: scaleY(1.12); }
.rb-h:focus-visible { outline: none; }
.rb-h:focus-visible::after { background: var(--ink); box-shadow: 0 0 0 3px var(--hi), 0 0 0 5px var(--blue); }
/* waiting on the page: a slow shimmer along the bottom edge */
.rangebar.busy::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px; background: linear-gradient(90deg, transparent, var(--hi), transparent) 0 0 / 40% 100% no-repeat; animation: rb-busy 1s linear infinite; }
@keyframes rb-busy { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .rangebar.busy::after { animation: none; background: var(--hi); } }
.rangenote { color: var(--ink); background: rgba(255, 233, 59, .35); padding: 3px 7px; border-radius: 3px; display: inline-block; }
.cond .name small.inrange { color: var(--blue); }
.out { opacity: .38; }

/* everything fixed to the top steps down under the ruler */
.top { top: calc(var(--top-h) + 12px); }
.sheet { top: var(--top-h); }
#map, #fmap { top: var(--top-h); }

@media (max-width: 760px) {
  :root { --head-min: 46px; --range-h: 32px; }
  .rangebar { padding-left: 16px; padding-right: 16px; --gutter: 16px; gap: 10px; }
  .rb-label { font-size: 13px; }
  .rb-head { max-width: 50%; gap: 6px; }
  .sheet { top: auto; }
  #map { height: calc(100lvh - var(--top-h)); }
  body:not(.has-sheet) .zoom { top: calc(var(--top-h) + 74px); }
}

/* short phones (landscape, or the keyboard up): fixed chrome would eat a third of the screen, so the ruler scrolls away with the page
   and the map runs up under it; the header alone stays. The home page never scrolls, so its ruler stays put. */
@media (max-width: 760px) and (max-height: 500px) {
  body.has-sheet .rangebar { position: absolute; }
  body.has-sheet #map { top: var(--head-h); height: calc(100lvh - var(--head-h)); }
}

/* the Money box: two kinds of money, one tab each; the based groups in their own words */
.money-tabs { margin: 4px 0 2px; }
.money-def { margin: 6px 0 10px; }
ol.bgroups { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
ol.bgroups li.bg { padding: 14px 0; border-top: 1px solid var(--rule); }
ol.bgroups li.bg:first-child { border-top: 0; padding-top: 4px; }
.bg-head { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; align-items: baseline; }
.bg-name { font-weight: 700; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.bg-name a { color: var(--blue); }
.bg-amt { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bg-amt b { color: var(--ink); }
.bg-words { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.bg-words small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
ul.bg-for { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
ul.bg-for li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; line-height: 1.35; }
ul.bg-for li span { min-width: 0; overflow-wrap: anywhere; }
ul.bg-for li small { color: var(--muted); }
ul.bg-for li b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.bg-here { margin: 6px 0 0 !important; }
.dotted { text-decoration: underline dotted; cursor: help; }
.went-head { margin: 26px -18px 6px; padding: 18px 18px 0; border-top: 1.5px solid var(--blue); }
.went-head h2 { margin: 0; }
.went-head p.small { margin: 4px 0 0; }
h3.more-cond { margin-top: 22px; }
.went-head h2 { font: 900 24px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
#money .money-tabs { margin-top: 0; }

/* the Money tab's filter: two paper slips across the top; the chosen one is printed blue */
.money-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 12px; }
.money-filter .mf { position: relative; isolation: isolate; display: block; padding: 12px 14px; font: 900 19px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--blue); text-decoration: none; }
.money-filter .mf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--sheet); filter: url(#riso-edge); box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 8px 18px -14px rgba(22, 25, 27, .35); }
.money-filter .mf:hover::before { background: var(--grain-fine), var(--hi); }
.money-filter .mf[aria-pressed=true] { color: var(--onblue); }
.money-filter .mf[aria-pressed=true]::before { background: var(--grain-fine), var(--blue); }
/* a card's own big heading, in the display face */
.box h2.big-h, .went-head h2 { margin: 0 0 12px; font: 900 24px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.box.went { margin-top: 14px; }
@media (max-width: 420px) { .money-filter { grid-template-columns: 1fr; } }

/* phones: once the sheet has covered the map, the top bar folds to one round search button at the top left; tapping it opens
   the search again */
@media (max-width: 760px) {
  body.has-sheet.sheet-up .top .home-btn { display: none; }
  body.has-sheet.sheet-up .top > .search:not(:focus-within) { flex: none; width: 46px; height: 46px; }
  body.has-sheet.sheet-up .top > .search:not(:focus-within) input { height: 46px; padding: 0; color: transparent; cursor: pointer; caret-color: transparent; }
  body.has-sheet.sheet-up .top > .search:not(:focus-within) input::placeholder { color: transparent; }
  body.has-sheet.sheet-up.search-away .top > .search:not(:focus-within) { opacity: 0; pointer-events: none; }
  body.has-sheet.sheet-up .top > .search:not(:focus-within) svg { left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; stroke: var(--blue); }
}

/* invitations: a paper slip you can tap, with a big blue lead and one plain line under it */
a.invite { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 14px 16px; color: var(--ink); text-decoration: none; }
a.invite::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--sheet); filter: url(#riso-edge); box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 8px 18px -12px rgba(28, 53, 130, .45); transition: background .12s; }
a.invite:hover::before, a.invite:focus-visible::before { background: var(--grain-fine), var(--hi); }
a.invite:focus-visible { outline: none; }
.invite-kicker { grid-column: 1; font: 700 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.invite-lead { grid-column: 1; font: 900 28px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--blue); }
.invite-sub { grid-column: 1; margin-top: 4px; font: 400 13.5px/1.35 var(--sans); color: var(--ink); }
.invite-go { grid-column: 2; grid-row: 1 / span 3; font: 900 40px/1 var(--display); color: var(--blue); }
a.to-area { margin-top: 6px; }
a.to-area .invite-lead { font-size: 34px; }
/* the home card's way into /take: one solid blue banner */
a.banner { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font: 900 19px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--onblue); text-decoration: none; }
a.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--blue); filter: url(#riso-edge); }
a.banner span { font-size: 26px; line-height: .8; }
a.banner:hover::before, a.banner:focus-visible::before { background: var(--grain-fine), #142a6b; }
a.banner:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }
/* work in progress: an info mark and a way to learn more */
a.wip { display: inline-flex; align-self: start; justify-self: start; align-items: center; gap: 7px; color: var(--blue); font-size: 13px; text-decoration: none; }
a.wip u { text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a.wip:hover u { background: var(--hi); }
.wip-i { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--onblue); font: 700 11px/1 var(--mono); font-style: italic; }

/* a straight page (an organization): the notice bar, then one plain column on paper; nothing fixed, the page itself scrolls */
html:has(body.straight) { height: auto; overflow: auto; }
body.straight { height: auto; overflow: auto; background: var(--grain), var(--ground); }
body.straight .sheet { position: static; width: auto; max-width: 820px; margin: 0 auto; overflow: visible; background: none; box-shadow: none; min-height: 0; }
body.straight .sheet::before { content: none; }
.bar-range { font: 600 12.5px/1 var(--sans); color: var(--onblue); }
.bar-range a { text-decoration: underline !important; text-underline-offset: 2px; }
.bar-under { max-width: 820px; margin: 14px auto 0; padding: 0 24px; box-sizing: border-box; display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: 13px; }
.bar-under a { color: var(--blue); }
.bar-back { font: 600 13px/1 var(--sans); padding: 5px 10px 5px 8px; border: 1.5px solid var(--blue); border-radius: 999px; }
.bar-back:hover { background: var(--blue); color: var(--onblue) !important; }

/* the home card is a slip of paper too; its last line is the banner, printed edge to edge along the bottom */
.card { isolation: isolate; background: none; box-shadow: none; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--ground); filter: url(#riso-edge); box-shadow: 0 30px 60px -30px rgba(22, 25, 27, .45); }
.card a.banner { margin: 6px calc(-1 * var(--cpx)) calc(-1 * var(--cpb)); padding: 14px var(--cpx); position: sticky; bottom: calc(-1 * var(--cpb)); z-index: 2; }   /* when the card has to scroll, the banner stays in view at its foot */
/* straight pages: the notice bar stays at the top while the page scrolls */
body.straight > .ask-bar { position: sticky; top: 0; z-index: 10; }

/* ---------- How it works ---------- */
.how .lede { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 500; }
.how .box p { margin: 0 0 8px; font-size: 14px; }
.how h3.term { margin: 12px 0 4px; font: 900 22px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.how h3.term:first-of-type { margin-top: 2px; }
.how .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.how .flow li { position: relative; display: grid; gap: 2px; padding: 10px 14px; border: 1.5px solid var(--blue); background: var(--sheet); }
.how .flow li b { font: 900 20px/1.05 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--blue); }
.how .flow li span { font-size: 13.5px; }
.how .flow li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 10px; height: 10px; margin-left: -5px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.how .flow li.back { border-style: dashed; background: none; }
.how .flow li.back b { color: var(--muted); }
.how .rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.how .rules li { font-size: 14px; padding-left: 16px; position: relative; }
.how .rules li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 6px; height: 6px; border: solid var(--blue); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.how .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.how .tiles div { display: grid; gap: 2px; padding: 8px 10px; border-top: 2px solid var(--blue); background: var(--ground); }
.how .tiles b { font: 900 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.how .tiles span { font-size: 12.5px; color: var(--muted); }
.how .runs { margin-top: 14px; padding: 10px 12px; border: 1.5px dashed var(--muted); }
.how .runs b { font: 700 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.how .layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.how .layers li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 12px; border: 1.5px dashed var(--rule); color: var(--muted); }
.how .layers li b { grid-column: 1; font: 900 20px/1.05 var(--display); text-transform: uppercase; }
.how .layers li span { grid-column: 1; font-size: 13.5px; }
.how .layers li em { grid-column: 2; grid-row: 1; align-self: start; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; }
.how .layers li.live { border: 1.5px solid var(--blue); background: var(--sheet); color: var(--ink); }
.how .layers li.live b { color: var(--blue); }
.how .layers li.live em { background: var(--hi); color: var(--ink); padding: 3px 6px; }

/* ---------- a neighborhood at a glance, its one thread, and its day to day ---------- */
.brief, .thread, .day { margin-top: 14px; }
ol.glance, ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
ol.glance > li, ol.steps > li { padding: 12px 0; border-top: 1px solid var(--rule); }
ol.glance > li:first-child, ol.steps > li:first-child { border-top: 0; padding-top: 2px; }
ol.glance p, ol.steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
ol.glance p.small, ol.steps p.small, .day p.small { font-size: 11.5px; }
.lead { display: block; font: 700 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
ol.glance .lead { color: var(--blue); }
a.ev { display: inline-block; margin-top: 6px; font: 600 13px/1.3 var(--sans); }
a.ev::after { content: " ›"; font-weight: 800; }
ol.steps > li { position: relative; padding-left: 22px; }
ol.steps > li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; border: 2px solid var(--blue); background: var(--sheet); border-radius: 50%; }
ol.steps > li:nth-child(1)::before { background: var(--sky); }
ol.steps > li::after { content: ""; position: absolute; left: 8px; top: 26px; bottom: -14px; width: 2px; background: var(--blue); opacity: .3; }
ol.steps > li:last-child::after { display: none; }
ol.steps .small a { margin-right: 10px; }
.thread .rule { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--rule); }
.day h3.subh { margin: 14px 0 4px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day h3.subh:first-of-type { margin-top: 0; }
.day p { margin: 4px 0; font-size: 14px; }
svg.bars { display: block; width: 100%; max-width: 300px; height: auto; margin: 8px 0 4px; overflow: visible; }
ol.issues { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
ol.issues li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); padding: 5px 0; }
ol.issues li span { min-width: 0; overflow-wrap: anywhere; }
ol.issues li b { font-variant-numeric: tabular-nums; }
.cond .r > .b { flex-direction: column; align-items: flex-end; justify-content: center; }
.cond .r > .b small { font-weight: 400; font-size: 10.5px; color: var(--muted); white-space: nowrap; cursor: help; }
.area-group { margin: 12px 0 6px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* home card: what this is, at a glance; the date sits top right */
.card-top { display: flex; justify-content: space-between; gap: 12px; font: 700 10.5px/1.2 var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h1 { font-size: 34px; line-height: .98; }
.card-start { margin-top: 4px !important; font-weight: 700; font-size: 13.5px; }
.card .area-group { margin: 2px 0 -6px; font-size: 12px; }
/* How it works and the date sit under the card, on the map */
.home-foot { position: fixed; z-index: 3; right: var(--card-right); bottom: 10px; width: min(440px, calc(100vw - 2 * var(--gutter))); margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.home-foot > span { font: 700 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.home-foot > span { margin-left: auto; text-align: right; }
@media (max-width: 760px) { .card, .home-foot { --card-right: 16px; } .home-foot { right: 16px; left: 16px; bottom: 8px; width: auto; } .card { --card-bottom: calc(var(--foot-h, 22px) + 16px); } }

/* organization page: its own words, the money with its sources, where it works */
.sheet-in > .lede { margin: 2px 0 12px; font-size: 15px; }
.own .quote { margin: 0 0 12px; }
.own blockquote { margin: 0; padding: 0 0 0 12px; border-left: 3px solid var(--blue); }
.own blockquote p { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.own .quote.mission blockquote p { font-size: 16px; font-weight: 500; }
.own figcaption { margin: 3px 0 0 15px; font: 10.5px/1.3 var(--mono); color: var(--muted); }
.kv.money .v small { display: block; font-size: 11.5px; color: var(--muted); }
.kv.money small.src { margin-top: 1px; }
.where { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.where .small { margin-left: 3px; }
.where-h { margin: 8px 0 3px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.figs > * { min-width: 0; }
@media (max-width: 520px) {
  .figs { column-gap: 8px !important; font-size: 13px; }
  .figs .small { font-size: 10.5px; }
}

/* the timeline as a story: the big moments stand out, quiet years fold into one line */
.tl .it.moment { background: rgba(28, 53, 130, .06); border-radius: 6px; margin: 4px 0; padding: 12px 0; }
.tl .it.moment .t { font-size: 15px; }
.tl .it.moment .node { background: var(--blue); }
.tl .it.moment .node svg { stroke: var(--onblue); }
.tl .it.moment .amt { font-size: 16px; color: var(--blue); }
.tl details.quiet { margin: 6px 0; }
.tl details.quiet > summary { cursor: pointer; list-style: none; padding: 5px 0 5px 110px; font: 700 13px/1.3 var(--display); color: var(--blue); }
.tl details.quiet > summary::-webkit-details-marker { display: none; }
.tl details.quiet > summary::after { content: " +"; }
.tl details.quiet[open] > summary::after { content: " \2212"; }
.tl details.quiet > summary span { font: 12px/1.3 var(--sans); color: var(--muted); font-weight: 400; margin-left: 4px; }
.tl details.quiet > summary:hover { background: var(--hi); }
.tl details.quiet[open] > summary { margin-bottom: 2px; }
.tl .it.moment { padding-left: 4px; padding-right: 4px; }
@media (max-width: 520px) {
  .tl::before { left: 71px; }
  .tl .yr, .tl .it { grid-template-columns: 48px 28px minmax(0, 1fr); column-gap: 10px; }
  .tl .yr b { font-size: 15px; }
  .tl .it .amt { grid-column: 3; text-align: left; margin-top: 2px; }
  .tl details.quiet > summary { padding-left: 96px; }
}

/* ---------- home: type your address ---------- */
.find { display: grid; gap: 8px; margin: 4px 0 2px; }
.find label { font: 600 21px/1.2 var(--sans); color: var(--blue); }
/* a white strip to write on, torn like the Imagine bar, and the blue button with a hand-drawn arrow */
.find-row { position: relative; isolation: isolate; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 5px 5px 5px 14px; }
.find-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-fine), var(--sheet); filter: url(#riso-edge); box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.find-row:focus-within::before { box-shadow: 0 0 0 3px var(--hi); }
.find-row:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.find-row input { flex: 1 1 0; min-width: 0; font: inherit; font-size: 18px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); -webkit-appearance: none; appearance: none; }
.find-row input::placeholder { color: var(--muted); opacity: 1; }
.find-row input:focus-visible { outline: none; }
.find-row button { flex: none; display: grid; place-items: center; width: 46px; height: 38px; padding: 0; border: 0; background: var(--blue); color: var(--onblue); cursor: pointer; }
.find-row button svg { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.find-row button:hover svg, .find-row button:focus-visible svg { transform: translateX(3px); }
.find-row button:hover { filter: brightness(1.15); }
.find-row button:focus-visible { outline: 3px solid var(--hi); outline-offset: 1px; }
.find .small { margin: 0; }
.card .area-list { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; font-size: 14.5px; }
.area-list a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(28, 53, 130, .3); text-underline-offset: 3px; }
.area-list a:hover { text-decoration-color: var(--hi); text-decoration-thickness: 3px; }
@media (max-width: 760px) {
  .card { --cpx: 16px; --cpb: 16px; }
  .card-in { gap: 8px; padding-top: 16px; }
  .card h1 { font-size: 34px; }
  .card p { font-size: 13.5px; }
  .find label { font-size: 19px; }
  .find-row input { font-size: 17px; padding: 6px 0; }
  .card .area-list { font-size: 14px; column-gap: 12px; }
  .card .area-group { margin: 0 0 -5px; font-size: 10.5px; }
  .card a.banner { margin-top: 4px; padding: 12px 16px; }
  .card a.banner { font-size: min(22px, 5vw); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .card-in { gap: 6px; padding-top: 12px; }
  .card h1 { font-size: 28px; }
  .card p { font-size: 12.5px; }
  .find label { font-size: 16px; }
  .find-row input { font-size: 16px; padding: 4px 0; }
  .find-row button { height: 32px; }
  .card .area-list { font-size: 13px; }
  .card a.banner { padding: 10px 16px; }
}
