/* Antigravity TTS - tts.infocore.uk. Dark, glass, sky accent: the same language as the desktop app. */
:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0b0f17;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --sky: #38bdf8;
  --sky-2: #0ea5e9;
  --blue: #2563eb;
  --emerald: #22c55e;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --violet: #a78bfa;
  --radius: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --font: 'Segoe UI Variable Display', 'Segoe UI', Inter, system-ui, -apple-system, sans-serif;
  --mono: 'Cascadia Code', 'Consolas', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(700px 400px at 85% 10%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(167, 139, 250, 0.08), transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
::selection { background: rgba(56, 189, 248, 0.35); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand small { display: block; font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { color: var(--text-2); padding: 8px 12px; border-radius: 9px; font-size: 14px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 100%); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -12px rgba(56, 189, 248, 0.7); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); background: var(--surface-2); }
.btn.danger { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.3); color: #fda4af; }
.btn.danger:hover { background: rgba(244, 63, 94, 0.18); }
.btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn .spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Cards, badges, misc ─────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card.pad { padding: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; border: 1px solid transparent; white-space: nowrap;
}
.badge.sky { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.25); }
.badge.ok { background: rgba(34, 197, 94, 0.12); color: #86efac; border-color: rgba(34, 197, 94, 0.25); }
.badge.warn { background: rgba(245, 158, 11, 0.12); color: #fcd34d; border-color: rgba(245, 158, 11, 0.25); }
.badge.bad { background: rgba(244, 63, 94, 0.12); color: #fda4af; border-color: rgba(244, 63, 94, 0.25); }
.badge.mute { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.badge.violet { background: rgba(167, 139, 250, 0.12); color: #c4b5fd; border-color: rgba(167, 139, 250, 0.25); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--emerald); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.dot.bad { background: var(--rose); box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.18); animation: pulse 1.4s ease-in-out infinite; }
.dot.warn { background: var(--amber); }
.dot.mute { background: var(--text-3); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 14px; }
.grad-text { background: linear-gradient(90deg, #7dd3fc, #38bdf8 40%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
hr.sep { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
label.field { display: block; }
label.field > span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 10px 12px; color: var(--text); font: inherit; font-size: 14px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { border-color: rgba(56, 189, 248, 0.6); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15); }
.input::placeholder { color: var(--text-3); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.input { min-height: 80px; resize: vertical; }
.hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--sky); }
.alert { padding: 10px 14px; border-radius: 10px; font-size: 13.5px; border: 1px solid; }
.alert.bad { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.3); color: #fecdd3; }
.alert.ok { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.3); color: #bbf7d0; }
.alert.warn { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); color: #fde68a; }
.alert.info { background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.25); color: #bae6fd; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.table td.actions { text-align: right; white-space: nowrap; }
.table .sub { display: block; font-size: 12px; color: var(--text-3); }

/* ── Modal / toast ───────────────────────────────────────────────────────── */
.modal-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: #0b0f17; border: 1px solid var(--border-2); border-radius: 16px; box-shadow: var(--shadow); }
.modal header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal header h3 { font-size: 17px; }
.modal .body { padding: 22px; display: grid; gap: 16px; }
.modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 8px; }
.toast { padding: 11px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(15, 23, 42, 0.92); color: var(--text); font-size: 13.5px; box-shadow: var(--shadow); animation: rise 0.2s ease-out; }
.toast.bad { border-color: rgba(244, 63, 94, 0.35); background: rgba(76, 5, 25, 0.92); color: #fecdd3; }
.toast.ok { border-color: rgba(34, 197, 94, 0.35); }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
[hidden] { display: none !important; }

/* ── Portal layout (account + admin) ─────────────────────────────────────── */
.portal { padding: 32px 0 64px; }
.portal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.portal-head h1 { font-size: 28px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.tabs button { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: transparent; border: 0; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.tabs button.on { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { padding: 18px 20px; }
.kpi .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.kpi .value { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .value.ok { color: #86efac; } .kpi .value.warn { color: #fcd34d; } .kpi .value.bad { color: #fda4af; } .kpi .value.sky { color: #7dd3fc; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.section-title h2 { font-size: 18px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--blue)); border-radius: 999px; transition: width 0.3s; }
.progress.warn > span { background: linear-gradient(90deg, var(--amber), #f97316); }
.progress.bad > span { background: var(--rose); }
.two-col { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.device { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.device .icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(56, 189, 248, 0.1); display: grid; place-items: center; color: #7dd3fc; flex-shrink: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .input { max-width: 260px; }
.pw-reveal { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 12px; }
.pw-reveal code { font-size: 18px; letter-spacing: 0.06em; color: #bbf7d0; user-select: all; }
.file-drop { border: 1px dashed var(--border-2); border-radius: 12px; padding: 22px; text-align: center; color: var(--text-2); }
.file-drop input { display: none; }
.file-list { display: grid; gap: 6px; font-size: 13px; }
.file-list .row { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }

/* ── Auth card (login) ───────────────────────────────────────────────────── */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 20px; }
.auth .card { width: 100%; max-width: 420px; padding: 32px; }
.auth .logo { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; box-shadow: 0 16px 40px -16px rgba(56, 189, 248, 0.7); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--text-3); font-size: 13px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── Landing page ────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.035em; margin: 16px 0 18px; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero .meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--text-3); }
.hero .meta span::before { content: '✓ '; color: var(--emerald); }

.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 12px 0 0; }
.strip .item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 13.5px; color: var(--text-2); }
.strip .item b { color: var(--text); font-weight: 600; }
.strip svg { width: 18px; height: 18px; color: var(--sky); flex-shrink: 0; }

.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; margin-top: 12px; }
.section-head p { color: var(--text-2); margin-top: 14px; font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature { padding: 24px; position: relative; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.feature:hover { border-color: rgba(56, 189, 248, 0.35); transform: translateY(-2px); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(56, 189, 248, 0.1); color: #7dd3fc; }
.feature .ic.violet { background: rgba(167, 139, 250, 0.12); color: #c4b5fd; }
.feature .ic.emerald { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.feature .ic.amber { background: rgba(245, 158, 11, 0.12); color: #fcd34d; }
.feature .ic.rose { background: rgba(244, 63, 94, 0.12); color: #fda4af; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 14px; }
.feature svg { width: 22px; height: 22px; }

/* Path diagram */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: start; position: relative; margin-top: 10px; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; gap: 16px; } .path .link { display: none; } }
.path .node { text-align: center; padding: 0 10px; position: relative; }
.path .node .box { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); }
.path .node .box.ok { border-color: rgba(34, 197, 94, 0.5); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
.path .node .box.bad { border-color: rgba(244, 63, 94, 0.6); box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.1); }
.path .node .box svg { width: 26px; height: 26px; }
.path .node h4 { font-size: 15px; }
.path .node .ip { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 2px; }
.path .node .verdict { margin-top: 10px; font-size: 13px; color: var(--text-2); padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.path .node .verdict b { color: var(--text); }
.path .link { position: absolute; top: 32px; right: -50%; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(56,189,248,0.6), rgba(56,189,248,0.15)); z-index: -1; }
.path .node:last-child .link { display: none; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.plan { padding: 20px 16px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.plan:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-2px); }
.plan .n { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .n small { font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.plan .u { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; font-weight: 600; }
.plan.hot { border-color: rgba(56, 189, 248, 0.5); background: linear-gradient(180deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.02)); }
.plan.unl { border-color: rgba(167, 139, 250, 0.5); background: linear-gradient(180deg, rgba(167, 139, 250, 0.12), rgba(167, 139, 250, 0.02)); }
.plan.unl .n { color: #c4b5fd; }
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 24px; }
.includes .item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.includes .item svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-3); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--text-2); font-size: 14.5px; }

.cta-band { padding: 44px; text-align: center; background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(37, 99, 235, 0.1) 50%, rgba(167, 139, 250, 0.12)); border: 1px solid rgba(56, 189, 248, 0.25); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: var(--text-2); margin: 12px auto 24px; max-width: 520px; }

/* ── App mockup ──────────────────────────────────────────────────────────── */
.mock {
  position: relative; border-radius: 16px; overflow: hidden; background: #07090d;
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 0 1px rgba(56, 189, 248, 0.08);
  aspect-ratio: 16 / 10.5; display: grid; grid-template-columns: 56px 1fr; font-size: 10px;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s ease;
}
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
@media (max-width: 960px) { .mock { transform: none; } }
.mock .side { border-right: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); padding: 10px 0; display: grid; gap: 6px; align-content: start; justify-items: center; }
.mock .side .lg { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--sky), var(--blue)); margin-bottom: 8px; }
.mock .side i { display: block; width: 28px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.04); }
.mock .side i.on { background: rgba(56, 189, 248, 0.18); border: 1px solid rgba(56, 189, 248, 0.3); }
.mock .main { padding: 10px 12px; display: grid; gap: 9px; align-content: start; }
.mock .top { display: flex; align-items: center; justify-content: space-between; color: var(--text-2); }
.mock .top .st { display: flex; align-items: center; gap: 6px; }
.mock .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mock .tile { padding: 8px 9px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); }
.mock .tile .l { color: var(--text-3); font-size: 7.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.mock .tile .v { font-size: 15px; font-weight: 700; margin-top: 2px; letter-spacing: -0.02em; }
.mock .tile .v.ok { color: #86efac; } .mock .tile .v.sky { color: #7dd3fc; } .mock .tile .v.warn { color: #fcd34d; }
.mock .chart { height: 74px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mock .chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock .ribbon { display: flex; gap: 1.5px; height: 7px; border-radius: 4px; overflow: hidden; }
.mock .ribbon i { flex: 1; background: var(--emerald); opacity: 0.85; }
.mock .ribbon i.w { background: var(--amber); } .mock .ribbon i.b { background: var(--rose); } .mock .ribbon i.g { background: #334155; }
.mock .rows { display: grid; gap: 5px; }
.mock .r { display: grid; grid-template-columns: 8px 1fr 60px 44px 40px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.mock .r b { color: var(--text); font-weight: 600; }
.mock .r .mono { color: var(--text-3); }
.mock .r svg { width: 60px; height: 14px; }
.mock .r .ms { text-align: right; font-variant-numeric: tabular-nums; color: #7dd3fc; }
.mock .r .ms.bad { color: #fda4af; }
.mock .r .up { text-align: right; color: #86efac; }
.mock .toast { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; font-size: 9px; border-radius: 9px; animation: none; }

/* 404 */
.center-page { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.center-page h1 { font-size: 72px; font-weight: 800; letter-spacing: -0.05em; }
