/* Eckleburg: research instrument. Deliberate density, quiet surfaces. */
:root { --max:1560px; --gutter:36px; --radius:3px; }
:root[data-theme="dark"] { --page:#111211; --surface:#191b19; --raised:#212420; --ink:#e8e8df; --ink-2:#b9bcb1; --ink-3:#969e91; --line:#30362d; --line-strong:#636e5b; --blue:#cedca6; --on-blue:#151a0d; --yellow:#cedca6; --gold:#cedca6; --ring:#76846b; --red:#e88770; --sev-high:#cedca6; --sev-medium:#839675; --sev-low:#4f614a; --bar:#b3c48d; --bar-soft:#3f4b35; --wash:#2b3423; color-scheme:dark; }
body { background:var(--page); font-size:14px; }
.top { position:fixed; width:224px; height:100vh; border-right:1px solid var(--line); border-bottom:0; background:var(--page); }
.top-in { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:36px 20px; height:100%; }
.brand { gap:9px; margin:0 0 64px; align-items:flex-start; }
.brand-mark { width:26px; margin-top:5px; }
.brand-mark .rim { stroke-width:1.3; }
.brand-name { font-size:1.6rem; font-weight:450; letter-spacing:-.03em; }
.brand-desc { font:9px ui-monospace,monospace; margin-top:9px; text-transform:uppercase; letter-spacing:.04em; }
.nav { flex-direction:column; gap:5px; counter-reset:nav; }
.nav a { min-height:46px; padding:0 14px; font-size:.83rem; border-radius:3px; gap:15px; font-weight:450; }
.nav a::before { counter-increment:nav; content:'0' counter(nav); font:10px ui-monospace,monospace; opacity:.55; }
.nav a[aria-current="page"] { background:var(--raised); font-weight:500; color:var(--blue); }
.nav a[aria-current="page"]::after { display:none; }
.theme { margin-top:auto; border-radius:3px; width:36px; height:36px; }
main,.foot,.selbar { width:calc(100% - 224px); margin-left:224px; }
.view { padding-top:38px; }
.view>.wrap>*+* { margin-top:28px; }
.pagehead { max-width:none; }
h1,h2,h3 { letter-spacing:-.025em; }
h1 { font:500 clamp(2rem,3vw,3rem)/1.1 var(--font-body); }
h2 { font:500 1.35rem/1.2 var(--font-body); }
.eyebrow,.scope { font:10px ui-monospace,SFMono-Regular,monospace; letter-spacing:.08em; }
.eyebrow { color:var(--ink-3); margin-bottom:14px; }
.lede { font-size:.9rem; margin-top:12px; }
.record-header { display:flex; justify-content:space-between; gap:24px; align-items:center; }
.record-header .btn { flex-shrink:0; }
.btn { border-radius:3px; min-height:40px; font-size:.78rem; font-weight:550; padding:10px 14px; }
.linkbtn { font-size:.76rem; font-weight:450; }
.chip,.chip-x { border-radius:3px; }
.panel { border:0; border-radius:0; padding:24px 0; background:none; border-top:1px solid var(--line); }
.metrics { grid-template-columns:repeat(4,1fr); margin-top:20px; }
.metric { padding:0 18px; gap:8px; }
.metric-fig,.metric-hero .metric-fig { font:450 clamp(2.3rem,3vw,3.4rem)/1 var(--font-display); letter-spacing:-.045em; }
.metric-unit { font-size:.32em; letter-spacing:0; }
.metric-label { font-size:.76rem; font-weight:500; color:var(--ink-2); line-height:1.5; }
.metric-context { font-size:.68rem; color:var(--ink-3); }
.metric-context summary { cursor:pointer; padding:4px 0; }
.metric-sub { font-size:.73rem; margin-top:8px; }
.metric .linkbtn { font-size:.69rem; padding-top:8px; }
.surebar { font-size:.68rem; margin-top:20px; gap:8px 18px; }
.surebar h3 { font-size:.7rem; }
.record-workspace { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr); border:1px solid var(--line); background:var(--surface); border-radius:4px; overflow:hidden; }
.record-chart { padding:28px; min-width:0; }
.record-chart .panel-head { align-items:center; margin-bottom:0; }
.record-chart-hint { font-size:.75rem; color:var(--ink-3); margin-top:9px; }
.record-months { display:grid; grid-template-columns:repeat(11,minmax(0,1fr)); align-items:end; gap:8px; margin-top:32px; }
.record-month { background:none; border:0; padding:0 2px; min-width:0; color:var(--ink-3); border-radius:2px; }
.record-month-count { display:block; font:11px ui-monospace,monospace; padding-bottom:10px; }
.record-month-track { height:140px; display:flex; align-items:flex-end; border-bottom:1px solid var(--line-strong); background:repeating-linear-gradient(to top,transparent 0,transparent 34px,var(--line) 35px); }
.record-month-bar { display:block; width:100%; background:var(--bar); position:relative; transform-origin:bottom; transition:filter .2s,opacity .2s; }
.record-month-bar i { display:block; background:var(--red); width:100%; position:absolute; top:0; min-height:2px; }
.record-month-label { display:block; padding:12px 0 6px; font:10px ui-monospace,monospace; }
.record-month:hover .record-month-bar { filter:brightness(1.25); }
.record-months:has([aria-pressed="true"]) .record-month:not([aria-pressed="true"]) .record-month-bar { opacity:.25; }
.record-month[aria-pressed="true"] { color:var(--ink); background:var(--raised); }
.record-chart-key { display:flex; flex-wrap:wrap; gap:8px 22px; font-size:.63rem; color:var(--ink-3); margin-top:20px; }
.record-chart-key span::before { content:''; width:7px; height:7px; display:inline-block; margin-right:7px; background:var(--bar); }
.record-chart-key span+span::before { background:var(--red); }
.record-chart .note { font-size:.67rem; line-height:1.6; }
.record-brief { border-left:1px solid var(--line); padding:28px; background:var(--page); }
.record-brief h2 { font-size:1.1rem; }
.record-brief .events { margin:22px 0; }
.record-brief .event { grid-template-columns:18px minmax(0,1fr); gap:9px; }
.record-brief .lensbox { width:16px; height:16px; }
.record-brief .event-title { font:450 .84rem/1.45 var(--font-body); }
.record-brief .event-meta { font-size:.61rem; line-height:1.6; margin-top:6px; }
.event-title { font-weight:500; }
.event-why { font-size:.8rem; max-width:750px; }
.event-meta { font-size:.69rem; }
.panel-head p,.note { font-size:.75rem; }
.frow { grid-template-columns:220px minmax(0,1fr); padding:12px 0; }
.frow-name { font-size:.78rem; font-weight:500; }.frow-n { font-size:.65rem; }
.legend { font-size:.68rem; gap:8px 20px; }.frow .mk { width:22px; height:22px; }
.cards { gap:12px; }.card { border-radius:3px; box-shadow:none; background:var(--surface); }
.card:hover { border-color:var(--line-strong); }.card h3 { font-weight:500; }
.foot { font-size:.65rem; }.foot-in { padding-top:24px; padding-bottom:24px; }
.is-fresh .record-month-bar { animation:bar-enter .55s ease-out both; }
@keyframes bar-enter { from {transform:scaleY(.2);opacity:.2;} to {transform:scaleY(1);opacity:1;} }
@media(max-width:1100px) { .top{width:185px;} main,.foot,.selbar{margin-left:185px;width:calc(100% - 185px);} :root{--gutter:24px;} .record-workspace{grid-template-columns:minmax(0,1fr);} .record-brief{border-left:0;border-top:1px solid var(--line);} .record-brief .events{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;} .metric{padding:0 12px;} }
@media(max-width:720px) { .top{position:sticky;width:100%;height:auto;border-right:0;border-bottom:1px solid var(--line);} .top-in{padding:16px 20px 8px;flex-direction:row;flex-wrap:wrap;align-items:center;} .brand{margin:0 auto 12px 0;} .brand-name{font-size:1.4rem;} .brand-desc{font-size:8px;margin-top:4px;} .theme{margin:0 0 12px;} .nav{order:3;flex-direction:row;width:100%;justify-content:space-between;gap:0;} .nav a{min-height:36px;font-size:.67rem;padding:0 7px;} .nav a::before{display:none;} main,.foot,.selbar{margin-left:0;width:100%;} :root{--gutter:20px;} .record-header{align-items:flex-start;flex-direction:column;gap:18px;} .record-header h1{font-size:2rem;} .record-header .eyebrow{font-size:9px;line-height:1.6;} .metrics{grid-template-columns:1fr 1fr;gap:24px 0;} .metric:nth-child(3){border-left:0;padding-left:0;} .metric-fig,.metric-hero .metric-fig{font-size:2.9rem;} .record-chart,.record-brief{padding:20px;} .record-months{gap:4px;}.record-month-track{height:120px;}.record-month-label{font-size:8px;} .record-chart .panel-head{gap:10px;} .record-brief .events{display:block;}.frow{grid-template-columns:1fr;gap:7px;}.frow-name{display:flex;justify-content:space-between;}.frow .mk{width:28px;height:28px;} .view{padding-top:26px;} }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;}}
