/* Post-Disposition Defense Manual site styles (from the 2026-11-18 design prototype).
   Brand tokens come from opencityadvocates.org (static/css/main.css). */

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 700;font-display:swap;src:url('fonts/cormorant-garamond.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 700;font-display:swap;src:url('fonts/cormorant-garamond-italic.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-weight:400;font-display:swap;src:url('fonts/nunito-sans-400.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-weight:600;font-display:swap;src:url('fonts/nunito-sans-600.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-weight:700;font-display:swap;src:url('fonts/nunito-sans-700.woff2') format('woff2');}

:root {
  --brown: #4f4540;   /* text */
  --grey: #7c746d;    /* secondary text, 4.5:1 on white */
  --orange: #c5521f;  /* the case path, links */
  --gold: #fdb51c;    /* deadlines */
  --gold-wash: #fff4d6;
  --rule: #e2ddd9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--sans); letter-spacing: .01em; color: var(--brown); background: #fff; }
a { color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
.chapters .n, .chap-head .num, .steps li::before, .next a { font-variant-numeric: lining-nums; }
img { max-width: 100%; display: block; }


/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); }
.top .logo img { height: 28px; width: auto; }
.top .title { font-family: var(--serif); font-size: 21px; color: var(--brown); text-decoration: none; padding-left: 24px; border-left: 1px solid var(--rule); white-space: nowrap; }
.top .search { margin-left: auto; }
.top .search input { font: inherit; font-size: 15px; width: 17rem; max-width: 40vw; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 4px; color: var(--brown); }

/* Glossary terms */
abbr[data-def] { text-decoration: underline dotted var(--grey); text-underline-offset: 3px; cursor: help; position: relative; }
abbr[data-def]:hover::after, abbr[data-def]:focus::after {
  content: attr(data-def); position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; width: max-content; max-width: 18rem;
  background: var(--brown); color: #fff; font: 400 14px/1.4 var(--sans); padding: 8px 11px; border-radius: 4px; }

/* ---------- Home ---------- */
.home-head { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 56px; padding: 64px var(--gutter) 24px; max-width: 1240px; margin: 0 auto; }
.home-head h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 400; letter-spacing: -.005em; line-height: 1; }
.home-head .lede { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.35; max-width: 30rem; margin: 24px 0 0; }
.edition { font-size: 14px; color: var(--grey); margin: 18px 0 0; }

.quick { border-top: 3px solid var(--brown); padding-top: 16px; }
.quick h2 { font-size: 24px; margin-bottom: 10px; }
.deadlines { list-style: none; margin: 0; padding: 0; }
.deadlines li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.chip { display: inline-block; background: var(--gold); color: var(--brown); font-weight: 700; font-size: 13px; line-height: 1.2; padding: 4px 8px; border-radius: 3px; justify-self: start; }
.quick .more { display: inline-block; font-size: 15px; margin-top: 12px; }

.path-wrap { max-width: 1240px; margin: 0 auto; padding: 32px var(--gutter) 40px; }
.path-wrap > h2 { font-size: 30px; margin-bottom: 4px; }
.path-wrap > p { margin: 0 0 28px; color: var(--grey); max-width: var(--measure); }

/* The case path: one orange line, a stop per stage */
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 30px; width: 4px; background: var(--orange); border-radius: 2px; }
.stage { position: relative; display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 32px; padding: 0 0 36px 52px; }
.stage::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
.stage:last-child::before { background: var(--orange); }
.stage h3 { font-size: 30px; line-height: 1.05; }
.stage .when { font-size: 14px; color: var(--grey); margin: 8px 0 0; line-height: 1.45; }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.chapters li { border-bottom: 1px solid var(--rule); }
.chapters a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 4px 14px; padding: 13px 4px; color: var(--brown); text-decoration: none; }
.chapters a:hover { background: #faf8f6; }
.chapters a:hover .ct { color: var(--orange); }
.chapters .n { font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--grey); grid-row: span 2; padding-top: 2px; }
.chapters .ct { font-family: var(--serif); font-size: 23px; line-height: 1.15; }
.chapters .cd { font-size: 14.5px; color: var(--grey); line-height: 1.45; }

.reference { max-width: 1240px; margin: 0 auto; padding: 8px var(--gutter) 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.3fr; gap: 28px; }
.reference .ref h3 { font-size: 23px; margin-bottom: 6px; }
.reference .ref p { font-size: 15px; margin: 0; color: var(--grey); line-height: 1.5; }
.reference .ref { border-top: 1px solid var(--brown); padding-top: 14px; }
.reference figure { margin: 0; }
.reference figcaption { font-size: 13px; color: var(--grey); margin-top: 8px; line-height: 1.45; }
.reference img { aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

/* ---------- Chapter ---------- */
.crumbs { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) 0; font-size: 14px; color: var(--grey); }
.crumbs a { color: var(--grey); }

/* Mini path: where this chapter sits in the case */
.mini { list-style: none; display: flex; margin: 18px 0 0; padding: 0; font-size: 13.5px; }
.mini li { flex: 1; position: relative; padding-top: 18px; color: var(--grey); }
.mini li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 3px; background: var(--rule); }
.mini li::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--rule); }
.mini li.done::before, .mini li.here::before { background: var(--orange); }
.mini li.done::after { border-color: var(--orange); }
.mini li.here::after { border-color: var(--orange); background: var(--orange); }
.mini li.here { color: var(--brown); font-weight: 700; }
.mini li.here::before { right: 50%; }

.chap-head { max-width: 1240px; margin: 0 auto; padding: 28px var(--gutter) 8px; display: grid; grid-template-columns: 13rem minmax(0, var(--measure)); gap: 48px; }
.chap-head .num { font-family: var(--serif); font-size: 92px; line-height: .8; color: var(--orange); text-align: right; }
.chap-head h1 { font-size: clamp(38px, 4.4vw, 56px); font-weight: 400; }
.chap-head .sum { font-family: var(--serif); font-size: 22px; line-height: 1.4; margin: 16px 0 0; }

.chap { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) 80px; display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 14.5px; line-height: 1.4; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--grey); text-decoration: none; }
.toc a:hover { color: var(--brown); }
.toc a[aria-current="true"] { color: var(--brown); border-left-color: var(--orange); font-weight: 600; }
.toc .pdf { display: inline-block; margin-top: 18px; padding-left: 15px; font-size: 14px; }

/* Text column + margin notes. A note follows its paragraph in the source and lands beside it. */
.body { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 15rem); column-gap: 40px; align-items: start; }
.body > * { grid-column: 1; }
.body > .note { grid-column: 2; font-size: 13.5px; line-height: 1.5; color: var(--grey); margin: 22px 0 0; padding-left: 12px; border-left: 1px solid var(--rule); }
.body > .note sup { color: var(--orange); font-weight: 700; margin-right: 4px; }
.body sup.ref { color: var(--orange); font-weight: 700; font-size: 11px; }
.body h2 { font-size: 34px; margin: 56px 0 4px; padding-top: 16px; border-top: 1px solid var(--rule); }
.body h2:first-child { margin-top: 0; }
.body h3 { font-size: 25px; margin: 36px 0 0; }
.body p { margin: 16px 0 0; }
.body ul { margin: 14px 0 0; padding-left: 1.2em; }
.body li { margin: 6px 0; }

/* The hearing clock: a real sequence, so it is numbered */
.body > .clock { grid-column: 1 / -1; }
.clock { margin: 28px 0 8px; padding: 22px 0 6px; border-top: 3px solid var(--brown); }
.clock h3 { font-size: 22px; margin: 0 0 16px; }
.clock ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; }
.clock li { counter-increment: step; position: relative; padding: 34px 10px 0 0; font-size: 13.5px; line-height: 1.4; }
.clock li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brown); color: #fff; font: 700 12px/24px var(--sans); text-align: center; z-index: 1; }
.clock li::after { content: ""; position: absolute; top: 11px; left: 24px; right: 0; height: 2px; background: var(--rule); }
.clock li:last-child::after { display: none; }
.clock li.hot::before { background: var(--orange); }
.clock b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.15; margin-bottom: 4px; color: var(--brown); }
.clock .chip { margin-top: 8px; }

/* Callouts: each kind means one thing */
.counsel { margin: 24px 0 0; padding: 16px 20px 18px; background: var(--gold-wash); border-left: 4px solid var(--gold); }
.counsel h4, .warn h4 { margin: 0 0 6px; font: 700 15px/1.3 var(--sans); }
.counsel ul { margin: 6px 0 0; }
.warn { margin: 24px 0 0; padding: 14px 18px 16px; border: 1.5px solid var(--orange); border-radius: 3px; }
.warn h4 { color: var(--orange); }
.warn p { margin: 0; }
.rule-quote { margin: 26px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--brown); }
.rule-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; }
.rule-quote figcaption { font-size: 13.5px; color: var(--grey); margin-top: 6px; }
.rule-quote .gloss { font-size: 15.5px; margin: 10px 0 0; }

/* Packet checklist */
.check { list-style: none; padding: 0 !important; margin: 16px 0 0; border-top: 1px solid var(--rule); }
.check li { margin: 0; border-bottom: 1px solid var(--rule); }
.check label { display: flex; gap: 12px; padding: 9px 2px; cursor: pointer; line-height: 1.45; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check input:checked + span { color: var(--grey); text-decoration: line-through; text-decoration-color: var(--rule); }

/* Steps at the hearing */
.steps { counter-reset: s; list-style: none; padding: 0 !important; margin: 18px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--orange); width: 32px; text-align: right; }
.steps b { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; line-height: 1.2; }

.docs { list-style: none; padding: 0 !important; margin: 16px 0 0; }
.docs a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--brown); text-decoration: none; }
.docs a:hover { color: var(--orange); }
.docs .fmt { font-size: 13px; color: var(--grey); }

.next { margin-top: 56px; padding-top: 18px; border-top: 3px solid var(--brown); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--grey); }
.next a { display: block; font-family: var(--serif); font-size: 22px; text-decoration: none; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1080px) {
  .body { grid-template-columns: minmax(0, var(--measure)); }
  .body > .note { grid-column: 1; margin-top: 10px; }
}
@media (max-width: 900px) {
  .home-head { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .stage { grid-template-columns: 1fr; gap: 14px; padding-left: 44px; }
  .reference { grid-template-columns: 1fr 1fr; }
  .chap-head, .chap { grid-template-columns: 1fr; gap: 16px; }
  .chap-head .num { text-align: left; font-size: 64px; }
  .toc { position: static; }
  .clock ol { grid-template-columns: 1fr; }
  .clock li { padding: 0 0 16px 38px; }
  .clock li::after { top: 24px; bottom: 0; left: 11px; right: auto; width: 2px; height: auto; }
  .mini li span { display: none; }
  .mini li.here span { display: inline; }
}
@media (max-width: 620px) {
  .top { flex-wrap: wrap; gap: 10px 16px; position: static; }
  .top .title { font-size: 18px; padding-left: 14px; }
  .top .search { order: 3; flex-basis: 100%; margin: 0; }
  .top .search input { width: 100%; max-width: none; }
  .reference { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Site additions (2026-11-19) ---------- */
:root { --blue: #2f6690; --blue-wash: #e6eff7; --gold-mark: #ffe9a8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Review bar and open-item marks */
.review-bar { background: var(--brown); color: #fff; font-size: 13.5px; padding: 8px var(--gutter); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.review-bar p { margin: 0; }
.review-bar strong { color: var(--gold); }
.review-toggle { font: inherit; font-size: 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; padding: 3px 10px; cursor: pointer; }
.review-toggle:hover { border-color: #fff; }
mark.open { color: var(--brown); border-radius: 2px; padding: 1px 4px; font-size: .92em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.open b { font-weight: 700; }
mark.verify { background: var(--gold-mark); }
mark.oca { background: var(--blue-wash); box-shadow: inset 0 -2px 0 var(--blue); }
.review-bar mark.open { font-size: 12.5px; padding: 0 4px; }
.hide-review .body mark.open, .hide-review .figure-todo { display: none; }
.hide-review .review-bar .legend { opacity: .6; }

/* Header search */
.top .search { position: relative; }
.results { position: absolute; right: 0; top: calc(100% + 6px); width: min(34rem, 92vw); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 12px 32px rgba(79,69,64,.16); z-index: 30; }
.results a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--rule); color: var(--brown); text-decoration: none; }
.results a:hover, .results a:focus { background: #faf8f6; outline: none; }
.results .rt { font-family: var(--serif); font-size: 19px; line-height: 1.2; display: block; }
.results .rs { font-size: 13px; color: var(--orange); display: block; margin-top: 2px; }
.results .rx { font-size: 13.5px; color: var(--grey); line-height: 1.45; display: block; margin-top: 4px; }
.results .rx mark { background: var(--gold-mark); color: var(--brown); }
.results .empty { padding: 12px 14px; font-size: 14px; color: var(--grey); margin: 0; }

/* Home deadlines are links */
.deadlines li a { color: var(--brown); text-decoration: none; }
.deadlines li a:hover { color: var(--orange); text-decoration: underline; }

/* Chapter head and contents */
.chap-head .updated { font-size: 13.5px; color: var(--grey); margin: 10px 0 0; }
.toc-h { font-size: 12.5px; font-weight: 700; color: var(--grey); margin: 0 0 8px; letter-spacing: .02em; }
.toc .print { font: inherit; font-size: 14px; color: var(--orange); background: none; border: 0; padding: 0 0 0 15px; margin-top: 18px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.toc ol { max-height: calc(100vh - 190px); overflow: auto; }

/* Body copy: the chapter text runs one column; notes live at the end and pop up in place */
.body { display: block; max-width: var(--measure); }
.body h4 { font: 700 16px/1.35 var(--sans); margin: 26px 0 0; }
.body ol { margin: 14px 0 0; padding-left: 1.4em; }
.body blockquote { margin: 20px 0 0; padding-left: 18px; border-left: 2px solid var(--rule); }
.body hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.body p:empty { display: none; }

/* Callouts: each kind means one thing */
.callout { margin: 24px 0 0; padding: 14px 20px 16px; }
.callout > :first-child { margin-top: 0; }
.callout p, .callout ul, .callout ol { margin-top: 8px; }
.callout .callout-label { margin: 0 0 4px; font: 700 14.5px/1.3 var(--sans); }
.callout.counsel { background: var(--gold-wash); border-left: 4px solid var(--gold); }
.callout.warn { border: 1.5px solid var(--orange); border-radius: 3px; }
.callout.warn .callout-label { color: var(--orange); }
.callout.new { background: #f6f3f0; border-top: 3px solid var(--brown); }
.callout.pending { border: 1.5px dashed var(--grey); border-radius: 3px; }
.callout.pending .callout-label { color: var(--grey); }
.callout.rule { padding: 0 0 0 22px; border-left: 2px solid var(--brown); }
.callout.rule .callout-label { font-size: 13px; color: var(--grey); }
.callout.rule p:not(.callout-label):not(.gloss) { white-space: pre-line; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.42; }
.callout.rule .gloss { font-size: 15.5px; margin-top: 10px; }

/* Sequences drawn as steps */
.body ol.steps { padding-left: 0; }
.steps > li > p:first-child { margin: 0; }
.steps strong:first-child { font-weight: 700; color: var(--brown); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0 0; }
.body table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.45; }
.body th { text-align: left; font-weight: 700; border-bottom: 2px solid var(--brown); padding: 8px 10px 6px 0; vertical-align: bottom; }
.body td { border-bottom: 1px solid var(--rule); padding: 8px 10px 8px 0; vertical-align: top; }

/* Checklists */
.body ul.check { padding-left: 0; }
.check li { display: flex; gap: 12px; padding: 9px 2px; line-height: 1.45; }
.check li > input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 3px; flex: none; cursor: pointer; }

/* Figure placeholders */
.figure-todo { margin: 24px 0 0; padding: 14px 18px; border: 1.5px dashed var(--rule); border-radius: 3px; font-size: 14px; color: var(--grey); }

/* Footnote references and the notes list */
.body sup a[data-footnote-ref] { color: var(--orange); font-weight: 700; font-size: 11px; text-decoration: none; padding: 0 1px; }
.footnotes { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.55; color: var(--grey); }
.footnotes .notes-label { font-size: 26px; color: var(--brown); margin-bottom: 8px; }
.footnotes ol { padding-left: 1.6em; }
.footnotes li { margin: 8px 0; }
.footnotes li p { margin: 0; }
.footnotes li:target { background: var(--gold-wash); }
.note-pop { position: absolute; z-index: 25; width: min(26rem, calc(100vw - 32px)); background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--orange); box-shadow: 0 10px 28px rgba(79,69,64,.16); padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--brown); border-radius: 3px; }
.note-pop p { margin: 0; }
.note-pop .data-footnote-backref, .note-pop a[data-footnote-backref] { display: none; }

.next .nextch { text-align: right; }
.plain { max-width: var(--measure); margin: 0 auto; padding: 64px var(--gutter); }

@media (max-width: 900px) {
  .toc ol { max-height: none; }
}

@media print {
  .review-bar, .top, .crumbs, .toc, .next, .note-pop { display: none !important; }
  .chap, .chap-head { display: block; padding: 0; }
  .chap-head .num { text-align: left; font-size: 40px; }
  body { font-size: 11pt; }
  a { color: inherit; }
  .body h2 { break-after: avoid; }
}

/* Chapter contents fold on phones */
.toc-d > summary { list-style: none; cursor: default; }
.toc-d > summary::-webkit-details-marker { display: none; }
@media (max-width: 900px) {
  .toc { border: 1px solid var(--rule); border-radius: 4px; padding: 10px 14px; }
  .toc-d > summary { cursor: pointer; margin: 0; font-size: 14px; color: var(--brown); display: flex; justify-content: space-between; }
  .toc-d > summary::after { content: "Show"; color: var(--orange); font-weight: 600; }
  .toc-d[open] > summary::after { content: "Hide"; }
  .toc-d[open] > summary { margin-bottom: 8px; }
  .toc .print { padding-left: 0; margin-top: 10px; }
}

/* Signed-in reader in the header */
.top .who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--grey); white-space: nowrap; }
.top .who[hidden] { display: none; }
.top .who a { color: var(--grey); }
.top .who form { margin: 0; }
.top .who button { font: inherit; color: var(--grey); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.top .who .who-email { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1080px) { .top .who .who-email { display: none; } }

/* Sign-in, apply and staff pages */
.gate { max-width: 34rem; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.gate.wide { max-width: 64rem; }
.gate h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 400; }
.gate h2 { font-size: 28px; margin: 44px 0 4px; }
.gate .lede { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 14px 0 0; }
.gate .aside { font-size: 15px; color: var(--grey); margin-top: 28px; }
.gate .muted, .admin .muted { color: var(--grey); font-size: 14px; }
.gate .flash { margin: 20px 0 0; padding: 10px 14px; background: var(--gold-wash); border-left: 4px solid var(--gold); font-size: 15px; }
.gate .flash.error { background: #fbeae3; border-left-color: var(--orange); }
.gate-form { display: grid; gap: 6px; margin-top: 24px; max-width: 30rem; }
.gate-form label { font-weight: 600; font-size: 15px; margin-top: 10px; }
.gate-form .opt { font-weight: 400; color: var(--grey); }
.gate-form input:not([type=checkbox]), .gate-form textarea { font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid #cfc8c2; border-radius: 4px; color: var(--brown); width: 100%; }
.gate-form textarea { resize: vertical; }
.gate-form .check-row { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.gate-form .check-row input { accent-color: var(--orange); width: 18px; height: 18px; }
.gate-form button, .admin button.primary { font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--orange); border: 0; border-radius: 4px; padding: 11px 18px; margin-top: 16px; cursor: pointer; justify-self: start; }
.gate-form button:hover, .admin button.primary:hover { background: #a9441a; }
table.admin { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 12px; }
table.admin th { text-align: left; border-bottom: 2px solid var(--brown); padding: 8px 12px 6px 0; font-size: 14px; }
table.admin td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; vertical-align: top; }
table.admin .acts { white-space: nowrap; text-align: right; }
table.admin form.inline { display: inline; margin-left: 6px; }
table.admin button { font: inherit; font-size: 14px; padding: 6px 12px; border: 1px solid #cfc8c2; border-radius: 4px; background: #fff; color: var(--brown); cursor: pointer; margin: 0; }
table.admin button.primary { padding: 6px 12px; font-size: 14px; margin: 0; border: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; background: var(--gold); color: var(--brown); padding: 1px 6px; border-radius: 3px; vertical-align: 1px; }
