:root{--bg:#0d1018;--surface:#121a28;--surface2:#1b2637;--line:#28354a;--ink:#edf1f6;--muted:#95a4b9;--dim:#8291a8;--accent:#66c0f4;--orange:#f87171;--red:#f87171;--mono:'JetBrains Mono',Consolas,monospace;--sans:'Inter',Arial,sans-serif}
body{background-image:radial-gradient(#7193b50c .7px,transparent .7px);background-size:28px 28px}.wrap{width:min(1380px,calc(100% - 72px))}.topbar{background:#10151efa}.topbar-inner{height:85px}.brand-mark{font-family:var(--sans);font-size:25.0px;font-weight:900;line-height:1;letter-spacing:0;padding:0;width:38px;height:38px;background:linear-gradient(145deg,#ee3d40,#a4192b);color:white;border-radius:8px;display:grid;place-items:center}.brand-name{font-weight:800;font-size:17.0px;letter-spacing:-.03em}.brand-name small{font-size:11.0px;letter-spacing:.13em}.archive-hero{padding-top:46px}.archive-hero h1{font-size:clamp(49px,5.7vw,81px);font-weight:800;letter-spacing:-.045em}.archive-hero h1 em{font-family:var(--sans);font-style:normal;font-weight:800;color:#f87171}.archive-hero .dot{background:#ef4444}.archive-stats{background:#111925;border-radius:8px;overflow:hidden}.archive-stat strong{font-size:31.0px;color:#e8effa}.archive-stat:first-child strong{color:#f87171}.archive-stat:nth-child(2) strong{color:#fb923c}.archive-stat:nth-child(3) strong{color:#66c0f4}.archive-stat:last-child strong{color:#c4b5fd}.archive-stat span{font-size:11.0px;letter-spacing:.04em}.archive-sidebar{top:108px}.entry-title{font-size:19.0px;font-weight:650;letter-spacing:-.025em}.entry{padding:24px 17px;border-radius:4px;transition:background .2s}.entry:hover{background:#66c0f404}.entry:focus-within{background:#66c0f407}.entry p{font-size:12.0px}.source-glyph{border-radius:5px}.entry .badge{font-size:11.0px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.search-symbol{position:absolute;left:14px;top:6px;font-size:24.0px;color:var(--dim);pointer-events:none}.entry-top{font-size:11.0px}.drawer{background:#111a28;max-width:820px;border-radius:10px}.drawer .panel-head{background:#152033}.drawer-content h2{letter-spacing:-.035em;font-size:27.0px}.original-text{font-size:13.0px;line-height:1.9}.btn-primary{background:#c92a42;color:white;border-color:#df4960}.btn-primary:hover{background:#e33551;color:white;border-color:#f87171}.badge.green{color:#7dd3fc;background:#66c0f407;border-color:#3a6883}.badge.orange{color:#fdba74;border-color:#745031}.archive-method{border-radius:9px}.file-link{border-radius:5px;font-size:11.0px;line-height:1.8}.file-link span{float:right}.file-link:hover{border-color:#527493}.filter-btn[aria-pressed=true]{border-left:2px solid #ef4444}.nav a.active:after{background:#ef4444}.toast{background:#152c43;color:#d9efff;border:1px solid #477797}.result-meta{font-size:11.0px}.archive-result-enter{animation:result-enter .25s both}@keyframes result-enter{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.nav{display:none}.archive-layout{grid-template-columns:190px 1fr}.brand-name{font-size:15.0px}}
@media(max-width:650px){.wrap{width:calc(100% - 36px)}.topbar-inner{height:70px}.brand-name{font-size:12.0px}.brand-name small{font-size:11.0px}.brand-mark{width:30px;height:32px;font-size:22.0px}.archive-hero{padding-top:29px}.archive-hero h1{font-size:49.0px}.archive-layout{grid-template-columns:1fr}.archive-hero .eyebrow{font-size:11.0px}.archive-tools .field{font-size:11.0px}.archive-stat strong{font-size:28.0px}.archive-stat span{font-size:11.0px}.entry{padding:22px 2px}.entry-title{font-size:18.0px}.entry p{font-size:11.0px}.result-meta{font-size:11.0px;gap:10px}.result-meta .btn{font-size:11.0px}.source-filters{gap:5px}.filter-btn{font-size:11.0px}.original-text{font-size:12.0px}.drawer-content h2{font-size:22.0px}}
@media(prefers-reduced-motion:reduce){.archive-result-enter{animation:none}}
@media print{.entry p,.entry-title,.entry-top,.entry-bottom,.archive-stat strong,.original-text{color:#111!important}.entry-title{font-size:13pt}.entry p{font-size:9pt}.archive-stat span{color:#444}.archive-stats{background:white}.archive-method{display:none}.archive-hero h1 em{color:#333}.source-glyph{background:#eee;color:#333}.archive-hero h1{font-size:32pt}.entry{padding:15px 0;break-inside:avoid}.archive-result-enter{animation:none}}
.archive-start { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0 4px; }
.archive-start a { flex:1 1 180px; display:grid; gap:8px; padding:20px; border:1px solid #425e78; border-radius:4px; background:#182a3e; }
.archive-start a:hover { border-color:#87a8c5; background:#20364e; }
.archive-start span { color:#9ebbd4; font:11.0px/1.7 var(--mono); }
.archive-start strong { color:#e5effa; font:600 14px/1.5 var(--sans); }
.entry-record-id { color:#91adc8; margin-left:auto; font-size:11.0px; }
.record-source-bar { display:flex; gap:12px; flex-wrap:wrap; align-items:center; color:#b5cce1; font:11.0px/1.7 var(--mono); margin-bottom:18px; }
.record-source-bar > span:last-child { margin-left:auto; color:#91abc2; }
.drawer-content .record-byline { margin:14px 0 22px; color:#a9c2d9; font:11.0px/1.8 var(--mono); overflow-wrap:anywhere; }
.record-actions { display:flex; gap:9px; flex-wrap:wrap; margin:20px 0 24px; }
.record-actions .btn { font-size:11.0px; }
.record-context { border:1px solid #4a6279; border-left:3px solid #d8879d; background:#172c42; padding:22px; margin:24px 0; border-radius:3px; }
.record-eyebrow { color:#e6a1b3; font:11.0px/1.6 var(--mono); }
.record-context h3 { font:650 20px/1.4 var(--sans); letter-spacing:-.02em; color:#edf4fc; margin:12px 0; }
.record-context p { font:12.0px/1.8 var(--sans); color:#c1d1e2; }
.record-context strong { display:block; margin-bottom:5px; color:#dce8f5; }
.record-context a { display:inline-block; color:#acd0e7; font:11.0px/1.7 var(--mono); margin-top:18px; }
.record-scope { color:#9db5cb; font:11.0px/1.85 var(--sans); }
.record-provenance { margin:20px 0 30px; border-block:1px solid #3a546e; padding:15px 0; }
.record-provenance summary { color:#bad0e6; font:12.0px/1.8 var(--sans); cursor:pointer; }
.record-provenance a { color:#9bc0da; font:11.0px/1.8 var(--mono); }
.record-provenance dd { overflow-wrap:anywhere; }
.record-text-label { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font:11.0px/1.7 var(--mono); color:#9cb7ce; border-bottom:1px solid #38536b; padding-bottom:12px; margin-bottom:20px; }
.drawer .original-text { color:#c8d8e8; font:13.0px/1.95 var(--sans); overflow-wrap:anywhere; }
.archive-method .source-bundle { display:flex; gap:18px; flex-wrap:wrap; align-items:center; margin:20px 0; }
@media(max-width:650px) {
  .record-context { padding:18px 15px; }
  .record-source-bar > span:last-child { margin-left:0; }
  .record-actions .btn { padding:10px 12px; }
  .archive-start a { flex-basis:100%; padding:16px; }
}