/* Corkboard: a detective's cork board. Cork, paper, pins and red yarn; everything else stays quiet. */
:root {
  --cork: #b5865a; --cork-d: #8d6440; --wood: #4a3322; --wood-l: #6b4b33;
  --paper: #f4efe3; --paper-y: #ece2c8; --manila: #e6d3a5; --ink: #26211c; --ink-2: #5b5248; --hair: #26211c26;
  --red: #a8261b; --red-d: #7c1a12; --blue: #2a4f86; --ok: #2f6b3f;
  --typed: 'Courier Prime', ui-monospace, Menlo, monospace; --hand: 'Caveat', cursive; --head: 'Special Elite', 'Courier Prime', monospace;
  --news: 'Libre Caslon Text', Georgia, serif; --fell: 'IM Fell English', Georgia, serif; --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--wood); color: var(--ink); font: 15px/1.45 var(--sans); }
button { font: inherit; color: inherit; }
a { color: inherit; }
.small { font-size: 13px; color: var(--ink-2); }

/* cork texture */
.cork, .at-home {
  background-color: var(--cork);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .32  0 0 0 0 .2  0 0 0 0 .1  0 0 0 1.1 -.35'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .95  0 0 0 0 .8  0 0 0 0 .55  0 0 0 .35 -.05'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23m)'/%3E%3C/svg%3E");
}

/* ---------- buttons */
.btn { border: 1.5px solid var(--ink); background: var(--paper); padding: 7px 14px; border-radius: 3px; cursor: pointer; font: 700 14px var(--typed); text-decoration: none; display: inline-block; }
.btn:hover { background: #fff; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: #000; }
.btn.red { background: var(--red); border-color: var(--red-d); color: #fff7ee; }
.btn.red:hover { background: var(--red-d); }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .4; cursor: default; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 13px; color: var(--ink-2); }

/* ---------- home */
.at-home { min-height: 100%; }
.home { max-width: 1060px; margin: 0 auto; padding: 36px 20px 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px 30px; align-items: start; }
.labelmaker { grid-column: 1 / -1; justify-self: start; background: #17181a; color: #f2f2f2; font: 700 30px/1 var(--typed); letter-spacing: .32em; padding: 10px 14px 9px 20px; border-radius: 3px;
  text-shadow: 0 1px 0 #fff4, 0 -1px 0 #000; box-shadow: 0 3px 6px #0006; transform: rotate(-1.2deg); }
.index { position: relative; background: var(--paper); padding: 22px 22px 18px; box-shadow: 0 2px 2px #0002, 0 10px 22px #0003;
  background-image: linear-gradient(transparent 31px, #c44 31px, #c44 32px, transparent 32px), repeating-linear-gradient(transparent 0 23px, #6a8fc022 23px 24px); background-size: 100% 100%, 100% 24px; background-position: 0 0, 0 8px; }
.index:nth-child(odd) { transform: rotate(.5deg); } .index:nth-child(even) { transform: rotate(-.6deg); }
.index::before { content: ''; position: absolute; top: -7px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff9 0 2px, transparent 3px), var(--red); box-shadow: 0 3px 3px #0005; }
.index h2 { margin: 0 0 12px; font: 700 15px var(--typed); text-transform: uppercase; letter-spacing: .08em; }
.index h1 { font: 400 40px/1.08 var(--head); margin: 8px 0 10px; }
.index .tag { font: 400 19px/1.4 var(--typed); margin: 0 0 16px; }
.i-head { display: flex; justify-content: space-between; font: 700 13px var(--typed); text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.i-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--hair); padding-top: 14px; }
.today { grid-row: span 2; padding: 26px 28px 22px; }
.how ol { margin: 0; padding-left: 20px; } .how li { margin-bottom: 8px; }
.st { font: 700 12px var(--typed); text-transform: uppercase; color: var(--ink-2); }
.st.open { color: var(--blue); } .st.win { color: var(--ok); } .st.cold { color: var(--red); }
.stats { display: flex; gap: 28px; } .stats b { display: block; font: 700 30px var(--typed); } .stats span { font-size: 12px; color: var(--ink-2); }
.archive ul { list-style: none; margin: 0; padding: 0; }
.archive a { display: grid; grid-template-columns: 58px 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.archive a:hover .tt { text-decoration: underline; }
.archive .no { font: 700 13px var(--typed); color: var(--red); } .archive .tt { font-weight: 600; } .archive .er { font: 13px var(--typed); color: var(--ink-2); }
.archive .st { grid-column: 2 / -1; }
.lb { grid-column: 1 / -1; }
.board-t { width: 100%; border-collapse: collapse; font: 14px var(--typed); }
.board-t td { padding: 5px 8px; border-bottom: 1px solid var(--hair); } .board-t td:first-child { width: 30px; color: var(--ink-2); } .board-t td:last-child { text-align: right; }
.board-t tr.me { background: #f5d87a55; }
.credit { grid-column: 1 / -1; text-align: center; color: #f4efe3cc; font-size: 13px; text-shadow: 0 1px 2px #0008; }

/* ---------- case layout */
.case { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr 380px; grid-template-rows: 48px 1fr; }
.bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 16px; background: var(--wood); color: #f1e6d2; border-bottom: 2px solid #2d1f14; }
.bar .back { text-decoration: none; font: 700 14px var(--typed); opacity: .85; } .bar .back:hover { opacity: 1; }
.bar .title { display: flex; gap: 12px; align-items: baseline; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.bar .title b { font: 400 19px var(--head); } .bar .title span { font: 13px var(--typed); opacity: .7; }
.tools { display: flex; gap: 4px; } .tools button { background: var(--wood-l); border: 1px solid #0005; color: #f1e6d2; border-radius: 3px; padding: 3px 10px; cursor: pointer; font: 700 13px var(--typed); }
.tools button:hover { background: #7d5a3e; }
.clock { font: 700 16px var(--typed); min-width: 64px; text-align: right; }
.cork { position: relative; overflow: hidden; cursor: grab; box-shadow: inset 0 0 0 10px var(--wood-l), inset 0 0 0 12px #2d1f14, inset 0 0 40px #0006; touch-action: none; }
.cork.panning { cursor: grabbing; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; width: 1px; height: 1px; }
.cards { position: absolute; left: 0; top: 0; }
.yarn { position: absolute; left: 0; top: 0; width: 6000px; height: 6000px; overflow: visible; pointer-events: none; z-index: 5000; }
.yarn path { fill: none; stroke-linecap: round; }
.yarn .str, .yarn .live { stroke: #b52a1f; stroke-width: 3; filter: drop-shadow(1px 3px 1.5px #0006); }
.yarn .live { stroke-dasharray: 2 0; opacity: .85; }
.yarn .tie { stroke: #7e140c; stroke-width: 4.5; filter: drop-shadow(1px 4px 2px #0007); }
.yarn .hit { stroke: transparent; stroke-width: 16; pointer-events: stroke; cursor: pointer; }
.yarn .hit:hover { stroke: #ffffff30; }
.cork.tying { cursor: crosshair; }

.card { position: absolute; left: 0; top: 0; cursor: pointer; }
.card.lift { cursor: grabbing; }
.card.lift .prop { box-shadow: 0 18px 30px #0006; }
.pin { position: absolute; z-index: 3; left: 50%; top: -2px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; cursor: crosshair;
  background: radial-gradient(circle at 34% 32%, #ffffffb0 0 2.5px, transparent 4px), radial-gradient(circle at 50% 50%, var(--pin) 0 60%, color-mix(in srgb, var(--pin), #000 35%) 100%);
  box-shadow: 2px 5px 4px #0006; }
.pin:hover { transform: scale(1.12); }
.card.new .prop::after { content: 'NEW'; position: absolute; top: -10px; right: -10px; background: var(--red); color: #fff; font: 700 12px var(--typed); padding: 3px 7px; transform: rotate(8deg); box-shadow: 0 2px 4px #0005; }
.card.flash .prop { animation: flash 1.2s ease; }
@keyframes flash { 0%, 60% { outline: 6px solid #f2c94c; outline-offset: 6px; } 100% { outline: 6px solid transparent; outline-offset: 14px; } }
.picking .card .prop { opacity: .72; }
.picking .card:hover .prop { opacity: 1; }
.card.sel .prop { opacity: 1; outline: 5px solid #f2c94c; outline-offset: 5px; }
.picking .pin { pointer-events: none; }

/* ---------- props (paper) */
.prop { position: relative; width: 320px; background: var(--paper); padding: 22px 20px 34px; transform: rotate(var(--tilt)); box-shadow: 0 1px 1px #0002, 0 6px 14px #0004; font-size: 14px; }
.prop p { margin: 0 0 .7em; } .prop p:last-child { margin-bottom: 0; }
.prop .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 10px; font: 11px/1.2 var(--typed); color: var(--ink-2); border-top: 1px dashed #0002; display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop .tag span { font-weight: 700; color: var(--red); }
.prop header { display: flex; justify-content: space-between; gap: 10px; font: 700 11px var(--typed); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1.5px solid var(--ink); padding-bottom: 6px; margin-bottom: 10px; }
.prop h3 { font: 700 15px var(--typed); margin: 0 0 8px; }
.prop .sign { font: 700 24px/1 var(--hand); margin-top: 10px; text-align: right; }
.redact { background: var(--ink); color: transparent; user-select: none; }

.t-person { width: 230px; padding: 12px 12px 34px; background: #ece6d8; }
.t-person .mug svg { display: block; width: 100%; height: auto; aspect-ratio: 120 / 140; }
.t-person .who { margin-top: 8px; } .t-person .who b { display: block; font: 700 16px var(--typed); } .t-person .who span { font-size: 12.5px; color: var(--ink-2); }
.t-person .bio { font-size: 13px; margin-top: 6px; }

.t-report, .t-statement, .t-table, .t-email { width: 360px; font-family: var(--typed); font-size: 13.5px; }
.t-report dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 0 0 10px; font-size: 12.5px; }
.t-report dt { font-weight: 700; text-transform: uppercase; font-size: 11px; padding-top: 2px; } .t-report dd { margin: 0; border-bottom: 1px dotted #0003; }
.t-statement { background: #f6f2e8; background-image: repeating-linear-gradient(transparent 0 21px, #4a6fa522 21px 22px); }
.t-letter { width: 320px; background: #f7f1e1; font: 600 21px/1.18 var(--hand); padding: 26px 24px 40px; }
.t-letter .date { text-align: right; } .t-letter .to { margin-bottom: 6px; }
.t-letter:not(.hand) { font: 14px/1.5 var(--typed); }
.t-note { width: 220px; background: #f3e27a; font: 600 22px/1.12 var(--hand); padding: 20px 18px 36px; box-shadow: 0 1px 1px #0002, 2px 10px 10px -4px #0005; }
.t-note.p-white { background: #f6f3ea; } .t-note.p-blue { background: #cfe0ee; } .t-note.p-pink { background: #f1cfd2; } .t-note.p-torn { background: #efe8d6; clip-path: polygon(0 3%, 12% 0, 30% 4%, 55% 1%, 76% 4%, 100% 0, 98% 100%, 0 100%); }
.t-card { width: 290px; background-image: linear-gradient(transparent 38px, #c44a 38px, #c44a 39px, transparent 39px), repeating-linear-gradient(transparent 0 21px, #6a8fc030 21px 22px); background-position: 0 0, 0 18px; font-family: var(--typed); font-size: 13.5px; }
.t-receipt { width: 220px; background: #fbf9f3; font: 12.5px/1.35 var(--typed); padding: 16px 16px 34px; clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 84% 96%, 76% 100%, 68% 96%, 60% 100%, 52% 96%, 44% 100%, 36% 96%, 28% 100%, 20% 96%, 12% 100%, 4% 96%, 0 100%); }
.t-receipt .shop { text-align: center; font-weight: 700; font-size: 14px; text-transform: uppercase; } .t-receipt .addr { text-align: center; font-size: 11px; margin-bottom: 6px; }
.t-receipt .row { display: flex; justify-content: space-between; gap: 8px; } .t-receipt hr { border: 0; border-top: 1px dashed #0006; margin: 6px 0; }
.t-receipt .tot { font-weight: 700; } .t-receipt .foot { text-align: center; font-size: 11px; margin-top: 6px; }
.t-news { width: 390px; background: #ebe5d3; font: 13px/1.42 var(--news); }
.t-news .paper { font: 700 22px var(--news); text-align: center; border-bottom: 3px double var(--ink); padding-bottom: 4px; }
.t-news .dateline { font: 11px var(--typed); text-align: center; border-bottom: 1px solid var(--ink); padding: 3px 0; margin-bottom: 10px; text-transform: uppercase; }
.t-news h3 { font: 700 21px/1.12 var(--news); margin: 0 0 5px; } .t-news h4 { font: italic 14px var(--news); margin: 0 0 10px; }
.cols { column-count: 2; column-gap: 18px; column-rule: 1px solid #0002; }
.t-photo { width: 290px; background: #fbfaf6; padding: 12px 12px 58px; }
.t-photo .pic svg { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.t-photo .pic svg.portrait { aspect-ratio: 120 / 140; }
.t-photo .cap { position: absolute; left: 14px; right: 14px; bottom: 26px; font: 600 19px/1 var(--hand); }
.t-map { width: 360px; background: #efe8d4; }
.t-map .pic svg { display: block; width: 100%; height: auto; border: 1px solid #0003; }
.t-map .cap { font: 12.5px var(--typed); margin-top: 6px; }
.t-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.t-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding: 2px 4px; }
.t-table td { padding: 3px 4px; border-bottom: 1px solid #0001; vertical-align: top; }
.t-table .foot { margin-top: 8px; font-size: 12px; }
.t-table.k-ledger { background: #eef0e2; background-image: linear-gradient(90deg, transparent 32px, #c44a 32px, #c44a 33px, transparent 33px); }
.t-ticket { width: 290px; background: #e9dcb6; font-family: var(--typed); padding: 14px 16px 36px; border: 1px dashed #0004; }
.t-ticket .line { font: 700 12px var(--typed); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid #0004; padding-bottom: 4px; }
.t-ticket .route { display: flex; gap: 8px; align-items: baseline; margin: 10px 0; flex-wrap: wrap; } .t-ticket .route b { font-size: 17px; } .t-ticket .route span { font-size: 12px; }
.t-ticket .tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; } .t-ticket small { display: block; font-size: 10px; text-transform: uppercase; color: var(--ink-2); }
.t-ticket .punch { margin-top: 8px; font: 700 13px var(--typed); color: var(--blue); border: 2px solid var(--blue); display: inline-block; padding: 1px 6px; transform: rotate(-4deg); }
.t-ticket .no { font-size: 11px; margin-top: 6px; color: var(--ink-2); }
.t-telegram { width: 340px; background: #efe3c0; font-family: var(--typed); }
.t-telegram .tg-to { font-size: 12px; margin-bottom: 10px; }
.t-telegram .tape { background: #fbf6e6; padding: 8px 10px; font: 700 13px/1.6 var(--typed); text-transform: uppercase; box-shadow: 0 1px 2px #0002; }
.t-texts { width: 270px; background: #1b1c1f; color: #eee; padding: 16px 12px 36px; border-radius: 22px; box-shadow: 0 0 0 5px #2c2d31, 0 8px 16px #0006; }
.t-texts .ph-top { text-align: center; font-weight: 600; margin-bottom: 10px; } .t-texts .ph-top small { display: block; font-weight: 400; opacity: .6; font-size: 11px; }
.t-texts .msgs { display: flex; flex-direction: column; gap: 6px; }
.t-texts .msg { max-width: 82%; padding: 6px 10px; border-radius: 14px; font-size: 13px; line-height: 1.3; background: #3a3b40; align-self: flex-start; }
.t-texts .msg.me { background: #2e6fd8; align-self: flex-end; }
.t-texts .msg time { display: block; font-size: 10px; opacity: .6; margin-top: 2px; }
.t-texts .tag { color: #aaa; border-top-color: #fff2; }
.t-email { background: #fdfdfb; font-family: var(--sans); font-size: 13.5px; }
.t-email .mail-h { border-bottom: 1px solid #0002; padding-bottom: 8px; margin-bottom: 10px; font-size: 12.5px; }
.t-email .mail-h small { display: inline-block; width: 58px; color: var(--ink-2); }
.prop.wide { width: 440px; }

/* era looks */
.style-victorian .prop:not(.t-photo):not(.t-person) { background-color: #efe3c4; }
.style-victorian .t-report, .style-victorian .t-statement, .style-victorian .t-card, .style-victorian .t-table, .style-victorian .t-letter:not(.hand) { font-family: var(--fell); font-size: 15px; }
.style-victorian .t-statement { background-image: none; }
.style-victorian .pic svg, .style-jazz .pic svg, .style-victorian .mug svg, .style-jazz .mug svg { filter: sepia(.75) contrast(1.05) brightness(.97); }
.style-sixties .pic svg, .style-sixties .mug svg { filter: grayscale(1) contrast(1.1); }
.style-seventies .pic svg, .style-seventies .mug svg { filter: sepia(.25) saturate(.8) contrast(.92) brightness(1.03); }
.style-seventies .t-photo { padding-bottom: 66px; }
.style-eighties .pic svg, .style-eighties .mug svg { filter: saturate(1.1) contrast(1.05); }
.style-modern .t-report, .style-modern .t-statement, .style-modern .t-table { font-family: var(--sans); background-image: none; background-color: #fdfdfb; }
.style-modern .t-photo { padding-bottom: 12px; } .style-modern .t-photo .cap { position: static; font: 12px var(--sans); margin-top: 8px; }

/* ---------- notebook */
.notebook { background: var(--manila); border-left: 2px solid #2d1f14; overflow-y: auto; padding: 18px 18px 0; display: flex; flex-direction: column; gap: 18px; }
.notebook h2 { font: 700 13px var(--typed); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.notebook h2 small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.nb-brief .brief { font-size: 13.5px; max-height: 7.4em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.leads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lead { background: var(--paper); padding: 12px 14px; box-shadow: 0 1px 2px #0003; font-size: 14px; }
.lead .lh { display: flex; justify-content: space-between; font: 700 12px var(--typed); text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.lead .need { color: var(--ink-2); }
.lead p { margin: 0 0 8px; }
.lead .hint { font-size: 13px; background: #f7e9a8; padding: 6px 8px; }
.lead .found { font-size: 13.5px; border-left: 3px solid var(--ok); padding-left: 8px; }
.lead .found.missed { border-color: var(--ink-2); color: var(--ink-2); }
.lead .cites { font: 12px var(--typed); color: var(--ink-2); } .lead .cites a { text-decoration: underline; cursor: pointer; }
.lead .la { display: flex; gap: 6px; }
.lead.ok { background: #f0ede4; }
.lead .empty, .leads .empty { font-size: 13.5px; color: var(--ink-2); }
.stamp { font: 700 12px var(--typed); color: var(--ok); border: 2px solid var(--ok); padding: 0 6px; transform: rotate(-3deg); text-transform: uppercase; letter-spacing: .08em; }
.stamp.big { display: inline-block; font-size: 26px; padding: 2px 14px; border-width: 3px; margin-bottom: 14px; }
.locked { margin: 10px 0 0; }
.nb-foot { position: sticky; bottom: 0; margin: auto -18px 0; padding: 14px 18px 16px; background: var(--manila); border-top: 1px solid #0002; display: flex; flex-direction: column; gap: 10px; }
.meters { display: flex; justify-content: space-between; font: 700 13px var(--typed); }
.nb-foot .btn { width: 100%; padding: 11px; font-size: 15px; }

/* ---------- pick bar */
.pickbar { position: fixed; left: 50%; bottom: 22px; transform: translateX(calc(-50% - 190px)); width: min(720px, calc(100vw - 440px)); background: var(--paper); box-shadow: 0 10px 30px #0007; padding: 14px 16px; z-index: 50; display: grid; gap: 8px; border-top: 4px solid #f2c94c; }
.pb-txt { font-size: 14px; } .pb-txt b { font: 700 12px var(--typed); text-transform: uppercase; color: var(--red); margin-right: 6px; }
.pb-sel { display: flex; flex-wrap: wrap; gap: 6px; } .pb-sel span { background: #f2c94c55; border: 1px solid #c9a227; padding: 1px 8px; font: 12.5px var(--typed); } .pb-sel em { font-size: 13px; color: var(--ink-2); }
.pb-act { display: flex; gap: 8px; justify-content: flex-end; align-items: center; } .pb-act > span { font: 700 13px var(--typed); margin-right: auto; }

/* ---------- modals */
.modal { position: fixed; inset: 0; background: #1a120bb8; display: grid; place-items: center; z-index: 100; padding: 24px; overflow-y: auto; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal .sheet { max-width: 760px; width: 100%; }
.m-read .sheet { width: auto; max-width: none; }
.reader .prop { zoom: 1.45; margin: 0 auto; }
.reader .prop .tag { position: static; margin: 12px -20px -34px; }
.folder, .confirm-lead, .lineup, .charge, .verdict { position: relative; background: var(--paper); padding: 30px 34px; box-shadow: 0 20px 50px #0008; }
.folder { background: var(--manila); max-width: 620px; margin: 0 auto; }
.f-tab { position: absolute; top: -26px; left: 22px; background: inherit; padding: 5px 16px 4px; font: 700 12px var(--typed); text-transform: uppercase; letter-spacing: .08em; border-radius: 6px 6px 0 0; }
.folder h2, .charge h2 { font: 400 30px/1.1 var(--head); margin: 0 0 4px; } .folder .sub { font: 14px var(--typed); margin: 0 0 16px; color: var(--ink-2); }
.folder .brief { font-size: 15.5px; }
.confirm-lead { max-width: 520px; margin: 0 auto; text-align: center; } .confirm-lead p { font-size: 16px; }
.lineup { text-align: center; } .lineup h2 { font: 400 30px var(--head); margin: 0; }
.faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 20px 0; }
.faces button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.faces .prop { width: 170px; transform: none; padding-bottom: 12px; } .faces .bio, .faces .tag { display: none; }
.faces button:hover .prop { outline: 4px solid var(--red); outline-offset: 4px; }
.charge { background: var(--manila); max-width: 520px; margin: 0 auto; } .charge label { display: block; margin: 14px 0 4px; font: 700 13px var(--typed); }
.charge input, .verdict input { font: 14px var(--typed); padding: 6px 8px; border: 1.5px solid var(--ink); background: #fff; border-radius: 3px; }
.charge .row, .verdict .row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
.verdict { background: #ebe5d3; font-family: var(--news); }
.verdict .paper { font: 700 34px var(--news); text-align: center; border-bottom: 3px double var(--ink); padding-bottom: 6px; }
.verdict .dateline { font: 12px var(--typed); text-align: center; border-bottom: 1px solid var(--ink); padding: 4px 0; margin-bottom: 14px; text-transform: uppercase; }
.verdict h1 { font: 700 40px/1.05 var(--news); margin: 0 0 6px; text-align: center; } .verdict h4 { font: italic 17px var(--news); text-align: center; margin: 0 0 18px; }
.verdict .body { font-size: 15px; }
.verdict .score { display: flex; justify-content: space-around; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 10px 0; margin: 18px 0 12px; font-family: var(--typed); text-align: center; }
.verdict .score b { display: block; font-size: 26px; } .verdict .score span { font-size: 12px; }
.verdict .key { color: var(--ok); font-weight: 700; } .verdict .miss { text-decoration: line-through; }
.verdict .share { font: 13px/1.5 var(--typed); background: #fff8; padding: 10px 12px; white-space: pre-wrap; margin: 12px 0 0; }
.verdict h3 { font: 700 14px var(--typed); text-transform: uppercase; margin: 22px 0 6px; }

.toast { position: fixed; left: 50%; top: 64px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; font: 700 14px var(--typed); z-index: 200; box-shadow: 0 8px 20px #0006; transition: opacity .4s; }
.toast.bad { background: var(--red); } .toast.out { opacity: 0; }

/* ---------- small screens: board on top, notebook below */
@media (max-width: 860px) {
  .home { grid-template-columns: 1fr; } .today { grid-row: auto; }
  .case { grid-template-columns: 1fr; grid-template-rows: 48px 1fr 42%; }
  .notebook { border-left: 0; border-top: 2px solid #2d1f14; }
  .tools button[data-tidy], .bar .title span { display: none; }
  .pickbar { transform: translateX(-50%); width: calc(100vw - 24px); bottom: 12px; }
  .reader .prop { zoom: 1; }
}
.t-table tr.mark td { background: #f2c94c40; }
