/* Redesign preview (/new, /new/login, /new/register). Self-contained: does not load app.css. */
:root {
  --paper: #f3f5f2; --surface: #fff; --sunken: #e9ede9;
  --ink: #0e1411; --ink-soft: #3b4540; --dim: #66706b;
  --rule: #dde3df; --rule-strong: #c4cdc8;
  --brand: #1f9d55; --up: #23894d; --down: #c2402a; --warn: #c08a1e;
  --down-bg: #fbeae6;
  --field: #0c3a25; --field-ink: #e9f3ec; --field-soft: #a9cdb6;
  --shadow: 0 1px 0 #0e141108, 0 12px 24px -16px #0e14112e, 0 40px 80px -48px #0e14114d;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
img, svg { display: block; }
.n-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .n-wrap { padding-inline: 32px; } }
.n-mono { font-family: var(--mono); font-feature-settings: "zero", "tnum"; }
.n-display { font-family: var(--sans); font-weight: 800; font-stretch: 72%; letter-spacing: -.02em; }
.n-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.n-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); flex: none; }
.n-dot.is-down { background: var(--down); }
.n-live { animation: n-blink 2.4s ease-in-out infinite; }
@keyframes n-blink { 50% { opacity: .35; } }

/* Logo (same markup as partials.logo) */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-pulse { stroke-dasharray: 100; animation: n-draw 1s ease-in-out .15s both; }
@keyframes n-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.logo-word { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo-tld { font-weight: 500; color: var(--dim); }

/* Buttons */
.n-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .14s, background .14s, box-shadow .14s; }
.n-btn:hover { background: #26302b; transform: translateY(-1px); box-shadow: inset 0 1px #ffffff1f, 0 10px 20px -10px #0e1411b3; }
.n-btn:active { transform: none; }
.n-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.n-btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.n-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .14s; }
.n-btn:hover svg { transform: translateX(2px); }
.n-btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.n-btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.n-btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.n-btn-ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: none; }
.n-btn-block { width: 100%; }

/* Header: plain white bar under a 4px band of colours (same family as golubmail.com and EmailFilter) */
:root { --band: linear-gradient(135deg, #1f9d55 0 20%, #00add8 20% 40%, #a78bfa 40% 60%, #f97316 60% 80%, #facc15 80% 100%); }
.n-top { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--rule); }
.n-top::before { content: ""; display: block; height: 4px; background: var(--band); }
.n-top .n-wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.n-nav { display: none; gap: 2px; flex: 1; }
.n-nav a { --c: #1f9d55; --c-dark: #15703c; position: relative; padding: 6px 11px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 450; }
.n-nav a:nth-child(5n + 2) { --c: #00add8; --c-dark: #0089ab; }
.n-nav a:nth-child(5n + 3) { --c: #a78bfa; --c-dark: #7c3aed; }
.n-nav a:nth-child(5n + 4) { --c: #f97316; --c-dark: #c2410c; }
.n-nav a:nth-child(5n + 5) { --c: #facc15; --c-dark: #ca8a04; }
.n-nav a::after { content: ""; position: absolute; inset-inline: 11px; bottom: 0; height: 2px; background: var(--c); transform: skewX(-30deg) scaleX(0); transition: transform .15s ease; }
.n-nav a:hover::after { transform: skewX(-30deg) scaleX(1); }
.n-nav a.on { font-weight: 600; }
.n-nav a.on::after { background: var(--c-dark); transform: skewX(-30deg) scaleX(1); }
.n-top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.n-top-right .n-btn, .n-top-login { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; transform: none; box-shadow: none; }
.n-top-right .n-btn:hover { transform: none; box-shadow: none; }
.n-top-login { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); text-decoration: none; }
.n-top-login:hover { background: var(--paper); }
@media (min-width: 860px) { .n-nav { display: flex; } .n-top-right { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .n-nav a::after { transition: none; } }

/* Hero */
.n-hero { padding: 64px 0 88px; border-bottom: 1px solid var(--rule); overflow: hidden; }
@media (min-width: 768px) { .n-hero { padding: 80px 0 110px; } }
.n-hero-copy { max-width: 920px; margin-inline: auto; text-align: center; }
.n-pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); font-size: 12.5px; color: var(--ink-soft); margin-bottom: 28px; }
.n-h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: .93; letter-spacing: -.03em; text-wrap: balance; }
.n-h1 em, .n-closing-title em, .n-h2 em { font-style: normal; display: block; color: var(--ink-soft); }
.n-lede { max-width: 620px; margin: 28px auto 0; font-size: 17px; line-height: 28px; color: var(--ink-soft); text-wrap: pretty; }
.n-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.n-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 22px 0 0; padding: 0; font-size: 14px; color: var(--ink-soft); }
.n-assure li { display: inline-flex; align-items: center; gap: 7px; }
.n-assure svg { width: 15px; height: 15px; fill: none; stroke: var(--up); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Hero side cards: only where there is room beside the headline */
.n-hero { position: relative; }
.n-hero-float { display: none; }
@media (min-width: 1360px) {
  .n-hero { background: radial-gradient(circle, var(--rule-strong) 1px, transparent 1.2px) 0 0 / 22px 22px; }
  .n-hero > .n-wrap { position: relative; z-index: 1; }
  .n-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 60% at 50% 38%, var(--paper) 55%, transparent 100%), linear-gradient(to bottom, transparent 70%, var(--paper)); pointer-events: none; }
  .n-hero-float { display: block; position: absolute; inset: 0; pointer-events: none; }
  .n-fcard { position: absolute; width: 230px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; color: var(--ink-soft); opacity: 0; animation: n-in .7s cubic-bezier(.25, 1, .5, 1) both, n-float 7s ease-in-out infinite; }
  .n-fc-1 { left: max(32px, calc(50% - 670px)); top: 96px; --r: -2deg; animation-delay: .3s, 0s; }
  .n-fc-2 { left: max(56px, calc(50% - 620px)); top: 356px; --r: 1.5deg; animation-delay: .8s, -2s; }
  .n-fc-3 { right: max(32px, calc(50% - 670px)); top: 120px; --r: 2deg; animation-delay: 1.3s, -4s; }
  .n-fc-4 { right: max(56px, calc(50% - 630px)); top: 370px; --r: -1.5deg; animation-delay: 1.8s, -1s; }
  .n-fcard-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
  .n-fcard-row { display: flex; align-items: center; gap: 8px; line-height: 1.9; white-space: nowrap; overflow: hidden; }
  .n-fcard-row b { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--dim); }
  .n-fcard-big { font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1; }
  .n-fcard-big small { font-size: 13px; color: var(--dim); font-weight: 500; }
  .n-fcard-spark { width: 100%; height: 36px; margin-top: 10px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: n-line 1.2s ease-out 1.1s forwards; transition: d .9s ease; }
  .n-fcard-row b { transition: color .3s; }
  .n-fcard-row b.is-new { animation: n-tick 1s ease-out; }
  .n-fcard-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
  .n-fcard-slack { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #4a154b; }
  .n-fcard-slack svg { width: 13px; height: 13px; fill: #fff; }
  .n-fcard .is-up { color: var(--up); font-weight: 600; }
  .n-fcard .is-down { color: var(--down); font-weight: 600; }
  .n-fcard-sub { font-size: 11.5px; color: var(--dim); line-height: 1.4; }
  #n-slack [data-ph~="1"], #n-slack [data-ph~="2"] { display: none; }
  #n-slack[data-phase="1"] [data-ph~="1"], #n-slack[data-phase="2"] [data-ph~="2"] { display: block; }
  #n-slack[data-phase="1"] span[data-ph~="1"], #n-slack[data-phase="2"] span[data-ph~="2"] { display: inline; }
  .n-fcard.is-pop { animation: n-pop .5s cubic-bezier(.25, 1, .5, 1), n-float 7s ease-in-out -4s infinite; opacity: 1; }
  .n-fcard-ok { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
  .n-fcard-ok { white-space: normal; line-height: 1.35; padding: 6px 8px; margin: -6px -8px 8px; border-radius: 8px; transition: background .4s, color .4s; }
  .n-fcard-ok.is-issue { background: #fbf1dc; color: #8a5f0e; }
  .n-fcard-ok.is-issue .n-dot { background: var(--warn); }
  .n-fcard .n-ticks i:last-child { animation: n-in .3s ease-out; }
  .n-fcard .n-ticks { height: 18px; }
  .n-fcard-foot { margin: 8px 0 0; text-transform: none; letter-spacing: 0; }
}
@keyframes n-in { from { opacity: 0; translate: 0 18px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes n-pop { 40% { scale: 1.05; } }
@keyframes n-line { to { stroke-dashoffset: 0; } }
@keyframes n-tick { from { color: var(--up); } }
@keyframes n-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
@media (prefers-reduced-motion: reduce) { .n-fcard { animation: none; opacity: 1; transform: rotate(var(--r, 0deg)); } .n-fcard-spark { animation: none; stroke-dashoffset: 0; } }

/* Product window (panel "screenshot", built in HTML) */
.n-stage { position: relative; margin-top: 64px; }
.n-window { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.n-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 14px; background: var(--sunken); border-bottom: 1px solid var(--rule); }
.n-window-dots { display: inline-flex; gap: 6px; }
.n-window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); }
.n-window-dots.is-ghost { visibility: hidden; }
.n-window-url { flex: 1; max-width: 340px; min-width: 0; height: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; }
.n-window-url svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.n-ticks { display: flex; align-items: stretch; gap: 2px; height: 20px; }
.n-ticks i { flex: 1 1 2px; max-width: 6px; border-radius: 1px; background: var(--up); }
.n-ticks i.is-warn { background: var(--warn); }
.n-toast { position: absolute; z-index: 2; right: 12px; bottom: -28px; width: min(340px, calc(100% - 24px)); padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 12px; box-shadow: var(--shadow); text-align: left; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .32s, transform .42s cubic-bezier(.25, 1, .5, 1); pointer-events: none; }
@media (min-width: 768px) { .n-toast { right: 28px; } }
.n-toast-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); }
.n-toast-head b { color: var(--ink); font-weight: 600; }
.n-toast-icon { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #229ed9; }
.n-toast-icon svg { width: 13px; height: 13px; fill: #fff; }
.n-toast p { margin-top: 8px; font-size: 13px; line-height: 1.45; }
.n-toast .is-down { color: var(--down); font-weight: 600; }
.n-toast .is-up { color: var(--up); font-weight: 600; }
/* Animation phases: 0 all up, 1 shop down + alert, 2 recovered + alert */
[data-phase] [data-ph] { display: none; }
[data-phase="0"] [data-ph~="0"], [data-phase="1"] [data-ph~="1"], [data-phase="2"] [data-ph~="2"] { display: inline-flex; }
.n-toast [data-ph] { display: none !important; }
[data-phase="1"] .n-toast [data-ph~="1"], [data-phase="2"] .n-toast [data-ph~="2"] { display: block !important; }
[data-phase="1"] .n-mrow-live { background: var(--down-bg); }
[data-phase="1"] .n-toast, [data-phase="2"] .n-toast { opacity: 1; transform: none; }
.n-txt-down { color: var(--down); }

/* Live numbers */
.n-live-strip { border-bottom: 1px solid var(--rule); }
.n-live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .n-live-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.n-live-grid > div { padding: 28px 20px; border-left: 1px solid var(--rule); }
.n-live-grid > div:nth-child(odd) { border-left: 0; }
@media (min-width: 768px) { .n-live-grid > div:nth-child(odd) { border-left: 1px solid var(--rule); } .n-live-grid > div:first-child { border-left: 0; } }
.n-live-grid b { display: block; font: 500 30px/1 var(--mono); letter-spacing: -.04em; }
.n-live-grid span { display: block; margin-top: 8px; font-size: 13px; color: var(--dim); }
.n-live-label { display: flex; align-items: center; gap: 8px; padding-top: 22px; }

/* Sections */
.n-section { padding: 88px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { .n-section { padding: 112px 0; } }
.n-band { background: var(--surface); }
.n-section-head { max-width: 720px; margin-bottom: 48px; }
.n-section-head .n-label { margin-bottom: 14px; display: block; }
.n-h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.n-section-head p.n-sub { margin-top: 18px; font-size: 17px; line-height: 28px; color: var(--ink-soft); max-width: 600px; }

/* Try a domain */
.n-try { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .n-try { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.n-try-card { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 14px; padding: 24px; }
.n-try-row { display: flex; gap: 8px; }
.n-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--rule-strong); border-bottom-color: #b3bdb8; border-radius: 10px; background: var(--surface); color: var(--ink); font: 15px var(--sans); box-shadow: 0 1px 2px #0e14110d; }
.n-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #0e14111a; }
.n-try-row .n-input { font-family: var(--mono); font-size: 14px; }
.n-try-row .n-btn { height: 44px; }
#try-btn .spinner { display: none; width: 14px; height: 14px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: n-spin .7s linear infinite; }
#try-btn.busy .spinner { display: inline-block; }
@keyframes n-spin { to { transform: rotate(360deg); } }
.try-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14px; }
.try-steps li { display: flex; align-items: center; gap: 8px; color: var(--dim); }
.try-steps li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--rule-strong); }
.try-steps li.doing { color: var(--ink); }
.try-steps li.doing::before { border-top-color: var(--brand); animation: n-spin .7s linear infinite; }
.try-steps li.done { color: var(--ink); }
.try-steps li.done::before { background: var(--up); border-color: var(--up); }
.n-fine { margin-top: 14px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.field-error { margin-top: 6px; font-size: 13px; color: var(--down); }

/* Feature grid */
.n-features { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 640px) { .n-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .n-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.n-feature { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .n-feature { padding-left: 24px; border-left: 1px solid var(--rule); } .n-feature:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (min-width: 1000px) { .n-feature:nth-child(2n+1) { border-left: 1px solid var(--rule); padding-left: 24px; } .n-feature:nth-child(4n+1) { border-left: 0; padding-left: 0; } }
/* Counts that do not fill rows of 4: 3 → one row of 3, 5 → one row of 5, 6 → 3 + 3 (and an odd last item spans both columns on tablets). */
@media (min-width: 640px) and (max-width: 999px) { .n-features > .n-feature:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .n-features:has(> .n-feature:nth-child(3):last-child), .n-features:has(> .n-feature:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .n-features:has(> .n-feature:nth-child(3):last-child) > .n-feature, .n-features:has(> .n-feature:nth-child(6):last-child) > .n-feature { border-left: 1px solid var(--rule); padding-left: 24px; }
  .n-features:has(> .n-feature:nth-child(3):last-child) > .n-feature:nth-child(3n+1), .n-features:has(> .n-feature:nth-child(6):last-child) > .n-feature:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .n-features:has(> .n-feature:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .n-features:has(> .n-feature:nth-child(5):last-child) > .n-feature { border-left: 1px solid var(--rule); padding-left: 20px; padding-right: 20px; }
  .n-features:has(> .n-feature:nth-child(5):last-child) > .n-feature:first-child { border-left: 0; padding-left: 0; }
}
.n-feature svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.n-feature h3 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.n-feature h3 a { text-decoration: none; }
.n-feature h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.n-feature p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* Split (text + mockup) */
.n-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .n-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } .n-split.is-flip > :first-child { order: 2; } }
.n-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.n-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ink-soft); }
.n-list li b { color: var(--ink); font-weight: 600; }
.n-list svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--up); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Locations table mockup */
.n-loc { padding: 6px 0; }
.n-loc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 11px 20px; border-top: 1px solid var(--rule); font-size: 13.5px; }
.n-loc-row:first-child { border-top: 0; }
.n-loc-name { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.n-loc-name .n-mono { font-size: 11px; color: var(--dim); font-weight: 400; }
.n-loc-checks { display: flex; gap: 4px; }
.n-loc-checks i { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: var(--down-bg); color: var(--down); font: 600 11px var(--mono); font-style: normal; }
.n-loc-checks i.ok { background: #e3f2e8; color: var(--up); }
.n-loc-verdict { margin: 0 20px 18px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--rule); font-size: 13px; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }

/* Status page mockup */
.n-sp { padding: 28px; background: var(--paper); }
.n-sp-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15px; }
.n-sp-brand i { width: 26px; height: 26px; border-radius: 7px; background: #3554d1; display: block; }
.n-sp-ok { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--up); color: #fff; font-weight: 600; }
.n-sp-ok svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.n-sp-card { margin-top: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; }
.n-sp-row { padding: 14px 16px; border-top: 1px solid var(--rule); }
.n-sp-row:first-child { border-top: 0; }
.n-sp-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 550; margin-bottom: 8px; }
.n-sp-row-head span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--up); }
.n-sp-row .n-ticks { height: 24px; gap: 2px; }
.n-sp-row .n-ticks i { max-width: none; }
.n-sp-foot { margin-top: 12px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--dim); }

/* Also watched + imports */
.n-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .n-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .n-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.n-card { display: block; padding: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.n-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.n-card h3 { font-size: 15px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; }
.n-card h3 svg { width: 16px; height: 16px; fill: none; stroke: var(--dim); stroke-width: 2; }
.n-card p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.n-imports { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.n-imports > p { font-size: 14px; color: var(--ink-soft); max-width: 340px; }
.n-imports span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.n-tools { margin-top: 20px; font-size: 13px; color: var(--dim); }
.n-tools a { color: var(--ink-soft); }

/* Steps */
.n-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
@media (min-width: 768px) { .n-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.n-steps li { padding: 24px 24px 8px 0; }
@media (min-width: 768px) { .n-steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); } }
.n-steps > li > .n-mono { font-size: 12px; color: var(--dim); }
.n-steps > li > b { display: block; margin-top: 24px; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.n-steps > li > span:last-child { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }
/* Step pictures */
.n-steps > li > b a { text-decoration: none; }
.n-steps > li > b a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.n-sv { text-decoration: none; color: inherit; transition: border-color .2s; }
a.n-sv:hover { border-color: var(--rule-strong); }
.n-sv { position: relative; display: grid; place-items: center; height: 210px; margin-bottom: 22px; padding: 24px 20px; background: var(--sunken); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.n-sv-card { width: min(100%, 250px); padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; }
.n-sv-label { display: block !important; margin: 0 0 6px !important; font-size: 11.5px !important; font-weight: 600; color: var(--ink) !important; }
.n-sv-input { display: flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 8px; font-size: 13px; }
.n-sv-type { display: inline-block !important; margin: 0 !important; color: var(--ink) !important; font-size: 13px !important; overflow: hidden; white-space: nowrap; width: 8ch; }
.n-sv-caret { width: 1.5px; height: 16px; margin-left: 1px; background: var(--ink); opacity: 0; }
.n-sv-addr { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 11.5px; color: var(--up); }
.n-sv-btn { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 12px !important; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: var(--paper) !important; font-size: 12.5px !important; }
.n-sv-btn em { font-style: normal; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; }
.n-sv-paste { padding: 8px 10px; border: 1px dashed var(--rule-strong); border-radius: 8px; font-size: 12px; line-height: 1.75; color: var(--ink); }
.n-sv-mon { padding: 8px 14px; }
.n-sv-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12.5px; white-space: nowrap; }
.n-sv-row + .n-sv-row { border-top: 1px solid var(--rule); }
.n-sv-row > span:nth-child(2) { display: inline !important; margin: 0 !important; font-size: 12.5px !important; color: var(--ink) !important; overflow: hidden; text-overflow: ellipsis; }
.n-sv-ticks { display: flex !important; gap: 2px; margin: 0 0 0 auto !important; }
.n-sv-ticks i { width: 3px; height: 14px; border-radius: 1px; background: var(--up); }
.n-sv-row.is-fail .n-dot, .n-sv-row.is-fail .n-sv-ticks i:last-child { background: var(--down); }
.n-sv-row.is-fail { color: var(--down); }
.n-sv-alert { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 7px 11px; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; white-space: nowrap; }
.n-sv-alert b { color: var(--down); font-weight: 650; }
.n-sv-bell { display: grid !important; place-items: center; width: 20px; height: 20px; margin: 0 !important; border-radius: 6px; background: var(--down-bg); }
.n-sv-bell svg { width: 12px; height: 12px; fill: none; stroke: var(--down); stroke-width: 2; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .is-ready:not(.is-play) .n-sv-type { width: 0; }
  .is-ready:not(.is-play) :is(.n-sv-addr, .n-sv-paste p, .n-sv-btn em, .n-sv-alert) { opacity: 0; }
  .is-play .n-sv-type { animation: sv-type 1.1s steps(8) .4s both; }
  .is-play .n-sv-caret { animation: sv-caret .5s step-end 0s 4 alternate; }
  .is-play li:first-child .n-sv-addr { animation: sv-up .45s cubic-bezier(.25, 1, .5, 1) 1.6s both; }
  .is-play li:first-child .n-sv-btn { animation: sv-press .35s ease 2.3s; }
  .is-play .n-sv-paste p { animation: sv-up .35s cubic-bezier(.25, 1, .5, 1) both; }
  .is-play .n-sv-paste p:nth-child(1) { animation-delay: .8s; }
  .is-play .n-sv-paste p:nth-child(2) { animation-delay: .95s; }
  .is-play .n-sv-paste p:nth-child(3) { animation-delay: 1.1s; }
  .is-play li:nth-child(2) .n-sv-btn { animation: sv-press .35s ease 1.8s; }
  .is-play .n-sv-btn em { animation: sv-pop .4s cubic-bezier(.3, 1.6, .5, 1) 2s both; }
  .is-play .n-sv-ticks i { animation: sv-tick .25s ease-out both; }
  .is-play .n-sv-ticks i:nth-child(1) { animation-delay: 1.3s; } .is-play .n-sv-ticks i:nth-child(2) { animation-delay: 1.4s; } .is-play .n-sv-ticks i:nth-child(3) { animation-delay: 1.5s; }
  .is-play .n-sv-ticks i:nth-child(4) { animation-delay: 1.6s; } .is-play .n-sv-ticks i:nth-child(5) { animation-delay: 1.7s; } .is-play .n-sv-ticks i:nth-child(6) { animation-delay: 1.8s; }
  .is-play .n-sv-ticks i:nth-child(7) { animation-delay: 1.9s; } .is-play .n-sv-ticks i:nth-child(8) { animation-delay: 2s; } .is-play .n-sv-ticks i:nth-child(9) { animation-delay: 2.1s; }
  .is-play .n-sv-ticks i:nth-child(10) { animation-delay: 2.2s; } .is-play .n-sv-ticks i:nth-child(11) { animation-delay: 2.3s; } .is-play .n-sv-ticks i:nth-child(12) { animation-delay: 2.5s; }
  .is-play .n-sv-row.is-fail .n-dot { animation: sv-fail 2.6s step-end both; }
  .is-play .n-sv-alert { animation: sv-alert .5s cubic-bezier(.25, 1, .5, 1) 2.8s both; }
}
@keyframes sv-type { from { width: 0; } }
@keyframes sv-caret { from { opacity: 1; } to { opacity: 0; } }
@keyframes sv-up { from { opacity: 0; transform: translateY(8px); } }
@keyframes sv-press { 50% { transform: scale(.94); } }
@keyframes sv-pop { from { opacity: 0; transform: scale(0); } }
@keyframes sv-tick { from { transform: scaleY(0); opacity: 0; } }
@keyframes sv-fail { from { background: var(--up); } }
@keyframes sv-alert { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* FAQ */
.n-faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .n-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }
.n-faq details { border-top: 1px solid var(--rule); }
.n-faq details:last-child { border-bottom: 1px solid var(--rule); }
.n-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 16.5px; font-weight: 600; }
.n-faq summary::-webkit-details-marker { display: none; }
.n-faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--dim); transition: transform .2s; }
.n-faq details[open] summary::after { transform: rotate(45deg); }
.n-faq details p { padding: 0 40px 22px 0; color: var(--ink-soft); line-height: 1.6; }

/* Closing CTA */
.n-closing { background: var(--field); color: var(--field-ink); padding: 96px 0; }
@media (min-width: 768px) { .n-closing { padding: 140px 0; } }
.n-closing-grid { display: grid; gap: 44px; align-items: end; }
@media (min-width: 960px) { .n-closing-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px 88px; } }
.n-closing-title { grid-column: 1 / -1; font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; text-wrap: pretty; }
.n-closing-title em { color: var(--field-soft); }
/* With a second sentence, the first one is set smaller so it fits on one line; the second keeps the full size. */
.n-closing-title:has(> em:not(:empty)) { font-size: clamp(1.15rem, 5vw, 3.75rem); }
.n-closing-title:has(> em:not(:empty)) em { margin-top: .12em; font-size: 1.4em; }
/* A single sentence (tool pages) is sized to fit on one line. */
.n-closing-title:not(:has(> em:not(:empty))) { font-size: clamp(1.2rem, 5.8vw, 4.5rem); }
.n-closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 15px; color: var(--field-soft); }
.n-closing .n-btn { background: var(--field-ink); border-color: var(--field-ink); color: var(--ink); }
.n-closing .n-btn:hover { background: #fff; box-shadow: 0 12px 28px -12px #0009; }
.n-strip { display: flex; align-items: stretch; gap: 3px; height: 56px; }
.n-strip i { flex: 1 1 2px; min-width: 2px; max-width: 10px; border-radius: 1px; background: #84b78f; }
.n-strip i.is-down { background: #e08872; }
/* partials.closing: the oldest check shrinks away on the left while the new one grows in on the right */
.n-strip i.n-out { animation: n-strip-out .6s ease forwards; }
.n-strip i.n-in { animation: n-strip-in .6s ease both; }
@keyframes n-strip-out { to { max-width: 0; min-width: 0; flex-basis: 0; margin-inline-start: -3px; opacity: 0; } }
@keyframes n-strip-in { from { max-width: 0; min-width: 0; flex-basis: 0; margin-inline-start: -3px; opacity: 0; } }
.n-error-strip i.n-out, .n-error-strip i.n-in { animation-duration: .3s; }
@media (prefers-reduced-motion: reduce) { .n-strip i.n-out, .n-strip i.n-in { animation-duration: .01s; } }
.n-strip-meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; color: var(--field-soft); }

/* Footer: light grey, opened by the same band of colours as the header */
.n-foot { background: var(--sunken); font-size: 14.5px; }
.n-foot::before { content: ""; display: block; height: 4px; background: var(--band); }
.n-foot-grid { display: grid; gap: 32px; padding: 48px 0 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .n-foot-grid { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); } }
.n-foot-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .n-foot-brand { grid-column: auto; } }
.n-foot-brand p { margin-top: 12px; max-width: 320px; color: var(--dim); line-height: 1.6; }
.n-foot-brand .logo-pulse { animation: none; stroke-dasharray: none; }
.n-foot-col { display: flex; flex-direction: column; gap: 7px; }
.n-foot-col b { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 4px; }
.n-foot-col a { color: var(--ink); text-decoration: none; }
.n-foot-col a:hover { text-decoration: underline; }
.n-foot-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.n-foot-ai b { font-size: 13px; font-weight: 600; color: var(--dim); }
.n-foot-ai-links { display: flex; flex-wrap: wrap; gap: 8px; }
.n-foot-ai-links a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; }
.n-foot-ai-links svg { width: 15px; height: 15px; flex: none; }
.n-foot-ai-links a:hover { border-color: var(--ink); }
.n-foot-ai-agents { margin-left: auto; font-size: 13px; color: var(--dim); }
.n-foot-ai-agents a { color: var(--dim); }
.n-foot-bottom { padding: 16px 0 20px; border-top: 1px solid var(--rule-strong); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--dim); }

/* Auth (log in / sign up) */
.n-auth { display: flex; min-height: 100vh; min-height: 100dvh; }
.n-auth-form { flex: none; width: 100%; display: flex; flex-direction: column; padding: 24px; background: var(--surface); }
@media (min-width: 640px) { .n-auth-form { padding: 40px 48px; } }
@media (min-width: 900px) { .n-auth-form { width: 46%; max-width: 640px; } }
.n-auth-form > .logo, .n-auth-inner { width: 100%; max-width: 400px; margin-inline: auto; }
.n-auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 0; }
.n-auth-inner h1 { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.n-auth-inner > p.n-sub { margin-top: 8px; font-size: 14px; color: var(--dim); line-height: 1.6; }
.n-form { display: grid; gap: 16px; margin-top: 32px; }
.n-field label, .n-label-row label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 550; }
.n-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.n-label-row a, .n-auth-alt a { font-size: 13px; color: var(--ink-soft); text-underline-offset: 3px; }
.n-field .n-input { height: 40px; font-size: 14px; }
.n-hint { margin-top: 6px; font-size: 12.5px; color: var(--dim); }
.n-hint.ok { color: var(--up); }
.n-hint.bad { color: var(--down); }
.n-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.n-check input { width: 16px; height: 16px; accent-color: var(--ink); }
.n-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 12.5px; color: var(--dim); }
.n-or::before, .n-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.n-auth-alt { margin-top: 28px; font-size: 14px; color: var(--dim); }
.n-auth-alt a { font-size: 14px; color: var(--ink); font-weight: 550; }
.n-flash { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: #e3f2e8; color: var(--up); font-size: 14px; }
.n-auth-legal { display: flex; gap: 16px; font-size: 12px; color: var(--dim); }
.n-auth-legal a { text-decoration: none; }
.n-auth-legal a:hover { color: var(--ink); }
.n-auth-side { display: none; flex: 1; padding: 56px 64px; background: var(--sunken); border-left: 1px solid var(--rule); }
@media (min-width: 900px) { .n-auth-side { display: block; } }
.n-auth-side-in { height: 100%; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; }
.n-auth-side-title { max-width: 560px; font-size: 52px; line-height: 1.02; }
@media (min-width: 1200px) { .n-auth-side-title { font-size: 64px; } }
.n-auth-side .n-sub { margin-top: 16px; font-size: 13px; color: var(--dim); }
.n-auth-side .n-window { margin-top: 36px; }
.n-auth-side .n-window-bar { height: 36px; }
.n-auth-side .n-app-main { padding: 20px; }
.n-auth-side .n-caption { margin-top: 12px; font-size: 12px; color: var(--dim); }

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

/* Panel replica: monitors/index as it looks (system font, app.css colours) */
.rp { --rp-bg: #f7f7f5; --rp-panel: #fff; --rp-text: #1b1c1e; --rp-muted: #6b6f76; --rp-border: #e4e4e0; --rp-green: #1f9d55; --rp-red: #d93a3a; --rp-link: #2554d9;
  background: var(--rp-bg); color: var(--rp-text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.rp .logo-word { font-weight: 750; font-size: 17px; letter-spacing: -.03em; }
.rp .logo-tld { color: var(--rp-muted); }
.rp .logo-mark { width: 24px; height: 24px; }
.rp-top { display: flex; align-items: center; gap: 20px; height: 50px; padding: 0 24px; background: var(--rp-panel); border-bottom: 1px solid var(--rp-border); }
.rp-nav { display: none; gap: 10px; color: var(--rp-muted); font-size: 14px; }
.rp-nav b { color: var(--rp-text); font-weight: 600; }
.rp-nav i { font-style: normal; color: var(--rp-border); }
@media (min-width: 700px) { .rp-nav { display: inline-flex; } }
.rp-user { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rp-muted); }
.rp-avatar { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(#7c3aed, #a78bfa, #7c3aed); }
.rp-main { padding: 22px 24px 24px; }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rp-h1 { font-size: 20px; font-weight: 700; }
.rp-muted { color: var(--rp-muted); font-size: 12.5px; }
.rp-head .rp-muted { margin-top: 4px; }
.rp-link { color: var(--rp-link); }
.rp-btn { flex: none; background: var(--rp-green); color: #fff; border-radius: 4px; padding: 8px 14px; font-size: 13.5px; }
.rp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (min-width: 700px) { .rp-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rp-card { background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; padding: 10px 12px; }
.rp-card > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--rp-muted); }
.rp-card b { display: block; margin-top: 2px; font-size: 19px; font-weight: 700; }
.rp-card b [data-ph] { display: none; }
[data-phase="0"] .rp-card b [data-ph~="0"], [data-phase="1"] .rp-card b [data-ph~="1"], [data-phase="2"] .rp-card b [data-ph~="2"] { display: inline; }
.rp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rp-green); font-style: normal; flex: none; }
.rp-dot.is-down { background: var(--rp-red); }
.rp-dot.is-pending { background: #a0a4ab; }
.rp-red { color: var(--rp-red); }
.rp-filters { display: none; align-items: center; gap: 8px; margin-top: 16px; }
@media (min-width: 700px) { .rp-filters { display: flex; } }
.rp-search { width: 260px; padding: 8px 12px; background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; color: #9a9ea6; font-size: 13px; }
.rp-pill { padding: 4px 10px; border: 1px solid var(--rp-border); border-radius: 999px; background: var(--rp-panel); font-size: 12px; }
.rp-pill em { font-style: normal; color: var(--rp-muted); }
.rp-period { display: none; align-items: center; gap: 4px; margin-top: 12px; }
@media (min-width: 700px) { .rp-period { display: flex; } }
.rp-period b, .rp-period span { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--rp-border); background: var(--rp-panel); font-size: 11.5px; font-weight: 400; color: var(--rp-text); }
.rp-period b { background: var(--rp-text); border-color: var(--rp-text); color: #fff; margin-left: 4px; }
.rp-table { margin-top: 12px; background: var(--rp-panel); border-radius: 4px; overflow: hidden; }
.rp-tr { display: grid; grid-template-columns: minmax(0, 1fr) 96px 120px; gap: 14px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--rp-border); transition: background-color .3s; }
.rp-tr > :nth-child(3) { display: none; }
@media (min-width: 700px) { .rp-tr { grid-template-columns: minmax(0, 1.4fr) 96px 90px 130px 80px; } .rp-tr > :nth-child(3) { display: block; } }
@media (min-width: 1000px) { .rp-tr { grid-template-columns: minmax(0, 1.4fr) 96px 90px 130px 80px 100px; } }
.rp-compact .rp-tr { grid-template-columns: minmax(0, 1fr) 96px 120px; }
.rp-compact .rp-tr > :nth-child(3) { display: none; }
@media (min-width: 1200px) { .rp-compact .rp-tr { grid-template-columns: minmax(0, 1.3fr) 96px 80px 124px 66px; } .rp-compact .rp-tr > :nth-child(3) { display: block; } }
.rp-th { white-space: nowrap; border-top: 0; padding-block: 11px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rp-muted); }
.rp-hide-sm, .rp-hide-md { display: none !important; }
@media (min-width: 700px) { .rp-hide-sm { display: block !important; } .rp-cards .rp-hide-sm { display: block !important; } }
@media (min-width: 1000px) { .rp-hide-md { display: block !important; } }
.rp-compact .rp-hide-sm { display: none !important; }
@media (min-width: 1200px) { .rp-compact .rp-hide-sm { display: block !important; } .rp-compact .rp-cards .rp-hide-sm { display: none !important; } }
.rp-compact .rp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-r { text-align: right; }
.rp-mon { min-width: 0; }
.rp-mon p { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.rp-mon p [data-ph] { align-items: center; }
.rp-url { margin-top: 1px; font-size: 12.5px; color: var(--rp-muted); overflow: hidden; text-overflow: ellipsis; }
.rp-regions { display: flex; flex-wrap: wrap; gap: 3px; }
.rp-regions span { padding: 0 5px; border-radius: 3px; background: #e5f5ec; color: var(--rp-green); font-size: 10.5px; font-weight: 600; line-height: 16px; }
[data-phase="1"] .n-mrow-live .rp-regions span { background: #fbe8e8; color: var(--rp-red); }
[data-phase="1"] .n-mrow-live { background: #fdf2f2; }
.rp-resp { display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.rp-resp svg { width: 64px; height: 18px; flex: none; }
.rp-resp polyline { fill: none; stroke: var(--rp-link); stroke-width: 1.3; stroke-linejoin: round; }
[data-phase="1"] .n-mrow-live .rp-resp polyline { stroke: var(--rp-red); }
.rp-compact .rp-main { padding: 18px 20px 20px; }
/* Monitor page inside the panel (phases 3 and 4) and the pointer that opens it */
.n-window { position: relative; }
.rp-main { position: relative; }
.rp-view { transition: opacity .35s; }
.rp-detail, .rp-page { position: absolute; inset: 0; padding: inherit; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.n-stage:not([data-view="list"]) .rp-list { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
[data-view="monitor"] .rp-detail, [data-view="msettings"] .rp-detail, [data-view="status"] .rp-page[data-view="status"], [data-view="alerts"] .rp-page[data-view="alerts"], [data-view="settings"] .rp-page[data-view="settings"] { opacity: 1; visibility: visible; transition: opacity .35s; }
.rp-nav button, .rp-tag { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.rp-nav button:hover { color: var(--rp-text); }
.rp-nav button.is-on { color: var(--rp-text); font-weight: 600; }
.rp-home { cursor: pointer; }
.n-stage [data-go] { cursor: pointer; }
.n-stage .rp-tr[data-go]:hover { background: #f4f6fb; }
.n-stage .rp-obtn[data-go]:hover, .n-stage .rp-btn[data-go]:hover { filter: brightness(.95); }
.rp-dh1 { display: flex; align-items: center; gap: 9px; }
.rp-tag { font-size: 11.5px; font-weight: 500; padding: 1px 8px; border: 1px solid var(--rp-border); border-radius: 999px; color: var(--rp-link); background: var(--rp-panel); }
.rp-head .rp-muted b { color: var(--rp-text); font-weight: 600; }
.rp-actions { display: flex; flex: none; gap: 6px; }
.rp-obtn { display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid var(--rp-border); border-radius: 4px; background: var(--rp-panel); font-size: 12.5px; white-space: nowrap; }
.rp-obtn.is-danger { color: var(--rp-red); }
.rp-cog svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
[data-view="msettings"] .rp-cog { background: var(--rp-text); border-color: var(--rp-text); color: #fff; }
.rp-sub { margin: 16px 0 8px; font-size: 13px; font-weight: 650; }
.rp-settings { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.25, 1, .5, 1); }
.rp-settings > * { overflow: hidden; }
.rp-settings { overflow: hidden; }
[data-view="msettings"] .rp-settings { grid-template-rows: auto 1fr; }
.rp-settings .rp-sub { max-height: 0; margin: 0; transition: max-height .45s, margin .45s; }
[data-view="msettings"] .rp-settings .rp-sub { max-height: 30px; margin: 16px 0 8px; }
.rp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 0 14px; max-height: 0; background: var(--rp-panel); border: 0 solid var(--rp-border); border-radius: 4px; transition: max-height .5s cubic-bezier(.25, 1, .5, 1), padding .5s; }
@media (min-width: 700px) { .rp-form { grid-template-columns: repeat(6, minmax(0, 1fr)); } .rp-form .rp-f { grid-column: span 2; } .rp-form .rp-f2 { grid-column: span 3; } .rp-form .rp-f:nth-child(2) { grid-column: span 3; } .rp-form .rp-f:first-child { grid-column: span 2; } .rp-form .rp-f:nth-child(3) { grid-column: span 1; } }
[data-view="msettings"] .rp-form { max-height: 400px; padding: 14px; border-width: 1px; }
.rp-f span { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.rp-f i { display: block; font-style: normal; padding: 6px 9px; border: 1px solid var(--rp-border); border-radius: 4px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-f i.rp-sel { padding-right: 24px; background: linear-gradient(45deg, transparent 50%, var(--rp-muted) 50%) right 12px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--rp-muted) 50%) right 8px center / 5px 5px no-repeat; }
.rp-f i.rp-ph { color: #9a9ea6; }
.rp-f-end { grid-column: 1 / -1 !important; }
.rp-f-end .rp-btn { display: inline-block; margin: 0; font-size: 12.5px; font-weight: 400; }
.rp-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
@media (min-width: 700px) { .rp-dcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rp-dcards em { display: block; font-style: normal; font-size: 12px; color: var(--rp-muted); }
.rp-dcards u { text-decoration: none; margin-left: auto; padding: 0 7px; border-radius: 999px; background: var(--rp-text); color: #fff; font-size: 10.5px; }
.rp-green { color: var(--rp-green); }
.rp-dgrid { display: grid; gap: 0 28px; }
@media (min-width: 700px) { .rp-dgrid { grid-template-columns: 1.3fr 1fr; } }
.rp-days { display: flex; gap: 3px; height: 30px; }
.rp-days i { flex: 1; border-radius: 2px; background: var(--rp-green); }
.rp-days i.is-warn { background: #e0a526; }
.rp-days i.is-down { background: var(--rp-red); }
.rp-chart { width: 100%; height: 70px; background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; }
.rp-chart path { fill: none; stroke: var(--rp-link); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rp-chart .rp-area { fill: #2554d914; stroke: none; }
.rp-loc { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--rp-border); font-size: 13px; white-space: nowrap; }
.rp-loc b { margin-left: 10px; font-weight: 400; color: var(--rp-muted); font-size: 12.5px; min-width: 52px; text-align: right; }
.rp-rg { padding: 0 5px; border-radius: 3px; background: #e5f5ec; color: var(--rp-green); font-size: 10.5px; font-weight: 600; line-height: 16px; }
.rp-up { margin-left: auto; padding: 0 7px; border-radius: 999px; background: #e5f5ec; color: var(--rp-green); font-size: 11.5px; }
.rp-cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; transform: translate(70%, 60%); transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), opacity .3s; pointer-events: none; }
.rp-cursor.is-on { opacity: 1; }
.rp-cursor svg { width: 22px; height: 22px; fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px #0004); }
.rp-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: #2554d955; opacity: 0; }
.rp-cursor.is-click::after { animation: rp-click .5s ease-out; }
.rp-mini { background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; font-size: 12.5px; }
.rp-mini p { display: grid; grid-template-columns: 1.6fr 1fr .7fr; gap: 10px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--rp-border); white-space: nowrap; }
.rp-mini p > span { overflow: hidden; text-overflow: ellipsis; }
.rp-mini .rp-mini-th { border-top: 0; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rp-muted); }
.rp-detail .rp-mini p { grid-template-columns: 1fr .8fr 1.4fr; }
.rp-mini-4 p { grid-template-columns: 1.4fr 1fr .8fr 1.2fr; }
.rp-mini b { font-weight: 600; margin-right: 4px; }
.rp-acts { display: flex; justify-content: flex-end; gap: 6px; }
.rp-acts .rp-obtn { padding: 2px 8px; font-size: 11.5px; }
.rp-box { display: grid; gap: 10px; padding: 12px 14px; background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; }
.rp-box > .rp-btn { justify-self: start; font-size: 12.5px; padding: 6px 12px; }
.rp-form-3 { grid-template-columns: 1fr 1fr; }
.rp-form-3 .rp-f:nth-child(3), .rp-form-3 > .rp-btn { grid-column: 1 / -1; }
.rp-inline { grid-template-columns: 1fr auto; align-items: center; font-size: 13px; }
.rp-in { font-style: normal; padding: 6px 9px; border: 1px solid var(--rp-border); border-radius: 4px; font-size: 12.5px; }
.rp-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.rp-check > i { width: 14px; height: 14px; flex: none; border: 1px solid #b9bdc4; border-radius: 3px; background: var(--rp-panel); }
.rp-check > i.is-on { background: var(--rp-link) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--rp-link); }
.rp-check em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--rp-green); }
.rp-locs { gap: 0; }
.rp-locs .rp-check { margin: 0; padding: 4px 0; }
.rp-locs .rp-btn { margin-top: 8px; }
.rp-sp { padding: 14px; background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 4px; }
.rp-sp-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.rp-sp-ok { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 10px 12px; border-radius: 6px; background: #e5f5ec; color: var(--rp-green); font-weight: 600; font-size: 13.5px; }
.rp-sp-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.rp-sp-row { padding: 8px 0; border-top: 1px solid var(--rp-border); }
.rp-sp-row p { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.rp-sp-row b { font-weight: 500; color: var(--rp-muted); font-size: 12px; }
.rp-sp .rp-days { height: 20px; gap: 2px; }
.rp-page .rp-period { display: flex; margin: 0; }
.rp-page .rp-period span { margin-right: 4px; }
@keyframes rp-click { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }
.n-pw { position: relative; }
.n-pw .n-input { padding-right: 64px; }
.n-pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-soft); font: 500 12.5px var(--sans); cursor: pointer; }
.n-pw-toggle:hover { background: var(--sunken); color: var(--ink); }

/* ---------- Inner public pages ---------- */
.n-muted { color: var(--dim); font-size: 14px; }
.n-left { margin-left: 0 !important; margin-right: 0 !important; text-align: left; justify-content: flex-start; }
.n-nav a.on { color: var(--ink); font-weight: 600; }
main > .n-wrap > .n-flash { margin-top: 20px; }
.n-page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { .n-page-hero { padding: 80px 0 96px; } }
.n-page-hero-copy { max-width: 820px; }
.n-page-hero.has-aside .n-wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .n-page-hero.has-aside .n-wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.n-page-hero .n-label { display: block; }
.n-page-h1 { margin-top: 14px; font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: .95; letter-spacing: -.028em; text-wrap: balance; }
.n-page-h1 em { font-style: normal; display: block; color: var(--ink-soft); }
.n-page-hero .n-lede { margin: 24px 0 0; max-width: 620px; }
.n-crumb { display: inline-block; margin-bottom: 22px; font-size: 13.5px; color: var(--dim); text-decoration: none; }
.n-crumb:hover { color: var(--ink); }
.n-hero-actions.n-left { align-items: center; margin-top: 32px; }
.n-inline-form { margin-top: 28px; max-width: 560px; }
.n-inline-form .n-or { margin: 0 0 14px; }
.n-demo-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.n-cards-3 { }
@media (min-width: 1000px) { .n-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.n-card-icon > svg { width: 22px; height: 22px; margin-bottom: 16px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.n-closing-link { margin-top: 18px; font-size: 14px; }
.n-closing-link a { color: var(--field-soft); }
.n-closing-link a:hover { color: var(--field-ink); }
.n-grid2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .n-grid2 { grid-template-columns: 1fr 1fr; } }
.n-form-card { background: var(--surface); padding: 28px; }
select.n-input { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366706b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
textarea.n-input { height: auto; padding: 10px 14px; line-height: 1.5; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.n-section a:not(.n-btn):not(.n-card), .n-fine a, .n-sub a { color: var(--ink); text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; padding: 1px 5px; border-radius: 5px; background: var(--sunken); border: 1px solid var(--rule); }
pre code { padding: 0; border: 0; background: none; }

/* Windows with code */
.n-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 12.5px/1.65 var(--mono); color: var(--ink); background: var(--surface); white-space: pre-wrap; word-break: break-word; }
.n-checklist { display: grid; grid-template-columns: 1fr 1fr; }
.n-checklist div { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-top: 1px solid var(--rule); font-size: 14px; font-weight: 550; }
.n-checklist div:nth-child(-n+2) { border-top: 0; }
.n-checklist div:nth-child(even) { border-left: 1px solid var(--rule); }
.n-checklist .n-mono { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--up); }
.n-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.n-chips span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--surface); font-weight: 550; font-size: 14px; box-shadow: 0 1px 2px #0e14110a; }

/* Globe (partials.globe + globe.js) */
:root { --globe-hi: #f4faf6; --globe-lo: #dbede2; --globe-line: rgba(31,157,85,.16); --globe-land: #b4dcc3; --globe-coast: #96caa9; --globe-dot: #3fa26a; --accent: #1f9d55; }
.n-globe { display: flex; justify-content: center; }
.globe { width: 100%; max-width: 440px; }
.globe-grid { fill: none; stroke: var(--globe-line); stroke-width: .8; }
.globe-land { fill: var(--globe-land); stroke: var(--globe-coast); stroke-width: .6; stroke-linejoin: round; }
.globe-rim { fill: none; stroke: var(--globe-line); stroke-width: 1.5; }
.globe-arc { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; opacity: .8; }
.globe-site { fill: var(--accent); }
.globe-loc { fill: #0f6b38; stroke: #fff; stroke-width: 1.5; }
.globe-ping { fill: var(--accent); }

/* Check results (tools._result, shared with the classic theme) */
.tool-result { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tool-result::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--rule-strong); }
.tool-result.good::before { background: var(--up); }
.tool-result.warn::before { background: var(--warn); }
.tool-result.bad::before { background: var(--down); }
.tool-result h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.tool-result .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.dot.up { background: var(--up); } .dot.down { background: var(--down); } .dot.blocked { background: var(--warn); }
.tool-error { color: var(--dim); margin: 0 0 12px; }
.tool-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; margin: 0; font-size: 14px; }
.tool-facts dt, .tool-facts dd { padding: 8px 0; border-top: 1px solid var(--rule); }
.tool-facts dt { color: var(--dim); }
.tool-facts dd { margin: 0; overflow-wrap: anywhere; }
.tool-facts .mono, .tool-facts .small.mono { font-family: var(--mono); font-size: 12.5px; }
.tool-warn { color: var(--warn); margin-top: 2px; font-size: 13px; line-height: 1.45; }
.tool-api { margin-top: 12px; overflow-wrap: anywhere; }
.tool-result .small { font-size: 13px; } .tool-result .muted { color: var(--dim); }
@media (max-width: 640px) { .tool-facts { grid-template-columns: 1fr; } .tool-facts dd { border-top: 0; padding-top: 0; } }

/* Docs */
.n-docs { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 96px; }
@media (min-width: 900px) { .n-docs { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding-top: 64px; } }
.n-docs-nav { display: flex; flex-wrap: wrap; gap: 4px; align-self: start; }
.n-docs-nav .n-label { width: 100%; margin-bottom: 10px; }
.n-docs-nav a:not(.n-btn) { padding: 6px 12px; border-radius: 3px; font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.n-docs-nav a:not(.n-btn):hover { background: var(--surface); color: var(--ink); }
.n-docs-nav a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--brand), 0 1px 2px #0e14110d; }
@media (min-width: 900px) { .n-docs-nav { position: sticky; top: 88px; flex-direction: column; flex-wrap: nowrap; } }
.n-docs-body { max-width: 760px; min-width: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.n-docs-body h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); line-height: 1; letter-spacing: -.025em; color: var(--ink); }
.n-docs-body .lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--dim); }
.n-docs-body h2 { margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 22px; font-weight: 650; letter-spacing: -.015em; color: var(--ink); }
.n-docs-body h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 650; color: var(--ink); }
.n-docs-body p, .n-docs-body ul, .n-docs-body ol, .n-docs-body dl, .n-docs-body table, .n-docs-body pre { margin: 0 0 16px; }
.n-docs-body a { color: var(--ink); text-underline-offset: 3px; }
.n-docs-body b, .n-docs-body strong { color: var(--ink); }
.n-docs-body pre { padding: 16px 18px; overflow-x: auto; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 12px; font: 13px/1.6 var(--mono); color: var(--ink); }
.n-docs-body table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.n-docs-body .table-scroll { overflow-x: auto; margin: 0 0 16px; }
.n-docs-body tr:first-child td { border-top: 0; }
.n-docs-body thead + tbody tr:first-child td { border-top: 1px solid var(--rule); }
.n-docs-body td code { white-space: nowrap; }
@media (max-width: 640px) { .n-docs-body table { display: block; overflow-x: auto; } }
.n-docs-body th, .n-docs-body td { padding: 10px 14px; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.n-docs-body th { background: var(--paper); font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--dim); border-top: 0; }
.n-docs-body .doc-shot { margin: 8px 0 24px; }
.n-docs-body .doc-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule-strong); border-radius: 12px; box-shadow: 0 1px 2px #0e14110d, 0 8px 24px #0e14110f; }
.n-docs-body .doc-shot.is-narrow img { max-width: 440px; }
.docs-dl dt { margin-top: 14px; font-weight: 600; color: var(--ink); }
.docs-dl dd { margin: 2px 0 0; }
.badge { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--sunken); color: var(--ink-soft); font: 500 11.5px/20px var(--mono); vertical-align: 1px; }
.badge.warn { background: #fbf1dc; color: #8a5f10; } .badge.down { background: var(--down-bg); color: var(--down); } .badge.up { background: #e3f2e8; color: var(--up); }
.n-docs-body .muted { color: var(--dim); }
.n-docs-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.n-docs-pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); text-decoration: none; font-weight: 600; color: var(--ink); }
.n-docs-pager a:hover { border-color: var(--ink); }
.n-docs-pager a.next { text-align: right; margin-left: auto; }

/* Language switch (partials.lang-switch) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--dim); }
.lang-switch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-switch select { appearance: none; padding: 4px 26px 4px 10px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366706b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center / 13px; color: var(--ink-soft); font: 13px var(--sans); cursor: pointer; }
.lang-switch .btn { font: 13px var(--sans); }
.n-foot-bottom { align-items: center; }
.n-auth-legal { flex-wrap: wrap; align-items: center; }
.n-auth-legal .lang-switch { margin-left: auto; }

/* Error pages */
.n-error { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 32px 24px; }
.n-error > .logo { align-self: flex-start; }
.n-error-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 0; }
.n-error-code { font-size: clamp(5rem, 16vw, 10rem); line-height: .85; color: var(--rule-strong); }
.n-error h1 { margin-top: 12px; font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1; letter-spacing: -.025em; }
.n-error-strip { max-width: 1100px; width: 100%; margin: 0 auto; height: 40px; }
.n-error-strip i { background: #b9d6c2; }
.n-error-strip i.is-down { background: var(--down); }
.n-field textarea.n-input { height: auto; min-height: 168px; }
.n-error-strip i { max-width: none; }
.n-page-hero .n-demo-label { display: flex; }
[dir="rtl"] .n-pw-toggle { right: auto; left: 6px; }
[dir="rtl"] .n-pw .n-input { padding-right: 14px; padding-left: 64px; }
[dir="rtl"] .n-auth-side .n-sub, [dir="rtl"] .n-caption { font-family: var(--sans); }
[dir="rtl"] .n-auth-legal .lang-switch { margin-left: 0; margin-right: auto; }

/* Country flags (partials.flag) */
.flag { display: inline-block; width: 18px; height: 12px; margin-inline-end: 8px; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.n-docs-body td .flag { vertical-align: -1px; }
.n-sp-brand img { width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: var(--surface); border: 1px solid var(--rule); }
.n-foot-bottom span a, .footer-bottom span a, .n-auth-legal span a { color: inherit; text-decoration: none; }
.n-foot-bottom span a:hover, .footer-bottom span a:hover, .n-auth-legal span a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 699px) { .rp-detail .rp-head { flex-wrap: wrap; } .rp-tag { white-space: nowrap; } }
.n-h2-line em { display: inline; }
