/* assets/css/layouts/widgets.css */
/* Shared widget styles (toast, command palette, icons) — from v5 shared.js */
.ico{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  .ubt{position:fixed;left:50%;bottom:76px;z-index:400;transform:translate(-50%,12px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:12px;background:#0a0a0a;color:#fff;font:500 14px/1.3 system-ui,-apple-system,sans-serif;box-shadow:0 20px 50px -12px rgba(0,0,0,.45);transition:.22s}
  .ubt .ico{width:16px;height:16px;color:#4ade80}
  .ubt.on{opacity:1;transform:translate(-50%,0)}
  /* DEC-84: the "saved result" notice on server-tool pages (assets/js/tool-fresh.js), the toast's look with a button */
  .ubf{position:fixed;left:0;right:0;margin:0 auto;width:max-content;bottom:76px;z-index:400;transform:translateY(12px);opacity:0;pointer-events:none;display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100vw - 32px));padding:10px 10px 10px 15px;border-radius:12px;background:#0a0a0a;color:#fff;font:500 13.5px/1.4 system-ui,-apple-system,sans-serif;box-shadow:0 20px 50px -12px rgba(0,0,0,.45);transition:.22s}
  .ubf.on{opacity:1;transform:translateY(0);pointer-events:auto}
  .ubf__t{flex:1;min-width:0;overflow-wrap:anywhere}.ubf__t b{font-weight:650}.ubf__t small{display:block;color:#a3a3a3;font-size:12px}
  .ubf__b{flex:none;padding:7px 12px;border-radius:9px;border:0;background:#fff;color:#0a0a0a;font:600 13px/1 system-ui,-apple-system,sans-serif;cursor:pointer}
  .ubf__x{flex:none;width:30px;height:30px;border-radius:8px;border:0;background:transparent;color:#a3a3a3;font-size:18px;line-height:1;cursor:pointer}
  .ubf__x:hover,.ubf__x:focus-visible{color:#fff;background:#262626}
  .ubk{position:fixed;inset:0;z-index:500;display:none;padding:11vh 16px 16px;background:rgba(10,10,10,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#0a0a0a}
  .ubk.on{display:block}
  .ubk-box{max-width:620px;margin:0 auto;background:#fff;border-radius:16px;border:1px solid #e5e5e5;box-shadow:0 40px 100px -20px rgba(0,0,0,.45);overflow:hidden}
  .ubk-in{display:flex;align-items:center;gap:12px;padding:0 16px;border-bottom:1px solid #ececec}
  .ubk-in .ico{color:#8a8a8a}
  .ubk-in input{flex:1;min-width:0;height:58px;border:0;outline:0;font-size:17px;background:transparent;color:#0a0a0a}
  .ubk-in kbd{font:500 11px ui-monospace,monospace;padding:4px 6px;border:1px solid #ddd;border-radius:6px;color:#8a8a8a}
  .ubk-list{max-height:min(56vh,440px);overflow-y:auto;padding:8px}
  .ubk-g{font:500 11px ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#8a8a8a;padding:12px 10px 6px}
  .ubk-i{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;font-size:14.5px;cursor:pointer}
  .ubk-i>span{flex:1;min-width:0}
  .ubk-i small{display:block;color:#8a8a8a;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ubk-ic{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#f5f5f5;border:1px solid #ececec;flex:none}
  .ubk-ic .ico{width:16px;height:16px}
  .ubk-i[aria-selected=true]{background:#f2f2f2}
  .ubk-i[aria-selected=true] .ubk-ic{background:#0a0a0a;color:#fff;border-color:#0a0a0a}
  .ubk-empty{padding:30px;text-align:center;color:#8a8a8a;font-size:14px}
  .ubk-foot{display:flex;gap:16px;padding:10px 16px;border-top:1px solid #ececec;background:#fafafa;font-size:12px;color:#8a8a8a}

/* assets/css/layouts/ub.css */
/* ==========================================================================
   UtiBox v5 — Design system
   Single light theme. Black & white, with colour reserved for status only.
   ========================================================================== */

:root {
  color-scheme: only light;

  /* Ink (black) */
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1f1f1f;
  --ink-line: rgba(255, 255, 255, .1);
  --on-ink: #ffffff;
  --on-ink-2: #a3a3a3;
  --on-ink-3: #737373;

  /* Paper (white) */
  --paper: #ffffff;
  --paper-2: #fafafa;
  --paper-3: #f4f4f4;
  --line: #ebebeb;
  --line-2: #dcdcdc;
  --text: #0a0a0a;
  --text-2: #525252;
  --text-3: #737373; /* was #8a8a8a (3.4:1 on white); now 4.7:1, the WCAG AA level for small text (SEO audit, 9 Nov 2026) */

  /* Status signal colours — used only for state, always paired with text/icon */
  --up: #16a34a;
  --up-hi: #4ade80;
  --warn: #d97706;
  --warn-hi: #fbbf24;
  --down: #dc2626;
  --down-hi: #f87171;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -12px rgba(0, 0, 0, .12);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .04), 0 30px 80px -20px rgba(0, 0, 0, .28);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: 24px;
  --hdr: 64px;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 24px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.on-ink :focus-visible, .hdr :focus-visible, .ftr :focus-visible { outline-color: #fff; }
::selection { background: var(--ink); color: #fff; }

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

.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 14px; height: 14px; }
.ico--lg { width: 22px; height: 22px; }
.ico--xl { width: 28px; height: 28px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 300; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); }
.mute { color: var(--text-3); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.045em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.045em; line-height: 1.04; }
.h3 { font-size: 22px; letter-spacing: -.03em; }
.h2 .mute, .h1 .mute { color: #a1a1a1; }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); line-height: 1.6; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a2a; }
.btn--paper { background: #fff; color: var(--ink); }
.btn--paper:hover { background: #e8e8e8; }
.btn--line { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: #b5b5b5; background: var(--paper-2); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.btn--sm { height: 36px; padding: 0 13px; font-size: 14px; border-radius: 9px; }
.btn--lg { height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn--icon { width: 40px; padding: 0; }
.btn--sm.btn--icon { width: 36px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.link .ico { transition: transform .15s; }
.link:hover .ico { transform: translateX(3px); }
.link--ul { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link--ul:hover { text-decoration-color: var(--ink); }

/* ---------- Status pills & dots ---------- */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
.dot--up { background: var(--up); }
.dot--issues { background: var(--warn); }
.dot--down { background: var(--down); }
.on-ink .dot--up, .hdr .dot--up, .ftr .dot--up { background: var(--up-hi); }
.on-ink .dot--issues { background: var(--warn-hi); }
.on-ink .dot--down { background: var(--down-hi); }
.dot--live { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent), 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 0 transparent, 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 rgba(74, 222, 128, 0); }
}
.dot--live.dot--down { animation-name: pulse-down; }
@keyframes pulse-down { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, .55); } 70% { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); } }
.dot--live.dot--issues { animation-name: pulse-warn; }
@keyframes pulse-warn { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .55); } 70% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 8px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
}
.pill--down { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill--down .dot { background: var(--down-hi); }
.pill--issues { border-color: #e9d9b5; background: #fffcf3; }
.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper-3); color: var(--text-2); border: 1px solid var(--line);
}
.tag--ink { background: var(--ink); color: #fff; border-color: var(--ink); }

.mono-tile {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: -.03em;
}
.mono-tile--sm { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
.mono-tile--lg { width: 64px; height: 64px; border-radius: 16px; font-size: 28px; }
.mono-tile--paper { background: #fff; color: var(--ink); }

.icon-tile {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
}
.icon-tile--ink { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 10, .9);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.04em; flex: none; }
.logo__mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.logo__mark .ico { width: 18px; height: 18px; stroke-width: 2; }
.logo__tld { color: var(--on-ink-3); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: #cfcfcf; transition: color .15s, background .15s;
}
.nav__link .ico { width: 14px; height: 14px; transition: transform .2s; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__item:hover > .nav__link .ico, .nav__item:focus-within > .nav__link .ico { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: #fff; }

.mega {
  position: absolute; top: calc(100% + 12px); left: -160px; width: 820px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mega__col { padding: 14px; border-radius: 12px; }
.mega__col:hover { background: var(--paper-2); }
.mega__cat { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; margin-bottom: 8px; }
.mega__cat .ico { width: 16px; height: 16px; }
.mega__col ul { list-style: none; display: grid; gap: 1px; }
.mega__col li a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--text-2); }
.mega__col li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mega__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px;
}
.mega__foot span { color: var(--on-ink-2); }

.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kbar {
  display: flex; align-items: center; gap: 10px; height: 38px; width: 248px; padding: 0 7px 0 12px;
  border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  color: #9a9a9a; font-size: 14px; transition: background .15s, border-color .15s;
}
.kbar:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #d4d4d4; }
.kbar .ico { width: 16px; height: 16px; }
.kbd {
  margin-left: auto; font-family: var(--mono); font-size: 11px; line-height: 1; padding: 4px 6px; border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .14); color: #a3a3a3; background: rgba(255, 255, 255, .04);
}
.kbd--paper { border-color: var(--line-2); color: var(--text-3); background: #fff; margin-left: 0; }
.hdr__signin { font-size: 14.5px; font-weight: 500; color: #cfcfcf; padding: 0 10px; height: 36px; display: inline-flex; align-items: center; border-radius: 8px; }
.hdr__signin:hover { color: #fff; }
.hdr__icon { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
/* Install app (DEC-59): [data-install] buttons stay hidden until the browser offers to install (assets/js/pwa.js).
   Header: an icon button beside the theme switch; phones get the drawer button instead. When the header has no
   account buttons (--label, production V1) it also says "Install app" from 1200 px. With them (--tight) there is less
   room: the search box folds to its icon up to 1247 px while the button shows, and below 1024 px the button stays out
   (Chrome's own install icon in the address bar is still there). Measured: no nav item wraps because of it. */
.app-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; width: 38px; height: 38px; padding: 0;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #d4d4d4;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.app-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.app-btn .ico { width: 18px; height: 18px; }
.app-btn__label { display: none; }
@media (min-width: 1200px) { .app-btn--label { width: auto; padding: 0 13px 0 11px; } .app-btn--label .app-btn__label { display: inline; } }
@media (max-width: 1247px) { /* 1248 = --max + both gutters: below it the header narrows with the window */
  .hdr__right:has(.app-btn--tight:not([hidden])) .kbar { width: 40px; padding: 0; justify-content: center; }
  .hdr__right:has(.app-btn--tight:not([hidden])) .kbar span, .hdr__right:has(.app-btn--tight:not([hidden])) .kbar .kbd { display: none; }
}
@media (max-width: 1023px) { .app-btn--tight { display: none; } }
.drawer button.drawer__install { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; font-size: 17px; font-weight: 500; color: inherit; background: none; border: 0; text-align: left; cursor: pointer; }
.drawer__install .ico { width: 20px; height: 20px; }
[data-install][hidden] { display: none !important; }

@media (max-width: 1140px) { .kbar { width: 40px; padding: 0; justify-content: center; } .kbar span, .kbar .kbd { display: none; } }
@media (max-width: 960px) {
  .nav, .hdr__signin, .kbar, .hdr .app-btn { display: none; }
  .hdr__icon { display: grid; }
  .hdr__right .btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 59; background: var(--ink); color: #fff;
  overflow-y: auto; padding: 8px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__sec { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; }
.drawer__title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 8px; }
.drawer a.drawer__link { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 17px; font-weight: 500; }
.drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__grid a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; font-size: 14px; font-weight: 500; }
.drawer__cta { display: grid; gap: 10px; padding-top: 20px; }
.drawer__cta .btn { width: 100%; height: 50px; }
body.drawer-open { overflow: hidden; }

/* ==========================================================================
   Command palette
   ========================================================================== */
.cmdk { position: fixed; inset: 0; z-index: 120; display: none; padding: 10vh 16px 16px; background: rgba(10, 10, 10, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk.is-open { display: block; animation: fade .15s ease; }
.cmdk__box { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .2s ease; }
.cmdk__in { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px; border-bottom: 1px solid var(--line); }
.cmdk__in .ico { color: var(--text-3); }
.cmdk__in input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; font-size: 17px; background: transparent; }
.cmdk__list { max-height: min(58vh, 460px); overflow-y: auto; padding: 8px; }
.cmdk__group { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 12px 10px 6px; }
.cmdk__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; cursor: pointer; }
.cmdk__item .icon-tile { width: 32px; height: 32px; border-radius: 8px; }
.cmdk__item .icon-tile .ico { width: 16px; height: 16px; }
.cmdk__item small { display: block; color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk__item > span { min-width: 0; flex: 1; }
.cmdk__item .ico.go { color: var(--text-3); opacity: 0; }
.cmdk__item[aria-selected="true"] { background: var(--paper-3); }
.cmdk__item[aria-selected="true"] .ico.go { opacity: 1; }
.cmdk__empty { padding: 32px 16px; text-align: center; color: var(--text-3); font-size: 14.5px; }
.cmdk__foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 12px; color: var(--text-3); }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 6px; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { padding: 96px 0; }
.sec--md { padding: 72px 0; }
.sec--sm { padding: 48px 0; }
.sec--alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 36px; flex-wrap: wrap; }
.sec__head .h2 { margin-top: 14px; }
.sec__head .lead { margin-top: 14px; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec--md { padding: 52px 0; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 650; letter-spacing: -.02em; }
.card__title .ico { color: var(--text-2); }
.card__sub { font-size: 13px; color: var(--text-3); }
.card__body { padding: 20px; }
.card + .card { margin-top: 20px; }
.duo > .card, .watch > .card, .pulse-grid > .card, .grow > .card { margin-top: 0; }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--paper-3); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-3); list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--text-2); }
.on-ink .crumbs { color: var(--on-ink-3); }
.on-ink .crumbs a:hover { color: #fff; }
.on-ink .crumbs [aria-current] { color: var(--on-ink-2); }

/* ---------- Ad placeholders (AdSense) ---------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.ad__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #a1a1a1; }
.ad__slot {
  width: 100%; max-width: var(--w, 100%); height: var(--h, 250px);
  border: 1px dashed #cdcdcd; border-radius: 10px;
  background: repeating-linear-gradient(-45deg, #fbfbfb 0 10px, #f3f3f3 10px 20px);
  display: grid; place-items: center; text-align: center; padding: 8px;
  font-family: var(--mono); font-size: 11.5px; color: #9a9a9a; line-height: 1.5;
}
.ad--leader .ad__slot { --w: 728px; --h: 90px; }
.ad--rect .ad__slot { --w: 300px; --h: 250px; }
.ad--sky .ad__slot { --w: 300px; --h: 600px; }
.ad--fluid .ad__slot { --w: 100%; --h: 280px; }
@media (max-width: 760px) {
  .ad--leader .ad__slot { --w: 320px; --h: 100px; }
  .ad--fluid .ad__slot { --w: 336px; --h: 280px; }
}
.ad-band { padding: 28px 0; }
/* Live AdSense units (AdPolicy::unit): the <ins> needs a real width before it is pushed. */
.ad--unit .adsbygoogle { align-self: stretch; width: 100%; }
.ad-band .ad--unit { max-width: 970px; margin-inline: auto; }
body.hide-ads .ad, body.hide-ads .ad-band { display: none !important; }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 10px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--paper-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; letter-spacing: -.015em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #3a3a3a; }
.faq .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .25s, background .2s, color .2s, border-color .2s; }
.faq .pm .ico { width: 15px; height: 15px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .ans { padding: 0 50px 24px 0; color: var(--text-2); line-height: 1.7; }
.faq .ans p + p { margin-top: 10px; }
.faq .ans a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Prose ---------- */
.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.72; }
.prose h2 { color: var(--ink); font-size: clamp(24px, 3vw, 30px); letter-spacing: -.035em; margin: 48px 0 14px; }
.prose h3 { color: var(--ink); font-size: 19px; letter-spacing: -.025em; margin: 30px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--paper-3); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.prose ul { padding-left: 20px; margin-top: 12px; display: grid; gap: 6px; }

/* ---------- Numbered steps ---------- */
.steps-list { list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps-list > li { counter-increment: s; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); }
.steps-list > li:last-child { border-bottom: 1px solid var(--line); }
.steps-list > li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px;
  width: 34px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--ink); color: #fff;
}
.steps-list strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 3px; }
.steps-list p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.label { font-size: 13.5px; font-weight: 600; }
.input, .textarea, .select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; outline: 0;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .08); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }

.check { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; transition: .15s; user-select: none; }
.check:hover { border-color: var(--line-2); background: var(--paper-2); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c4c4c4; display: grid; place-items: center; flex: none; transition: .15s; }
.check__box .ico { width: 12px; height: 12px; stroke-width: 3; color: #fff; opacity: 0; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.check small { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-3); font-weight: 400; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); outline: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); cursor: grab; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(10, 10, 10, .15); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: .25s;
}
.toast .ico { color: var(--up-hi); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mockup control (design review only) ---------- */
.mock-ctl {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2);
  box-shadow: var(--shadow); font-size: 12.5px; font-weight: 500; color: var(--text-2);
}
.mock-ctl b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.mock-ctl button { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 12.5px; }
@media (max-width: 640px) { .mock-ctl b { display: none; } }

/* ==========================================================================
   Service status cards (shared by home + status pages)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .15s, box-shadow .2s, transform .2s;
  animation: rise .35s ease both;
}
.svc:hover { border-color: #cdcdcd; box-shadow: var(--shadow); transform: translateY(-2px); }
.svc__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.svc__id { min-width: 0; }
.svc__name { font-weight: 650; font-size: 15px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc__dom { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc__top .pill { margin-left: auto; }
.svc__spark { width: 100%; height: 38px; }
.svc__meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.svc__meta b { color: var(--ink); font-weight: 500; }
.svc--down { border-color: #d6d6d6; }
.svc--down .svc__note, .svc--issues .svc__note { font-size: 12.5px; color: var(--text-2); margin-top: -6px; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* Spark lines */
.spark-line { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark-area { fill: url(#ub-fade); stroke: none; }
.spark-bar { fill: #d4d4d4; }
.spark-bar.hi { fill: var(--ink); }

/* Live rows */
.rows { list-style: none; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; transition: background .15s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--paper-2); }
.row__main { min-width: 0; }
.row__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__end { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.row.is-new { animation: row-in .5s ease; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); background: var(--paper-3); } }

/* ==========================================================================
   Page layout with sidebar
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.side { display: grid; gap: 20px; align-content: start; }
.side__sticky { position: sticky; top: calc(var(--hdr) + 20px); }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.side-card__head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; display: flex; align-items: center; justify-content: space-between; }
.side-card__body { padding: 16px 18px; }
.side-list { list-style: none; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 14px; border-bottom: 1px solid var(--line); transition: background .15s; }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { background: var(--paper-2); }
.side-list .end { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.side-list .ico { color: var(--text-2); width: 16px; height: 16px; }
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side__sticky { position: static; }
  .side .ad--sky { display: none; }
}
@media (max-width: 640px) { .side { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--ink); color: #fff; padding: 80px 0 32px; position: relative; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.ftr__brand p { color: var(--on-ink-2); font-size: 14.5px; margin-top: 16px; max-width: 30ch; line-height: 1.6; }
.ftr h4, .ftr .ftr__h { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); margin: 0 0 14px; line-height: 1.55; }
.ftr ul { list-style: none; display: grid; gap: 9px; }
.ftr ul a { font-size: 14px; color: #c4c4c4; transition: color .15s; }
.ftr ul a:hover { color: #fff; }
.ftr__word { font-size: clamp(64px, 17vw, 236px); font-weight: 800; letter-spacing: -.07em; line-height: .8; margin: 72px 0 0; color: #2e2e2e; user-select: none; white-space: nowrap; }
/* lighter at the top, fading into the footer (owner, 8 Nov 2026: the old #161616 was barely visible) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ftr__word { background: linear-gradient(180deg, #4a4a4a 0%, #2c2c2c 55%, #1a1a1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.ftr__bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--on-ink-3); position: relative; }
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__bot a:hover { color: #fff; }
.ftr__choices { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.ftr__choices:hover { color: #fff; }
.ftr__choices:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 960px) { .ftr__top { grid-template-columns: repeat(2, 1fr); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__top { gap: 32px 20px; } }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: 84px 0 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 72%);
}
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -360px; width: 1100px; height: 720px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); pointer-events: none; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-size: 13px; color: #d4d4d4; }
.hero__badge b { color: #fff; font-weight: 600; }
.hero__badge .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .16); }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); letter-spacing: -.055em; line-height: .96; font-weight: 700; margin: 28px auto 0; max-width: 14ch; }
.hero h1 .mute { color: #6f6f6f; }
.hero__sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--on-ink-2); max-width: 640px; margin: 22px auto 0; line-height: 1.55; }

.checker {
  display: flex; align-items: center; gap: 8px; max-width: 740px; margin: 38px auto 0; padding: 8px;
  background: #fff; border-radius: 18px; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 8px rgba(255, 255, 255, .04), 0 30px 80px -20px rgba(0, 0, 0, .8);
  transition: box-shadow .2s;
}
.checker:focus-within { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 8px rgba(255, 255, 255, .1), 0 30px 80px -20px rgba(0, 0, 0, .8); }
.checker__icon { color: #9a9a9a; margin-left: 12px; }
.checker label { display: contents; }
.checker input { flex: 1; min-width: 0; height: 54px; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--ink); }
.checker input::placeholder { color: #a3a3a3; }
.checker .btn { height: 54px; border-radius: 12px; padding: 0 24px; font-size: 16px; }
.checker .kbd--paper { margin-right: 4px; }
@media (max-width: 640px) {
  .checker { flex-wrap: wrap; padding: 6px; border-radius: 16px; }
  .checker input { height: 50px; font-size: 16px; }
  .checker .btn { width: 100%; height: 50px; }
  .checker .kbd--paper { display: none; }
}

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 780px; }
.chips__label { font-size: 13px; color: var(--on-ink-3); height: 32px; display: inline-flex; align-items: center; margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); font-size: 13.5px; font-weight: 500; color: #d4d4d4; transition: .15s; }
.chip:hover { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .07); }

.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-size: 13.5px; color: var(--on-ink-3); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .ico { width: 15px; height: 15px; color: #d4d4d4; }

/* Live check result */
.result { display: none; max-width: 740px; margin: 14px auto 0; text-align: left; background: #111; border: 1px solid #262626; border-radius: 18px; overflow: hidden; }
.result.is-open { display: block; animation: rise .3s ease; }
.result__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #222; font-family: var(--mono); font-size: 12.5px; color: var(--on-ink-3); }
.result__bar b { color: #e5e5e5; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result__bar .tag { background: #1d1d1d; border-color: #2a2a2a; color: #9a9a9a; }
.rsteps { list-style: none; padding: 14px 18px; display: grid; gap: 9px; font-family: var(--mono); font-size: 13px; color: #5a5a5a; }
.rstep { display: flex; align-items: center; gap: 10px; }
.rstep__i { width: 18px; height: 18px; display: grid; place-items: center; flex: none; }
.rstep__i .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.rstep__v { margin-left: auto; color: #8a8a8a; }
.rstep.is-active { color: #e5e5e5; }
.rstep.is-done { color: #bdbdbd; }
.rstep.is-done .rstep__i { color: var(--up-hi); }
.rstep.is-fail { color: #fca5a5; }
.rstep.is-fail .rstep__i { color: var(--down-hi); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3a3a3a; border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rverdict { display: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 18px; border-top: 1px solid #222; background: #0d0d0d; }
.rverdict.is-on { display: grid; animation: rise .3s ease; }
.rverdict h3 { font-size: 22px; letter-spacing: -.03em; }
.rverdict p { font-size: 14px; color: var(--on-ink-2); margin-top: 4px; }
.rverdict .btn { height: 42px; }
@media (max-width: 640px) { .rverdict { grid-template-columns: auto minmax(0, 1fr); } .rverdict .btn { grid-column: 1 / -1; width: 100%; } }

.vicon { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.vicon .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.vicon--up { background: rgba(74, 222, 128, .12); color: var(--up-hi); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .35); }
.vicon--issues { background: rgba(251, 191, 36, .12); color: var(--warn-hi); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); }
.vicon--down { background: rgba(248, 113, 113, .12); color: var(--down-hi); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .35); }
.vicon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid currentColor; opacity: .0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }

/* Hero stat strip */
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--ink-line); }
.hero__stat { padding: 26px 20px 30px; text-align: left; border-left: 1px solid var(--ink-line); }
.hero__stat:first-child { border-left: 0; }
.hero__stat b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 650; letter-spacing: -.04em; color: #fff; }
.hero__stat span { font-size: 13.5px; color: var(--on-ink-3); }
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } .hero__stat:nth-child(3) { border-left: 0; } .hero__stat:nth-child(n+3) { border-top: 1px solid var(--ink-line); } }

/* Two-column live lists */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* Category grid */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .15s, box-shadow .2s; }
.cat:hover { border-color: #cdcdcd; box-shadow: var(--shadow); }
.cat__top { display: flex; align-items: center; justify-content: space-between; }
.cat__count { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.cat__name { font-size: 18px; font-weight: 650; letter-spacing: -.025em; margin-top: 18px; }
.cat__desc { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.5; }
.cat__list { list-style: none; margin-top: 16px; }
.cat__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); transition: color .15s; }
.cat__list a .ico { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: .15s; }
.cat__list a:hover { color: var(--ink); }
.cat__list a:hover .ico { opacity: 1; transform: none; }
.cat__more { margin-top: auto; padding-top: 14px; }
.cat--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat--ink .icon-tile { background: #fff; color: var(--ink); border-color: #fff; }
.cat--ink .cat__desc, .cat--ink .cat__list a { color: var(--on-ink-2); }
.cat--ink .cat__list a { border-top-color: var(--ink-line); }
.cat--ink .cat__list a:hover { color: #fff; }
.cat--ink .cat__count { color: var(--on-ink-3); }
@media (max-width: 1080px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: minmax(0, 1fr); } }

/* Featured tools bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.bx { position: relative; grid-column: span 3; display: flex; flex-direction: column; min-height: 240px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .2s; }
.bx:hover { border-color: #cdcdcd; box-shadow: var(--shadow); }
.bx--6 { grid-column: span 6; min-height: 300px; }
.bx--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.bx__name { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.bx__desc { font-size: 14px; color: var(--text-2); margin-top: 6px; max-width: 38ch; }
.bx--ink .bx__desc { color: var(--on-ink-2); }
.bx__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bx__go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .2s; flex: none; }
.bx:hover .bx__go { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
.bx--ink .bx__go { border-color: var(--ink-line); }
.bx--ink:hover .bx__go { background: #fff; color: var(--ink); border-color: #fff; }
.bx__stretch::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1080px) { .bx { grid-column: span 6; } .bx--6 { grid-column: span 12; } }
@media (max-width: 560px) { .bx, .bx--6 { grid-column: span 12; } }

.ipbig { font-family: var(--mono); font-size: clamp(30px, 4.4vw, 50px); font-weight: 500; letter-spacing: -.04em; margin-top: 26px; line-height: 1; }
.ipmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ipmeta span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #1a1a1a; border: 1px solid #262626; font-size: 12.5px; color: #cfcfcf; }
.ipmeta .ico { width: 14px; height: 14px; }
.pwdemo { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 6px 6px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper-2); position: relative; z-index: 1; }
.pwdemo code { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(15px, 2vw, 19px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background .25s; }
.meter i.on { background: var(--ink); }
.meter-label { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--text-3); font-family: var(--mono); }
.meter-label b { color: var(--ink); font-weight: 600; }
.qr-mini { width: 108px; height: 108px; margin-top: 18px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.code-mini { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-2); white-space: pre; overflow: hidden; }
.code-mini b { color: var(--ink); font-weight: 600; }
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.statrow div { padding: 10px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.statrow b { display: block; font-size: 18px; letter-spacing: -.03em; }
.statrow span { font-size: 11.5px; color: var(--text-3); }
.compress { margin-top: 18px; display: grid; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.compress__bar { height: 8px; border-radius: 8px; background: var(--paper-3); overflow: hidden; }
.compress__bar i { display: block; height: 100%; border-radius: 8px; background: var(--ink); }
.compress__row { display: flex; justify-content: space-between; }
.compress__row b { color: var(--ink); font-weight: 600; }

/* Education split */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.layers { display: grid; gap: 10px; margin-top: 28px; }
.layer { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.layer__k { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; text-align: center; }
.layer__t { font-weight: 600; font-size: 14.5px; }
.layer__d { font-size: 13px; color: var(--text-3); }
.tipcard { border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 28px; position: sticky; top: calc(var(--hdr) + 24px); }
.tipcard h3 { font-size: 22px; letter-spacing: -.03em; }
.tipcard > p { color: var(--on-ink-2); font-size: 14.5px; margin-top: 8px; }
.tiplist { list-style: none; counter-reset: t; margin-top: 20px; display: grid; gap: 2px; }
.tiplist li { counter-increment: t; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--ink-line); font-size: 14.5px; color: #d4d4d4; }
.tiplist li::before { content: counter(t); width: 24px; height: 24px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: #fff; }
.tiplist b { color: #fff; font-weight: 600; display: block; }
.tiplist code { font-family: var(--mono); font-size: 12px; background: #1c1c1c; border: 1px solid #2a2a2a; padding: 1px 6px; border-radius: 5px; color: #e5e5e5; }

/* FAQ split */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .faq-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* CTA panel */
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; border-radius: 28px; background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 60%); }
.cta .h2 .mute { color: #6f6f6f; }
.cta__list { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.cta__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #d4d4d4; }
.cta__list .ico { width: 16px; height: 16px; color: #fff; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
@media (max-width: 960px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; } }

.codewin { border-radius: 16px; border: 1px solid #262626; background: #111; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.codewin__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #222; }
.codewin__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2e2e2e; }
.codewin__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #6f6f6f; }
.codewin pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #a3a3a3; overflow-x: auto; }
.codewin .k { color: #fff; }
.codewin .s { color: #cfcfcf; }
.codewin .c { color: #5a5a5a; }
.codewin .g { color: var(--up-hi); }

/* ==========================================================================
   STATUS PAGE
   ========================================================================== */
.shero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: 28px 0 0; }
.shero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 85% 0%, #000 10%, transparent 70%); }
.shero__id { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.shero h1 { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -.045em; line-height: 1.02; }
.shero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 14px; color: var(--on-ink-2); }
.shero__meta a { display: inline-flex; align-items: center; gap: 4px; color: #d4d4d4; }
.shero__meta a:hover { color: #fff; }
.shero__meta .mono { color: #d4d4d4; }
@media (max-width: 640px) { .shero__id { align-items: flex-start; gap: 14px; } .shero__id .mono-tile--lg { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; } }

.verdict { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 32px; padding: 26px; border-radius: 20px; background: linear-gradient(180deg, #151515, #101010); border: 1px solid #262626; }
.verdict .vicon { width: 68px; height: 68px; }
.verdict .vicon .ico { width: 32px; height: 32px; }
.verdict h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.04em; }
.verdict p { color: var(--on-ink-2); font-size: 15px; margin-top: 6px; max-width: 60ch; }
.verdict__live { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--on-ink-3); }
.verdict__live span { display: inline-flex; align-items: center; gap: 6px; }
.verdict__live b { color: #d4d4d4; font-weight: 500; }
.verdict__btns { display: flex; flex-direction: column; gap: 8px; }
.verdict__btns .btn { width: 100%; }
@media (max-width: 860px) {
  .verdict { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 16px 18px; }
  .verdict__btns { grid-column: 1 / -1; flex-direction: row; }
  .verdict__btns .btn { flex: 1; }
  .verdict .vicon { width: 52px; height: 52px; }
  .verdict .vicon .ico { width: 24px; height: 24px; }
}

/* KPI bar: one row on wide screens however many cells there are, then 4 and 2 a row. */
.kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 32px 0 0; border-top: 1px solid var(--ink-line); }
.kpi { min-width: 0; padding: 22px 18px 26px; border-left: 1px solid var(--ink-line); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi dd { margin: 8px 0 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 650; letter-spacing: -.035em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.kpi dd small { font-size: 13px; font-weight: 500; color: var(--on-ink-3); letter-spacing: 0; }
@media (max-width: 1100px) {
  .kpis { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpi:nth-child(4n+1) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+5) { border-top: 1px solid var(--ink-line); }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(n) { border-left: 1px solid var(--ink-line); padding-left: 18px; }
  .kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
  .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.diag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.diag__cells { display: contents; } /* the cells and the ad (status page) share one grid */
.diag__cell { padding: 18px 20px; border-left: 1px solid var(--line); }
.diag__cell:nth-child(4n+1) { border-left: 0; }
.diag__cell:nth-child(n+5) { border-top: 1px solid var(--line); }
.diag__k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.diag__k .ico { width: 16px; height: 16px; }
.diag__v { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.diag__d { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 4px; overflow-wrap: anywhere; }
@media (max-width: 860px) { .diag { grid-template-columns: repeat(2, minmax(0, 1fr)); } .diag__cell:nth-child(n) { border-left: 1px solid var(--line); } .diag__cell:nth-child(odd) { border-left: 0; } .diag__cell:nth-child(n+3) { border-top: 1px solid var(--line); } }
.raw { border-top: 1px solid var(--line); }
.raw summary { display: flex; align-items: center; gap: 8px; padding: 14px 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; color: var(--text-2); }
.raw summary::-webkit-details-marker { display: none; }
.raw summary:hover { color: var(--ink); }
.raw summary .ico { transition: transform .2s; width: 16px; height: 16px; }
.raw[open] summary .ico { transform: rotate(90deg); }
.raw pre { margin: 0; padding: 16px 20px; background: var(--ink); color: #bdbdbd; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; overflow-x: auto; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.raw pre b { color: #fff; font-weight: 500; }

.vote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.vote__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.vote__btns .btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.vote__bar { display: flex; height: 10px; border-radius: 10px; overflow: hidden; background: var(--paper-3); margin-top: 16px; }
.vote__bar i { display: block; height: 100%; transition: width .5s ease; }
.vote__bar .yes { background: var(--ink); }
.vote__bar .no { background: repeating-linear-gradient(-45deg, #bdbdbd 0 4px, #d6d6d6 4px 8px); }
.vote__legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--text-3); }
.vote__legend b { color: var(--ink); }
.vote__legend span { display: inline-flex; align-items: center; gap: 6px; }
.vote__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
@media (max-width: 720px) { .vote { grid-template-columns: minmax(0, 1fr); } }

.chart { position: relative; height: 240px; margin-left: 44px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart__y { position: absolute; left: -44px; top: 0; bottom: 0; width: 38px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.chart__y span { position: absolute; right: 0; transform: translateY(-50%); }
.chart__x { display: flex; justify-content: space-between; margin: 10px 0 0 44px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.chart__grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart__area { fill: url(#ub-fade-lg); }
.chart__bar { fill: #cfcfcf; }
.chart__bar.hi { fill: var(--ink); }
.chart__base { stroke: var(--line-2); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart__hover { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .1s; }
.chart__tip { position: absolute; top: -8px; transform: translate(-50%, -100%); padding: 7px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s; font-family: var(--mono); box-shadow: var(--shadow); }
.chart__tip b { font-family: var(--font); font-weight: 600; }
.chart:hover .chart__hover, .chart:hover .chart__tip { opacity: 1; }
.chart-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.chart-stats div { background: #fff; padding: 14px 20px; }
.chart-stats span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.chart-stats b { font-size: 18px; letter-spacing: -.03em; font-weight: 650; }
@media (max-width: 640px) { .chart { height: 180px; margin-left: 36px; } .chart__y { left: -36px; width: 30px; } .chart__x { margin-left: 36px; } .chart-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.probs { display: grid; gap: 14px; }
.prob__top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.prob__top b { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.prob__bar { height: 8px; border-radius: 8px; background: var(--paper-3); overflow: hidden; }
.prob__bar i { display: block; height: 100%; background: var(--ink); border-radius: 8px; transform-origin: left; animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fix { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fix__n { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.fix h3 { font-size: 16px; letter-spacing: -.02em; margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.fix p { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.fix code { font-family: var(--mono); font-size: 12px; background: var(--paper-3); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
@media (max-width: 640px) { .fixes { grid-template-columns: minmax(0, 1fr); } }

.comments { list-style: none; }
.cmt { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cmt:last-child { border-bottom: 0; }
.cmt__av { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--text-2); }
.cmt__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--text-3); }
.cmt__meta b { color: var(--ink); font-weight: 600; }
.cmt p { font-size: 14.5px; margin-top: 4px; color: #262626; }
.cmt-form { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--paper-2); border-radius: 0 0 var(--r-lg) var(--r-lg); display: grid; gap: 10px; }
.cmt-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }

.stack { display: grid; gap: 20px; }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 20px 0 14px; }
.sec-title h2 { font-size: 24px; letter-spacing: -.035em; }

/* ==========================================================================
   TOOL PAGE
   ========================================================================== */
.thead { padding: 32px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), #fff); }
.thead__row { display: flex; align-items: flex-start; gap: 20px; margin-top: 24px; }
.thead__row .icon-tile { width: 60px; height: 60px; border-radius: 16px; }
.thead__row .icon-tile .ico { width: 28px; height: 28px; }
.thead .lead { margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; color: var(--text-2); }
.badge .ico { width: 14px; height: 14px; color: var(--ink); }
@media (max-width: 640px) { .thead__row { flex-direction: column; gap: 14px; } .thead__row .icon-tile { width: 48px; height: 48px; } }

.tool { border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.tool__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); flex-wrap: wrap; }
.tool__body { padding: 24px; }
.tool__foot { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 12.5px; color: var(--text-3); }
.tool__foot .ico { width: 14px; height: 14px; color: var(--ink); }
@media (max-width: 640px) { .tool__body { padding: 16px; } }

.pwout { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; }
.pwout__text { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(17px, 2.6vw, 26px); font-weight: 500; letter-spacing: .02em; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 10px 0; }
.pwout__text::-webkit-scrollbar { display: none; }
.pwout__text .d { color: #737373; }
.pwout__text .s { color: #737373; font-weight: 600; }
.pwout .btn { height: 46px; }
.pwstrength { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; margin-top: 16px; }
.pwstrength .meter { margin: 0; grid-column: 1 / -1; }
.pwstrength .meter i { height: 6px; }
.pwstrength__label { font-weight: 650; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pwstrength__meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-align: right; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .opts { grid-template-columns: minmax(0, 1fr); } }
.lenrow { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 16px; align-items: center; }
.lenrow .input { text-align: center; font-family: var(--mono); font-weight: 600; }
.tool__sec { margin-top: 24px; }
.tool__sec > .label { display: flex; justify-content: space-between; margin-bottom: 10px; }
.tool__sec > .label span { font-weight: 400; color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.tool__actions { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.tool__actions .btn--ink { flex: 1; min-width: 200px; height: 50px; }
.tool__actions .btn--line { height: 50px; }
.bulk { list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bulk li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); }
.bulk li:last-child { border-bottom: 0; }
.bulk code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulk li:hover { background: var(--paper-2); }
.tmpl-note { display: none; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; }
.tmpl-note.is-on { display: flex; }
.tmpl-note b { font-weight: 600; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rel { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .15s; }
.rel:hover { border-color: #cdcdcd; box-shadow: var(--shadow); }
.rel b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
.rel span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; line-height: 1.45; }
@media (max-width: 860px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   TOOLS DIRECTORY
   ========================================================================== */
.dhero { padding: 64px 0 40px; background: var(--paper-2); border-bottom: 1px solid var(--line); text-align: center; }
.dhero .lead { margin: 16px auto 0; }
.dsearch { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 32px auto 0; padding: 0 8px 0 18px; height: 60px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: .15s; }
.dsearch:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .08), var(--shadow); }
.dsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font-size: 17px; background: transparent; }
.dsearch .ico { color: var(--text-3); }
.dsearch__count { font-family: var(--mono); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.dnav { position: sticky; top: var(--hdr); z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dnav__in { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.dnav__in::-webkit-scrollbar { display: none; }
.dnav a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--text-2); transition: .15s; }
.dnav a:hover { border-color: var(--line-2); color: var(--ink); }
.dnav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.dnav a .ico { width: 15px; height: 15px; }
.dnav a small { font-family: var(--mono); font-size: 11px; opacity: .6; }
.dcat { padding: 52px 0 8px; }
.dcat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.dcat__head h2 { font-size: 26px; letter-spacing: -.035em; }
.dcat__head p { font-size: 14.5px; color: var(--text-2); margin-top: 3px; }
.dcat__head .icon-tile { width: 48px; height: 48px; border-radius: 12px; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 150px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .2s, transform .2s; }
.tcard:hover { border-color: #cdcdcd; box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; }
.tcard b { font-size: 15px; font-weight: 650; letter-spacing: -.015em; }
.tcard p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin-top: -6px; }
.tcard .go { position: absolute; right: 16px; bottom: 16px; color: var(--text-3); opacity: 0; transition: .15s; }
.tcard:hover .go { opacity: 1; color: var(--ink); }
@media (max-width: 1080px) { .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tgrid { grid-template-columns: minmax(0, 1fr); } .tcard { min-height: 0; } }
.dempty { display: none; text-align: center; padding: 80px 0; }
.dempty.is-on { display: block; }
.dempty .icon-tile { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 14px; }

/* House placeholder where an AdSense unit goes (AdPolicy::house): holds the space, advertises the space */
.ad--house { align-items: stretch; }
.ad__house { position: relative; isolation: isolate; overflow: hidden; flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 14px; row-gap: 10px; min-height: 96px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); color: var(--text); text-decoration: none; transition: border-color .15s, background-color .15s; }
.ad__house::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(10, 10, 10, .07) 1px, transparent 1.3px); background-size: 12px 12px; -webkit-mask-image: linear-gradient(110deg, transparent 40%, #000); mask-image: linear-gradient(110deg, transparent 40%, #000); }
.ad__house:hover { border-color: var(--line-2); background: var(--paper-3); }
.ad__house:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ad__house-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; align-self: start; background: var(--ink); color: #fff; }
.ad__house-mark .ico { width: 20px; height: 20px; }
.ad__house-t { display: grid; gap: 3px; min-width: 0; }
.ad__house-t b { font-size: 15px; letter-spacing: -.015em; }
.ad__house-t span { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.ad__house-go { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ad__house-go .ico { width: 14px; height: 14px; transition: transform .15s; }
.ad__house:hover .ad__house-go .ico { transform: translateX(3px); }
/* Horizontal placements (ad--row: under the check result, between home sections): one row, mark · text · link */
.ad--row { max-width: 970px; margin-inline: auto; }
.ad--row .ad--unit .adsbygoogle, .ad--row .adsbygoogle { min-height: 90px; }
.ad--row .ad__house { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; min-height: 90px; }
.ad--row .ad__house-mark { align-self: center; }
.ad--row .ad__house-go { grid-column: 3; grid-row: 1; white-space: nowrap; }
@media (max-width: 640px) {
  .ad--row .ad__house { grid-template-columns: auto minmax(0, 1fr); }
  .ad--row .ad__house-go { grid-column: 2; grid-row: auto; }
}
/* Recommended AdSense size on every placeholder (AdPolicy::sizeChip; owner, 8 Nov 2026). A row carries every standard
   banner; container queries on the slot show the largest that fits its width on this screen. The chip takes its
   colour from the text around it, so it reads on the light and the dark placeholders alike. */
.ad--house { container: adslot / inline-size; }
.ad__size { display: inline-flex; padding: 1px 7px; border: 1px solid color-mix(in srgb, currentColor 26%, transparent); border-radius: 999px; font: 500 10.5px/1.25 var(--mono); letter-spacing: .04em; color: color-mix(in srgb, currentColor 66%, transparent); white-space: nowrap; }
/* beside the title, or flush left under it when the space is narrow */
.ad__house-t > b:has(> .ad__size) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ad__sz { display: none; }
.ad__sz--one, .ad__sz--234 { display: inline; }
@container adslot (min-width: 300px) { .ad__sz--234 { display: none; } .ad__sz--300 { display: inline; } }
@container adslot (min-width: 320px) { .ad__sz--300 { display: none; } .ad__sz--320 { display: inline; } }
@container adslot (min-width: 468px) { .ad__sz--320 { display: none; } .ad__sz--468 { display: inline; } }
@container adslot (min-width: 728px) { .ad__sz--468 { display: none; } .ad__sz--728 { display: inline; } }
@container adslot (min-width: 970px) { .ad__sz--728 { display: none; } .ad__sz--970 { display: inline; } }
/* auto (status-top): beside the cards on a wide screen the slot is a box, and takes a rectangle */
@media (min-width: 641px) { @container adslot (max-width: 467px) { .ad__size--auto .ad__sz { display: none; } .ad__size--auto .ad__sz--box { display: inline; } } }
/* the report window's sponsor box: top-right, across from "UtiBox Ads" */
.rmodal__house > .ad__size { position: absolute; top: 18px; right: 18px; margin: 0; }

/* ---------- The cookie box (views/partials/consent.php + assets/js/consent.js; owner, 8 Nov 2026: GDPR consent) ----------
   Floating, bottom-left, never blocks the page. "Reject all" and "Accept all" are styled the same (no nudging).
   Dark in the default look, white in light mode. [hidden] is set explicitly: a display value would otherwise beat it. */
.ckbox { position: fixed; left: 16px; bottom: 16px; z-index: 400; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 18px 16px; border: 1px solid #2a2a2a; border-radius: 18px; background: #0f0f0f; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 24px 60px -18px rgba(0, 0, 0, .65); animation: ckin .3s cubic-bezier(.2, .8, .2, 1) both; }
.ckbox[hidden], .ckbox__view[hidden] { display: none; }
.ckbox.is-out { opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s; }
@keyframes ckin { from { opacity: 0; transform: translateY(12px); } }
.ckbox__t { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; outline: none; }
.ckbox__t:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.ckbox__ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.ckbox__ico .ico { width: 16px; height: 16px; }
.ckbox__p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: #a3a3a3; }
.ckbox__p b { color: #e5e5e5; font-weight: 600; }
.ckbox__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 8px 0 0; font-size: 12.5px; }
.ckbox__links a { color: #d4d4d4; text-decoration: underline; text-underline-offset: 2px; }
.ckbox__links a:hover { color: #fff; }
.ckbox__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
/* Notice rows (owner, 8 Nov 2026: inform, no choice): links on the left, "Got it" on the right. */
.ckbox__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 12px; }
.ckbox__row .ckbox__links { margin: 0; }
.ckbox__ok { min-width: 112px; justify-content: center; }
.ckbox__more { font-size: 13px; color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 2px; }
.ckbox__cat a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ckbox__b { flex: 1 1 0; justify-content: center; min-width: 110px; border: 1px solid #fff; background: #fff; color: #0a0a0a; }
.ckbox__b:hover { background: #e8e8e8; border-color: #e8e8e8; }
.ckbox__manage { appearance: none; margin: 0 0 0 auto; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ckbox__manage:hover { color: #fff; }
.ckbox__cats { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ckbox__cat { padding: 12px 12px 11px; border: 1px solid #262626; border-radius: 12px; background: #151515; }
.ckbox__ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ckbox__ch b { font-size: 14px; font-weight: 600; }
.ckbox__cat p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #a3a3a3; }
.ckbox__cat code { font-size: 11.5px; color: #d4d4d4; }
.ckbox__tag { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--up-hi); white-space: nowrap; }
.ckbox__tag--off { color: #737373; }
.ckbox__sw { position: relative; flex: none; width: 42px; height: 24px; padding: 0; border: 1px solid #3a3a3a; border-radius: 999px; background: #262626; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ckbox__knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #a3a3a3; transition: transform .15s, background-color .15s; }
.ckbox__sw[aria-checked="true"] { border-color: #fff; background: #fff; }
.ckbox__sw[aria-checked="true"] .ckbox__knob { transform: translateX(18px); background: #0a0a0a; }
.ckbox__sw:focus-visible, .ckbox__manage:focus-visible, .ckbox__links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) {
  .ckbox { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px 14px 12px; border-radius: 16px; }
  .ckbox__t { font-size: 15px; }
  .ckbox__ico { width: 26px; height: 26px; border-radius: 8px; }
  .ckbox__p { margin-top: 8px; font-size: 13px; line-height: 1.5; }
  .ckbox__btns { margin-top: 12px; }
  .ckbox__b { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .ckbox { animation: none; } .ckbox.is-out { transition: none; } }
[data-theme="light"] .ckbox { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 24px 60px -24px rgba(0, 0, 0, .3); }
[data-theme="light"] .ckbox__t:focus-visible, [data-theme="light"] .ckbox__sw:focus-visible, [data-theme="light"] .ckbox__manage:focus-visible, [data-theme="light"] .ckbox__links a:focus-visible { outline-color: var(--ink); }
[data-theme="light"] .ckbox__ico { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="light"] .ckbox__p, [data-theme="light"] .ckbox__cat p { color: var(--text-2); }
[data-theme="light"] .ckbox__p b, [data-theme="light"] .ckbox__cat code { color: var(--ink); }
[data-theme="light"] .ckbox__links a, [data-theme="light"] .ckbox__manage { color: var(--ink); }
[data-theme="light"] .ckbox__b { border-color: var(--ink); background: var(--ink); color: #fff; }
[data-theme="light"] .ckbox__b:hover { border-color: #2a2a2a; background: #2a2a2a; }
[data-theme="light"] .ckbox__cat { border-color: var(--line); background: var(--paper-2); }
[data-theme="light"] .ckbox__tag { color: var(--up); }
[data-theme="light"] .ckbox__tag--off { color: var(--text-3); }
[data-theme="light"] .ckbox__sw { border-color: var(--line-2); background: #e5e5e5; }
[data-theme="light"] .ckbox__knob { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
[data-theme="light"] .ckbox__sw[aria-checked="true"] { border-color: var(--ink); background: var(--ink); }
[data-theme="light"] .ckbox__sw[aria-checked="true"] .ckbox__knob { background: #fff; }

/* assets/css/layouts/site.css */
/* ==========================================================================
   UtiBox — Design 1 v2 additions
   Engagement features + clean ad formats. Loads after ub.css.
   ========================================================================== */

:root { --amap: #2563eb; }
.inline-ico { display: inline-block; vertical-align: -2px; color: var(--ink); }
.mega { width: 760px; left: -150px; }
.mega__grid { grid-template-columns: repeat(3, 1fr); }
body.hide-ads [data-ad] { display: none !important; }
.is-off { display: none !important; }

/* ---------- Hero additions ---------- */
/* Decorative heartbeat trace (pulse-trace.js), behind the hero headline. Sits above the grid, below the content. */
.pulse-trace { position: absolute; left: 0; width: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  animation: fade 1.2s ease both .2s; }
.connbtn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--on-ink-2); border: 1px dashed rgba(255, 255, 255, .18); transition: .15s; }
.connbtn b { color: #fff; font-weight: 600; }
.connbtn .ico { width: 16px; height: 16px; }
.connbtn:hover { border-color: rgba(255, 255, 255, .45); color: #d4d4d4; }
.connbtn:hover .ico:last-child { transform: translateX(2px); }
.dig { display: none; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border-top: 1px solid #222; background: #0d0d0d; }
.dig.on { display: flex; animation: rise .3s ease; }
.dig__l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-3); margin-right: 4px; }
.dig a, .dig button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #2e2e2e; background: #161616; color: #d4d4d4; font-size: 13px; font-weight: 500; transition: .15s; }
.dig a:hover, .dig button:hover { border-color: #5a5a5a; color: #fff; }
.dig .ico { width: 14px; height: 14px; }
.dig .dig__alert { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.dig .dig__alert:hover { background: #e5e5e5; color: var(--ink); }
.dig [aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.rad { max-width: 740px; margin: 14px auto 0; animation: rise .35s ease; }
.ad--dark .ad__label { color: #6f6f6f; }
.ad--dark .ad__slot { --w: 728px; --h: 90px; border-color: #333; color: #6f6f6f; background: repeating-linear-gradient(-45deg, #121212 0 10px, #171717 10px 20px); }
@media (max-width: 760px) { .ad--dark .ad__slot { --w: 336px; --h: 280px; } }

/* ---------- Watchlist + recent tools ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 960px) { .watch { grid-template-columns: minmax(0, 1fr); } }
.watch__list { display: flex; gap: 10px; padding: 16px; overflow-x: auto; scrollbar-width: thin; min-height: 128px; align-items: stretch; }
.wcard { position: relative; flex: 1 0 150px; max-width: 220px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; animation: rise .3s ease both; }
.wcard:hover { border-color: #cdcdcd; box-shadow: var(--shadow); }
.wcard__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wcard__top b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard__st { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.wcard__x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--text-3); opacity: 0; transition: .15s; z-index: 2; }
.wcard:hover .wcard__x, .wcard__x:focus-visible { opacity: 1; }
.wcard__x:hover { background: var(--paper-3); color: var(--ink); }
.wcard__x .ico { width: 13px; height: 13px; }
.wcard__link { position: absolute; inset: 0; border-radius: 12px; z-index: 1; }
.wcard--down { border-color: var(--ink); }
.wadd { flex: none; width: 150px; display: grid; place-items: center; align-content: center; gap: 6px; border: 1.5px dashed var(--line-2); border-radius: 12px; color: var(--text-2); font-size: 13px; font-weight: 600; text-align: center; padding: 12px; transition: .15s; }
.wadd:hover { border-color: var(--ink); color: var(--ink); }
.wempty { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 4px; }
.wempty p { font-size: 14px; color: var(--text-2); }
.wempty__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wempty__chips button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }
.wempty__chips button:hover { border-color: var(--ink); }
.recent-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; align-content: flex-start; }
.rchip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; transition: .15s; }
.rchip:hover { border-color: var(--ink); }
.rchip .icon-tile { width: 26px; height: 26px; border-radius: 7px; }
.rchip .icon-tile .ico { width: 14px; height: 14px; }
.recent-tools__note { width: 100%; font-size: 12.5px; color: var(--text-3); margin-bottom: 2px; }

/* ---------- Live board v2 cards ---------- */
.svc__link { position: absolute; inset: 0; border-radius: 14px; z-index: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc__acts { display: flex; gap: 6px; position: relative; z-index: 2; }
.ib { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; color: var(--text-2); transition: .15s; }
.ib .ico { width: 14px; height: 14px; }
.ib:hover { border-color: var(--ink); color: var(--ink); }
.ib[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ib--bell { border-color: var(--ink); color: var(--ink); }
.svc--ad { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 14px; border: 1px dashed #cdcdcd; background: repeating-linear-gradient(-45deg, #fbfbfb 0 10px, #f4f4f4 10px 20px); text-align: center; min-height: 172px; }
.svc--ad:hover { transform: none; box-shadow: none; border-color: #cdcdcd; }
.svc--ad .ad__label { align-self: flex-start; }
.svc-ad__slot { flex: 1; display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: #9a9a9a; line-height: 1.5; }

/* ---------- Internet pulse ---------- */
.pulse-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 960px) { .pulse-grid { grid-template-columns: minmax(0, 1fr); } }
.pulse { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: var(--ink); color: #fff; padding: 26px 26px 0; display: flex; flex-direction: column; }
.pulse::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; }
.pulse__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pulse__big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.pulse__big b { font-size: clamp(44px, 6vw, 68px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.pulse__big span { color: var(--on-ink-2); font-size: 15px; max-width: 26ch; }
.pulse__chart { height: 150px; margin: 22px -26px 0; color: #fff; }
.pulse__chart svg { width: 100%; height: 100%; }
.pulse__x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #6f6f6f; padding: 8px 0 0; }
.pulse__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px -26px 0; border-top: 1px solid var(--ink-line); }
.pulse__stats div { padding: 16px 26px; border-left: 1px solid var(--ink-line); }
.pulse__stats div:first-child { border-left: 0; }
.pulse__stats b { display: block; font-size: 20px; letter-spacing: -.03em; font-weight: 650; }
.pulse__stats span { font-size: 12.5px; color: var(--on-ink-3); }
@media (max-width: 560px) { .pulse__stats div { padding: 14px 16px; } .pulse__stats b { font-size: 17px; } }

.seg--sm button { height: 28px; padding: 0 10px; font-size: 12.5px; }
.lb__list { list-style: none; counter-reset: lb; }
.lb__row { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--line); counter-increment: lb; animation: rise .3s ease both; }
.lb__list li:last-child .lb__row { border-bottom: 0; }
.lb__row:hover { background: var(--paper-2); }
.lb__row::before { content: counter(lb); font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.lb__row:nth-child(-n+3)::before { color: var(--ink); font-weight: 600; }
.lb__n { min-width: 0; }
.lb__n b { display: block; font-size: 14px; font-weight: 600; }
.lb__bar { height: 4px; border-radius: 4px; background: var(--paper-3); margin-top: 6px; overflow: hidden; }
.lb__bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.lb__v { font-family: var(--mono); font-size: 12.5px; text-align: right; white-space: nowrap; }
.lb__v small { display: block; color: var(--text-3); font-size: 11px; }
.metoo { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; background: #fff; transition: .15s; white-space: nowrap; }
.metoo:hover { border-color: var(--ink); }
.metoo[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.metoo b { font-family: var(--mono); font-weight: 500; }
@media (max-width: 560px) { #outageList .row__end .pill { display: none; } }

/* ---------- Interactive bento ---------- */
.bx--7 { grid-column: span 7; min-height: 320px; }
.bx--5 { grid-column: span 5; min-height: 320px; }
.bx--4 { grid-column: span 4; min-height: 280px; }
@media (max-width: 1080px) { .bx--7, .bx--5 { grid-column: span 12; } .bx--4 { grid-column: span 6; } }
@media (max-width: 560px) { .bx--4 { grid-column: span 12; } }
.tag--hot { margin-left: auto; background: #fff; color: var(--ink); border-color: #fff; }

.typing__text { margin-top: 20px; font-family: var(--mono); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7; color: #5a5a5a; letter-spacing: .01em; user-select: none; white-space: pre-wrap; }
.typing__text .ok { color: #fff; }
.typing__text .bad { color: #f87171; background: rgba(248, 113, 113, .16); border-radius: 2px; }
.typing__text .cur { box-shadow: -2px 0 0 #fff; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { box-shadow: -2px 0 0 transparent; } }
.typing__in { width: 100%; height: 48px; margin-top: 16px; padding: 0 14px; border-radius: 12px; border: 1px solid #2e2e2e; background: #141414; color: #fff; font-family: var(--mono); font-size: 15px; outline: 0; transition: border-color .15s; }
.typing__in:focus { border-color: #8a8a8a; }
.typing__in:disabled { opacity: .5; }
.typing__stats { display: flex; align-items: center; gap: 28px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.typing__stats b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.typing__stats span { font-size: 12px; color: var(--on-ink-3); }
.typing__stats .btn { margin-left: auto; }
.typing__done { margin-top: 10px; font-size: 14px; color: #d4d4d4; }
.typing__done b { color: #fff; }

.gauge { position: relative; width: 100%; max-width: 280px; margin: 14px auto 0; }
.gauge svg { width: 100%; display: block; }
.gauge__bg { fill: none; stroke: var(--paper-3); stroke-width: 14; stroke-linecap: round; }
.gauge__fg { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 251.33; stroke-dashoffset: 251.33; transition: stroke-dashoffset .15s linear; }
.gauge__v { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge__v b { display: block; font-size: 38px; font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__v span { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.speed__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.speed__row div { padding: 10px 12px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.speed__row span { display: block; font-size: 11.5px; color: var(--text-3); }
.speed__row b { font-size: 16px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.speed__go { margin-top: 12px; width: 100%; }

.wheel__wrap { position: relative; width: 196px; height: 196px; margin: 16px auto 0; }
.wheel__svg { width: 100%; height: 100%; transition: transform 4.2s cubic-bezier(.12, .7, .1, 1); }
.wheel__svg text { font-family: var(--font); font-size: 11px; font-weight: 600; }
.wheel__ptr { position: absolute; left: 50%; top: -8px; z-index: 2; width: 0; height: 0; transform: translateX(-50%); border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 16px solid var(--ink); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.wheel__btn { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #fff; color: var(--ink); border: 3px solid var(--ink); font-weight: 700; font-size: 14px; z-index: 2; transition: transform .15s; }
.wheel__btn:hover { transform: scale(1.06); }
.wheel__btn:disabled { cursor: default; transform: none; }
.wheel__res { text-align: center; margin-top: 14px; font-weight: 650; font-size: 15px; letter-spacing: -.01em; min-height: 23px; }

.sw__time { margin-top: 22px; font-family: var(--mono); font-size: clamp(40px, 4.4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sw__time small { font-size: .55em; color: var(--text-3); }
.sw__btns { display: flex; gap: 8px; margin-top: 18px; }
.sw__btns .btn--ink { flex: 1; }
.sw__btns .btn:disabled { opacity: .45; cursor: default; }
.sw__laps { list-style: none; margin-top: 12px; display: grid; gap: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.sw__laps li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid var(--line); }

/* ---------- Sponsored spotlight ---------- */
.sponsor { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(90deg, var(--paper-2), #fff 60%); }
.sponsor__tag { position: absolute; top: -10px; left: 20px; padding: 2px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.sponsor__logo { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.sponsor__body b { font-size: 16px; font-weight: 650; letter-spacing: -.015em; }
.sponsor__body p { font-size: 13.5px; color: var(--text-3); margin-top: 3px; }
@media (max-width: 720px) { .sponsor { grid-template-columns: auto minmax(0, 1fr); } .sponsor .btn { grid-column: 1 / -1; } }

/* ---------- Categories (9) ---------- */
.cats--9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cats--9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats--9 { grid-template-columns: minmax(0, 1fr); } }
.cat__new { margin-left: 8px; vertical-align: 3px; }

/* ---------- Education ads ---------- */
.inarticle { margin: 26px 0; }
.inarticle .ad__slot { --h: 250px; }
.tip-aff { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #141414; font-size: 14px; color: #d4d4d4; transition: .15s; }
.tip-aff:hover { border-color: #5a5a5a; color: #fff; }
.tip-aff .tag { background: #222; border-color: #333; color: #a3a3a3; flex: none; }
.tip-aff .ico { margin-left: auto; width: 16px; height: 16px; }
.tipcard__btn { width: 100%; margin-top: 12px; }

/* ---------- Badge + newsletter ---------- */
.grow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .grow { grid-template-columns: minmax(0, 1fr); } }
.grow__p { font-size: 15px; color: var(--text-2); margin-top: 8px; max-width: 52ch; }
.sbadges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sbadge { display: inline-flex; height: 26px; border-radius: 6px; overflow: hidden; font-family: var(--mono); font-size: 12px; border: 1px solid var(--ink); }
.sbadge__l { display: flex; align-items: center; padding: 0 9px; background: var(--ink); color: #fff; }
.sbadge__r { display: flex; align-items: center; gap: 6px; padding: 0 9px; background: #fff; color: var(--ink); }
.sbadge__r .dot { width: 7px; height: 7px; }
.sbadge--ink .sbadge__r { background: #1f1f1f; color: #fff; }
.embed { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; word-break: break-all; }
.news { border-radius: 16px; background: var(--ink); color: #fff; padding: 28px; display: flex; flex-direction: column; }
.news h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.04em; margin-top: 12px; }
.news p { color: var(--on-ink-2); margin-top: 8px; font-size: 15px; }
.news__form { display: flex; gap: 8px; margin-top: 22px; }
.news__form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid #2e2e2e; background: #141414; color: #fff; font-size: 15px; outline: 0; }
.news__form input:focus { border-color: #8a8a8a; }
.news__form .btn { height: 46px; }
.news__more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 22px; font-size: 13.5px; }
.news__more a { display: inline-flex; align-items: center; gap: 7px; color: #d4d4d4; }
.news__more a:hover { color: #fff; }
.news__more .ico { width: 15px; height: 15px; }
@media (max-width: 480px) { .news__form { flex-direction: column; } }

/* ---------- Multiplex ---------- */
.mplex { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mplex__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--text-3); }
.mplex__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mplex__item b { display: block; font-size: 14px; font-weight: 600; margin-top: 10px; line-height: 1.35; color: #3a3a3a; }
.mplex__item span { font-size: 12px; color: var(--text-3); }
.mplex__img { aspect-ratio: 16 / 10; border-radius: 10px; border: 1px dashed #d4d4d4; background: repeating-linear-gradient(-45deg, #fbfbfb 0 10px, #f3f3f3 10px 20px); }
@media (max-width: 760px) { .mplex__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Side rails (wide desktop) ---------- */
.rail { position: fixed; top: calc(var(--hdr) + 24px); z-index: 20; display: none; opacity: 0; pointer-events: none; transition: opacity .3s; }
.rail--l { left: calc(50% - 624px - 184px); }
.rail--r { right: calc(50% - 624px - 184px); }
.ad--rail .ad__slot { --w: 160px; --h: 600px; width: 160px; }
@media (min-width: 1640px) { .rail { display: block; } }
body.rails-on .rail { opacity: 1; pointer-events: auto; }

/* ---------- Mobile anchor ---------- */
.anchor { display: none; }
@media (max-width: 760px) {
  .anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0 6px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .18); }
  .anchor .ad__label { font-size: 9px; }
  body:not(.anchor-closed):not(.hide-ads) { padding-bottom: 70px; }
}
.anchor__slot { width: 320px; max-width: calc(100% - 24px); height: 50px; display: grid; place-items: center; border: 1px dashed #cdcdcd; border-radius: 6px; font-family: var(--mono); font-size: 11px; color: #9a9a9a; background: repeating-linear-gradient(-45deg, #fbfbfb 0 8px, #f3f3f3 8px 16px); }
.anchor__x { position: absolute; right: 12px; top: -26px; width: 40px; height: 26px; border-radius: 8px 8px 0 0; background: #fff; border: 1px solid var(--line); border-bottom: 0; display: grid; place-items: center; color: var(--text-2); }
.anchor__x .ico { width: 16px; height: 16px; }
body.anchor-closed .anchor { display: none !important; }

/* ---------- Modal + vignette ---------- */
.modal, .vig { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 16px; background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.on, .vig.on { display: grid; animation: fade .15s ease; }
.modal__box { position: relative; width: 100%; max-width: 420px; display: grid; gap: 12px; padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); animation: rise .2s ease; }
.modal__box h3 { font-size: 22px; letter-spacing: -.03em; margin-top: 6px; }
.modal__box p { font-size: 14.5px; color: var(--text-2); }
.modal__x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.modal__x:hover { background: var(--paper-3); color: var(--ink); }
.vig { background: rgba(10, 10, 10, .78); }
.vig__box { width: 100%; max-width: 380px; display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; animation: rise .2s ease; }
.vig__top { display: flex; justify-content: space-between; align-items: center; }
.vig__slot { height: 300px; display: grid; place-items: center; text-align: center; border: 1px dashed #cdcdcd; border-radius: 10px; font-family: var(--mono); font-size: 12px; color: #9a9a9a; line-height: 1.6; background: repeating-linear-gradient(-45deg, #fbfbfb 0 10px, #f3f3f3 10px 20px); }

/* ---------- Review bar + ad map (design review only) ---------- */
.rv { position: fixed; left: 16px; bottom: 16px; z-index: 250; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 40px -10px rgba(0, 0, 0, .5); white-space: nowrap; }
.rv a, .rv button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; color: #fff; }
.rv a:hover, .rv button:hover { background: rgba(255, 255, 255, .12); }
.rv b { font-weight: 600; }
.rv em { font-style: normal; color: #8a8a8a; }
.rv i { width: 1px; height: 16px; background: rgba(255, 255, 255, .18); margin: 0 2px; }
.rv .on { background: var(--amap); }
.rv .on:hover { background: var(--amap); }
@media (max-width: 760px) { body:not(.anchor-closed):not(.hide-ads) .rv { bottom: 84px; } .rv em, .rv .rv__lbl { display: none; } .rv { left: 50%; transform: translateX(-50%); } }
.rv__state { display: flex; gap: 2px; }
.rv__state a.on { background: #fff; color: var(--ink); }
.row__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.admap [data-ad] { outline: 2px dashed var(--amap); outline-offset: 4px; }
body.admap [data-ad]:not(.rail):not(.anchor) { position: relative; }
body.admap [data-ad]::before { content: attr(data-ad); position: absolute; top: -13px; left: -13px; z-index: 30; width: 26px; height: 26px; border-radius: 50%; background: var(--amap); color: #fff; font: 600 12px/26px system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 3px #fff; }
body.admap .svc--ad::before, body.admap .sponsor::before { top: -13px; left: -13px; }

.amap { position: fixed; top: calc(var(--hdr) + 12px); right: 16px; bottom: 16px; z-index: 240; width: 360px; display: none; flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
body.admap .amap { display: flex; animation: rise .2s ease; }
.amap__head { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.amap__head h3 { font-size: 17px; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.amap__head p { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.amap__list { list-style: none; overflow-y: auto; flex: 1; padding: 6px 0; }
.amap__item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.amap__item:last-child { border-bottom: 0; }
.amap__n { width: 26px; height: 26px; border-radius: 50%; background: var(--amap); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.amap__item b { font-size: 14px; font-weight: 650; display: block; }
.amap__meta { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }
.amap__item p { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.5; }
.amap__item button { margin-top: 8px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; }
.amap__item button:hover { border-color: var(--ink); }
.amap__foot { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 12px; color: var(--text-2); line-height: 1.55; }
.amap__foot b { color: var(--ink); }
@media (max-width: 760px) { .amap { left: 12px; right: 12px; width: auto; top: auto; height: 62vh; bottom: 130px; } }

/* Blog alert banners on the home and status pages (views/partials/blog-alerts.php, DEC-41) */
.bl-alert { position: relative; z-index: 5; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 14.5px; }
.bl-alert__in { display: flex; align-items: center; gap: 12px; min-height: 50px; padding-top: 8px; padding-bottom: 8px; }
.bl-alert__in p { flex: 1; min-width: 0; margin: 0; line-height: 1.45; }
.bl-alert__ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .6); }
.bl-alert__ico .ico { width: 16px; height: 16px; }
.bl-alert__go { display: inline-flex; align-items: center; gap: 5px; flex: none; font-weight: 650; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bl-alert__go .ico { width: 14px; height: 14px; }
.bl-alert__x { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.bl-alert__x:hover { background: rgba(0, 0, 0, .07); }
.bl-alert__x .ico { width: 16px; height: 16px; }
.bl-alert--info { background: #eef2ff; color: #312e81; }
.bl-alert--warning { background: #fef3c7; color: #78350f; }
.bl-alert--outage { background: #b91c1c; color: #fff; }
.bl-alert--outage .bl-alert__ico { background: rgba(255, 255, 255, .18); }
.bl-alert--outage .bl-alert__x:hover { background: rgba(255, 255, 255, .15); }
.bl-alert--resolved { background: #dcfce7; color: #14532d; }

@media (max-width: 640px) { .bl-alert__in { gap: 10px; font-size: 13.5px; } .bl-alert__go { display: none; } }

/* assets/css/layouts/app.css */
/* UtiBox — production additions on top of the v5 design system (ub.css + site.css). */
.ubt--err .ico { color: var(--down-hi); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.err { padding: 96px var(--gutter) 120px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.err h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; margin: 6px 0 0; }
.err p { color: var(--text-2); max-width: 46ch; margin: 0; }
.err__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
/* Footer brand block (9 Nov 2026): tagline, description, and a "Checks run from" card that wraps instead of overflowing. */
.ftr__brand .ftr__tag { margin-top: 20px; max-width: none; font-size: 20px; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; color: var(--on-ink); }
.ftr__brand .ftr__desc { margin-top: 10px; max-width: 40ch; }
.ftr__origin { display: flex; align-items: center; gap: 12px; margin-top: 24px; max-width: 340px; padding: 10px 14px 10px 10px; border: 1px solid var(--ink-line); border-radius: 12px; }
.ftr__originIco { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink-line); color: var(--on-ink); }
.ftr__originIco .ico { width: 16px; height: 16px; }
.ftr__originTxt { display: grid; gap: 3px; min-width: 0; }
.ftr__originK { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); }
.ftr__originV { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--on-ink); overflow-wrap: anywhere; }
.mega__cat a { color: inherit; text-decoration: none; }
.mega__cat a:hover { text-decoration: underline; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--paper-3); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.notice .ico { flex: none; margin-top: 1px; }
.notice--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.notice--down { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.notice--up { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* Auth pages (production additions to account.css) */
.note.is-off { display: none; }
.note--ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.note--ok .ico { color: var(--up); }
.wlist .wlist__empty { display: block; color: var(--on-ink-3); font-size: 13.5px; padding: 12px 0; }
.otp.is-ok input { border-color: var(--up); background: #f0fdf4; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ===================== Mobile (audited at 360 px, 7 Nov 2026) ===================== */
@media (max-width: 1024px), (pointer: coarse) {
  /* iOS Safari zooms into any focused field under 16 px. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]),
  select, textarea { font-size: 16px !important; }
  .otp input { font-size: 24px !important; }

  /* Tap targets: WCAG 2.5.8 asks for 24 px; we aim for 32 px or more on stand-alone links. */
  .ftr ul { gap: 2px; }
  .ftr ul a { display: inline-block; padding: 7px 0; }
  .ftr__bot nav a, .ftr__bot nav .ftr__choices { display: inline-block; padding: 6px 0; }
  .cat__name a, .cat__stretch { display: inline-block; padding: 5px 0; }
  .bx__foot .link, .card__head .link, .card__foot .link, .link--ul:not(p .link--ul), .ccard__a, .apanel__back, .crumbs a, .crumbs--ink a,
  .amain__top a, .abox__bottom a, .field__row a, .shero__meta a, .tcat__h a, .sbplan a, .dempty-row .link, .sub__note .link, .alt .link,
  .diag__empty .link, .sec-title .link, .side-card__head .link { display: inline-block; padding-block: 6px; }
  .ftr ul a { min-width: 32px; }
  input.input, select.input, select.select { min-height: 44px; }
  .range::-webkit-slider-thumb { width: 28px; height: 28px; }
  .range::-moz-range-thumb { width: 24px; height: 24px; }
  .ib { width: 38px; height: 38px; }
  .ib .ico { width: 17px; height: 17px; }
  .news__form input, .input-group .input { min-height: 44px; }
  .pw__eye { width: 44px; height: 44px; }

  /* Small uppercase labels stay readable. */
  .tag, .plan__tag, .lsum__k, .qrbar__d, .bk-badge, .bk-env, .sb__h { font-size: 11px !important; }
}
@media (max-width: 520px) {
  /* One column must be able to shrink below its content (grid min-content trap). */
  .svc-grid, .svc-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* assets/css/pages/tools.css */
/* Tool pages, tool directory and category pages (page chrome only; the tool UI kit is tool-kit.css). */
.tool-hero { padding: 36px 0 22px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.tool-hero__row { display: flex; gap: 16px; align-items: flex-start; }
.tool-hero h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.tool-hero h1 .tag { vertical-align: middle; font-size: 12px; }
.tool-hero__sub { color: var(--text-2); font-size: 16px; margin: 8px 0 0; max-width: 62ch; }
.tool-hero__note { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 13px; color: var(--text-3); }
.tool-hero__note .ico { width: 15px; height: 15px; }
.tool-main { padding-top: 28px; padding-bottom: 28px; }
.tool { min-height: 220px; }
.tool-loading { height: var(--tool-h, 220px); border-radius: var(--r-lg); background: linear-gradient(90deg, var(--paper-3), var(--paper-2), var(--paper-3)); background-size: 200% 100%; animation: tl 1.2s linear infinite; }
@keyframes tl { to { background-position: -200% 0; } }
.tool--soon { display: grid; justify-items: start; gap: 10px; padding: 32px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--paper-2); }
.tool--soon h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.01em; }
.tool--soon p { margin: 0; color: var(--text-2); max-width: 60ch; }
.tool-soon__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tool-copy { padding-top: 12px; padding-bottom: 24px; max-width: 820px; color: var(--text-2); line-height: 1.65; }
.tool-copy h2 { color: var(--text); font-size: 20px; margin: 28px 0 8px; letter-spacing: -.01em; }
.tool-copy h3 { color: var(--text); font-size: 16px; margin: 18px 0 6px; }
.tool-related { padding-top: 20px; padding-bottom: 64px; }
.tool-related h2 { font-size: 20px; margin: 0 0 14px; letter-spacing: -.01em; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.tcard { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.tcard__b { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tcard__b b { font-weight: 600; font-size: 15px; }
.tcard__b small { color: var(--text-3); font-size: 13px; line-height: 1.4; }
.tcard .tag { flex: none; }
.tdir-hero { padding-block: 44px 26px; } /* block only: the shorthand's 0 wiped the .wrap side gutter (text touched the edge on phones) */
.tdir-hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.tdir-hero p { color: var(--text-2); font-size: 17px; margin: 10px 0 0; max-width: 60ch; }
.tdir-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.tdir-filter .input { max-width: 340px; }
.tcat { padding: 18px 0 30px; }
.tcat__h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.tcat__h h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.tcat__h a { margin-left: auto; font-size: 14px; color: var(--text-2); }
/* The placeholder takes the tool's measured height (config/tool-heights.php, SEO audit 9 Nov 2026), so nothing below it
   moves when the tool replaces it. Phones use the phone height. */
@media (max-width: 760px) { .tool-loading { height: var(--tool-hm, var(--tool-h, 220px)); } }

/* assets/css/pages/tool-kit.css */
/* UtiBox tool UI kit — every class here is tk- prefixed and styles one element it is put on.
   Never add bare descendant selectors (".tk-x span"): give the element its own class. */

/* ---------- Layout ---------- */
.tk { display: grid; gap: 0; min-width: 0; }
.tk > .tool-loading { display: none; }
.tk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.tk-row--tight { gap: 6px; }
.tk-row--bottom { align-items: flex-end; }
.tk-row--end { justify-content: flex-end; }
.tk-row--between { justify-content: space-between; }
.tk-grow { flex: 1 1 200px; min-width: 0; }
.tk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.tk-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tk-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tk-cols--side { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 760px) {
  .tk-cols, .tk-cols--3, .tk-cols--side { grid-template-columns: minmax(0, 1fr); }
  .tk-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tk-stack { display: grid; gap: 14px; min-width: 0; align-content: start; }
.tk-stack--sm { gap: 8px; }

/* ---------- Panels: sections inside the .tool card (ub.css), v5 .tool__top / .tool__body look ---------- */
.tk [hidden] { display: none !important; }
.tk-panel { min-width: 0; }
.tk-panel + .tk-panel { border-top: 1px solid var(--line); }
.tk-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); min-height: 58px; }
.tk-panel__title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.tk-panel__tt { min-width: 0; }
.tk-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tk-panel__body { display: grid; gap: 18px; padding: 24px; min-width: 0; }
.tk-panel__body--flush { padding: 0; gap: 0; }
@media (max-width: 640px) { .tk-panel__body { padding: 16px; } .tk-panel__head { padding: 10px 12px 10px 16px; } }

/* ---------- Fields ---------- */
.tk-field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.tk-field__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 36px; }
.tk-label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.tk-cols--io > .tk-field > .tk-label { min-height: 36px; display: flex; align-items: center; }
.tk-hint { margin: 0; font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.tk-mono { font-family: var(--mono); font-size: 14px; }
.tk-textarea { display: block; width: 100%; min-height: 120px; font-size: 15px; overflow-wrap: anywhere; }
.tk-textarea.tk-mono { font-size: 13.5px; line-height: 1.55; }
.tk-output { background: var(--paper-2); }
.tk-output:focus { background: var(--paper); }
.tk-select { padding-right: 34px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center; cursor: pointer; }
.tk-input--sm { height: 36px; font-size: 14px; padding: 0 10px; }
.tk-input--num { max-width: 140px; }
.tk-range__v { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.tk-range { margin: 6px 0; }
.tk-check { min-width: 0; }
.tk-check__t { min-width: 0; }
.tk-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.tk-seg { align-self: start; }
.tk-btn__t { min-width: 0; }
.btn:disabled { opacity: .45; cursor: default; }
.tk-err { margin: 0; font-size: 13.5px; color: var(--down); font-weight: 500; }

/* ---------- Notes and empty states ---------- */
.tk-note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.tk-note[hidden] { display: none; }
.tk-note__t { min-width: 0; overflow-wrap: anywhere; }
.tk-note--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tk-note--down { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.tk-note--up { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.tk-empty { margin: 0; padding: 26px 16px; text-align: center; color: var(--text-3); font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper-2); }

/* ---------- Stats ---------- */
.tk-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.tk-stat { padding: 12px 14px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); min-width: 0; }
.tk-stat__v { font-size: 24px; font-weight: 650; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tk-stat__l { margin-top: 3px; font-size: 12.5px; color: var(--text-3); }
.tk-cols > .tk-stat { align-self: start; }
.tk-stat--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tk-stat--ink .tk-stat__l { color: var(--on-ink-2); }

/* ---------- Copy line + key/value ---------- */
.tk-copyline { display: grid; grid-template-columns: minmax(70px, auto) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); min-width: 0; }
.tk-copyline__l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.tk-copyline__v { font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
@media (max-width: 520px) { .tk-copyline { grid-template-columns: minmax(0, 1fr) auto; } .tk-copyline__l { grid-column: 1 / -1; } }
.tk-kv { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 14px; }
.tk-kv__k { padding: 9px 14px; background: var(--paper-2); color: var(--text-2); border-bottom: 1px solid var(--line); font-weight: 500; }
.tk-kv__v { padding: 9px 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; min-width: 0; font-variant-numeric: tabular-nums; }
.tk-kv__v--mono { font-family: var(--mono); font-size: 13px; }
.tk-kv__k:nth-last-child(2), .tk-kv__v:last-child { border-bottom: 0; }

/* ---------- Code / pre ---------- */
.tk-code { margin: 0; padding: 14px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-height: 520px; overflow: auto; min-width: 0; }
.tk-code--ink { background: var(--ink); color: #e5e5e5; border-color: var(--ink); }

/* ---------- Drop zone ---------- */
.tk-drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 32px 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); background: var(--paper-2); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tk-drop:hover, .tk-drop.is-over { border-color: var(--ink); background: var(--paper-3); }
.tk-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.tk-drop__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 4px; }
.tk-drop__t { font-weight: 600; font-size: 15px; }
.tk-drop__s { font-size: 13px; color: var(--text-3); }

/* ---------- Image results ---------- */
.tk-checker { background-color: #fff; background-image: linear-gradient(45deg, #efefef 25%, transparent 25%), linear-gradient(-45deg, #efefef 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #efefef 75%), linear-gradient(-45deg, transparent 75%, #efefef 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.tk-imglist { display: grid; gap: 10px; }
.tk-imgcard { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); min-width: 0; }
.tk-imgcard__pv { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); }
.tk-imgcard__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tk-imgcard__b { display: grid; gap: 2px; min-width: 0; }
.tk-imgcard__name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-imgcard__meta { font-family: var(--mono); font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }
.tk-imgcard__note { font-size: 12.5px; color: var(--warn); }
@media (max-width: 520px) { .tk-imgcard { grid-template-columns: 56px minmax(0, 1fr); } .tk-imgcard__pv { width: 56px; height: 56px; } .tk-imgcard__act { grid-column: 1 / -1; } }
.tk-preview { display: grid; place-items: center; min-height: 160px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tk-preview__img { max-width: 100%; max-height: 420px; height: auto; object-fit: contain; }
.tk-filemeta { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }

/* ---------- Big value (password, number, result) ---------- */
.tk-big { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper-2); min-width: 0; }
.tk-big__v { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(17px, 2.4vw, 24px); letter-spacing: .02em; overflow-wrap: anywhere; word-break: break-all; line-height: 1.35; padding: 6px 0; }
.tk-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tk-meter__bar { height: 5px; border-radius: 4px; background: var(--line); transition: background .25s; }
.tk-meter__bar--on { background: var(--ink); }
.tk-meter__bar--weak { background: var(--down); }
.tk-meter__bar--fair { background: var(--warn); }
.tk-meter-label { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-3); font-family: var(--mono); flex-wrap: wrap; }
.tk-meter-label__b { color: var(--ink); font-weight: 600; }

/* ---------- Lists of generated values ---------- */
.tk-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tk-list__i { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.tk-list__i:last-child { border-bottom: 0; }
.tk-list__v { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; word-break: break-all; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 500; transition: border-color .15s, background .15s; max-width: 100%; }
.tk-chip:hover { border-color: var(--ink); }
.tk-chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tk-chip__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- Highlights (regex, diff) ---------- */
.tk-hl { background: #fde68a; border-radius: 3px; box-shadow: 0 0 0 1px #f5d061; }
.tk-hl--alt { background: #bfdbfe; box-shadow: 0 0 0 1px #93c5fd; }
.tk-ins { background: #dcfce7; color: #14532d; border-radius: 2px; text-decoration: none; }
.tk-del { background: #fee2e2; color: #7f1d1d; border-radius: 2px; text-decoration: line-through; text-decoration-color: rgba(127, 29, 29, .5); }

/* ---------- Side-by-side diff ---------- */
.tk-diff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; max-height: 640px; overflow-y: auto; }
.tk-diff__c { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-content: start; min-width: 0; }
.tk-diff__c + .tk-diff__c { border-left: 1px solid var(--line); }
.tk-diff__n { padding: 1px 6px; text-align: right; color: var(--text-3); background: var(--paper-2); border-right: 1px solid var(--line); user-select: none; font-variant-numeric: tabular-nums; }
.tk-diff__t { padding: 1px 10px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; min-height: 1.55em; }
.tk-diff__t--del { background: #fef2f2; }
.tk-diff__t--ins { background: #f0fdf4; }
.tk-diff__t--gap { background: repeating-linear-gradient(-45deg, #fafafa 0 6px, #f3f3f3 6px 12px); }
.tk-diff__n--del { background: #fee2e2; color: #991b1b; }
.tk-diff__n--ins { background: #dcfce7; color: #166534; }
@media (max-width: 640px) { .tk-diff__c { grid-template-columns: 28px minmax(0, 1fr); } .tk-diff__t { padding: 1px 6px; } }

/* ---------- QR / barcode preview ---------- */
.tk-qr { display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; min-height: 240px; }
.tk-qr__img { width: 100%; max-width: 280px; height: auto; image-rendering: pixelated; }
.tk-qr__svg { width: 100%; max-width: 280px; height: auto; }
.tk-barcode { display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; min-height: 180px; overflow-x: auto; }
.tk-barcode__svg { max-width: 100%; height: auto; }

/* ---------- Typing test ---------- */
.tk-typing { display: grid; gap: 16px; padding: 24px; background: var(--ink); color: #fff; }
.tk-typing__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tk-typing__seg { background: #1c1c1c; border-color: #2a2a2a; }
.tk-typing__seg .tk-seg__b { color: #a3a3a3; }
.tk-typing__seg .tk-seg__b[aria-selected="true"] { color: var(--ink); }
.tk-typing__text { font-family: var(--mono); font-size: clamp(16px, 1.9vw, 20px); line-height: 1.75; color: #5f5f5f; letter-spacing: .01em; user-select: none; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 11.5em; overflow: hidden; }
.tk-typing__ch--ok { color: #fff; }
.tk-typing__ch--bad { color: #f87171; background: rgba(248, 113, 113, .16); border-radius: 2px; }
.tk-typing__ch--cur { box-shadow: -2px 0 0 #fff; animation: tk-caret 1s steps(2) infinite; }
@keyframes tk-caret { 50% { box-shadow: -2px 0 0 transparent; } }
.tk-typing__in { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #2e2e2e; background: #141414; color: #fff; font-family: var(--mono); font-size: 15px; outline: 0; transition: border-color .15s; }
.tk-typing__in:focus { border-color: #8a8a8a; }
.tk-typing__in:disabled { opacity: .5; }
.tk-typing__stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tk-typing__stat { display: grid; gap: 2px; }
.tk-typing__sv { font-size: 30px; font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-typing__sl { font-size: 12px; color: var(--on-ink-3); }
.tk-typing__restart { margin-left: auto; }
.tk-typing__done { margin: 0; font-size: 15px; color: #d4d4d4; }
.tk-typing__label { color: var(--on-ink-2); }
@media (max-width: 520px) { .tk-typing { padding: 18px; } .tk-typing__stats { gap: 18px; } }

/* ---------- Spin the wheel ---------- */
.tk-wheel { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 6px auto 0; }
.tk-wheel__svg { width: 100%; height: 100%; transition: transform 4.6s cubic-bezier(.12, .7, .1, 1); }
.tk-wheel__label { font-family: var(--font); font-size: 9px; font-weight: 600; }
.tk-wheel__ptr { position: absolute; left: 50%; top: -10px; z-index: 2; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 22px solid var(--ink); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.tk-wheel__btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; color: var(--ink); border: 3px solid var(--ink); font-weight: 700; font-size: 16px; z-index: 2; transition: transform .15s; }
.tk-wheel__btn:hover { transform: scale(1.06); }
.tk-wheel__btn:disabled { cursor: default; transform: none; opacity: .7; }
.tk-wheel__res { text-align: center; font-weight: 650; font-size: 20px; letter-spacing: -.02em; min-height: 30px; margin: 0; }

/* ---------- Stopwatch / timer / countdown ---------- */
.tk-clock { font-family: var(--mono); font-size: clamp(44px, 9vw, 92px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; padding: 18px 0 8px; overflow-wrap: anywhere; }
.tk-clock__small { font-size: .5em; color: var(--text-3); }
.tk-clock--done { color: var(--down); }
.tk-clock-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tk-clock-btns__main { min-width: 140px; }
.tk-laps { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; font-family: var(--mono); font-size: 13.5px; }
.tk-laps__i { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 8px 4px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tk-laps__n { color: var(--text-3); }
.tk-laps__d { color: var(--text-2); text-align: right; }
.tk-laps__t { text-align: right; }
.tk-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tk-countdown__u { padding: 18px 8px; text-align: center; border-radius: var(--r); background: var(--ink); color: #fff; min-width: 0; }
.tk-countdown__v { font-family: var(--mono); font-size: clamp(28px, 6vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-countdown__l { margin-top: 6px; font-size: 12px; color: var(--on-ink-2); }
@media (max-width: 420px) { .tk-countdown { gap: 6px; } .tk-countdown__u { padding: 12px 4px; } }

/* ---------- Random numbers / dice ---------- */
.tk-dice { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 8px 0; }
.tk-die { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 26px; font-weight: 600; background: #fff; }
.tk-bignum { font-family: var(--mono); font-size: clamp(36px, 8vw, 72px); font-weight: 500; letter-spacing: -.04em; text-align: center; line-height: 1.1; overflow-wrap: anywhere; padding: 10px 0; }

/* ---------- Colour ---------- */
.tk-swatch { height: 120px; border-radius: var(--r); border: 1px solid var(--line); }
.tk-swatch-input { width: 56px; height: 44px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; flex: none; }
.tk-contrast { display: grid; place-items: center; min-height: 110px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); text-align: center; }
.tk-contrast__big { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.tk-contrast__small { font-size: 14px; margin-top: 4px; }
.tk-pass { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.tk-pass--ok { color: var(--up); }
.tk-pass--no { color: var(--down); }

/* ---------- SERP preview ---------- */
.tk-serp { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-family: Arial, sans-serif; max-width: 640px; min-width: 0; }
.tk-serp--mobile { max-width: 380px; }
.tk-serp__site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tk-serp__fav { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; border: 1px solid #e3e3e3; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #5f6368; flex: none; }
.tk-serp__sn { display: grid; min-width: 0; }
.tk-serp__name { font-size: 14px; color: #202124; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-serp__url { font-size: 12px; color: #4d5156; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-serp__title { margin: 8px 0 4px; font-size: 20px; line-height: 1.3; color: #1a0dab; font-weight: 400; letter-spacing: 0; overflow-wrap: anywhere; }
.tk-serp--mobile .tk-serp__title { font-size: 18px; }
.tk-serp__desc { font-size: 14px; line-height: 1.58; color: #4d5156; overflow-wrap: anywhere; }
.tk-counter { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.tk-counter--warn { color: var(--warn); }
.tk-counter--down { color: var(--down); }

/* ---------- Crop ---------- */
.tk-crop { position: relative; display: block; width: fit-content; margin: 0 auto; max-width: 100%; user-select: none; touch-action: none; line-height: 0; overflow: hidden; border-radius: 4px; }
.tk-crop__img { display: block; max-width: 100%; max-height: 520px; width: auto; height: auto; }
.tk-crop__box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(10, 10, 10, .55), 0 0 0 1px rgba(0, 0, 0, .5); cursor: move; outline: 0; }
.tk-crop__box:focus-visible { border-color: #fbbf24; }
.tk-crop__clip { position: absolute; inset: 0; overflow: hidden; border-radius: 4px; }
.tk-crop__h { position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; }
.tk-crop__h--nw { left: -2px; top: -2px; cursor: nwse-resize; }
.tk-crop__h--ne { right: -2px; top: -2px; cursor: nesw-resize; }
.tk-crop__h--sw { left: -2px; bottom: -2px; cursor: nesw-resize; }
.tk-crop__h--se { right: -2px; bottom: -2px; cursor: nwse-resize; }

/* ---------- Screen resolution ---------- */
.tk-hero-num { font-size: clamp(40px, 7vw, 68px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-hero-sub { font-size: 14px; color: var(--text-3); margin-top: 6px; }

/* ---------- Favicon sizes ---------- */
.tk-fav-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.tk-fav { display: grid; justify-items: center; gap: 6px; }
.tk-fav__pv { display: grid; place-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.tk-fav__img { image-rendering: auto; max-width: 100%; }
.tk-fav__l { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

/* ---------- Lorem / text output ---------- */
.tk-prose { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); color: var(--text-2); line-height: 1.7; max-height: 480px; overflow: auto; overflow-wrap: anywhere; }
.tk-prose__p { margin: 0 0 12px; }
.tk-prose__p:last-child { margin-bottom: 0; }
.tk-foot-hint { margin: 0; padding: 12px 24px; border-top: 1px solid var(--line); background: var(--paper-2); }
@media (max-width: 640px) { .tk-foot-hint { padding: 12px 16px; } }
.tk-tabbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.tk-tabbar ~ .tk-panel { border-top: 0; }
@media (max-width: 640px) { .tk-tabbar { padding: 12px 16px; } }

/* ---------- Help copy below the tool (views/tools/content/*.php) ---------- */
.tk-copy-steps { margin: 0 0 8px; padding-left: 22px; display: grid; gap: 6px; }
.tk-copy-step { padding-left: 4px; }
.tk-copy-p { margin: 0 0 10px; }
.tk-prose--pre { white-space: pre-wrap; }
.tk-field-w { max-width: 280px; }

/* ==========================================================================
   Server-side tools (api/tools/*): form, loading, results, tables, states
   ========================================================================== */
.tk-form { display: grid; gap: 12px; min-width: 0; }
.tk-form__row { display: flex; gap: 8px; min-width: 0; }
.tk-form__in { flex: 1 1 auto; min-width: 0; }
.tk-form__btn { flex: none; }
.tk-form__extras { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; min-width: 0; }
@media (max-width: 520px) { .tk-form__row { flex-direction: column; } .tk-form__btn { width: 100%; } }
.tk-result { display: grid; gap: 16px; min-width: 0; }
.tk-result:empty { display: none; }
.tk-loading { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper-2); color: var(--text-2); font-size: 14px; }
.tk-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: tk-spin .8s linear infinite; flex: none; }
@keyframes tk-spin { to { transform: rotate(360deg); } }
.tk-loading__t { min-width: 0; }
.tk-origin { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; color: var(--text-3); }
.tk-origin__t { min-width: 0; overflow-wrap: anywhere; }
.tk-origin--saved { flex-wrap: wrap; } /* DEC-84: a saved result + "Check again" */
.tk-origin--saved .tk-origin__t { color: var(--text-2); }
.tk-origin__again { margin-left: 4px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line, rgba(127,127,127,.35)); background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.tk-origin__again:hover, .tk-origin__again:focus-visible { background: var(--surface-2, rgba(127,127,127,.12)); }
.tk-origin__soon { color: var(--text-3); }
.tk-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tk-link:hover { text-decoration-color: var(--ink); }
.tk-h3 { margin: 4px 0 0; font-size: 15px; font-weight: 650; letter-spacing: -.015em; }
.tk-sub { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.tk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); -webkit-overflow-scrolling: touch; min-width: 0; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tk-table__th { text-align: left; padding: 9px 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); background: var(--paper-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tk-table__td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; min-width: 70px; }
.tk-table__td--mono { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.tk-table__tr:last-child .tk-table__td { border-bottom: 0; }

.tk-state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tk-state__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.tk-state--ok .tk-state__dot { background: var(--up); }
.tk-state--warn .tk-state__dot { background: var(--warn); }
.tk-state--fail .tk-state__dot { background: var(--down); }
.tk-state--ok { color: #166534; }
.tk-state--warn { color: #92400e; }
.tk-state--fail { color: #991b1b; }
.tk-state__t { white-space: normal; }

/* Verdict banner */
.tk-verdict { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); }
.tk-verdict--ok { background: #f0fdf4; border-color: #bbf7d0; }
.tk-verdict--warn { background: #fffbeb; border-color: #fde68a; }
.tk-verdict--fail { background: #fef2f2; border-color: #fecaca; }
.tk-verdict__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.tk-verdict__b { display: grid; gap: 3px; min-width: 0; }
.tk-verdict__t { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tk-verdict__s { margin: 0; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }

/* Redirect hops */
.tk-hops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tk-hop { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0 12px; border-bottom: 1px solid var(--line); }
.tk-hop:last-child { border-bottom: 0; }
.tk-hop__code { display: inline-grid; place-items: center; height: 28px; border-radius: 7px; font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--paper-3); border: 1px solid var(--line); }
.tk-hop__code--ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.tk-hop__code--redir { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.tk-hop__code--fail { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.tk-hop__b { display: grid; gap: 2px; min-width: 0; }
.tk-hop__url { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; word-break: break-all; }
.tk-hop__meta { font-size: 12.5px; color: var(--text-3); overflow-wrap: anywhere; }
.tk-hop__ms { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
@media (max-width: 520px) { .tk-hop { grid-template-columns: 52px minmax(0, 1fr); } .tk-hop__ms { grid-column: 2; } }

/* Timing waterfall */
.tk-wf { display: grid; gap: 8px; }
.tk-wf__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 76px; gap: 12px; align-items: center; font-size: 13px; }
.tk-wf__l { color: var(--text-2); }
.tk-wf__track { position: relative; height: 12px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.tk-wf__bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--ink); min-width: 2px; }
.tk-wf__v { font-family: var(--mono); font-size: 12.5px; text-align: right; }
@media (max-width: 520px) { .tk-wf__row { grid-template-columns: 90px minmax(0, 1fr) 64px; gap: 8px; } }

/* Health report layers */
.tk-layers { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tk-layer { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tk-layer:last-child { border-bottom: 0; }
.tk-layer__l { font-weight: 600; }
.tk-layer__v { color: var(--text-2); overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 560px) { .tk-layer { grid-template-columns: minmax(0, 1fr) auto; } .tk-layer__v { grid-column: 1 / -1; grid-row: 2; } }

/* Score ring-free score bar */
.tk-score { display: grid; gap: 6px; }
.tk-score__bar { height: 8px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.tk-score__fill { height: 100%; background: var(--ink); border-radius: 6px; }

/* Heading outline */
.tk-outline { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tk-outline__i { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.tk-outline__i--bad { background: #fef2f2; }
.tk-outline__tag { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.tk-outline__t { overflow-wrap: anywhere; min-width: 0; }
.tk-outline__t--empty { color: var(--down); font-style: italic; }

/* Social previews */
.tk-og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; }
.tk-og { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; min-width: 0; }
.tk-og__label { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.tk-og__img { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; background: var(--paper-3); }
.tk-og__noimg { display: grid; place-items: center; aspect-ratio: 1.91 / 1; background: var(--paper-3); color: var(--text-3); font-size: 13px; }
.tk-og__b { display: grid; gap: 3px; padding: 10px 12px 12px; min-width: 0; }
.tk-og__site { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-og__t { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; }
.tk-og__d { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-og--chat { border-left: 4px solid var(--line-2); border-top: 0; border-right: 0; border-bottom: 0; border-radius: 0; padding-left: 12px; background: transparent; }
.tk-og--chat .tk-og__b { padding: 0 0 8px; }

/* Speed / connection gauges */
.tk-speed { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 16px 0 6px; }
.tk-speed__v { font-size: clamp(48px, 10vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-speed__u { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.tk-progress { height: 6px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.tk-progress__fill { height: 100%; width: 0; background: var(--ink); border-radius: 4px; transition: width .2s; }

/* File lists (PDF tools) */
.tk-files { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tk-file { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); }
.tk-file:last-child { border-bottom: 0; }
.tk-file__b { display: grid; gap: 1px; min-width: 0; }
.tk-file__n { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-file__m { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.tk-file__act { display: flex; gap: 4px; }
.tk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.tk-thumb { display: grid; gap: 6px; justify-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
.tk-thumb__img { max-width: 100%; max-height: 160px; box-shadow: var(--shadow-sm); background: #fff; }
.tk-thumb__l { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.tk-ipbig { font-size: clamp(28px, 6vw, 56px); overflow-wrap: anywhere; word-break: break-all; }
.tk-pre { white-space: pre-line; }
.tk-flip { transform: rotate(180deg); }

/* assets/css/pages/spf-letter.css */
/* SPF & DMARC Checker: the Forged letter (owner, 13 Nov 2026: mockups/spf-dmarc/option-g.html, DEC-85; contract docs/SPF_DMARC_TOOL.md).
   View: views/tools/custom/spf-dmarc-checker.wip.php (renamed to spf-dmarc-checker.php at ship) · engine + UI: assets/js/tools/spf-letter.js.
   Everything hangs off .eg (the view's root), as the MX page's hangs off .ma: G's eg-* classes (E's letter and sheets eg-, D's console
   eg-c-, A's sky eg-s-) and the few pieces of the mockup's shared base that the site's ub.css doesn't carry (the band tokens, tags, icons,
   crumbs, the ad wrappers, the help copy). Dark is the default look (black band); html[data-theme="light"] turns the band to paper.
   Colour only marks state, always with a word or an icon. The phase lives on the root: .eg[data-phase]; while our server is still
   answering, .eg[data-wait] carries the stage we expect it to be at. */

/* ---------- Base: the mockup's band tokens and resets, scoped to the page ---------- */
.eg {
  --bnd: #0a0a0a; --bnd-2: #141414; --bnd-3: #1f1f1f;
  --bnd-line: rgba(255, 255, 255, .1); --bnd-line-2: rgba(255, 255, 255, .18);
  --on-bnd: #fff; --on-bnd-2: #a3a3a3; --on-bnd-3: #8f8f8f;
  --hi-up: #4ade80; --hi-warn: #fbbf24; --hi-down: #f87171; --hi-maint: #60a5fa;
  --bnd-dots: rgba(255, 255, 255, .09); --bnd-shadow: none;
  --maint: #2563eb; --none: #a3a3a3;
  --up-tint: #f0fdf4; --warn-tint: #fffcf3; --down-tint: #fef2f2; --maint-tint: #eff6ff;
  --sans: var(--font); --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  position: relative; font-size: 14.5px; line-height: 1.5;
}
html[data-theme="light"] .eg {
  --bnd: #fafafa; --bnd-2: #fff; --bnd-3: #f4f4f4;
  --bnd-line: #ebebeb; --bnd-line-2: #dcdcdc;
  --on-bnd: #0a0a0a; --on-bnd-2: #525252; --on-bnd-3: #6b6b6b;
  --hi-up: #15803d; --hi-warn: #b45309; --hi-down: #dc2626; --hi-maint: #2563eb;
  --bnd-dots: rgba(10, 10, 10, .07); --bnd-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.eg [hidden] { display: none !important; } /* a display value on these classes (flex, grid) would otherwise beat [hidden] */
.eg :where(h1, h2, h3, h4, p) { margin: 0; }
.eg :where(a) { color: inherit; }
.eg :where(button, input) { font: inherit; color: inherit; }
.eg :where(button) { cursor: pointer; }
.eg :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.eg .on-bnd :focus-visible { outline-color: var(--on-bnd); }
.eg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.eg .ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.eg .ico--sm { width: 13px; height: 13px; }
.eg .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eg .on-bnd { background: var(--bnd); color: var(--on-bnd); }
.eg .tag { display: inline-flex; align-items: center; gap: 4px; height: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 99px; border: 1px dashed var(--line-2); background: transparent; color: var(--text-3); white-space: nowrap; vertical-align: middle; }
.eg .on-bnd .tag { border-color: var(--bnd-line-2); color: var(--on-bnd-3); }
.eg-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }
.eg-crumbs a { color: var(--on-bnd-2); text-decoration: none; }
.eg-crumbs a:hover { color: var(--on-bnd); text-decoration: underline; }

/* ---------- Ads (AdPolicy units and house placeholders). They never animate, and never sit in the sky, the form or the strip ---------- */
.eg .eg-ad { animation: none !important; transition: none !important; }
.eg .eg-ad[data-rv] { opacity: 1 !important; transform: none !important; }
.eg .eg-lead { width: 728px; max-width: 100%; min-width: 0; }
.eg .eg-side > .ad { width: 300px; max-width: 100%; margin-inline: auto; }
/* mx-under: under the cascade, as wide as it, stretched so both columns end on one line */
.eg .eg-bandad > .ad, .eg .eg-feed > .ad { width: 100%; }
.eg .cp__body > .ad, .eg .cp__body .eg-ad--inarticle { margin: 10px 0; }

/* House placeholders in the dark band and the poster 300 × 600s (as the Reverse DNS page draws them) */
.eg .ad, .eg .ad * { animation: none !important; transition: none !important; }
.eg .on-bnd .ad__label { color: var(--on-bnd-3); }
.eg .on-bnd .ad__house { background: var(--bnd-2); border-color: var(--bnd-line-2); color: var(--on-bnd); }
.eg .on-bnd .ad__house::before { background-image: radial-gradient(var(--bnd-dots) 1px, transparent 1.3px); }
.eg .on-bnd .ad__house:hover { background: var(--bnd-3); border-color: var(--bnd-line-2); }
.eg .on-bnd .ad__house-mark { background: var(--on-bnd); color: var(--bnd); }
.eg .on-bnd .ad__house-t span { color: var(--on-bnd-2); }
.eg .on-bnd .ad__house-go { color: var(--on-bnd); }
.eg .eg-ad--side { width: 300px; max-width: 100%; }
.eg .eg-ad--side:not(.ad--house) { min-height: 268px; }
.eg .eg-ad--side .ad__house { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 12px; min-height: 250px; padding: 22px; border-radius: 14px; }
.eg .eg-ad--side .ad__house-go { grid-column: 1; }
.eg .eg-ad--sky { width: 300px; max-width: 100%; }
.eg .eg-ad--sky:not(.ad--house) { min-height: 620px; }
.eg .eg-ad--sky .ad__house--tall { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: 600px; padding: 30px 24px 24px; border-color: var(--ink); border-radius: 14px; background: var(--ink); color: #fff; }
.eg .eg-ad--sky .ad__house--tall::before { background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(0deg, #000, transparent 55%); mask-image: linear-gradient(0deg, #000, transparent 55%); }
.eg .eg-ad--sky .ad__house-mark { width: 48px; height: 48px; border-radius: 13px; background: #fff; color: var(--ink); }
.eg .eg-ad--sky .ad__house-spec { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font: 500 10.5px var(--mono); letter-spacing: .08em; color: #a3a3a3; }
.eg .eg-ad--sky .ad__house-t { gap: 10px; }
.eg .eg-ad--sky .ad__house-t b { font-size: 34px; line-height: 1.02; letter-spacing: -.05em; font-weight: 720; color: #fff; }
.eg .eg-ad--sky .ad__house-t span { font-size: 14.5px; line-height: 1.55; color: #a3a3a3; }
.eg .eg-ad--sky .ad__house-list { display: grid; width: 100%; margin-top: 4px; }
.eg .eg-ad--sky .ad__house-list span { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #d4d4d4; }
.eg .eg-ad--sky .ad__house-list .ico { width: 16px; height: 16px; color: #737373; }
.eg .eg-ad--sky .ad__house-go { justify-content: center; align-self: stretch; height: 46px; margin-top: auto; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; }
html[data-theme="light"] .eg .eg-ad--sky .ad__house--tall { background: #fff; border-color: var(--line-2); color: var(--text); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house--tall::before { background-image: radial-gradient(rgba(10, 10, 10, .08) 1px, transparent 1.4px); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-mark { background: var(--ink); color: #fff; }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-spec { border-color: var(--line-2); color: var(--text-3); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-t b { color: var(--text); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-t span, html[data-theme="light"] .eg .eg-ad--sky .ad__house-list span { color: var(--text-2); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-list span { border-top-color: var(--line); }
html[data-theme="light"] .eg .eg-ad--sky .ad__house-go { background: var(--ink); color: #fff; }
.eg .eg-lead > .ad { width: 100%; max-width: 100%; margin: 0; }

/* ---------- The message under the form, and the PDF note in the readout ---------- */
.eg-msg { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--hi-down) 45%, var(--bnd-line-2)); background: color-mix(in srgb, var(--hi-down) 8%, transparent); font-size: 13px; line-height: 1.45; color: var(--on-bnd); }
.eg-msg .ico { margin-top: 1px; color: var(--hi-down); }
.eg-pnote { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bnd-line-2); background: var(--bnd); font-size: 12.5px; line-height: 1.45; color: var(--on-bnd-2); }
.eg-pnote > .ico { margin-top: 1px; color: var(--on-bnd); }
.eg-pnote[data-tone="ok"] > .ico { color: var(--hi-up); }
.eg-pnote[data-tone="err"] > .ico { color: var(--hi-down); }
.eg-pnote__b { display: grid; gap: 2px; min-width: 0; }
.eg-pnote__b b { color: var(--on-bnd); font-weight: 650; }
.eg-pnote__b a { color: var(--on-bnd); text-decoration: underline; text-underline-offset: 2px; }
.eg :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.eg :where(dl, dd, pre, figure) { margin: 0; }
.eg :where(h1, h2, h3, h4, p) { margin: 0; }
.eg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.eg .eg-ad[data-rv] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   OPTION CSS · G (.eg-): the forged letter, with the console and the sky
   ========================================================================== */
/* ==========================================================================
   OPTION G · FORGED LETTER, WITH THE CONSOLE AND THE SKY (.eg-). One design from three: E's forged letter and paper sheets
   (.eg-), D's console (.eg-c-) and A's mail sky and readout strip (.eg-s-, .eg-rd). Lift this block to assets/css/pages/spf-letter.css.
   ========================================================================== */
/* ----- E: the letter, the gates, the sheets ----- */
/* NOTE: the two paper textures below write their inner url() as \75rl(: AssetBundle rewrites every url(/assets/css/pages/...) it sees, and a rewritten
   url(/assets/css/pages/%23f) points at a file that doesn't exist (the filter then fails and the envelope paints black). The browser reads \75 as "u". */
/* ==========================================================================
   OPTION E · FORGED LETTER (.eg-). A forged envelope tried at the three gates of a receiving mail server: ink marks from
   SPF and DKIM, the DMARC policy's verdict as a cancellation ring (or the inbox tray), the Authentication-Results slip,
   then paper sheets with every record behind it. Tokens on :root as --eg-*; .eg scopes the help-copy restyle.
   ========================================================================== */
.eg {
  --eg-stage: #0e0e0d; --eg-stage-line: rgba(255, 255, 255, .08); --eg-frame: rgba(255, 255, 255, .26);
  --eg-paper: #f2f0e9; --eg-ink: #191814; --eg-ink-2: #45433b; --eg-ink-3: #64625a; --eg-rule: rgba(25, 24, 20, .16);
  --eg-good: #146c35; --eg-warn: #b45309; --eg-bad: #c21f1f; --eg-none: #66645d; --eg-info: #1d4ed8;
  --eg-desk: #f4f4f2; --eg-sheet: #fff; --eg-tg: #f6f3e9; --eg-tg-line: #dcd5c2; --eg-strip: #fffdf6;
  --eg-env-shadow: 0 34px 60px -30px rgba(0, 0, 0, .95), 0 2px 8px rgba(0, 0, 0, .4);
  --eg-serif: ui-serif, Georgia, 'Times New Roman', serif;
  --eg-worn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='w' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.6 0 0 0 2.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='\75rl(%23w)'/%3E%3C/svg%3E") 0 0 / 140px 140px;
  --eg-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .11 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='\75rl(%23f)'/%3E%3C/svg%3E");
}
html[data-theme="light"] .eg {
  --eg-stage: #e5e4df; --eg-stage-line: rgba(0, 0, 0, .09); --eg-frame: rgba(0, 0, 0, .32);
  --eg-paper: #fffefa; --eg-env-shadow: 0 26px 50px -30px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .14);
}

/* ---------- State colour: always with a word or an icon ---------- */
.eg-s { --c: var(--eg-none); }
.eg-s[data-st="good"] { --c: var(--eg-good); }
.eg-s[data-st="warn"] { --c: var(--eg-warn); }
.eg-s[data-st="bad"] { --c: var(--eg-bad); }
.eg-s[data-st="info"] { --c: var(--eg-info); }
.eg-s[data-st="plain"] { --c: var(--eg-ink); }
.eg-s[data-st="wait"] { --c: var(--eg-ink-3); }
.eg-sb { --c: var(--on-bnd-2); }
.eg-sb[data-st="good"] { --c: var(--hi-up); }
.eg-sb[data-st="warn"] { --c: var(--hi-warn); }
.eg-sb[data-st="bad"] { --c: var(--hi-down); }
.eg-sb[data-st="info"] { --c: var(--hi-maint); }
.eg-sb:is([data-st="on"], [data-st="run"], [data-st="plain"]) { --c: var(--on-bnd); }
.eg-sb:is([data-st="wait"], [data-st="off"]) { --c: var(--on-bnd-3); }
.eg-kb { font: 500 10.5px/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-bnd-3); }
.eg-k { font: 500 10.5px/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.eg-ek { font: 600 9.5px/1.45 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--eg-ink-3); }
.eg-dots { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 4px; }
.eg-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: eg-blink 1.1s ease-in-out infinite; }
.eg-dots i:nth-child(2) { animation-delay: .15s; } .eg-dots i:nth-child(3) { animation-delay: .3s; }

/* ---------- The dark band: head, form, the trial, the right column ---------- */
.eg-band { position: relative; border-bottom: 1px solid var(--bnd-line); }
.eg-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--bnd-dots) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 420px); mask-image: linear-gradient(180deg, #000 0, transparent 420px); }
.eg-band > .wrap { position: relative; }
.eg-head { display: grid; grid-template-columns: minmax(0, 1fr) 728px; gap: 18px 40px; align-items: center; padding: 26px 0 28px; }
.eg-head__t { display: grid; gap: 10px; min-width: 0; }
.eg-h1row { display: flex; align-items: center; gap: 12px; }
.eg-h1ic { width: 42px; height: 42px; border-radius: 11px; background: var(--on-bnd); color: var(--bnd); display: grid; place-items: center; flex: none; }
.eg-h1ic .ico { width: 21px; height: 21px; }
.eg-h1 { font-size: clamp(28px, 3.4vw, 34px); line-height: 1.08; letter-spacing: -.04em; font-weight: 700; }
.eg-sub { color: var(--on-bnd-2); font-size: 16px; }
.eg-origin { display: flex; gap: 8px; align-items: flex-start; max-width: 520px; font: 500 11px/1.65 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-bnd-3); }
.eg-origin .ico { margin-top: 2px; }
@media (max-width: 1259px) { .eg-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) { .eg-lead { display: none; } .eg-head { padding: 20px 0; } }
/* ---------- Form ---------- */
.eg-form { display: grid; gap: 12px; padding: 12px; border: 1px solid var(--bnd-line-2); border-radius: 20px; background: var(--bnd-2); }
.eg-form__r1 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.eg-field { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; min-width: 0; padding: 10px 16px; border: 1px solid var(--bnd-line); border-radius: 14px; background: var(--bnd); cursor: text; transition: border-color .15s, box-shadow .2s; }
.eg-field > .ico { grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--on-bnd-3); }
.eg-field__k { font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--on-bnd-2); }
.eg-input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--on-bnd); font: 500 21px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.eg-input--sm { font-size: 14.5px; line-height: 1.5; }
.eg-input::placeholder { color: var(--on-bnd-3); opacity: 1; }
.eg-field:focus-within { border-color: var(--on-bnd-2); box-shadow: 0 0 0 3px var(--bnd-line); }
.eg-go { position: relative; height: auto; min-height: 64px; padding: 0 30px; border-radius: 14px; font-size: 17px; }
.eg-go:hover { box-shadow: 0 0 0 4px var(--bnd-line); }
.eg-go__r { display: none; }
.eg:is([data-phase="reading"], [data-phase="walking"], [data-phase="checking"]) .eg-go__t { display: none; }
.eg:is([data-phase="reading"], [data-phase="walking"], [data-phase="checking"]) .eg-go__r { display: inline; }
.eg-go::after { content: ""; position: absolute; inset: -5px; border-radius: 18px; border: 1.5px solid var(--on-bnd); opacity: 0; pointer-events: none; }
.eg[data-phase="idle"] .eg-go::after { animation: eg-invite 2.6s var(--ease) infinite; }
.eg-form__r2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.eg-field--sel { flex: 1 1 330px; padding: 8px 14px; }
.eg-try { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.eg-chipb { height: 32px; max-width: 100%; padding: 0 11px; border: 1px solid var(--bnd-line-2); border-radius: 9px; background: transparent; color: var(--on-bnd-2); font: 500 12.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
.eg-chipb:hover { background: var(--bnd-line); color: var(--on-bnd); }

/* ---------- The trial panel ---------- */
.eg-trial { position: relative; border: 1px solid var(--bnd-line-2); border-radius: 22px; background: var(--eg-stage); overflow: hidden; }
.eg-stage { position: relative; padding: 20px 24px 26px; }
.eg-stage__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.eg-stage__t { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eg-sent { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--bnd-line-2); border-radius: 12px; font: 500 11.5px/1.4 var(--mono); color: var(--on-bnd-2); }
.eg-sent .ico { color: var(--on-bnd); }

/* The envelope: the forged message */
.eg-envw { position: relative; transition: margin .5s var(--ease); }
.eg-env { --eg-pp: var(--eg-paper); position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 118px; grid-template-areas: "from post" "to to" "marks marks";
  gap: 16px 24px; padding: 24px 28px; border-radius: 5px; background-color: var(--eg-paper); background-image: var(--eg-fibre); color: var(--eg-ink); box-shadow: var(--eg-env-shadow); transition: transform .6s var(--ease); }
.eg-env::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--eg-rule); border-radius: 3px; pointer-events: none; opacity: .6; }
.eg[data-phase="idle"] .eg-env { animation: eg-bob 5.5s ease-in-out infinite; }
.eg-env.is-arriving { animation: eg-arrive .8s var(--ease) both; }
.eg-env.is-hit { animation: eg-hit .26s ease-out; }
.eg-envw.is-tray { margin-bottom: 26px; }
.eg-envw.is-tray .eg-env { transform: translateY(18px); }
.eg-from { grid-area: from; display: grid; gap: 5px; align-content: start; min-width: 0; }
.eg-from__a { font: 600 27px/1.15 var(--mono); letter-spacing: -.03em; overflow-wrap: anywhere; }
.eg-from__s { font: 12px/1.5 var(--mono); color: var(--eg-ink-2); overflow-wrap: anywhere; }
.eg-from__s b { font-weight: 600; color: var(--eg-ink); }
.eg-post { grid-area: post; position: relative; justify-self: end; width: 88px; height: 104px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .25)); }
.eg-pstamp { display: block; width: 88px; height: 104px; padding: 6px; background: #fff;
  -webkit-mask: radial-gradient(circle, #0000 2.3px, #000 2.8px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  mask: radial-gradient(circle, #0000 2.3px, #000 2.8px) -4px -4px / 8px 8px, linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat; }
.eg-pstamp__in { height: 100%; display: grid; place-items: center; align-content: center; gap: 2px; border: 1px solid rgba(0, 0, 0, .4); background: repeating-linear-gradient(135deg, #efeee9 0 2px, #e3e2dc 2px 4px); color: var(--eg-ink); text-align: center; }
.eg-pstamp__k { font: 600 8px/1 var(--mono); letter-spacing: .2em; color: var(--eg-ink-2); }
.eg-pstamp__v { font: 700 30px/1 var(--sans); letter-spacing: -.04em; }
.eg-pstamp__s { font: 500 8px/1.2 var(--mono); letter-spacing: .1em; color: var(--eg-ink-2); }
.eg-to { grid-area: to; display: grid; gap: 4px; min-width: 0; padding-left: 26%; }
.eg-to__v { padding-bottom: 6px; border-bottom: 1px solid var(--eg-rule); font: italic 400 24px/1.25 var(--eg-serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.eg-to__s { font: 11.5px/1.45 var(--mono); color: var(--eg-ink-3); }
.eg-marks { grid-area: marks; display: grid; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--eg-rule); }
.eg-marks__row { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 14px; }
.eg-mk { display: grid; justify-items: start; align-content: start; gap: 7px; min-width: 0; }
.eg-mk__l { font: 600 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--eg-ink-3); }

/* Rubber stamps (words, never a score). On paper they print with multiply; on the stage (--b) they don't blend. */
.eg-stamp { position: relative; display: inline-grid; place-items: center; max-width: 100%; min-height: 40px; padding: 7px 12px 6px; border: 2.5px solid var(--c); border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--eg-pp, #fff), inset 0 0 0 3.5px var(--c); color: var(--c); font: 700 13px/1.15 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; text-wrap: balance;
  transform: rotate(var(--rot, -3deg)); mix-blend-mode: multiply; -webkit-mask: var(--eg-worn); mask: var(--eg-worn); }
.eg-stamp[data-st="wait"] { min-width: 76px; border-width: 1.5px; border-style: dashed; box-shadow: none; font-weight: 500; letter-spacing: .08em; transform: none; opacity: .8; -webkit-mask: none; mask: none; }
.eg-stamp--b { --eg-pp: var(--eg-stage); mix-blend-mode: normal; }
.eg-stamp--sm { min-height: 0; padding: 5px 9px 4px; border-width: 2px; box-shadow: inset 0 0 0 1.5px var(--eg-pp, #fff), inset 0 0 0 2.6px var(--c); font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
.eg-stamp.is-in { animation: eg-thump .46s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: var(--dl, 0s); }

/* The verdict: a cancellation ring with wavy lines, or the inbox tray */
.eg-pm { position: absolute; z-index: 3; right: 58px; top: 42px; width: 152px; height: 152px; pointer-events: none; transform: rotate(-14deg); mix-blend-mode: multiply; opacity: 0; }
.eg-pm svg { display: block; width: 100%; height: 100%; overflow: visible; -webkit-mask: var(--eg-worn); mask: var(--eg-worn); }
.eg-pm.is-on { opacity: .93; }
.eg-pm.is-in { animation: eg-pm .62s cubic-bezier(.2, .9, .3, 1.15) both; }
.eg-pm circle { fill: none; stroke: var(--c); }
.eg-pm__o { stroke-width: 3.2; }
.eg-pm__o2 { stroke-width: 1; }
.eg-pm__in { stroke-width: 1.6; }
.eg-pm__ring { font: 600 9.4px var(--mono); letter-spacing: .05em; fill: var(--c); }
.eg-pm__w { font: 800 17px var(--mono); fill: var(--c); text-anchor: middle; letter-spacing: .03em; }
.eg-pm__w.is-2 { font-size: 13.5px; }
.eg-pm__s { font: 600 8.4px var(--mono); fill: var(--c); text-anchor: middle; letter-spacing: .1em; }
.eg-waves { position: absolute; z-index: 3; right: 204px; top: 96px; width: 170px; height: 60px; overflow: visible; mix-blend-mode: multiply; pointer-events: none; }
.eg-waves path { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; opacity: 0; stroke-dasharray: 190; stroke-dashoffset: 190; }
.eg-waves.is-on path { opacity: .85; stroke-dashoffset: 0; }
.eg-waves.is-in path { animation: eg-draw .5s var(--ease) both; animation-delay: calc(.25s + var(--j, 0) * 70ms); }
.eg-tray { position: absolute; z-index: 3; left: -14px; right: -14px; bottom: -26px; height: 56px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; border: 2px solid var(--c); border-top: 0; border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--c) 16%, var(--eg-stage)) 62%); opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
.eg-tray__l { display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c); text-align: center; }
.eg-envw.is-tray .eg-tray { opacity: 1; transform: none; }

/* The three gates: a rail the envelope token travels along */
.eg-railw { position: relative; margin-top: 30px; }
.eg-rail { list-style: none; margin: 0; padding: 48px 0 0; display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 0 14px; }
.eg-st { position: relative; display: grid; gap: 6px; align-content: start; min-width: 0; }
.eg-st::after { content: ""; position: absolute; z-index: 0; left: 17px; top: 16px; width: calc(100% + 14px); border-top: 2px dashed var(--eg-frame); }
.eg-st:last-child::after { display: none; }
.eg-st.is-past::after { border-top-style: solid; border-top-color: var(--on-bnd-2); }
.eg-st__dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 9px; border: 1.5px dashed var(--eg-frame); background: var(--eg-stage); color: var(--on-bnd-3);
  display: grid; place-items: center; font: 600 13px var(--mono); transition: background .3s, border-color .3s, color .3s; }
.eg-st__dot .ico { width: 16px; height: 16px; }
.eg-st[data-st="on"] .eg-st__dot { border-style: solid; border-color: var(--on-bnd); color: var(--on-bnd); }
.eg-st[data-st="off"] .eg-st__dot { border-color: var(--on-bnd-3); color: var(--on-bnd-3); }
.eg-st:is([data-st="good"], [data-st="warn"], [data-st="bad"], [data-st="none"], [data-st="plain"]) .eg-st__dot { border-style: solid; background: var(--c); border-color: var(--c); color: var(--eg-stage); }
.eg-st.is-pop .eg-st__dot { animation: eg-pop .4s var(--spring); }
.eg-st__n { margin-top: 6px; font: 600 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-bnd-3); }
.eg-st__h { font-size: 14px; font-weight: 650; line-height: 1.3; color: var(--on-bnd); overflow-wrap: anywhere; }
.eg-st__q { font-size: 12.5px; line-height: 1.45; color: var(--on-bnd-2); overflow-wrap: anywhere; }
.eg-st__staff { justify-self: start; display: inline-flex; align-items: flex-start; gap: 5px; max-width: 100%; padding: 4px 8px; border: 1px dashed var(--bnd-line-2); border-radius: 7px; font: 11px/1.45 var(--mono); color: var(--on-bnd-3); overflow-wrap: anywhere; }
.eg-st__staff .ico { margin-top: 1px; }
.eg-st__staff.is-on { border-style: solid; color: var(--on-bnd); }
.eg-st__staff.is-off { border-style: dashed; color: var(--on-bnd-2); }
.eg-st__staff.is-bad { border-style: solid; border-color: var(--hi-down); color: var(--hi-down); }
.eg-st__res { min-height: 38px; display: flex; align-items: center; padding: 2px 0; }
.eg-st__why { font-size: 12px; line-height: 1.45; color: var(--on-bnd-2); overflow-wrap: anywhere; }
.eg-st__pol { font: 600 11px/1.4 var(--mono); color: var(--on-bnd); }
.eg-st--end .eg-st__h { font-size: 15px; color: var(--c); }
.eg-st--end[data-st="wait"] .eg-st__h { color: var(--on-bnd-2); }
.eg-st--end.is-pop .eg-st__h { animation: eg-wipe .5s var(--ease) both; }
.eg-gbar { position: absolute; z-index: 2; left: calc(100% + 1px); top: -52px; width: 7px; height: 70px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--c) 0 8px, var(--eg-stage) 8px 12px); box-shadow: 0 0 0 1px var(--c); transform-origin: top; transform: scaleY(0); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.eg-gbar.is-on { transform: scaleY(1); }
.eg-tok { position: absolute; left: 0; top: 0; z-index: 4; width: 46px; height: 32px; pointer-events: none;
  transform: translate(var(--tx, 17px), var(--ty, 64px)) translate(-50%, -50%) translateY(var(--oy, -42px)) rotate(var(--tr, 0deg)); transition: transform .55s cubic-bezier(.5, 0, .2, 1), opacity .3s; }
.eg-tok.is-instant { transition: none; }
.eg-tok i { display: block; width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.eg[data-phase="idle"] .eg-tok i { animation: eg-float 3.4s ease-in-out infinite; }
.eg-tok svg { display: block; width: 100%; height: 100%; overflow: visible; }
.eg-tok__p { fill: var(--eg-paper); stroke: var(--eg-ink); stroke-width: 1.4; }
.eg-tok__f { fill: none; stroke: var(--eg-ink); stroke-width: 1.2; }
.eg-tok__o { fill: none; stroke: var(--c); stroke-width: 2.4; opacity: 0; }
.eg-tok.is-final .eg-tok__o { opacity: 1; }
.eg-tok.is-stopped { --tr: -9deg; }
.eg-tok.is-stopped i { animation: eg-shake .42s ease-out; }

/* The Authentication-Results slip */
.eg-ar { display: grid; gap: 12px; padding: 18px 24px 24px; border-top: 1px solid var(--eg-stage-line); }
.eg-ar__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.eg-ar__hd .eg-act { margin-left: auto; height: 34px; font-size: 13px; }
.eg-slip { position: relative; padding: 14px 18px 22px; border-radius: 4px 4px 0 0; background-color: var(--eg-paper); background-image: var(--eg-fibre); color: var(--eg-ink);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.eg-slip__t { display: block; min-height: 1.7em; font: 500 14px/1.75 var(--mono); overflow-wrap: anywhere; }
.eg-h-l { display: block; padding-left: 4ch; text-indent: -4ch; }
.eg-h-l.is-i { padding-left: 8ch; }
.eg-slip__t.is-in { animation: eg-wipe .7s var(--ease) both; }
.eg-h-k { font-weight: 700; }
.eg-h-r { padding: 1px 4px; border-radius: 3px; color: var(--c); font-weight: 700; background: color-mix(in srgb, var(--c) 11%, transparent); }
.eg-h-wait { color: var(--eg-ink-3); }
.eg-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eg-lg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; align-content: start; }
.eg-lg__n { grid-row: span 2; width: 20px; height: 20px; border: 1px solid var(--bnd-line-2); border-radius: 50%; display: grid; place-items: center; font: 600 10.5px var(--mono); color: var(--on-bnd-2); }
.eg-lg__c { font: 600 12px/1.45 var(--mono); color: var(--on-bnd); overflow-wrap: anywhere; }
.eg-lg__t { font-size: 12.5px; line-height: 1.5; color: var(--on-bnd-2); }

/* ---------- Right column: findings + actions, the checks, the path ---------- */
.eg-card { display: grid; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--bnd-line-2); border-radius: 18px; background: var(--bnd-2); }
.eg-card__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eg-card__h { font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-bnd-3); }
.eg-card__n { margin-left: auto; font: 11px var(--mono); color: var(--on-bnd-3); }
.eg-tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eg-ty { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 11px; border: 1px solid var(--bnd-line-2); border-radius: 11px; color: var(--on-bnd-2); font-size: 13px; }
.eg-ty .ico { color: var(--on-bnd-3); }
.eg-ty b { font: 600 19px/1 var(--mono); color: var(--on-bnd); }
.eg-ty.is-hit { border-color: var(--c); color: var(--c); }
.eg-ty.is-hit .ico, .eg-ty.is-hit b { color: var(--c); }
.eg-ty.is-in b { animation: eg-pop .4s var(--spring); }
.eg-counts { font: 12px/1.5 var(--mono); color: var(--on-bnd-2); }
.eg-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eg-act { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 10px; border: 1px solid var(--bnd-line-2); border-radius: 10px; background: transparent; color: var(--on-bnd); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .15s, transform .15s var(--ease); }
.eg-act:hover { background: var(--bnd-line); }
.eg-act:active { transform: scale(.97); }
.eg-act[disabled] { opacity: .5; cursor: default; }
.eg-act--main { grid-column: 1 / -1; height: 46px; background: var(--on-bnd); border-color: var(--on-bnd); color: var(--bnd); }
.eg-act--main:hover { background: var(--on-bnd); box-shadow: 0 0 0 4px var(--bnd-line); }
.eg-act--wide { grid-column: 1 / -1; }
.eg-act__ok { display: none; }
.eg-act:is(.is-copied, .is-done) .eg-act__t { display: none; }
.eg-act:is(.is-copied, .is-done) .eg-act__ok { display: inline; }
.eg-cks { list-style: none; margin: 0; padding: 0; display: grid; }
.eg-ck { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--bnd-line); }
.eg-ck:first-child { border-top: 0; padding-top: 0; }
.eg-ck > .ico { color: var(--c); }
.eg-ck__dot { width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; border: 1.5px dashed var(--on-bnd-3); }
.eg-ck__l { font-size: 13px; font-weight: 600; color: var(--on-bnd); }
.eg-ck__v { font: 600 12px var(--mono); color: var(--c); text-align: right; }
.eg-ck[data-st="wait"] .eg-ck__l { color: var(--on-bnd-2); }
.eg-ck__n { grid-column: 2 / -1; font-size: 12px; line-height: 1.4; color: var(--on-bnd-3); }
.eg-ck.is-in { animation: eg-rowin .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.eg-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.eg-sp { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 2px 10px; padding-bottom: 13px; }
.eg-sp::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: 3px; width: 2px; border-radius: 2px; background: var(--bnd-line); }
.eg-sp:last-child { padding-bottom: 0; }
.eg-sp:last-child::before { display: none; }
.eg-sp__d { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bnd-line-2); display: grid; place-items: center; color: var(--bnd); }
.eg-sp__d .ico { width: 11px; height: 11px; stroke-width: 3; }
.eg-sp:is([data-st="good"], [data-st="warn"], [data-st="bad"]) .eg-sp__d { background: var(--c); border-color: var(--c); }
.eg-sp[data-st="run"] .eg-sp__d { border-color: var(--on-bnd); border-top-color: transparent; animation: eg-spin .8s linear infinite; }
.eg-sp.is-in .eg-sp__d { animation: eg-pop .4s var(--spring); }
.eg-sp__l { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--on-bnd); }
.eg-sp[data-st="wait"] .eg-sp__l { color: var(--on-bnd-3); font-weight: 500; }
.eg-sp__ms { font: 11px/1.6 var(--mono); color: var(--on-bnd-3); white-space: nowrap; }
.eg-sp__x { grid-column: 2 / -1; font: 11.5px/1.45 var(--mono); color: var(--on-bnd-2); overflow-wrap: anywhere; }
.eg-route__ft { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--bnd-line); font: 12px var(--mono); color: var(--on-bnd-2); }
.eg-route__ft b { color: var(--on-bnd); }

/* ---------- The desk: paper sheets below the band ---------- */
.eg-desk { background: var(--eg-desk); border-bottom: 1px solid var(--line); padding: 60px 0 68px; }
.eg-cat { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.eg-cat__main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.eg-cat__main > * { order: 4; }
.eg-cat__hd { order: 0; display: grid; gap: 8px; max-width: 700px; }
.eg-cat__h { font-size: clamp(26px, 3vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
.eg-cat__p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.eg-cat__main > .eg-sheet--first { order: 1; }
.eg-cat__main > .eg-bandad { order: 9; padding-top: 18px; }
.eg-cat__rail { align-self: stretch; }
.eg-cat__sticky { position: sticky; top: 24px; }
.eg-feed { display: none; }
@media (max-width: 1099px) { .eg-cat { grid-template-columns: minmax(0, 1fr); } .eg-cat__rail { display: none; } }
@media (max-width: 760px) { .eg-cat__main > .eg-bandad { order: 2; padding-top: 4px; } .eg-feed { display: block; } }

.eg-sheet { --eg-pp: var(--eg-sheet); position: relative; display: grid; gap: 18px; min-width: 0; padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--eg-sheet);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 22px 44px -34px rgba(0, 0, 0, .3); }
.eg-sheet__hd { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: start; padding-bottom: 16px; border-bottom: 3px double var(--line-2); }
.eg-sheet__no { padding-top: 6px; font: 600 12px/1 var(--mono); color: var(--text-3); }
.eg-sheet__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.eg-sheet__p { margin-top: 3px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.eg-sheet__b { display: grid; gap: 20px; min-width: 0; }
.eg-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 28px; padding: 3px 10px; border: 1px solid var(--c); border-radius: 99px; color: var(--c); font: 600 11.5px/1.3 var(--mono); }
.eg-chip[data-st="wait"] { border-style: dashed; font-weight: 500; }
.eg-wait { padding: 18px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--text-3); font-size: 13.5px; text-align: center; }
.eg-h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.eg-h3__n { margin-left: auto; letter-spacing: .04em; text-transform: none; }
.eg-sec { display: grid; gap: 12px; min-width: 0; }
.eg-box { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); font: 13px/1.65 var(--mono); color: var(--text); overflow-wrap: anywhere; }
.eg-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.eg-note .ico { margin-top: 2px; flex: none; color: var(--text-3); }
.eg-note.eg-s:not([data-st="plain"]) { color: var(--c); }
.eg-note.eg-s:not([data-st="plain"]) .ico { color: var(--c); }
.eg-empty { display: grid; gap: 8px; justify-items: start; padding: 22px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--paper-2); }
.eg-empty__big { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.eg-empty p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.eg-empty code, .eg-note code, .eg-sheet__p code { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }
.eg-in { animation: eg-rowin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }

/* 01 What to do */
.eg-lead-msg { padding: 18px 20px; border-left: 3px solid var(--ink); background: var(--paper-2); border-radius: 0 10px 10px 0; font: 400 18px/1.6 var(--eg-serif); color: var(--text); }
.eg-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eg-td { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); cursor: pointer; }
.eg-td input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.eg-td input:checked { background: var(--ink); }
.eg-td input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.eg-td__t { font-size: 14.5px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.eg-td__n { margin-right: 8px; font: 600 11.5px var(--mono); color: var(--text-3); }
.eg-td input:checked + .eg-td__t { color: var(--text-3); text-decoration: line-through; }
.eg-tgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.eg-tgs.is-hero { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.eg-tg { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding-bottom: 14px; border: 1px solid var(--eg-tg-line); border-radius: 6px; background-color: var(--eg-tg); background-image: var(--eg-fibre); color: var(--eg-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 30px -24px rgba(0, 0, 0, .35); }
.eg-tg__hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px 9px; border-bottom: 2px solid var(--eg-ink); font: 700 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eg-tg__hd span:last-child { padding: 2px 7px; border: 1.5px solid var(--eg-ink); border-radius: 4px; letter-spacing: .1em; }
.eg-tg__f { display: grid; gap: 4px; min-width: 0; padding: 0 16px; }
.eg-tg__k { font: 600 9.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--eg-ink-3); }
.eg-tg__v { font: 500 13px/1.7 var(--mono); overflow-wrap: anywhere; }
.eg-tg__strip { padding: 2px 6px; background: var(--eg-strip); box-shadow: 0 1px 1px rgba(0, 0, 0, .14); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eg-tgs.is-hero .eg-tg__v.eg-tg__strip { font-size: 15px; font-weight: 600; }
.eg-tg__why { font-size: 13px; line-height: 1.5; color: var(--eg-ink-2); }
.eg-tg__ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: 12px 16px 0; border-top: 1px dashed rgba(25, 24, 20, .22); }
.eg-tg__stop { font: 700 10.5px var(--mono); letter-spacing: .3em; color: var(--eg-ink-3); }
.eg-copy { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--eg-ink); border-radius: 8px; background: var(--eg-ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform .15s var(--ease); }
.eg-copy:active { transform: scale(.97); }
.eg-copy--ghost { background: transparent; color: var(--eg-ink); }
.eg-copy__ok { display: none; }
.eg-copy.is-copied .eg-copy__t { display: none; }
.eg-copy.is-copied .eg-copy__ok { display: inline; }
.eg-okrec { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); color: var(--text-2); font-size: 14px; }
.eg-okrec .ico { color: var(--eg-good); }
.eg-finds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.eg-fd { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.eg-fd > .ico { margin-top: 2px; color: var(--c); }
.eg-fd__w { margin-right: 6px; font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }

/* 02 The SPF record, among the TXT records */
.eg-txt { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.eg-holes { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.eg-hole { display: grid; place-items: center; aspect-ratio: 1.35; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper-2); font: 700 9px/1 var(--mono); letter-spacing: .06em; }
.eg-hole[data-k="code"] { background: repeating-linear-gradient(135deg, var(--paper-3) 0 3px, #e9e9e9 3px 5px); }
.eg-hole[data-k="sign"] { background: #dadada; border-color: #c9c9c9; }
.eg-hole[data-k="spf"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.eg-holes .eg-hole { animation: eg-pop .32s var(--spring) both; animation-delay: calc(var(--i, 0) * 16ms); }
.eg-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eg-kd { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.eg-kd .eg-hole { width: 22px; aspect-ratio: 1.35; }
.eg-kd b { font: 600 15px var(--mono); color: var(--text); text-align: right; }
.eg-txt__note { margin-top: 10px; font-size: 13px; color: var(--text-2); }
.eg-shown { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eg-shown li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); }
.eg-shown li.eg-s:not([data-st="plain"]) { border-color: var(--c); }
.eg-shown__k { padding-top: 2px; font: 700 10px/1.4 var(--mono); letter-spacing: .1em; color: var(--c); }
.eg-shown code { font: 12px/1.6 var(--mono); overflow-wrap: anywhere; }
.eg-rec { display: grid; gap: 8px; min-width: 0; }
.eg-rec__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.eg-rec__m { margin-left: auto; font: 12px var(--mono); color: var(--text-3); }
.eg-rec.is-extra .eg-box { border-color: var(--eg-bad); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--eg-bad) 55%, transparent); }
.eg-spfx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.eg-all { display: grid; gap: 10px; justify-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.eg-all__big { position: relative; display: inline-grid; place-items: center; padding: 10px 18px 8px; border: 3px solid var(--c); border-radius: 10px; box-shadow: inset 0 0 0 3px var(--paper-2), inset 0 0 0 5px var(--c);
  color: var(--c); font: 700 46px/1 var(--mono); letter-spacing: -.04em; transform: rotate(-2deg); -webkit-mask: var(--eg-worn); mask: var(--eg-worn); }
.eg-all__w { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; color: var(--c); }
.eg-all__m { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.eg-terms { list-style: none; margin: 0; padding: 0; display: grid; }
.eg-tm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); }
.eg-tm:first-child { border-top: 0; padding-top: 0; }
.eg-tm__t { font: 600 12.5px/1.45 var(--mono); color: var(--text); overflow-wrap: anywhere; }
.eg-tm__l { font: 500 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.eg-tm__m { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--text-2); }
.eg-tm.eg-s:not([data-st="plain"]) .eg-tm__m { color: var(--c); font-weight: 600; }

/* 03 The include tree and the budget */
.eg-bud { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
.eg-bud__top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 26px; }
.eg-bud__n { display: flex; align-items: baseline; gap: 6px; }
.eg-bud__n b { font: 700 40px/1 var(--mono); letter-spacing: -.04em; color: var(--c); }
.eg-bud__n span { font: 500 13px var(--mono); color: var(--text-3); }
.eg-bud__t { flex: 1 1 200px; font-size: 14px; color: var(--text-2); }
.eg-bud__t b { color: var(--c); }
.eg-voids { display: inline-flex; align-items: center; gap: 8px; }
.eg-voids i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); }
.eg-voids i.is-on { background: var(--eg-bad); border-color: var(--eg-bad); }
.eg-voids b { font: 600 13px var(--mono); }
.eg-cells { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.eg-cells__in { position: relative; flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; padding: 5px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--paper); }
.eg-cell { display: grid; place-items: center; height: 32px; min-width: 0; border: 1px dashed var(--line-2); border-radius: 5px; font: 600 11px var(--mono); color: var(--text-3); }
.eg-cell.is-zone { border-bottom: 2px solid var(--eg-warn); }
.eg-cell.is-on { border: 0; background: var(--c); color: #fff; animation: eg-pop .3s var(--spring) both; }
.eg-cells__over { display: flex; gap: 4px; }
.eg-cells__over .eg-cell { width: 30px; height: auto; transform-origin: left; }
.eg-bud__w { color: var(--eg-warn); font-weight: 600; border-bottom: 2px solid var(--eg-warn); }
.eg-bud__o { color: var(--eg-bad); font: 600 12.5px var(--mono); }
.eg-bud__ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 8px; font-size: 12.5px; color: var(--text-3); }
.eg-root { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); }
.eg-root__ic { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.eg-root__d { display: block; font: 700 16px/1.3 var(--mono); overflow-wrap: anywhere; }
.eg-root__s { font-size: 13px; color: var(--text-2); }
.eg-kids { position: relative; list-style: none; margin: 0; padding: 10px 0 0 26px; display: grid; gap: 8px; }
.eg-kids::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 22px; width: 1.5px; background: var(--line-2); }
.eg-nd { position: relative; display: grid; gap: 0; min-width: 0; }
.eg-nd::before { content: ""; position: absolute; left: -14px; top: 22px; width: 14px; height: 1.5px; background: var(--line-2); }
.eg-nd__card { display: grid; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--eg-sheet); }
.eg-nd.eg-s:is([data-st="bad"], [data-st="warn"]) > .eg-nd__card { border-color: var(--c); background: color-mix(in srgb, var(--c) 4%, var(--eg-sheet)); }
.eg-nd__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.eg-nd__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 600 11.5px var(--mono); }
.eg-nd.eg-s[data-st="plain"] .eg-nd__n { background: var(--ink); }
.eg-nd.is-void .eg-nd__n { background: transparent; border: 2px solid var(--c); color: var(--c); }
.eg-nd__b { display: grid; gap: 1px; min-width: 0; }
.eg-nd__t { font: 600 12.5px/1.45 var(--mono); overflow-wrap: anywhere; }
.eg-nd__p { font-size: 12.5px; color: var(--text-2); }
.eg-nd__ms { font: 11px var(--mono); color: var(--text-3); white-space: nowrap; }
.eg-nd__addr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 34%); gap: 12px; align-items: center; padding-left: 36px; font-size: 12.5px; color: var(--text-2); }
.eg-nd__addr b { font: 600 13px var(--mono); color: var(--text); }
.eg-meter { display: block; height: 6px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.eg-meter i { display: block; height: 100%; border-radius: inherit; background: var(--ink); transform-origin: left; animation: eg-grow .7s var(--ease) both; }
.eg-nd__x { padding-left: 36px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.eg-nd__rec { padding-left: 36px; }
.eg-nd__rec summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font: 500 12px var(--mono); color: var(--text-2); }
.eg-nd__rec summary::-webkit-details-marker { display: none; }
.eg-nd__rec summary .ico { transition: transform .2s; }
.eg-nd__rec[open] summary .ico { transform: rotate(90deg); }
.eg-nd__rec code { display: block; margin-top: 6px; padding: 9px 11px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); font: 11.5px/1.6 var(--mono); overflow-wrap: anywhere; }
.eg-nd > .eg-kids { padding-top: 8px; }
.eg-nd > .eg-kids::before { bottom: 22px; }
.eg-nd.is-new > .eg-nd__card { animation: eg-rowin .4s var(--ease) both; }

/* 04 Who can send */
.eg-sdt { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.eg-sdt > div { display: grid; gap: 4px; align-content: start; padding: 14px 16px; background: var(--eg-sheet); }
.eg-sdt b { font: 700 28px/1.05 var(--mono); letter-spacing: -.03em; }
.eg-sdt span { font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.eg-sds { list-style: none; margin: 0; padding: 0; display: grid; }
.eg-sd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(70px, 1fr) minmax(0, .8fr); gap: 4px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.eg-sd:first-child { border-top: 0; }
.eg-sd__b { display: grid; min-width: 0; }
.eg-sd__b b { font-size: 14px; }
.eg-sd__b code { font: 11.5px/1.4 var(--mono); color: var(--text-3); overflow-wrap: anywhere; }
.eg-sd__n { font: 600 13px/1.35 var(--mono); text-align: right; }
.eg-sd__n small { display: block; font-weight: 500; font-size: 11px; color: var(--text-3); }
.eg-sd.is-void .eg-sd__n { color: var(--eg-bad); }
.eg-sds.is-off .eg-sd { opacity: .55; }
.eg-sds.is-off .eg-sd__b b { text-decoration: line-through; }

/* 05 DMARC */
.eg-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.eg-facts > div { display: grid; gap: 3px; align-content: start; padding: 12px 14px; background: var(--eg-sheet); min-width: 0; }
.eg-facts b { font: 600 14px/1.3 var(--mono); overflow-wrap: anywhere; }
.eg-facts span { font-size: 12px; line-height: 1.4; color: var(--text-3); }
.eg-road { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 44px 0 4px; }
.eg-road__line { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 56px; height: 4px; border-radius: 4px; background: var(--line); }
.eg-road__line i { position: absolute; inset: 0; border-radius: inherit; background: var(--c); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }
.eg-rs { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 0 6px; text-align: center; }
.eg-rs__d { width: 28px; height: 28px; margin-bottom: 4px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--eg-sheet); display: grid; place-items: center; color: #fff; }
.eg-rs.is-past .eg-rs__d { border-color: var(--c); background: var(--c); }
.eg-rs.is-here .eg-rs__d { width: 34px; height: 34px; margin: -3px 0 1px; border-color: var(--c); background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.eg-rs__p { font: 600 13px var(--mono); }
.eg-rs__w { font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.eg-rs.is-here .eg-rs__w { color: var(--c); font-weight: 600; }
.eg-pin { position: absolute; top: 0; left: calc((var(--stage) + .5) * 100% / 3); transform: translateX(-50%); max-width: 46%; padding: 4px 10px; border-radius: 7px; background: var(--ink); color: #fff; font: 600 11.5px/1.35 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eg-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); z-index: -1; }
.eg-pin.is-s0 { transform: translateX(-17px); }
.eg-pin.is-s0::after { left: 17px; }
.eg-pin.is-s2 { transform: translateX(calc(-100% + 17px)); }
.eg-pin.is-s2::after { left: calc(100% - 17px); }
.eg-pin.is-off { left: 0; transform: none; background: transparent; color: var(--c); border: 1.5px dashed var(--c); }
.eg-pin.is-off::after { display: none; }
.eg-tags { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.eg-tag { display: grid; gap: 2px; padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.eg-tag dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; font-weight: 600; }
.eg-tag code { font: 500 12px/1.45 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
.eg-tag dd { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.eg-reps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eg-rp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.eg-rp__b { display: grid; gap: 3px; min-width: 0; }
.eg-rp__k { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.eg-rp__a { font: 600 13px/1.5 var(--mono); overflow-wrap: anywhere; }
.eg-rp__q { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 10px 12px; border-radius: 8px; background: var(--paper-2); }
.eg-rp__q code { font: 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.eg-rp__n { grid-column: 1 / -1; font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* 06 DKIM: a sheet of stamps */
.eg-dk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.eg-dks { position: relative; min-width: 0; filter: drop-shadow(0 1px 1.2px rgba(0, 0, 0, .2)); }
.eg-dks__p { display: block; padding: 5px; background: var(--eg-sheet);
  -webkit-mask: radial-gradient(circle, #0000 2px, #000 2.5px) -3.5px -3.5px / 7px 7px, linear-gradient(#000 0 0) center / calc(100% - 7px) calc(100% - 7px) no-repeat;
  mask: radial-gradient(circle, #0000 2px, #000 2.5px) -3.5px -3.5px / 7px 7px, linear-gradient(#000 0 0) center / calc(100% - 7px) calc(100% - 7px) no-repeat; }
.eg-dks__in { display: grid; place-items: center; align-content: center; gap: 3px; min-height: 84px; padding: 6px 4px; border: 1.5px dashed var(--line-2); text-align: center; }
.eg-dks__s { max-width: 100%; font: 600 10.5px/1.2 var(--mono); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-dks__v { font: 700 19px/1 var(--mono); letter-spacing: -.03em; color: var(--text-3); }
.eg-dks__w { font: 500 9.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.eg-dks__t { position: absolute; z-index: 1; top: -6px; right: -4px; padding: 1px 5px; border-radius: 4px; background: var(--ink); color: #fff; font: 600 9px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.eg-dks.is-key .eg-dks__in { border: 2px solid var(--c); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 7%, #fff) 0 2px, #fff 2px 4px); }
.eg-dks.is-key :is(.eg-dks__v, .eg-dks__w) { color: var(--c); }
.eg-dks.is-key .eg-dks__v { font-size: 22px; }
.eg-dks.is-warn .eg-dks__in { border: 2px dashed var(--c); }
.eg-dks.is-warn :is(.eg-dks__v, .eg-dks__w) { color: var(--c); }
.eg-dks.is-rev .eg-dks__in { border: 2px solid var(--text-3); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--text-3) 50%, transparent calc(50% + 1px)); }
.eg-dks.is-rev .eg-dks__w { color: var(--text-2); font-weight: 600; }
.eg-dks.is-in { animation: eg-pop .32s var(--spring) both; }
.eg-dks[data-st="wait"] .eg-dks__in { border-style: dotted; opacity: .7; }
.eg-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eg-key { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.eg-key.eg-s[data-st="warn"] { border-color: var(--c); }
.eg-key__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.eg-key__s { font: 700 15px var(--mono); }
.eg-key__dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 5px 14px; font-size: 13px; }
.eg-key__dl dt { color: var(--text-3); }
.eg-key__dl dd { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.eg-key__n { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* 07 Around the mail */
.eg-around { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eg-rc { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.eg-rc__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.eg-rc__h h4 { font-size: 15px; letter-spacing: -.01em; }
.eg-rc__h .eg-chip { margin-left: auto; }
.eg-rc > [data-eg] { display: grid; gap: 10px; min-width: 0; }
.eg-rc__n { font-size: 13px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.eg-rc__empty { display: grid; gap: 4px; justify-items: start; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 10px; }
.eg-rc__empty b { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; }
.eg-rc__empty span { font-size: 13px; color: var(--text-2); }
.eg-rc__empty code { font: 12px var(--mono); white-space: nowrap; }
.eg-mx { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eg-mx li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.eg-mx__p { display: grid; place-items: center; height: 24px; border-radius: 6px; background: var(--paper-3); font: 600 11.5px var(--mono); }
.eg-mx code { font: 12px/1.45 var(--mono); overflow-wrap: anywhere; }
.eg-tr { display: grid; gap: 7px; min-width: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.eg-tr:first-of-type { padding-top: 0; border-top: 0; }
.eg-tr__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; }
.eg-tr__h .eg-chip { margin-left: auto; }
.eg-box--sm { padding: 8px 10px; font-size: 12px; line-height: 1.5; }
.eg-tx { display: inline-flex; align-items: center; gap: 4px; color: var(--c); font-weight: 600; }
.eg-bimi { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.eg-bimi__logo { display: grid; place-items: center; align-content: center; gap: 3px; width: 64px; height: 64px; border: 1.5px dashed var(--line-2); border-radius: 50%; background: var(--paper-2); color: var(--text-3); }
.eg-bimi__logo small { font: 500 8.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eg-bimi__b { display: grid; gap: 3px; min-width: 0; }
.eg-bimi__b code { margin-bottom: 6px; font: 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.eg-sec2 { display: flex; align-items: center; gap: 14px; }
.eg-sec2__ic { width: 46px; height: 46px; flex: none; border-radius: 12px; border: 2px solid var(--c); color: var(--c); display: grid; place-items: center; }
.eg-sec2__ic .ico { width: 20px; height: 20px; }
.eg-sec2 b { display: block; font-size: 16px; }
.eg-sec2 code { font: 12px var(--mono); color: var(--text-2); }

/* 08 Sources, 09 raw, 10 history */
.eg-srcbar { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--text-2); }
.eg-srcbar b { font: 600 14px var(--mono); color: var(--text); }
.eg-scroll { max-height: 380px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.eg-scroll:focus-visible { outline-offset: 2px; }
.eg-srct { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 12.5px; }
.eg-srct th { position: sticky; top: 0; z-index: 1; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); text-align: left; font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.eg-srct td { padding: 7px 12px; border-top: 1px solid var(--line); vertical-align: top; font-family: var(--mono); font-size: 12px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.eg-srct td:nth-child(2) { color: var(--text); }
.eg-srct td:last-child, .eg-srct th:last-child { text-align: right; white-space: nowrap; }
.eg-raw__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.eg-pre { margin: 0; max-height: 340px; overflow: auto; padding: 14px 16px; border-radius: 10px; background: #111110; color: #e7e5df; font: 12px/1.6 var(--mono); white-space: pre; tab-size: 4; }
.eg-json { display: grid; gap: 10px; }
.eg-json summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.eg-json summary::-webkit-details-marker { display: none; }
.eg-json summary .ico { transition: transform .2s; }
.eg-json[open] summary .ico { transform: rotate(90deg); }
.eg-json[open] { gap: 12px; }
.eg-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eg-hi { display: grid; grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 4px 14px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; }
.eg-hi > .ico { color: var(--c); }
.eg-hi__d { justify-self: start; max-width: 100%; padding: 0; border: 0; background: none; font: 600 13.5px var(--mono); color: var(--text); text-align: left; overflow-wrap: anywhere; }
button.eg-hi__d { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
button.eg-hi__d:hover { text-decoration-color: var(--ink); }
.eg-hi__t { font-size: 13px; color: var(--c); font-weight: 600; }
.eg-hi__at { font: 11.5px var(--mono); color: var(--text-3); white-space: nowrap; }

/* ---------- Help copy + related tools restyle (words unchanged) ---------- */

@keyframes eg-invite { 0% { opacity: .55; transform: scale(.98); } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes eg-spin { to { transform: rotate(360deg); } }
@keyframes eg-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes eg-breathe { 0% { opacity: .6; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes eg-pop { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
@keyframes eg-bob { 0%, 100% { transform: translateY(0) rotate(-.35deg); } 50% { transform: translateY(-5px) rotate(.2deg); } }
@keyframes eg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes eg-arrive { 0% { opacity: 0; transform: translateX(-70px) rotate(-2.4deg); } 70% { opacity: 1; transform: translateX(5px) rotate(.4deg); } 100% { opacity: 1; transform: none; } }
@keyframes eg-hit { 0% { transform: none; } 35% { transform: translateY(3px) scale(.996); } 100% { transform: none; } }
@keyframes eg-thump { 0% { opacity: 0; transform: rotate(var(--rot, -3deg)) scale(1.9); } 60% { opacity: 1; transform: rotate(var(--rot, -3deg)) scale(.94); } 100% { opacity: 1; transform: rotate(var(--rot, -3deg)) scale(1); } }
@keyframes eg-pm { 0% { opacity: 0; transform: rotate(-56deg) scale(1.75); } 60% { opacity: .95; transform: rotate(-11deg) scale(.95); } 100% { opacity: .93; transform: rotate(-14deg) scale(1); } }
@keyframes eg-draw { from { stroke-dashoffset: 190; } to { stroke-dashoffset: 0; } }
@keyframes eg-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes eg-rowin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes eg-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes eg-shake { 0%, 100% { transform: none; } 30% { transform: translateX(-6px); } 65% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
  .eg *, .eg *::before, .eg *::after { animation-delay: 0s !important; transition-delay: 0s !important; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .eg-spfx, .eg-txt { grid-template-columns: minmax(0, 1fr); }
  .eg-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eg-dk { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .eg-legend, .eg-finds, .eg-tags, .eg-around { grid-template-columns: minmax(0, 1fr); }
  .eg-sdt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eg-sdt > div:first-child { grid-column: 1 / -1; }
  .eg-hi { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .eg-hi__t { grid-column: 2 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .eg-form { padding: 10px; border-radius: 18px; }
  .eg-form__r1 { grid-template-columns: minmax(0, 1fr); }
  .eg-go { width: 100%; min-height: 54px; }
  .eg-input { font-size: 19px; }
  .eg-input.eg-input--sm { font-size: 14.5px; }
  .eg-vd { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .eg-vd__t { font-size: 21px; }
  .eg-mts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .eg-stage { padding: 16px 12px 20px; }
  .eg-env { grid-template-columns: minmax(0, 1fr); grid-template-areas: "from" "to" "marks"; gap: 14px; padding: 18px 16px 18px; }
  .eg-from { padding-right: 62px; }
  .eg-from__a { font-size: 17px; letter-spacing: -.02em; }
  .eg-post { position: absolute; right: 12px; top: 12px; transform: scale(.6); transform-origin: top right; }
  .eg-to { padding-left: 0; }
  .eg-to__v { font-size: 19px; }
  .eg-marks__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eg-stamp { font-size: 11.5px; padding: 6px 9px 5px; }
  .eg-pm { right: 4px; top: auto; bottom: 8px; width: 108px; height: 108px; }
  .eg-waves { display: none; }
  .eg-railw { margin-top: 26px; }
  .eg-rail { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 0; }
  .eg-st { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 5px; }
  .eg-st > * { grid-column: 2; }
  .eg-st > .eg-st__dot { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .eg-st__n { margin-top: 0; }
  .eg-st::after { left: 16px; top: 34px; width: 0; height: calc(100% - 14px); border-top: 0; border-left: 2px dashed var(--eg-frame); }
  .eg-st.is-past::after { border-top: 0; border-left-style: solid; border-left-color: var(--on-bnd-2); }
  .eg-gbar { left: 0; top: calc(100% + 6px); width: 34px; height: 7px; background: repeating-linear-gradient(90deg, var(--c) 0 8px, var(--eg-stage) 8px 12px); transform-origin: left; transform: scaleX(0); }
  .eg-gbar.is-on { transform: scaleX(1); }
  .eg-tok { --oy: 0px; width: 40px; height: 28px; }
  .eg-ar { padding: 16px; }
  .eg-slip { padding: 12px 12px 20px; }
  .eg-slip__t { font-size: 12.5px; }
  .eg-h-l { padding-left: 2ch; text-indent: -2ch; }
  .eg-h-l.is-i { padding-left: 4ch; }
  .eg-desk { padding: 40px 0 48px; }
  .eg-sheet { padding: 20px 16px 22px; }
  .eg-sheet__hd { grid-template-columns: auto minmax(0, 1fr); }
  .eg-sheet__hd > .eg-chip { grid-column: 2; justify-self: start; }
  .eg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-dk { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .eg-dks__in { min-height: 76px; }
  .eg-sd { grid-template-columns: minmax(0, 1fr) auto; }
  .eg-sd .eg-meter { grid-column: 1 / -1; grid-row: 2; }
  .eg-nd__addr, .eg-nd__x, .eg-nd__rec { padding-left: 0; }
  .eg-kids { padding-left: 18px; }
  .eg-kids::before { left: 6px; }
  .eg-nd::before { left: -12px; width: 12px; }
  .eg-key__dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .eg-key__dl dd { margin-bottom: 6px; }
  .eg-all__big { font-size: 38px; }
  .eg-rp { grid-template-columns: minmax(0, 1fr); }
  .eg-rp__q { grid-template-columns: minmax(0, 1fr); }
  .eg-road__line { top: 56px; }
  .eg-rs__w { font-size: 11.5px; }
  .eg-pin { max-width: 70%; }
  .eg-lead-msg { font-size: 16.5px; padding: 14px 16px; }
}

/* ----- D: the console ----- */
/* Option D (.eg-c-): Control room. A dark console straight out of the header (title band + lead ad, the query deck beside the
   side ad, a run strip, then a rack of instruments: lookup-budget needle gauge, all-rule dial, DMARC lever, DKIM LED bank,
   sender meters, check board, transport lamps, forged-message alarm panel, DNS-question tape). Below it the surfaces turn
   light grey: readout panels carry the records, the tree, the fix cards, with the sticky sky rail. Light theme = a daylight console. */
.eg-c-room {
  --egc-bg: #0b0b0b; --egc-mod: #121313; --egc-mod2: #181919; --egc-face: #0d0e0e; --egc-hair: rgba(255, 255, 255, .1); --egc-hair2: rgba(255, 255, 255, .2);
  --egc-txt: #f4f4f4; --egc-txt2: #adadad; --egc-txt3: #8a8a8a; --egc-ph: 255, 255, 255;
  --egc-good: #4ade80; --egc-good-rgb: 74, 222, 128; --egc-info: #60a5fa; --egc-info-rgb: 96, 165, 250;
  --egc-warn: #fbbf24; --egc-warn-rgb: 251, 191, 36; --egc-bad: #f87171; --egc-bad-rgb: 248, 113, 113;
  --egc-none: #9a9a9a; --egc-none-rgb: 154, 154, 154;
  --egc-glow: 1; --egc-scan: rgba(255, 255, 255, .022); --egc-sh: 0 40px 80px -60px #000;
}
html[data-theme="light"] .eg-c-room, .eg-c-low {
  --egc-bg: #e9e9e7; --egc-mod: #fbfbfa; --egc-mod2: #fff; --egc-face: #f2f2f0; --egc-hair: rgba(10, 10, 10, .12); --egc-hair2: rgba(10, 10, 10, .24);
  --egc-txt: #0a0a0a; --egc-txt2: #454545; --egc-txt3: #666; --egc-ph: 10, 10, 10;
  --egc-good: #15803d; --egc-good-rgb: 22, 163, 74; --egc-info: #1d4ed8; --egc-info-rgb: 37, 99, 235;
  --egc-warn: #b45309; --egc-warn-rgb: 217, 119, 6; --egc-bad: #dc2626; --egc-bad-rgb: 220, 38, 38;
  --egc-none: #6b6b6b; --egc-none-rgb: 115, 115, 115;
  --egc-glow: .35; --egc-scan: transparent; --egc-sh: 0 24px 50px -36px rgba(0, 0, 0, .25);
}
.eg-c-room [data-st] { --c: var(--egc-txt3); --c-rgb: var(--egc-ph); }
.eg-c-room [data-st="good"] { --c: var(--egc-good); --c-rgb: var(--egc-good-rgb); }
.eg-c-room [data-st="info"] { --c: var(--egc-info); --c-rgb: var(--egc-info-rgb); }
.eg-c-room [data-st="warn"] { --c: var(--egc-warn); --c-rgb: var(--egc-warn-rgb); }
.eg-c-room [data-st="bad"] { --c: var(--egc-bad); --c-rgb: var(--egc-bad-rgb); }
.eg-c-room [data-st="none"] { --c: var(--egc-none); --c-rgb: var(--egc-none-rgb); }
.eg-c-room [data-st="wait"] { --c: var(--egc-txt2); --c-rgb: var(--egc-ph); }

.eg-c-room { position: relative; isolation: isolate; overflow: hidden; padding: 28px 0 48px; background: var(--egc-bg); color: var(--egc-txt); }
html[data-theme="light"] .eg-c-room { border-bottom: 1px solid var(--line-2); }
.eg-c-room::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--egc-ph), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--egc-ph), .035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 20%, transparent 85%); mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 20%, transparent 85%); }
.eg-c-room :focus-visible { outline-color: var(--egc-txt); }
.eg-c-room .tag { border-color: var(--egc-hair2); color: var(--egc-txt3); padding: 3px 6px; font-size: 9.5px; }
.eg-c-room .ad__lbl { color: var(--egc-txt3); }
.eg-c-room .ad__box { border-color: var(--egc-hair2); color: var(--egc-txt3); background: repeating-linear-gradient(135deg, var(--egc-mod) 0 10px, var(--egc-face) 10px 20px); }
.eg-c-room .ad__brand { color: var(--egc-txt2); }
.eg-c-room .ad__sz { background: var(--egc-txt); color: var(--egc-bg); }
.eg-c-low { background: #f4f4f2; color: var(--egc-txt); padding: 40px 0 36px; }
.eg-c-low .tag { padding: 3px 6px; font-size: 9.5px; }

.eg-c-pulse { position: relative; display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--egc-good); box-shadow: 0 0 10px rgba(var(--egc-good-rgb), calc(.9 * var(--egc-glow))); }
.eg-c-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(var(--egc-good-rgb), .7); opacity: 0; animation: eg-c-ring 2.6s var(--ease) infinite; }
@keyframes eg-c-ring { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes eg-c-blink { from { opacity: .3; } to { opacity: 1; } }
@keyframes eg-c-snap { 0% { transform: scale(1, .04); opacity: 0; filter: brightness(2); } 45% { transform: scale(1, 1.03); opacity: 1; } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes eg-c-flash { from { opacity: 1; } to { opacity: 0; } }
@keyframes eg-c-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes eg-c-invite { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.08, 1.25); } }
@keyframes eg-c-chase { 0%, 100% { box-shadow: inset 0 0 0 1.5px var(--egc-hair2); } 40% { box-shadow: inset 0 0 0 1.5px var(--egc-txt2), 0 0 10px rgba(var(--egc-ph), .25); } }
@keyframes eg-c-test { 0%, 36%, 100% { transform: rotate(-120deg); } 16% { transform: rotate(120deg); } }
@keyframes eg-c-wire { from { left: 0; opacity: 0; } 10% { opacity: 1; } to { left: calc(100% - 10px); opacity: 1; } }
/* ---------- Modules ---------- */
.eg-c-mod { --c: var(--egc-txt3); --c-rgb: var(--egc-ph); position: relative; isolation: isolate; overflow: hidden; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 14px 16px 16px; border-radius: 14px; background: var(--egc-mod); box-shadow: inset 0 0 0 1px var(--egc-hair), var(--egc-sh); transition: box-shadow .45s; }
.eg-c-mod::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: repeating-linear-gradient(180deg, var(--egc-scan) 0 1px, transparent 1px 3px); }
.eg-c-mod[data-st="good"], .eg-c-mod[data-st="info"], .eg-c-mod[data-st="warn"], .eg-c-mod[data-st="bad"] { box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .38), inset 0 -40px 60px -50px rgba(var(--c-rgb), calc(.5 * var(--egc-glow))), var(--egc-sh); }
.eg-c-mod[data-st="none"] { box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .3), var(--egc-sh); }
.eg-c-mod__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.eg-c-ch { flex: none; padding: 3px 5px; border-radius: 5px; font: 500 9px/1 var(--mono); letter-spacing: .1em; color: var(--egc-txt3); box-shadow: inset 0 0 0 1px var(--egc-hair); }
.eg-c-k { font: 600 10.5px/1.25 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--egc-txt2); }
.eg-c-stw { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 650 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); white-space: nowrap; }
.eg-c-stw .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.eg-c-sm { font: 500 11.5px/1.5 var(--mono); color: var(--egc-txt3); overflow-wrap: anywhere; }
.eg-c-sm b { color: var(--egc-txt2); font-weight: 600; }
.eg-c-lamp { position: relative; display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 3px rgba(var(--c-rgb), .14), 0 0 12px rgba(var(--c-rgb), calc(.75 * var(--egc-glow))); }
[data-st="off"] .eg-c-lamp, .eg-c-lamp[data-st="off"] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--egc-txt3); }
[data-st="wait"] .eg-c-lamp, .eg-c-lamp[data-st="wait"] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--egc-txt2); animation: eg-c-blink .8s ease-in-out infinite alternate; }
.eg-c-mod.is-snap .eg-c-snap { animation: eg-c-snap .5s cubic-bezier(.2, .8, .2, 1) both; }
.eg-c-mod.is-snap::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--c-rgb), .3), transparent); animation: eg-c-flash .7s ease-out both; }
.eg-c-standby { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--egc-txt3); }

/* ---------- Gauge, dial, lever ---------- */
.eg-c-gaugebox { width: 100%; max-width: 290px; margin: 0 auto; }
.eg-c-gauge { display: block; width: 100%; height: auto; overflow: visible; }
.eg-c-gauge text { font-family: var(--mono); fill: var(--egc-txt3); }
.eg-c-gauge .eg-c-lbl { font-size: 10.5px; font-weight: 500; } .eg-c-gauge .eg-c-lbl--hi { fill: var(--egc-txt); font-weight: 700; }
.eg-c-gauge .eg-c-z { fill: none; stroke-width: 8; stroke-linecap: butt; }
.eg-c-z0 { stroke: rgba(var(--egc-ph), .28); } .eg-c-z1 { stroke: var(--egc-warn); } .eg-c-z2 { stroke: var(--egc-bad); }
.eg-c-tick { stroke: var(--egc-txt3); stroke-width: 1.2; } .eg-c-tick--m { stroke: var(--egc-txt2); stroke-width: 2; }
.eg-c-needle { fill: var(--egc-txt); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1); transform: rotate(-120deg); }
.eg-c-hub { fill: var(--egc-mod2); stroke: var(--egc-txt); stroke-width: 2; }
.eg[data-phase="idle"] #egcGauge .eg-c-needle { animation: eg-c-test 7s ease-in-out infinite; }
.eg-c-gread { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: -4px; }
.eg-c-gread b { font: 600 40px/1 var(--mono); letter-spacing: -.03em; color: var(--c); }
.eg-c-gread span { font: 500 13px var(--mono); color: var(--egc-txt3); }
.eg-c-cells { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)) 10px repeat(2, minmax(0, 1fr)); gap: 4px; align-items: center; }
.eg-c-cells i { height: 8px; border-radius: 3px; background: rgba(var(--egc-ph), .14); transition: background .25s, box-shadow .25s; }
.eg-c-cells i.on { background: var(--egc-txt); } .eg-c-cells i.warn { background: var(--egc-warn); } .eg-c-cells i.over { background: var(--egc-bad); }
.eg-c-cells b { height: 12px; border-left: 1.5px dashed var(--egc-hair2); justify-self: center; }
.eg-c-cellk { display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--egc-txt3); }
.eg-c-void { display: flex; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--egc-txt2); }
.eg-c-void i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--egc-txt3); }
.eg-c-void i.on { background: var(--egc-bad); box-shadow: 0 0 0 3px rgba(var(--egc-bad-rgb), .16); }
.eg-c-dial { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; overflow: visible; }
.eg-c-dial text { font-family: var(--mono); fill: var(--egc-txt3); font-size: 11px; text-anchor: middle; dominant-baseline: middle; }
.eg-c-dial .on { fill: var(--c); font-weight: 700; }
.eg-c-dial circle.eg-c-det { fill: var(--egc-mod2); stroke: var(--egc-txt3); stroke-width: 1.5; }
.eg-c-dial circle.eg-c-det.on { fill: var(--c); stroke: var(--c); }
.eg-c-dial .eg-c-arc { fill: none; stroke: rgba(var(--egc-ph), .22); stroke-width: 5; }
#egcDial .eg-c-needle { transform: rotate(-90deg); }
.eg-c-term { text-align: center; font: 700 34px/1 var(--mono); letter-spacing: -.03em; color: var(--c); margin-top: -2px; }
.eg-c-term-w { text-align: center; font: 650 13px/1.3 var(--sans); color: var(--egc-txt); }
.eg-c-lever { display: grid; gap: 8px; }
.eg-c-slot { position: relative; height: 54px; }
.eg-c-rail { position: absolute; left: 4%; right: 4%; top: 50%; height: 8px; margin-top: -4px; border-radius: 6px; background: var(--egc-face); box-shadow: inset 0 0 0 1px var(--egc-hair2), inset 0 2px 4px rgba(0, 0, 0, .25); }
.eg-c-detent { position: absolute; top: 50%; width: 2px; height: 22px; margin: -11px 0 0 -1px; background: var(--egc-hair2); }
.eg-c-knob { position: absolute; top: 50%; left: 4%; width: 34px; height: 46px; margin: -23px 0 0 -17px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 3px; background: var(--egc-mod2); color: var(--egc-txt); box-shadow: inset 0 0 0 1.5px var(--c), 0 6px 14px -6px rgba(0, 0, 0, .5); transition: left .75s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; opacity: .45; }
.eg-c-knob span { width: 2px; height: 20px; border-radius: 2px; background: var(--egc-txt2); }
.eg-c-knob.is-on { opacity: 1; }
.eg-c-pos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; text-align: center; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--egc-txt3); }
.eg-c-pos li.is-on { color: var(--c); font-weight: 700; }
.eg-c-pol { font: 650 18px/1.25 var(--sans); letter-spacing: -.02em; color: var(--c); }
.eg-c-pc { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; }
.eg-c-pc i { height: 10px; border-radius: 2px; background: rgba(var(--egc-ph), .14); transition: background .2s; }
.eg-c-pc i.on { background: var(--egc-txt); }
.eg-c-pck { display: flex; justify-content: space-between; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--egc-txt2); }

/* ---------- DKIM bank, senders, board, lamps ---------- */
.eg-c-leds { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.eg-c-led { --c: var(--egc-txt3); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; padding: 8px 9px; border-radius: 9px; background: var(--egc-face); box-shadow: inset 0 0 0 1px var(--egc-hair); }
.eg-c-led .eg-c-lamp { grid-row: span 2; }
.eg-c-led b { font: 600 11.5px/1.2 var(--mono); color: var(--egc-txt); overflow-wrap: anywhere; }
.eg-c-led i { font: 500 10px/1.2 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--egc-txt3); }
.eg-c-led[data-st="info"], .eg-c-led[data-st="good"], .eg-c-led[data-st="warn"] { box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .42); }
.eg-c-led[data-st="info"] i, .eg-c-led[data-st="good"] i, .eg-c-led[data-st="warn"] i { color: var(--c); font-weight: 700; }
.eg-c-led.is-typed b::after { content: " typed"; font-weight: 500; font-size: 9.5px; color: var(--egc-txt3); }
.eg-c-led.is-new { animation: eg-c-in .35s var(--ease) both; }
.eg[data-phase="idle"] .eg-c-led .eg-c-lamp { animation: eg-c-chase 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .14s); }
.eg-c-stack { display: flex; height: 14px; gap: 2px; border-radius: 4px; overflow: hidden; background: rgba(var(--egc-ph), .1); }
.eg-c-stack i { min-width: 3px; background: var(--egc-txt); opacity: .9; transform-origin: left; animation: eg-c-in .5s var(--ease) both; }
.eg-c-stack i:nth-child(3n+2) { opacity: .6; } .eg-c-stack i:nth-child(3n) { opacity: .35; }
.eg-c-sr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; align-items: center; gap: 4px 10px; font: 500 12px/1.35 var(--mono); }
.eg-c-sr span { color: var(--egc-txt2); overflow-wrap: anywhere; }
.eg-c-sr em { display: block; height: 8px; border-radius: 3px; background: rgba(var(--egc-ph), .1); overflow: hidden; font-style: normal; }
.eg-c-sr em u { display: block; height: 100%; background: var(--egc-txt); border-radius: 3px; transform-origin: left; animation: eg-c-in .5s var(--ease) both; }
.eg-c-sr b { color: var(--egc-txt); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.eg-c-sr[data-st="bad"] b, .eg-c-sr[data-st="warn"] b { color: var(--c); }
.eg-c-sr--tot { padding-top: 6px; border-top: 1px dashed var(--egc-hair2); }
.eg-c-rows { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.eg-c-brd { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.eg-c-brd li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 6px 2px; border-bottom: 1px solid var(--egc-hair); }
.eg-c-brd li:last-child { border-bottom: 0; }
.eg-c-brd span { font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--egc-txt2); }
.eg-c-brd b { font: 600 12px/1.3 var(--mono); color: var(--egc-txt); text-align: right; overflow-wrap: anywhere; }
.eg-c-brd small { grid-column: 2 / -1; font: 500 11px/1.35 var(--mono); color: var(--egc-txt3); }
.eg-c-brd small:empty { display: none; }
.eg-c-brd li[data-st="wait"] b { color: var(--egc-txt3); }
.eg-c-brd li.is-in { animation: eg-c-in .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.eg-c-lamps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eg-c-lamps li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 9px 11px; border-radius: 9px; background: var(--egc-face); box-shadow: inset 0 0 0 1px var(--egc-hair); }
.eg-c-lamps li[data-st="good"], .eg-c-lamps li[data-st="info"], .eg-c-lamps li[data-st="warn"], .eg-c-lamps li[data-st="bad"] { box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .4); }
.eg-c-lamps .eg-c-lamp { width: 12px; height: 12px; }
.eg-c-lamps strong { font: 600 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--egc-txt); }
.eg-c-lamps b { font: 650 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); text-align: right; }
.eg-c-lamps small { grid-column: 2 / -1; font: 500 11px/1.4 var(--mono); color: var(--egc-txt3); overflow-wrap: anywhere; }
.eg-c-lamps small:empty { display: none; }

/* ---------- DNS question tape ---------- */
.eg-c-tapebox { position: relative; height: 230px; border-radius: 9px; background: var(--egc-face); box-shadow: inset 0 0 0 1px var(--egc-hair); overflow: hidden; }
.eg-c-tape { position: absolute; inset: 0; margin: 0; padding: 8px 10px; list-style: none; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 3px; }
.eg-c-tape li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; font: 500 11px/1.45 var(--mono); color: var(--egc-txt2); animation: eg-c-in .25s var(--ease) both; flex: none; }
.eg-c-tape li b { color: var(--egc-txt); font-weight: 600; overflow-wrap: anywhere; }
.eg-c-tape li b small { display: block; font-weight: 400; font-size: 10.5px; color: var(--egc-txt3); }
.eg-c-tape li span { color: var(--egc-txt3); }
.eg-c-tape li em { font-style: normal; color: var(--egc-txt3); font-variant-numeric: tabular-nums; }
.eg-c-tape li.is-hit b small { color: var(--egc-warn); }
.eg-c-tapebox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; z-index: 2; pointer-events: none; background: linear-gradient(var(--egc-face), transparent); }


/* ----- A: the mail sky ----- */
.eg-s-sky { position: relative; height: 560px; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 52% 50%, var(--sky-2), var(--sky) 100%); }
.eg-s-sky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 95%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 95%); }
.eg-s-stars, .eg-s-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.eg-s-svg { overflow: hidden; }
.eg-s-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: 99px; border: 1px solid var(--sky-line); background: var(--sky); color: var(--star-2); font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transition: opacity .4s; }
.eg-s-hint .ico { animation: egsBlink 2.4s ease-in-out infinite; }
.eg-s-sky:not([data-phase="idle"]) .eg-s-hint { opacity: 0; }
.eg-s-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px 18px; border-top: 1px solid var(--sky-line); font: 11px/1.4 var(--mono); color: var(--star-3); }
.eg-s-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.eg-s-legend li { display: inline-flex; align-items: center; gap: 7px; }
.eg-s-foot__r { margin-left: auto; }
.eg-s-lg { position: relative; display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.eg-s-lg--dom { width: 12px; height: 12px; border: 2px solid var(--hi-up); box-shadow: 0 0 0 2px var(--sky), 0 0 0 3px var(--hi-up); }
.eg-s-lg--snd { width: 8px; height: 8px; background: var(--star); box-shadow: 0 0 6px rgba(255, 255, 255, calc(var(--glow-a) * 1.2)); }
.eg-s-lg--hz { width: 14px; height: 10px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--star-2) 0 2px, transparent 2px 5px); }
.eg-s-lg--key { width: 5px; height: 5px; background: var(--star-3); box-shadow: 8px 0 0 var(--star-4), -8px 0 0 var(--star-4); margin: 0 8px; }
.eg-s-lg--met { width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--star)); }
/* ---------- SVG: decoration, horizon, links, stars, keys, lamps, halo, meteor ---------- */
.eg-s-orb { fill: none; stroke: var(--orb); stroke-width: 1; }
.eg-s-orb--d { stroke-dasharray: 2 7; }
.eg-s-orb-spin { transform-box: view-box; animation: egsSpin 140s linear infinite; }
.eg-s-t { font-family: var(--mono); font-size: 10px; font-weight: 500; fill: var(--star-2); paint-order: stroke; stroke: var(--sky); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.eg-s-t__d { fill: var(--star-3); }
.eg-s-t--k { font-size: 8.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; fill: var(--star-3); }
.eg-s-hit { fill: transparent; }
.eg-s-hit-s { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; }
.eg-s-n { cursor: pointer; transition: opacity .3s; }

/* The 10-lookup horizon */
.eg-s-hz__arc { fill: none; stroke: var(--lnk); stroke-width: 1.2; }
.eg-s-hz__warn { fill: none; stroke: var(--hi-warn); stroke-opacity: .55; stroke-width: 2.2; stroke-dasharray: 1 3; }
.eg-s-hz__over { fill: none; stroke: var(--hi-down); stroke-width: 1.4; stroke-dasharray: 3 3; }
.eg-s-hz[data-st="bad"] .eg-s-hz__arc { stroke: var(--hi-down); stroke-opacity: .55; }
.eg-s-tk { stroke: var(--star-4); stroke-width: 2.4; stroke-linecap: round; transition: stroke .3s; }
.eg-s-tk[data-st="on"] { stroke: var(--star); }
.eg-s-tk[data-st="warn"] { stroke: var(--hi-warn); }
.eg-s-tk[data-st="bad"] { stroke: var(--hi-down); }
.eg-s-tk__n { font-size: 8.5px; font-weight: 600; text-anchor: middle; fill: var(--star-3); }
.eg-s-tk__n--bad { fill: var(--hi-down); }
.eg-s-sky[data-phase="idle"] .eg-s-tk { animation: egsSweep 4.2s ease-in-out infinite; animation-delay: calc(var(--n) * 160ms); }
.eg-s-hzt__n { fill: var(--star); font-weight: 600; }
.eg-s-hzt__n[data-st="warn"] { fill: var(--hi-warn); }
.eg-s-hzt__n[data-st="bad"] { fill: var(--hi-down); }
.eg-s-hzt__n[data-st="good"] { fill: var(--hi-up); }

/* Links */
.eg-s-ln { fill: none; stroke: var(--lnk); stroke-width: 1.05; transition: opacity .25s, stroke .25s; }
.eg-s-ln--bad { stroke: var(--hi-down); stroke-opacity: .75; stroke-dasharray: 3 3; }
.eg-s-ln--warn { stroke: var(--hi-warn); stroke-opacity: .7; }
.eg-s-ln--macro { stroke-dasharray: 2 3; }
.eg-s-ln--key { stroke: var(--lnk); }
.eg-s-ln.is-new { stroke-dasharray: 1; stroke-dashoffset: 1; animation: egsDraw .55s var(--ease) forwards; }
.eg-s-ln--bad.is-new, .eg-s-ln--macro.is-new { stroke-dasharray: 3 3; stroke-dashoffset: 0; animation: egsFade .5s var(--ease) both; }
.eg-s-ln.is-on { stroke: var(--lnk-2); stroke-width: 1.7; opacity: 1; }
.eg-s-ln--bad.is-on { stroke: var(--hi-down); }

/* Senders: stars sized by their address count */
.eg-s-snd__glow { fill: url(#egsGlowW); opacity: calc(var(--glow-a) * 1.1); }
.eg-s-snd__dot { fill: var(--star); }
.eg-s-snd[data-st="warn"] .eg-s-snd__dot { fill: var(--hi-warn); }
.eg-s-snd[data-st="warn"] .eg-s-snd__glow { fill: url(#egsGlowA); }
.eg-s-snd[data-st="bad"] .eg-s-snd__dot { fill: var(--hi-down); }
.eg-s-snd[data-st="bad"] .eg-s-snd__glow { fill: url(#egsGlowR); }
.eg-s-snd__dot--void { fill: var(--nfill) !important; stroke: var(--hi-down); stroke-width: 1.6; stroke-dasharray: 2 1.6; }
.eg-s-snd__dot--macro { fill: var(--nfill); stroke: var(--star-2); stroke-width: 1.3; }
.eg-s-snd__ring { fill: none; stroke: var(--star-3); stroke-width: 1; stroke-dasharray: 1.5 2.5; transform-box: fill-box; transform-origin: center; animation: egsSpin 9s linear infinite; }
.eg-s-snd__nm { fill: var(--star); font-weight: 600; }
.eg-s-snd__sub { fill: var(--star-3); }
.eg-s-snd__pre { fill: var(--star-3); font-weight: 600; }
.eg-s-snd[data-st="bad"] .eg-s-snd__sub, .eg-s-snd[data-st="bad"] .eg-s-snd__pre, .eg-s-snd[data-st="bad"] .eg-s-snd__nm { fill: var(--hi-down); }
.eg-s-snd[data-st="warn"] .eg-s-snd__sub { fill: var(--hi-warn); }
.eg-s-n.is-new .eg-s-snd__dot, .eg-s-n.is-new .eg-s-snd__glow, .eg-s-n.is-new .eg-s-key__star, .eg-s-n.is-new .eg-s-key__glow { transform-box: fill-box; transform-origin: center; animation: egsPop .6s var(--spring) both; }
.eg-s-n.is-new .eg-s-t { animation: egsFade .5s .12s var(--ease) both; }

/* DKIM: an arc of faint points; found keys are bright stars sized by bits */
.eg-s-karc { fill: none; stroke: var(--orb); stroke-width: 1; stroke-dasharray: 1 5; }
.eg-s-key__pt { fill: var(--star-4); }
.eg-s-sky[data-phase="idle"] .eg-s-key__pt { transform-box: fill-box; transform-origin: center; animation: egsBreath 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms); }
.eg-s-key[data-st="none"] .eg-s-key__pt { fill: var(--star-3); }
.eg-s-key__t { font-size: 9px; fill: var(--star-3); }
.eg-s-key[data-st="idle"] .eg-s-key__t { fill: var(--star-4); }
.eg-s-key__nm { fill: var(--star); font-weight: 600; font-size: 10.5px; }
.eg-s-key__star { fill: var(--star); }
.eg-s-key__glow { fill: url(#egsGlowW); opacity: calc(var(--glow-a) * 1.1); }
.eg-s-key__rv { fill: var(--nfill); stroke: var(--star-3); stroke-width: 1.2; }
.eg-s-key__sl { stroke: var(--star-3); stroke-width: 1.2; stroke-linecap: round; }
.eg-s-key__dg { fill: none; stroke: var(--hi-down); stroke-width: 1.4; stroke-dasharray: 3 3; }
.eg-s-key__end { fill: none; stroke: var(--hi-down); stroke-width: 1.3; stroke-linecap: round; }
.eg-s-key__bad { fill: var(--hi-down); }
.eg-s-key__typed { fill: none; stroke: var(--star-3); stroke-width: 1; stroke-dasharray: 1.5 1.5; }
.eg-s-key[data-st="warn"] .eg-s-key__nm, .eg-s-key[data-st="warn"] .eg-s-t__d { fill: var(--hi-down); }
.eg-s-n.is-on .eg-s-key__pt { fill: var(--star); }

/* Lamps: MX, MTA-STS, TLS-RPT, BIMI, DNSSEC */
.eg-s-lamp__b { fill: var(--nfill); stroke: var(--star-4); stroke-width: 1.4; transition: fill .3s, stroke .3s; }
.eg-s-lamp__i { fill: none; stroke: var(--nfill); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eg-s-lamp__g { opacity: 0; transition: opacity .4s; }
.eg-s-lamp[data-st="good"] .eg-s-lamp__b { fill: var(--hi-up); stroke: var(--hi-up); }
.eg-s-lamp[data-st="warn"] .eg-s-lamp__b { fill: var(--hi-warn); stroke: var(--hi-warn); }
.eg-s-lamp[data-st="bad"] .eg-s-lamp__b { fill: var(--hi-down); stroke: var(--hi-down); }
.eg-s-lamp[data-st="info"] .eg-s-lamp__b { fill: var(--hi-maint); stroke: var(--hi-maint); }
.eg-s-lamp[data-st="none"] .eg-s-lamp__b { fill: var(--none); stroke: var(--none); }
.eg-s-lamp[data-st="good"] .eg-s-lamp__g { opacity: calc(var(--glow-a) * .8); fill: url(#egsGlowG); }
.eg-s-lamp[data-st="warn"] .eg-s-lamp__g { opacity: calc(var(--glow-a) * .8); fill: url(#egsGlowA); }
html[data-theme="light"] .eg-s-lamp__i { stroke: #fff; }
.eg-s-lamp__nm { fill: var(--star); font-weight: 600; }
.eg-s-lamp__v { fill: var(--star-3); }
.eg-s-lamp[data-st="good"] .eg-s-lamp__v { fill: var(--hi-up); } .eg-s-lamp[data-st="warn"] .eg-s-lamp__v { fill: var(--hi-warn); } .eg-s-lamp[data-st="info"] .eg-s-lamp__v { fill: var(--hi-maint); }
.eg-s-lamp.is-new .eg-s-lamp__b { transform-box: fill-box; transform-origin: center; animation: egsPop .5s var(--spring) both; }
.eg-s-lamp--cp .eg-s-t { font-size: 8px; }

/* The domain: core(s), the DMARC halo, the pill */
.eg-s-dom__glow { fill: url(#egsGlowW); opacity: calc(var(--glow-a) * 1.2); transition: opacity .4s; }
.eg-s-dom[data-st="idle"] .eg-s-dom__glow { opacity: calc(var(--glow-a) * .5); }
.eg-s-dom[data-st="bad"] .eg-s-dom__glow { fill: url(#egsGlowR); }
.eg-s-dom[data-st="dim"] .eg-s-dom__glow { opacity: 0; }
.eg-s-core { fill: var(--star); }
.eg-s-dom[data-st="idle"] .eg-s-core { fill: var(--star-2); }
.eg-s-core--twin { fill: var(--hi-down); }
.eg-s-core--dim { fill: var(--nfill); stroke: var(--star-3); stroke-width: 1.5; stroke-dasharray: 2 2; }
.eg-s-dom__ping { fill: none; stroke: var(--star-2); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.eg-s-sky[data-phase="idle"] .eg-s-dom__ping { animation: egsPing 2.6s var(--ease) infinite; }
.eg-s-dom__ping.is-on { animation: egsPing 1.1s var(--ease) both; }
.eg-s-pill { fill: var(--nfill); stroke: var(--sky-line); stroke-width: 1; }
.eg-s-pill__t { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--star); text-anchor: middle; dominant-baseline: central; }
.eg-s-pol { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; fill: var(--star-3); paint-order: stroke; stroke: var(--sky); stroke-width: 4px; }
.eg-s-pol[data-st="good"] { fill: var(--hi-up); } .eg-s-pol[data-st="warn"] { fill: var(--hi-warn); } .eg-s-pol[data-st="bad"] { fill: var(--hi-down); }
.eg-s-halo__r { fill: none; stroke: var(--hi-up); stroke-width: 1.7; }
.eg-s-halo[data-st="warn"] .eg-s-halo__r { stroke: var(--hi-warn); }
.eg-s-halo__r--d { stroke-width: 1.1; stroke-dasharray: 3 3; }
.eg-s-halo__r.is-new { stroke-dasharray: 1; stroke-dashoffset: 1; animation: egsDraw .9s var(--ease) forwards; }
.eg-s-halo__r--d.is-new { stroke-dasharray: 3 3; stroke-dashoffset: 0; animation: egsFade .7s var(--ease) both; }
.eg-s-sky[data-phase="done"] .eg-s-halo { animation: egsHalo 4.5s ease-in-out infinite; }
.eg-s-halo.is-hit .eg-s-halo__r { animation: egsHit .9s var(--ease); }

/* Report addresses: links leaving the sky to its edge */
.eg-s-rep__ln { fill: none; stroke: var(--lnk-2); stroke-width: 1.2; }
.eg-s-rep__ln--bad { stroke: var(--hi-down); stroke-dasharray: 6 4; }
.eg-s-rep__x { fill: none; stroke: var(--hi-down); stroke-width: 1.7; stroke-linecap: round; }
.eg-s-rep__ok { fill: none; stroke: var(--hi-up); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eg-s-rep__d { fill: var(--star); font-weight: 600; }
.eg-s-rep__w { font-weight: 600; fill: var(--hi-up); }
.eg-s-rep[data-st="bad"] .eg-s-rep__w { fill: var(--hi-down); }
.eg-s-rep[data-st="same"] .eg-s-rep__w { fill: var(--star-3); }
.eg-s-rep.is-new .eg-s-rep__ln { animation: egsFade .6s var(--ease) both; }

/* The forged message: a meteor from the edge toward the domain */
.eg-s-met__tr { stroke-width: 2.2; stroke-linecap: round; fill: none; }
.eg-s-met__hd { fill: var(--star); }
.eg-s-met__gl { fill: url(#egsGlowW); opacity: calc(var(--glow-a) * 1.4); }
.eg-s-met[data-st="bad"] .eg-s-met__hd { fill: var(--hi-down); }
.eg-s-met[data-st="bad"] .eg-s-met__gl { fill: url(#egsGlowR); }
.eg-s-met[data-st="warn"] .eg-s-met__hd { fill: var(--hi-warn); }
.eg-s-met[data-st="warn"] .eg-s-met__gl { fill: url(#egsGlowA); }
.eg-s-met__sh { stroke: var(--star); stroke-width: 1.5; stroke-linecap: round; }
.eg-s-met__br { fill: none; stroke: var(--hi-down); stroke-width: 1.6; stroke-dasharray: 2 2; }
.eg-s-met[data-st="warn"] .eg-s-met__br { stroke: var(--hi-warn); }
.eg-s-met__t2 { font-size: 11px; font-weight: 650; }
.eg-s-met[data-st="good"] .eg-s-met__t2 { fill: var(--hi-up); } .eg-s-met[data-st="bad"] .eg-s-met__t2 { fill: var(--hi-down); } .eg-s-met[data-st="warn"] .eg-s-met__t2 { fill: var(--hi-warn); }
.eg-s-met.is-fly :is(.eg-s-met__sh, .eg-s-met__br, .eg-s-met__t2) { opacity: 0; }
.eg-s-met.is-hit .eg-s-met__sh { transform-box: view-box; animation: egsShard .8s var(--ease) both; }
.eg-s-met.is-hit .eg-s-met__br { transform-box: fill-box; transform-origin: center; animation: egsPop .7s var(--spring) both; }
.eg-s-met.is-hit .eg-s-met__t2 { animation: egsFade .5s var(--ease) both; }

/* Highlight (a star or a list row under the pointer) */
.eg-s-sky.is-hl .eg-s-n:not(.is-on) { opacity: .18; }
.eg-s-sky.is-hl .eg-s-ln:not(.is-on) { opacity: .1; }
.eg-s-n.is-on .eg-s-t { fill: var(--star); }
.eg-s-n.is-on .eg-s-snd__dot { stroke: var(--star); stroke-width: 1.4; }
.eg-s-is-compact .eg-s-hide-cp { display: none; }

/* The tooltip */
.eg-s-tip { position: absolute; left: 0; top: 0; z-index: 4; width: max-content; max-width: 300px; padding: 11px 13px 12px; border-radius: 12px; border: 1px solid var(--sky-line); background: var(--nfill); color: var(--star); box-shadow: var(--tip-sh); pointer-events: none; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.45; }
.eg-s-tip__k { display: flex; align-items: center; gap: 6px; font: 600 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--star-3); }
.eg-s-tip__v { font: 600 13.5px/1.35 var(--mono); overflow-wrap: anywhere; }
.eg-s-tip__m { font: 11px/1.45 var(--mono); color: var(--star-2); overflow-wrap: anywhere; }
.eg-s-tip__s { display: inline-flex; align-items: center; gap: 5px; font: 600 11px/1.3 var(--mono); }
.eg-s-tip__s .ico { width: 12px; height: 12px; }
.eg-s-tip__s[data-st="good"] { color: var(--hi-up); } .eg-s-tip__s[data-st="warn"] { color: var(--hi-warn); } .eg-s-tip__s[data-st="bad"] { color: var(--hi-down); } .eg-s-tip__s[data-st="info"] { color: var(--hi-maint); } .eg-s-tip__s[data-st="none"] { color: var(--star-3); }
.eg-s-tip__go { font: 10.5px var(--mono); color: var(--star-3); }
@keyframes egsSpin { to { transform: rotate(360deg); } }
@keyframes egsBlink { 50% { opacity: .35; } }
@keyframes egsPing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes egsPop { 0% { opacity: 0; transform: scale(.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes egsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes egsDraw { to { stroke-dashoffset: 0; } }
@keyframes egsBreath { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.8); } }
@keyframes egsSweep { 0%, 26%, 100% { stroke: var(--star-4); } 10% { stroke: var(--star); } }
@keyframes egsHalo { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
@keyframes egsHit { 0% { stroke-width: 5; } 100% { stroke-width: 1.7; } }
@keyframes egsShard { 0% { opacity: 1; transform: scale(.35); } 70% { opacity: 1; } 100% { opacity: .85; transform: scale(1); } }
@keyframes egsLand { 0% { transform: scale(.7); opacity: .3; } 100% { transform: scale(1); opacity: 1; } }
@keyframes egsRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes egsGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes egsGate { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes egsStamp { 0% { opacity: 0; transform: scale(1.5) rotate(-4deg); } 100% { opacity: 1; transform: none; } }
@keyframes egsFlash { 0%, 30% { background: var(--paper-3); box-shadow: inset 3px 0 0 var(--ink); } }

/* ==========================================================================
   G glue: the title band's deck and readout strip, the light hall (E's paper look on a grey desk, both themes), the
   console grid, the sky frame (a printed star chart, both themes) and small desk additions.
   ========================================================================== */
/* The hall and the ink scopes: E's stage tokens turned to ink on a light desk, in BOTH themes */
.eg-hall, .eg-ink {
  --bnd: #ecebe6; --bnd-2: #fff; --bnd-3: #f4f4f1; --bnd-line: rgba(25, 24, 20, .12); --bnd-line-2: rgba(25, 24, 20, .22);
  --on-bnd: #191814; --on-bnd-2: #45433b; --on-bnd-3: #64625a;
  --hi-up: #146c35; --hi-warn: #b45309; --hi-down: #c21f1f; --hi-maint: #1d4ed8;
  --eg-stage: #e6e5df; --eg-stage-line: rgba(25, 24, 20, .1); --eg-frame: rgba(25, 24, 20, .34); --eg-paper: #fbf9f2;
  --eg-env-shadow: 0 26px 46px -28px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .16);
}
.eg-hall { background: var(--eg-desk); border-bottom: 1px solid var(--line); padding: 44px 0 52px; color: var(--eg-ink); }
.eg-hall__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 44px; align-items: start; }
.eg-hall .eg-trial { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 60px -44px rgba(0, 0, 0, .4); background: var(--eg-stage); }
.eg-hall .eg-stage { padding: 24px 26px 28px; }
.eg-col { display: grid; gap: 18px; min-width: 0; align-content: start; }
.eg-col .eg-card { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 40px -34px rgba(0, 0, 0, .35); }
.eg-hall .eg-act { background: #fff; }
.eg-hall .eg-act:hover { background: var(--paper-3); }
.eg-hall .eg-act--main { background: var(--eg-ink); border-color: var(--eg-ink); color: #fff; }
.eg-hall .eg-act--main:hover { background: #000; box-shadow: 0 0 0 4px rgba(25, 24, 20, .12); }
.eg-hall .eg-ty { background: #fff; }
.eg-ink .eg-sp__d { color: #fff; }
.eg-ink .eg-sp::before { background: var(--line-2); }
.eg-ink .eg-route__ft { border-top-color: var(--line-2); }
@media (max-width: 1099px) {
  .eg-hall__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .eg-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}
@media (max-width: 760px) { .eg-col { grid-template-columns: minmax(0, 1fr); } .eg-hall { padding: 28px 0 36px; } .eg-hall .eg-stage { padding: 16px 12px 20px; } }

/* The title band: the form, the readout strip, the side ad */
.eg-deck { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 44px; align-items: start; padding-bottom: 36px; }
.eg-dmain { display: grid; gap: 14px; min-width: 0; }
.eg-dside { min-width: 0; }
@media (max-width: 1099px) { .eg-deck { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.eg-rd { display: grid; grid-template-columns: 1.55fr .9fr 1.05fr .85fr 1.2fr; border: 1px solid var(--bnd-line-2); border-radius: 16px; background: var(--bnd-2); overflow: hidden; }
.eg-rdc { display: grid; gap: 5px; align-content: start; min-width: 0; padding: 12px 14px 11px; border-left: 1px solid var(--bnd-line); }
.eg-rdc:first-child { border-left: 0; }
.eg-rdk { font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-bnd-3); }
.eg-rdd { font: 600 16px/1.2 var(--mono); letter-spacing: -.02em; overflow-wrap: anywhere; }
.eg-rdp { display: inline-flex; align-items: flex-start; gap: 7px; font: 600 11px/1.35 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--on-bnd-2); }
.eg-rdp .eg-lp { margin-top: 3px; }
.eg-rdp[data-st="good"] { color: var(--hi-up); } .eg-rdp[data-st="warn"] { color: var(--hi-warn); } .eg-rdp[data-st="bad"] { color: var(--hi-down); } .eg-rdp[data-st="busy"], .eg-rdp[data-st="info"] { color: var(--hi-maint); }
.eg-rds { font: 11px/1.45 var(--mono); color: var(--on-bnd-3); overflow-wrap: anywhere; }
.eg-rdb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; font: 600 28px/1.05 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--on-bnd); }
.eg-rdb small { font: 500 13px/1 var(--sans); letter-spacing: 0; color: var(--on-bnd-3); }
.eg-rdc[data-st="good"] > .eg-rdb { color: var(--hi-up); } .eg-rdc[data-st="warn"] > .eg-rdb { color: var(--hi-warn); } .eg-rdc[data-st="bad"] > .eg-rdb { color: var(--hi-down); } .eg-rdc[data-st="none"] > .eg-rdb { color: var(--on-bnd-3); } .eg-rdc[data-st="busy"] > .eg-rdb { opacity: .6; }
.eg-rdcells { display: flex; gap: 2px; height: 8px; }
.eg-rdcell { flex: 1; max-width: 12px; border-radius: 2px; border: 1px solid var(--bnd-line-2); }
.eg-rdcell[data-z="warn"] { border-bottom-color: var(--hi-warn); }
.eg-rdcell[data-st="on"] { background: var(--on-bnd-2); border-color: transparent; }
.eg-rdcell[data-st="warn"] { background: var(--hi-warn); border-color: transparent; }
.eg-rdcell[data-st="bad"] { background: var(--hi-down); border-color: transparent; }
.eg-rdl { display: inline-flex; align-items: center; gap: 7px; font: 600 16px/1.2 var(--sans); letter-spacing: -.01em; color: var(--on-bnd); }
[data-st="good"] > .eg-rdl { color: var(--hi-up); } [data-st="warn"] > .eg-rdl { color: var(--hi-warn); } [data-st="bad"] > .eg-rdl { color: var(--hi-down); } [data-st="info"] > .eg-rdl { color: var(--hi-maint); } [data-st="none"] > .eg-rdl, [data-st="idle"] > .eg-rdl { color: var(--on-bnd-3); }
.eg-lp { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--none); box-shadow: 0 0 0 3px rgba(163, 163, 163, .15); }
:is(.eg-rdp, .eg-rdc)[data-st="good"] .eg-lp { background: var(--hi-up); box-shadow: 0 0 0 3px rgba(74, 222, 128, .16), 0 0 12px rgba(74, 222, 128, .6); }
:is(.eg-rdp, .eg-rdc)[data-st="warn"] .eg-lp { background: var(--hi-warn); box-shadow: 0 0 0 3px rgba(251, 191, 36, .16), 0 0 12px rgba(251, 191, 36, .6); }
:is(.eg-rdp, .eg-rdc)[data-st="bad"] .eg-lp { background: var(--hi-down); box-shadow: 0 0 0 3px rgba(248, 113, 113, .16), 0 0 12px rgba(248, 113, 113, .6); }
:is(.eg-rdp, .eg-rdc):is([data-st="info"], [data-st="busy"]) .eg-lp { background: var(--hi-maint); box-shadow: 0 0 0 3px rgba(96, 165, 250, .16); }
:is(.eg-rdp, .eg-rdc)[data-st="busy"] .eg-lp { animation: eg-blink 1s ease-in-out infinite; }
.eg-rdc.is-pop > b { animation: eg-pop .45s var(--spring); }
@media (max-width: 1099px) and (min-width: 641px) {
  .eg-rd { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .eg-rdc { grid-column: span 2; border-top: 1px solid var(--bnd-line); }
  .eg-rdc--dom { grid-column: 1 / 4; grid-row: 1; border-top: 0; }
  .eg-rdc--sp { grid-column: 4 / 7; grid-row: 1; border-top: 0; }
  .eg-rdc:nth-child(2) { border-left: 0; }
}
@media (max-width: 640px) {
  .eg-rd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eg-rdc { padding: 12px 14px; border-top: 1px solid var(--bnd-line); }
  .eg-rdc--dom { grid-column: 1 / -1; border-top: 0; }
  .eg-rdc:nth-child(2), .eg-rdc:nth-child(4) { border-left: 0; }
  .eg-rdb { font-size: 25px; }
}

/* The console band */
.eg-c-room { padding: 34px 0 40px; }
.eg-c-hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; }
.eg-c-ch { flex: none; padding: 3px 6px; border-radius: 5px; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--egc-txt3); box-shadow: inset 0 0 0 1px var(--egc-hair); }
.eg-c-h { font: 650 20px/1.2 var(--sans); letter-spacing: -.025em; color: var(--egc-txt); }
.eg-c-sub { font: 500 12px/1.5 var(--mono); color: var(--egc-txt3); }
.eg-c-rack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.eg-c-s4 { grid-column: span 4; } .eg-c-s5 { grid-column: span 5; } .eg-c-s7 { grid-column: span 7; } .eg-c-s12 { grid-column: span 12; }
@media (max-width: 1099px) { .eg-c-rack > * { grid-column: span 12; } .eg-c-rack > .eg-c-s4 { grid-column: span 6; } .eg-c-rack > .eg-c-s4:last-of-type { grid-column: span 12; } }
@media (max-width: 760px) { .eg-c-rack > .eg-c-s4 { grid-column: span 12; } .eg-c-room { padding: 26px 0 30px; } }
.eg-c-mod { transition: box-shadow .45s; }
.eg-c-mod .tag { border-color: var(--egc-hair2); color: var(--egc-txt3); padding: 3px 6px; font-size: 9.5px; }
.eg-c-tapebox { height: 150px; }
.eg[data-phase="idle"] #egcGauge .eg-c-needle { animation: eg-c-test 7s ease-in-out infinite; }
html[data-theme="light"] .eg-c-room { border-bottom: 1px solid var(--line-2); border-top: 1px solid var(--line-2); }

/* The sky: a printed star chart on paper, in both themes */
.eg-s {
  --sky: #fbfaf5; --sky-2: #fff; --sky-line: rgba(25, 24, 20, .14);
  --star: #191814; --star-2: #34322b; --star-3: #6a675d; --star-4: rgba(25, 24, 20, .3);
  --lnk: rgba(25, 24, 20, .24); --lnk-2: rgba(25, 24, 20, .68);
  --orb: rgba(25, 24, 20, .12); --grid: rgba(25, 24, 20, .055);
  --nfill: #fff; --glow-a: 0; --tip-sh: 0 18px 40px -16px rgba(0, 0, 0, .3);
  --hi-up: #146c35; --hi-warn: #b45309; --hi-down: #c21f1f; --hi-maint: #1d4ed8; --none: #8a8880;
}
.eg-s :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.eg-sk { position: relative; border: 1px solid var(--line-2); border-radius: 20px; background: var(--sky); color: var(--star); overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 56px -40px rgba(0, 0, 0, .4); }
.eg-sk__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding: 20px 24px 16px; border-bottom: 1px solid var(--sky-line); }
.eg-sk__h { margin-top: 4px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.eg-sk__p { max-width: 380px; font-size: 13px; line-height: 1.5; color: var(--star-3); }
.eg-s-lamp__i { stroke: #fff; }
.eg-s-env rect { fill: #fffefa; stroke: var(--star); stroke-width: 1.3; }
.eg-s-env path { fill: none; stroke: var(--star); stroke-width: 1.1; }
.eg-s-met[data-st="good"] .eg-s-env rect { stroke: var(--hi-up); stroke-width: 1.8; }
.eg-s-met[data-st="bad"] .eg-s-env rect { stroke: var(--hi-down); stroke-width: 1.8; }
.eg-s-met[data-st="warn"] .eg-s-env rect { stroke: var(--hi-warn); stroke-width: 1.8; }
.eg-s-env { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.eg-s-hint { background: #fff; }
@media (max-width: 760px) { .eg-sk__hd { padding: 16px 16px 14px; } }

/* The desk: the sky above the sheets; rows that have a star */
.eg-desk { padding: 48px 0 68px; }
.eg-desk > .wrap:first-child { margin-bottom: 40px; }
.eg-cat__hd { padding-top: 6px; }
.eg-path { grid-template-columns: 330px minmax(0, 1fr); gap: 26px; align-items: start; }
.eg-pathc { display: grid; gap: 14px; min-width: 0; }
.eg-pathq { min-width: 0; display: grid; gap: 12px; align-content: start; }
.eg-pathq .eg-scroll { max-height: 470px; }
@media (max-width: 900px) { .eg-path { grid-template-columns: minmax(0, 1fr); } }
.eg [data-node] { transition: box-shadow .25s, background-color .25s, border-color .25s; }
.eg-nd.is-hl > .eg-nd__card, .eg-sd.is-hl, .eg-rp.is-hl, .eg-rc.is-hl, .eg-key.is-hl, .eg-tr.is-hl, .eg-sec.is-hl, .eg-bud.is-hl { box-shadow: 0 0 0 2px var(--eg-ink); }
.eg-sd.is-hl { background: var(--paper-2); border-radius: 8px; }
.eg-dks.is-hl .eg-dks__in { outline: 2px solid var(--eg-ink); outline-offset: 1px; }
.eg-nd.is-flash > .eg-nd__card, .eg-sd.is-flash, .eg-rp.is-flash, .eg-rc.is-flash, .eg-key.is-flash, .eg-tr.is-flash, .eg-sec.is-flash, .eg-dks.is-flash, .eg-bud.is-flash, .eg-ar.is-flash { animation: eg-flash 1.4s ease-out; }
@keyframes eg-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--eg-ink); } 100% { box-shadow: 0 0 0 3px transparent; } }
.eg-ar.is-hl .eg-slip { box-shadow: 0 0 0 2px var(--eg-ink); }

/* Reduced motion: every delay is zeroed (the base only shortens durations) */
@media (prefers-reduced-motion: reduce) {
  .eg *, .eg *::before, .eg *::after { animation-delay: 0s !important; transition-delay: 0s !important; }
}
.eg-c-leg2 { display: grid; gap: 5px; margin: auto 0 0; padding: 10px 0 0; list-style: none; border-top: 1px dashed var(--egc-hair2); font: 500 11px/1.4 var(--mono); color: var(--egc-txt3); }
.eg-c-leg2 b { color: var(--egc-txt2); font-weight: 600; margin-right: 6px; }

/* ---------- The form's go button (the mockup used .btn.btn--ink; the site's .btn is a different size) ---------- */
.eg .eg-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--on-bnd); background: var(--on-bnd); color: var(--bnd); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .12s, box-shadow .15s; }
.eg .eg-go:active { transform: scale(.97); }
.eg .eg-go .ico { width: 18px; height: 18px; }
.eg:is([data-phase="reading"], [data-phase="walking"], [data-phase="checking"]) .eg-go .ico { animation: egSpin 1.4s linear infinite; }
@keyframes egSpin { to { transform: rotate(360deg); } }
.eg-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--on-bnd-3); }
.eg-crumbs a { color: var(--on-bnd-2); text-decoration: none; }
.eg-crumbs a:hover { color: var(--on-bnd); text-decoration: underline; }
.eg-msg { margin-top: 2px; }
.eg-pnote { margin-top: 12px; }
.eg-acts .eg-act[disabled] { opacity: .5; cursor: default; }
.eg-chipb { cursor: pointer; }
.eg-hist .eg-hi__d { font: inherit; }

/* ---------- Help copy (views/tools/custom/spf-dmarc-checker.copy.php: tk-copy-* and the stc-* hooks the custom pages share) ---------- */
.eg .cp { padding: 64px 0 40px; background: var(--paper); color: var(--text); }
.eg .cp__in { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
.eg .cp__body { display: grid; gap: 14px; min-width: 0; }
.eg .cp__body h2 { margin-top: 18px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.eg .cp__body h2:first-child { margin-top: 0; }
.eg .cp__body :where(p, .tk-copy-p) { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.eg .cp__body :where(p, li) b { color: var(--text); }
.eg .cp__body :where(p, li) a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.eg .cp__body :where(p, li) code { font: 500 .9em var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--paper-3); border: 1px solid var(--line); color: var(--text); overflow-wrap: anywhere; }
.eg .cp__body :where(.tk-copy-steps, .stc-steps) { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.eg .cp__body :where(.tk-copy-steps, .stc-steps) > li { counter-increment: s; position: relative; min-height: 30px; padding: 3px 0 0 42px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.eg .cp__body :where(.tk-copy-steps, .stc-steps) > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); border: 1px solid var(--ink); display: grid; place-items: center; font: 600 13px var(--mono); color: #fff; }
.eg .cp__body .stc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eg .cp__body .stc-q { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.eg .cp__body .stc-q h3 { margin: 0; font-size: 15px; letter-spacing: -.01em; line-height: 1.35; }
.eg .cp__body .stc-q p { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 700px) { .eg .cp__body .stc-faq { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .eg .cp { padding-top: 48px; } }

/* ---------- Reveal on scroll (the root gets .rv-on; off under reduced motion; ads excluded) ---------- */
.eg.rv-on [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.eg.rv-on [data-rv].in { opacity: 1; transform: none; }
/* G's restyle of the copy: ring numbers, softer FAQ cards */
.eg .cp__body :where(.tk-copy-steps, .stc-steps) > li::before { border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.eg .cp__body .stc-q { border-radius: 12px; background: var(--paper-2); box-shadow: none; }
.eg .cp__body > .ad, .eg .cp__body .eg-ad--inarticle { margin: 10px 0; }

/* ---------- Reveal on scroll (the root gets .rv-on; off under reduced motion; ads excluded) ---------- */
.eg.rv-on [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.eg.rv-on [data-rv].in { opacity: 1; transform: none; }

/* ---------- Reduced motion: every loop holds still; results land at once, in their final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .eg *, .eg *::before, .eg *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Edge cases the sample never needed: a name that doesn't exist, a resolver that failed (drawn with the answer's message) ---------- */
.eg-edge { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--hi-warn) 45%, var(--bnd-line-2)); background: color-mix(in srgb, var(--hi-warn) 8%, transparent); font-size: 13.5px; line-height: 1.5; color: var(--on-bnd-2); }
.eg-edge[data-st="none"] { border-color: var(--bnd-line-2); background: var(--bnd-2); }
.eg-edge .ico { margin-top: 2px; color: var(--hi-warn); }
.eg-edge[data-st="none"] .ico { color: var(--on-bnd-2); }
.eg-edge b { color: var(--on-bnd); font-weight: 650; }

/* Screen-reader-only words (the site has no .sr): a state word read aloud but never shown, e.g. "1 record · Good" */
.eg .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* assets/css/layouts/theme-light.css */
/* ==========================================================================
   UtiBox — light mode
   The default look ("dark") keeps the black header, hero bands and footer. Light mode
   (<html data-theme="light">, from the ub_theme cookie; toggle in the top navigation)
   turns those bands and dark tiles light. Black primary buttons (btn--ink), pills,
   tooltips, toasts and the status colours stay as they are.
   Every light rule is scoped [data-theme="light"] … and this file loads last, so it
   wins over page CSS. Tokens are re-pointed only inside the dark containers, never
   globally: --ink is also the black button colour.
   ========================================================================== */

/* ---------- The switch itself (both themes) ---------- */
.theme-btn {
  display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #d4d4d4;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.theme-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.theme-btn .ico { display: block; width: 18px; height: 18px; }
.theme-btn__moon, .theme-say--dark { display: none !important; }
[data-theme="light"] .theme-btn__sun, [data-theme="light"] .theme-say--light { display: none !important; }
[data-theme="light"] .theme-btn__moon { display: block !important; }
[data-theme="light"] .theme-say--dark { display: inline !important; }
@media (max-width: 1024px), (pointer: coarse) { .theme-btn { width: 40px; height: 40px; } }
/* Install app button (ub.css, DEC-59): same outline treatment as the switch beside it */
[data-theme="light"] .app-btn { color: var(--text-2); border-color: var(--line); }
[data-theme="light"] .app-btn:hover { color: var(--ink); background: var(--paper-3); border-color: var(--line-2); }
/* On always-white bars (dashboard top bar, account pages) the switch is dark-on-light in both themes */
.tb .theme-btn, .amain__top .theme-btn { color: var(--text-2); border-color: var(--line); }
.tb .theme-btn:hover, .amain__top .theme-btn:hover { color: var(--ink); background: var(--paper-2); border-color: var(--line-2); }
.drawer button.drawer__theme { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; font-size: 17px; font-weight: 500; color: inherit; background: none; border: 0; text-align: left; cursor: pointer; }
.drawer__theme .ico { width: 20px; height: 20px; }
/* No staggered colour transitions while the theme flips */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

/* ---------- Tokens inside the (formerly) dark containers ---------- */
[data-theme="light"] :is(.on-ink, .hdr, .ftr, .drawer, .hero, .shero, .phero, .apanel, .dev-hero, .pulse, .news, .tipcard, .cta,
  .qrdemo, .calc__out, .cbot, .plan--hi, .welcome, .sub--ink, .cat--ink, .bx--ink, .tk-stat--ink, .tk-typing, .tk-countdown__u,
  .tk-code--ink, .result, .codewin) {
  --on-ink: #0a0a0a;
  --on-ink-2: #525252;
  --on-ink-3: #737373;
  --ink-line: rgba(10, 10, 10, .1);
  --up-hi: #15803d;
  --warn-hi: #b45309;
  --down-hi: #dc2626;
}
[data-theme="light"] :is(.on-ink, .hdr, .ftr, .drawer, .apanel, .cbot, .calc__out, .plan--hi) :focus-visible { outline-color: var(--ink); }

/* ---------- Shared bits ---------- */
[data-theme="light"] .logo__mark { background: var(--ink); color: #fff; }
[data-theme="light"] .btn--paper { background: var(--ink); color: #fff; }
[data-theme="light"] .btn--paper:hover { background: #2a2a2a; }
[data-theme="light"] .btn--ghost { color: var(--ink); border-color: var(--line-2); }
[data-theme="light"] .btn--ghost:hover { background: var(--paper-3); border-color: #c4c4c4; }
[data-theme="light"] .on-ink .crumbs { color: var(--text-3); }
[data-theme="light"] .on-ink .crumbs a:hover { color: var(--ink); }
[data-theme="light"] .on-ink .crumbs [aria-current] { color: var(--text-2); }
[data-theme="light"] .on-ink .dot--up, [data-theme="light"] .hdr .dot--up, [data-theme="light"] .ftr .dot--up { background: var(--up); }
[data-theme="light"] .on-ink .dot--issues { background: var(--warn); }
[data-theme="light"] .on-ink .dot--down { background: var(--down); }
[data-theme="light"] .tag--hot { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="light"] .spin { border-color: var(--line-2); border-top-color: var(--ink); }
[data-theme="light"] .btn--ink .spin, [data-theme="light"] .btn--paper .spin { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }

/* ---------- Header, mega menu, drawer ---------- */
[data-theme="light"] .hdr { background: rgba(255, 255, 255, .9); color: var(--ink); border-bottom-color: var(--line); }
[data-theme="light"] .nav__link { color: var(--text-2); }
[data-theme="light"] .nav__link:hover, [data-theme="light"] .nav__item:hover > .nav__link, [data-theme="light"] .nav__item:focus-within > .nav__link { color: var(--ink); background: var(--paper-3); }
[data-theme="light"] .nav__link[aria-current="page"] { color: var(--ink); }
[data-theme="light"] .kbar { background: var(--paper-2); border-color: var(--line); color: var(--text-3); }
[data-theme="light"] .kbar:hover { background: var(--paper-3); border-color: var(--line-2); color: var(--text-2); }
[data-theme="light"] .kbd { border-color: var(--line-2); color: var(--text-3); background: #fff; }
[data-theme="light"] .hdr__signin { color: var(--text-2); }
[data-theme="light"] .hdr__signin:hover { color: var(--ink); background: var(--paper-3); }
[data-theme="light"] .hdr__icon { color: var(--ink); border-color: var(--line); }
[data-theme="light"] .hdr .theme-btn { color: var(--text-2); border-color: var(--line); }
[data-theme="light"] .hdr .theme-btn:hover { color: var(--ink); background: var(--paper-3); border-color: var(--line-2); }
[data-theme="light"] .mega__foot span { color: #a3a3a3; } /* the foot stays black */
[data-theme="light"] .drawer { background: #fff; color: var(--ink); }
[data-theme="light"] .drawer__sec { border-bottom-color: var(--line); }
[data-theme="light"] .drawer__grid a { border-color: var(--line); }
[data-theme="light"] .drawer__grid a:hover { background: var(--paper-2); }

/* ---------- Footer ---------- */
[data-theme="light"] .ftr { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); }
[data-theme="light"] .ftr ul a { color: var(--text-2); }
[data-theme="light"] .ftr ul a:hover, [data-theme="light"] .ftr__bot a:hover, [data-theme="light"] .ftr__choices:hover { color: var(--ink); }
[data-theme="light"] .ftr__word { color: #ededed; background: none; }

/* ---------- Hero bands: home/check, status, pricing, developers, account panel, dashboard welcome ---------- */
[data-theme="light"] :is(.hero, .shero, .phero, .dev-hero, .apanel, .welcome) { background: var(--paper-2); color: var(--ink); }
[data-theme="light"] :is(.hero, .phero, .apanel, .welcome)::before,
[data-theme="light"] .shero::before { background-image: linear-gradient(rgba(10, 10, 10, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, .05) 1px, transparent 1px); }
[data-theme="light"] :is(.hero, .phero, .apanel)::after { background: radial-gradient(closest-side, rgba(255, 255, 255, .95), transparent); }
[data-theme="light"] :is(.hero, .phero, .dev-hero, .shero) { border-bottom: 1px solid var(--line); }
[data-theme="light"] :is(.hero h1, .phero__title, .cta .h2) .mute { color: #8a8a8a; }

/* Home + /check hero */
[data-theme="light"] .hero__badge { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .hero__badge b { color: var(--ink); }
[data-theme="light"] .hero__badge .sep { background: var(--line-2); }
[data-theme="light"] .checker { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 8px rgba(10, 10, 10, .03), 0 24px 60px -24px rgba(0, 0, 0, .2); }
[data-theme="light"] .checker:focus-within { box-shadow: 0 0 0 1px var(--ink), 0 0 0 6px rgba(10, 10, 10, .07), 0 24px 60px -24px rgba(0, 0, 0, .2); }
[data-theme="light"] .chip { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .chip:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
[data-theme="light"] .hero__trust .ico { color: var(--text-2); }
[data-theme="light"] .connbtn { border-color: var(--line-2); background: #fff; }
[data-theme="light"] .connbtn b { color: var(--ink); }
[data-theme="light"] .connbtn:hover { border-color: var(--ink); color: var(--text); }
[data-theme="light"] .hero__stat b { color: var(--ink); }
[data-theme="light"] .ad--dark .ad__label { color: var(--text-3); }
[data-theme="light"] .ad--dark .ad__slot { border-color: var(--line-2); color: var(--text-3); background: repeating-linear-gradient(-45deg, #f6f6f6 0 10px, #fbfbfb 10px 20px); }

/* Live check result panel (home, /check, /checks/{id}) */
[data-theme="light"] .result { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
[data-theme="light"] .result__bar { border-bottom-color: var(--line); }
[data-theme="light"] .result__bar b { color: var(--text); }
[data-theme="light"] .result__bar .tag { background: var(--paper-2); border-color: var(--line); color: var(--text-3); }
[data-theme="light"] .rsteps { color: #a3a3a3; }
[data-theme="light"] .rstep__v { color: var(--text-3); }
[data-theme="light"] .rstep.is-active { color: var(--text); }
[data-theme="light"] .rstep.is-done { color: var(--text-2); }
[data-theme="light"] .rstep.is-fail { color: var(--down); }
[data-theme="light"] .rverdict { background: var(--paper-2); border-top-color: var(--line); }
[data-theme="light"] .rverdict__refresh { color: var(--ink); }
[data-theme="light"] .vicon--up { background: rgba(22, 163, 74, .1); box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .3); }
[data-theme="light"] .vicon--issues { background: rgba(217, 119, 6, .1); box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .3); }
[data-theme="light"] .vicon--down { background: rgba(220, 38, 38, .08); box-shadow: inset 0 0 0 1px rgba(220, 38, 38, .3); }
[data-theme="light"] .dig { background: var(--paper-2); border-top-color: var(--line); }
[data-theme="light"] .dig a, [data-theme="light"] .dig button { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .dig a:hover, [data-theme="light"] .dig button:hover { border-color: var(--ink); color: var(--ink); }
[data-theme="light"] .dig .dig__alert, [data-theme="light"] .dig [aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="light"] .dig .dig__alert:hover { background: #2a2a2a; color: #fff; }
[data-theme="light"] .rmodal { background: rgba(10, 10, 10, .45); }

/* Status hero — the parts that live in ub.css (map, heartbeat and tiles: pages/status.css) */
[data-theme="light"] .shero__meta a, [data-theme="light"] .shero__meta .mono { color: var(--text-2); }
[data-theme="light"] .shero__meta a:hover { color: var(--ink); }
[data-theme="light"] .verdict { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
[data-theme="light"] .verdict__live b { color: var(--text); }
[data-theme="light"] .kpi dd { color: var(--ink); }
[data-theme="light"] .raw pre { background: var(--paper-2); color: var(--text-2); border-top: 1px solid var(--line); }
[data-theme="light"] .raw pre b { color: var(--ink); }

/* ---------- Home sections: categories, bento, tips, CTA, code window, pulse, newsletter ---------- */
[data-theme="light"] :is(.cat--ink, .bx--ink) { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
[data-theme="light"] .cat--ink .icon-tile { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="light"] .cat--ink .cat__list a:hover { color: var(--ink); }
[data-theme="light"] .bx--ink:hover .bx__go { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="light"] .ipmeta span { background: var(--paper-2); border-color: var(--line); color: var(--text-2); }
[data-theme="light"] .typing__text { color: #a3a3a3; }
[data-theme="light"] .typing__text .ok { color: var(--ink); }
[data-theme="light"] .typing__text .bad { color: var(--down); background: rgba(220, 38, 38, .1); }
[data-theme="light"] .typing__text .cur { box-shadow: -2px 0 0 var(--ink); }
[data-theme="light"] .typing__in { border-color: var(--line-2); background: #fff; color: var(--ink); }
[data-theme="light"] .typing__in:focus { border-color: var(--ink); }
[data-theme="light"] .typing__done { color: var(--text-2); }
[data-theme="light"] .typing__done b { color: var(--ink); }
[data-theme="light"] .tipcard { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
[data-theme="light"] .tiplist li { color: var(--text-2); }
[data-theme="light"] .tiplist li::before { border-color: var(--line-2); color: var(--ink); background: #fff; }
[data-theme="light"] .tiplist b { color: var(--ink); }
[data-theme="light"] .tiplist code { background: #fff; border-color: var(--line); color: var(--ink); }
[data-theme="light"] .tip-aff { border-color: var(--line); background: #fff; color: var(--text-2); }
[data-theme="light"] .tip-aff:hover { border-color: var(--ink); color: var(--ink); }
[data-theme="light"] .tip-aff .tag { background: var(--paper-2); border-color: var(--line); color: var(--text-3); }
[data-theme="light"] .cta { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
[data-theme="light"] .cta::before { background-image: radial-gradient(rgba(10, 10, 10, .12) 1px, transparent 1px); }
[data-theme="light"] .cta__list li { color: var(--text-2); }
[data-theme="light"] .cta__list .ico { color: var(--ink); }
[data-theme="light"] .codewin { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
[data-theme="light"] .codewin__bar { border-bottom-color: var(--line); background: var(--paper-2); }
[data-theme="light"] .codewin__bar i { background: var(--line-2); }
[data-theme="light"] .codewin__bar span { color: var(--text-3); }
[data-theme="light"] .codewin pre, [data-theme="light"] .codewin code { color: var(--text-2); }
[data-theme="light"] .codewin .k { color: var(--ink); }
[data-theme="light"] .codewin .s { color: #3f3f3f; }
[data-theme="light"] .codewin .c { color: #8a8a8a; }
[data-theme="light"] .pulse { background: #fff; color: var(--ink); border: 1px solid var(--line); }
[data-theme="light"] .pulse::before { background-image: linear-gradient(rgba(10, 10, 10, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, .04) 1px, transparent 1px); }
[data-theme="light"] .pulse__chart { color: var(--ink); }
[data-theme="light"] .pulse__x { color: var(--text-3); }
[data-theme="light"] .news { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
[data-theme="light"] .news__form input { border-color: var(--line-2); background: #fff; color: var(--ink); }
[data-theme="light"] .news__form input:focus { border-color: var(--ink); }
[data-theme="light"] .news__more a { color: var(--text-2); }
[data-theme="light"] .news__more a:hover { color: var(--ink); }

/* ---------- Pricing ---------- */
[data-theme="light"] .ptabs { background: #fff; border-color: var(--line-2); }
[data-theme="light"] .ptabs::before { background: var(--ink); }
[data-theme="light"] .ptab { color: var(--text-2); }
[data-theme="light"] .ptab[aria-selected="true"] { color: #fff; }
[data-theme="light"] .ptab:focus-visible { outline-color: var(--ink); }
[data-theme="light"] .guest__b, [data-theme="light"] .guest__link { color: var(--ink); }
[data-theme="light"] .promise { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .plan--hi { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 60px -30px rgba(0, 0, 0, .3); }
[data-theme="light"] .plan--hi::before { background-image: radial-gradient(rgba(10, 10, 10, .07) 1px, transparent 1px); }
[data-theme="light"] .plan--hi .plan__tag { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff; }
[data-theme="light"] .plan--hi .plan__li { color: var(--text); }
[data-theme="light"] .plan--hi .plan__li .ico { color: var(--ink); }
[data-theme="light"] .plan--hi .icon-tile { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="light"] .plan--hi .tag { background: var(--paper-2); border-color: var(--line); color: var(--text-3); }
[data-theme="light"] .plan--hi .apilist__cell { background: var(--paper-2); border-color: var(--line); }
[data-theme="light"] .qrdemo { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
[data-theme="light"] .qrdemo::before { background-image: linear-gradient(rgba(10, 10, 10, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, .045) 1px, transparent 1px); }
[data-theme="light"] .qrdemo__link, [data-theme="light"] .qrdemo__b, [data-theme="light"] .qrdemo__plan { color: var(--ink); }
[data-theme="light"] .qrdemo__dest { background: #fff; border-color: var(--line); color: var(--text); }
[data-theme="light"] .qrdemo__destText::after { color: var(--ink); }
[data-theme="light"] .qrdemo__chip { border-color: var(--line-2); color: var(--text-2); background: #fff; }
[data-theme="light"] .calc__out { background: var(--paper-2); color: var(--ink); border-left: 1px solid var(--line); }
[data-theme="light"] .calc__out::before { background-image: radial-gradient(rgba(10, 10, 10, .08) 1px, transparent 1px); }
[data-theme="light"] .cbar__t { background: var(--line); }
[data-theme="light"] .cbar.is-rec, [data-theme="light"] .calc__b { color: var(--ink); }

/* ---------- Legal: the cookie/browser card ---------- */
[data-theme="light"] .cbot { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
[data-theme="light"] .cbot::before { background-image: radial-gradient(rgba(10, 10, 10, .08) 1px, transparent 1px); }
[data-theme="light"] .cbot__ua { background: #fff; border-color: var(--line); color: var(--ink); }
[data-theme="light"] .cbot__item { color: var(--text-2); }
[data-theme="light"] .cbot__item .ico, [data-theme="light"] .cbot__b { color: var(--ink); }
[data-theme="light"] .cbot__foot { border-top-color: var(--line); color: var(--text-2); }

/* ---------- Account pages (two columns) ---------- */
[data-theme="light"] .apanel { border-right: 1px solid var(--line); }
[data-theme="light"] .apanel__back:hover { color: var(--ink); }
[data-theme="light"] .apanel__foot .ico { color: var(--text-2); }
[data-theme="light"] .apanel .pcard { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
[data-theme="light"] .pcard__head { border-bottom-color: var(--line); color: var(--text); }
[data-theme="light"] .perks li { color: var(--text-2); }
[data-theme="light"] .perks li b { color: var(--ink); }
[data-theme="light"] .perks .ic { background: var(--paper-2); border-color: var(--line); }
[data-theme="light"] .perks .ic .ico { color: var(--ink); }
[data-theme="light"] .apanel .wlist li { border-bottom-color: var(--line); color: var(--text); }
[data-theme="light"] .mail__from b { color: var(--ink); }
[data-theme="light"] .mail__code span { background: #fff; border-color: var(--line-2); color: var(--ink); }
[data-theme="light"] .mail__code span.blur { text-shadow: 0 0 9px rgba(10, 10, 10, .6); }

/* ---------- Dashboard ---------- */
[data-theme="light"] .welcome { border: 1px solid var(--line); }
[data-theme="light"] .welcome__st a { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .welcome__st b { color: var(--ink); }
[data-theme="light"] .qcheck { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 6px rgba(10, 10, 10, .03); }
[data-theme="light"] .sub--ink { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
[data-theme="light"] .sub--ink .mtr__row { color: var(--text-2); }
[data-theme="light"] .sub--ink .mtr__row b { color: var(--ink); }
[data-theme="light"] .sub--ink .mtr__bar { background: var(--line); }
[data-theme="light"] .sub--ink .mtr__bar i { background: var(--ink); }

/* ---------- Tools ---------- */
[data-theme="light"] .tk-stat--ink { background: var(--paper-2); color: var(--ink); border-color: var(--line-2); }
[data-theme="light"] .tk-code--ink { background: var(--paper-2); color: var(--text); border-color: var(--line); }
[data-theme="light"] .tk-typing { background: var(--paper-2); color: var(--ink); }
[data-theme="light"] .tk-typing__seg { background: #fff; border-color: var(--line); }
[data-theme="light"] .tk-typing__ch--ok { color: var(--ink); }
[data-theme="light"] .tk-typing__in { border-color: var(--line-2); background: #fff; color: var(--ink); }
[data-theme="light"] .tk-typing__in:focus { border-color: var(--ink); }
[data-theme="light"] .tk-typing__done { color: var(--text-2); }
[data-theme="light"] .tk-countdown__u { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Developers ---------- */
[data-theme="light"] .dev-hero { color: var(--ink); }
[data-theme="light"] .dev-code { background: #fff; border-color: var(--line); color: var(--text); }
[data-theme="light"] .qrdemo__code { box-shadow: 0 0 0 1px var(--line); }
[data-theme="light"] .qrdemo__stats { border-top-color: var(--line); }
[data-theme="light"] .qrbar__fill { background: #d4d4d4; }
[data-theme="light"] .qrbar:last-child .qrbar__fill { background: var(--ink); }
[data-theme="light"] .cbar__fill { background: #bdbdbd; }
[data-theme="light"] .calc__rec { box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { [data-theme="light"] .apanel { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ==========================================================================
   Home "Checked from" picker + probe result (DEC-44) — light mode.
   The picker's base CSS is in pages/check.css (dark popover); here it turns white, like the rest of the light hero.
   ========================================================================== */
[data-theme="light"] .locpick__btn:hover, [data-theme="light"] .locpick.is-open .locpick__btn { border-color: var(--ink); background: #fff; color: var(--text); }
[data-theme="light"] .locpick.is-remote .locpick__btn { border-color: var(--ink); }
[data-theme="light"] .locpick__pop { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow-lg); }
[data-theme="light"] .locpick__gh { color: var(--text-3); }
[data-theme="light"] .locpick__grp + .locpick__grp { border-color: var(--line); }
[data-theme="light"] .locpick__opt { color: var(--text); }
[data-theme="light"] .locpick__opt.is-active { background: var(--paper-2); }
[data-theme="light"] .locpick__list:focus-visible .locpick__opt.is-active { box-shadow: inset 0 0 0 1px var(--ink); }
[data-theme="light"] .locpick__tile { background: var(--paper-2); border-color: var(--line-2); color: var(--text-2); }
[data-theme="light"] .locpick__opt[aria-selected="true"] .locpick__tile { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="light"] .locpick__name small, [data-theme="light"] .locpick__msg { color: var(--text-3); }
[data-theme="light"] .locpick__ok { color: var(--ink); }
[data-theme="light"] .rprobe__head h3, [data-theme="light"] .rprobe__c dd, [data-theme="light"] .rnote b { color: var(--text); }
[data-theme="light"] .rprobe__wf { background: var(--paper-3); }
[data-theme="light"] .rprobe__seg--0 { background: #0a0a0a; }
[data-theme="light"] .rprobe__seg--1 { background: #4a4a4a; }
[data-theme="light"] .rprobe__seg--2 { background: #8a8a8a; }
[data-theme="light"] .rprobe__seg--3 { background: #bdbdbd; }
[data-theme="light"] .rprobe__seg--4 { background: #e0e0e0; }
[data-theme="light"] .rprobe__t { border-color: var(--line); background: var(--line); }
[data-theme="light"] .rprobe__c { background: #fff; }
[data-theme="light"] .rprobe__src a { color: var(--ink); }
[data-theme="light"] .rnote { border-color: var(--line-2); background: #fff; color: var(--text-2); }
[data-theme="light"] .rnote .ico { color: var(--text-3); }

