/* B12 Virtual Brain: black, B12 red and pearl. Keys look like digital touch keys: a dark cap with a light bar. */
:root { color-scheme: dark; --bg: #000; --panel: #0D0D0E; --panel2: #141416; --line: rgba(255,255,255,.12); --line2: rgba(255,255,255,.20); --ink: #F6F1EC; --ink2: #C9C4C0; --mute: #98938F;
  --red: #ED1C24; --red2: #FF4A50; --redink: #FF8A8E; --ok: #4BD48A; --warn: #FFC566; --cap: linear-gradient(180deg,#2B2B2E,#19191B 48%,#0F0F10); --cap2: linear-gradient(180deg,#3A3A3E,#232326 48%,#151517); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", "SF Arabic", Tahoma, sans-serif; overflow-wrap: break-word; }
a { color: var(--redink); }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 680; }
h2 { font-size: clamp(27px, 3.4vw, 44px); font-weight: 650; }
h3 { font-size: 19px; line-height: 1.35; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; top: -80px; left: 16px; z-index: 20; }
.skip:focus { top: 14px; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 4px; border-radius: 6px; }

.top { position: absolute; inset: 0 0 auto; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 650; min-height: 44px; }
.logo .name { font-size: 25px; font-weight: 600; letter-spacing: .2em; }
.logo img { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line2); }
.top nav { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.top nav a:not(.key) { color: var(--ink2); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.top nav a:not(.key):hover { color: #fff; }

.key { --led: rgba(255,255,255,.28); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 22px 8px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px;
  color: var(--ink); font: inherit; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer;
  background: linear-gradient(90deg,transparent,var(--led) 20%,var(--led) 80%,transparent) 50% 6px/min(50px,46%) 3px no-repeat, var(--cap);
  box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(255,255,255,.09), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -3px 0 rgba(0,0,0,.45); }
.key:hover { background: linear-gradient(90deg,transparent,var(--led) 20%,var(--led) 80%,transparent) 50% 6px/min(60px,54%) 3px no-repeat, var(--cap2); border-color: rgba(255,255,255,.34); }
.key:active { transform: translateY(1px); box-shadow: 0 0 0 2px #050506, inset 0 3px 9px rgba(0,0,0,.6); }
.key.main { --led: var(--red2); border-color: rgba(237,28,36,.75); box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(237,28,36,.30), 0 0 22px rgba(237,28,36,.26), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -3px 0 rgba(0,0,0,.45); }
.key.bad { --led: var(--red); color: var(--redink); }
.key.small { min-height: 44px; padding: 12px 16px 6px; font-size: 14px; }
.key:disabled { cursor: default; opacity: .55; --led: rgba(255,255,255,.1); transform: none; }

.hero { position: relative; min-height: min(920px, 100svh); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 2; padding-block: 120px 70px; pointer-events: none; }
.hero .wrap > * { max-width: 560px; pointer-events: auto; }
.hero h1 { margin: 20px 0 22px; }
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink2); }
.stage { position: absolute; inset: 0 -2% 0 44%; }
.stage .grid, .stage #net, .stage #robot { position: absolute; inset: 0; }
.stage .grid { background: radial-gradient(circle, rgba(246,241,236,.09) 1px, transparent 1.4px) 0 0/34px 34px; -webkit-mask: radial-gradient(circle at 50% 48%, #000 8%, transparent 70%); mask: radial-gradient(circle at 50% 48%, #000 8%, transparent 70%); pointer-events: none; }
.stage #net { width: 100%; height: 100%; pointer-events: none; }
.stage #robot { inset: 92px 8% 0; -webkit-mask: linear-gradient(#000 84%, transparent); mask: linear-gradient(#000 84%, transparent); }
.stage .scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent 8%, var(--red2) 50%, transparent 92%); box-shadow: 0 0 20px 4px rgba(237,28,36,.35); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 10px; background: rgba(13,13,14,.8); color: var(--ink2); font-size: 14px; }
.lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn); flex: none; }
.lamp.off { background: #6b6764; box-shadow: none; }
.lamp.bad { background: var(--red2); box-shadow: 0 0 10px var(--red2); }
.lamp.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.keys { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.part { padding-block: clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--line); }
.part .intro { max-width: 700px; display: grid; gap: 16px; margin-bottom: 48px; }
.part .intro p { color: var(--ink2); font-size: 18px; }
.work { background: radial-gradient(ellipse 70% 60% at 70% 45%, rgba(237,28,36,.13), transparent 70%); }
.console { display: grid; grid-template-columns: minmax(250px, 3fr) 9fr; gap: 28px; align-items: start; }
.asks { display: grid; gap: 14px; position: sticky; top: 20px; }
.asks .key { justify-content: flex-start; text-align: start; min-height: 60px; background-position: 22px 6px, 0 0; }
.asks .key[aria-pressed=true] { --led: var(--red2); border-color: rgba(237,28,36,.8); color: #fff; box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(237,28,36,.32), 0 0 24px rgba(237,28,36,.28), inset 0 3px 9px rgba(0,0,0,.5); }
.brainwork { position: relative; border: 1px solid var(--line2); border-radius: 20px; background: linear-gradient(180deg, #121214, #080809); padding: 26px clamp(22px, 3vw, 38px) 34px clamp(48px, 5vw, 68px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6); scroll-margin-top: 16px; }
.sample { display: flex; gap: 10px; align-items: baseline; color: var(--warn); font-size: 14px; }
.stagebox { position: relative; padding-top: 30px; }
.stagebox h3 { font-size: 15px; font-weight: 600; color: var(--mute); margin-bottom: 12px; }
.stagebox::before { content: ""; position: absolute; left: clamp(-42px, -3vw, -27px); top: 36px; width: 12px; height: 12px; margin-left: -5px; border-radius: 50%; background: #2b2b2e; border: 1px solid var(--line2); z-index: 1; }
.stagebox:not(:last-child)::after { content: ""; position: absolute; left: clamp(-42px, -3vw, -27px); top: 42px; bottom: -42px; width: 2px; background: linear-gradient(var(--red), var(--red)) 0 0/100% 0 no-repeat, rgba(255,255,255,.10); }
.stagebox > * { transition: opacity .35s; }
.brainwork.run .stagebox:not(.on) > * { opacity: 0; visibility: hidden; }
.stagebox.on::before { background: var(--red2); border-color: var(--red2); box-shadow: 0 0 18px var(--red); }
.stagebox.on::after { background-size: 100% 100%, auto; transition: background-size .7s linear; }
.reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.reads div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; background: #030303; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: inset 0 2px 12px rgba(0,0,0,.9); }
.reads dt { color: var(--ink2); font-size: 14px; line-height: 1.4; }
.reads dd { margin: 0; font-size: clamp(23px, 2.5vw, 32px); font-weight: 620; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--redink); text-shadow: 0 0 20px rgba(237,28,36,.6); }
.verdict { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.22; font-weight: 630; letter-spacing: -.02em; margin-bottom: 10px; text-wrap: balance; }
#why, #plan { color: var(--ink2); max-width: 72ch; }
.made { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.made li { border-top: 2px solid rgba(237,28,36,.6); padding-top: 12px; line-height: 1.45; }
#plan { color: var(--ink); font-size: 19px; }
.terms { display: flex; flex-wrap: wrap; gap: 8px 34px; margin: 16px 0 0; }
.terms div { display: flex; gap: 8px; flex-wrap: wrap; }
.terms dt { color: var(--mute); } .terms dd { margin: 0; }
.ask .keys { margin-top: 24px; }
.ask .key[aria-pressed=true] { --led: var(--ok); border-color: rgba(75,212,138,.6); box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(75,212,138,.22), inset 0 3px 9px rgba(0,0,0,.5); }
.reply { min-height: 78px; padding-top: 20px; max-width: 72ch; color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
.steps li { position: relative; padding-top: 34px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--red2); box-shadow: 0 0 18px var(--red); z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: 14px; right: -28px; height: 2px; background: rgba(237,28,36,.5); }
.steps p { color: var(--ink2); }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(36px, 6vw, 96px); }
.jobs li { padding: 28px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.jobs h3 { font-size: 24px; letter-spacing: -.015em; }
.jobs p, .rules p { color: var(--ink2); }
.jobs small { color: var(--mute); font-size: 14px; }
.vs > div { display: grid; grid-template-columns: 1fr 1fr 1.35fr; }
.vs > div > * { padding: 20px 24px; border-top: 1px solid var(--line); }
.vs > div > :first-child { padding-inline-start: 0; }
.vs > div > :nth-child(2) { color: var(--mute); }
.vs > div > :nth-child(3) { background: rgba(237,28,36,.10); border-color: rgba(237,28,36,.3); }
.vs .vh > * { border-top: 0; font-weight: 600; }
.vs .vh > :first-child { color: var(--mute); }
.vs .vh > :nth-child(3) { border-radius: 14px 14px 0 0; }
.vs > div:last-child > :nth-child(3) { border-radius: 0 0 14px 14px; }
.two { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.two .intro { margin: 0; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.proof li { position: relative; padding-inline-start: 32px; }
.proof .lamp { position: absolute; left: 2px; top: 31px; }
.close { display: grid; gap: 26px; justify-items: start; }
.close p { color: var(--ink2); font-size: 18px; max-width: 620px; }
.close .keys { margin: 0; }
footer { padding: 34px 0; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink2); min-height: 44px; display: inline-flex; align-items: center; }

/* sign in, sign up, set up */
.gate { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gate .side { position: relative; overflow: hidden; border-inline-end: 1px solid var(--line); }
.gate .side .stage { inset: 0; }
.gate .side .stage #robot { inset: 90px 10% 0; }
.gate main { display: grid; align-content: center; justify-items: center; padding: 104px 24px 48px; }
.form { width: min(430px, 100%); display: grid; gap: 18px; }
.form h1 { font-size: 34px; }
.form > p { color: var(--ink2); }
.field { display: grid; gap: 7px; }
.field > span, .field > label { font-size: 14px; color: var(--ink2); }
.field small { color: var(--mute); font-size: 13px; }
input:not([type=checkbox]) { width: 100%; min-height: 50px; padding: 11px 15px; font: inherit; color: var(--ink); background: #0A0A0B; border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 0 0 2px #050506, inset 0 2px 8px rgba(0,0,0,.6); }
input:not([type=checkbox]):focus { outline: none; border-color: var(--red2); box-shadow: 0 0 0 2px #050506, 0 0 0 4px rgba(237,28,36,.32); }
.tick { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; color: var(--ink2); font-size: 14px; cursor: pointer; }
.tick input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin: 1px 0 0; }
.note { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink2); font-size: 14px; display: grid; gap: 8px; }
.note b { color: var(--ink); }
.say { min-height: 24px; font-size: 15px; }
.say.bad { color: var(--redink); } .say.ok { color: var(--ok); }

/* after signing in */
.room { padding: 116px 0 80px; display: grid; gap: 28px; }
.room > h1 { font-size: clamp(30px, 4vw, 46px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 24px; display: grid; gap: 16px; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card > .chip { justify-self: start; }
.card h2 { font-size: 21px; letter-spacing: -.01em; }
.card p { color: var(--ink2); }
.line { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.line .field { flex: 1 1 240px; }
.line .key { align-self: end; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.list .grow { flex: 1 1 220px; min-width: 0; display: grid; }
.list .counts { flex: 1 1 100%; display: grid; gap: 10px; padding-inline-start: 25px; }
.kbox { display: grid; gap: 16px; }
.kbox h3 { margin-top: 12px; }
.kauto { display: grid; gap: 16px; padding: 22px; border: 1px solid rgba(237,28,36,.5); border-radius: 14px; background: radial-gradient(ellipse 70% 90% at 12% 0, rgba(237,28,36,.13), transparent 70%), #08080A; }
.kauto h3 { margin: 0; font-size: 20px; } .kauto .say:empty { display: none; }
.kcopy { display: grid; gap: 14px; padding: 18px 20px 20px; border: 1px solid var(--line2); border-radius: 12px; background: #050506; } .kcopy h4, .kor { margin: 0; font-size: 17px; } .kcopy p { max-width: 74ch; } .kcopy [aria-pressed=true] { --led: var(--red2); border-color: rgba(237,28,36,.8); color: #fff; box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(237,28,36,.3), 0 0 18px rgba(237,28,36,.26); }
.kstart { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; } .kstart .wide { grid-column: 1 / -1; }
.kset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 14px 18px 18px; border: 1px solid var(--line2); border-radius: 12px; } .kset legend { padding: 0 8px; font-weight: 600; }
.grow2 { flex: 1 1 320px; }
.kprof { border: 1px solid var(--line2); border-radius: 12px; background: #09090A; padding: 4px 20px; }
.kprof[open] { padding-bottom: 20px; }
.kprof summary { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; min-height: 56px; cursor: pointer; list-style: none; }
.kprof summary::-webkit-details-marker { display: none; }
.kprof summary::after { content: ""; width: 9px; height: 9px; margin: 0 4px 0 auto; border: solid var(--ink2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kprof[open] summary::after { transform: rotate(225deg); }
.kserv { display: grid; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.khead { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.kbox small { color: var(--mute); }
.kserv .say:empty { display: none; }
.kclient { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
select { width: 100%; min-height: 50px; padding: 11px 15px; font: inherit; color: var(--ink); background: #0A0A0B; border: 1px solid var(--line2); border-radius: 10px; }
.list small { color: var(--mute); overflow-wrap: anywhere; }
dialog { width: min(460px, 100% - 40px); border: 1px solid var(--line2); border-radius: 14px; background: var(--panel2); color: var(--ink); padding: 26px; }
dialog::backdrop { background: rgba(0,0,0,.75); }
dialog form { display: grid; gap: 16px; }
dialog h2 { font-size: 22px; }
dialog p { color: var(--ink2); }

/* the owner's control room */
.deck .top { position: sticky; background: #000; border-bottom: 1px solid var(--line); }
.deck .top .wrap { min-height: 68px; }
.deck .wrap { width: min(1680px, 100% - 40px); }
.deck .room { padding: 18px 0 60px; gap: 18px; }
.dstrip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; background: #050506; box-shadow: inset 0 2px 12px rgba(0,0,0,.9); color: var(--ink2); font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 10px; }
.dtime { font-variant-numeric: tabular-nums; color: var(--redink); text-shadow: 0 0 14px rgba(237,28,36,.7); }
.dgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.rail { display: grid; gap: 14px; position: sticky; top: 90px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #111113, #080809); }
.rail .key { justify-content: flex-start; min-height: 52px; background-position: 18px 6px, 0 0; font-size: 15px; }
.rail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rail .key[aria-current], .tabs .key[aria-pressed=true] { --led: var(--red2); border-color: rgba(237,28,36,.75); color: #fff; box-shadow: 0 0 0 2px #050506, 0 0 0 3px rgba(237,28,36,.30), 0 0 18px rgba(237,28,36,.24), inset 0 3px 9px rgba(0,0,0,.5); }
.view { display: grid; gap: 20px; min-width: 0; }
.view .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vhead { display: grid; gap: 8px; }
.vhead h1 { font-size: clamp(27px, 2.6vw, 38px); outline: none; overflow-wrap: anywhere; }
.vhead p { color: var(--ink2); max-width: 80ch; overflow-wrap: anywhere; }
.view > .key { justify-self: start; }
.view small, .deck .card small { color: var(--mute); }
.dreads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dread { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 14px; background: #030303; box-shadow: 0 0 0 3px #0c0c0d, inset 0 2px 16px rgba(0,0,0,.9); color: var(--ink2); text-decoration: none; font-size: 14px; min-width: 0; }
a.dread:hover { border-color: rgba(237,28,36,.6); }
.dread b { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.15; font-weight: 620; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--redink); text-shadow: 0 0 22px rgba(237,28,36,.6); overflow-wrap: anywhere; }
.dread.ok b { color: var(--ok); text-shadow: 0 0 22px rgba(75,212,138,.5); }
.dcols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.dside { display: grid; gap: 20px; }
.panel { display: grid; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #121214, #080809); min-width: 0; align-content: start; justify-items: start; }
.panel > * { max-width: 100%; }
.panel h2 { font-size: 20px; letter-spacing: -.01em; }
.panel p { color: var(--ink2); }
.bstage { background: radial-gradient(ellipse 60% 62% at 50% 46%, rgba(237,28,36,.17), transparent 72%), linear-gradient(180deg, #0D0D0F, #050506); }
.bmap { width: 100%; height: auto; display: block; }
.bmap text { fill: var(--ink); font-size: 19px; font-weight: 600; }
.bmap .dim { fill: var(--ink2); font-size: 15px; font-weight: 400; }
.bmap .plan { fill: var(--redink); font-size: 16px; }
.mesh line { stroke: rgba(255,110,114,.42); } .mesh circle { fill: #FFE3E0; opacity: .9; }
.lobe { fill: rgba(237,28,36,.10); stroke: rgba(255,90,95,.85); stroke-width: 2; filter: drop-shadow(0 0 12px rgba(237,28,36,.75)); }
.fold { fill: none; stroke: rgba(255,80,86,.34); stroke-width: 2.5; stroke-linecap: round; }
.nerve { fill: none; stroke-width: 3; stroke: #4a4a4e; } .nerve.ok { stroke: rgba(75,212,138,.55); } .nerve.bad { stroke: var(--red2); } .nerve.off { stroke-dasharray: 4 8; } .nerve.thin { stroke-width: 1.4; opacity: .7; }
.pulse { fill: none; stroke: #D8FFE9; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 400; animation: pulse 3.2s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.node { fill: #6b6764; } .node.ok { fill: var(--ok); filter: drop-shadow(0 0 8px var(--ok)); } .node.bad { fill: var(--red2); filter: drop-shadow(0 0 8px var(--red)); }
.alerts, .feed { list-style: none; margin: 0; padding: 0; width: 100%; }
.alerts li { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.alerts a { color: var(--ink); text-decoration: none; min-height: 48px; padding: 10px 0; display: flex; align-items: center; flex: 1; overflow-wrap: anywhere; min-width: 0; }
.alerts a:hover { color: var(--redink); }
.feed li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.feed time { color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.feed b { font-weight: 550; display: block; } .feed small { display: block; overflow-wrap: anywhere; }
.cfilter { display: flex; flex-wrap: wrap; gap: 14px 34px; width: 100%; padding-bottom: 6px; }
.panel h3 { font-size: 17px; }
.chart, .cwrap, .ctable { width: 100%; min-width: 0; }
.cwrap { position: relative; }
.cbars { display: block; width: 100%; height: auto; overflow: visible; }
.cbars text { fill: var(--ink2); font-size: 14px; font-variant-numeric: tabular-nums; }
.cbars .clab { fill: var(--ink); font-size: 15px; font-weight: 600; }
.cgrid { stroke: rgba(255,255,255,.08); } .cbase { stroke: rgba(255,255,255,.28); }
.cbar.s0 { fill: #ED1C24; } .cbar.s1 { fill: #3987E5; }
.chit { fill: transparent; } .chit:hover { fill: rgba(255,255,255,.05); }
.clegend { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink2); font-size: 14px; }
.clegend > span { display: inline-flex; gap: 9px; align-items: center; }
.sw { width: 12px; height: 12px; border-radius: 3px; } .sw.s0 { background: #ED1C24; } .sw.s1 { background: #3987E5; }
.ctip { position: absolute; top: 0; z-index: 4; transform: translateX(-50%); display: grid; gap: 3px; width: max-content; max-width: min(300px, 64%); padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; background: #1A1A1D; color: var(--ink2); font-size: 14px; line-height: 1.4; box-shadow: 0 12px 34px rgba(0,0,0,.7); pointer-events: none; }
.ctip b { color: var(--ink); }
.cempty { padding: 34px 0; }
.panel .cnote, .card .cnote { color: var(--mute); font-size: 14px; max-width: 110ch; }
.ctable summary { list-style: none; cursor: pointer; } .ctable summary::-webkit-details-marker { display: none; } .ctable[open] summary { --led: var(--red2); margin-bottom: 14px; }
.tscroll { overflow-x: auto; }
.ctable table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.ctable th, .ctable td { padding: 9px 14px 9px 0; border-top: 1px solid var(--line); text-align: end; white-space: nowrap; } .ctable th { color: var(--mute); font-weight: 500; }
.ctable th:first-child, .ctable td:first-child { text-align: start; }
.meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; width: 100%; }
.meter { align-content: start; display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #030303; box-shadow: inset 0 2px 14px rgba(0,0,0,.9); }
.mnum { font-size: 25px; line-height: 1.2; font-weight: 620; font-variant-numeric: tabular-nums; }
.mbar { height: 10px; border-radius: 5px; background: rgba(57,135,229,.20); overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: 5px; background: #3987E5; }
.wlist { width: 100%; } .wlist li { justify-content: space-between; } .wlist .grow { flex-basis: 150px; } .wamt { font-variant-numeric: tabular-nums; font-weight: 600; }
.wnum { justify-self: start; padding: 14px 26px; border: 1px solid var(--line2); border-radius: 14px; background: #030303; box-shadow: 0 0 0 3px #0c0c0d, inset 0 2px 16px rgba(0,0,0,.9); color: var(--ok); text-shadow: 0 0 22px rgba(75,212,138,.5); font-size: clamp(34px, 5vw, 52px); line-height: 1.15; font-weight: 620; font-variant-numeric: tabular-nums; }
.steps2 { list-style: none; margin: 0; padding: 0; width: 100%; }
.steps2 li { display: flex; gap: 12px; align-items: center; min-height: 62px; padding: 8px 0; border-top: 1px solid var(--line); }
.steps2 .grow { display: grid; flex: 1; min-width: 0; } .steps2 b { font-weight: 550; overflow-wrap: anywhere; }
.setup { display: grid; gap: 10px; width: 100%; }
.urows { display: grid; width: 100%; }
.urow { display: grid; grid-template-columns: 12px minmax(140px, 1fr) auto auto; gap: 12px 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.urow .grow { display: grid; min-width: 0; }
.ptag { padding: 3px 12px; border: 1px solid rgba(237,28,36,.55); border-radius: 8px; background: rgba(237,28,36,.12); color: var(--redink); font-size: 14px; }
.vsub { font-size: 24px; margin-top: 14px; }
.vnote { color: var(--ink2); }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tabs .key { align-self: auto; }
.crows { display: grid; gap: 12px; justify-items: start; }
.crow { width: 100%; display: grid; grid-template-columns: 12px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; min-height: 76px; padding: 14px 20px; border: 1px solid var(--line2); border-radius: 14px; color: var(--ink); text-decoration: none; background: var(--cap); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.crow:hover { border-color: rgba(237,28,36,.6); background: var(--cap2); }
.crow span { display: grid; min-width: 0; } .crow b, .crow small { overflow-wrap: anywhere; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink2); } .facts dd { margin: 0; text-align: end; }
.sform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sform .wide { grid-column: 1 / -1; }
.agrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.agrid .reads { width: 100%; }

@media (max-width: 1180px) { .dreads { grid-template-columns: 1fr 1fr; } .dcols { grid-template-columns: minmax(0, 1fr); } .sform { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .top .wrap { min-height: 72px; }
  .top nav .more { display: none !important; }
  .hero { display: block; }
  .stage { position: relative; inset: auto; height: min(112vw, 560px); }
  .hero .wrap { padding-block: 8px 56px; }
  .hero h1 { margin: 16px 0; }
  .two, .cards, .console { grid-template-columns: minmax(0, 1fr); }
  .asks { position: static; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 0 0 30px 38px; }
  .steps li::before { top: 6px; }
  .steps li:not(:last-child)::after { top: 20px; bottom: -6px; left: 6px; right: auto; width: 2px; height: auto; }
  .gate { grid-template-columns: minmax(0, 1fr); }
  .gate .side { display: none; }
  .gate main { align-content: start; }
}
@media (max-width: 900px) {
  .deck .top { position: relative; }
  .dgrid, .view .cards { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 12px; }
  .urow { grid-template-columns: 12px minmax(0, 1fr); } .urow .tabs, .urow > .key { grid-column: 2; justify-self: start; }
  .crow { grid-template-columns: 12px minmax(0, 1fr); } .crow .ccol { grid-column: 2; }
}
@media (max-width: 680px) {
  .cbars text { font-size: 25px; } .cbars .clab { font-size: 27px; }
  .bmap text { font-size: 28px; } .bmap .plan { font-size: 23px; } .bmap .dim { display: none; }
  .sform { grid-template-columns: minmax(0, 1fr); }
  .dreads { gap: 12px; } .dread { padding: 14px; } .dread b { font-size: 25px; }
  .panel { padding: 18px 16px; } .feed li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rail .key { padding-inline: 12px; gap: 8px; font-size: 14px; }
  .brainwork { padding: 20px 18px 26px 38px; border-radius: 16px; }
  .stagebox::before, .stagebox:not(:last-child)::after { left: -20px; }
  .reads, .made, .jobs { grid-template-columns: minmax(0, 1fr); }
  .reads div { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 14px; }
  .reads dd { white-space: nowrap; }
  .made { gap: 14px; }
  .vs > div { grid-template-columns: 1fr 1fr; padding-block: 18px; border-top: 1px solid var(--line); }
  .vs > div > * { border: 0; padding: 12px 14px 12px 0; }
  .vs > div > :first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .vs > div > :nth-child(3) { padding-inline-start: 14px; border-radius: 10px !important; }
  .vs .vh { border-top: 0; } .vs .vh > :first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 560px) {
  .ask .key { flex: 1 1 100%; }
  .asks .key { padding-inline: 14px; font-size: 15px; background-position: 14px 6px, 0 0; }
  .hero .keys .key, .close .key, .close .keys { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pulse { display: none; } .stagebox > *, .stagebox.on::after { transition: none; } html { scroll-behavior: auto; } .key:active { transform: none; } }
