@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-variable.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --primary: #fcd535;
  --primary-hover: #f0b90b;
  --primary-ink: #181a20;
  --primary-text: #fcd535;
  --success: #0ecb81;
  --success-text: #0ecb81;
  --warning: #f0b90b;
  --danger: #f6465d;
  --danger-text: #ff6b7e;
  --info: #5b8ff9;
  --canvas: #0b0e11;
  --surface: #12161b;
  --surface-2: #1a1f26;
  --glass: rgba(18, 22, 27, 0.58);
  --glass-strong: rgba(18, 22, 27, 0.84);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --heading: #ffffff;
  --body: #e4e6ea;
  --muted: #8b94a1;
  --soft: #6e7784;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  --glow-a: rgba(252, 213, 53, 0.2);
  --glow-b: rgba(14, 203, 129, 0.1);
  --glow-c: rgba(240, 120, 11, 0.12);
  --hero-dot: rgba(255, 255, 255, 0.1);
  --hero-dot-lit: rgba(252, 213, 53, 0.95);
  --hero-spot: rgba(252, 213, 53, 0.13);
  --hero-rim: rgba(252, 213, 53, 0.75);
  --grain-opacity: 0.06;
  --font-copy: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --story-width: 1160px;
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme='light'] {
  color-scheme: light;
  --primary-text: #8a6500;
  --success-text: #067a4f;
  --danger-text: #c0253c;
  --info: #2563eb;
  --canvas: #f5f4ef;
  --surface: #ffffff;
  --surface-2: #efede6;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(20, 22, 28, 0.08);
  --line-strong: rgba(20, 22, 28, 0.15);
  --heading: #14161b;
  --body: #2a2d33;
  --muted: #626973;
  --soft: #7a808a;
  --shadow: 0 30px 70px -45px rgba(40, 32, 0, 0.35);
  --glow-a: rgba(252, 213, 53, 0.38);
  --glow-b: rgba(14, 203, 129, 0.12);
  --glow-c: rgba(255, 159, 67, 0.16);
  --hero-dot: rgba(20, 22, 28, 0.13);
  --hero-dot-lit: rgba(178, 128, 0, 0.9);
  --hero-spot: rgba(252, 213, 53, 0.3);
  --hero-rim: rgba(214, 160, 0, 0.8);
  --grain-opacity: 0.045;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--body); background: var(--canvas); font-family: var(--font-copy); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, a { font: inherit; }
button, select { cursor: pointer; }
button:disabled, select:disabled { cursor: not-allowed; opacity: 0.58; }
a { color: inherit; }
svg { display: block; }
::selection { color: var(--primary-ink); background: var(--primary); }
:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.copy-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.section-shell { width: min(calc(100% - 48px), var(--story-width)); margin-inline: auto; }
.section-kicker, .metric-index { color: var(--primary-text); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; color: var(--primary-ink); background: var(--primary); transform: translateY(-150%); transition: transform 150ms ease; }
.skip-link:focus { transform: translateY(0); }

/* Shared header */
.announcement { display: flex; height: 30px; align-items: center; justify-content: center; gap: 9px; color: var(--primary-ink); background: var(--primary); font-size: 12px; }
.announcement strong { font-family: var(--font-mono); font-weight: 600; }
.announcement-dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--primary-ink); border-radius: 50%; animation: signal 1.8s ease-in-out infinite; }
.site-header { position: sticky; top: 0; z-index: 100; display: grid; height: 64px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 32px; background: color-mix(in srgb, var(--canvas) 96%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-brand { justify-self: start; text-decoration: none; }
.lightning-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--body); font-family: var(--font-mono); font-size: 17px; font-weight: 600; white-space: nowrap; }
.lightning-mark { position: relative; display: grid; width: 19px; height: 34px; flex: 0 0 19px; place-items: center; color: var(--primary); }
.lightning-mark svg { width: 17px; height: 32px; }
.brand-status-dot { position: absolute; top: 1px; right: -4px; width: 7px; height: 7px; background: var(--success); border: 2px solid var(--canvas); border-radius: 50%; }
.brand-wordmark > span { color: var(--primary-text); }
.site-header > nav { display: flex; align-items: center; gap: 22px; }
.site-header > nav a { padding: 2px 3px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; text-decoration: none; white-space: nowrap; }
.site-header > nav a:hover { color: var(--heading); }
.site-header > nav a.is-current { color: var(--primary-ink); background: var(--primary); }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 8px; }
.icon-button { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; color: var(--body); background: transparent; border: 1px solid var(--line); border-radius: 2px; }
.icon-button:hover { color: var(--primary-text); background: var(--surface-2); }
.theme-icon, .menu-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:root[data-theme='dark'] .theme-icon-moon, :root[data-theme='light'] .theme-icon-sun { display: none; }
.header-console { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 17px; color: var(--primary-ink); background: var(--primary); border: 1px solid var(--primary); border-radius: 2px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-decoration: none; }
.header-console:hover { background: var(--primary-hover); }
.header-console svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.menu-button { display: none; }
.menu-close-icon { display: none; }

/* Public status */
.status-hero { display: grid; min-height: 340px; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 72px; padding-block: 58px; }
.status-hero h1 { max-width: 760px; margin: 0; color: var(--heading); font-size: 52px; font-weight: 650; letter-spacing: 0; line-height: 1.12; }
.hero-state { min-height: 176px; display: flex; justify-content: center; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--primary); }
.live-indicator { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.live-indicator i { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent); }
.hero-state strong { margin: 24px 0 8px; color: var(--heading); font-size: 27px; font-weight: 600; line-height: 1.2; }
.hero-state strong.is-good { color: var(--success-text); }
.hero-state strong.is-bad { color: var(--danger-text); }
.hero-state small { color: var(--muted); font-family: var(--font-mono); font-size: 9px; line-height: 1.7; }
.summary-band { background: var(--surface); border-block: 1px solid var(--line); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-grid article { min-height: 156px; padding: 28px 24px; border-right: 1px solid var(--line); }
.summary-grid article:first-child { padding-left: 0; }
.summary-grid article:last-child { padding-right: 0; border-right: 0; }
.summary-grid strong { display: block; margin: 27px 0 3px; color: var(--heading); font-family: var(--font-mono); font-size: 27px; font-weight: 500; line-height: 1; }
.summary-grid small { color: var(--muted); font-size: 11px; }
.routes-section, .probes-section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.routes-section { background: var(--canvas); }
.probes-section { background: var(--surface); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 34px; }
.section-heading-row h2 { margin: 10px 0 0; color: var(--heading); font-size: 34px; font-weight: 600; letter-spacing: 0; }
.section-heading-row > p { max-width: 410px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); border: 1px solid var(--line); }
.route-card { min-height: 112px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 20px; border-right: 1px solid var(--line); }
.route-card:last-child { border-right: 0; }
.route-main { min-width: 0; }
.route-host { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; padding: 0; color: var(--heading); background: transparent; border: 0; font-family: var(--font-mono); font-size: 15px; font-weight: 600; text-align: left; }
.route-host code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-host svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.route-host:hover svg, .route-host.is-copied svg { stroke: var(--primary-text); }
.route-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.route-meta strong { color: var(--body); font-size: 11px; font-weight: 500; }
.route-result { display: flex; min-width: 112px; align-items: flex-end; flex-direction: column; gap: 8px; }
.route-signal { display: inline-flex; align-items: center; gap: 6px; color: var(--success-text); font-family: var(--font-mono); font-size: 9px; }
.route-signal i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.route-signal.is-failed { color: var(--danger-text); }
.route-latency { display: flex; align-items: baseline; gap: 4px; color: var(--primary-text); font-family: var(--font-mono); }
.route-latency b { font-size: 25px; font-weight: 500; }
.route-latency small { font-size: 9px; }
.probe-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding-block: 14px; border-block: 1px solid var(--line); }
.segmented-control, .range-control { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.segmented-control::-webkit-scrollbar, .range-control::-webkit-scrollbar { display: none; }
.segmented-control button, .range-control button { min-width: max-content; height: 36px; padding: 0 12px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 2px; font-family: var(--font-mono); font-size: 10px; }
.segmented-control button:hover, .range-control button:hover { color: var(--heading); border-color: var(--line-strong); }
.segmented-control button.is-active, .range-control button.is-active { color: var(--primary-ink); background: var(--primary); border-color: var(--primary); font-weight: 600; }
.probe-list { border-top: 1px solid var(--line); }
.probe-row { display: grid; min-height: 184px; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.4fr) 156px; align-items: center; gap: 34px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.probe-identity { min-width: 0; }
.probe-vendor { display: flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.vendor-mark { display: grid; width: 24px; height: 24px; place-items: center; color: var(--primary-text); background: var(--surface-2); border: 1px solid var(--line); font-size: 8px; font-weight: 700; }
.vendor-mark img { width: 16px; height: 16px; object-fit: contain; }
:root[data-theme='dark'] .vendor-mark-xai img { filter: invert(1); }
.probe-identity h3 { overflow-wrap: anywhere; margin: 16px 0 5px; color: var(--heading); font-family: var(--font-mono); font-size: 15px; font-weight: 600; }
.probe-identity p { display: -webkit-box; max-width: 330px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.probe-bars-wrap { min-width: 0; }
.probe-bars-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.probe-bars { display: grid; height: 50px; grid-auto-flow: column; grid-auto-columns: minmax(3px, 1fr); align-items: end; gap: 3px; }
.probe-bar { display: block; min-height: 7px; background: var(--success); opacity: .9; transition: opacity 120ms ease, transform 120ms ease; }
.probe-bar:hover { opacity: 1; transform: translateY(-2px); }
.probe-bar.is-failed { height: 22% !important; background: var(--danger); }
.probe-bar.is-empty { height: 8% !important; background: var(--line); opacity: 1; }
.probe-bar.height-1 { height: 20%; }
.probe-bar.height-2 { height: 24%; }
.probe-bar.height-3 { height: 30%; }
.probe-bar.height-4 { height: 40%; }
.probe-bar.height-5 { height: 50%; }
.probe-bar.height-6 { height: 60%; }
.probe-bar.height-7 { height: 70%; }
.probe-bar.height-8 { height: 80%; }
.probe-bar.height-9 { height: 90%; }
.probe-bar.height-10 { height: 100%; }
.probe-time-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--soft); font-family: var(--font-mono); font-size: 8px; }
.probe-metrics { display: grid; gap: 14px; }
.probe-metric { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.probe-metric:last-child { border-bottom: 0; }
.probe-metric span { color: var(--muted); font-size: 10px; }
.probe-metric strong { color: var(--heading); font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.probe-metric strong.is-good { color: var(--success-text); }
.probe-metric strong.is-bad { color: var(--danger-text); }
.loading-panel, .empty-panel { min-height: 190px; display: grid; grid-column: 1 / -1; place-items: center; padding: 32px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; text-align: center; }
.loading-dots::after { display: inline-block; width: 2ch; content: '..'; overflow: hidden; vertical-align: bottom; animation: dots 1s steps(3) infinite; }
.page-message { margin: 0 0 16px; padding: 12px 14px; color: var(--danger-text); background: color-mix(in srgb, var(--danger) 8%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); font-size: 12px; }
.site-footer { padding-block: 48px; background: var(--canvas); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 48px; }
.footer-grid strong { color: var(--heading); font-family: var(--font-mono); font-size: 11px; }
.footer-about, .footer-grid nav, .footer-contact { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-about span, .footer-grid a { color: var(--muted); font-size: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--primary-text); }
.footer-contact { gap: 7px; }
.footer-contact > strong { margin-bottom: 3px; }
.footer-contact button { width: 100%; min-height: 34px; display: grid; grid-template-columns: 18px 70px minmax(0, 1fr) 16px; align-items: center; gap: 8px; padding: 0 8px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 2px; text-align: left; }
.footer-contact button:hover { color: var(--heading); border-color: var(--line-strong); }
.footer-contact button.is-copied { color: var(--success-text); border-color: var(--success); }
.footer-contact img { width: 16px; height: 16px; object-fit: contain; }
.footer-contact span { font-size: 10px; }
.footer-contact b { overflow: hidden; color: var(--body); font-family: var(--font-mono); font-size: 9px; font-weight: 500; text-overflow: ellipsis; }
.footer-contact i { font-style: normal; font-size: 14px; }

/* Admin */
.admin-body { min-height: 100vh; }
.admin-header { top: 0; }
.admin-product-label { color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.admin-product-label span { color: var(--primary-text); }
.admin-return svg { order: -1; }
.admin-main { width: min(calc(100% - 48px), 1240px); margin: 0 auto; padding: 62px 0 96px; }
.login-view { display: grid; min-height: calc(100vh - 222px); grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr); align-items: center; gap: 110px; }
.login-aside h1, .admin-title-row h1 { margin: 12px 0 16px; color: var(--heading); font-size: 46px; line-height: 1.15; }
.login-aside > p:not(.section-kicker), .admin-title-row > div > p:last-child { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.8; }
.access-signal { display: flex; align-items: center; gap: 9px; margin-top: 38px; color: var(--success-text); font-family: var(--font-mono); font-size: 10px; }
.access-signal i { width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.login-form { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--primary); }
.login-form > label, .field-label { display: block; margin-bottom: 9px; color: var(--heading); font-size: 12px; font-weight: 600; }
.password-row { display: grid; gap: 10px; }
input, select { width: 100%; height: 46px; padding: 0 13px; color: var(--body); background: var(--canvas); border: 1px solid var(--line); border-radius: 2px; outline: none; }
input::placeholder { color: var(--soft); }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.primary-button, .secondary-button, .text-button { min-height: 44px; padding: 0 18px; border-radius: 2px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.primary-button { color: var(--primary-ink); background: var(--primary); border: 1px solid var(--primary); }
.primary-button:hover { background: var(--primary-hover); }
.secondary-button { color: var(--body); background: transparent; border: 1px solid var(--line); }
.secondary-button:hover { border-color: var(--line-strong); }
.text-button { min-height: 36px; color: var(--muted); background: transparent; border: 0; white-space: nowrap; }
.text-button:hover { color: var(--heading); }
.form-message { min-height: 20px; margin: 12px 0 0; color: var(--danger-text); font-size: 11px; }
.form-message.is-success { color: var(--success-text); }
.dashboard-view { animation: enter 220ms ease-out both; }
.admin-title-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.admin-title-row h1 { font-size: 38px; }
.catalog-notice { margin-top: 18px; padding: 11px 14px; color: var(--warning); background: color-mix(in srgb, var(--warning) 7%, transparent); border: 1px solid color-mix(in srgb, var(--warning) 35%, var(--line)); font-size: 11px; }
.admin-grid { display: grid; grid-template-columns: minmax(360px, .76fr) minmax(0, 1.24fr); align-items: start; gap: 34px; margin-top: 34px; }
.editor-panel { overflow: hidden; border: 1px solid var(--line); }
.panel-chrome { display: grid; min-height: 42px; grid-template-columns: 8px 8px 8px 1fr; align-items: center; gap: 6px; padding: 0 13px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.panel-chrome span { width: 8px; height: 8px; background: var(--soft); border-radius: 50%; }
.panel-chrome span:first-child { background: var(--danger); }
.panel-chrome span:nth-child(2) { background: var(--warning); }
.panel-chrome span:nth-child(3) { background: var(--success); }
.panel-chrome code { justify-self: end; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.editor-panel form { padding: 26px; }
.form-heading { margin-bottom: 28px; }
.form-heading span, .configured-heading span { color: var(--primary-text); font-family: var(--font-mono); font-size: 9px; }
.form-heading h2, .configured-heading h2 { margin: 7px 0 0; color: var(--heading); font-size: 20px; }
.editor-panel .field-label:not(:first-of-type) { margin-top: 20px; }
.field-help { min-height: 17px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.toggle-row { display: grid; min-height: 70px; grid-template-columns: 1fr 40px; align-items: center; gap: 18px; margin-top: 22px; padding-block: 12px; border-block: 1px solid var(--line); cursor: pointer; }
.toggle-row > span { display: flex; flex-direction: column; gap: 3px; }
.toggle-row strong { color: var(--heading); font-size: 12px; }
.toggle-row small { color: var(--muted); font-size: 10px; }
.toggle-row input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.toggle-row i { position: relative; width: 40px; height: 22px; background: var(--line-strong); border-radius: 20px; transition: background 150ms ease; }
.toggle-row i::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--canvas); border-radius: 50%; content: ''; transition: transform 150ms ease; }
.toggle-row input:checked + i { background: var(--success); }
.toggle-row input:checked + i::after { transform: translateX(18px); }
.toggle-row input:focus-visible + i { outline: 2px solid var(--info); outline-offset: 3px; }
.readonly-facts { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); }
.readonly-facts div { display: grid; min-height: 43px; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 11px; border-bottom: 1px solid var(--line); }
.readonly-facts div:last-child { border-bottom: 0; }
.readonly-facts span { color: var(--primary-text); font-family: var(--font-mono); font-size: 8px; }
.readonly-facts code { overflow-wrap: anywhere; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.form-actions { display: flex; gap: 8px; margin-top: 10px; }
.configured-panel { min-width: 0; }
.configured-heading { display: flex; min-height: 67px; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.configured-heading strong { color: var(--line-strong); font-family: var(--font-mono); font-size: 40px; font-weight: 500; line-height: 1; }
.admin-service-list { border-bottom: 1px solid var(--line); }
.admin-service { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.admin-service:last-child { border-bottom: 0; }
.service-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.service-title-line strong { overflow-wrap: anywhere; color: var(--heading); font-family: var(--font-mono); font-size: 12px; }
.service-state { padding: 2px 5px; color: var(--success-text); border: 1px solid currentColor; font-family: var(--font-mono); font-size: 7px; }
.service-state.is-paused { color: var(--muted); }
.admin-service p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.service-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--soft); font-family: var(--font-mono); font-size: 8px; }
.service-actions { display: flex; align-items: flex-start; gap: 6px; }
.service-actions button { min-height: 32px; padding: 0 9px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 2px; font-family: var(--font-mono); font-size: 9px; }
.service-actions button:hover { color: var(--heading); border-color: var(--line-strong); }
.service-actions .delete-button:hover { color: var(--danger-text); border-color: var(--danger); }

@keyframes cursor { 50% { opacity: 0; } }
@keyframes signal { 50% { opacity: .45; } }
@keyframes dots { 0% { width: 0; } }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-header { padding-inline: 20px; }
  .site-header > nav { gap: 9px; }
  .site-header > nav a { font-size: 10px; }
  .status-hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
  .status-hero h1 { font-size: 49px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .route-card:last-child { border-bottom: 0; }
  .probe-row { grid-template-columns: minmax(180px, .75fr) minmax(270px, 1.25fr); }
  .probe-metrics { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); gap: 24px; }
}

@media (max-width: 719px) {
  .section-shell, .admin-main { width: min(calc(100% - 32px), var(--story-width)); }
  .announcement { justify-content: flex-start; overflow-x: auto; padding: 0 16px; white-space: nowrap; scrollbar-width: none; }
  .site-header { height: 58px; grid-template-columns: 1fr auto; padding-inline: 16px; }
  .site-header > nav { position: absolute; top: 58px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 16px 16px; background: var(--canvas); border-bottom: 1px solid var(--line); }
  .site-header > nav.is-open { display: flex; }
  .site-header > nav a { min-height: 44px; display: flex; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
  .site-header > nav a.is-current { border-bottom: 0; }
  .menu-button { display: grid; }
  .menu-button[aria-expanded='true'] .menu-open-icon { display: none; }
  .menu-button[aria-expanded='true'] .menu-close-icon { display: block; }
  .header-console { padding-inline: 12px; }
  .status-hero { min-height: 0; grid-template-columns: 1fr; gap: 38px; padding-block: 58px 64px; }
  .status-hero h1 { margin-block: 18px; font-size: 38px; }
  .hero-state { min-height: 155px; }
  .hero-state strong { margin-top: 20px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid article, .summary-grid article:first-child, .summary-grid article:last-child { min-height: 132px; padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .summary-grid article:nth-child(2n) { border-right: 0; }
  .summary-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .summary-grid article:nth-child(odd) { padding-left: 0; }
  .summary-grid article:nth-child(even) { padding-right: 0; }
  .summary-grid strong { margin-top: 20px; font-size: 23px; }
  .routes-section, .probes-section { padding-block: 68px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 26px; }
  .section-heading-row h2 { font-size: 29px; }
  .probe-controls { align-items: stretch; flex-direction: column; gap: 10px; }
  .segmented-control, .range-control { width: 100%; }
  .range-control button { flex: 1; }
  .probe-row { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .probe-bars { gap: 2px; }
  .probe-metrics { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .admin-product-label { display: none; }
  .admin-header { grid-template-columns: 1fr auto; }
  .admin-return span { display: none; }
  .admin-return { width: 40px; padding: 0; }
  .admin-main { padding-block: 44px 72px; }
  .login-view { min-height: 0; grid-template-columns: 1fr; gap: 40px; }
  .login-aside h1 { font-size: 36px; }
  .login-form { padding: 24px 18px; }
  .admin-title-row { align-items: flex-start; }
  .admin-title-row h1 { font-size: 32px; }
  .admin-grid { grid-template-columns: 1fr; }
  .editor-panel form { padding: 22px 17px; }
  .configured-panel { margin-top: 20px; }
  .admin-service { grid-template-columns: 1fr; }
  .service-actions { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .lightning-logo { font-size: 15px; }
  .theme-button { display: none; }
  .status-hero h1 { font-size: 34px; }
  .summary-grid strong { font-size: 20px; }
  .segmented-control button { padding-inline: 10px; }
  .readonly-facts div { grid-template-columns: 1fr; gap: 3px; padding-block: 9px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-inline: 14px; }
  .route-result { min-width: 86px; }
}

/* ================================================================
   Glass layer — shared visual language with flashapi.top
   ================================================================ */
body { line-height: 1.6; transition: background 400ms ease, color 400ms ease; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline-color: var(--primary); }

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.backdrop .b1 { top: -18%; right: -8%; width: 58vw; height: 58vw; background: radial-gradient(circle, var(--glow-a), transparent 65%); animation: drift-a 24s ease-in-out infinite; }
.backdrop .b2 { bottom: -25%; left: -12%; width: 55vw; height: 55vw; background: radial-gradient(circle, var(--glow-b), transparent 65%); animation: drift-b 31s ease-in-out infinite; }
.backdrop .b3 { top: 38%; left: 38%; width: 36vw; height: 36vw; background: radial-gradient(circle, var(--glow-c), transparent 65%); animation: drift-c 27s ease-in-out infinite; }
.backdrop .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 10%, transparent 70%); opacity: 0.55; }
.backdrop .grain { position: absolute; inset: -50%; opacity: var(--grain-opacity); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-12%, 14%) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(16%, -10%) scale(0.9); } }
@keyframes drift-c { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-20%, -12%) scale(1.15); } 66% { transform: translate(12%, 10%) scale(0.92); } }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* Ends on filter:none so glass children keep a real backdrop. */
.reveal { opacity: 0; filter: blur(14px); transform: translateY(16px); }
.reveal.is-in { animation: blur-in 900ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes blur-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes item-in { from { opacity: 0; filter: blur(6px); transform: translateY(10px); } }

/* Pointer spotlight (driven by motion.js via --lx/--ly/--lit) */
[data-spot] { --lx: -1000px; --ly: -1000px; --lit: 0; position: relative; isolation: isolate; }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(320px circle at var(--lx) var(--ly), var(--hero-spot), transparent 70%); opacity: var(--lit); transition: opacity 500ms ease; }
.rim { position: absolute; inset: 0; z-index: 5; padding: 1px; border-radius: inherit; pointer-events: none; background: radial-gradient(220px circle at var(--lx) var(--ly), var(--hero-rim), transparent 72%); opacity: var(--lit); transition: opacity 500ms ease; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass { background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-lg); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }

/* Announcement + header */
.announcement { height: 34px; color: var(--muted); background: color-mix(in srgb, var(--primary) 9%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--primary) 18%, transparent); }
.announcement strong { color: var(--primary-text); }
.announcement-dot { position: relative; width: 6px; height: 6px; flex-basis: 6px; background: var(--primary); animation: none; }
.announcement-dot::after { position: absolute; inset: 0; content: ''; background: var(--primary); border-radius: 50%; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { opacity: 0.7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
.site-header { height: 66px; padding: 0 max(24px, calc((100% - var(--story-width)) / 2)); background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none; transition: border-color 300ms ease; }
.site-header::before { position: absolute; inset: 0; z-index: -1; content: ''; background: color-mix(in srgb, var(--canvas) 72%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.site-header.is-scrolled, .admin-header { border-bottom-color: var(--line); }
.site-header.is-scrolled::before, .admin-header::before { opacity: 1; }
.lightning-logo { gap: 10px; color: var(--heading); font-family: var(--font-copy); font-size: 15.5px; font-weight: 800; }
.lightning-mark { width: 34px; height: 34px; flex: 0 0 34px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 8px 22px -10px rgba(255, 172, 108, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: transform 400ms var(--ease); }
.header-brand:hover .lightning-mark { transform: rotate(-8deg) scale(1.05); }
.lightning-mark img { width: 22px; height: 22px; }
.brand-status-dot { top: -2px; right: -2px; width: 8px; height: 8px; }
.brand-wordmark > span { display: none; }
.site-header > nav { gap: 2px; padding: 4px; background: color-mix(in srgb, var(--surface) 40%, transparent); border: 1px solid var(--line); border-radius: 999px; }
.site-header > nav a { padding: 6px 14px; border-radius: 999px; font-family: var(--font-copy); font-size: 13px; font-weight: 600; transition: color 150ms ease, background 150ms ease; }
.site-header > nav a > span[aria-hidden] { display: none; }
.site-header > nav a:hover { background: var(--surface-2); }
.site-header > nav a.is-current { color: var(--heading); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.icon-button { width: 38px; height: 38px; flex-basis: 38px; background: var(--surface-2); border-color: var(--line); border-radius: 999px; transition: color 150ms ease, background 150ms ease; }
.header-console { position: relative; min-height: 38px; overflow: hidden; padding: 0 16px; border-radius: 999px; font-family: var(--font-copy); font-size: 13px; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(252, 213, 53, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: background 200ms ease, transform 200ms var(--ease); }
.header-console:active { transform: scale(0.97); }

/* Hero stage */
.status-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 320px; margin-top: 18px; padding: 52px 56px; background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-xl); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); }
.status-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; }
.hero-kicker { margin: 0 0 16px; color: var(--success-text); font-family: var(--font-mono); font-size: 12px; }
.hero-kicker i { display: inline-block; width: 2px; height: 0.9em; margin-left: 5px; vertical-align: -2px; background: var(--primary); animation: cursor 900ms steps(1) infinite; }
.hero-lead { max-width: 30em; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.stage-glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.stage-glow.a { top: -35%; right: 4%; width: 54%; height: 160%; background: radial-gradient(ellipse at center, var(--glow-a), transparent 62%); animation: drift-a 19s ease-in-out infinite; }
.stage-glow.b { bottom: -40%; left: 8%; width: 48%; height: 140%; background: radial-gradient(ellipse at center, var(--glow-b), transparent 62%); animation: drift-b 26s ease-in-out infinite; }
.dots, .dots-lit { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 18px 18px; background-position: 9px 9px; }
.dots { background-image: radial-gradient(circle, var(--hero-dot) 0.9px, transparent 1.4px); mask-image: linear-gradient(90deg, transparent 6%, #000 42%); }
.dots-lit { background-image: radial-gradient(circle, var(--hero-dot-lit) 1.3px, transparent 1.8px); mask-image: radial-gradient(240px circle at var(--lx) var(--ly), #000, transparent 72%); opacity: var(--lit); transition: opacity 500ms ease; }
.status-hero > .spot { background: radial-gradient(420px circle at var(--lx) var(--ly), var(--hero-spot), transparent 70%); }
.hero-state { position: relative; min-height: 180px; background: var(--glass-strong); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6); }
.hero-state::before { position: absolute; top: 0; right: 20px; left: 20px; height: 2px; content: ''; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.live-indicator { gap: 8px; width: max-content; padding: 3px 10px; color: var(--success-text); background: color-mix(in srgb, var(--success) 12%, transparent); border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; }
.live-indicator i { position: relative; width: 6px; height: 6px; box-shadow: none; }
.live-indicator i::after { position: absolute; inset: 0; content: ''; background: var(--success); border-radius: 50%; animation: ping 2s var(--ease) infinite; }
.hero-state strong { font-weight: 800; transition: color 300ms ease; }
.hero-state small { font-size: 10.5px; }

/* Summary cards */
.summary-band { padding: 14px 0 0; background: transparent; border: 0; }
.summary-grid { gap: 14px; }
.summary-grid article, .summary-grid article:first-child, .summary-grid article:last-child { min-height: 150px; padding: 24px; overflow: hidden; background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-lg); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); transition: transform 350ms var(--ease), box-shadow 350ms ease; }
.summary-grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.summary-grid .metric-index { font-size: 11px; font-weight: 500; }
.summary-grid strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }

/* Sections */
.routes-section, .probes-section { padding: 72px 0; background: transparent; border-bottom: 0; }
.probes-section { padding-top: 8px; }
.section-kicker, .metric-index { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }
.section-heading-row { margin-bottom: 26px; }
.section-heading-row h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.01em; }
.section-heading-row > p { font-size: 14px; }

/* Routes */
.route-grid { gap: 14px; border: 0; }
.route-card, .route-card:last-child { overflow: hidden; background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-lg); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); transition: transform 350ms var(--ease), box-shadow 350ms ease, border-color 250ms ease; }
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.route-host { padding: 4px 10px 4px 0; border-radius: 8px; transition: color 150ms ease; }
.route-host.is-copied { color: var(--success-text); }
.route-signal { padding: 3px 9px; background: color-mix(in srgb, currentColor 12%, transparent); border-radius: 999px; font-size: 10px; font-weight: 600; }
.route-latency b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }

/* Probe controls + list */
.probe-controls { margin-bottom: 14px; padding: 8px; background: var(--glass); border: 1px solid var(--line-strong); border-radius: 999px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.segmented-control button, .range-control button { height: 34px; padding: 0 14px; background: transparent; border: 1px solid transparent; border-radius: 999px; font-size: 11.5px; transition: color 150ms ease, background 200ms ease, transform 200ms var(--ease); }
.segmented-control button:hover, .range-control button:hover { background: var(--surface-2); border-color: transparent; }
.segmented-control button:active, .range-control button:active { transform: scale(0.95); }
.segmented-control button.is-active, .range-control button.is-active { box-shadow: 0 8px 22px -12px rgba(252, 213, 53, 0.8); }
.probe-list { overflow: hidden; background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-lg); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.probe-row { position: relative; padding: 26px 28px; transition: background 200ms ease; }
.probe-row:last-child { border-bottom: 0; }
.probe-row:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.probe-list:not(.is-static) .probe-row, .route-grid:not(.is-static) .route-card, .segmented-control:not(.is-static) button { animation: item-in 600ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.vendor-mark { width: 28px; height: 28px; background: var(--surface-2); border-radius: 8px; }
.probe-identity h3 { font-size: 15.5px; }
.probe-identity p { font-size: 12px; }
.probe-bars-head { font-size: 10.5px; }
.probe-bar { border-radius: 2px; transform-origin: bottom; }
.probe-list:not(.is-static) .probe-bar { animation: bar-in 700ms var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + var(--b, 0) * 8ms); }
@keyframes bar-in { from { opacity: 0; transform: scaleY(0.1); } }
.probe-bar:hover { transform: translateY(-2px) scaleY(1.06); }
.probe-time-axis { font-size: 10px; }
.probe-metric span { font-size: 11.5px; }
.probe-metric strong { font-size: 13px; font-weight: 600; }
.loading-panel, .empty-panel { font-size: 12px; }
.page-message { border-radius: var(--r-md); }

/* Footer */
.site-footer { margin-top: 24px; padding-block: 48px; background: transparent; border-top: 1px solid var(--line); }
.footer-grid strong { font-family: var(--font-copy); font-size: 13px; }
.footer-about span, .footer-grid a { font-size: 13px; }
.footer-grid a { transition: color 150ms ease, transform 250ms var(--ease); }
.footer-grid a:hover { transform: translateX(3px); }
.footer-contact button { min-height: 40px; grid-template-columns: 18px 72px minmax(0, 1fr) 16px; padding: 0 14px; background: var(--glass); border-color: var(--line); border-radius: 999px; backdrop-filter: blur(12px); transition: color 150ms ease, border-color 200ms ease, background 200ms ease; }
.footer-contact button:hover { background: var(--surface-2); }
.footer-contact span { font-size: 12px; }
.footer-contact b { font-size: 12px; }

/* Admin */
input, select { height: 46px; background: var(--surface); border-color: var(--line-strong); border-radius: var(--r-md); transition: border-color 150ms ease, box-shadow 150ms ease; }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.primary-button, .secondary-button { border-radius: 999px; font-family: var(--font-copy); font-size: 13.5px; font-weight: 700; transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease); }
.primary-button { box-shadow: 0 10px 30px -12px rgba(252, 213, 53, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.primary-button:active, .secondary-button:active { transform: scale(0.97); }
.secondary-button { background: var(--glass); border-color: var(--line-strong); }
.text-button { border-radius: 999px; font-family: var(--font-copy); font-size: 13px; }
.admin-header .admin-product-label { font-size: 11px; }
.login-aside h1, .admin-title-row h1 { font-weight: 800; letter-spacing: -0.02em; }
.login-form, .editor-panel { position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--line-strong); border-radius: var(--r-xl); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); }
.login-form { border-top: 1px solid var(--line-strong); animation: blur-in 900ms var(--ease) both; opacity: 0; filter: blur(14px); transform: translateY(16px); }
.login-form::before { position: absolute; top: 0; right: 24px; left: 24px; height: 2px; content: ''; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.login-aside { animation: blur-in 900ms var(--ease) 80ms both; opacity: 0; filter: blur(14px); transform: translateY(16px); }
.dashboard-view { animation: blur-in 700ms var(--ease) both; opacity: 0; filter: blur(10px); transform: translateY(10px); }
.panel-chrome { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.readonly-facts { background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--line); border-radius: var(--r-md); overflow: hidden; }
.toggle-row { border-color: var(--line); }
.catalog-notice { border-radius: var(--r-md); }
.admin-title-row { border-bottom-color: var(--line); }
.admin-service { padding: 18px; margin-top: 10px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 200ms ease; }
.admin-service:hover { border-color: var(--line-strong); }
.admin-service:last-child { border-bottom: 1px solid var(--line); }
.admin-service-list { border-bottom: 0; }
.service-state { padding: 2px 8px; border-radius: 999px; font-size: 9px; }
.service-actions button { min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 10.5px; }

@media (max-width: 980px) {
  .site-header { padding-inline: 20px; }
  .status-hero { padding: 44px 36px; }
}

@media (max-width: 719px) {
  .site-header { height: 58px; padding-inline: 16px; }
  .site-header > nav { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: flex; gap: 2px; padding: 8px; background: var(--glass-strong); border-color: var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); opacity: 0; filter: blur(8px); transform: translateY(-8px) scale(0.98); visibility: hidden; pointer-events: none; transition: opacity 250ms ease, filter 300ms var(--ease), transform 350ms var(--ease), visibility 0s linear 350ms; }
  .site-header > nav.is-open { opacity: 1; filter: none; transform: none; visibility: visible; pointer-events: auto; transition: opacity 250ms ease, filter 300ms var(--ease), transform 350ms var(--ease), visibility 0s; }
  .site-header > nav a { min-height: 44px; padding: 0 14px; border-bottom: 0; border-radius: var(--r-md); font-size: 14px; }
  .header-console { width: 38px; padding: 0; }
  .header-console span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .status-hero { width: min(calc(100% - 28px), var(--story-width)); margin-top: 12px; padding: 34px 22px; gap: 28px; }
  .summary-band { padding-top: 12px; }
  .summary-grid { gap: 10px; }
  .summary-grid article, .summary-grid article:first-child, .summary-grid article:last-child, .summary-grid article:nth-child(odd), .summary-grid article:nth-child(even) { min-height: 124px; padding: 18px; border: 1px solid var(--line-strong); }
  .routes-section { padding: 52px 0; }
  .probes-section { padding: 4px 0 52px; }
  .probe-controls { border-radius: var(--r-lg); }
  .probe-row { padding: 22px 18px; }
  .admin-service { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .login-form, .login-aside, .dashboard-view { opacity: 1; filter: none; transform: none; }
}
