/* COFFER app. Register: warm-cream studio, one electric cobalt, navy ink, lots of air. */
:root {
  --bg: #FBF7EF;
  --bg-2: #F5F0E4;
  --paper: #FFFFFF;
  --ink: #0B1B3F;
  --ink-2: #3B4763;
  --mute: #7C8599;
  --line: #EAE3D4;
  --line-2: #DDD5C3;
  --blue: #0055FD;
  --blue-deep: #0A3BEA;
  --blue-soft: #E8EFFF;
  --blue-mist: #F2F6FF;
  --green: #0E9F6E;
  --amber: #C98A0B;
  --red: #D6364B;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 1px 0 rgba(11, 27, 63, .03), 0 18px 40px -26px rgba(11, 27, 63, .28);
  --shadow-l: 0 1px 0 rgba(11, 27, 63, .03), 0 30px 70px -36px rgba(11, 27, 63, .38);
  --f-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --topbar: 107px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 500 15px/1.55 var(--f-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img { display: block; }
.mono { font-family: var(--f-mono); font-feature-settings: 'tnum' 1, 'zero' 0; letter-spacing: -.01em; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- stage (fixed, behind everything) ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-labels { position: absolute; inset: 0; transition: opacity .3s; }
.stage-labels .leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leader { fill: none; stroke: var(--blue); stroke-width: 1; stroke-opacity: .55; }
.leader-dot { fill: var(--paper); stroke: var(--blue); stroke-width: 1.6; }
.slabel, .llabel { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; }
.slabel { display: flex; flex-direction: column; line-height: 1; text-align: center; transition: opacity .4s; }
.slabel b { font: 700 clamp(26px, 3vw, 40px)/1 var(--f-display); color: var(--blue); letter-spacing: -.01em; }
.slabel span { margin-top: 6px; font: 500 12px/1.2 var(--f-body); color: var(--mute); letter-spacing: .02em; }
.llabel {
  min-width: 150px; max-width: min(250px, 46vw); padding: 10px 13px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(11, 27, 63, .08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -18px rgba(11, 27, 63, .35); transition: box-shadow .2s, border-color .2s;
}
.llabel.is-hi { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 85, 253, .12), 0 12px 30px -18px rgba(11, 27, 63, .35); }
.llabel .k { display: flex; align-items: center; gap: 7px; font: 600 11px/1.2 var(--f-body); color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.llabel .k i { width: 9px; height: 9px; border-radius: 3px; background: var(--sw, var(--blue)); flex: none; box-shadow: inset 0 0 0 1px rgba(11,27,63,.12); }
.llabel .v { margin-top: 4px; font: 600 17px/1.15 var(--f-mono); letter-spacing: -.03em; color: var(--ink); }
.llabel .s { margin-top: 3px; font: 500 11.5px/1.35 var(--f-body); color: var(--ink-2); }
.llabel .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.llabel .chips span { font: 600 10.5px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-deep); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 247, 239, .8); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(11, 27, 63, .06);
}
.bar-main { height: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 0 var(--gutter); }

.bar-status {
  height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 var(--gutter);
  border-top: 1px solid rgba(11, 27, 63, .05);
}
.bar-status .pill { height: 30px; font-size: 11.5px; background: transparent; }
.bar-status .pill-mode { background: var(--blue-mist); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; min-height: 44px; justify-self: start; }
.brand-mark { width: 44px; height: auto; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 500 19px/1 var(--f-display); letter-spacing: .34em; margin-right: -.34em; color: var(--ink); }
.brand-sub { margin-top: 5px; font: 500 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.nav { display: flex; gap: 4px; justify-content: center; min-width: 0; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font: 600 13.5px/1 var(--f-body); color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(11, 27, 63, .05); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.status { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); white-space: nowrap;
  font: 600 12px/1 var(--f-body); color: var(--ink-2);
}
.pill img { width: 14px; height: 14px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); flex: none; }
.pill-mode { cursor: pointer; border-color: rgba(0, 85, 253, .35); background: var(--blue-mist); color: var(--blue-deep); }
.pill-mode i { background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 85, 253, .15); }
.pill-mode[data-mode="live"] { border-color: rgba(14, 159, 110, .4); background: #EAF8F2; color: #0B6E4E; }
.pill-mode[data-mode="live"] i { background: var(--green); }

.pill-feed[data-state="ok"] i { background: var(--green); box-shadow: 0 0 0 3px rgba(14, 159, 110, .16); animation: beat 2.4s ease-in-out infinite; }
.pill-feed[data-state="warn"] i { background: var(--amber); }
.pill-feed[data-state="down"] i { background: var(--red); }
.pill-clock { min-width: 106px; justify-content: center; font-weight: 500; }
@keyframes beat { 50% { box-shadow: 0 0 0 6px rgba(14, 159, 110, 0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 13.5px/1 var(--f-body); letter-spacing: .01em; transition: transform .15s, background .2s, box-shadow .2s, opacity .2s;
}
.btn:active { transform: translateY(1px); }
.btn-connect { height: 36px; background: var(--ink); color: #fff; }
.btn-connect:hover { background: #16295a; }
.btn-connect.is-on { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 85, 253, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn[disabled] { cursor: not-allowed; opacity: 1; background: #EEF0F5; color: #8A93A6; box-shadow: none; border-color: transparent; }
.btn-s { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

.mode-tip {
  position: fixed; z-index: 40; top: calc(var(--topbar) + 8px); left: var(--gutter); width: min(380px, calc(100vw - 32px));
  padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #E7ECF7; font-size: 13px; line-height: 1.5;
  box-shadow: var(--shadow-l);
}
.mode-tip b { color: #fff; }
.mode-tip p { margin: 0 0 8px; }
.mode-tip p:last-child { margin: 0; }

/* ---------- pages ---------- */
.view { position: relative; z-index: 1; outline: none; min-height: calc(100vh - var(--topbar)); }
.hero { position: relative; height: var(--hero-h, 62vh); min-height: 320px; max-height: 760px; pointer-events: none; }
.hero-cap {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center;
  pointer-events: auto; white-space: nowrap;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.page-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; margin: 8px 0 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--blue); }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; }
h1 { font-weight: 400; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin-top: 14px; }
h1 em { font-style: normal; color: var(--blue); }
h2 { font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.35vw, 17px); line-height: 1.6; max-width: 56ch; }
.muted { color: var(--mute); }
.small { font-size: 12.5px; line-height: 1.5; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.section { margin: 0 0 22px; }

.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; min-width: 0;
}
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h2, .card-head h3 { min-width: 0; }
.card-sub { margin: 6px 0 0; color: var(--mute); font-size: 13px; line-height: 1.5; }
.card.soft { background: rgba(255, 255, 255, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.card.ink { background: var(--ink); color: #DDE4F3; border-color: var(--ink); }
.card.ink h2, .card.ink h3 { color: #fff; }

/* source chips: every figure says where it comes from */
.src { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; flex: none; }
.src::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.src-live { background: #E7F7F0; color: #0B7A55; }
.src-param { background: var(--blue-soft); color: var(--blue-deep); }
.src-launch { background: #F1ECE1; color: #6E6552; }
.src-none { background: #EFF1F5; color: #6B7488; }

/* ---------- reserve ---------- */
.price-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: stretch; margin-bottom: 20px; }
.price-card { padding: 28px 30px 26px; }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-label { font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.price-big { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.price-big .v { font: 300 clamp(52px, 7.4vw, 96px)/.95 var(--f-display); letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-big .v small { font-size: .5em; color: #A7AEBE; letter-spacing: -.02em; }
.price-big .u { font: 600 15px/1 var(--f-body); color: var(--ink-2); }
.price-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; color: var(--ink-2); font-size: 13px; }
.price-meta b { font-family: var(--f-mono); font-weight: 600; color: var(--ink); }
.spark { width: 100%; height: 76px; margin-top: 18px; display: block; }
.risk {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-top: 18px;
  background: #FFF8EA; border: 1px solid #F3E2BB; color: #6B4E12; font-size: 13px; line-height: 1.5;
}
.risk svg { flex: none; margin-top: 2px; }

.nav-ring { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 22px; align-items: center; }
.ring { width: 172px; height: 172px; }
.ring text { font-family: var(--f-mono); }
.legend { display: grid; gap: 2px; min-width: 0; }
.legend-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.legend-row:last-child { border-bottom: 0; }
.legend-row i { width: 10px; height: 10px; border-radius: 3px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(11,27,63,.1); }
.legend-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.legend-row b { font: 600 13px/1 var(--f-mono); color: var(--ink); }
.legend-row.minus span, .legend-row.minus b { color: var(--mute); }

.engines-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eng { border-radius: 18px; padding: 18px; background: var(--blue-mist); border: 1px solid #DCE6FF; min-width: 0; }
.eng .t { font: 700 24px/1 var(--f-display); color: var(--blue); }
.eng .st { font-size: 12px; color: var(--mute); margin-top: 4px; }
.eng .v { font: 600 20px/1.1 var(--f-mono); margin-top: 16px; letter-spacing: -.03em; }
.eng .d { font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }

.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.tabs button { height: 34px; padding: 0 16px; border: 0; background: transparent; border-radius: 999px; font: 700 13px/1 var(--f-body); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(11,27,63,.25); }
.field { margin-top: 18px; }
.field label { display: flex; justify-content: space-between; font: 600 12px/1 var(--f-body); color: var(--mute); margin-bottom: 8px; letter-spacing: .02em; }
.input {
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; border-radius: 16px;
  border: 1px solid var(--line-2); background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 85, 253, .1); background: #fff; }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 24px/1 var(--f-mono); letter-spacing: -.03em; }
.input .unit { font: 700 13px/1 var(--f-body); color: var(--ink-2); padding: 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.quote { margin-top: 14px; display: grid; gap: 8px; font-size: 13px; }
.quote div { display: flex; justify-content: space-between; gap: 12px; }
.quote span { color: var(--mute); }
.quote b { font: 600 13px/1.3 var(--f-mono); text-align: right; }
.route { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.route div { border-radius: 12px; padding: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 11.5px; line-height: 1.35; color: var(--mute); min-width: 0; }
.route div b { display: block; color: var(--ink); font: 600 12.5px/1.2 var(--f-mono); margin-top: 4px; overflow-wrap: anywhere; }
.route div.on { background: var(--blue-mist); border-color: #C9D8FF; }
.route div.q { background: #FFF8EA; border-color: #F3E2BB; }
.why { margin-top: 12px; font-size: 12.5px; color: var(--mute); line-height: 1.5; display: flex; gap: 8px; }
.why svg { flex: none; margin-top: 2px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font: 600 11px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
td .num { white-space: nowrap; }
.co { display: flex; align-items: center; gap: 11px; min-width: 0; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.logo i { width: 18px; height: 18px; background: var(--ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo b { font: 700 10px/1 var(--f-mono); color: var(--ink); letter-spacing: -.02em; }
.co b.sym { font: 700 13.5px/1.1 var(--f-mono); }
.co small { display: block; color: var(--mute); font-size: 12px; }
.bar { position: relative; height: 6px; border-radius: 99px; background: #EEF1F7; min-width: 70px; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--blue); }
.bar u { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); border-radius: 2px; }
.age { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.age::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.age.warn::before { background: var(--amber); }
.age.held::before { background: #9AA6BF; }
.age.bad::before { background: var(--red); }
a.addr { display: inline-flex; align-items: center; min-height: 30px; font: 500 12px/1 var(--f-mono); color: var(--blue-deep); text-decoration: none; border-bottom: 1px solid rgba(0,85,253,.25); white-space: nowrap; }
a.addr:hover { border-color: var(--blue); }
.pending { font: 500 12px/1 var(--f-mono); color: var(--mute); white-space: nowrap; }

/* ---------- engines ---------- */
.split { display: flex; height: 44px; border-radius: 14px; overflow: hidden; gap: 3px; margin-top: 8px; }
.split div { display: flex; align-items: center; justify-content: center; font: 700 12px/1 var(--f-mono); color: #fff; min-width: 0; }
.split .op { background: #0B1B3F; }
.split .st { background: #5B8DFF; }
.split .rs { background: var(--blue); }
.split-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.split-legend b { display: block; font: 600 14px/1.2 var(--f-mono); color: var(--ink); margin-top: 3px; }
.arriving { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; flex-wrap: wrap; }
.arriving .v { font: 300 clamp(40px, 5vw, 58px)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 180px; display: block; }
.chart text { font: 500 10.5px var(--f-mono); fill: var(--mute); }
.slider { width: 100%; accent-color: var(--blue); height: 30px; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; font-size: 13px; }
.kv span { color: var(--mute); }
.kv b { font: 600 13px/1.3 var(--f-mono); text-align: right; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 300px; overflow: auto; }
.log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.log li time { font: 500 11.5px/1.45 var(--f-mono); color: var(--mute); }

/* ---------- take it apart ---------- */
.proof { font-size: 13px; }
.proof-row { display: grid; grid-template-columns: 22px minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background .15s; }
.proof-row:hover { background: linear-gradient(90deg, transparent, var(--blue-mist) 12%, var(--blue-mist) 88%, transparent); }
.proof-row .op { font: 600 16px/1 var(--f-mono); color: var(--mute); text-align: center; }
.proof-row .what { min-width: 0; }
.proof-row .what b { display: block; font: 600 13px/1.3 var(--f-body); }
.proof-row .what code { display: block; font: 500 11.5px/1.4 var(--f-mono); color: var(--mute); margin-top: 3px; overflow-wrap: anywhere; }
.proof-row .val { text-align: right; font: 600 14px/1.2 var(--f-mono); white-space: nowrap; }
.proof-row .val small { display: block; font-size: 11px; color: var(--mute); font-weight: 500; margin-top: 3px; }
.proof-row.total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 4px; }
.proof-row.total .val { font-size: 18px; }
.proof-row.result { background: var(--blue-mist); border-radius: 14px; padding: 16px 12px; border: 0; margin-top: 8px; }
.proof-row.result .val { font-size: 22px; color: var(--blue-deep); }
.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.check .ok { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #E1F5EC; color: var(--green); font-weight: 800; font-size: 12px; }
.check .ok.no { background: #FDE8EB; color: var(--red); }
.check b { display: block; }
.toggle-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- queue ---------- */
.states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: relative; }
.state { border-radius: 16px; padding: 16px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.state .n { font: 600 11px/1 var(--f-mono); color: var(--blue); letter-spacing: .06em; }
.state b { display: block; font: 600 17px/1.2 var(--f-display); margin-top: 8px; }
.state p { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 700 11px/1 var(--f-body); letter-spacing: .03em; white-space: nowrap; }
.badge.pending { background: #FFF4DC; color: #8A5D00; }
.badge.fulfilled { background: var(--blue-soft); color: var(--blue-deep); }
.badge.claimed { background: #E7F7F0; color: #0B7A55; }
.badge.cancelled { background: #EFF1F5; color: #6B7488; }
.empty { display: grid; place-items: center; text-align: center; gap: 10px; padding: 34px 16px; border-radius: 18px; border: 1.5px dashed var(--line-2); color: var(--mute); font-size: 13.5px; }
.empty img { width: 64px; opacity: .9; }

/* ---------- govern ---------- */
.param-bound { display: inline-flex; font: 500 11.5px/1.3 var(--f-mono); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 7px; white-space: nowrap; }
.where { font: 600 10.5px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.token-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.token-facts div { border-radius: 14px; padding: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); min-width: 0; }
.token-facts b { display: block; font: 600 15px/1.2 var(--f-mono); color: var(--ink); margin-bottom: 4px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--topbar) + 24px); display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.toc a:hover { background: rgba(11,27,63,.05); color: var(--ink); }
.prose { max-width: 70ch; font-size: 16px; line-height: 1.75; color: #23304F; }
.prose section { padding: 8px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; scroll-margin-top: calc(var(--topbar) + 20px); }
.prose section:last-child { border: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 14px; }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--ink); }
.prose .pull { font: 400 clamp(20px, 2.2vw, 26px)/1.35 var(--f-display); color: var(--blue); letter-spacing: -.01em; margin: 22px 0; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 6px 0; }
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.compare div { border-radius: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; }
.compare div.mid { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,85,253,.08); }
.compare b { display: block; font: 600 16px/1.2 var(--f-display); margin-bottom: 6px; }

/* ---------- footer, toast ---------- */
.foot { position: relative; z-index: 1; margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 44px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr); gap: 32px; }
.foot-mark { display: inline-flex; align-items: center; gap: 12px; font: 500 16px/1 var(--f-display); letter-spacing: .32em; color: var(--ink); }
.foot-brand p { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); max-width: 46ch; line-height: 1.6; }
.foot-brand .foot-pre { font-size: 12.5px; color: var(--mute); }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.foot-links b { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.foot-links a { display: flex; align-items: center; gap: 7px; min-height: 32px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
.bar-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.btn-gh { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.btn-gh:hover { color: var(--blue); border-color: var(--blue); }
.gh-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 13px/1 var(--f-body); color: var(--ink); text-decoration: none; }
.gh-link:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-connect { padding: 0 12px; }
}
@media (max-width: 900px) {
  .how { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.toast {
  position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-l); transition: opacity .25s, transform .25s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.page-enter { animation: enter .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  :root { --topbar: 150px; }
  .bar-main { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding-top: 12px; row-gap: 8px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 960px) {
  .price-row, .g-main, .g-2, .g-3, .page-head { grid-template-columns: minmax(0, 1fr); }
  .page-head { gap: 14px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { background: #fff; border: 1px solid var(--line); padding: 8px 12px; }
  .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bar-status .pill-chain { width: 30px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .bar-status { gap: 6px; }
  .bar-status .status { gap: 5px; min-width: 0; }
  .pill-feed { width: 30px; padding: 0; justify-content: center; }
  .pill-feed span { display: none; }
  .pill-clock { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; letter-spacing: .28em; }
  .brand-mark { width: 38px; }
  .pill-mode { padding: 0 9px; min-width: 0; }
  .pill-mode span { overflow: hidden; text-overflow: ellipsis; }
  .btn-connect { padding: 0 12px; font-size: 12.5px; }
  .card { padding: 18px; border-radius: 18px; }
  .table-wrap { margin: 0 -18px; padding: 0 18px; }
  .price-card { padding: 22px 20px; }
  .nav-ring { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .legend { width: 100%; }
  .engines-mini { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: minmax(0, 1fr); }
  .proof-row { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .proof-row .srccol { display: none; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .token-facts { grid-template-columns: minmax(0, 1fr); }
  .states { grid-template-columns: minmax(0, 1fr); }
  .slabel b { font-size: 24px; }
  .llabel { min-width: 0; max-width: 52vw; padding: 7px 9px; border-radius: 11px; }
  .llabel .k { font-size: 9.5px; letter-spacing: .05em; }
  .llabel .v { font-size: 13.5px; margin-top: 2px; }
  .llabel .s, .llabel .chips { display: none; }
  .hero-cap { bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* og image render: /?og=1 */
.og-card { display: none; }
html.og .topbar, html.og .foot, html.og .wrap, html.og .hero-cap { display: none; }
html.og .hero { height: 100vh; max-height: none; }
html.og .og-card { display: flex; position: fixed; z-index: 5; left: 0; right: 0; bottom: 44px; flex-direction: column; align-items: center; gap: 8px; }
html.og .og-card img { display: none; }
html.og .og-card b { font: 500 44px/1 var(--f-display); letter-spacing: .42em; margin-right: -.42em; color: var(--ink); }
html.og .og-card span { font: 600 13px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

/* pre-launch */
.pill-launch { background: rgba(255,255,255,.75); color: var(--blue-deep); border-color: rgba(0,85,253,.3); }
.pill-launch i { background: var(--blue); }
.price-caption { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55; max-width: 52ch; }
.input.is-off { background: #F4F1EA; }
.input.is-off input { cursor: not-allowed; }
.chart-legend { display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px/1.3 var(--f-mono); color: var(--mute); margin-top: 6px; }
.formula { border-radius: 16px; padding: 16px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.formula .n { font: 600 11px/1 var(--f-mono); color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.formula b { display: block; font: 600 13.5px/1.4 var(--f-mono); margin-top: 8px; overflow-wrap: anywhere; }
.formula p { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.band-bar { position: relative; height: 14px; border-radius: 99px; background: #EEF1F7; }
.band-bar i { position: absolute; top: 0; bottom: 0; background: rgba(0,85,253,.25); border-radius: 4px; }
.band-bar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--blue); border-radius: 2px; }
.band-bar u.cap { background: var(--red); }
.band-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font: 500 11px/1.3 var(--f-mono); color: var(--mute); }
.split-legend div { line-height: 1.4; }

/* =====================================================================================
   DIAGRAMS: one grammar. Nodes white + hairline, vault cobalt; money = cobalt 2px flowing;
   control = navy dashed; data = grey dotted. Labels are HTML (never below 11px).
   ===================================================================================== */
.dg { margin: 0; padding: 26px 26px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.dg + .dg { margin-top: 22px; }
.dg-cap { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.dg-cap > div { min-width: 0; max-width: 72ch; }
.dg-k { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.dg-k::before { content: ''; width: 14px; height: 1.5px; background: var(--blue); }
.dg-cap h3 { font: 500 clamp(19px, 2vw, 24px)/1.2 var(--f-display); letter-spacing: -.02em; }
.dg-cap p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.dg-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--mute); font-size: 12.5px; line-height: 1.55; }
.src-illus { background: #F1ECE1; color: #6E6552; }

/* node graphs */
.gwrap { position: relative; }
.gsvg { display: block; width: 100%; height: auto; overflow: visible; }
.gsvg-tall { display: none; max-width: 460px; margin: 0 auto; }
.n rect { fill: #fff; stroke: rgba(11, 27, 63, .16); stroke-width: 1; transition: stroke .2s, fill .2s; }
.n .nt { font: 600 14px var(--f-body); fill: var(--ink); }
.n .ns { font: 500 11px var(--f-mono); fill: var(--mute); }
.n-blue rect { fill: var(--blue); stroke: var(--blue); filter: drop-shadow(0 10px 18px rgba(0, 85, 253, .28)); }
.n-blue .nt { fill: #fff; font-size: 17px; font-family: var(--f-display); font-weight: 600; }
.n-blue .ns { fill: rgba(255, 255, 255, .8); }
.n-grey rect { fill: #F4F1EA; }
.n[data-href] { cursor: pointer; }
.n[data-href]:hover rect, .n[data-href]:focus rect { stroke: var(--blue); stroke-width: 1.6; }
.n-blue[data-href]:hover rect { fill: var(--blue-deep); }
.n:focus { outline: none; }
.e { fill: none; }
.e-money { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 7 6; animation: flow 1.4s linear infinite; }
.e-ctrl { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 5 5; opacity: .55; }
.e-data { stroke: #8A93A6; stroke-width: 1.4; stroke-dasharray: 1.5 4; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.el { font: 600 11.5px var(--f-mono); fill: var(--blue-deep); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.el-grey { fill: var(--mute); }
.el-ink { fill: var(--ink-2); }
.legend-inline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font: 500 12px/1 var(--f-body); color: var(--ink-2); }
.legend-inline span { display: inline-flex; align-items: center; gap: 8px; }
.lk { width: 26px; height: 0; border-top: 2px dashed var(--blue); }
.lk-ctrl { border-top: 1.5px dashed rgba(11, 27, 63, .6); }
.lk-data { border-top: 2px dotted #8A93A6; }
.dg-tip {
  position: fixed; z-index: 60; max-width: 280px; padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: var(--ink); color: #E7ECF7; font-size: 12.5px; line-height: 1.45; box-shadow: var(--shadow-l); opacity: 0; transition: opacity .15s;
}
.dg-tip.on { opacity: 1; }

/* charts: SVG 0..100 + % labels */
.ch { position: relative; width: 100%; padding-top: var(--r); margin: 6px 0 4px; }
.ch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-svg path, .ch-svg rect { vector-effect: non-scaling-stroke; }
.cl { position: absolute; font: 500 12px/1.35 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.cl b { color: var(--ink); font-weight: 700; }
.cl-l { transform: translate(0, -50%); }
.cl-r { transform: translate(-100%, -50%); text-align: right; }
.cl-c { transform: translate(-50%, -50%); }
.cl-t { transform: translate(-50%, 0); text-align: center; }
.cl-b { transform: translate(-50%, -100%); text-align: center; }
.cl-tl { transform: none; }
.cl-mono { font: 500 11px/1.3 var(--f-mono); color: var(--mute); }
.cl-axis { color: var(--mute); }
.cl-blue, .cl-blue b { color: var(--blue-deep); }
.cl-red { color: var(--red); }
.cl-muted { color: #A7AEBE; }
.cl-note { white-space: normal; width: max-content; max-width: 230px; font-size: 12px; }
.cl-center { text-align: center; }
.cl-onl { background: var(--paper); padding: 0 4px; }
.cl-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.cl-dot-red { border-color: var(--red); }
.ch-title { margin: 0 0 6px; font: 600 12px/1.3 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; }
.ax { stroke: var(--line-2); stroke-width: 1; fill: none; }
.band { fill: rgba(0, 85, 253, .08); }
.l-target { stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 6 5; fill: none; }
.l-cap, .l-red { stroke: var(--red); stroke-width: 1.4; fill: none; }
.drift { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: draw 3.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.c-unlock { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linejoin: round; }
.flash { fill: rgba(214, 54, 75, .5); }
.bracket { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.c-a { fill: none; stroke: #5B8DFF; stroke-width: 2.2; }
.c-ghost { stroke-dasharray: 3 4; opacity: .6; }
.c-jump { fill: none; stroke: #5B8DFF; stroke-width: 1.4; stroke-dasharray: 2 3; }
.c-merge { fill: none; stroke: var(--blue); stroke-width: 2.6; }
.c-naive { fill: none; stroke: #A7AEBE; stroke-width: 1.4; stroke-dasharray: 5 5; }
.vest-grid { gap: 30px; }
.ch-vest { margin-bottom: 44px; }
.forbid { fill: rgba(214, 54, 75, .05); }
.l-cl { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.l-lim { stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 6 4; fill: none; }
.sw-normal { fill: none; stroke: #5B8DFF; stroke-width: 2.4; }
.sw-pushed { fill: none; stroke: var(--blue); stroke-width: 2.8; }
.sw-rest { fill: none; stroke: #C9CFDB; stroke-width: 1.6; stroke-dasharray: 4 5; }
.stop { stroke: var(--blue); stroke-width: 1; stroke-dasharray: 2 3; fill: none; opacity: .6; }
.age { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.age-h { fill: none; stroke: #5B8DFF; stroke-width: 1.6; stroke-dasharray: 5 4; }
.wkend { fill: rgba(11, 27, 63, .035); }
/* sankey */
.sk { opacity: .9; }
.sk-op { fill: rgba(11, 27, 63, .75); }
.sk-st { fill: #9DB8FF; }
.sk-rs { fill: rgba(0, 85, 253, .85); }
.sk-day { fill: rgba(0, 85, 253, .28); }
.sk-bar { fill: var(--ink); }
.sk-node { fill: var(--ink); }
.sk-n-rs, .sk-n-day { fill: var(--blue); }
.sk-price { stroke: var(--blue); stroke-width: 2; fill: none; stroke-dasharray: 4 4; animation: flow 1.4s linear infinite; }

/* 3-step strip */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr) 60px minmax(0, 1fr); align-items: start; gap: 8px; }
.step { position: relative; padding: 22px 20px 20px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.step-n { position: absolute; top: 16px; right: 18px; font: 600 12px/1 var(--f-mono); color: var(--mute); }
.step-ic { height: 52px; display: flex; align-items: center; margin-bottom: 14px; }
.step b { display: block; font: 600 18px/1.25 var(--f-display); letter-spacing: -.01em; }
.step p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.step-arrow { align-self: center; padding-top: 10px; }
.step-arrow svg { width: 100%; height: 12px; display: block; }
.flow-dash { stroke-dasharray: 5 5; animation: flow 1.2s linear infinite; }
.ic-t { font: 700 10px var(--f-display); fill: var(--blue); }

/* NAV equation */
.eq { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.eq-b { flex: 1 1 128px; min-width: 0; padding: 14px 14px 13px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.eq-b i { display: block; height: 8px; border-radius: 4px; background: var(--sw); margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(11,27,63,.08); }
.eq-b b { font: 600 14px/1.25 var(--f-body); }
.eq-b code { font: 500 11px/1.35 var(--f-mono); color: var(--ink-2); overflow-wrap: anywhere; }
.eq-b span { font-size: 11.5px; color: var(--mute); line-height: 1.35; }
.eq-op { flex: none; align-self: center; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 15px/1 var(--f-mono); }
.eq-idle { --sw: #F5F7FC; } .eq-sleeve { --sw: #9DB8FF; } .eq-stocks { --sw: linear-gradient(90deg, #0055FD, #5A8BFF, #0A3BEA, #2F74FF); }
.eq-vest { --sw: #5B8DFF; } .eq-res { --sw: #C9CFDB; }
.eq-total, .eq-supply { background: #fff; }
.eq-total { --sw: var(--ink); } .eq-supply { --sw: #DDD5C3; }
.eq-price { --sw: var(--blue); background: var(--blue-mist); border-color: #C9D8FF; }
.eq-price code { color: var(--blue-deep); font-size: 12.5px; font-weight: 600; }

/* exit waterfall */
.wf { display: grid; gap: 0; }
.wf-t { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.wf-1 { background: #fff; margin-right: 0; }
.wf-2 { margin-left: 5%; background: var(--blue-mist); border-color: #DCE6FF; }
.wf-3 { margin-left: 10%; background: #FFF8EA; border-color: #F3E2BB; }
.wf-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 13px/1 var(--f-mono); }
.wf-t b { font: 600 15px/1.3 var(--f-body); }
.wf-t code { display: block; font: 500 11.5px/1.4 var(--f-mono); color: var(--blue-deep); margin-top: 3px; overflow-wrap: anywhere; }
.wf-t p { margin: 5px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.wf-tag { font: 600 11px/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; background: #E7F7F0; color: #0B7A55; white-space: nowrap; }
.wf-tag-q { background: #FFF1D6; color: #8A5D00; }
.wf-arrow { position: relative; margin: 0 0 0 calc(5% + 32px); padding: 8px 0 8px 22px; font: 500 11px/1 var(--f-mono); color: var(--mute); }
.wf-arrow::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; border-left: 2px dashed var(--blue); animation: none; }

/* queue timeline */
.tl { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 22px; }
.tl::before { content: ''; position: absolute; left: 8%; right: 8%; top: 29px; border-top: 2px dashed var(--blue); }
.tl-s { position: relative; padding: 28px 16px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.tl-dot { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--paper); }
.tl-mid .tl-dot { background: var(--ink); }
.tl-k { font: 600 11px/1 var(--f-mono); color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.tl-s b, .tl-cancel b { display: block; font: 600 17px/1.2 var(--f-mono); margin-top: 8px; }
.tl ul { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.tl-cancel { grid-column: 1 / 2; margin-top: -4px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2); }
.tl-cancel p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

/* oracle state table */
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; margin-top: 22px; }
.st-when { padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.st-when b { color: var(--ink); display: block; margin-bottom: 4px; }
.st-when p { margin: 0; }
.ok-t { color: var(--green); font-weight: 700; } .bad-t { color: var(--red); font-weight: 700; }
.st-table { display: grid; gap: 0; }
.st-row { display: grid; grid-template-columns: 22px 150px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.st-row:last-child { border: 0; }
.st-row b { color: var(--ink); font-weight: 600; }
.st-i svg { display: block; }

/* basket treemap */
.tm { display: flex; flex-direction: column; gap: 6px; height: 360px; }
.tm-row { display: flex; gap: 6px; min-height: 0; }
.tm-t { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; padding: 14px; background: var(--blue-mist); border: 1px solid #DCE6FF; display: flex; flex-direction: column; gap: 2px; transition: background .2s; }
.tm-t:nth-child(odd) { background: #EAF0FF; }
.tm-t:hover { background: #DDE7FF; }
.tm-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.tm-top .logo { background: #fff; }
.tm-w { font: 600 15px/1 var(--f-mono); color: var(--blue-deep); }
.tm-t b { font: 700 15px/1.2 var(--f-mono); margin-top: 10px; }
.tm-t small { color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-p { font: 600 13px/1.3 var(--f-mono); color: var(--ink); }
.tm-d { display: block; height: 4px; border-radius: 3px; background: rgba(0, 85, 253, .12); margin-top: 6px; overflow: hidden; }
.tm-d i { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .6s; }
.tm-dl { font: 500 11px/1.3 var(--f-mono); color: var(--mute); }
.bl { display: none; }
.tm-ex { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tm-x { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); color: var(--mute); font-size: 12.5px; opacity: .85; filter: grayscale(1); }
.tm-x b { color: var(--ink-2); font-family: var(--f-mono); }
.tm-x span { font: 500 11px/1.3 var(--f-mono); }

/* positioning */
.spec { margin: 4px 0 24px; }
.spec-bar { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #E6EAF2, #0A3BEA); display: flex; justify-content: space-between; }
.spec-c { position: absolute; top: -5px; bottom: -5px; border-radius: 99px; border: 2px solid var(--blue); background: rgba(255,255,255,.35); }
.spec-c i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.spec-a, .spec-b { display: none; }
.spec-l { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 500 12px/1.3 var(--f-mono); color: var(--mute); }
.spec-me { color: var(--blue-deep); font-weight: 600; text-align: center; }
.cmp { display: grid; grid-template-columns: minmax(120px, .8fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cmp > div { padding: 12px 12px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.cmp-h { font: 600 13px/1.2 var(--f-display) !important; color: var(--ink) !important; }
.cmp-k { font-weight: 600; color: var(--ink) !important; }
.cmp-me { background: var(--blue-mist); color: var(--ink) !important; }
.cmp-h.cmp-me { color: var(--blue-deep) !important; border-radius: 12px 12px 0 0; }

/* governance */
.gv { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.gv-flow { display: grid; gap: 0; }
.gv-n { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.gv-n b { display: block; font: 600 15px/1.3 var(--f-body); }
.gv-n span { display: block; margin-top: 3px; font: 500 12px/1.5 var(--f-mono); color: var(--mute); }
.gv-tl { background: var(--ink); border-color: var(--ink); } .gv-tl b { color: #fff; } .gv-tl span { color: #AFB9D0; }
.gv-set { background: var(--blue-mist); border-color: #C9D8FF; }
.gv-a { height: 22px; margin-left: 28px; border-left: 2px dashed rgba(11, 27, 63, .45); position: relative; }
.gv-a::after { content: ''; position: absolute; left: -6px; bottom: 0; border: 5px solid transparent; border-top: 7px solid rgba(11,27,63,.6); border-bottom: 0; }
.gv-no { padding: 20px; border-radius: 18px; background: #FFF6F7; border: 1px solid #F6D3D9; }
.gv-no > b { font: 600 17px/1.2 var(--f-display); color: var(--red); }
.gv-no p { margin: 8px 0; font-size: 13px; color: var(--ink-2); }
.gv-no ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.gv-no li { font: 500 12.5px/1.4 var(--f-mono); color: var(--ink-2); }
.gv-no s { text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--ink); }
.gv-only { padding-top: 10px; border-top: 1px dashed #F0C2CA; }

/* risks */
.rks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.rk { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rk-i { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-mist); display: grid; place-items: center; margin-bottom: 12px; }
.rk b { font: 600 15px/1.3 var(--f-body); }
.rk p { margin: 6px 0 12px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.rk-b { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.rk-b span { display: block; font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 5px; }

/* how it works page */
.how { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; align-items: start; }
.how-toc { position: sticky; top: calc(var(--topbar) + 20px); display: grid; gap: 2px; }
.how-toc a { display: grid; grid-template-columns: 26px 1fr; align-items: center; min-height: 36px; padding: 6px 10px; border-radius: 10px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.how-toc a span { font: 600 11px/1 var(--f-mono); color: var(--mute); }
.how-toc a:hover, .how-toc a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.how-toc a.on span { color: var(--blue); }
.chap { scroll-margin-top: calc(var(--topbar) + 20px); margin-bottom: 64px; }
.chap-h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: baseline; margin-bottom: 18px; }
.chap-n { font: 300 64px/0.9 var(--f-display); color: var(--blue); letter-spacing: -.04em; }
.chap-h h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.chap-h p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 64ch; }
.render { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0 0 22px; background: #FBF7EF; border: 1px solid var(--line); }
.render img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.render-band { aspect-ratio: auto; }
.render-band img { aspect-ratio: 1400 / 747; object-position: 70% 50%; }
.render-cap { position: absolute; left: clamp(18px, 4vw, 44px); top: 50%; transform: translateY(-50%); max-width: min(46%, 420px); }
.render-cap b { display: block; font: 400 clamp(22px, 3vw, 38px)/1.1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.render-cap b em { font-style: normal; color: var(--blue); }
.render-cap span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.prose .dg { margin: 18px 0 8px; box-shadow: none; }

@media (max-width: 900px) {
  .gsvg-wide { display: none; }
  .gsvg-tall { display: block; }
  .ch { padding-top: var(--rm); }
  .cl[style*="--mx"] { left: var(--mx) !important; }
  .cl[style*="--my"] { top: var(--my) !important; }
  .hm { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-arrow { width: 12px; height: 34px; margin-left: 30px; padding: 0; }
  .step-arrow svg { width: 34px; height: 12px; transform: rotate(90deg) translate(10px, 10px); transform-origin: left top; }
  .st-grid, .gv { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 26px; }
  .tl::before { left: 8px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--blue); }
  .tl-dot { top: 22px; left: -26px; margin-left: 0; }
  .tl-cancel { grid-column: auto; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .how-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .how-toc a { background: #fff; border: 1px solid var(--line); grid-template-columns: 22px auto; }
  .vest-grid { grid-template-columns: minmax(0, 1fr); }
  .render-band img { aspect-ratio: 4 / 3; object-position: 78% 50%; }
  .render-cap { top: auto; bottom: 18px; transform: none; max-width: calc(100% - 36px); }
  .render-cap span { display: none; }
}
@media (max-width: 720px) {
  .dg { padding: 18px 16px 16px; border-radius: 18px; }
  .dg-cap { flex-direction: column; gap: 10px; }
  .tm { display: none; }
  .bl { display: grid; gap: 0; }
  .bl-r { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 54px 76px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
  .bl-r .num { font: 600 12px/1 var(--f-mono); text-align: right; }
  .bl-bar { height: 6px; border-radius: 99px; background: #EEF1F7; overflow: hidden; }
  .bl-bar i { display: block; height: 100%; background: var(--blue); }
  .cmp { grid-template-columns: minmax(0, 1fr); border: 0; }
  .cmp-h { display: none; }
  .cmp-k { padding: 16px 0 6px !important; border-bottom: 0 !important; font-family: var(--f-mono) !important; font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--blue) !important; }
  .cmp-c { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 8px 10px !important; }
  .cmp-c::before { content: attr(data-l); font: 600 11.5px/1.5 var(--f-body); color: var(--mute); }
  .cmp-me::before { color: var(--blue-deep); }
  .st-row { grid-template-columns: 22px minmax(0, 1fr); }
  .st-row span:last-child { grid-column: 2; }
  .wf-t { grid-template-columns: 30px minmax(0, 1fr); }
  .wf-tag { grid-column: 2; justify-self: start; }
  .wf-2, .wf-3 { margin-left: 0; }
  .wf-arrow { margin-left: 14px; }
  .chap-n { font-size: 44px; }
  .chap-h { gap: 12px; }
  .cl-note { max-width: 150px; font-size: 11.5px; }
  .cl { font-size: 11px; }
  .spec-l { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .e-money, .sk-price, .flow-dash { animation: none !important; }
  .drift { stroke-dashoffset: 0; animation: none !important; }
}
.cl-num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 11.5px/1 var(--f-mono); box-shadow: 0 0 0 3px var(--paper); }
.cl-num-blue { background: var(--blue); }
.cl-num-red { background: var(--red); }
.ch-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ch-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.ch-legend b { color: var(--ink); }
.cl-num-i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 11.5px/1 var(--f-mono); }
.ch-band + .ch-legend li:nth-child(2) .cl-num-i, .ch-swap + .ch-legend li:nth-child(2) .cl-num-i, .ch-oracle + .ch-legend li:nth-child(1) .cl-num-i { background: var(--blue); }
.ch-band + .ch-legend li:nth-child(3) .cl-num-i { background: var(--red); }
.dg { overflow: hidden; }
@media (max-width: 900px) {
  .render-cap { position: static; transform: none; max-width: none; padding: 16px 18px 18px; background: var(--paper); }
  .render-cap span { display: block; }
}
.cl-num-grey { background: #A7AEBE; }
.ch-vest { margin-bottom: 18px; }
.ch-vest-b + .ch-legend li:nth-child(2) .cl-num-i { background: var(--blue); }
.ch-vest-b + .ch-legend li:nth-child(3) .cl-num-i { background: #A7AEBE; }
.ch-vest:not(.ch-vest-b) + .ch-legend li:nth-child(1) .cl-num-i { background: var(--red); }
.n .nt { font-size: 15.5px; }
.n .ns { font-size: 13px; }
.el { font-size: 13px; }
@media (min-width: 901px) { .how { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; } }

/* ---------- token (TOKEN.md) ---------- */
.section-head { margin: 44px 0 18px; }
.section-head h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.stake-rate { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 18px; }
.stake-big { font: 300 clamp(64px, 8vw, 104px)/.9 var(--f-display); letter-spacing: -.05em; color: var(--blue); }
.stake-unit { font: 600 15px/1.25 var(--f-body); color: var(--ink); padding-bottom: 8px; }
.stake-unit small { font: 500 12px/1.3 var(--f-mono); color: var(--mute); }
.usdc-stream p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 14px 0; }
.us-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.us-k { font: 600 11px/1.2 var(--f-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.sp { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; }
.sp-donut { position: relative; width: 240px; max-width: 100%; margin: 0 auto; }
.sp-donut svg { display: block; width: 100%; height: auto; }
.sp-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sp-c b { font: 500 26px/1 var(--f-display); }
.sp-c span { margin-top: 6px; font: 500 11px/1.35 var(--f-mono); color: var(--mute); }
.sp-l { display: grid; gap: 0; }
.sp-r { display: grid; grid-template-columns: 12px 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sp-r:last-child { border: 0; }
.sp-r i { width: 12px; height: 12px; border-radius: 4px; background: var(--sw); }
.sp-r .num { font: 600 22px/1 var(--f-mono); letter-spacing: -.03em; }
.sp-r strong { display: block; font: 600 14.5px/1.3 var(--f-body); }
.sp-r span { font-size: 12.5px; color: var(--mute); }
.rt { display: grid; gap: 22px; }
.rt-bar { position: relative; height: 16px; border-radius: 99px; background: #EEF1F7; }
.rt-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #9DB8FF, var(--blue)); }
.rt-bar u { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.rt-ticks { position: relative; height: 34px; margin-top: 8px; font: 500 11.5px/1.3 var(--f-mono); color: var(--mute); }
.rt-ticks span { position: absolute; top: 0; }
.rt-ticks .rt-now { transform: translateX(-50%); color: var(--ink); font-weight: 600; white-space: nowrap; }
.rt-ticks .rt-max { right: 0; color: var(--red); text-align: right; }
.rt-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rt-lane { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.rt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.rt-down .rt-ic { background: #E1F5EC; color: var(--green); }
.rt-up .rt-ic { background: #FFF1D6; color: #8A5D00; }
.rt-lane b { font: 600 15px/1.3 var(--f-body); }
.rt-lane p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.rt-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); }
.rt-steps span { padding: 6px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.rt-steps em { font-style: normal; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.rt-src-bar { display: grid; grid-template-columns: 30fr 55fr 15fr; gap: 4px; border-radius: 14px; overflow: hidden; }
.rt-src-bar > div { padding: 14px; min-width: 0; }
.rt-src-bar b { display: block; font: 600 13.5px/1.3 var(--f-body); }
.rt-src-bar span { font-size: 12px; line-height: 1.4; }
.rt-res { background: #5B8DFF; color: #fff; }
.rt-mint { background: repeating-linear-gradient(135deg, var(--blue-mist) 0 8px, #fff 8px 16px); border: 1px solid #C9D8FF; color: var(--ink-2); }
.rt-mint b { color: var(--ink); }
.rt-cap { background: var(--red); color: #fff; text-align: center; }
.rt-note { margin: 10px 0 0; font-size: 12.5px; color: var(--mute); line-height: 1.5; }
.tx-track { display: grid; grid-template-columns: 34fr 66fr; height: 88px; border-radius: 16px; overflow: hidden; }
.tx-on { background: repeating-linear-gradient(135deg, var(--blue) 0 10px, var(--blue-deep) 10px 20px); color: #fff; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.tx-off { background: var(--blue-mist); border: 1px solid #C9D8FF; border-left: 0; border-radius: 0 16px 16px 0; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.tx-track b { font: 600 17px/1.2 var(--f-display); }
.tx-off b { font-size: 26px; color: var(--blue); }
.tx-track span { font-size: 12.5px; line-height: 1.4; opacity: .9; }
.tx-off span { color: var(--ink-2); }
.tx-axis { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px/1 var(--f-mono); color: var(--mute); }
.tx-axis .tx-120 { position: absolute; left: 34%; transform: translateX(-50%); color: var(--ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.facts div { padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.facts b { display: block; font: 600 17px/1.2 var(--f-mono); letter-spacing: -.02em; }
.facts span { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1.1fr) 46px minmax(0, 1.2fr); align-items: center; }
.lp > div:not(.lp-a) { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.lp b { display: block; font: 600 15px/1.3 var(--f-body); }
.lp span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.lp-lock { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff; }
.lp-lock b { color: #fff; margin-top: 8px; }
.lp-lock span { color: #AFB9D0; }
.lp-lock s { display: block; margin-top: 6px; font: 500 12px/1.3 var(--f-mono); color: #FF9FAD; text-decoration-thickness: 2px; }
.lp-out { background: var(--blue-mist) !important; border-color: #C9D8FF !important; }
.lp-out b { font-family: var(--f-mono); color: var(--blue-deep); }
.lp-a { height: 2px; margin: 0 6px; border-top: 2px dashed var(--blue); position: relative; animation: none; }
.lp-a::after { content: ''; position: absolute; right: -2px; top: -7px; border: 6px solid transparent; border-left: 8px solid var(--blue); border-right: 0; }
.ow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ow-col { padding: 18px 20px; border-radius: 18px; }
.ow-can { background: #F1FAF6; border: 1px solid #CBEBDD; }
.ow-cannot { background: #FFF6F7; border: 1px solid #F6D3D9; }
.ow-col > b { display: block; font: 600 20px/1 var(--f-display); margin-bottom: 12px; }
.ow-can > b { color: #0B7A55; } .ow-cannot > b { color: var(--red); }
.ow-col p { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid rgba(11,27,63,.06); font-size: 14px; line-height: 1.45; color: var(--ink); }
.ow-col p svg { margin-top: 2px; }
#dg-owner { border: 1.5px solid var(--ink); }
@media (max-width: 900px) {
  .sp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rt-lanes, .ow { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp { grid-template-columns: minmax(0, 1fr); }
  .lp-a { height: 30px; width: 0; margin: 0 0 0 28px; border-top: 0; border-left: 2px dashed var(--blue); }
  .lp-a::after { right: auto; left: -7px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--blue); border-bottom: 0; }
  .rt-src-bar { grid-template-columns: minmax(0, 1fr); }
  .tx-track { grid-template-columns: 42fr 58fr; height: auto; min-height: 110px; }
  .tx-axis .tx-120 { left: 42%; }
}
@media (max-width: 720px) {
  .rt-ticks .rt-now { left: 10px !important; transform: none; top: 18px; }
  .rt-ticks { height: 40px; }
  .tx-track b { font-size: 14px; } .tx-off b { font-size: 22px; }
  .us-row { grid-template-columns: minmax(0, 1fr); }
}
.lseq { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; counter-reset: ls; }
.ls { position: relative; padding: 14px 14px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.ls-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 11.5px/1 var(--f-mono); margin-bottom: 10px; }
.ls b { display: block; font: 600 14px/1.3 var(--f-body); overflow-wrap: anywhere; }
.ls span:last-child { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.ls-key { background: var(--blue-mist); border-color: #C9D8FF; }
.ls-key .ls-n { background: var(--blue); }
.ls-key b { font-family: var(--f-mono); color: var(--blue-deep); }
@media (max-width: 900px) { .lseq { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ls:last-child { grid-column: 1 / -1; } }
