/* NØNOS satellite pages: verify, staking. The homepage's type, palette and
 * furniture, without the WebGL world. One file shared by both, copied into
 * each site's tree at deploy time so neither depends on the other's host. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/GeistVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f2f3f7;
  --ink: #0a0b0d;
  --ink-2: rgba(10, 11, 13, .72);
  --ink-3: rgba(10, 11, 13, .42);
  --line: rgba(10, 11, 13, .12);
  --line-2: rgba(10, 11, 13, .07);
  --card: #0a0b0f;
  --white: #fff;
  --accent: #2438ff;
  --cyan: #66ffff;
  --ok: #0f9f6e;
  --bad: #d2373f;
  --wait: #b7860b;
  --radius: 28px;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --pad: clamp(24px, 5.2vw, 96px);
  --expo: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--ink); }

/* ---- masthead ---- */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--pad);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 1.2s var(--expo) .3s, transform 1.2s var(--expo) .3s;
}
html.ready .mast { opacity: 1; transform: none; }
.mast::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; background: rgba(242, 243, 247, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask: linear-gradient(#000 62%, transparent); mask: linear-gradient(#000 62%, transparent); opacity: 0; transition: opacity .5s var(--expo); }
html.scrolled .mast::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.35rem; letter-spacing: .1em; color: var(--ink); }
.mark { color: var(--cyan); flex: none; }
.brand b { color: var(--cyan); font-weight: 600; }
.brand small { font-family: var(--mono); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.mast-nav { display: flex; gap: 12px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--expo), background .3s, color .3s, opacity .3s;
}
.pill.dark { background: #16181d; color: #fff; }
.pill.light { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.pill.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; transition: transform .4s var(--expo), background .3s; }
.pill .dot.on { width: 9px; height: 9px; background: var(--ink); }
.pill:hover:not(:disabled) { transform: translateY(-1px); }
.pill.dark:hover:not(:disabled) { background: var(--accent); }
.pill.light:hover:not(:disabled), .pill.line:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pill:hover .dot, .pill:hover .dot.on { background: #fff; }
.pill:disabled { opacity: .38; }
.pill.sm { height: 44px; padding: 0 20px; font-size: .88rem; }
.pill.xs { height: 34px; padding: 0 14px; font-size: .8rem; }
html.scrolled .mast .pill { height: 46px; padding: 0 20px; }

/* ---- type ---- */
.eyebrow, .n {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 30px;
}
.n::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.display { font-weight: 500; font-size: clamp(2.6rem, 5.6vw, 6.2rem); line-height: .94; letter-spacing: -.045em; color: var(--ink); max-width: none; }
.display .soft { color: var(--ink-3); }
h2.t { font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.02; letter-spacing: -.04em; color: var(--ink); margin-bottom: 22px; max-width: 22ch; }
h3.t { font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 34rem; }
.lede b { color: var(--ink); font-weight: 500; }
p.body { font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); max-width: 38rem; }
p.body b { color: var(--ink); font-weight: 500; }
.mono { font-family: var(--mono); }
code { font-family: var(--mono); font-size: .86em; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; color: var(--ink); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.prose a:hover { border-color: var(--ink); }

/* letters lean in on arrival, the homepage's entrance */
.ln { display: block; overflow: hidden; }
.ln > span { display: block; transform: translateY(110%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.3s var(--expo); }
html.ready .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: .08s; }
.ln:nth-child(3) > span { transition-delay: .16s; }
.rise { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--expo), transform 1.1s var(--expo); }
html.ready .rise { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .25s; } .rise.d2 { transition-delay: .4s; } .rise.d3 { transition-delay: .55s; } .rise.d4 { transition-delay: .7s; }

/* ---- layout ---- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin: 0 auto; }
.hero { position: relative; padding: clamp(150px, 22vh, 220px) 0 clamp(48px, 7vh, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 96px); align-items: end; }
.hero-side { display: grid; gap: 28px; padding-bottom: 8px; }
.sec { position: relative; padding: clamp(40px, 6vh, 72px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }

/* the blue stroke, the homepage's hand-drawn accent */
.stroke { position: absolute; pointer-events: none; z-index: 0; opacity: .92; }
.stroke path { fill: none; stroke: var(--accent); stroke-width: clamp(10px, 1.3vw, 24px); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--expo) .5s; }
html.ready .stroke path { stroke-dashoffset: 0; }
.stroke.arc { right: calc(-1 * var(--pad)); top: 110px; width: min(44vw, 620px); height: auto; }
.stroke.under { left: -2vw; width: min(28vw, 380px); height: auto; }
@media (max-width: 1100px) { .stroke { display: none; } }

/* ---- the card language ---- */
.card { position: relative; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(10,11,13,.03), 0 30px 80px -40px rgba(10,11,13,.18); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10,11,13,.06); pointer-events: none; }
.card.dark { background: var(--card); color: #fff; }
.card.dark::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.card-pad { padding: clamp(24px, 3vw, 40px); }
.card-label { position: absolute; top: 20px; left: 20px; z-index: 1; height: 30px; padding: 0 14px; border-radius: 999px; background: rgba(10,11,13,.06); color: var(--ink-2); font-family: var(--mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; display: inline-flex; align-items: center; }
.card.dark .card-label { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }

/* figures: big mono numbers on a hairline */
.figs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 30px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.figs li { font-size: .8rem; color: var(--ink-3); line-height: 1.35; }
.figs b, .figs .n { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: var(--accent); letter-spacing: -.03em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.figs .n { color: var(--accent); margin-bottom: 4px; letter-spacing: -.03em; text-transform: none; }
.figs .n.ok { color: var(--ok); }
.figs .n.run { color: var(--wait); }
.figs .l { font-size: .8rem; color: var(--ink-3); }

/* facts: the mono definition list */
.fetch { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; font-family: var(--mono); font-size: .76rem; line-height: 1.9; }
.fetch div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; }
.fetch dt { color: var(--ink-3); letter-spacing: .06em; }
.fetch dt::after { content: " ·"; }
.fetch dd { color: var(--ink-2); overflow-wrap: anywhere; }
.fetch dd b { color: var(--ink); font-weight: 400; }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .cap { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(10,11,13,.06); color: var(--ink-2); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; white-space: nowrap; }

/* status words */
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
.status.run { color: var(--wait); }
.status.run::before { animation: blink 1s infinite; }
.status.idle { color: var(--ink-3); }
@keyframes blink { 50% { opacity: .2; } }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 0 0 40px; font-family: var(--mono); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 46s linear infinite; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- footer ---- */
.foot { padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot-col { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot-col a { color: var(--ink-2); font-size: 1rem; transition: color .3s; }
.foot-col a:hover { color: var(--ink); }
.foot-k { font-family: var(--mono); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.foot-line { color: var(--ink-2); font-size: 1.05rem; line-height: 1.45; max-width: 30rem; }
.foot-meta { display: flex; gap: 18px; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.foot-word { font-weight: 600; font-size: clamp(5rem, 19.6vw, 21rem); line-height: .82; letter-spacing: -.06em; color: var(--ink); margin: 0 0 32px -.04em; }
.foot-word b { color: var(--accent); font-weight: 600; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; font-size: .84rem; color: var(--ink-3); }
.foot-nav { display: flex; gap: 26px; }
.foot-nav a { color: var(--ink-2); }
.foot-nav a:hover { color: var(--ink); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .cols { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .display { max-width: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .mast { padding: 18px var(--pad); }
  .mast .pill { height: 44px; padding: 0 18px; font-size: .86rem; }
  .brand { font-size: 1.15rem; }
  .brand small { display: none; }
  .hero { padding-top: 120px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .fetch div { grid-template-columns: 6.5rem 1fr; }
}
@media (max-width: 430px) {
  .mast .pill { height: 40px; padding: 0 14px; font-size: .8rem; }
  .figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ln > span, .rise, .stroke path, .marquee-track { transition: none; animation: none; transform: none; opacity: 1; stroke-dashoffset: 0; }
}


/* ---- NOX Shield explorer ----------------------------------------------------
   An explorer's grammar (header, a search band with the page's title, a stats
   card over its edge, full-width tables, detail cards with tabs and label and
   value rows) in the NØNOS palette: ink ground, paper type, cyan the one
   accent, Geist for prose and JetBrains Mono for every hash and number. Every
   value comes from design-tokens.json. */

html.x-page {
  --ink: #0a0b0d;
  --bg: #f2f3f7;
  --cyan: #66ffff;
  --raise: #101215;
  --bad: #ff8a8a;
  --ground: #0a0b0d;
  --surface: #101215;
  --text: #f2f3f7;
  --text-2: rgba(242, 243, 247, .66);
  --text-3: rgba(242, 243, 247, .54);
  --line: rgba(242, 243, 247, .09);
  --line-2: rgba(242, 243, 247, .16);
  --accent: #66ffff;
  --accent-soft: rgba(102, 255, 255, .08);
  --accent-line: rgba(102, 255, 255, .35);
  --on-accent: #0a0b0d;
  --bad: #ff8a8a;
  --absent-hatch: rgba(242, 243, 247, .035);
  --scrim: rgba(10, 11, 13, .86);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --t-display: clamp(40px, 22.17px + 4.571vw, 88px);
  --t-display-line: 0.95;
  --t-display-track: -0.05em;
  --t-title: clamp(28px, 22.80px + 1.333vw, 42px);
  --t-title-line: 1.05;
  --t-title-track: -0.035em;
  --t-figure: clamp(24px, 20.29px + 0.952vw, 34px);
  --t-figure-line: 1.1;
  --t-figure-track: -0.02em;
  --t-body: 16px;
  --t-body-line: 1.6;
  --t-body-track: 0;
  --t-record: 15px;
  --t-record-line: 1.3;
  --t-record-track: 0;
  --t-data: 13px;
  --t-data-line: 1.5;
  --t-data-track: 0;
  --t-caption: 12px;
  --t-caption-line: 1.5;
  --t-caption-track: 0;
  --t-label: clamp(10px, 9.63px + 0.095vw, 11px);
  --t-label-line: 1.2;
  --t-label-track: 0.16em;
  --t-eyebrow: 11px;
  --t-eyebrow-line: 1.2;
  --t-eyebrow-track: 0.26em;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --pad: clamp(20px, -8.23px + 7.238vw, 96px);
  --r-chip: 6px;
  --r-card: 14px;
  --r-pill: 999px;
  --hair: 1px;
  --touch: 44px;
  --content-max: 1480px;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --m-fast: 160ms;
  --m-base: 320ms;
  --m-pulse: 1000ms;
  --m-arrive: 1600ms;
}


html.x-page { background: var(--ground); color-scheme: dark; }
.x-body { background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.zmono, .x-hash, .x-status, .zstat-v, .znum, .zhashc, .zage, .zkv dd, .zt-r, .zpill, .x-verdict { font-variant-numeric: tabular-nums; }
.zmono, .x-hash, .zhashc { font-family: var(--mono); }
.zmuted { color: var(--text-3); }
.x-unit { color: var(--text-3); margin-left: .25em; }

/* Shared helpers from view.js */
.x-hash { display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; font-size: 13px; }
.x-h { color: var(--text); }
.x-copy { font: inherit; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); background: none;
  border: var(--hair) solid var(--line-2); border-radius: var(--r-chip); padding: 2px 6px; cursor: pointer; }
.x-copy:hover, .x-copy[data-state="done"] { color: var(--accent); border-color: var(--accent); }
.x-status { font-family: var(--mono); font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: var(--s-2); }
.x-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.x-status[data-state="busy"]::before { background: var(--accent); animation: x-pulse var(--m-pulse) ease-in-out infinite; }
.x-status[data-state="ok"]::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.x-status[data-state="no"] { color: var(--bad); }
@keyframes x-pulse { 50% { opacity: .25; } }
.x-skel { display: block; height: 12px; border-radius: var(--r-chip); background: rgba(242, 243, 247, .06); position: relative; overflow: hidden; }
.x-skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(242, 243, 247, .06), transparent);
  transform: translateX(-100%); animation: x-sheen 1.4s var(--ease) infinite; }
@keyframes x-sheen { to { transform: translateX(100%); } }
.x-skel-short { width: 40%; height: 9px; }
.x-skel-row { height: 360px; border-radius: 12px; }
.zstat .x-skel + .x-skel { margin-top: var(--s-3); height: 26px; width: 70%; }
.x-verdict { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.x-verdict[data-state="passed"] { color: var(--accent); }
.x-verdict[data-state="passed"]::before { content: "✓ "; }
.x-verdict[data-state="failed"], .x-verdict[data-state="error"] { color: var(--bad); }
.x-error { border: var(--hair) solid rgba(255, 138, 138, .4); border-radius: 12px; padding: var(--s-5); color: var(--bad); }

/* ---- Header ---- */
.zh { position: relative; z-index: 20; border-bottom: var(--hair) solid var(--line); background: #07080a; }
.zh-in { max-width: calc(1280px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); height: 68px; display: flex; align-items: center; gap: var(--s-7); }
.zh-brand { color: var(--text); font-size: 17px; letter-spacing: .1em; flex: none; }
.zh-brand .mark { color: var(--accent); }
.zh-nav { display: flex; gap: var(--s-1); flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.zh-nav a { position: relative; padding: 23px var(--s-3); font-size: 14px; color: var(--text-2); white-space: nowrap; }
.zh-nav a:hover { color: var(--text); }
.zh-nav a.on { color: var(--text); }
.zh-nav a.on::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -1px; height: 2px; background: var(--accent); }
.zh-side { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.zh-net { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 13px; color: var(--text); background: #14171b; border: var(--hair) solid var(--line-2);
  border-radius: 8px; padding: 7px 12px; }
.zh-net i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.zh-home { font-size: 13px; color: var(--text-2); }
.zh-home:hover { color: var(--accent); }

/* ---- Band: title, breadcrumbs, search ---- */
.zb { position: relative; overflow: hidden; background: linear-gradient(180deg, #0c0f13, #11151a); border-bottom: var(--hair) solid var(--line); padding: 56px var(--pad) 118px; }
.zb-shape { position: absolute; right: -6%; top: -40%; width: 62%; height: 190%; pointer-events: none;
  background: url("img/etna-wide.jpg") 64% 48% / cover no-repeat; opacity: .5;
  -webkit-mask-image: radial-gradient(50% 50% at 60% 52%, #000 25%, transparent 72%); mask-image: radial-gradient(50% 50% at 60% 52%, #000 25%, transparent 72%); }
.zb-in { position: relative; max-width: 1280px; margin: 0 auto; }
.zb-crumbs { display: flex; align-items: center; gap: var(--s-2); font-size: 13px; color: var(--text-2); margin-bottom: var(--s-5); }
.zb-crumbs:empty { display: none; }
.zb-crumbs a:hover { color: var(--accent); }
.zb-crumbs i { font-style: normal; color: var(--text-3); }
.zb-crumbs [aria-current] { color: var(--text); }
.zb-row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.zb-title h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.zb-sub { margin-top: var(--s-3); font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 44em; }
.zb-sub .zmono { font-size: 13.5px; color: var(--text-2); word-break: break-all; }
.zs { display: flex; max-width: 640px; }
.zs-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.zs input { flex: 1; min-width: 0; height: 48px; padding: 0 var(--s-4); background: #f2f3f7; color: #0a0b0d; border: 0; border-radius: 8px 0 0 8px;
  font-family: var(--sans); font-size: 14px; outline: 0; }
.zs input::placeholder { color: #6b7079; }
.zs input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.zs button { width: 52px; height: 48px; display: grid; place-items: center; background: var(--accent); color: #07080a; border: 0; border-radius: 0 8px 8px 0; cursor: pointer; }
.zs button:hover { filter: brightness(1.08); }
/* Inner pages: title left, search right, breadcrumbs above. */
html.x-sub .zb { padding-top: 34px; padding-bottom: 96px; }
html.x-sub .zb-row { grid-template-columns: 1fr minmax(320px, 440px); align-items: start; }
html.x-sub .zb-title h1 { font-size: clamp(26px, 2.6vw, 36px); }
html.x-sub .zb-sub { font-size: 14px; }
html.x-sub .zs { grid-row: 1; grid-column: 2; }

/* ---- Content ---- */
.zw { position: relative; max-width: calc(1280px + 2 * var(--pad)); margin: -64px auto 0; padding: 0 var(--pad) var(--s-9); }
.zcard, .ztable, .zstats { background: #101215; border: var(--hair) solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.zcard-pad { padding: var(--s-5) var(--s-6); }
.zcard + .zcard, .zcard + .ztable, .ztable + .zcard { margin-top: var(--s-5); }

.zstats { display: grid; grid-template-columns: minmax(220px, 1.1fr) 3fr; align-items: center; gap: var(--s-6); padding: var(--s-6) var(--s-7); }
.zstats-k h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.zstats-k .x-status { margin-top: var(--s-2); }
.zstats-held { margin-top: var(--s-4); display: grid; gap: 2px; font-family: var(--mono); font-size: 13px; color: var(--text); }
.zstats-held b { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--text-3); letter-spacing: .02em; }
.zstats-v { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zstat { padding: 0 var(--s-5); border-left: var(--hair) solid var(--line-2); min-width: 0; }
.zstat-k { font-size: 14px; color: var(--text-2); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.zstat-v { margin-top: var(--s-2); font-size: 30px; line-height: 1.1; letter-spacing: -.02em; font-weight: 500; color: var(--text); white-space: nowrap; }
.zstat-v small { font-size: .6em; color: var(--text-3); }

.zsec { margin-top: var(--s-8); }
.zsec-h { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: var(--s-8) 0 var(--s-4); }
.zsec > .zsec-h { margin-top: 0; }

/* Tables, full width */
.ztable { overflow: hidden; }
.zt-r { display: grid; align-items: center; gap: var(--s-4); padding: 0 var(--s-6); min-height: 58px; font-size: 14px; color: var(--text); }
.zt-s .zt-r { grid-template-columns: 170px 110px minmax(160px, 1.4fr) 1fr .6fr 1fr 130px; }
.zt-d .zt-r { grid-template-columns: 170px 90px minmax(160px, 1.4fr) .6fr 1.2fr 130px; }
.zt-q .zt-r { grid-template-columns: 180px 1fr 140px; }
.zt-r + .zt-r { border-top: var(--hair) solid var(--line); }
.zt-r:nth-child(even):not(.zt-h) { background: rgba(242, 243, 247, .015); }
a.zt-r { transition: background var(--m-fast) var(--ease); }
a.zt-r:hover { background: rgba(102, 255, 255, .035); }
.zt-h { min-height: 46px; background: #0c0e11; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.zhashc { color: #9fdcff; text-decoration: underline; text-decoration-color: rgba(159, 220, 255, .35); text-underline-offset: 3px; }
a.zt-r:hover .zhashc { color: var(--accent); text-decoration-color: var(--accent); }
.znum { font-family: var(--mono); color: var(--text); }
.zage { color: var(--text-2); }
.zt-empty { padding: var(--s-6); color: var(--text-3); }
.zmore { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin-top: -1px; height: 50px; border: var(--hair) solid var(--line);
  border-radius: 0 0 12px 12px; background: #0e1013; font-size: 14px; font-weight: 500; color: var(--text); }
.zsec .ztable { border-radius: 12px 12px 0 0; box-shadow: none; }
.zmore:hover { color: var(--accent); }
.znone .zmore { margin-top: var(--s-5); border-radius: 10px; }

/* Status pills */
.zpill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  color: var(--text-2); background: #1a1d22; }
.zpill[data-state="passed"] { color: #07080a; background: var(--accent); }
.zpill[data-state="failed"], .zpill[data-state="error"] { color: #07080a; background: var(--bad); }
.zpill[data-state="waiting"]::before, .zpill[data-state="queued"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.zpill[data-state="waiting"]::before { animation: x-pulse var(--m-pulse) ease-in-out infinite; }
.zpill[data-state="plain"] { color: var(--accent); background: rgba(102, 255, 255, .1); }
.zseg { display: inline-flex; align-items: center; margin-right: var(--s-3); border-radius: 7px; background: #1a1d22; padding-left: 10px; gap: 10px; font-size: 13px; color: var(--text-2); }
.zseg .zpill { border-radius: 0 6px 6px 0; }

/* Detail cards */
.ztabs { display: flex; gap: var(--s-2); padding: 0 var(--s-5); border-bottom: var(--hair) solid var(--line); overflow-x: auto; }
.ztab { position: relative; background: none; border: 0; padding: 16px var(--s-3); font: 500 14px var(--sans); color: var(--text-2); cursor: pointer; white-space: nowrap; }
.ztab:hover { color: var(--text); }
.ztab.on { color: var(--text); }
.ztab.on::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: -1px; height: 2px; background: var(--accent); }
.zkv-r { display: grid; grid-template-columns: 240px 1fr 36px; align-items: center; gap: var(--s-4); padding: 14px var(--s-6); min-height: 54px; }
.zkv-r + .zkv-r { border-top: var(--hair) solid var(--line); }
.zkv-r:nth-child(even) { background: rgba(242, 243, 247, .015); }
.zkv dt { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); }
.zkv dd { font-size: 14px; color: var(--text); min-width: 0; overflow-wrap: anywhere; line-height: 1.6; }
.zkv dd .zmono { font-size: 13.5px; }
.zkv-c { justify-self: end; }
.zcopy { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: none; border: 0; color: var(--text-3); cursor: pointer; }
.zcopy:hover { color: var(--text); background: rgba(242, 243, 247, .06); }
.zcopy[data-state="done"] { color: var(--accent); }
.zlink { color: #9fdcff; text-decoration: underline; text-decoration-color: rgba(159, 220, 255, .35); text-underline-offset: 3px; }
.zlink:hover { color: var(--accent); text-decoration-color: var(--accent); }
.zabsent { font-style: italic; color: var(--text-3); }
.zbtn { font: 500 13px var(--sans); color: var(--text); background: #1a1d22; border: var(--hair) solid var(--line-2); border-radius: 7px; height: 34px; padding: 0 var(--s-4); cursor: pointer; }
.zbtn:hover { border-color: var(--accent); color: var(--accent); }
.zlead { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 52em; }
.zrounds p { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.zrounds p + p { margin-top: var(--s-3); }
.zrounds b { color: var(--text); font-weight: 500; }
.ztable:not(.zt-s):not(.zt-d):not(.zt-q) .zt-r { grid-template-columns: 1fr 1.4fr .8fr 1.2fr 1.4fr; }
.znone { text-align: center; display: grid; gap: var(--s-3); justify-items: center; padding: var(--s-8); }

/* The ? tip */
.zq { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: var(--hair) solid var(--line-2);
  font: 600 10px var(--sans); font-style: normal; color: var(--text-3); cursor: help; flex: none; }
.zq:hover, .zq:focus { color: var(--accent); border-color: var(--accent); outline: 0; }
.zq::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: max-content; max-width: 300px;
  padding: 10px 12px; border-radius: 8px; background: #f2f3f7; color: #0a0b0d; font: 400 13px/1.45 var(--sans); text-transform: none; letter-spacing: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity var(--m-fast) var(--ease); z-index: 30; white-space: normal; }
.zq:hover::after, .zq:focus::after { opacity: 1; }

/* Pager */
.zpager { display: flex; align-items: center; gap: var(--s-1); margin-top: var(--s-4); flex-wrap: wrap; }
.zpg { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 10px; border-radius: 7px; font-family: var(--mono); font-size: 13px; color: var(--text-2); border: var(--hair) solid transparent; }
.zpg:hover { color: var(--text); border-color: var(--line-2); }
.zpg.on { color: #07080a; background: var(--accent); }
.zpg-k { margin-left: auto; font-size: 13px; color: var(--text-3); }

/* Footer */
.zf { border-top: var(--hair) solid var(--line); }
.zf-in { max-width: calc(1280px + 2 * var(--pad)); margin: 0 auto; padding: var(--s-6) var(--pad) var(--s-7); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: 13px; color: var(--text-3); }
.zf a { color: var(--text-2); margin-right: var(--s-5); }
.zf a:hover { color: var(--accent); }

/* ---- Tablet ---- */
@media (max-width: 1100px) {
  .zh-home { display: none; }
  .zstats { grid-template-columns: 1fr; }
  .zstats-v { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-5); }
  .zstat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .zt-s .zt-r { grid-template-columns: 150px 80px minmax(140px, 1fr) .9fr 110px; }
  .zt-s .zt-r > :nth-child(5), .zt-s .zt-r > :nth-child(6) { display: none; }
  .zt-d .zt-r { grid-template-columns: 130px 70px minmax(140px, 1fr) 1fr 110px; }
  .zt-d .zt-r > :nth-child(4) { display: none; }
  html.x-sub .zb-row { grid-template-columns: 1fr; }
  html.x-sub .zs { grid-row: auto; grid-column: auto; }
}

/* ---- Phone ---- */
@media (max-width: 760px) {
  .zh-in { gap: var(--s-4); height: 60px; }
  .zh-nav { order: 3; position: absolute; left: 0; right: 0; top: 60px; padding: 0 var(--s-3); background: #07080a; border-bottom: var(--hair) solid var(--line); }
  .zh-nav a { padding: 14px var(--s-3); font-size: 13px; }
  .zh-side { margin-left: auto; }
  .zh-net { font-size: 12px; padding: 6px 10px; }
  .zb { padding: 88px var(--pad) 92px; }
  html.x-sub .zb { padding-top: 76px; }
  .zb-sub { font-size: 15px; }
  .zb-shape { width: 120%; right: -50%; opacity: .3; }
  .zstats { padding: var(--s-5); }
  .zstat-v { font-size: 24px; }
  .zstat { padding: 0 var(--s-4); }
  .zt-r { padding: 12px var(--s-4); gap: var(--s-2) var(--s-3); min-height: 0; }
  .zt-h { display: none; }
  .zt-s .zt-r, .zt-d .zt-r { grid-template-columns: auto 1fr auto; }
  .zt-s .zt-r > :nth-child(4), .zt-s .zt-r > :nth-child(5), .zt-s .zt-r > :nth-child(6) { display: none; }
  .zt-s .zt-r > :nth-child(3), .zt-d .zt-r > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .zt-d .zt-r > :nth-child(4) { display: none; }
  .zt-d .zt-r > :nth-child(5) { grid-column: 1 / -1; grid-row: 3; font-family: var(--mono); }
  .zt-q .zt-r { grid-template-columns: 1fr auto; }
  .zt-q .zt-r > :nth-child(2) { grid-column: 1 / -1; }
  .zkv-r { grid-template-columns: 1fr auto; padding: 12px var(--s-4); gap: var(--s-1) var(--s-3); }
  .zkv-r dd { grid-column: 1 / -1; grid-row: 2; }
  .zkv-c { grid-column: 2; grid-row: 1; }
  .zseg { margin: 4px var(--s-2) 4px 0; }
  .zcard-pad { padding: var(--s-5); }
  .zf-in { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .x-status::before, .zpill::before, .x-skel::after { animation: none !important; } }
