/* NEXUS control room. Deep graphite, one brass accent (Goldbeam), status is the only other color. */
:root {
  --graphite: #141619; --graphite-2: #1a1d21; --graphite-3: #20242a; --graphite-4: #272c33; --graphite-5: #2f353d;
  --chalk: #ece9e2; --chalk-2: rgba(236,233,226,.74); --chalk-3: rgba(236,233,226,.52); --chalk-4: rgba(236,233,226,.32);
  --brass: #d4a853; --brass-2: rgba(212,168,83,.55); --brass-dim: rgba(212,168,83,.14);
  --moss: #6cc08b; --ember: #e36453; --amber: #d99a3a; --paused: rgba(236,233,226,.28);
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.12); --line-3: rgba(255,255,255,.2);
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.23,1,.32,1);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 14px/1.45 var(--sans); color: var(--chalk); background: var(--graphite); display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* top strip */
.strip { order: -2; display: flex; align-items: center; gap: 24px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: rgba(20,22,25,.9); position: relative; z-index: 6; }
.mark { font-weight: 600; font-size: 15px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.mark .co { font-weight: 400; color: var(--chalk-3); font-size: 12.5px; margin-left: 2px; }
.brass-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px var(--brass-dim); }
.pulse { flex: 1; display: flex; gap: 18px; font-size: 12.5px; color: var(--chalk-3); font-variant-numeric: tabular-nums; }
.pulse b { color: var(--chalk); font-weight: 500; }
.pulse .bad b { color: var(--ember); }
.pulse .ok b { color: var(--moss); }
.clock { font-family: var(--mono); font-size: 12.5px; color: var(--chalk-3); font-variant-numeric: tabular-nums; }
.clock b { color: var(--chalk-2); font-weight: 500; }

/* stage */
.stage { flex: 1; min-height: 0; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #1c2026 0%, var(--graphite) 72%); }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 85%); }
.floor .ground { fill: transparent; }
.empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--chalk-3); }

/* talk bar */
.talk { padding: 12px 20px 16px; border-top: 1px solid var(--line); background: rgba(20,22,25,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); position: relative; z-index: 6; }
.talk form { display: flex; gap: 10px; align-items: center; max-width: 920px; margin: 0 auto; }
.talk input[type=text] { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.talk input[type=text]:focus { box-shadow: 0 0 0 4px var(--brass-dim); }
.talk input[type=text]:focus { border-color: var(--brass-2); }
.talk input::placeholder { color: var(--chalk-4); }
.send { background: var(--brass); color: #1a1407; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 600; transition: transform .12s var(--ease), filter .12s; }
.send:hover { filter: brightness(1.06); } .send:active { transform: scale(.97); }
.mic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--graphite-2); display: grid; place-items: center; transition: border-color .15s, background .15s; }
.mic span { width: 12px; height: 18px; border-radius: 6px; background: var(--chalk-3); display: block; position: relative; }
.mic span::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 2px; height: 5px; background: var(--chalk-3); transform: translateX(-50%); }
.mic.on { border-color: var(--ember); background: rgba(227,100,83,.12); } .mic.on span, .mic.on span::after { background: var(--ember); }
.speak { font-size: 12px; color: var(--chalk-3); display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.steps { max-width: 920px; margin: 8px auto 0; font-size: 12px; color: var(--chalk-4); min-height: 16px; font-family: var(--mono); }
.steps div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.thinking .brass-dot { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { box-shadow: 0 0 0 4px var(--brass-dim); } 50% { box-shadow: 0 0 0 10px rgba(212,168,83,.05); } }

/* answer sheet (Floor and Brain) */
.sheet { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(760px, calc(100% - 40px)); max-height: 46vh; overflow: auto; border-radius: 16px; padding: 16px 18px 14px; animation: rise .24s var(--ease); z-index: 5; background: rgba(24,27,33,.6); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.09); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 8px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.sheet .q { font-size: 12px; color: var(--chalk-3); margin-bottom: 6px; }
.sheet .a { white-space: pre-wrap; font-size: 14.5px; line-height: 1.5; }
.sheet .a b { font-weight: 600; color: var(--brass); }
.sheet .row { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.sheet .meta { font-size: 11.5px; color: var(--chalk-4); margin-left: auto; font-family: var(--mono); }

/* drawer */
.glass { background: rgba(24,27,33,.58); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.09); }
.glass::after { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass-2), transparent); pointer-events: none; }
.drawer { position: absolute; top: 62px; right: 16px; bottom: 104px; width: 400px; border-radius: 16px; overflow: auto; padding: 20px 20px 24px; z-index: 4; animation: slide .26s var(--ease); background: rgba(24,27,33,.58); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.09); }
.drawer::before { content: ""; position: sticky; display: block; top: -20px; margin: -20px -20px 14px; height: 2px; background: linear-gradient(90deg, transparent, var(--brass-2), transparent); }
@keyframes slide { from { transform: translateX(14px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer .x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--chalk-3); font-size: 20px; width: 32px; height: 32px; border-radius: 8px; }
.drawer .x:hover { background: var(--graphite-4); color: var(--chalk); }
.drawer h2 { font-size: 18px; margin: 0 0 2px; font-weight: 600; letter-spacing: -.01em; padding-right: 28px; }
.drawer .sub { color: var(--chalk-3); font-size: 12.5px; margin-bottom: 14px; }
.drawer h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--chalk-4); margin: 18px 0 8px; font-weight: 600; }
.drawer p { margin: 6px 0; color: var(--chalk-2); }
.seat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--graphite-3); border-radius: 10px; margin-bottom: 6px; }
.seat .who { font-weight: 500; } .seat .role { font-size: 12px; color: var(--chalk-3); }
.seat.open { border: 1px dashed var(--line-2); background: transparent; color: var(--chalk-3); }
.list { display: flex; flex-direction: column; gap: 2px; }
.item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.item:hover { background: var(--graphite-3); }
.item .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .m { font-size: 11.5px; color: var(--chalk-4); font-family: var(--mono); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--paused); }
.dot.running { background: var(--moss); } .dot.failing { background: var(--ember); animation: blink 1.2s step-end infinite; } .dot.waiting_on_setup { background: var(--amber); } .dot.not_tracked { background: var(--chalk-4); }
@keyframes blink { 50% { opacity: .35; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--graphite-4); color: var(--chalk-2); }
.chip.live { color: var(--moss); background: rgba(108,192,139,.12); } .chip.snapshot { color: var(--brass); background: var(--brass-dim); }
.btn { background: var(--graphite-4); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 12px; font-size: 13px; transition: background .12s, transform .12s var(--ease); }
.btn:hover { background: var(--graphite-5); } .btn:active { transform: scale(.97); }
.btn.brass { background: var(--brass); color: #1a1407; border-color: transparent; font-weight: 600; }
.btn.quiet { background: transparent; border-color: transparent; color: var(--chalk-3); }
.hero { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero small { font-size: 13px; color: var(--chalk-3); font-weight: 400; letter-spacing: 0; margin-left: 8px; }
.money { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.note { font-size: 12px; color: var(--chalk-4); }

/* Floor */
.floor { width: 100%; height: 100%; display: block; }
.floor .room { cursor: pointer; }
.floor .room rect.wall { fill: rgba(28,32,38,.72); stroke: var(--line-2); stroke-width: 1; transition: stroke .25s, fill .25s; }
.floor .room.near rect.wall { fill: rgba(30,34,41,.9); stroke: var(--brass-2); }
.floor .lod-far, .floor .lod-near { transition: opacity .35s var(--ease); }
.floor .lod-near { opacity: 0; pointer-events: none; }
.floor .room.near .lod-near { opacity: 1; pointer-events: auto; }
.floor .room.near .lod-far { opacity: 0; pointer-events: none; }
.floor .far { transition: opacity .3s; }
body.zoomed .floor .far { opacity: .35; }
.floor .room.dim { opacity: .45; }
.floor .room { transition: opacity .3s; }
.floor .room:hover rect.wall { stroke: var(--line-3); }
.floor .room.focus rect.wall { stroke: var(--brass-2); }
.floor .room text { fill: var(--chalk); font-family: var(--sans); }
.floor .room .name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.floor .room .lead { font-size: 12px; fill: var(--chalk-3); }
.floor .room .sys { font-size: 11px; fill: var(--chalk-4); }
.floor .room .count { font-size: 12px; fill: var(--chalk-3); font-family: var(--mono); }
.floor .seatbox { fill: var(--graphite-4); }
.floor .seatbox.open { fill: none; stroke: var(--line-2); stroke-dasharray: 3 3; }
.floor .agent { fill: var(--paused); }
.floor .agent.running { fill: var(--moss); } .floor .agent.failing { fill: var(--ember); animation: blink 1.2s step-end infinite; } .floor .agent.waiting_on_setup { fill: var(--amber); }
.floor .cable { stroke: var(--line-2); stroke-width: 1.2; fill: none; }
.floor .cable.live { stroke: var(--brass-2); stroke-dasharray: 4 8; animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.floor .hub circle.core { fill: var(--graphite-3); stroke: var(--brass); stroke-width: 1.5; }
.floor .hub circle.halo { fill: none; stroke: var(--brass-dim); stroke-width: 10; }
.floor .hub text { fill: var(--chalk); font-family: var(--sans); text-anchor: middle; }
.floor .hub .t { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.floor .hub .s { font-size: 12px; fill: var(--chalk-3); font-family: var(--mono); }
.floor .hub { cursor: pointer; }
body.thinking .floor .hub circle.halo { animation: breathe-svg 1.4s ease-in-out infinite; }
@keyframes breathe-svg { 0%,100% { stroke-width: 10; } 50% { stroke-width: 22; stroke: rgba(212,168,83,.08); } }
.floor .badge rect { fill: var(--graphite-4); stroke: var(--line-2); }
.floor .badge text { font-size: 12px; font-family: var(--mono); fill: var(--chalk-2); text-anchor: middle; }
.floor .badge.bad rect { fill: rgba(227,100,83,.15); stroke: rgba(227,100,83,.5); } .floor .badge.bad text { fill: var(--ember); }
.floor .badge.brass rect { fill: var(--brass-dim); stroke: var(--brass-2); } .floor .badge.brass text { fill: var(--brass); }
.floor .legend text { font-size: 12px; fill: var(--chalk-4); font-family: var(--sans); }
.floor .room .co { font-size: 11px; fill: var(--brass); font-family: var(--mono); letter-spacing: .04em; }
.floor .agent.fresh { stroke: rgba(108,192,139,.5); stroke-width: 3; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { stroke-width: 2; stroke-opacity: .9; } 100% { stroke-width: 12; stroke-opacity: 0; } }

/* the room up close */
.floor .n-name { font-size: 8px; font-weight: 600; letter-spacing: -.01em; fill: var(--chalk); }
.floor .n-co { font-size: 4px; fill: var(--brass); font-family: var(--mono); letter-spacing: .06em; }
.floor .n-desc { font-size: 3.6px; fill: var(--chalk-3); }
.floor .n-h { font-size: 3px; fill: var(--chalk-4); font-weight: 600; letter-spacing: .1em; }
.floor .n-seat { cursor: pointer; }
.floor .n-seat .halo { fill: var(--brass-dim); }
.floor .n-seat .core { fill: var(--graphite-4); stroke: var(--brass); stroke-width: .6; }
.floor .n-who { font-size: 4.4px; font-weight: 600; fill: var(--chalk); }
.floor .n-role { font-size: 3px; fill: var(--chalk-3); }
.floor .n-role.open { fill: var(--chalk-4); }
.floor .n-edge { stroke: var(--line-3); stroke-width: .45; }
.floor .n-edge.bad { stroke: rgba(227,100,83,.6); }
.floor .n-link { stroke: rgba(108,192,139,.35); stroke-width: .4; fill: none; stroke-dasharray: 1.2 1.6; }
.floor .mote { fill: var(--brass); }
.floor .mote.moss { fill: var(--moss); }
.floor .n-agent { cursor: pointer; }
.floor .n-hit { fill: transparent; transition: fill .12s; }
.floor .n-agent:hover .n-hit { fill: rgba(255,255,255,.05); }
.floor .n-an { fill: var(--chalk-2); }
.floor .n-agent:hover .n-an { fill: var(--chalk); }
.floor .n-am { font-size: 2.8px; fill: var(--chalk-4); font-family: var(--mono); }
.floor .failring { fill: none; stroke: var(--ember); stroke-width: .6; animation: ping2 1.6s ease-out infinite; }
@keyframes ping2 { 0% { r: 3; opacity: .9; } 100% { r: 8; opacity: 0; } }
.floor .n-sys rect { fill: rgba(255,255,255,.05); stroke: var(--line-2); stroke-width: .4; }
.floor .n-sys text { font-size: 3.4px; fill: var(--chalk-2); }
.floor .appicon-bg { fill: rgba(255,255,255,.08); }
.floor .appicon-letter { fill: var(--chalk-3); font-family: var(--mono); font-weight: 500; }
.floor .appicon image { border-radius: 3px; }
.chip.app { display: inline-flex; align-items: center; gap: 6px; }
.chip.app img { width: 14px; height: 14px; border-radius: 3px; }
.floor .n-foot { font-size: 2.8px; fill: var(--chalk-4); font-family: var(--mono); }
/* approvals and built agents in the drawer */
.seat.approval { flex-direction: column; align-items: stretch; gap: 6px; }
.drawer textarea.draft, .drawer input.subj { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; color: var(--chalk); font: 13px/1.45 var(--sans); outline: none; resize: vertical; }
.drawer textarea.draft:focus, .drawer input.subj:focus { border-color: var(--brass-2); }
.drawer select.sel { background: var(--graphite-4); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; color: var(--chalk); font: 13px var(--sans); max-width: 100%; }
.drawer input.num { width: 52px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 6px; color: var(--chalk); font: 13px var(--mono); }
/* sign in */
.login { position: fixed; inset: 0; background: var(--graphite); display: grid; place-items: center; z-index: 20; }
.login form { width: 320px; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--graphite-2); border: 1px solid var(--line-2); border-radius: 16px; }
.login h2 { margin: 0; } .login p { margin: 0; color: var(--chalk-3); font-size: 13px; }
.login input { background: var(--graphite); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; outline: none; }
.login button { background: var(--brass); color: #1a1407; border: 0; border-radius: 10px; padding: 11px; font-weight: 600; }
.err { color: var(--ember); min-height: 1em; }
@media (max-width: 900px) { .drawer { width: 100%; top: 49px; } .brain .cols { grid-template-columns: repeat(3, 1fr); } .pulse { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- the OS shell: a rail of views, the Horizon is one of them ---- */
.os .body { flex: 1; min-height: 0; display: flex; }
.rail { width: 188px; flex: none; border-right: 1px solid var(--line); background: rgba(20,22,25,.9); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.rail button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 9px; padding: 8px 10px; color: var(--chalk-2); font-size: 13px; transition: background .12s; }
.rail button:hover { background: var(--graphite-3); color: var(--chalk); }
.rail button.on { background: var(--graphite-4); color: var(--chalk); }
.rail button .ico { width: 18px; height: 18px; display: grid; place-items: center; color: var(--chalk-4); }
.rail button.on .ico, .rail button:hover .ico { color: var(--brass); }
.rail button .cnt { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--chalk-4); }
.rail button .cnt.bad { color: var(--ember); } .rail button .cnt.ok { color: var(--moss); }
.rail .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.rail .foot { margin-top: auto; padding: 8px 10px; font-size: 11px; color: var(--chalk-4); line-height: 1.4; }
.main { flex: 1; min-width: 0; position: relative; display: flex; }
.view { display: none; flex: 1; min-width: 0; min-height: 0; }
.view.on { display: flex; flex-direction: column; }
.view[data-view=horizon] .stage { flex: 1; }
.view:not([data-view=horizon]) { overflow: auto; padding: 22px 24px 40px; }
.view:not([data-view=horizon]) > * { flex: none; }
.view .vhead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.view h1 { font-size: 20px; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.view .vsub { color: var(--chalk-3); font-size: 13px; }
.view .vhead .btn { margin-left: auto; }
.view h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--chalk-4); margin: 22px 0 8px; font-weight: 600; }
.view .wrap { max-width: none; margin: 0; padding: 0; }
.view .list .item .m { max-width: 46%; overflow: hidden; text-overflow: ellipsis; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.two > .side { position: sticky; top: 0; max-height: calc(100vh - 220px); overflow: auto; background: var(--graphite-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.two > .side:empty { display: none; }
.two > .side h2:first-child { margin-top: 0; }
.kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.kpi { background: var(--graphite-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 120px; }
.kpi b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi.bad b { color: var(--ember); } .kpi.ok b { color: var(--moss); } .kpi.brass b { color: var(--brass); }
.kpi span { font-size: 12px; color: var(--chalk-3); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.filters .chip { cursor: pointer; border: 1px solid transparent; } .filters .chip.on { border-color: var(--brass-2); color: var(--brass); }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--chalk-4); padding: 6px 8px; border-bottom: 1px solid var(--line-2); font-weight: 600; white-space: nowrap; }
.tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl tr.rowb { cursor: pointer; } .tbl tr.rowb:hover td { background: var(--graphite-3); }
.tbl td.num { font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.tbl .dot { display: inline-block; margin-right: 6px; vertical-align: middle; }
.scrollx { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.bar { height: 6px; background: var(--brass-2); border-radius: 3px; min-width: 2px; }
.search { width: 100%; max-width: 560px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; outline: none; }
.search:focus { border-color: var(--brass-2); }
.mem { background: var(--graphite-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.mem .t { font-weight: 500; } .mem .b { color: var(--chalk-2); margin: 4px 0; line-height: 1.5; } .mem .m { font-family: var(--mono); font-size: 11px; color: var(--chalk-4); }
.mem .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--brass); margin-right: 8px; }
.form { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.form input, .form textarea, .form select { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 11px; color: var(--chalk); font: 13px/1.45 var(--sans); outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--brass-2); }
/* talk view */
.thread { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.msg { display: flex; flex-direction: column; gap: 4px; }
.msg .who { font-size: 11px; color: var(--chalk-4); font-family: var(--mono); }
.msg .txt { white-space: pre-wrap; line-height: 1.5; font-size: 14.5px; }
.msg.user .txt { color: var(--chalk-2); }
.msg.user { border-left: 2px solid var(--brass-2); padding-left: 12px; }
.msg .txt b { color: var(--brass); font-weight: 600; }
.convs .item.on { background: var(--graphite-3); }
@media (max-width: 900px) {
  .os .body { flex-direction: column; }
  .rail { width: auto; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 8px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .rail button { width: auto; flex: none; padding: 6px 10px; font-size: 12.5px; white-space: nowrap; }
  .rail .sep, .rail .foot { display: none; }
  .view:not([data-view=horizon]) { padding: 14px 14px 32px; }
  .two { grid-template-columns: 1fr; }
  .two > .side { position: static; max-height: none; }
  .tbl td { max-width: 200px; }
}
