/* citadel live view. Tokens from the boards (pages/model.js); the GUI's instrument look, made to reflow on phones. */
:root {
  --ground: #0a0a0b; --panel: #111112; --raise: #18181a; --inset: #0e0e10; --hair: #1c1c1f; --line: #232326; --line2: #34343a; --brk2: #3a3a40;
  --text: #ededed; --text2: #b4b4b8; --muted: #8a8a90; --faint: #5a5a60; --ghost: #2a2a2e;
  --or: #ff8b1a; --ortext: #ff8b1a; --or2: #ffb066; --orbg: rgba(255,139,26,0.07);
  --cy: #4fd1d9; --cydim: rgba(79,209,217,0.55); --cybg: rgba(79,209,217,0.07);
  --cau: #f2e05a; --cauink: #f2e05a; --cauband: rgba(242,224,90,0.07); --cauline: rgba(242,224,90,0.35);
  --crit: #ff3b5c; --ok: #4cc38a; --hatch: #45454c; --selbg: #18181a;
  --title: 'Chakra Petch', sans-serif; --radius: 0px;
  --gridimg: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  --mono: 'Geist Mono', 'Cascadia Mono', 'DejaVu Sans Mono', monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ground: #fafafa; --panel: #ffffff; --raise: #f5f5f5; --inset: #fafafa; --hair: #f0f0f0; --line: #e5e5e5; --line2: #d4d4d4; --brk2: #a1a1a1;
    --text: #171717; --text2: #404040; --muted: #636363; --faint: #a1a1a1; --ghost: #e5e5e5;
    --or: #f05100; --ortext: #c24100; --or2: #9a3300; --orbg: rgba(240,81,0,0.06);
    --cy: #0e7c86; --cydim: rgba(14,124,134,0.5); --cybg: rgba(14,124,134,0.06);
    --cau: #facc15; --cauink: #713f12; --cauband: #fef3c7; --cauline: #facc15;
    --crit: #a3122a; --ok: #15803d; --hatch: #c4c4c4; --selbg: rgba(240,81,0,0.07);
    --gridimg: linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ground: #fafafa; --panel: #ffffff; --raise: #f5f5f5; --inset: #fafafa; --hair: #f0f0f0; --line: #e5e5e5; --line2: #d4d4d4; --brk2: #a1a1a1;
  --text: #171717; --text2: #404040; --muted: #636363; --faint: #a1a1a1; --ghost: #e5e5e5;
  --or: #f05100; --ortext: #c24100; --or2: #9a3300; --orbg: rgba(240,81,0,0.06);
  --cy: #0e7c86; --cydim: rgba(14,124,134,0.5); --cybg: rgba(14,124,134,0.06);
  --cau: #facc15; --cauink: #713f12; --cauband: #fef3c7; --cauline: #facc15;
  --crit: #a3122a; --ok: #15803d; --hatch: #c4c4c4; --selbg: rgba(240,81,0,0.07);
  --gridimg: linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); }
body { color: var(--text); font-family: 'Geist', system-ui, sans-serif; font-size: 13.5px; line-height: 1.45; min-height: 100vh; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--or2); }
:focus-visible { outline: 1px solid var(--or); outline-offset: 2px; }
button { font: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.t2 { color: var(--text2); }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sq { width: 8px; height: 8px; flex: none; display: inline-block; }
.sq.agent { background: var(--cy); }
.sq.owner { background: var(--text2); }
.sq.member { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pulse { animation: pulse 1.8s ease-in-out infinite; display: inline-block; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.hatch { background: repeating-linear-gradient(135deg, var(--hatch) 0 2px, transparent 2px 6px); }

/* header */
.hdr { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--ground); white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand svg { width: 22px; height: 22px; display: block; flex: none; }
.brandname { font-family: var(--title); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; }
.brandsub { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
.homelink { font-family: var(--mono); font-size: 12px; color: var(--muted); flex: none; }
.homelink:hover { color: var(--or2); }
.foot.site { max-width: 1408px; margin-top: 20px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.foot.site a { color: var(--text2); text-decoration: none; }
.foot.site a:hover { color: var(--or2); }
.vsep { width: 1px; height: 20px; background: var(--line); flex: none; }
.layers { display: flex; align-self: stretch; align-items: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.layers a { display: flex; align-items: center; gap: 6px; padding: 0 8px; color: var(--text2); font-size: 13px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.layers a.on { color: var(--text); border-bottom-color: var(--or); }
.layers a .lk, .layerstrip a .lk { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-left: 6px; }
.hgrow { flex: 1 1 auto; min-width: 8px; }
.hslots { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; }
.hslots .live { color: var(--cy); }
.btn { font-family: 'Geist', sans-serif; font-size: 13px; padding: 4px 10px; border: 1px solid var(--line2); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { border-color: var(--text2); color: var(--text); }
.btn.primary { border-color: var(--text2); background: var(--raise); }
.btn .dmark { width: 14px; height: 14px; display: inline-block; }
.logout { margin: 0; display: inline-flex; }
.who { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; color: var(--text2); }
.who .av { width: 18px; height: 18px; border: 1px solid var(--line2); background: var(--raise); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.banner { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 7px 16px; border-bottom: 1px solid var(--line); background: var(--ground); }
.banner b { color: var(--text2); font-weight: 400; }
.banner.gated { color: var(--cauink); background: var(--cauband); border-bottom-color: var(--cauline); }

/* layout */
.page { background-image: var(--gridimg); background-size: 32px 32px; min-height: calc(100vh - 48px); padding: 16px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; max-width: 1408px; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; border-top: 1.5px solid var(--or); border-left: 1.5px solid var(--or); pointer-events: none; }
.panel::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 12px; height: 12px; border-bottom: 1.5px solid var(--brk2); border-right: 1.5px solid var(--brk2); pointer-events: none; }
.ph { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex-wrap: wrap; }
.pn { font-family: var(--mono); font-size: 12px; color: var(--ortext); }
.pt { font-family: var(--title); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.pm { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }
.ring { font-family: var(--mono); font-size: 12px; padding: 0 6px; border: 1px solid var(--line2); border-radius: var(--radius); color: var(--text2); white-space: nowrap; }
.ring.lock::before { content: "⌁ "; color: var(--muted); }
.foot { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--ortext); text-decoration: underline; text-underline-offset: 3px; }

/* live trees */
.trees { display: flex; flex-direction: column; }
.tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.tr:first-child { border-top: 0; padding-top: 2px; }
.tr .st { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tr .st.live { color: var(--cy); }
.tr .ttl { font-weight: 500; font-size: 14px; grid-column: 2; }
.tr .age { grid-column: 3; }
.tr .meta { grid-column: 2 / 4; }
.tr .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; }
.tr .last { grid-column: 2 / 4; font-family: var(--mono); font-size: 12.5px; color: var(--text2); display: flex; gap: 8px; min-width: 0; }
.tr .last .who-n { color: var(--muted); flex: none; }
.tr .age { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.agents-inline { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.agents-inline span { display: inline-flex; align-items: center; gap: 5px; color: var(--text2); }

/* presence */
.pres { display: flex; flex-direction: column; }
.pr { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.pr:first-child { border-top: 0; padding-top: 0; }
.pr .g { font-family: var(--mono); color: var(--muted); }
.pr .g.working { color: var(--cy); }
.pr .nm { font-weight: 500; }
.pr .home { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 6px; }
.pr .state { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.pr .state.working { color: var(--cy); }
.pr .doing { grid-column: 2 / 4; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pr .doing a { color: var(--text2); }

/* projects */
.proj { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--hair); }
.proj:first-child { border-top: 0; padding-top: 0; }
.proj .top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.proj .nm { font-weight: 500; }
.proj .sum { color: var(--text2); font-size: 13px; }
.ms { display: flex; gap: 3px; height: 8px; }
.ms span { flex: 1 1 0; background: var(--hair); }
.ms span.done { background: var(--text2); }
.ms span.active { background: transparent; box-shadow: inset 0 0 0 1px var(--cy); }
.proj .now { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.proj .now b { font-weight: 400; color: var(--text2); }
.ext { color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* tree view */
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--text2); }
.treehead { display: flex; flex-direction: column; gap: 6px; }
.treehead h1 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: 0.01em; }
.treehead .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.treehead .meta .live { color: var(--cy); }
.log { display: flex; flex-direction: column; }
.it { display: grid; grid-template-columns: 52px 128px minmax(0, 1fr); gap: 2px 12px; padding: 7px 0; align-items: baseline; }
.it .tm { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.it .au { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); min-width: 0; }
.it .au .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it .au.agent .n { color: var(--text); }
.it .tx { white-space: pre-wrap; overflow-wrap: anywhere; }
.it.tool .tx, .it.note .tx { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.it.tool .tx::before { content: "▸ "; color: var(--cydim); }
.it.note .tx::before { content: "· "; }
.it.result .tx { border-left: 2px solid var(--cy); padding-left: 10px; }
.it .out { margin-top: 4px; }
.it .out summary { cursor: pointer; color: var(--faint); font-family: var(--mono); font-size: 12px; }
.it .out pre { margin: 4px 0 0; padding: 8px 10px; background: var(--inset); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--text2); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; }
.it .rp { font-family: var(--mono); font-size: 12px; color: var(--faint); display: block; margin-bottom: 2px; }
.it.held .tx, .it.removed .tx { font-family: var(--mono); font-size: 12.5px; padding: 3px 10px; }
.it.held .tx { color: var(--text2); border: 1px solid var(--line2); background: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 7px); }
.it.held .tx span { background: var(--panel); padding: 0 6px; }
.it.removed .tx { color: var(--faint); border: 1px dashed var(--line2); }
.fork { margin: 6px 0 6px 52px; padding-left: 12px; border-left: 1px solid var(--line2); display: flex; flex-direction: column; }
.fork > .fh { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 4px 0 2px; }
.fork > .fh b { color: var(--text2); font-weight: 400; }
.fork .it { grid-template-columns: 52px 116px minmax(0, 1fr); }
.tail { font-family: var(--mono); font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 10px; display: flex; gap: 6px 12px; flex-wrap: wrap; }
.tail .live { color: var(--cy); }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; font-size: 13px; }
.kv dt { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.kv dd { margin: 0; color: var(--text2); min-width: 0; }
.outline { display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--text2); }
.outline .c { color: var(--muted); }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text2); }
.legend > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.legend > div.note { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend .sw { display: inline-block; width: 26px; height: 12px; vertical-align: -1px; }
.legend .sw.held { border: 1px solid var(--line2); background: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 7px); }
.legend .sw.removed { border: 1px dashed var(--line2); }
.legend .sw.tool { font-family: var(--mono); color: var(--cydim); text-align: center; line-height: 12px; }

/* gate and empty */
.gate { max-width: 720px; }
.gate h2 { margin: 0; font-size: 18px; font-weight: 600; }
.gate p { margin: 0; color: var(--text2); max-width: 62ch; }
.gate ul { margin: 0; padding-left: 18px; color: var(--text2); display: flex; flex-direction: column; gap: 4px; }
.gate .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ghost { display: flex; flex-direction: column; gap: 8px; }
.ghost div { height: 34px; border: 1px solid var(--line); }
.ghost .cap { height: auto; border: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.empty { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; padding: 6px 0; }
.empty .big { font-family: 'Geist', sans-serif; font-size: 15px; color: var(--text2); }

/* phones and narrow windows: one column, the header keeps brand and login, layers move to a strip */
.layerstrip { display: none; }
@media (max-width: 900px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .hdr .layers, .hdr .vsep, .hdr .hslots .clk, .hdr .hslots .wk, .brandsub, .homelink { display: none; }
  .hdr:has(.who) .hslots { display: none; }
  .hdr { padding: 0 12px; gap: 10px; }
  .layerstrip { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--ground); padding: 0 8px; scrollbar-width: none; }
  .layerstrip a { padding: 9px 8px; color: var(--text2); font-size: 13px; border-bottom: 2px solid transparent; white-space: nowrap; }
  .layerstrip a.on { color: var(--text); border-bottom-color: var(--or); }
  .page { padding: 12px; }
  .banner { padding: 7px 12px; }
  .tr { grid-template-columns: minmax(0, 1fr) auto; }
  .tr .st { grid-column: 1 / 3; }
  .tr .ttl { grid-column: 1; }
  .tr .age { grid-column: 2; }
  .tr .meta, .tr .last { grid-column: 1 / 3; }
  .it, .fork .it { grid-template-columns: 44px minmax(0, 1fr); }
  .it .au { grid-column: 2; }
  .it .tx { grid-column: 1 / 3; }
  .it.tool, .it.note, .it.held, .it.removed { grid-template-columns: 44px minmax(0, 1fr); }
  .it.tool .au, .it.note .au, .it.held .au, .it.removed .au { display: none; }
  .it.tool .tx, .it.note .tx, .it.held .tx, .it.removed .tx { grid-column: 2; }
  .fork { margin-left: 8px; }
  .kv { grid-template-columns: 96px minmax(0, 1fr); }
}

/* Alzabo: stacked panes. Each pane sticks at 40px per pane before it, so a covered pane keeps a
   40px strip on screen; its spine sits in that strip, above the pane's own content. */
.wstack { display: flex; align-items: stretch; overflow-x: auto; overflow-y: hidden; height: calc(100vh - 48px); background-color: var(--ground); background-image: var(--gridimg); background-size: 32px 32px; }
.pane { position: sticky; flex: none; width: 600px; height: 100%; overflow-y: auto; background: var(--panel); border-right: 1px solid var(--line); }
.pane:last-child { box-shadow: inset 2px 0 0 var(--or); }
.pi-0 { left: 0; } .pi-1 { left: 40px; } .pi-2 { left: 80px; } .pi-3 { left: 120px; } .pi-4 { left: 160px; } .pi-5 { left: 200px; }
.pi-6 { left: 240px; } .pi-7 { left: 280px; } .pi-8 { left: 320px; } .pi-9 { left: 360px; } .pi-10 { left: 400px; } .pi-11 { left: 440px; }
.pane-in { padding: 28px 40px 56px 48px; }
.spine { position: absolute; z-index: 2; top: 0; left: 0; bottom: 0; width: 40px; display: none; align-items: flex-start; justify-content: center; padding-top: 20px; background: var(--panel); border-right: 1px solid var(--line); color: var(--text2); text-decoration: none; }
.spine span { writing-mode: vertical-rl; font-family: 'Space Grotesk', 'Geist', sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: calc(100% - 40px); }
.spine:hover { color: var(--or2); }
.pane.covered .spine { display: flex; }
.pane.flash { animation: flash 0.9s ease-out; }
@keyframes flash { 0% { background: var(--orbg); } 100% { background: var(--panel); } }
.pane.lit { box-shadow: inset 2px 0 0 var(--or2); }
.nh { margin-bottom: 18px; }
.nt { font-family: 'Space Grotesk', 'Geist', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.nm { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.aud { color: var(--cauink); }
.nb { font-size: 15.5px; line-height: 1.62; color: var(--text); overflow-wrap: anywhere; }
.nb h1, .nb h2, .nb h3, .nb h4, .nb h5, .nb h6 { font-family: 'Space Grotesk', 'Geist', sans-serif; font-weight: 600; line-height: 1.25; margin: 1.4em 0 0.5em; }
.nb h1 { font-size: 21px; } .nb h2 { font-size: 19px; } .nb h3 { font-size: 17px; } .nb h4, .nb h5, .nb h6 { font-size: 15.5px; }
.nb p, .nb ul, .nb ol, .nb blockquote, .nb pre, .nb table { margin: 0 0 1em; }
.nb ul, .nb ol { padding-left: 1.4em; }
.nb a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.nb a:hover, .bls a:hover { color: var(--or2); text-decoration-color: var(--or); }
.nb a.wl { text-decoration-style: dotted; text-decoration-color: var(--muted); }
.nb code { font-family: var(--mono); font-size: 0.88em; padding: 0 4px; background: var(--raise); border: 1px solid var(--line); }
.nb pre { background: var(--inset); border: 1px solid var(--line); padding: 12px 14px; overflow-x: auto; }
.nb pre code { padding: 0; border: 0; background: none; font-size: 13px; }
.nb blockquote { border-left: 2px solid var(--line2); padding-left: 14px; color: var(--text2); }
.nb table { border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.nb th, .nb td { border: 1px solid var(--line); padding: 4px 10px; text-align: left; }
.nb hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.bls { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.bls ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bls a { color: var(--text); font-weight: 500; text-decoration: none; }
.bls p { margin: 4px 0 0; color: var(--text2); font-size: 14px; }
.card { font-size: 14px; }
.card.float { position: absolute; z-index: 50; width: 340px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); padding: 12px 14px; }
.card .ct { font-family: 'Space Grotesk', 'Geist', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.card p { margin: 0; color: var(--text2); }
.trail { display: none; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--ground); }
.trail a { color: var(--text2); }
.windex .nlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.windex .nlist li { padding: 12px 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 4px; }
.windex .nlist li:first-child { border-top: 0; }
.windex .nlist .nt { font-size: 18px; text-decoration: none; color: var(--text); }
.windex .nlist .nt:hover { color: var(--or2); }
.windex .nlist p { margin: 0; color: var(--text2); font-size: 14px; }
.windex .nlist .nm { margin-top: 0; }
@media (max-width: 700px) {
  .wstack { display: block; height: auto; overflow: visible; }
  .pane, .pane:last-child { position: static; width: auto; height: auto; overflow: visible; border-right: 0; box-shadow: none; }
  .pane:not(:last-child) { display: none; }
  .pane .spine { display: none !important; }
  .pane-in { padding: 20px 16px 40px; }
  .trail { display: block; }
}

/* The feed */
.feed { padding-top: 0; }
.fsec { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 0 32px; padding: 32px 0; border-top: 1px solid var(--line); max-width: 1040px; }
.fhead { border-top: 0; padding-top: 48px; }
.flbl { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0; padding-top: 4px; white-space: nowrap; }
.flbl .or { color: var(--ortext); }
.ftitle { font-family: 'Space Grotesk', 'Geist', sans-serif; font-weight: 600; font-size: 34px; margin: 0 0 12px; }
.fmeta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.fmeta a { color: var(--text2); }
.fents { max-width: 820px; min-width: 0; }
.fe { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.fe:first-child { border-top: 0; padding-top: 0; }
.fd { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.fd.now { color: var(--ortext); }
.fe h3 { margin: 0; font-weight: 500; font-size: 17px; line-height: 1.35; }
.fbody { margin: 4px 0 0; color: var(--text2); font-size: 15px; max-width: 64ch; }
.fbody a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.flinks { margin: 8px 0 0; display: flex; gap: 4px 16px; flex-wrap: wrap; }
.flinks a { font-size: 15px; }
.flinks .ext { color: var(--ortext); }
@media (max-width: 700px) {
  .fsec { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .fe { grid-template-columns: minmax(0, 1fr); }
}
