@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&family=Courier+Prime:wght@400;700&family=Caveat:wght@500;600&display=swap');

:root {
  --night: #16202b; --night-2: #1d2a37; --night-3: #273848; --line: #34495c;
  --mist: #dfe6ea; --mist-dim: #9fb1bf; --sodium: #e9a23b; --sodium-2: #f6c470;
  --manila: #d8c39a; --paper: #eceeea; --paper-2: #e2e5df; --ink: #1d2329; --ink-2: #4c5862;
  --tag: #a8322b; --ok: #3f8f6b;
  --ui: 'Archivo', system-ui, sans-serif; --type: 'Courier Prime', ui-monospace, monospace; --hand: 'Caveat', cursive;
  --r: 6px;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--mist); }
body { margin: 0; font: 16px/1.55 var(--ui); background: var(--night); color: var(--mist); }
a { color: var(--sodium-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 2px; }
img { max-width: 100%; display: block; }
.small { font-size: .82rem; color: var(--mist-dim); }
.note { font-size: .9rem; color: var(--ink-2); font-style: italic; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- library ---------- */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.62); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,32,43,.2) 30%, var(--night) 96%); }
.hero-text { position: relative; z-index: 1; padding: 0 clamp(16px, 6vw, 88px) 56px; max-width: 980px; }
.hero h1 { font-size: clamp(3.2rem, 11vw, 8.5rem); font-stretch: 68%; font-weight: 800; line-height: .86; margin: 0 0 18px; letter-spacing: -.01em; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34em; margin: 0; color: var(--mist); }
.hero .credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: .72rem; color: var(--mist-dim); }
.lib { padding: 24px clamp(16px, 6vw, 88px) 80px; max-width: 1240px; }
.lib h2 { font-stretch: 75%; font-size: 1.9rem; margin: 40px 0 18px; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.case-card { display: grid; grid-template-rows: 220px auto; background: var(--night-2); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: inherit; overflow: hidden; }
.case-card img { width: 100%; height: 220px; object-fit: cover; filter: saturate(.8); }
.case-card div { padding: 18px 20px 22px; }
.case-card h3 { margin: 4px 0 8px; font-size: 1.6rem; font-stretch: 75%; line-height: 1.05; }
.case-card p { margin: 0 0 12px; color: var(--mist-dim); }
.case-card:hover h3, .case-card:focus-visible h3 { color: var(--sodium-2); }
.kicker { margin: 0; color: var(--sodium); font-size: .9rem; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: .8rem; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--mist); }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.how p { margin: 6px 0 0; color: var(--mist-dim); }
.how h3 { margin: 0; font-size: 1.1rem; }
.foot { border-top: 1px solid var(--line); padding: 24px clamp(16px, 6vw, 88px); color: var(--mist-dim); font-size: .85rem; }

/* ---------- mode picker ---------- */
.pick { max-width: 1080px; margin: 0 auto; padding: 24px 16px 64px; }
.back { display: inline-block; margin-bottom: 20px; text-decoration: none; }
.pick header { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: end; margin-bottom: 36px; }
.pick-cover { border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pick h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-stretch: 70%; line-height: .95; margin: 6px 0 12px; }
.lede { color: var(--mist-dim); font-size: 1.08rem; max-width: 40em; margin: 0; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: 4px; text-decoration: none; color: var(--ink); position: relative; }
.mode-casual { background: var(--manila); }
.mode-reallife { background: var(--paper); border-top: 10px solid var(--tag); }
.mode h2 { margin: 0 0 4px; font-size: 2rem; font-stretch: 72%; }
.mode p { margin: 0 0 12px; }
.mode .ai { font-weight: 700; }
.mode .warn { font-size: .9rem; color: var(--tag); }
.mode .go { margin-top: auto; align-self: flex-start; background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 3px; font-weight: 600; }
.mode:hover .go, .mode:focus-visible .go { background: var(--tag); }
@media (max-width: 760px) { .pick header, .modes { grid-template-columns: 1fr; } }

/* ---------- desk ---------- */
.desk-body { height: 100dvh; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.bar { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--night-2); }
.brand { font-weight: 800; font-stretch: 70%; font-size: 1.25rem; text-decoration: none; color: var(--mist); white-space: nowrap; }
.bar-title { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; }
.bar-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: .75rem; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.badge-casual { background: var(--manila); color: var(--ink); }
.badge-reallife { background: var(--tag); color: #fff; }
.bar-actions { display: flex; gap: 8px; }
.bar-actions button, .req button, .giveup button { background: var(--night-3); border: 1px solid var(--line); padding: 7px 12px; border-radius: var(--r); white-space: nowrap; }
.bar-actions button:hover { border-color: var(--mist-dim); }
button.accuse { background: var(--sodium); color: var(--ink); border-color: var(--sodium); font-weight: 700; }
.only-narrow { display: none; }
.desk { display: grid; grid-template-columns: 290px minmax(0, 1fr) 300px; min-height: 0; }
.tray { overflow-y: auto; border-right: 1px solid var(--line); padding: 12px 10px 40px; background: var(--night); }
.grp h3 { font-size: .8rem; color: var(--mist-dim); font-weight: 600; margin: 16px 8px 6px; }
.ev { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 7px 8px; border-radius: var(--r); align-items: flex-start; }
.ev:hover { background: var(--night-2); }
.ev.on { background: var(--night-3); box-shadow: inset 3px 0 var(--sodium); }
.ev-t { display: flex; flex-direction: column; font-size: .92rem; line-height: 1.3; }
.ev-t small { color: var(--mist-dim); font-size: .78rem; }
.ev:not(.seen) .ico::before { content: ''; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--sodium); box-shadow: 0 0 0 2px var(--night); }
.ev.fresh small::after { content: ' · requested'; color: var(--sodium-2); }
.ico { flex: 0 0 22px; height: 22px; border-radius: 4px; background: var(--night-3); position: relative; }
.ico::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; }
.ico-statement::after { content: '✎'; } .ico-doc::after { content: '▤'; } .ico-email::after { content: '✉'; }
.ico-notebook::after { content: '✍'; } .ico-phone::after { content: '▯'; } .ico-doorbell::after { content: '◉'; }
.ico-cctv::after { content: '◎'; } .ico-map::after { content: '⌖'; } .ico-gallery::after { content: '▣'; }
.viewer { overflow-y: auto; padding: 28px clamp(12px, 3vw, 40px) 80px; background: radial-gradient(ellipse at 50% -10%, #23384b 0%, var(--night) 60%); outline: none; }
.viewer-inner { max-width: 820px; margin: 0 auto; }
.side { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--night); }
.side h2 { font-size: 1rem; margin: 0; }
.notes { flex: 1; resize: none; background: #fbf7d9; color: #2a2a22; border: 0; border-radius: 3px; padding: 12px 14px; font: 1.2rem/1.45 var(--hand); }

@media (max-width: 1100px) {
  .desk { grid-template-columns: 260px minmax(0, 1fr); }
  .side { position: fixed; right: 0; top: 53px; bottom: 0; width: min(360px, 92vw); transform: translateX(105%); transition: transform .2s; z-index: 5; box-shadow: -10px 0 30px rgba(0,0,0,.4); }
  .show-notes .side { transform: none; }
}
@media (max-width: 760px) {
  .desk { grid-template-columns: 1fr; }
  .only-narrow { display: inline-block; }
  .tray { position: fixed; left: 0; top: 53px; bottom: 0; width: min(330px, 92vw); transform: translateX(-105%); transition: transform .2s; z-index: 5; box-shadow: 10px 0 30px rgba(0,0,0,.4); }
  .show-tray .tray { transform: none; }
  .bar { flex-wrap: wrap; gap: 8px; }
  .bar-title strong { display: none; }
  .bar-actions { width: 100%; overflow-x: auto; }
}

/* ---------- paper documents ---------- */
.paper { background: var(--paper); color: var(--ink); padding: clamp(20px, 4vw, 48px); border-radius: 2px; box-shadow: 0 18px 50px rgba(0,0,0,.45); position: relative; }
.paper h1 { font-size: 1.7rem; font-stretch: 78%; line-height: 1.1; margin: 0 0 14px; }
.paper h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.paper p { margin: 0 0 12px; max-width: 70ch; }
.paper .ref { font-family: var(--type); font-size: .85rem; color: var(--ink-2); margin: 0 0 6px; }
.paper blockquote { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--manila); }
.paper hr { border: 0; border-top: 1px solid #c4c8c2; margin: 22px 0; }
.paper figure { margin: 16px 0; }
.paper figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 6px; }
.paper-memo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--manila); }
.paper-report, .paper-schedule, .paper-receipt, .paper-mg11 { font-family: var(--type); }
.paper-report p, .paper-mg11 .typed p, .paper-schedule p { font-size: .98rem; }
.paper-letter { font-family: Georgia, serif; }
.paper-receipt { max-width: 380px; margin: 0 auto; background: #f7f7f2; padding: 26px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.4); mask: radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) -6px 0/12px 100% repeat-x; }
.paper-handwritten .typed, .paper-handwritten p { font-family: var(--hand); font-size: 1.35rem; }
.letterhead { font-family: var(--ui); font-weight: 800; font-stretch: 70%; font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 16px; font-size: .92rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.tbl { overflow-x: auto; margin: 0 0 16px; }
.tbl table { border-collapse: collapse; width: 100%; font-family: var(--type); font-size: .86rem; }
.tbl th, .tbl td { border-bottom: 1px solid #c7ccc6; padding: 6px 10px 6px 0; text-align: left; vertical-align: top; }
.tbl th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.paper ul { padding-left: 1.2em; }
.sig { font-family: var(--hand); font-size: 1.6rem; margin: 18px 0 0; }

.paper-mg11 { border-top: 6px solid var(--ink); }
.form-top { display: flex; justify-content: space-between; font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin-bottom: 14px; }
.kv.form { border-bottom: 1px dashed #9aa19a; padding-bottom: 12px; }
.typed p { line-height: 1.6; }

/* email */
.mail { background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.mail header { padding: 22px 26px 6px; border-bottom: 1px solid #e3e6e8; }
.mail h1 { font-size: 1.35rem; margin: 0 0 12px; }
.mail .kv { font-size: .88rem; }
.mail-body, .mail-msg { padding: 18px 26px; }
.mail-msg + .mail-msg { border-top: 1px solid #e3e6e8; }
.mail-meta { font-size: .82rem; color: var(--ink-2); }
.mail p { max-width: 68ch; }

/* notebook */
.notebook { background: #f4f1e3; color: #23304a; border-radius: 3px 10px 10px 3px; padding: 26px clamp(18px, 5vw, 56px) 30px clamp(44px, 7vw, 76px); box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background-image: linear-gradient(90deg, transparent 32px, #d98e8e 32px, #d98e8e 34px, transparent 34px), repeating-linear-gradient(transparent 0 31px, #b9cbe0 31px 32px); }
.nb-page { padding: 6px 0 18px; }
.nb-page h2 { font-family: var(--hand); font-size: 1.7rem; margin: 0; color: #1c2c66; }
.hand p { font-family: var(--hand); font-size: 1.45rem; line-height: 32px; margin: 0 0 0; }
.nb-intro { font-style: normal; font-family: var(--type); font-size: .85rem; color: #555; }

/* gallery */
.gallery h1 { font-stretch: 78%; margin: 0 0 6px; }
.gallery .lede { margin-bottom: 18px; }
.gallery figure { margin: 0 0 26px; }
.gallery img { border-radius: 3px; }
.gallery figcaption { margin-top: 8px; color: var(--mist); }
.gallery figcaption small { display: block; color: var(--mist-dim); font-size: .75rem; }

/* ---------- phone ---------- */
.phone-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.phone-cap h1 { font-stretch: 78%; margin: 0 0 8px; }
.phone-cap p { color: var(--mist-dim); }
@media (max-width: 1240px) { .phone-wrap { grid-template-columns: 1fr; justify-items: center; } .phone-cap { justify-self: stretch; } }
.phone { width: 360px; max-width: 100%; height: 720px; background: #000; border-radius: 46px; padding: 12px; box-shadow: 0 0 0 2px #3b434b, 0 30px 70px rgba(0,0,0,.6); display: grid; grid-template-rows: 30px 1fr auto; font-family: -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif; overflow: hidden; }
.status { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: .78rem; padding: 0 22px; font-weight: 600; }
.notch { width: 92px; height: 24px; background: #000; border-radius: 20px; }
.screen { background: #fff; color: #111; border-radius: 30px 30px 0 0; overflow-y: auto; position: relative; }
.dock { display: flex; background: #f4f4f6; border-radius: 0 0 34px 34px; padding: 6px 8px 12px; overflow-x: auto; }
.app-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .64rem; background: none; border: 0; color: #555; padding: 4px; }
.app-btn.on { color: #000; font-weight: 700; }
.app-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 1rem; color: #fff; }
.app-chats::after { content: '✆'; } .app-ico.app-chats { background: #25d366; }
.app-ico.app-calls { background: #34c759; } .app-calls::after { content: '☏'; }
.app-ico.app-photos { background: conic-gradient(#ff9500, #ffcc00, #34c759, #5ac8fa, #af52de, #ff2d55, #ff9500); }
.app-ico.app-list { background: #8e8e93; } .app-list::after { content: '≡'; }
.app-ico.app-sms { background: #34c759; }
.list { padding: 8px 0 20px; }
.app-title { font-size: 1.65rem; margin: 8px 16px 8px; font-weight: 800; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; background: none; border: 0; border-bottom: 1px solid #ececf0; text-align: left; color: #111; }
.row-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.row-t small { color: #777; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row time { font-size: .8rem; color: #777; white-space: nowrap; }
.av { width: 40px; height: 40px; border-radius: 50%; background: #c7d3dd; color: #34495c; display: grid; place-items: center; font-weight: 700; flex: none; }
.call.missed b { color: #e0352b; }
.call-ico { width: 22px; text-align: center; color: #777; }
.chat { min-height: 100%; display: flex; flex-direction: column; }
.chat-wa { background: #efe7de; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.chat-sms { background: #fff; }
.chat-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f7f7f7; border-bottom: 1px solid #ddd; }
.chat-head .av { width: 32px; height: 32px; font-size: .85rem; }
.chat-head small { color: #777; margin-left: auto; font-size: .72rem; }
.back-btn { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: #007aff; padding: 0 6px; }
.bubbles { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 20px; }
.day { align-self: center; background: #e1f2fb; color: #445; font-size: .72rem; padding: 3px 10px; border-radius: 8px; margin: 8px 0; }
.chat-sms .day { background: none; color: #888; }
.bub { max-width: 80%; align-self: flex-start; background: #fff; padding: 6px 9px 4px; border-radius: 10px; font-size: .9rem; box-shadow: 0 1px .5px rgba(0,0,0,.13); display: flex; flex-direction: column; }
.bub.me { align-self: flex-end; background: #d9fdd3; }
.chat-sms .bub { background: #e9e9eb; box-shadow: none; border-radius: 18px; padding: 8px 12px; }
.chat-sms .bub.me { background: #34c759; color: #fff; }
.bub img { border-radius: 7px; margin-bottom: 4px; width: 240px; max-width: 100%; }
.bub time { align-self: flex-end; font-size: .66rem; color: #667; margin-top: 1px; }
.chat-sms .bub time { color: inherit; opacity: .7; }
.callmsg { align-self: flex-start; background: #fff; border-radius: 10px; padding: 8px 12px; font-size: .86rem; display: flex; gap: 10px; }
.callmsg.me { align-self: flex-end; background: #d9fdd3; }
.callmsg time { font-size: .66rem; color: #667; align-self: flex-end; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.thumb { position: relative; border: 0; padding: 0; aspect-ratio: 1; background: #222; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid { position: absolute; right: 4px; bottom: 4px; color: #fff; font-size: .7rem; text-shadow: 0 1px 2px #000; }
.photo { background: #000; min-height: 100%; color: #eee; }
.photo .chat-head { background: #111; border-color: #222; color: #fff; }
.photo .info { margin: 10px 12px; background: #1c1c1e; border-radius: 10px; padding: 8px 12px; }
.photo .info summary { cursor: pointer; font-weight: 600; }
.photo .kv { font-size: .8rem; margin-top: 8px; }
.photo .kv dt { color: #999; }
.photo .note { color: #bbb; padding: 0 14px 20px; font-size: .85rem; }

/* ---------- doorbell / cctv ---------- */
.app-sheet { background: #0f151b; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.app-sheet header { padding: 20px 22px 10px; }
.app-sheet h1 { margin: 0; font-size: 1.5rem; font-stretch: 78%; }
.app-sheet header p { margin: 4px 0 0; color: var(--mist-dim); }
.app-sheet .ref { font-family: var(--type); font-size: .82rem; margin: 0 0 4px; }
.app-sheet .note { color: var(--mist-dim); padding: 0 22px; }
.sysinfo { margin: 0 22px 16px; padding: 12px 14px; background: #18222c; border-radius: 8px; font-family: var(--type); font-size: .84rem; }
.sysinfo dt { color: var(--mist-dim); }
.db-ev { border-top: 1px solid #22303d; }
.db-row { display: grid; grid-template-columns: 64px minmax(64px, max-content) 150px 1fr; gap: 12px; align-items: center; width: 100%; padding: 10px 22px; background: none; border: 0; text-align: left; }
.db-row:hover { background: #16212b; }
.db-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; }
.db-dot { width: 64px; height: 40px; border-radius: 4px; background: #1e2a35; display: grid; place-items: center; }
.db-dot::after { content: '●'; font-size: .7rem; color: var(--mist-dim); }
.db-dot.t-person::after { color: var(--sodium); }
.db-time { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.db-meta { display: flex; flex-direction: column; line-height: 1.25; }
.db-meta small { color: var(--mist-dim); font-size: .76rem; }
.db-desc { color: var(--mist); font-size: .9rem; }
.db-detail { padding: 0 22px 18px; }
.db-detail img { width: 100%; border-radius: 6px; margin-bottom: 12px; }
.db-detail .kv dt { color: var(--mist-dim); }
@media (max-width: 760px) { .db-row { grid-template-columns: 56px 1fr; } .db-meta, .db-desc { grid-column: 2; } .db-time { grid-column: 2; grid-row: 1; } .db-thumb, .db-dot { grid-row: span 3; width: 56px; } }

/* ---------- map ---------- */
.map-sheet h1 { font-stretch: 78%; margin: 0 0 6px; }
.map-sheet .note { color: var(--mist-dim); }
.map { height: 62vh; min-height: 380px; border-radius: 8px; border: 1px solid var(--line); background: #1b2733; }
.measure { color: var(--sodium-2); font-size: .9rem; }

/* ---------- dialogs ---------- */
.modal { border: 0; padding: 0; border-radius: 10px; background: var(--paper); color: var(--ink); width: min(620px, 94vw); max-height: 90dvh; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.modal.wide { width: min(900px, 96vw); }
.modal::backdrop { background: rgba(8,12,16,.72); }
.modal header { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid #cfd3cd; position: sticky; top: 0; background: var(--paper); }
.modal h2 { margin: 0; font-size: 1.35rem; font-stretch: 78%; }
.x { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.modal-body { padding: 18px 22px 24px; }
.modal-body p { margin: 0 0 12px; }
.req { display: flex; gap: 8px; margin: 6px 0 12px; }
.req input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid #aab0a9; border-radius: var(--r); background: #fff; color: var(--ink); font-family: var(--type); }
.modal .req button, .giveup button { background: var(--ink); color: var(--paper); border: 0; }
.req-out { font-size: .95rem; }
.req-out .link { display: block; background: none; border: 0; color: #1a5fa3; text-decoration: underline; padding: 3px 0; text-align: left; }
.acc { display: grid; gap: 12px; margin-bottom: 14px; }
.acc label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.acc select { padding: 8px 10px; border: 1px solid #aab0a9; border-radius: var(--r); background: #fff; color: var(--ink); font-weight: 400; }
.acc button { justify-self: start; padding: 10px 18px; border-radius: var(--r); }
.giveup { margin-top: 18px; border-top: 1px solid #cfd3cd; padding-top: 12px; }
.giveup summary { cursor: pointer; color: var(--ink-2); }
.reveal { font-size: 1rem; }
.reveal h3 { margin: 22px 0 6px; font-stretch: 80%; font-size: 1.2rem; }
.reveal table { border-collapse: collapse; width: 100%; font-size: .88rem; margin: 8px 0 14px; }
.reveal th, .reveal td { border-bottom: 1px solid #c7ccc6; text-align: left; padding: 5px 8px 5px 0; vertical-align: top; }
.reveal .verdict { font-size: 1.2rem; font-weight: 700; color: var(--tag); }
.fail { padding: 40px 16px; text-align: center; }
