/* Argus FOIA public site (GET /). Built from the approved marketing page; the app's strict
   CSP allows no inline styles or scripts, so styles live here and in site.js. */
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Variable.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque-Variable.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/Jost-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { color-scheme: light; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: a light page that is mostly the product. Copy is left-aligned in a 1180px column;
   the hero is a working copy of the staff workspace; each later section shows one real screen. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --wash: #F2F5F1;
  --app-bg: #EDF0EC;
  --line: #DCE2DC;
  --line-strong: #C3CCC4;
  --ink: #1C2420;
  --ink-2: #4B5650;
  --ink-3: #636E68;
  --link: #2F6A9A;
  --sage: #3E7A5E;  --sage-t: #E2EEE7;
  --lake: #2F6A9A;  --lake-t: #E1EBF4;  --lake-d: #255681;
  --plum: #74508A;  --plum-t: #EEE5F2;
  --ochre: #8A6A12; --ochre-t: #F5EDD6;
  --rose: #A34A62;  --rose-t: #F6E4E9;
  --slate: #4A5866; --slate-t: #E5E9ED;
  --late: #A3362A;  --late-t: #F7E3DF;
  --soon: #8A5A00;  --soon-t: #F7ECD4;  --soon-line: #D9A514;
  --ok: #2E6B4A;    --ok-t: #E0EEE5;
  --mark-ai: #DCE4F7; --mark-pattern: #F4DDEB; --mark-person: #E4DFD2;
  --bar: #000000; --on-bar: #FFFFFF;
  --on-hue: #FFFFFF;
  --badge: #D2453B;
  --frame: #E6EBE6;
  --sky-1: #3E7A5E; --sky-2: #2F6A9A; --sky-3: #74508A;
  --brand-red: #CA0418;
  --shadow-win: 0 2px 4px rgba(28,36,32,.05), 0 30px 70px -30px rgba(28,36,32,.35);
  --shadow-soft: 0 1px 2px rgba(28,36,32,.06), 0 10px 28px -16px rgba(28,36,32,.25);
  --rail-shadow: 1px 0 0 rgba(28,36,32,.06), 6px 0 22px -11px rgba(28,36,32,.28);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-mark: "Jost", "Futura", "Avenir Next", sans-serif;

  --fs-hero: clamp(36px, 5vw, 62px);
  --fs-h2: clamp(28px, 3.2vw, 40px);
  --fs-h3: 19px;
  --fs-lead: clamp(17px, 1.5vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-meta: 13px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
h1, h2, h3 { line-height: 1.1; font-family: var(--f-display); font-weight: 750; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: var(--link); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lake); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; }
svg.i { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--lake); color: var(--on-hue); }
.btn.primary:hover { background: var(--lake-d); }
.btn.quiet { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn.quiet:hover { border-color: var(--ink-3); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--f-mark); font-weight: 500; font-size: 19px; letter-spacing: .14em; }
.brand .lock { display: flex; align-items: baseline; gap: 7px; }
.brand .lock em { font-style: normal; font-family: var(--f-mark); font-weight: 500; font-size: 10.5px; letter-spacing: .26em; color: var(--ink-3); }
.maker { display: inline-flex; align-items: center; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--ink-3); font-size: 13px; text-decoration: none; white-space: nowrap; }
.maker:hover { color: var(--ink); }
.maker svg { width: 11px; height: 11px; }
@media (max-width: 560px) { .maker { display: none; } }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
/* One line or none: below the width the links fit in, the header keeps the brand, "Sign
   in" and the call to action (the sections are a scroll away). */
@media (max-width: 1240px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: 64px 0; background: linear-gradient(var(--paper) 0 62%, var(--wash) 62%); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.hero .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 46ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.try { display: flex; align-items: center; gap: 10px; margin: 44px 0 14px; font-size: var(--fs-small); color: var(--ink-2); }
.try .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-t); }
@media (max-width: 860px) { .hero { padding-block: 40px 0; background: linear-gradient(var(--paper) 0 72%, var(--wash) 72%); } .hero-copy { grid-template-columns: 1fr; gap: 20px; } }

/* ===== The product window (mirrors the staff app) ===== */
.win { background: var(--app-bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-win); display: grid; grid-template-columns: 86px minmax(0, 1fr); min-height: 600px; font-size: 14px; line-height: 1.45; text-align: left; }
.rail { background: var(--paper); box-shadow: var(--rail-shadow); display: flex; flex-direction: column; position: relative; z-index: 1; }
.rail .mk { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 0 12px; color: var(--ink); }
.rail .mk svg { width: 34px; height: 34px; }
.rail .mk span { font-family: var(--f-mark); font-size: 11px; letter-spacing: .16em; font-weight: 500; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 68px; width: 100%; border: 0; background: transparent; color: var(--ink-2); font-size: 11.5px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s; }
.tile svg { width: 22px; height: 22px; }
.tile:hover { background: var(--h-t); color: var(--h); }
.tile[aria-current="true"] { background: var(--h); color: var(--on-hue); }
.tile.off { cursor: default; color: var(--ink-3); }
.tile.off:hover { background: transparent; color: var(--ink-3); }
.h-sage { --h: var(--sage); --h-t: var(--sage-t); }
.h-lake { --h: var(--lake); --h-t: var(--lake-t); }
.h-plum { --h: var(--plum); --h-t: var(--plum-t); }
.h-ochre { --h: var(--ochre); --h-t: var(--ochre-t); }
.h-rose { --h: var(--rose); --h-t: var(--rose-t); }
.h-slate { --h: var(--slate); --h-t: var(--slate-t); }
.rail .me { margin-top: auto; align-self: center; margin-bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--slate-t); color: var(--slate); display: grid; place-items: center; font-size: 12px; font-weight: 700; position: relative; }
.rail .me::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); border: 2px solid var(--paper); }

.main { min-width: 0; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(237,240,236,.9); }
.bar .ag b { display: block; font-size: 14.5px; }
.bar .ag small { color: var(--ink-3); font-size: 12px; }
.bar .search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(320px, 40%); height: 34px; padding: 0 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; }
.bar .bell { position: relative; color: var(--ink-2); display: grid; }
.bar .bell svg { width: 21px; height: 21px; }
.bar .bell b { position: absolute; top: -6px; right: -7px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--badge); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.pane { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.pane[hidden] { display: none !important; }
.v-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.v-head h2 { font-size: 24px; letter-spacing: -0.02em; }
.v-head p { color: var(--ink-2); font-size: 13.5px; }
.panel { background: var(--paper); border: 1px solid var(--line); }
.panel-h { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font-size: 14.5px; letter-spacing: -0.01em; }
.panel-h span { color: var(--ink-3); font-size: 12.5px; }

/* Today: two-week strip of business days */
.strip-scroll { overflow-x: auto; }
.strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); min-width: 880px; }
.day { border-right: 1px solid var(--line); padding: 10px 8px 12px; min-height: 132px; display: flex; flex-direction: column; gap: 6px; }
.day:last-child { border-right: 0; }
.day-h { display: flex; align-items: baseline; gap: 5px; padding-bottom: 6px; border-bottom: 2px solid var(--line); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.day-h b { color: var(--ink); font-size: 13px; }
.day.today .day-h { border-bottom-color: var(--sage); }
.day.today .day-h b { color: var(--sage); }
.day.closed { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(28,36,32,.045) 6px 12px); }
.day.closed .note { font-size: 12px; color: var(--ink-3); }
.due { display: block; padding: 6px 7px; border-left: 3px solid var(--h); background: var(--h-t); font-size: 12px; line-height: 1.3; }
.due b { display: block; font-size: 11.5px; color: var(--h); font-weight: 700; }
.due.paused { border-left-style: dashed; }
.needs { list-style: none; margin: 0; padding: 0; }
.needs li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.needs li:first-child { border-top: 0; }
.needs .id { font-weight: 700; font-size: 12.5px; }
.needs .what { color: var(--ink-2); min-width: 0; }
.needs .what b { color: var(--ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.late { background: var(--late-t); color: var(--late); }
.pill.soon { background: var(--soon-t); color: var(--soon); }
.pill.ok { background: var(--ok-t); color: var(--ok); }
.pill.lake { background: var(--lake-t); color: var(--lake); }
.pill.gray { background: var(--slate-t); color: var(--slate); }
.go { border: 1px solid var(--line-strong); background: var(--paper); padding: 5px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.go:hover { border-color: var(--lake); color: var(--lake); }
.go.solid { background: var(--lake); border-color: var(--lake); color: var(--on-hue); }
.go.solid:hover { background: var(--lake-d); color: var(--on-hue); }

/* Requests list */
.counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.count { background: var(--paper); border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.count b { display: block; font-family: var(--f-display); font-size: 24px; line-height: 1.1; }
.count span { font-size: 12px; color: var(--ink-2); }
.count.on { border-color: var(--lake); box-shadow: inset 0 -3px 0 var(--lake); }
.count.late b { color: var(--late); }
.rq { width: 100%; border-collapse: collapse; }
.rq th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 9px 12px; border-bottom: 1px solid var(--line); }
.rq td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rq tr:last-child td { border-bottom: 0; }
.rq .id { font-weight: 700; white-space: nowrap; }
.rq .sub { font-size: 12.5px; color: var(--ink-3); }
.rq .tgt { white-space: nowrap; }
.rq tr.open-me { cursor: pointer; background: var(--lake-t); }
.rq tr.open-me:hover td { background: #D6E4F0; }

/* Review */
.rv-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.rv-head .back { border: 0; background: none; color: var(--link); cursor: pointer; padding: 0; font-size: 13px; }
.rv-head h2 { font-size: 21px; flex-basis: 100%; }
.rv-head p { color: var(--ink-2); font-size: 13px; }
.rv { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.page { background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; }
.page .ph { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.page .ph span { font-weight: 500; color: var(--ink-2); }
.page .lbl { margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.page .txt { margin-top: 4px; font-size: 14px; line-height: 1.85; }
.m { border: 0; padding: 1px 3px; margin: 0 -1px; font: inherit; cursor: pointer; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.m.w-ai { background: var(--mark-ai); }
.m.w-pattern { background: var(--mark-pattern); }
.m.w-person { background: var(--mark-person); }
.m.chk { background: var(--soon-t); box-shadow: inset 0 0 0 1.5px var(--soon-line); }
.m.keep { background: transparent; text-decoration: underline 2px var(--ok); text-underline-offset: 4px; }
.m.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 10px; margin-right: 5px; vertical-align: -1px; }
.decide { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.decide .state { display: flex; align-items: center; gap: 8px; }
.decide h3 { font-size: 17px; }
.decide dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px 10px; margin: 0; font-size: 13px; }
.decide dt { color: var(--ink-3); }
.decide dd { margin: 0; }
.decide .why { font-size: 13px; color: var(--ink-2); background: var(--wash); padding: 10px 12px; }
.decide .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tally { display: flex; gap: 6px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .win { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rail { flex-direction: row; box-shadow: 0 1px 0 var(--line); overflow-x: auto; }
  .rail .mk { display: none; }
  .tile { height: 56px; width: auto; flex: 1 1 0; min-width: 0; font-size: 10.5px; gap: 3px; overflow: hidden; }
  .tile svg { width: 19px; height: 19px; }
  .rail .me { display: none; }
  .bar { padding: 10px 14px; }
  .bar .search { display: none; }
  .bar .bell { margin-left: auto; }
  .pane { padding: 16px 14px 18px; }
  .counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .counts .count:nth-child(n+4) { display: none; }
  .rq thead { display: none; }
  .rq tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .rq td { padding: 0; border: 0; }
  .rq td.req { grid-column: 2; }
  .rq td.who { display: none; }
  .rq td.tgt, .rq td.st { grid-column: 2; }
  .needs li { grid-template-columns: minmax(0, 1fr) auto; }
  .needs .id { grid-column: 1 / -1; }
  .rv { grid-template-columns: 1fr; }
  .page { padding: 14px; }
}

/* ===== Sections ===== */
section.band { padding-block: 96px; }
section.band.wash { background: var(--wash); }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 48px; }
.sec-h h2 { font-size: var(--fs-h2); line-height: 1.08; }
.sec-h p { color: var(--ink-2); font-size: var(--fs-lead); max-width: 48ch; }
.where { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--h); }
.where .sq { width: 26px; height: 26px; background: var(--h); color: var(--on-hue); display: grid; place-items: center; }
.where .sq svg { width: 16px; height: 16px; }
@media (max-width: 860px) { section.band { padding-block: 64px; } .sec-h { grid-template-columns: 1fr; margin-bottom: 32px; } }

/* Start to finish */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 150px 44px minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 20px; align-items: start; }
.step .when { padding-top: 10px; text-align: right; font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.step .when b { display: block; color: var(--ink); font-weight: 600; }
.step .node { position: relative; align-self: stretch; display: flex; justify-content: center; }
.step .node::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.step:first-child .node::before { top: 16px; }
.step:last-child .node::before { bottom: auto; height: 16px; }
.step .node span { position: relative; margin-top: 6px; width: 32px; height: 32px; background: var(--h); color: var(--on-hue); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step .say { padding: 8px 0 44px; }
.step .say h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.step .say p { color: var(--ink-2); max-width: 44ch; }
.step .show { padding: 4px 0 44px; }
.chip { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 14px 16px; font-size: 14px; }
.chip .k { font-size: 12px; color: var(--ink-3); }
.chip .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.chip + .chip { margin-top: 8px; }
.chip .big { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.chip .acts { display: flex; gap: 8px; margin-top: 10px; }
.bars3 { display: grid; grid-template-columns: 41fr 6fr 1fr; height: 10px; gap: 2px; margin: 10px 0 8px; }
.bars3 i:nth-child(1) { background: var(--ok); } .bars3 i:nth-child(2) { background: var(--ink); } .bars3 i:nth-child(3) { background: var(--soon-line); }
@media (max-width: 900px) {
  .step { grid-template-columns: 36px minmax(0, 1fr); }
  .step .node { grid-row: 1 / span 3; grid-column: 1; }
  .step .node span { width: 28px; height: 28px; font-size: 13px; }
  .step .when { grid-column: 2; text-align: left; padding-top: 8px; }
  .step .when b { display: inline; margin-right: 6px; }
  .step .say { grid-column: 2; padding: 4px 0 12px; }
  .step .show { grid-column: 2; padding: 0 0 36px; }
}

/* What the resident gets: released page + log */
.release { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); background: var(--paper); margin-bottom: 14px; }
.seg button { border: 0; background: none; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.doc { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 26px 30px 22px; }
.doc .ph { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.doc .ph span { font-weight: 500; color: var(--ink-2); }
.doc .meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.doc .meta div { padding: 8px 0; font-size: 14px; }
.doc .meta div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.doc .meta small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; }
.doc .txt { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.doc .foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.rb { position: relative; padding: 0 2px; border-radius: 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .2s, color .2s; }
.doc.released .rb { background: var(--bar); color: transparent; user-select: none; }
.doc.released .rb::after { content: attr(data-n); position: absolute; left: 4px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 700; color: var(--on-bar); line-height: 1; }
.doc.staff .rb { background: var(--mark-ai); }
.doc.staff .rb.pattern { background: var(--mark-pattern); }
.doc.staff .rb.person { background: var(--mark-person); }
.rb.hl { outline: 3px solid var(--lake); outline-offset: 1px; }
.loghead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.loghead h3 { font-size: var(--fs-h3); }
.loghead span { font-size: 13px; color: var(--ink-3); }
.log { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); }
.log li + li { border-top: 1px solid var(--line); }
.log button { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; text-align: left; background: none; border: 0; padding: 12px 14px; cursor: pointer; }
.log button:hover, .log button.hl { background: var(--lake-t); }
.log .n { grid-row: 1 / span 2; width: 22px; height: 22px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.log .r { font-size: 14.5px; }
.log .c { font-size: 13px; color: var(--ink-3); }
.facts { margin-top: 20px; display: grid; gap: 14px; }
.facts p { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 15px; }
.facts svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
@media (max-width: 900px) { .release { grid-template-columns: 1fr; } .doc { padding: 18px 16px; } .doc .meta { grid-template-columns: 1fr; } .doc .meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Residents: phone */
.res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: start; }
.res ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.res li h3 { font-size: 17px; margin-bottom: 4px; }
.res li p { color: var(--ink-2); max-width: 46ch; }
.phone { width: 100%; max-width: 360px; justify-self: center; border: 10px solid var(--ink); border-radius: 38px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow-win); }
.phone .scr { padding: 22px 18px 24px; display: grid; gap: 14px; font-size: 14px; }
.phone .who { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.phone .who svg { width: 26px; height: 26px; }
.phone h3 { font-size: 21px; }
.phone .ready { background: var(--ok-t); color: var(--ok); padding: 10px 12px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.phone .ready svg { width: 18px; height: 18px; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 13.5px; }
.track li i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); align-self: center; }
.track li span { color: var(--ink-3); font-size: 12.5px; }
.files { display: grid; gap: 6px; }
.file { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 9px 11px; }
.file div { min-width: 0; flex: 1; }
.file b { display: block; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.file small { color: var(--ink-3); font-size: 12px; }
.file span { color: var(--lake); font-weight: 600; font-size: 13px; }
.phone .fine { font-size: 12px; color: var(--ink-3); }
@media (max-width: 860px) { .res { grid-template-columns: 1fr; gap: 36px; } }

/* Video */
.vid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 96px; }
.tracks { margin: 0; background: var(--paper); border: 1px solid var(--line); }
.tk-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.tk-head span + span { color: var(--ink-3); font-weight: 500; }
.tracks ul { list-style: none; margin: 0; padding: 4px 16px 8px; }
.tk-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 58px; gap: 12px; align-items: center; }
.tracks li { padding: 9px 0; font-size: 13.5px; }
.tracks li + li { border-top: 1px solid var(--line); }
.tk-axis { padding: 10px 16px 0; font-size: 11.5px; color: var(--ink-3); }
.tk-axis .ticks { display: flex; justify-content: space-between; }
.tk-axis .ticks b { font-weight: 500; }
.tracks .lane { position: relative; height: 16px; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(var(--line), var(--line)) 0 50% / 100% 1px no-repeat; }
.tracks .lane i { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); background: var(--h-t); border-left: 3px solid var(--h); }
.tracks .st { font-size: 12.5px; font-weight: 600; color: var(--h); text-align: right; }
.tracks li.cleared .what, .tracks li.cleared .st { color: var(--ink-3); }
.tracks li.cleared .what { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.tracks li.cleared .lane i { background: transparent; border: 1px dashed var(--line-strong); }
.tk-foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 520px) { .tk-row { grid-template-columns: minmax(0, 104px) minmax(0, 1fr) 50px; gap: 10px; } }
.vid h3 { font-size: 26px; margin-bottom: 10px; }
.vid p { color: var(--ink-2); max-width: 46ch; }
.vid p + p { margin-top: 12px; }
@media (max-width: 860px) { .vid { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; } }

/* Deadline calculator */
.calc > *, .demo .inner > * { min-width: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field select { min-width: 0; max-width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--paper); font: inherit; color: var(--ink); width: 100%; }
.answer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.answer .k { font-size: 14px; color: var(--ink-2); }
.answer .d { font-family: var(--f-display); font-weight: 750; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin: 4px 0 8px; }
.answer .c { font-size: 13.5px; color: var(--ink-3); }
.weeks { background: var(--paper); border: 1px solid var(--line); }
.weeks .wh, .weeks .wr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.weeks .wh div { padding: 10px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.weeks .wr + .wr { border-top: 1px solid var(--line); }
.weeks .c { min-height: 74px; padding: 9px 11px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.weeks .c:first-child { border-left: 0; }
.weeks .c .dt { color: var(--ink-3); font-size: 12.5px; }
.weeks .c.out .dt { opacity: .45; }
.weeks .c.counted .n { align-self: start; min-width: 24px; height: 24px; padding: 0 6px; background: var(--sage-t); color: var(--sage); font-weight: 700; display: grid; place-items: center; font-size: 12.5px; }
.weeks .c.recv { background: var(--lake-t); }
.weeks .c.recv .t { color: var(--lake); font-weight: 600; }
.weeks .c.hol { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(28,36,32,.05) 6px 12px); }
.weeks .c.hol .t { color: var(--ink-2); font-size: 12px; }
.weeks .c.due { background: var(--sage); color: var(--on-hue); }
.weeks .c.due .dt { color: var(--on-hue); }
.weeks .c.due .n { background: var(--paper); }
.weeks .c.due .t { font-weight: 700; }
.weeks-note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.cite-note { margin-top: 10px; font-size: 13px; color: var(--ink-3); max-width: 52ch; }
.weeks.cal .wh, .weeks.cal .wr { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weeks .c.wkd { background: var(--wash); }
.weeks-scroll { overflow-x: auto; }
.weeks-scroll .weeks { min-width: 520px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; gap: 28px; } }

/* Administrators */
.admin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 56px; }
.admin h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.admin p { color: var(--ink-2); }
.price-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); }
.price { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.price th, .price td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.price thead th { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.price tbody th { font-family: var(--f-display); font-size: 18px; font-weight: 700; }
.price tbody tr:last-child > * { border-bottom: 0; }
.price .cost { font-weight: 700; font-size: 16px; }
.price-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.forward { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.forward h3 { font-size: 22px; margin-bottom: 8px; }
.forward p { color: var(--ink-2); }
.note-box { background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; }
.note-box p { color: var(--ink); white-space: pre-line; font-size: 15px; }
.note-box .row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.note-box .msg { font-size: 13px; color: var(--ok); }
@media (max-width: 860px) { .admin { grid-template-columns: 1fr; gap: 24px; } .forward { grid-template-columns: 1fr; } }

/* Questions */
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.qa h2 { font-size: var(--fs-h2); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 25px; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg); top: 29px; }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; gap: 20px; } }

/* Demo */
.demo { background: var(--lake-t); }
.demo .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
.demo h2 { font-size: var(--fs-h2); }
.demo .inner > div > p { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-lead); max-width: 44ch; }
.demo form { background: var(--paper); padding: 24px; border: 1px solid var(--line); }
.demo form .btn { width: 100%; margin-top: 20px; }
.demo .done { margin-top: 14px; font-size: 14px; color: var(--ok); }
@media (max-width: 860px) { .demo .inner { grid-template-columns: 1fr; gap: 28px; } }

/* ===== v3 ===== */

/* Frame: two hairlines down the page at the column's edges */
main { position: relative; }
main::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1180px; transform: translateX(-50%); border-left: 1px solid var(--frame); border-right: 1px solid var(--frame); pointer-events: none; z-index: 2; }
@media (max-width: 1240px) { main::after { display: none; } }

/* Hero stage: the town on the horizon, the workspace in front of it */
.hero { overflow: hidden; position: relative; background: var(--paper); }
.stage { --tw: min(100vw, 1680px); --th: calc(var(--tw) / 3); --sink: calc(var(--th) * .19); position: relative; z-index: 1; margin-top: calc(var(--th) - var(--sink) + 12px); }
.stage::before { content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw; top: var(--sink); bottom: 0; background: var(--wash); z-index: 0; }
.sky { position: absolute; left: 50%; width: var(--tw); height: var(--th); bottom: calc(100% - var(--sink)); transform: translateX(-50%); z-index: 0; pointer-events: none; }
.stage .win { position: relative; z-index: 1; }
.stage .try { position: relative; z-index: 1; margin: 18px 0 0; }

/* The town: our drawing, lines only on a transparent ground; the edges fade into the page */
.town-art { display: block; width: 100%; height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sky .town-art { height: 100%; }
/* Hidden until the image has arrived and the reveal can start; shown anyway after 4s if the script never runs */
.sky.wait .town-art { opacity: 0; animation: unhide 0s 4s forwards; }
@keyframes unhide { to { opacity: 1; } }
/* On load the town rises from city hall outward */
.sky.play .town-art {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), radial-gradient(closest-side, #000 62%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), radial-gradient(closest-side, #000 62%, transparent);
  -webkit-mask-position: center, 50% 100%; mask-position: center, 50% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: rise 2.8s cubic-bezier(.4,.1,.25,1) both;
}
@keyframes rise {
  from { -webkit-mask-size: 100% 100%, 0% 0%; mask-size: 100% 100%, 0% 0%; }
  to { -webkit-mask-size: 100% 100%, 320% 520%; mask-size: 100% 100%, 320% 520%; }
}
@media (max-width: 860px) { .hero { background: var(--paper); } .stage { --tw: 720px; } }

/* Marks sweep in, left to right, while the AI reads */
.m { background-repeat: no-repeat; background-size: 100% 100%; }
.m.w-ai { background: none; background-image: linear-gradient(var(--mark-ai), var(--mark-ai)); background-repeat: no-repeat; }
.m.w-pattern { background: none; background-image: linear-gradient(var(--mark-pattern), var(--mark-pattern)); background-repeat: no-repeat; }
.m.w-person { background: none; background-image: linear-gradient(var(--mark-person), var(--mark-person)); background-repeat: no-repeat; }
.m.pre { background: none !important; box-shadow: none !important; text-decoration: none !important; cursor: default; }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes ring { 0%, 100% { box-shadow: inset 0 0 0 1.5px var(--soon-line), 0 0 0 0 rgba(217,165,20,.0); } 50% { box-shadow: inset 0 0 0 1.5px var(--soon-line), 0 0 0 5px rgba(217,165,20,.28); } }
@keyframes ul { from { text-decoration-color: transparent; } to { text-decoration-color: var(--ok); } }
.m.in { animation: sweep .45s ease-out both; }
.m.keep.in { animation: ul .5s ease-out both; }
.m.chk.in { animation: ring 1.2s ease-in-out 3; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feed li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12.5px; animation: rise .3s ease-out both; }
.feed li:first-child { border-top: 0; }
.feed li b { font-weight: 600; }
.feed li small { display: block; color: var(--ink-3); font-size: 11.5px; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.reading { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.reading i { width: 8px; height: 8px; border-radius: 50%; background: var(--plum); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.prog { height: 3px; background: var(--line); position: relative; overflow: hidden; }
.prog b { position: absolute; inset: 0 auto 0 0; background: var(--plum); width: var(--p, 0%); transition: width .4s ease; }
.replay { border: 0; background: none; color: var(--link); cursor: pointer; padding: 0; font-size: 13px; margin-left: auto; }
.decide .by { font-size: 12.5px; color: var(--ink-3); }

/* Deadline count plays when it comes into view or changes */
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes duein { from { background-color: var(--paper); color: var(--ink); } }
.weeks.anim .c.counted .n { animation: pop .28s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 80ms); }
.weeks.anim .c.counted.due { animation: duein .4s ease-out both; animation-delay: calc(var(--i) * 80ms); }
.weeks.anim .c.hol .t { animation: rise .4s ease-out both; animation-delay: calc(var(--i) * 80ms); }

/* Pricing: a skyline for each size of place */
.price tbody th { white-space: nowrap; }
.tier { display: inline-flex; align-items: center; gap: 12px; }
.tier { gap: 16px; }
.tier svg { width: 96px; height: 56px; flex: none; fill: none; stroke: var(--h, var(--sage)); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.tier svg .f { fill: var(--h-t, transparent); }
.tier svg .s { opacity: .55; }
.tier svg .g { stroke: var(--line-strong); }
@media (max-width: 560px) { .tier { flex-direction: column; align-items: flex-start; gap: 6px; } .tier svg { width: 76px; height: 44px; } }

/* Closing: talk to Tesseract */
.contact { padding-block: 96px 0; background: var(--paper); }
.contact .card { position: relative; overflow: hidden; background: var(--wash); border: 1px solid var(--line); padding: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 56px; }
.contact h2 { font-size: var(--fs-h2); }
.contact .card > div > p { margin-top: 14px; color: var(--ink-2); font-size: var(--fs-lead); max-width: 46ch; }
.contact .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact .btn svg { width: 12px; height: 12px; }
.contact .small { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); max-width: 50ch; }
.next { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 0; align-self: start; background: var(--paper); border: 1px solid var(--line); }
.next li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 14px; padding: 18px 20px; counter-increment: n; }
.next li + li { border-top: 1px solid var(--line); }
.next li::before { content: counter(n); grid-row: 1 / span 2; width: 26px; height: 26px; background: var(--lake); color: var(--on-hue); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.next h3 { font-size: 16.5px; }
.next p { color: var(--ink-2); font-size: 14.5px; }
.townband { position: relative; z-index: 3; margin-top: 80px; background: var(--paper); display: flex; justify-content: center; overflow: hidden; }
.townband .town-art { opacity: .5; }
.townband .town-art { flex: none; width: min(100%, 1680px); }
@media (max-width: 860px) { .contact { padding-block: 64px 0; } .contact .card { grid-template-columns: 1fr; padding: 32px 20px; } .townband { margin-top: 56px; } .townband .town-art { width: 720px; } }

/* Footer */
footer { margin-top: 0; padding-block: 56px 32px; background: var(--paper); border-top: 1px solid var(--line); }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
footer .brand svg { width: 30px; height: 30px; }
footer .brand span { font-size: 16px; }
footer .about { margin-top: 12px; color: var(--ink-3); font-size: 14px; max-width: 38ch; }
footer .madeby { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
footer .madeby .flag { flex: none; width: 21px; height: 11px; box-shadow: 0 0 0 1px var(--line); }
footer .madeby a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
footer .madeby a:hover { text-decoration-color: currentColor; }
footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer ul a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
footer ul a:hover { color: var(--ink); text-decoration: underline; }
footer ul a svg { width: 10px; height: 10px; margin-left: 4px; }
footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Records and Reports in the workspace preview */
.rt-scroll { overflow-x: auto; }
.rt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rt th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rt td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rt tr:last-child td { border-bottom: 0; }
.rt .id { font-weight: 700; white-space: nowrap; }
.rt .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt th.n { text-align: right; }
.rt .sub { font-size: 12.5px; color: var(--ink-3); }
.rt tr.grp td { background: var(--wash); font-weight: 600; font-size: 12.5px; color: var(--ink-2); padding-block: 6px; }
.panel-h .go { margin-left: auto; }
.suggest { padding: 12px 16px 14px; display: grid; gap: 8px; font-size: 13px; }
.suggest .q { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); }
.suggest .hit { padding: 8px 10px; background: var(--plum-t); border-left: 3px solid var(--plum); }
.suggest .hit b { display: block; color: var(--plum); font-size: 12px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.counts.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.count.ok b { color: var(--ok); }
.mchart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 112px; padding: 14px 16px 0; }
.mchart i { display: block; height: var(--v); background: var(--ochre-t); border-top: 3px solid var(--ochre); }
.mlabels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; padding: 6px 16px 12px; font-size: 11px; color: var(--ink-3); text-align: center; }
@media (max-width: 760px) {
  .two { grid-template-columns: 1fr; }
  .counts.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counts.c4 .count:nth-child(n+4) { display: block; }
  .rt .hide-sm { display: none; }
}

/* Video: a dark band with the review screen in it */
:root {
  --stage: #121614; --stage-2: #1B201E; --stage-line: #343C38;
  --on-stage: #EEF2EF; --on-stage-2: #B3BDB8;
  --tl-hidden: #5AA9FF; --tl-shown: #8C9791; --tl-mute: #FF7A7A; --tl-flag: #C9A2FF; --tl-draw: #FF6FA0;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section.band.dark { position: relative; z-index: 3; background: var(--stage); color: var(--on-stage); }
.dark h2 { color: var(--on-stage); }
.dark .where { color: var(--tl-flag); }
.dark .where .sq { background: var(--tl-flag); color: var(--stage); }
.dark .vcopy p { color: var(--on-stage-2); font-size: var(--fs-lead); max-width: 52ch; }
.dark .vcopy p + p { margin-top: 12px; }
.dark :focus-visible { outline-color: var(--tl-hidden); }
.player { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: var(--stage-2); border: 1px solid var(--stage-line); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.pl-main { min-width: 0; border-right: 1px solid var(--stage-line); }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0C1012; }
.screen .vid-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.screen .vid-el[hidden] { display: none; }
.boxes { position: absolute; inset: 0; pointer-events: none; }
.box { position: absolute; border: 2px solid var(--tl-hidden); }
.box.drawn { border-color: var(--tl-draw); }
.box.drawn span { background: var(--tl-draw); color: #2A0D18; }
.box span { position: absolute; left: -2px; bottom: 100%; padding: 1px 6px; background: var(--tl-hidden); color: #0B1A2B; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.box.clr { border: 1.5px dashed rgba(200,210,205,.7); background: none; }
.box.clr span { background: var(--tl-shown); color: var(--stage); }
.box.end span { left: auto; right: -2px; }
.hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 10px 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(238,242,239,.85); font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000; }
.hud b { font-weight: 600; }
.hud .rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tl-mute); margin-right: 6px; }
.mtag { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; background: var(--tl-mute); color: #2A0D0D; font-size: 12.5px; font-weight: 700; }
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 16px; border-top: 1px solid var(--stage-line); }
.vseg { display: inline-flex; border: 1px solid var(--stage-line); }
.vseg button { border: 0; background: none; color: var(--on-stage-2); padding: 7px 11px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.vseg button[aria-pressed="true"] { background: var(--on-stage); color: var(--stage); }
.snd { border: 1px solid var(--stage-line); background: none; color: var(--on-stage-2); padding: 7px 11px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.snd[aria-pressed="true"] { color: var(--on-stage); border-color: var(--on-stage-2); }
.vnote { grid-column: 1 / -1; padding: 12px 16px; border-top: 1px solid var(--stage-line); font-size: 13px; color: var(--on-stage-2); }
.pp { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--stage-line); background: var(--stage); color: var(--on-stage); cursor: pointer; }
.pp svg { width: 14px; height: 14px; fill: currentColor; }
.pp:hover { border-color: var(--on-stage-2); }
.tc { font-size: 13px; color: var(--on-stage-2); white-space: nowrap; }
.seek { flex: 1; min-width: 0; accent-color: var(--tl-hidden); }
.lanes { position: relative; padding: 4px 16px 14px; border-top: 1px solid var(--stage-line); --lw: 140px; }
.ln { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; font-size: 13px; color: var(--on-stage-2); }
.ln.on .nm { color: var(--on-stage); }
.ln .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln.axis { padding-bottom: 2px; font-size: 11px; }
.ln .ticks { display: flex; justify-content: space-between; }
.ln .ticks b { font-weight: 500; }
.lane { position: relative; height: 14px; background: linear-gradient(90deg, var(--stage-line) 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(var(--stage-line), var(--stage-line)) 0 50% / 100% 1px no-repeat; cursor: pointer; }
.lane i { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); }
.lane i.hid { background: rgba(90,169,255,.35); border-left: 3px solid var(--tl-hidden); }
.lane i.clr { border: 1px dashed var(--tl-shown); }
.lane i.drawn { background: rgba(255,111,160,.35); border-left: 3px solid var(--tl-draw); }
.wave { display: flex; align-items: center; gap: 2px; background: none; height: 22px; }
.wave s { flex: 1 1 0; min-width: 0; height: var(--h); border-radius: 1px; background: #56635C; text-decoration: none; }
.wave s.m { background: var(--tl-mute); }
.playhead { position: absolute; top: 4px; bottom: 10px; width: 2px; margin-left: -1px; background: var(--on-stage); left: calc(16px + var(--lw) + 12px + (100% - 32px - var(--lw) - 12px) * var(--p, 0)); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -4px; border: 5px solid transparent; border-top-color: var(--on-stage); }
.finds { display: flex; flex-direction: column; min-width: 0; }
.fh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--stage-line); font-size: 14px; }
.fh span { color: var(--on-stage-2); font-size: 12.5px; }
.finds ul { list-style: none; margin: 0; padding: 0; }
.finds li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 16px; border-bottom: 1px solid var(--stage-line); font-size: 13.5px; border-left: 3px solid transparent; transition: background .2s, border-color .2s; }
.finds li.on { background: rgba(238,242,239,.06); border-left-color: var(--on-stage); }
.finds li b { display: block; font-weight: 600; }
.finds li small { display: block; color: var(--on-stage-2); font-size: 12.5px; }
.finds .dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; }
.dot.hid { background: var(--tl-hidden); } .dot.mute { background: var(--tl-mute); } .dot.clr { border: 2px dashed var(--tl-shown); } .dot.drawn { background: var(--tl-draw); }
.finds li.added .st { color: var(--tl-draw); }
.finds .st { font-size: 12px; font-weight: 700; color: var(--tl-hidden); }
.finds li.cleared .st { color: var(--on-stage-2); }
.fcheck { margin-top: auto; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 14px 16px; background: rgba(90,169,120,.12); border-top: 1px solid var(--stage-line); font-size: 13.5px; }
.fcheck svg { width: 20px; height: 20px; color: #7BD3A0; margin-top: 1px; }
.fcheck b { display: block; font-weight: 600; }
.fcheck small { color: var(--on-stage-2); font-size: 12.5px; }
@media (max-width: 1100px) { .transport .seek { flex-basis: 100%; order: 5; } }
@media (max-width: 960px) { .player { grid-template-columns: 1fr; } .pl-main { border-right: 0; border-bottom: 1px solid var(--stage-line); } }
@media (max-width: 560px) { .wave { gap: 0; } .wave s { border-right: 1px solid transparent; background-clip: padding-box; } .lanes { --lw: 112px; padding-inline: 12px; } .playhead { left: calc(12px + var(--lw) + 12px + (100% - 24px - var(--lw) - 12px) * var(--p, 0)); } .ln { font-size: 12px; } .box span { font-size: 10px; } .hud { font-size: 10.5px; padding: 7px 10px; } .transport { padding: 8px 12px; } }

/* Everything else that comes with it */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.more h3 { font-size: var(--fs-h3); padding-bottom: 10px; border-bottom: 2px solid var(--h); margin-bottom: 16px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.more li { color: var(--ink-2); font-size: 15px; }
.more li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 1000px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .more { grid-template-columns: 1fr; gap: 32px; } }

/* Account link (Sign in / Open Argus FOIA), rendered by the server */
.top .signin { padding-left: 24px; border-left: 1px solid var(--line); color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top .signin:hover { color: var(--ink); }
@media (max-width: 900px) { .top .signin { margin-left: auto; padding-left: 0; border-left: 0; } .top .signin + .btn { margin-left: 0; } }
@media (max-width: 560px) { .top .wrap { gap: 14px; } .top .btn { padding: 0 12px; } }

/* Menu: below the width the section links fit in, a button opens them in a panel under
   the header, with the account link and the call to action. Phones keep only the call
   to action beside the button (Sign in moves into the panel); the narrowest keep neither. */
.menu-btn { display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn:focus { outline: none; }
.menu-btn:focus-visible { outline: 2px solid var(--lake); outline-offset: -2px; }
/* The bars turn into an X and back, and the panel fades and drops in (the motion of
   gotesseract.com's menu: same timings and curve). Reduced motion turns both off (above). */
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 1.6px; border-radius: 2px; background: currentColor; position: relative; transition: transform .3s cubic-bezier(.22, .8, .2, 1), background-color .2s; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background-color: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px)); overflow-y: auto; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 18px 32px -18px rgba(20, 30, 25, .28); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .3s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .3s; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s cubic-bezier(.22, .8, .2, 1), visibility 0s; }
.menu[hidden] { display: none; }
.top .menu .wrap { flex-direction: column; align-items: stretch; gap: 0; height: auto; padding-block: 6px 18px; }
.menu .wrap > a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; }
.menu .wrap > a:hover { color: var(--lake); }
.menu .wrap > a:focus-visible { outline: 2px solid var(--lake); outline-offset: -2px; }
.menu-foot { display: flex; align-items: center; gap: 20px; padding-top: 18px; }
.top .menu-foot .signin { margin: 0; padding: 0; border: 0; font-size: 16px; }
.top .menu-foot .btn { display: none; margin: 0; }
@media (max-width: 1240px) { .menu-btn:not([hidden]) { display: inline-flex; } }
@media (min-width: 1241px) { .menu { display: none !important; } }
@media (max-width: 560px) { .top .wrap > .signin { display: none; } .top .wrap > .signin + .btn { margin-left: auto; } }
@media (max-width: 370px) { .top .wrap > .btn { display: none; } .top .menu-foot .btn { display: inline-flex; } .menu-btn { margin-left: auto; } }

/* Former inline style attributes */
.st1 { position:absolute; }
.st2 { --v:49px; }
.st3 { --v:61px; }
.st4 { --v:57px; }
.st5 { --v:74px; }
.st6 { --v:65px; }
.st7 { --v:86px; }
.st8 { --v:70px; }
.st9 { --v:53px; }
.st10 { --v:78px; }
.st11 { --v:90px; }
.st12 { --v:45px; }
.st13 { background:var(--mark-ai); }
.st14 { background:var(--mark-pattern); }
.st15 { background:var(--soon-t);box-shadow:inset 0 0 0 1.5px var(--soon-line); }
.st16 { background:transparent;border-bottom:2px solid var(--ok);height:8px; }
.st17 { margin-top:4px; }
.st18 { margin-top:8px; }
.st19 { margin-top:6px; }
.st20 { font-size:12.5px;color:var(--ink-3); }
