:root {
  --ink: #0a2a36;
  --ink-2: #123744;
  --paper: #fff;
  --page: #eef2f4;
  --text: #1c2c33;
  --muted: #5a6b73;
  --line: #d7e0e4;
  --accent: #0e9aa8;
  --accent-hover: #0b8490;
  --ok: #1a7a48;
  --warn: #9a6b00;
  --fail: #c0392b;
  --nav: 56px;
  --bottom: 58px;
  --r: 10px;
  --shadow: 0 1px 0 rgba(10, 42, 54, 0.04), 0 8px 24px rgba(10, 42, 54, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--text);
  font: 15px/1.55 "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom) + env(safe-area-inset-bottom, 0px));
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; }
a { color: var(--accent); text-decoration: none; }
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}
button,
.cta,
.whois-buy,
a.cta,
a.whois-buy {
  text-decoration: none;
}
button:hover,
.cta:hover,
.whois-buy:hover,
a.cta:hover,
a.whois-buy:hover,
button:focus,
.cta:focus,
.whois-buy:focus {
  text-decoration: none;
}
code, .mono, pre, .hash, .geo-value, .ip-num {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.topbar {
  background: var(--ink);
  color: #c5d4da;
  border-bottom: 1px solid #13404c;
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--nav);
}
.brand {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand em { font-style: normal; color: var(--accent); }
.desk-nav {
  display: none;
  flex: 1;
  align-items: stretch;
  min-width: 0;
  height: 100%;
}
.nav-cats {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 12px;
}
.drop { position: relative; display: flex; align-items: stretch; }
.drop > button {
  background: none;
  border: 0;
  color: #b7c5cc;
  font: 500 13px/1 inherit;
  padding: 0 18px 0 12px;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  white-space: nowrap;
}
.drop > button::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.7;
}
.drop > button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
}
.drop.on > button::after { background: var(--accent); }
.drop.on > button,
.drop:hover > button,
.drop.open > button,
.drop:focus-within > button { color: #fff; }
.menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  background: #fff;
  border: 1px solid var(--line);
  min-width: 280px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 40;
  border-radius: 0 0 var(--r) var(--r);
}
.drop-wide .menu,
.menu-wide {
  width: min(520px, calc(100vw - 48px));
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}
.menu-kicker {
  grid-column: 1 / -1;
  margin: 0 8px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.drop:hover .menu,
.drop:focus-within .menu,
.drop.open .menu { display: grid; }
.drop-wide:last-child .menu,
.nav-cats .drop:nth-last-child(-n+2) .menu { left: auto; right: 0; }
.menu a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
  border-radius: 8px;
}
.menu a strong { display: block; font-size: 13px; font-weight: 600; }
.menu a span {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu a:hover,
.menu a.active { background: #f3f6f7; color: var(--text); text-decoration: none; }
.menu a.active strong { color: var(--accent-hover); }
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, transparent 5px, #062228 5.5px, transparent 6px),
    linear-gradient(#062228, #062228) center / 100% 1.5px no-repeat,
    linear-gradient(#062228, #062228) center / 1.5px 100% no-repeat,
    var(--accent);
  display: inline-block;
  margin-right: 10px;
}
.lang {
  color: #c5e4ea;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid #2a6570;
  border-radius: 8px;
}
.lang:hover { color: #fff; text-decoration: none; background: var(--ink-2); }
.mobile-lang { margin-left: auto; }
.cta {
  background: var(--accent);
  color: #062228;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
}
.cta:hover { background: var(--accent-hover); color: #062228; text-decoration: none; }
.mobile-cta { display: inline-flex; margin-left: 8px; }
.nav-account {
  color: #c5e4ea;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  white-space: nowrap;
}
.nav-account:hover { color: #fff; text-decoration: none; }
.mobile-account { margin-left: 4px; }

.is-home { background: #e8eef1; }
.home { padding: 0 0 64px; }
.hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(14, 154, 168, 0.28), transparent 55%),
    radial-gradient(700px 380px at 92% 110%, rgba(14, 154, 168, 0.18), transparent 50%),
    linear-gradient(165deg, #071920 0%, #0a2a36 48%, #0c4a56 100%);
  color: #fff;
  padding: 52px 0 48px;
  margin-bottom: 32px;
}
.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}
.hero-intro {
  text-align: center;
  max-width: none;
  width: 100%;
}
.hero-intro .lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 46rem;
}
.hero-intro .home-kpis {
  justify-content: center;
  margin-bottom: 0;
}
.hero-tools {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-tools {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: start;
  }
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd4dc;
}
.hero-band h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-band .lede {
  color: #c9e4ea;
  margin: 0 0 18px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.5;
}
.home-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.home-kpis li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #b7d5db;
}
.home-kpis strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #fff;
}
.rr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 12px;
}
.rr-pills span {
  background: rgba(255,255,255,.08);
  color: #d5eef2;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
}
.go-hero { max-width: none; margin: 0; background: transparent; border: 0; padding: 0; }
.go-hero .go-row {
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  gap: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.go-hero input { border: 0; height: 48px; font-size: 16px; padding-left: 14px; }
.go-hero input:focus { outline: none; }
.go-hero .go-row button {
  background: var(--accent);
  color: #062228;
  min-width: 120px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 650;
}
.go-hero .go-row button:hover { background: var(--accent-hover); color: #062228; }
.go-hero .hint {
  color: #0a2a36;
  text-align: left;
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  background: #eef6fb;
  border: 1px solid #b7d3e0;
  border-radius: 10px;
}

/* Home query — matches hero / accent palette */
.home-search { margin: 0; }
.home-search .home-search-row {
  align-items: center;
}
.home-search .home-search-row input {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
}
.home-search .home-search-row input::placeholder { color: #7a8d95; }
.home-search-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}
.home-search-modes button {
  background: rgba(255, 255, 255, 0.08);
  color: #b7d5db;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  min-width: 0;
  height: auto;
  line-height: 1.2;
  cursor: pointer;
}
.home-search-modes button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(143, 212, 220, 0.35);
  color: #fff;
}
.home-search-modes button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #062228;
}
.home .hero-example { margin-top: 14px; }

.super-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 2px 2px;
}
/* Dark hero (outside white cards): light labels */
.super-chips button {
  background: rgba(255,255,255,.1);
  color: #d5eef2;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  min-width: 0;
  height: auto;
  line-height: 1.2;
  cursor: pointer;
}
.super-chips button:hover { background: rgba(255,255,255,.18); color: #fff; }
.super-chips button.on {
  background: #fff;
  color: #0a2a36;
  border-color: #fff;
}
.page-hero .super-chips { margin: 10px 0 0; }
/* White form / sheet: high-contrast mode chips (Rapor, MX, SPF…) */
.dns-form .super-chips button,
.sheet .super-chips button {
  background: #e2ecef;
  color: #062228;
  border-color: #7a9aa5;
}
.dns-form .super-chips button:hover,
.sheet .super-chips button:hover {
  background: #d0e0e5;
  color: #04161a;
  border-color: #5a7f8a;
}
.dns-form .super-chips button.on,
.sheet .super-chips button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.super-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}
.super-related a {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #cde8ee;
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
}
.super-related a:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-example {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #b7d5db;
  font-size: 13px;
}
.hero-example a {
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  background: rgba(255,255,255,.1);
  padding: 5px 10px;
  border-radius: 8px;
}
.hero-example a:hover { text-decoration: none; background: rgba(255,255,255,.16); }

.hero-side { display: grid; gap: 14px; }
.ip-card {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px 18px 16px;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.ip-card:hover { text-decoration: none; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); }
.ip-card .kicker {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8fd4dc;
  margin-bottom: 8px;
}
.ip-card .ip-num { display: block; font-size: 26px; letter-spacing: -0.04em; }
.ip-card .ip-place { display: block; color: #c5e4ea; font-size: 13px; margin: 6px 0 12px; line-height: 1.4; }
.ip-card .ip-link { color: #8fd4dc; font-weight: 600; font-size: 13px; }
.hero-jump-label {
  margin: 4px 2px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd4dc;
}
.hero-jump {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hero-jump a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.hero-jump a:hover { text-decoration: none; background: rgba(255,255,255,0.14); }
.hero-jump .h-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(14, 154, 168, 0.22);
}
.hero-jump .h-ico::before { background: #8fd4dc; }

.home-body { padding-top: 4px; }
.home-seo { margin-top: 40px; }
.cat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cat-jump a {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.04);
}
.cat-jump a:hover { text-decoration: none; border-color: var(--accent); color: var(--ink); background: #f3fbfc; }

.go button {
  background: var(--accent);
  color: #062228;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 600;
  font-size: 14px;
}
.go button:hover { background: var(--accent-hover); }

button[type=submit], .query > button, [data-pane] button[type=submit] {
  background: var(--accent);
  color: #062228;
}
button[type=submit]:hover { background: var(--accent-hover); color: #062228; }

.report-page { padding: 8px 0 48px; }
.report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 16px;
}
.report-head h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: -0.04em;
  word-break: break-all;
}
.report-search { flex: 1; min-width: min(100%, 280px); margin: 0; }
.go-inline { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: var(--shadow); }
.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}
.report-meta code {
  font-size: 12px;
  background: #e8eef0;
  padding: 1px 6px;
  border-radius: 4px;
}
.tally { font-weight: 600; }
.tally-ok { color: var(--ok); }
.tally-warn { color: var(--warn); }
.tally-fail { color: var(--fail); }
.report-grid {
  display: grid;
  gap: 28px;
}
.health-panel h2, .rr-panel h2 {
  margin: 0 0 12px;
  font-size: 15px;
}
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.find-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.find-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.find-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
.find-text {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.find-lines {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}
.find-card.st-fail { border-color: #f0c4c0; }
.find-card.st-warn { border-color: #ead9a0; }
.find-card.st-pass { border-color: #b8e0c8; }
.policy-cards {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width: 900px) {
  .policy-cards { grid-template-columns: repeat(3, 1fr); }
}
.policy-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.policy-badge.is-pass { color: var(--ok); }
.policy-badge.is-warn { color: var(--warn); }
.policy-badge.is-fail { color: var(--fail); }
.policy-rec {
  margin: 8px 0 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  background: #1c1917;
  color: #f5f5f4;
  border-radius: 6px;
}
.policy-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-top: 10px;
  background: #f6f8f9;
  border-radius: 6px;
}
.hdr-out .hdr-meta { margin-top: 16px; }
.hdr-out h3 { margin: 16px 0 6px; font-size: 14px; }
@media (min-width: 900px) {
  .hdr-out .policy-cards { grid-template-columns: repeat(2, 1fr); }
}
.rr-status {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rr-chip {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
}
.rr-chip em { font-style: normal; color: var(--muted); }
.rr-chip.is-on { border-color: #c5e4cc; background: #f4faf5; }
.rr-chip.is-off { color: var(--muted); background: transparent; }
.rr-chip .rr-type {
  font-size: 12px;
}
.rr-type {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.name-cell { font-size: 13px; color: var(--muted); max-width: 12rem; word-break: break-all; }
.report-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 24px 0 0;
  font-size: 13px;
}
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.mono-cell { font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.info-cell { white-space: pre-wrap; font-size: 13px; }
.intodns td:first-child { font-weight: 600; white-space: nowrap; }
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  text-align: center;
}
.pill-ok, .pill-info { background: #e5f6ea; color: var(--ok); }
.pill-warn { background: #fff4d6; color: var(--warn); }
.pill-fail { background: #fdecea; color: var(--fail); }
.intodns tr.st-fail { background: #fff8f7; }
.intodns tr.st-warn { background: #fffdf5; }
@media (min-width: 960px) {
  .report-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
}
.muted { color: var(--muted); font-size: 13px; }
.hero { display: grid; gap: 12px; margin-bottom: 28px; }
.ip-panel {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ip-copy { padding: 18px 18px 16px; }
.kicker {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ip-num {
  margin: 6px 0 4px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  word-break: break-all;
}
.ip-place { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.mini-map { margin: 0; background: #d5ddd0; min-height: 160px; }
.mini-map iframe { width: 100%; height: 180px; border: 0; display: block; }

.go {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
}
.go label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.go-row { display: flex; gap: 8px; }
.go input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #c5ccd4;
  border-radius: 8px;
  font: inherit;
}
.go input:focus,
.finder input:focus,
.tools-head input:focus,
.row input:focus,
.row select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.tools-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.tools-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.tools-head input {
  margin-left: auto;
  width: min(300px, 100%);
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.04);
}

.index { display: grid; gap: 18px; }
.catalog {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.04), 0 10px 28px rgba(10, 42, 54, 0.05);
  scroll-margin-top: calc(var(--nav) + 12px);
}
.catalog#dns .h-ico { background: #e6f4f6; }
.catalog#mail .h-ico { background: #e8eefb; }
.catalog#ip .h-ico { background: #eef6ea; }
.catalog#security .h-ico { background: #f6efe6; }
.catalog#tools .h-ico { background: #f3eef6; }
.cat-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.cat-head .h-ico { margin-top: 2px; }
.catalog h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0e9aa8;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog h3 span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.cat-lead {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.tool {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f7fbfc;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.tool:hover {
  text-decoration: none;
  background: #fff;
  border-color: #b7e0dc;
  box-shadow: 0 8px 22px rgba(10, 42, 54, 0.08);
  transform: translateY(-2px);
}
.tool .h-ico { width: 36px; height: 36px; }
.tool-copy { min-width: 0; }
.tool strong {
  display: block;
  font-size: 14px;
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1.5px solid #9eb8bf;
  color: var(--ink);
}
.tool-copy > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tool.hidden { display: none; }
.catalog[hidden] { display: none !important; }

.h-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #e6f4f6;
  display: grid;
  place-items: center;
}
.h-ico::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--ink);
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.h-ico-globe, .access-ico-globe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E"); }
.h-ico-mail, .access-ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 7 9-7'/%3E%3C/svg%3E"); }
.h-ico-pin, .access-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E"); }
.h-ico-shield, .access-ico-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l8 3v6c0 5-3.4 8.4-8 9.8C7.4 20.4 4 16.6 4 12V6l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.h-ico-grid, .access-ico-grid { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.h-ico-search { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.h-ico-lock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.h-ico-key { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='8' cy='14' r='5'/%3E%3Cpath d='M12.5 12l8-8M17 4h3v3'/%3E%3C/svg%3E"); }
.h-ico-heart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 20s-7-4.4-7-9.2A4 4 0 0 1 12 7.2 4 4 0 0 1 19 10.8C19 15.6 12 20 12 20z'/%3E%3C/svg%3E"); }
.h-ico-repeat { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M17 1l4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 23l-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }
.h-ico-check { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E"); }
.h-ico-refresh { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 12a8 8 0 1 1-2.2-5.5'/%3E%3Cpath d='M21 4v6h-6'/%3E%3C/svg%3E"); }
.h-ico-alert { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l10 18H2L12 3z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E"); }
.h-ico-share { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 3.9M15.4 6.6l-6.8 3.9'/%3E%3C/svg%3E"); }
.h-ico-activity { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 12h4l3 8 4-16 3 8h4'/%3E%3C/svg%3E"); }
.h-ico-route { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='18' r='3'/%3E%3Cpath d='M9 7h5a4 4 0 0 1 4 4v4'/%3E%3C/svg%3E"); }
.h-ico-target { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.h-ico-file { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E"); }
.h-ico-hash { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M8 4l-2 16M18 4l-2 16M4 9h16M3 15h16'/%3E%3C/svg%3E"); }
.h-ico-disk { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.h-ico-cloud { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M7 19h10a5 5 0 0 0 0-10 6.5 6.5 0 0 0-12.4 2A4 4 0 0 0 7 19z'/%3E%3C/svg%3E"); }
.h-ico-server { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); }
.h-ico-spark { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l1.6 6.4L20 11l-6.4 1.6L12 19l-1.6-6.4L4 11l6.4-1.6z'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) {
  .tool { transition: none; }
  .tool:hover { transform: none; }
}

.crumbs { padding: 16px 0 0; }
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b0b8c0; }
.crumbs a { color: var(--muted); }
.page-head { padding: 12px 0 16px; }
.page-head h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.25; }
.page-head p { margin: 0; color: var(--muted); }

.lookup-page { padding-bottom: 8px; }
.lookup-page .wrap {
  max-width: 1120px;
}
.page-hero {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(165deg, #0a2a36 0%, #0e4452 58%, #0c5c66 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: #fff;
  padding: 0 0 36px;
  margin-bottom: 24px;
}
.crumbs-on-dark { padding: 14px 0 10px; }
.crumbs-on-dark, .crumbs-on-dark a { color: #9ec9d0; }
.crumbs-on-dark a:hover { color: #fff; text-decoration: none; }
.crumbs-on-dark li:not(:last-child)::after { color: #5a8890; }
.crumbs-on-dark span[aria-current] { color: #fff; }
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}
.page-hero h1.report-domain {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: -0.04em;
  word-break: break-all;
}
.page-hero .lede { color: #d2e8ec; margin: 0 0 20px; max-width: none; }
.sheet, .dns-form {
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.sheet[hidden] { display: none; }
.page-hero .sheet, .page-hero .sheet-status { margin-top: 12px; }
.sheet h2 {
  margin: 0 0 12px;
  font-size: 15px;
}
.dns-go {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
  min-width: 0;
  flex-wrap: wrap;
}
.dns-form .dns-go:last-child { margin-bottom: 0; }
.dns-go button { flex: 0 0 auto; white-space: nowrap; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.hero-stats span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #e8f7f9;
}
.hero-stats code {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
  color: #fff;
}
.hero-stats .tally-ok { color: #9ee0b0; }
.hero-stats .tally-warn { color: #f5d98a; }
.hero-stats .tally-fail { color: #f5b0a8; }
.lookup-page.is-report .sheet .find-card { background: #f8fafb; }
.sheet .rr-chip { background: #f8fafb; }
.sheet .rr-chip.is-on { background: #f4faf5; }
.sheet .rr-chip.is-off { background: transparent; }
.table-wrap.in-sheet {
  border: 0;
  margin: 0;
  background: #f8fafb;
  border-radius: 8px;
}
.dns-go input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c5ccd4;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
}
.dns-go button {
  background: var(--accent);
  color: #062228;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 20px;
  min-height: 48px;
  font-weight: 600;
  font-size: 15px;
}
.dns-go button:hover { background: var(--accent-hover); }
.dns-go select {
  flex: 0 1 168px;
  min-width: 108px;
  height: 48px;
  border: 1px solid #c5ccd4;
  border-radius: 10px;
  padding: 0 10px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.dns-go input[type="number"] {
  flex: 0 0 7rem;
  max-width: 7.2rem;
}
.dns-form textarea {
  width: 100%;
  min-height: 120px;
  margin: 0 0 12px;
  border: 1px solid #c5ccd4;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}
.dns-form .tabs { margin: -2px 0 12px; }
.page-hero .hero-note { color: #c5e0e4; margin: 10px 0 0; }
.lead-answer {
  font-size: 1.05em;
}
.lookup-body .prose p:first-child { max-width: 68ch; }
.dns-field { margin-bottom: 12px; }
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.dns-form .hint { margin: 4px 2px 0; overflow-wrap: anywhere; }
.dns-form a,
.sheet > .hint a,
.hint a {
  color: #0a4f7a;
  font-weight: 600;
}
.dns-form a:hover,
.sheet > .hint a:hover,
.hint a:hover {
  color: #083a5c;
  text-decoration: none;
}
/* Dark hero surfaces keep light link color */
.page-hero > .lede a,
.page-hero > .hero-note a {
  color: #c5e8ee;
  font-weight: 600;
}
.page-hero > .lede a:hover,
.page-hero > .hero-note a:hover {
  color: #fff;
}
.go-hero .hint a {
  color: #083a5c;
  font-weight: 700;
}
.go-hero .hint a:hover {
  color: #062a44;
  text-decoration: none;
}
.usage-meter {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #b7d3e0;
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
  color: #0a4f7a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.usage-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.usage-meter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a4f7a;
}
.usage-meter-count {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: #083a5c;
}
.usage-meter-bar {
  height: 6px;
  border-radius: 999px;
  background: #d5e4ec;
  overflow: hidden;
}
.usage-meter-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a6a8a, #0a4f7a);
  min-width: 0;
  transition: width 0.25s ease;
}
.usage-meter-rest {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #0a4f7a;
}
.usage-meter.is-low {
  border-color: #e0c48a;
  background: linear-gradient(180deg, #fff8eb 0%, #fffdf8 100%);
  color: #8a5a00;
}
.usage-meter.is-low .usage-meter-label,
.usage-meter.is-low .usage-meter-rest { color: #8a5a00; }
.usage-meter.is-low .usage-meter-count { color: #6b4500; }
.usage-meter.is-low .usage-meter-bar { background: #f0e2c2; }
.usage-meter.is-low .usage-meter-bar > span {
  background: linear-gradient(90deg, #d4a017, #9a6b00);
}
.usage-meter.is-out {
  border-color: #e8b4b0;
  background: linear-gradient(180deg, #fdf0ee 0%, #fff8f7 100%);
  color: #9b1c1c;
}
.usage-meter.is-out .usage-meter-label,
.usage-meter.is-out .usage-meter-rest { color: #9b1c1c; }
.usage-meter.is-out .usage-meter-count { color: #7a1212; }
.usage-meter.is-out .usage-meter-bar { background: #f0d4d1; }
.usage-meter.is-out .usage-meter-bar > span {
  background: linear-gradient(90deg, #d64545, #b42318);
  width: 100% !important;
}
.usage-meter.is-unlimited {
  border-color: #b7dcc8;
  background: linear-gradient(180deg, #eef8f2 0%, #f7fcf9 100%);
  color: #1a7a48;
}
.usage-meter.is-unlimited .usage-meter-label,
.usage-meter.is-unlimited .usage-meter-rest { color: #1a7a48; }
.usage-meter.is-unlimited .usage-meter-count { color: #0f5c34; }
.usage-meter.is-free {
  border-color: #b7dcc8;
  background: linear-gradient(180deg, #eef8f2 0%, #f7fcf9 100%);
  color: #1a7a48;
}
.usage-meter.is-free .usage-meter-label,
.usage-meter.is-free .usage-meter-rest { color: #1a7a48; }
.usage-meter.is-free .usage-meter-count { color: #0f5c34; }
.spf-gen { display: grid; gap: 12px; }
.spf-gen .grid-2 { gap: 10px; }
.spf-gen label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.spf-gen textarea,
.spf-gen input,
.spf-gen select {
  font: inherit;
  font-weight: 400;
  width: 100%;
  border: 1px solid #c5ccd4;
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
}
.spf-gen-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.spf-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}
.spf-check input { width: auto; margin: 0; }
.spf-provider-chips { margin-top: 0; }
.spf-gen-out { display: grid; gap: 14px; }
.spf-gen-hero { margin: 0; }
.spf-gen-rec { margin: 0; }
.spf-gen-related { margin-top: 2px; }
.dmarc-gen { display: grid; gap: 12px; }
.dmarc-gen .grid-2 { gap: 10px; }
.dmarc-gen label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.dmarc-gen textarea,
.dmarc-gen input {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.dmarc-gen .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dmarc-policy-chips button {
  display: grid;
  gap: 2px;
  text-align: left;
  min-width: min(100%, 11rem);
  padding: 10px 12px;
}
.dmarc-policy-chips button strong { font-size: 13px; }
.dmarc-policy-chips button em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--ok);
}
.dmarc-policy-chips button span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.dmarc-gen-out { display: grid; gap: 14px; }
.dmarc-gen-hero { margin: 0; }
.dmarc-gen-rec { margin: 0; }
.dmarc-gen-related { margin-top: 2px; }
.dmarc-tags-title {
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.compliance-out,
.email-health-out { display: grid; gap: 14px; }
.comp-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #e8f1f6;
  color: #0a4f7a;
  vertical-align: middle;
}
.comp-tag.is-adv {
  background: #f5f0e6;
  color: #8a6a20;
}
.go-hero .usage-meter {
  margin: 12px 0 0;
  border-color: #b7d3e0;
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
  color: #0a4f7a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.go-hero .usage-meter-label,
.go-hero .usage-meter-rest { color: #0a4f7a; }
.go-hero .usage-meter-count { color: #083a5c; }
.go-hero .usage-meter-bar { background: #d5e6ef; }
.go-hero .usage-meter-bar > span {
  background: linear-gradient(90deg, #2a8faf, #0e9aa8);
}
.go-hero .usage-meter.is-low {
  border-color: #e8c478;
  background: linear-gradient(180deg, #fff8e8 0%, #fffdf8 100%);
}
.go-hero .usage-meter.is-low .usage-meter-label,
.go-hero .usage-meter.is-low .usage-meter-rest { color: #8a5a00; }
.go-hero .usage-meter.is-low .usage-meter-count { color: #6b4500; }
.go-hero .usage-meter.is-out {
  border-color: #e8b4b0;
  background: linear-gradient(180deg, #fdf0ee 0%, #fff8f7 100%);
}
.go-hero .usage-meter.is-out .usage-meter-label,
.go-hero .usage-meter.is-out .usage-meter-rest { color: #9b1c1c; }
.go-hero .usage-meter.is-out .usage-meter-count { color: #7a1212; }
.usage-meter-upgrade {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin: 2px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 79, 122, 0.14);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #0a4f7a;
}
.usage-meter-upgrade a {
  flex-shrink: 0;
  color: #083a5c;
  text-decoration: none;
  font-weight: 700;
}
.usage-meter-upgrade a:hover { color: #062a44; }
.usage-meter.is-low .usage-meter-upgrade {
  border-top-color: rgba(138, 90, 0, 0.2);
  color: #8a5a00;
}
.usage-meter.is-low .usage-meter-upgrade a { color: #6b4500; }
.usage-meter.is-out .usage-meter-upgrade {
  border-top-color: rgba(155, 28, 28, 0.2);
  color: #9b1c1c;
}
.usage-meter.is-out .usage-meter-upgrade a { color: #7a1212; }

.plans-band {
  margin: 36px 0 8px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid #c5dde4;
  background: linear-gradient(180deg, #f3fafb 0%, #fff 55%);
}
.plans-head {
  margin: 0 0 16px;
  max-width: 52ch;
}
.plans-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}
.plans-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plans-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.plans-card.is-pro {
  border-color: #9ec9d4;
  background: linear-gradient(180deg, #eef8fb 0%, #fff 70%);
}
.plans-card.is-you {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.plans-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.plans-quota {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.plans-price,
.plans-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.plans-card ul {
  margin: 4px 0 0;
  padding: 0 0 0 1.1em;
  display: grid;
  gap: 5px;
  font-size: 13px;
  color: #3d4550;
  line-height: 1.4;
}
.plans-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
}
.plans-cta:hover { background: var(--ink-2); }
.plans-cta.is-pro {
  background: var(--accent);
  color: #062228 !important;
}
.plans-cta.is-pro:hover { background: var(--accent-hover); }
@media (max-width: 860px) {
  .plans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plans-band { padding: 16px 14px; margin-top: 28px; }
  .usage-meter-upgrade { flex-direction: column; align-items: flex-start; }
}

.plans-page .plans-hero { padding-bottom: 28px; }
.plans-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.cta-ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  text-decoration: none;
}
.cta-ghost-ink {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.cta-ghost-ink:hover {
  background: #f3f6f7 !important;
  text-decoration: none;
}
.plans-body {
  padding: 28px 0 48px;
  display: grid;
  gap: 28px;
}
.plans-band-page {
  margin: 0;
}
.plans-compare h2,
.plans-explain h2,
.plans-foot-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}
.plans-compare-lede {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 60ch;
}
.plans-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.plans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.plans-table th,
.plans-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.plans-table thead th {
  background: #f3f7f9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.plans-table tbody th {
  font-weight: 600;
  color: var(--ink);
  min-width: 12rem;
}
.plans-table tbody tr:last-child th,
.plans-table tbody tr:last-child td { border-bottom: 0; }
.plans-table td {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #3d4550;
}
.plans-explain {
  display: grid;
  gap: 12px;
}
.plans-block {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.plans-block h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}
.plans-block p {
  margin: 0;
  font-size: 14px;
  color: #3d4550;
  line-height: 1.5;
}
.plans-foot-cta {
  padding: 20px 18px;
  border-radius: 14px;
  border: 1px solid #9ec9d4;
  background: linear-gradient(180deg, #eef8fb 0%, #fff 75%);
}
.plans-foot-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 52ch;
}
.dns-form .chips { margin-top: 0; }
.chips.resolver-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.resolver-chips button em {
  display: block;
  font-style: normal;
  font-size: 10px;
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0;
}
.resolver-chips button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  text-align: left;
  line-height: 1.25;
  padding: 7px 10px;
}
@media (min-width: 560px) {
  .chips.resolver-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lookup-body { padding-bottom: 8px; }
.lookup-result {
  padding: 16px 18px;
}
.dkim-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.dkim-gen .grid-2 { margin-bottom: 8px; }
.dkim-sel-chips { margin: 0 0 6px; }
.dkim-gen .hint { margin: 0 0 14px; }
.dkim-bits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dkim-bits button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 0;
  height: auto;
  text-align: left;
  padding: 12px;
  font-family: inherit;
  line-height: 1.35;
  letter-spacing: 0;
}
.dkim-bits button strong {
  font-size: 14px;
  font-weight: 650;
}
.dkim-bits button em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.dkim-bits button span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0;
}
.dkim-bits button.on em { color: #9ee0b0; }
.dkim-howto {
  margin: 0 0 14px;
  padding: 0 0 0 1.15em;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.dkim-howto li { margin: 0 0 6px; }
.dkim-out { display: grid; gap: 12px; }
.dkim-warn {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecea;
  color: var(--fail);
  font-size: 13px;
  line-height: 1.45;
}
.dkim-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #f8fafb;
}
.dkim-block.is-secret {
  border-color: #e8c4c0;
  background: #fdf6f5;
}
.dkim-block header,
.dkim-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.dkim-subhead { margin-top: 12px; }
.dkim-block h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
.dkim-block pre { margin: 0; }
.dkim-block .hint { margin: 8px 0 0; }
.dkim-copy {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.dkim-copy:hover { border-color: var(--ink); }
.export-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.export-bar-report {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 14px;
  box-shadow: 0 8px 28px rgba(10, 42, 54, 0.06);
}
.export-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.export-hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.val-sheet > .export-bar {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #eef1f4;
}
.dkim-next {
  margin: 8px 0 0;
  padding: 0 0 0 1.15em;
  font-size: 13px;
  color: #3d4550;
  line-height: 1.5;
}
.dkim-next li { margin: 0 0 6px; }
.dkim-guide h2 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.dkim-guide h2:first-child { margin-top: 0; }

.guide-examples {
  margin: 12px 0 4px;
  padding: 12px 14px;
  border: 1px solid #cfe3e6;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3fafb 0%, #fff 70%);
}
.guide-examples-label {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a4a52 !important;
}
.guide-examples dl {
  margin: 0;
  display: grid;
  gap: 8px;
}
.guide-ex {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 8px 14px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(10, 42, 54, 0.06);
}
.guide-ex:first-of-type { border-top: 0; padding-top: 0; }
.guide-ex dt {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.guide-ex dd {
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: #3d4550;
}
.guide-ex code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e8f3f5;
  border: 1px solid #c5dde1;
  font-size: 12.5px;
  color: #0a2a36;
  word-break: break-all;
}
.guide-ex span { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.page-guide .guide-block + .guide-block { margin-top: 8px; }
@media (max-width: 640px) {
  .guide-ex { grid-template-columns: 1fr; gap: 4px; }
}

.subnet-page .page-hero .dns-form + .dns-form { margin-top: 12px; }
.subnet-form h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
}
.subnet-select {
  width: 100%;
  height: 48px;
  border: 1px solid #c5ccd4;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.chips.subnet-class {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips.subnet-class button { min-width: 3.4rem; }
.chips.port-chips { gap: 6px; }
.port-chips button { font-size: 11px; }
.dns-go input.port-num {
  flex: 0 0 5.6rem;
  max-width: 6.2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dns-go input.cloud-users {
  flex: 0 0 6.8rem;
  max-width: 7.4rem;
}
.ssl-hero {
  display: grid;
  grid-template-columns: minmax(8rem, 30%) 1fr;
  gap: 0;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.ssl-hero-days {
  padding: 18px 12px;
  text-align: center;
}
.ssl-hero-days strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.ssl-hero-days span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
}
.ssl-hero-days.is-ok { background: #e8f6ee; color: var(--ok); }
.ssl-hero-days.is-warn { background: #fff8e8; color: var(--warn); }
.ssl-hero-days.is-fail { background: #fdecea; color: var(--fail); }
.cloud-hero-sku {
  font-size: 22px !important;
  letter-spacing: 0.02em;
  padding: 8px 0 2px;
}
.table tr.is-pick { background: #e8f6ee; }
.table tr.is-low td { color: var(--muted); }
.ssl-hero-issuer {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ssl-issuer-label {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 650;
}
.ssl-issuer-name {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
}
.ssl-hero-issuer .hint { margin: 4px 0 0; }
.ssl-hero-status { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.ssl-days { font-variant-numeric: tabular-nums; }
.ssl-days.is-ok { color: var(--ok); }
.ssl-days.is-warn { color: var(--warn); }
.ssl-days.is-fail { color: var(--fail); }
@media (max-width: 640px) {
  .ssl-hero { grid-template-columns: 1fr; }
}
.whois-raw {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 16px;
}
.whois-raw summary { cursor: pointer; font-weight: 600; }
.whois-raw pre {
  margin: 10px 0 0;
  max-height: 28rem;
  overflow: auto;
  font-size: 12px;
  white-space: pre-wrap;
}
.whois-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #062228;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 650;
  text-decoration: none;
  min-height: 42px;
}
.whois-buy:hover {
  background: var(--accent-hover);
  color: #062228;
  text-decoration: none;
}
.ptr-hero-name {
  font-size: 18px !important;
  word-break: break-all;
  letter-spacing: 0;
}
.lookup-result h3 {
  margin: 18px 0 8px;
  font-size: 15px;
}
.dnskey-digest {
  word-break: break-all;
  font-size: 12px;
}
.subnet-out-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.subnet-out-head h2 { margin: 0; }
.subnet-kv {
  display: grid;
  grid-template-columns: minmax(9.5rem, 36%) 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.subnet-kv dt,
.subnet-kv dd {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.subnet-kv dt {
  background: #f4f7f8;
  color: var(--muted);
  font-weight: 600;
}
.subnet-kv dd {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
  word-break: break-all;
}
.subnet-kv dt:nth-last-of-type(1),
.subnet-kv dd:last-child { border-bottom: 0; }
.subnet-ref { margin: 28px 0 0; }
.subnet-ref h2 { font-size: 17px; margin: 0 0 8px; }
.subnet-ref > p { color: #3d4550; max-width: 68ch; }
.subnet-masks code {
  font-size: 12px;
  background: transparent;
  padding: 0;
  color: inherit;
}
.subnet-class-row th {
  background: #eef3f5;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
}
.mail-src-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}
.mail-score { display: grid; gap: 12px; }
.mail-score-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafb;
}
.mail-score-hero.is-A .grade { background: #1f7a46; }
.mail-score-hero.is-B .grade { background: #2f6f7a; }
.mail-score-hero.is-C .grade { background: #8a6a12; }
.mail-score-hero.is-D .grade,
.mail-score-hero.is-F .grade { background: #a33b32; }
.mail-score-num {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}
.mail-score-hero .hint { margin: 4px 0 0; }
.mail-checks,
.mail-extras {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mail-check {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.mail-check:first-child { border-top: 0; }
.mail-check span:first-child {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
}
.mail-check strong { display: block; margin-bottom: 2px; }
.mail-check.is-pass strong { color: var(--ok); }
.mail-check.is-warn strong { color: var(--warn); }
.mail-check.is-fail strong { color: var(--fail); }
.mail-extras { color: var(--muted); font-size: 13px; line-height: 1.45; padding-left: 1.1em; list-style: disc; }
.mail-score h3 { margin: 4px 0 0; font-size: 13px; }
.mail-test-out { display: grid; gap: 16px; }
.mail-test-hero { margin: 0; }
.mx-lookup-out { display: grid; gap: 14px; }
.mx-lookup-hero { margin: 0; }
.mx-table-wrap { margin: 0; }
.spf-check-out { display: grid; gap: 12px; }
.spf-check-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.spf-check-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.spf-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.spf-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #b8c9d0;
  background: #f3f7f9;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.spf-act:hover { background: #e4eef2; border-color: #8eabb6; text-decoration: none; color: var(--ink); }
.spf-act-ok {
  background: #1a7a48;
  border-color: #1a7a48;
  color: #fff;
}
.spf-act-ok:hover { background: #15653c; border-color: #15653c; color: #fff; }
.spf-act-blue {
  background: #0a6ea8;
  border-color: #0a6ea8;
  color: #fff;
}
.spf-act-blue:hover { background: #085a8a; border-color: #085a8a; color: #fff; }
.spf-record-banner {
  padding: 12px 14px;
  border-radius: 8px;
  background: #e5f6ea;
  border: 1px solid #b7e0c4;
  overflow-x: auto;
}
.spf-record-banner.is-empty {
  background: #fdecea;
  border-color: #f0c2c0;
}
.spf-record-banner code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #14532d;
  word-break: break-word;
  white-space: pre-wrap;
}
.spf-record-banner.is-empty code { color: #9f1239; }
.spf-check-meta { margin: 0; font-size: 13px; }
.spf-table-wrap { margin: 0; }
.spf-terms-table tbody tr:nth-child(even),
.spf-tests-table tbody tr:nth-child(even) { background: #f7f9fa; }
.spf-terms-table td.mono,
.spf-check-title .mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px;
}
.spf-terms-table a {
  color: #0a4f7a;
  font-weight: 650;
  text-decoration: none;
}
.spf-terms-table a:hover { color: #083a5c; text-decoration: none; }
.spf-tests-table td:first-child {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.spf-ico {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  position: relative;
}
.spf-ico::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.spf-ico-warn { background: var(--warn); }
.spf-ico-warn::after {
  left: 7px;
  top: 3px;
  width: 2px;
  height: 7px;
  border: 0;
  background: #fff;
  border-radius: 1px;
  transform: none;
  box-shadow: 0 3px 0 #fff;
}
.spf-ico-fail { background: var(--fail); }
.spf-ico-fail::after {
  content: "×";
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border: 0;
  transform: none;
  color: #fff;
  font: 700 12px/16px system-ui, sans-serif;
  text-align: center;
}
.mx-lookup-table .mx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 11rem;
}
.mx-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #b8c9d0;
  background: #f3f7f9;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
a.mx-act:hover,
button.mx-act:hover {
  background: #e4eef2;
  border-color: #8eabb6;
  color: var(--ink);
  text-decoration: none;
}
button.mx-act:disabled {
  opacity: 0.65;
  cursor: wait;
}
.mx-ip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.mx-ip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}
.mx-ip a {
  color: #0a4f7a;
  font-weight: 650;
  text-decoration: none;
}
.mx-ip a:hover { color: #083a5c; text-decoration: none; }
.mx-ip-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.mx-ptr {
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}
.mx-host { word-break: break-all; }
.mx-diag-row td {
  background: #f7fafb;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.mx-diag-slot .status { margin: 0; }
.mx-smtp-compact { display: grid; gap: 10px; }
.mx-smtp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0;
  font-size: 13px;
}
.mx-smtp-more { margin: 0; }
.mx-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mail-test-section {
  margin: 0;
  padding: 0;
}
.mail-test-head {
  margin: 0 0 8px;
}
.mail-test-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}
.mail-test-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.mail-test-table td.pass { color: var(--ok); font-weight: 600; }
.mail-test-table td.fail { color: var(--fail); font-weight: 600; }
.mail-test-table tr.is-primary td { background: #f8fafb; }
.smtp-check-table .smtp-st {
  font-weight: 700;
  white-space: nowrap;
  width: 4.5rem;
}
.smtp-st-pass { color: var(--ok); }
.smtp-st-warn { color: var(--warn, #b45309); }
.smtp-st-fail { color: var(--fail); }
.smtp-detail { word-break: break-word; }
.smtp-transcript {
  display: grid;
  gap: 4px;
  white-space: pre-wrap;
  font-size: 0.82rem;
  line-height: 1.45;
  max-height: 28rem;
  overflow: auto;
}
.smtp-transcript .smtp-dir { opacity: 0.55; user-select: none; }
.smtp-transcript .smtp-out { color: #a8a29e; }
.smtp-transcript .smtp-in { color: #f5f5f4; }
.mail-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.mail-cta-monitor {
  display: grid;
  gap: 6px;
  max-width: 36rem;
}
.mail-cta-form { display: inline-flex; gap: 8px; align-items: center; }
.mail-cta-link {
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}
.mail-fix-toggle { background: #0f3d4c; }
.mail-fix-toggle:hover { background: #145468; color: #fff; }
.mail-fix-panel {
  padding: 14px 16px;
  border: 1px solid var(--line, #e7e5e4);
  border-radius: 8px;
  background: #fafaf9;
}
.mail-fix-panel h3 { margin: 0 0 6px; font-size: 15px; }
.mail-fix-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mail-fix-item {
  padding: 10px 12px;
  border-left: 3px solid var(--warn, #b45309);
  background: #fff;
}
.mail-fix-item.st-fail { border-left-color: var(--fail); }
.mail-fix-item strong { display: block; margin-bottom: 4px; }
.mail-fix-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mail-fix-item a { font-size: 13px; }
.chk-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 8px 0;
  color: var(--muted);
}
.mail-test-banner {
  display: inline-block;
  max-width: 100%;
  font-size: 12px;
  word-break: break-all;
  color: #f5f5f4;
  background: #1c1917;
  padding: 2px 6px;
  border-radius: 4px;
}
.mail-test-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.mail-test-dns {
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) {
  .mail-test-dns { grid-template-columns: 1fr 1fr; }
}
.mail-test-dns .field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.mail-test-dns .policy-rec { margin-top: 0; }
.muted { color: var(--muted); }
.lookup-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.lookup-meta code {
  font-size: 12px;
  background: #e8eef0;
  padding: 1px 6px;
  border-radius: 4px;
}
.lookup-sub {
  margin: 18px 0 8px;
  font-size: 15px;
}
.rr-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.rr-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafb;
}
.rr-block header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.rr-block h3 {
  margin: 0;
  font-size: 13px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.rr-block header span { font-size: 12px; color: var(--muted); }
.rr-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}
.rr-block p { margin: 0; font-size: 13px; color: var(--muted); }
.rr-block.is-empty { background: transparent; }
.lookup-more {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}
@media (min-width: 700px) {
  .rr-grid { grid-template-columns: 1fr 1fr; }
}

.val-board { padding: 0 0 28px; }
.val-sheet {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 8px 28px rgba(10, 42, 54, 0.06);
}
.val-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #eef1f4;
}
.val-head h2 { margin: 0; font-size: 15px; }
.val-meta { margin: 0; font-size: 12px; color: var(--muted); }
.val-tests {
  list-style: none;
  margin: 0;
  padding: 10px 16px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.val-tests li {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f4;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: min(100%, 420px);
}
.val-tests li span {
  font-weight: 500;
  opacity: 0.88;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}
.val-tests li.pass { background: #e7f6ee; color: #157347; }
.val-tests li.warn { background: #fff4e5; color: #9a3412; }
.val-tests li.fail { background: #fde8e6; color: #9b1c1c; }
.val-consensus {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  background: #eef8f4;
  border-bottom: 1px solid #e4e8ec;
}
.val-consensus code { font-size: 12px; }
.val-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #eef1f4;
}
.val-group {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  border: 1px solid #d5dee3;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: #1d2b36;
}
.val-group strong { font-size: 13px; }
.val-group span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5a6b73;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.val-group:hover { background: #f4f7f8; }
.val-group.on { border-color: #0a2a36; background: #0a2a36; color: #fff; }
.val-group.on span { color: #cde8ee; }
.val-group.tone-ok { box-shadow: inset 0 0 0 2px #16a34a; }
.val-group.tone-warn { box-shadow: inset 0 0 0 2px #f0a202; }
.val-group.tone-alt { box-shadow: inset 0 0 0 2px #2f80ed; }
.val-group.tone-alt2 { box-shadow: inset 0 0 0 2px #7c3aed; }
.val-group.tone-timeout { box-shadow: inset 0 0 0 2px #e74c3c; }
.val-group.tone-empty { box-shadow: inset 0 0 0 2px #94a3b8; }
.geo-dns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.geo-dns-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(72px, auto);
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #eef1f4;
  cursor: pointer;
}
.geo-dns-row:nth-child(odd) { border-right: 1px solid #eef1f4; }
.geo-dns-row:hover { background: #f8fafc; }
.geo-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4f7f8;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  overflow: hidden;
}
.geo-who { min-width: 0; }
.geo-who strong { display: block; font-size: 13px; font-weight: 600; color: #1d2b36; }
.geo-who span { display: block; font-size: 11px; color: #6b7a86; }
.geo-who span em {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #8a97a3;
}
.geo-ans {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.geo-ans em {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5a6b73;
  text-align: right;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.geo-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f80ed;
  position: relative;
}
.geo-mark.is-idle::before,
.geo-mark.is-idle::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.geo-mark.is-idle::before { width: 10px; height: 2px; }
.geo-mark.is-idle::after { width: 2px; height: 10px; }
.geo-dns-row.is-dim { opacity: 0.38; }
.geo-mark.is-ok { background: #16a34a; }
.geo-mark.is-ok::after {
  content: "";
  position: absolute;
  inset: 5px 0 7px 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.geo-mark.is-warn { background: #f0a202; }
.geo-mark.is-fail, .geo-mark.is-timeout { background: #e74c3c; }
.geo-mark.is-empty, .geo-mark.is-nx { background: #94a3b8; }
.geo-mark.is-wait {
  background: transparent;
  border: 2px solid #c5d4da;
  border-top-color: #2f80ed;
  animation: valspin 0.7s linear infinite;
}
@keyframes valspin { to { transform: rotate(360deg); } }
.geo-add {
  display: block;
  width: calc(100% - 32px);
  margin: 14px 16px 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 4px;
  background: #2f80ed;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.geo-add:hover { background: #1b6fd4; text-decoration: none; color: #fff; }
.val-map { margin: 12px 16px 8px; border-radius: 6px; overflow: hidden; background: #d7e6ea; }
.val-map-svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.val-map-sea { fill: #d7e6ea; }
.val-map-land { fill: #9eb3b8; }
.val-map-grid line { stroke: #c5d4d8; stroke-width: 0.35; }
.val-pin { fill: #94a3b8; stroke: #fff; stroke-width: 0.9; cursor: pointer; }
.val-pin.is-ok { fill: #16a34a; }
.val-pin.is-warn { fill: #f0a202; }
.val-pin.is-alt { fill: #2f80ed; }
.val-pin.is-alt2 { fill: #7c3aed; }
.val-pin.is-timeout { fill: #e74c3c; }
.val-pin.is-empty, .val-pin.is-idle { fill: #94a3b8; }
.val-pin.is-dim { opacity: 0.28; }
.val-pin.is-on { stroke: #0a2a36; stroke-width: 1.8; }
.val-provider-hint { margin: -4px 0 12px; }
.val-note { padding: 0 16px 16px; }
.geo-rm {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.val-modal {
  border: 0;
  padding: 0;
  border-radius: 8px;
  width: min(440px, calc(100% - 24px));
  box-shadow: 0 24px 60px rgba(10, 42, 54, 0.28);
}
.val-modal::backdrop { background: rgba(10, 42, 54, 0.45); }
.val-modal-card { padding: 18px 18px 16px; }
.val-modal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.val-modal-card h2 { margin: 0; font-size: 18px; }
.val-x {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.val-modal-card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.val-modal-card input {
  font: inherit;
  font-weight: 500;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.val-modal-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.val-modal-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.val-save { background: #27ae60; color: #fff; }
.val-save:hover { filter: brightness(0.96); }
@media (max-width: 800px) {
  .geo-dns { grid-template-columns: 1fr; }
  .geo-dns-row:nth-child(odd) { border-right: 0; }
}
@media (max-width: 640px) {
  .geo-dns-row { grid-template-columns: 28px minmax(0, 1fr); }
  .geo-ans { grid-column: 2; justify-content: flex-start; }
  .val-modal-2 { grid-template-columns: 1fr; }
}

.query {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row input, .row select, textarea, .grid-2 input, .grid-2 select {
  border: 1px solid #c5ccd4;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}
.row input, .row select { flex: 1; min-width: 140px; min-height: 42px; }
button[type=submit], .query > button, [data-pane] button[type=submit] {
  background: var(--accent);
  color: #062228;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 18px;
  min-height: 42px;
  font-weight: 600;
  font-size: 14px;
}
textarea { width: 100%; margin: 8px 0; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.chips button {
  background: #f3f7f9;
  border: 1px solid #b8c9d0;
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.chips button:hover {
  background: #e4eef2;
  border-color: #8eabb6;
  color: var(--ink);
}
.chips button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chips.dkim-bits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chips.dkim-bits button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 0;
  height: auto;
  text-align: left;
  padding: 12px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
}
.chips.dkim-bits button strong { font-size: 14px; font-weight: 650; }
.chips.dkim-bits button em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.chips.dkim-bits button span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0;
}
.chips.dkim-bits button.on em { color: #9ee0b0; }
.tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: -1px;
}
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.grid-2 label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }

.status {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
}
.status.err { background: #fdecea; color: var(--fail); }
.status.wait { background: #f4f5f7; color: var(--muted); }
.status.ok { background: #e8f6ee; color: var(--ok); }
.note { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

.result {
  margin-top: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}
.result[hidden] { display: none; }
.result h3 { font-size: 14px; margin: 18px 0 8px; }
.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  padding: 4px 0;
}
.kv span { color: var(--muted); font-size: 13px; }
.mono, pre, .hash {
  font-size: 13px;
  background: var(--ink);
  color: #e8edf0;
  padding: 14px;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-all;
  overflow: auto;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table tr:nth-child(even) td { background: #f7f8f9; }
.pass { color: var(--ok); }
.fail { color: var(--fail); }
.warn { color: var(--warn); }
.grade {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.geo { display: grid; gap: 16px; }
.geo-ip { padding-bottom: 4px; }
.geo-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.geo-value {
  margin: 4px 0 4px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
  word-break: break-all;
}
.geo-place { margin: 0; color: var(--muted); font-size: 14px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  gap: 12px 16px;
}
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 2px 0 0; font-size: 14px; }
.map {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #d5ddd0;
}
.map iframe { width: 100%; height: 280px; border: 0; display: block; }
.map figcaption { padding: 8px 2px 0; font-size: 12px; color: var(--muted); }

.prose, .faq, .query, .home-seo {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.prose { margin: 28px 0 0; }
.prose p { color: #3d4550; }
.home-seo h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.lookup-body .prose,
.lookup-body .faq {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.home-seo,
.home .faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.04), 0 10px 28px rgba(10, 42, 54, 0.05);
}
.faq { margin: 28px 0; }
.faq h2 { font-size: 18px; }
@media (min-width: 800px) {
  .faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    align-items: start;
  }
  .faq h2 { grid-column: 1 / -1; }
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.lookup-body .faq details,
.home .faq details {
  margin-bottom: 0;
  box-shadow: none;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.related { margin: 8px 0 40px; }
.related h2 { font-size: 16px; }
.related ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 8px 24px; }
.related li { margin: 6px 0; break-inside: avoid; }
.related a { color: var(--text); }
.related a:hover { color: var(--accent); }

/* Category rail — same-menu tools on tool pages */
.related-cat {
  margin: 28px 0 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f3fafb 0%, #fff 42%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.related-cat[data-cat="mail"] {
  background: linear-gradient(180deg, #f5f7fc 0%, #fff 42%), #fff;
}
.related-cat[data-cat="ip"] {
  background: linear-gradient(180deg, #f5faf2 0%, #fff 42%), #fff;
}
.related-cat[data-cat="security"] {
  background: linear-gradient(180deg, #faf6f0 0%, #fff 42%), #fff;
}
.related-cat[data-cat="tools"] {
  background: linear-gradient(180deg, #f7f4fa 0%, #fff 42%), #fff;
}
.related-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 16px;
  align-items: start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(10, 42, 54, 0.06);
}
.related-head .h-ico {
  width: 44px;
  height: 44px;
  margin-top: 2px;
}
.related-cat[data-cat="dns"] .related-head .h-ico { background: #e6f4f6; }
.related-cat[data-cat="mail"] .related-head .h-ico { background: #e8eefb; }
.related-cat[data-cat="ip"] .related-head .h-ico { background: #eef6ea; }
.related-cat[data-cat="security"] .related-head .h-ico { background: #f6efe6; }
.related-cat[data-cat="tools"] .related-head .h-ico { background: #f3eef6; }
.related-copy { min-width: 0; }
.related-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}
.related-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a4a52;
  background: #d8eef1;
  border: 1px solid #b7e0dc;
  border-radius: 999px;
  padding: 3px 10px;
}
.related-cat[data-cat="mail"] .related-pill { color: #243a6b; background: #e4eaf8; border-color: #c8d4ef; }
.related-cat[data-cat="ip"] .related-pill { color: #2d4a22; background: #e5f0df; border-color: #c9dfbd; }
.related-cat[data-cat="security"] .related-pill { color: #5a3a18; background: #f3e8d8; border-color: #e2d0b4; }
.related-cat[data-cat="tools"] .related-pill { color: #3d2a55; background: #ece6f3; border-color: #d5cbe3; }
.related-note {
  font-size: 12px;
  color: var(--muted);
}
.related-cat h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.related-lead {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 42rem;
}
.related-all {
  align-self: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-hover);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #b7e0dc;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.related-all:hover {
  text-decoration: none;
  background: #e6f4f6;
  border-color: var(--accent);
  color: var(--ink);
}
.related-all::after {
  content: " →";
  font-weight: 700;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px 14px 16px;
}
.related-tool {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.related-tool:hover {
  text-decoration: none;
  background: #fff;
  border-color: #b7e0dc;
  box-shadow: 0 8px 20px rgba(10, 42, 54, 0.07);
  transform: translateY(-1px);
  color: inherit;
}
.related-tool .h-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.related-tool-copy { min-width: 0; flex: 1; }
.related-tool-copy strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.related-tool-copy > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}
.related-here {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a4a52;
  background: #d8eef1;
  border-radius: 999px;
  padding: 2px 8px;
}
.related-tool.is-current {
  background: #fff;
  border-color: #9fd4cf;
  box-shadow: inset 0 0 0 1px rgba(14, 154, 168, 0.12);
}
.related-tool.is-current .related-tool-copy strong {
  color: var(--accent-hover);
}

@media (min-width: 720px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .related-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 800px) {
  .related-head {
    grid-template-columns: auto 1fr;
  }
  .related-all {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.site-foot {
  margin-top: 8px;
  background: var(--ink);
  color: #9aa3ad;
  font-size: 13px;
  padding: 32px 0 80px;
}
.foot-grid { display: grid; grid-template-columns: 1.25fr repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.site-foot .brand { color: #fff; font-size: 15px; margin-bottom: 8px; letter-spacing: 0.08em; }
.site-foot .brand em { font-style: normal; color: var(--accent); }
.site-foot p { margin: 0; max-width: 22rem; }
.site-foot h3 {
  font-size: 11px;
  margin: 0 0 8px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 2px 0; }
.site-foot a {
  color: #9aa3ad;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.site-foot a:hover,
.site-foot a:focus-visible {
  color: #e8f7f9;
  text-decoration: none;
}
.foot-copy {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #2e3948;
}
.foot-copy a { color: #9ec9d0; }

.bottom-nav {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  height: calc(var(--bottom) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ink);
  border-top: 1px solid #13404c;
}
.bottom-nav a, .bottom-nav button {
  flex: 1;
  background: none;
  border: 0;
  color: #9aa3ad;
  font-size: 11px;
  font-weight: 600;
}
.bottom-nav .active { color: var(--accent); }

.drawer { position: fixed; inset: 0; background: rgba(10, 42, 54, 0.5); z-index: 50; display: grid; align-items: end; }
.drawer[hidden] { display: none !important; }
.drawer-panel {
  background: #fff;
  max-height: 78vh;
  overflow: auto;
  padding: 12px 16px 28px;
  border-radius: 16px 12px 0 0;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.drawer-head button { background: none; border: 0; color: var(--accent); font-weight: 600; }
.drawer a {
  display: block;
  padding: 12px 4px;
  color: var(--text);
  border-bottom: 1px solid #eef0f3;
}
.drawer small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.miss { padding: 48px 0 80px; }
.miss h1 { margin: 0 0 8px; font-size: 24px; }
.miss p { color: var(--muted); }

@media (min-width: 800px) {
  .ip-panel { grid-template-columns: 1fr 1.15fr; }
  .mini-map iframe { height: 100%; min-height: 200px; }
  .tools { grid-template-columns: 1fr 1fr; }
  .geo {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
  .geo-ip { grid-column: 1; }
  .facts { grid-column: 1; }
  .map { grid-column: 2; grid-row: 1 / span 3; }
  .map iframe { height: 100%; min-height: 360px; }
}
@media (min-width: 720px) {
  .home .catalog .tools { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .catalog .tools { grid-template-columns: 1fr 1fr; }
  .home .catalog .tools { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .desk-nav { display: flex; }
  .mobile-cta, .mobile-lang, .mobile-account, .bottom-nav { display: none; }
  .site-foot { padding-bottom: 32px; }
}
@media (min-width: 900px) and (max-width: 1040px) {
  .drop > button { padding: 0 16px 0 8px; font-size: 12px; }
  .cta { font-size: 12px; padding: 7px 10px; }
}
@media (min-width: 801px) and (max-width: 1099px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 800px) {
  .foot-grid, .grid-2, .kv { grid-template-columns: 1fr; }
  .subnet-kv { grid-template-columns: 1fr; }
  .subnet-kv dt { border-bottom: 0; padding-bottom: 2px; }
  .row { flex-direction: column; }
  .row button, .query > button { width: 100%; min-height: 44px; }
  .related ul { columns: 1; }
  .tools-head { flex-direction: column; align-items: stretch; }
  .tools-head input { margin-left: 0; width: 100%; }
  .geo-value, .ip-num { font-size: 22px; }
  .hero-band { padding: 36px 0 32px; }
  .ip-card .ip-num { font-size: 22px; }
  .go-hero .go-row {
    flex-wrap: wrap;
  }
  .go-hero .go-row input {
    flex: 1 1 100%;
    height: 46px;
  }
  .go-hero .go-row button {
    width: 100%;
    min-width: 0;
    height: 46px;
  }
  .home-search-modes { gap: 5px; }
  .home .catalog { padding: 14px 12px 12px; }
  .health-item { grid-template-columns: auto 1fr; }
  .page-hero { padding-bottom: 20px; }
  .sheet, .dns-form { padding: 12px; }
  .dns-go { gap: 6px; margin-bottom: 12px; }
  .dns-go input { height: 46px; padding: 0 12px; flex: 1 1 auto; }
  .dns-go button { padding: 0 14px; min-height: 46px; font-size: 14px; }
  .go-hero .go-row button { min-width: 0; }
  .type-chips button { min-height: 36px; padding: 6px 10px; }
  .hero-stats { margin-top: 10px; }
  .hero-stats span { font-size: 12px; padding: 5px 8px; }
  .lookup-result { padding: 12px; }
  .chips.dkim-bits { grid-template-columns: 1fr; }
  .hero-example { flex-wrap: wrap; }
  .lookup-body .prose,
  .lookup-body .faq,
  .home-seo,
  .home .faq { padding: 12px; }
  .faq { grid-template-columns: 1fr; }
  .bl-page { padding: 18px 16px 28px; }
  .bl-head h1 { font-size: 24px; }
  .bl-status-row, .bl-monitor { flex-direction: column; align-items: flex-start; }
  .bl-monitor-btn, .bl-monitor form { width: 100%; }
  .bl-monitor-btn { justify-content: center; }
  .bl-cidr-form { flex-direction: column; align-items: stretch; }
}
@media (max-width: 800px) {
  .auth-shell { grid-template-columns: 1fr; min-height: auto; }
  .auth-visual { padding: 28px 20px 20px; min-height: 220px; }
  .auth-globe { max-width: 240px; margin: 8px 0 8px; }
  .auth-side { padding: 24px 20px 40px; background: #fff; }
  .auth-shell .auth-card { max-width: none; }
}

.lock-ico {
  display: inline-block;
  width: 11px;
  height: 13px;
  margin-left: 6px;
  vertical-align: -1px;
  background:
    radial-gradient(circle at 50% 38%, transparent 2.5px, currentColor 3px, currentColor 4.2px, transparent 4.5px),
    linear-gradient(currentColor, currentColor) 50% 78% / 8px 7px no-repeat;
  opacity: 0.7;
}
.menu a.is-locked strong,
.tool.is-locked strong { display: inline-flex; align-items: center; gap: 0; }
.page-hero .gate-card {
  background: #fff;
  color: var(--text);
  margin-top: 8px;
}
.page-hero .gate-card .eyebrow { color: var(--accent-hover); }
.page-hero .gate-card h2 { color: var(--ink); }
.gate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  margin: 8px 0 20px;
}
.gate-card h2 { margin: 0 0 8px; font-size: 20px; }
.gate-card p { margin: 0 0 12px; color: var(--muted); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.auth-page { padding: 32px 0 64px; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  max-width: 420px;
}
.auth-card h1 { margin: 0 0 8px; font-size: 26px; }
.auth-lede { margin: 0 0 16px; color: var(--muted); }
.auth-card form { display: grid; gap: 12px; }
.auth-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}
.auth-card input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.auth-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
}
.auth-check input { width: auto; accent-color: var(--accent); }
.auth-card .text-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  text-align: left;
  width: auto;
}
body.is-auth { padding-bottom: 0; }
body.is-auth .site-foot,
body.is-auth .bottom-nav { display: none; }
body.is-admin { padding-bottom: 0; }
body.is-admin .site-foot,
body.is-admin .bottom-nav { display: none; }
body.is-member { padding-bottom: 0; }
body.is-member .site-foot,
body.is-member .bottom-nav { display: none; }
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 520px);
  min-height: calc(100vh - var(--nav));
}
.auth-visual {
  background:
    linear-gradient(180deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(165deg, #0a2a36 0%, #0e4452 58%, #0c5c66 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 40px 40px 48px;
}
.auth-visual-inner { width: min(440px, 100%); }
.auth-visual h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}
.auth-visual p { margin: 0; color: #d2e8ec; }
.auth-globe { width: 100%; max-width: 360px; height: auto; margin: 20px 0 12px; }
.auth-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.auth-pills li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.auth-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--page);
}
.auth-shell .auth-card {
  width: 100%;
  max-width: 400px;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
button.cta, .auth-submit {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}
.auth-switch { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.auth-inbox {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #e8f6ee;
  color: var(--ok);
  font-size: 14px;
  font-weight: 600;
}
.auth-code {
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.auth-code summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.auth-code form { margin-top: 12px; }
.auth-meta { margin: 0 0 20px; display: grid; gap: 12px; }
.auth-meta dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.auth-meta dd { margin: 2px 0 0; font-weight: 600; }
.auth-logout {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--text);
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-shell { padding: 0 0 40px; }
.admin-hero {
  background:
    linear-gradient(180deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 54, 0.08) 1px, transparent 1px),
    linear-gradient(165deg, #0a2a36 0%, #0e4452 58%, #0c5c66 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: #fff;
  padding: 36px 0 28px;
  margin-bottom: 24px;
}
.admin-hero-inner h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}
.admin-hero-inner > p {
  margin: 0 0 18px;
  color: #d2e8ec;
  max-width: 62ch;
}
.admin-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 100%;
}
.admin-seg a {
  color: #d2e8ec;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
}
.admin-seg a:hover { text-decoration: none; color: #fff; }
.admin-seg a.on {
  background: #fff;
  color: var(--ink);
}
.admin-body { padding-bottom: 88px; }
.admin-body > .status { margin: 0 0 16px; }

.access-grid { display: grid; gap: 14px; }
.access-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.access-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f7fbfc, #fff);
  border-bottom: 1px solid var(--line);
}
.access-card-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.access-card-id h2 { margin: 0; font-size: 18px; }
.access-card-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.access-min-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.access-min {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.access-min select,
.access-rule select,
.inline-form select {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 168px;
}
.access-min select:focus,
.access-rule select:focus,
.inline-form select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.access-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e6f4f6;
  display: grid;
  place-items: center;
}
.access-ico::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--ink);
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.access-tools { list-style: none; margin: 0; padding: 0; }
.access-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 200px) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}
.access-tool:first-child { border-top: 0; }
.access-tool.is-override { background: #fbf8f0; }
.access-tool-name { min-width: 0; }
.access-tool-name a {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.access-tool-name a:hover { color: var(--accent-hover); }
.access-tool-name span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.access-rule { margin: 0; }

.lvl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lvl-guest { background: #eef2f4; color: #4a5c64; }
.lvl-member { background: #e6f4f6; color: #0b6b74; }
.lvl-pro { background: #eef3ff; color: #2b4bb3; }
.lvl-admin { background: #0a2a36; color: #fff; }
.lvl-warn { background: #fff4e5; color: #9a3412; }

.access-bar {
  position: sticky;
  bottom: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(10, 42, 54, 0.12);
}
.access-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.access-bar .cta {
  width: auto;
  min-width: 132px;
  padding: 10px 22px;
}

.members-page { display: flex; flex-direction: column; gap: 12px; padding-bottom: 72px; }
.members-stats { margin: 0; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-tile.is-warn { border-color: #ead7a8; background: #fffdf6; }
.members-toolbar {
  background: linear-gradient(180deg, #f7fbfc, #fff);
  border-bottom: 1px solid var(--line);
}
.members-toolbar .dt-bar {
  border: 0;
  background: transparent;
  padding: 10px 14px 6px;
}
.members-toolbar .pkg-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 14px 12px;
}
.pkg-seg button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}
.pkg-seg button:hover { color: var(--ink); }
.pkg-seg button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.mem-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mem-id > div { min-width: 0; }
.mem-id strong { display: block; font-size: 13px; }
.mem-id strong a { color: var(--ink); }
.mem-id span { display: block; font-size: 11px; color: var(--muted); }
.mem-ava {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6f4f6;
  color: #0b6b74;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.mem-ava-lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
}
.members-table td:last-child { white-space: nowrap; }
.mem-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.btn-quiet {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-quiet:hover { text-decoration: none; background: #f4f7f8; }
.mem-assign select { min-width: 108px; }
.pending-card { border-color: #ead7a8; }
.pending-list { list-style: none; margin: 0; padding: 0; }
.pending-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.pending-row:first-child { border-top: 0; }
.mem-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 20px;
  align-items: center;
  padding: 18px 20px;
}
.mem-profile-id h2 { margin: 0; font-size: 20px; }
.mem-profile-id p { margin: 2px 0 8px; color: var(--muted); }
.mem-profile-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mem-profile-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.mem-profile-meta dt { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mem-profile-meta dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; }
.pay-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.pay-paid, .pay-granted { background: #e6f4f6; color: #0b6b74; }
.pay-pending { background: #fff4e5; color: #9a3412; }
.pay-refunded { background: #eef2f4; color: #4a5c64; }
.members-page .bill-level button.is-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.bill-level label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.bill-level select {
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 160px;
}
.members-page .bill-form { padding: 14px 16px 16px; }
@media (max-width: 900px) {
  .members-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .members-stats { grid-template-columns: 1fr 1fr; }
  .mem-profile { grid-template-columns: 1fr; }
}
.member-list { list-style: none; margin: 0; padding: 0; }
.member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.member-row:last-child { border-bottom: 0; }
.member-id strong { display: block; font-size: 14px; }
.member-id span { color: var(--muted); font-size: 12px; }
.member-row-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.inline-form { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.inline-form button {
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #062228;
  cursor: pointer;
}
.inline-form button:hover { background: var(--accent-hover); }
.inline-form button.is-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.inline-form button.is-ghost:hover { background: #f4f7f8; }
.inline-form button.is-danger {
  background: #fff;
  color: var(--fail);
  border-color: #f0c7c7;
}
.inline-form button.is-danger:hover { background: #fff5f5; }
.members-card .hint { padding: 20px 18px; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.admin-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}
.admin-search input[type="search"] {
  width: 100%;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.admin-search input[type="search"]:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.admin-toolbar-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .access-tool,
  .member-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .access-rule { grid-column: 1; }
  .access-tool .lvl-pill { grid-column: 1; }
  .member-row-side,
  .inline-form { justify-content: stretch; }
  .inline-form select { flex: 1; min-width: 0; }
  .access-bar { flex-direction: column; align-items: stretch; bottom: 10px; }
  .access-bar .cta { width: 100%; }
  .access-min-wrap { width: 100%; justify-content: space-between; }
}

.admin-home-body {
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.admin-dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0;
}
.admin-dash-period {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.admin-dash-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-dash-h {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-home-body .access-card-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  width: 100%;
}
.admin-kpi-grid.admin-kpi-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.admin-kpi-grid.admin-kpi-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-kpi-grid.admin-kpi-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-kpi-grid.admin-kpi-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-kpi-grid.admin-kpi-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-mix-kpis,
.funnel-rate-kpis {
  margin-top: 4px;
  gap: 8px;
}
.funnel-rate-kpis {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e8eef1;
}

/* Product charts */
.product-kpi-modern .stat-tile.is-ok {
  background: linear-gradient(180deg, #f3fbfc 0%, #fff 70%);
  border-color: #c8e8ec;
}
.product-kpi-modern .stat-tile.is-ok strong { color: #0b8490; }
.kpi-meter {
  margin-top: 10px;
  height: 4px;
  border-radius: 999px;
  background: #e8eef1;
  overflow: hidden;
}
.kpi-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0e9aa8, #14b8c6);
}
.kpi-meter.is-fail i {
  background: linear-gradient(90deg, #ea580c, #c2410c);
}
.product-chart-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.product-chart-wide { grid-column: 1 / -1; }
.product-chart-card {
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(14, 154, 168, 0.06), transparent 55%),
    #fff;
}
.product-chart-card .access-card-head {
  align-items: flex-start;
  gap: 12px;
}
.chart-chip-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.chart-chip-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: 0;
}
.chart-chip-legend .dot-ok { background: #0e9aa8; }
.chart-chip-legend .dot-fail { background: #c2410c; }
.area-chart-wrap {
  padding: 4px 16px 0;
}
.area-chart {
  display: block;
  width: 100%;
  height: 140px;
}
.area-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.product-mini-bars {
  height: 88px;
  padding-top: 12px;
}
.gauge-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px 16px 0;
}
.success-gauge {
  width: min(100%, 220px);
  height: auto;
}
.gauge-center {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
}
.gauge-center strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.gauge-center span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.source-donut-sm {
  width: 72px;
  height: 72px;
}
.source-donut-sm .source-donut-hole {
  width: 46px;
  height: 46px;
}
.source-donut-sm .source-donut-hole strong { font-size: 16px; }
.gauge-legend-row { padding-top: 0; }
.product-member-bar {
  margin: 0 14px 14px;
}
.funnel-viz {
  display: grid;
  gap: 8px;
  padding: 8px 16px 18px;
  justify-items: center;
}
.funnel-step {
  width: var(--funnel-w, 100%);
  transition: width 0.35s ease;
}
.funnel-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0a2a36, #0e9aa8);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 42, 54, 0.12);
}
.funnel-idx {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
}
.funnel-band strong {
  font-size: 13px;
  font-weight: 650;
}
.funnel-band em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.92;
}
.rate-ring-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
  display: grid;
  gap: 14px;
}
.rate-ring-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}
.rate-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle closest-side, #fff 62%, transparent 63% 100%),
    conic-gradient(#0e9aa8 calc(var(--p, 0) * 1%), #e8eef1 0);
}
.rate-ring strong {
  font-size: 13px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hbar-chart {
  list-style: none;
  margin: 0;
  padding: 4px 16px 16px;
  display: grid;
  gap: 12px;
}
.hbar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 5px;
  font-size: 13px;
}
.hbar-label a,
.hbar-label strong {
  color: var(--ink);
  font-weight: 650;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hbar-label span {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.hbar-track {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef2f4;
}
.hbar-track i {
  display: block;
  height: 100%;
  min-width: 0;
}
.hbar-ok { background: linear-gradient(90deg, #0e9aa8, #14b8c6); }
.hbar-fail { background: #fdba74; }
.hbar-cat { background: linear-gradient(90deg, #123744, #0e9aa8); }

@media (max-width: 1100px) {
  .product-chart-grid { grid-template-columns: 1fr; }
  .product-chart-wide { grid-column: auto; }
}

/* ===== Analytics (Nabız) — Velzon-like ===== */
.is-admin {
  font-family: Manrope, "IBM Plex Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.is-admin h1,
.is-admin h2,
.is-admin h3,
.is-admin .admin-dash-h,
.is-admin .ax-card-head h3,
.is-admin .ax-banner h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.is-admin .wrap {
  width: min(1280px, calc(100% - 24px));
}
.is-admin .admin-hero-inner h1 {
  font-weight: 600;
  letter-spacing: -0.025em;
}
.is-admin .admin-dash-period,
.is-admin .admin-seg a,
.is-admin .admin-dash-tabs a {
  font-weight: 500;
}

.admin-home-body:has(.ax-dash) {
  background: #f3f6f9;
  border-radius: 16px;
  padding: clamp(12px, 2vw, 18px);
  margin-bottom: 8px;
  gap: 16px;
}
.ax-dash {
  display: grid;
  gap: 16px;
}

/* Hero: banner+KPI | map | countries */
.ax-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(260px, 1.05fr) minmax(240px, 1fr);
  gap: 14px;
  align-items: stretch;
}
.ax-hero-left {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-width: 0;
}
.ax-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(64, 81, 137, 0.12), transparent 55%),
    linear-gradient(135deg, #fff6e8 0%, #ffe8cc 100%);
  border: 1px solid #f5e0c3;
  overflow: hidden;
  position: relative;
}
.ax-banner-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a16207;
}
.ax-banner h3 {
  margin: 0 0 6px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.35;
  color: #212529;
  font-weight: 600;
}
.ax-banner-copy > p:not(.ax-banner-kicker) {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #6c757d;
  line-height: 1.45;
}
.ax-banner-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: #405189;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
}
.ax-banner-cta:hover { background: #364574; color: #fff !important; }
.ax-banner-art {
  width: 72px;
  height: 72px;
  position: relative;
  flex-shrink: 0;
}
.ax-orb {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.ax-orb-a {
  width: 48px; height: 48px; right: 4px; top: 8px;
  background: linear-gradient(145deg, #405189, #299cdb);
  opacity: 0.9;
}
.ax-orb-b {
  width: 28px; height: 28px; right: 36px; top: 4px;
  background: #f7b84b;
  opacity: 0.85;
}
.ax-orb-c {
  width: 18px; height: 18px; right: 8px; bottom: 6px;
  background: #0ab39c;
}

.ax-kpi-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ax-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ax-kpi-row-sm {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ax-kpi {
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.ax-kpi.is-warn {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb, #fff);
}
.ax-kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ax-kpi-head span {
  font-size: 11px;
  font-weight: 500;
  color: #878a99;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ax-kpi strong {
  display: block;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  color: #212529;
  line-height: 1.15;
  font-weight: 600;
}
.ax-kpi strong .ax-soft {
  font-size: 0.65em;
  color: #878a99;
  font-weight: 500;
}
.ax-kpi-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #878a99;
  font-weight: 400;
}
.ax-trend {
  font-style: normal !important;
  font-weight: 600;
  font-size: 12px;
}
.ax-trend.delta-up { color: #0ab39c !important; }
.ax-trend.delta-down { color: #f06548 !important; }
.ax-trend.delta-flat { color: #878a99 !important; }
.ax-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-style: normal !important;
}
.ax-pill.delta-up { background: #daf4f0; color: #0ab39c !important; }
.ax-pill.delta-down { background: #fde8e4; color: #f06548 !important; }
.ax-pill.delta-flat { background: #eff2f7; color: #878a99 !important; }
.ax-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ax-ico::before {
  content: '';
  width: 15px;
  height: 15px;
  background: #405189;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.ax-ico-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.ax-ico-eye { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ax-ico-pulse { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 12h4l3 8 4-16 3 8h4'/%3E%3C/svg%3E"); }
.ax-ico-target { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ax-ico-check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ax-ico-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.ax-ico-repeat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='m17 1 4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='m7 23-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }
.ax-ico-api { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12'/%3E%3Cpath d='M10 4H6a2 2 0 0 0-2 2v4'/%3E%3Crect x='10' y='2' width='10' height='8' rx='2'/%3E%3Crect x='4' y='14' width='10' height='8' rx='2'/%3E%3C/svg%3E"); }
.ax-ico-bolt { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
.ax-ico-pro { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2 15 8l6 .5-4.5 4.2L18 19l-6-3.2L6 19l1.5-6.3L3 8.5 9 8z'/%3E%3C/svg%3E"); }
.ax-mini-split { height: 6px; margin-top: 10px; margin-bottom: 0; border-radius: 999px; }

.ax-link-btn {
  font-size: 12px;
  font-weight: 600;
  color: #405189 !important;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  padding: 6px 10px;
  text-decoration: none !important;
  white-space: nowrap;
}
.ax-mini-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #eff2f7;
  border-radius: 8px;
}
.ax-mini-seg a {
  font-size: 11px;
  font-weight: 600;
  color: #878a99;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none !important;
}
.ax-mini-seg a.on {
  background: #fff;
  color: #405189;
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}

.ax-live-map {
  padding: 4px 14px 0;
}
.ax-world {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 10px;
  background: #f8fafc;
}
.ax-sea { fill: #f1f5f9; }
.ax-grid line { stroke: #e2e8f0; stroke-width: 0.6; }
.ax-land { fill: #cbd5e1; }
.ax-spoke {
  stroke: #94a3b8;
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
  opacity: 0.75;
}
.ax-pin { fill: #334155; }
.ax-pin.is-hot { fill: #f06548; }
.ax-hub {
  fill: #405189;
  stroke: #fff;
  stroke-width: 1.5;
}
.ax-live-table { margin-top: 4px; }

.ax-hbar-scale {
  list-style: none;
  margin: 0;
  padding: 4px 16px 6px;
  display: grid;
  gap: 11px;
}
.ax-hbar-scale li {
  display: grid;
  grid-template-columns: minmax(72px, 28%) 1fr auto;
  gap: 10px;
  align-items: center;
}
.ax-hbar-name {
  font-size: 12.5px;
  color: #495057;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ax-hbar-rail {
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}
.ax-hbar-rail i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #a8c5f0;
}
.ax-hbar-rail i.is-hot {
  background: linear-gradient(90deg, #f7a794, #f06548);
}
.ax-hbar-val {
  font-size: 12px;
  color: #878a99;
  font-weight: 500;
  min-width: 2.5ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ax-hbar-axis {
  display: flex;
  justify-content: space-between;
  padding: 2px 16px 14px;
  margin-left: 28%;
  margin-right: 2.8rem;
  font-size: 10px;
  color: #adb5bd;
  border-top: 1px dashed #e9ebec;
}

.ax-grid {
  display: grid;
  gap: 14px;
}
.ax-grid-2 { grid-template-columns: 1.2fr 1fr; }
.ax-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-grid-1 { grid-template-columns: 1fr; }
.ax-card {
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0 0 8px;
  overflow: hidden;
  min-width: 0;
}
.ax-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 8px;
}
.ax-card-head h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #212529;
}
.ax-card-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #878a99;
  font-weight: 400;
}
.ax-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 16px 12px;
}
.ax-mini-kpis span {
  display: block;
  font-size: 11px;
  color: #878a99;
  font-weight: 500;
  text-transform: uppercase;
}
.ax-mini-kpis strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-top: 2px;
  font-weight: 600;
}
.ax-mini-kpis em {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}
.chart-chip-legend .dot-cur { background: #405189; }
.chart-chip-legend .dot-prev { background: #a3adc8; }
.ax-compare-bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, 0.6vw, 6px);
  height: clamp(120px, 18vw, 160px);
  padding: 8px 14px 4px;
}
.ax-compare-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ax-compare-pair {
  flex: 1;
  width: 100%;
  max-width: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(180deg, transparent, #f3f6f9 92%);
  border-radius: 6px 6px 0 0;
  padding: 0 2px;
}
.ax-compare-pair i {
  display: block;
  width: 10px;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.ax-compare-pair .cur { background: linear-gradient(180deg, #5b6bb8, #405189); }
.ax-compare-pair .prev { background: #c6cde2; }
.ax-compare-col span {
  font-size: 10px;
  color: #878a99;
  white-space: nowrap;
  font-weight: 500;
}
.ax-area-sm { padding-top: 0; }
.ax-area-sm .area-chart { height: 72px; }
.ax-heatmap {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: 1fr auto;
  gap: 6px 8px;
  padding: 8px 14px 16px;
  overflow-x: auto;
}
.ax-heat-y {
  grid-row: 1;
  display: grid;
  gap: 3px;
  align-content: stretch;
}
.ax-heat-y span {
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #878a99;
  font-weight: 500;
}
.ax-heat-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 24), minmax(0, 1fr));
  grid-auto-rows: clamp(10px, 1.4vw, 14px);
  gap: 3px;
  min-width: 420px;
}
.ax-heat-cell {
  display: block;
  border-radius: 3px;
  background: #eef2f7;
}
.ax-heat-cell.l1 { background: #c3e6df; }
.ax-heat-cell.l2 { background: #7dcea3; }
.ax-heat-cell.l3 { background: #6a7bb8; }
.ax-heat-cell.l4 { background: #405189; }
.ax-heat-x {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(var(--cols, 24), minmax(0, 1fr));
  gap: 3px;
  min-width: 420px;
}
.ax-heat-x span {
  font-size: 9px;
  color: #adb5bd;
  text-align: center;
}
.ax-heat-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #878a99;
}
.ax-heat-legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}
.ax-heat-legend .l0 { background: #eef2f7; }
.ax-heat-legend .l1 { background: #c3e6df; }
.ax-heat-legend .l2 { background: #7dcea3; }
.ax-heat-legend .l3 { background: #6a7bb8; }
.ax-heat-legend .l4 { background: #405189; }
.ax-donut-block {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 8px 16px 16px;
}
.ax-donut-lg {
  width: min(140px, 40vw);
  height: min(140px, 40vw);
}
.ax-donut-lg .source-donut-hole {
  width: 62%;
  height: 62%;
}
.ax-device-list,
.ax-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 10px;
}
.ax-device-list li,
.ax-source-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.ax-device-list em,
.ax-source-list em {
  font-style: normal;
  color: #878a99;
  font-size: 12px;
  font-weight: 500;
}
.ax-ref-total {
  padding: 0 16px 10px;
}
.ax-ref-total strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 24px);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.ax-ref-total span {
  font-size: 12px;
  color: #878a99;
}
.ax-source-bar {
  margin: 0 16px 14px;
  height: 10px;
  border-radius: 999px;
}
.ax-source-list { padding: 0 16px 12px; }
.ax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ax-table th,
.ax-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f6f9;
  text-align: left;
  font-weight: 500;
}
.ax-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #878a99;
  font-weight: 600;
}
.ax-table a { color: #405189; font-weight: 600; }
.ax-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ax-share {
  display: inline-block;
  min-width: 36px;
  font-weight: 600;
  color: #212529;
}
.ax-country-bars,
.ax-engage {
  list-style: none;
  margin: 0;
  padding: 4px 16px 16px;
  display: grid;
  gap: 12px;
}
.ax-cc {
  font-size: 11px;
  color: #adb5bd;
  font-weight: 500;
}
.hbar-hot { background: linear-gradient(90deg, #f06548, #f7b84b); }
.hbar-cool { background: linear-gradient(90deg, #8fa0d4, #405189); }
.hbar-engage.e0 { background: #c3e6df; }
.hbar-engage.e1 { background: #0ab39c; }
.hbar-engage.e2 { background: #405189; }
.hbar-engage.e3 { background: #f06548; }
.ax-engage-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 500;
}
.ax-engage-meta span { color: #878a99; font-size: 12px; font-weight: 500; }
.ax-channel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 16px;
  border-top: 1px solid #f3f6f9;
  margin-top: 4px;
  flex-wrap: wrap;
}
.ax-search-chips {
  list-style: none;
  margin: 0;
  padding: 4px 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ax-search-chips li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f3f6f9;
  border: 1px solid #e9ebec;
  min-width: min(140px, 100%);
}
.ax-search-chips strong {
  font-size: 13px;
  font-weight: 600;
  color: #212529;
}
.ax-search-chips span {
  font-size: 11px;
  color: #878a99;
}
.ax-seo-split {
  margin: 0 14px 10px;
}
.ax-seo-split-track {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e9ebec;
}
.ax-seo-split-track i {
  display: block;
  height: 100%;
  min-width: 0;
}
.ax-seo-split-track .is-known { background: #405189; }
.ax-seo-split-track .is-hidden { background: #adb5bd; }
.ax-seo-split-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 8px 0 0;
  font-size: 12px;
  color: #878a99;
}
.ax-seo-split-meta strong { color: #495057; font-weight: 600; }
.ax-seo-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 16px 0;
}
.ax-seo-kpi {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f6f9;
  border: 1px solid #e9ebec;
}
.ax-seo-kpi.is-muted { background: #f8f9fa; }
.ax-seo-kpi span {
  display: block;
  font-size: 12px;
  color: #878a99;
  margin-bottom: 4px;
}
.ax-seo-kpi strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
}
.ax-seo-kpi em {
  font-style: normal;
  font-size: 12px;
  color: #878a99;
}
.ax-seo-note {
  margin: 10px 16px 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #878a99;
}
.search-q.is-hidden-q {
  color: #878a99;
  font-weight: 500;
}
.hbar-muted { background: linear-gradient(90deg, #c5c9d1, #878a99); }
.ax-sum-card strong .ax-soft {
  font-weight: 500;
  color: #878a99;
  font-size: 0.72em;
}
.ax-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ax-sum-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e9ebec;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  min-width: 0;
}
.ax-sum-card:hover {
  border-color: #c5cde8;
  box-shadow: 0 8px 20px rgba(64, 81, 137, 0.08);
  transform: translateY(-1px);
  color: inherit;
}
.ax-sum-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #878a99;
}
.ax-sum-card strong {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #212529;
  line-height: 1.15;
}
.ax-sum-card em {
  font-style: normal;
  font-size: 12px;
  color: #878a99;
  font-weight: 500;
}
a.ax-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
a.ax-card-link:hover {
  border-color: #c5cde8;
  box-shadow: 0 8px 20px rgba(64, 81, 137, 0.08);
  color: inherit;
}
.ax-back {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #878a99;
}
.ax-back a {
  color: #405189;
  font-weight: 600;
  text-decoration: none !important;
}

@media (max-width: 1100px) {
  .ax-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ax-summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .ax-hero {
    grid-template-columns: 1fr 1fr;
  }
  .ax-hero-left { grid-column: 1 / -1; }
  .ax-kpi-row-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ax-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .is-admin .wrap { width: calc(100% - 16px); }
  .ax-hero { grid-template-columns: 1fr; }
  .ax-kpi-row,
  .ax-kpi-row-sm,
  .ax-grid-2,
  .ax-grid-3 { grid-template-columns: 1fr 1fr; }
  .ax-mini-kpis { grid-template-columns: 1fr; }
  .admin-dash-toolbar { flex-direction: column; align-items: stretch; }
  .admin-dash-tabs { width: 100%; }
  .admin-dash-tabs a { flex: 1; text-align: center; }
}
@media (max-width: 640px) {
  .ax-kpi-quad,
  .ax-kpi-row,
  .ax-kpi-row-sm,
  .ax-grid-2,
  .ax-grid-3 { grid-template-columns: 1fr; }
  .ax-banner { grid-template-columns: 1fr; }
  .ax-banner-art { display: none; }
  .ax-compare-bars { height: 110px; }
  .ax-hbar-scale li { grid-template-columns: 1fr; gap: 4px; }
  .ax-hbar-axis { margin-left: 0; margin-right: 0; }
  .ax-card-head { flex-wrap: wrap; }
  .product-chart-grid { grid-template-columns: 1fr; }
}
.admin-dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 4px;
  background: #eef2f4;
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
}
.admin-dash-tabs a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.admin-dash-tabs a:hover { color: var(--ink); text-decoration: none; }
.admin-dash-tabs a.on { background: #fff; color: var(--ink); }
.admin-kpi-grid .stat-tile.is-warn {
  background: #fff7ed;
}
.admin-kpi-grid .stat-tile.is-warn strong { color: #c2410c; }
.kpi-spark {
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 8px;
  color: var(--accent, #2563eb);
  opacity: 0.85;
}
.delta-up { color: #15803d !important; }
.delta-down { color: #b91c1c !important; }
.delta-flat { color: var(--muted) !important; }
.trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 140px;
  padding: 8px 14px 4px;
}
.trend-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 4px;
}
.trend-stack {
  flex: 1;
  width: 100%;
  max-width: 28px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  background: #eef2f4;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.trend-stack i {
  display: block;
  width: 100%;
  min-height: 0;
}
.trend-stack .ch-web { background: #64748b; }
.trend-stack .ch-api { background: #2563eb; }
.trend-stack .ch-bulk { background: #7c3aed; }
.trend-stack .ch-fail { background: #c2410c; }
.trend-col span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.trend-legend {
  list-style: none;
  margin: 0;
  padding: 0 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.trend-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: -1px;
}
.trend-legend .ch-web { background: #64748b; }
.trend-legend .ch-api { background: #2563eb; }
.trend-legend .ch-bulk { background: #7c3aed; }
.funnel-list {
  list-style: none;
  margin: 0;
  padding: 4px 14px 8px;
  display: grid;
  gap: 10px;
}
.funnel-rates {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 12px;
  color: var(--muted);
}
.traffic-bots { margin-bottom: 8px; }
.mem-usage-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 72px;
  margin: 8px 0 4px;
}
.mem-usage-chart i {
  flex: 1;
  background: #2563eb;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  opacity: 0.85;
}
.mem-usage-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.admin-kpi-grid .stat-tile {
  min-width: 0;
  padding: 12px 12px 14px;
  overflow: hidden;
}
.admin-kpi-grid .stat-tile span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-kpi-grid .stat-tile strong {
  font-size: clamp(18px, 2.1vw, 26px);
  margin-top: 4px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.admin-kpi-grid .stat-tile.is-primary {
  padding: 12px 12px 14px;
}
.admin-kpi-grid .stat-tile.is-primary strong {
  font-size: clamp(18px, 2.1vw, 26px);
  margin-top: 4px;
}
.admin-kpi-grid .stat-tile:not(.is-primary) {
  background: #fafbfc;
  box-shadow: none;
}
.admin-kpi-grid .stat-tile em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-rank-list {
  list-style: none;
  margin: 0;
  padding: 4px 14px 14px;
  display: grid;
  gap: 10px;
}
.admin-rank-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.admin-rank-list .rank-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.admin-rank-list .rank-body { min-width: 0; }
.admin-rank-list .rank-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}
.admin-rank-list .rank-top strong {
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-rank-list .rank-top span {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.admin-rank-table .col-rank {
  width: 36px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.admin-rank-table .col-bar { width: 120px; }
.admin-rank-table .num,
.dash-table td.num,
.dash-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.admin-mem-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
}
.admin-mem-pills span {
  font-size: 12px;
  color: var(--muted);
}
.admin-home-body .stat-grid,
.admin-home-body .range-seg { margin-bottom: 0; }
.admin-home-body .range-seg { margin: 0; }
.compact-head { padding: 12px 16px; }
.compact-head h2,
.compact-head h3 { font-size: 15px; }
.compact-table th,
.compact-table td { padding: 8px 12px; vertical-align: top; }
.compact-table .cat-bar { margin: 6px 0 0; height: 6px; }
.compact-path { margin: 0; padding-left: 16px; }
.compact-path li { font-size: 12px; }
.visitor-table .hit-ref { display: block; max-width: 180px; }
.stat-when { font-size: 15px !important; letter-spacing: 0 !important; }
.dt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: #f7fbfc;
}
.dt-bar input[type="search"] {
  font: inherit;
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 160px;
  flex: 1;
  max-width: 280px;
}
.dt-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.dt-meta { font-size: 12px; color: var(--muted); margin-left: auto; }
.dt-pager { display: flex; align-items: center; gap: 6px; }
.dt-pager button {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.dt-pager button:disabled { opacity: 0.4; cursor: default; }
.dt-pager span { font-size: 12px; color: var(--muted); min-width: 3.5em; text-align: center; }
.bill-dl { padding-top: 8px; }
.bill-level { padding: 12px 18px 16px; display: flex; gap: 8px; align-items: end; }
.bill-level button {
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  cursor: pointer;
}
.bill-form { padding-bottom: 16px; }
.bill-form .cta { grid-column: 1 / -1; width: auto; justify-self: start; }
.member-bill-stats .stat-tile strong { font-size: 16px; }
.bill-stats .dash-stat strong { font-size: 16px; }
.dash-split { margin-bottom: 0; }
.range-seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 0 16px;
}
.range-seg a {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}
.range-seg a:hover { text-decoration: none; color: var(--ink); }
.range-seg a.on { background: var(--ink); color: #fff; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 12px;
}
.stat-tile span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-tile strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.cat-bars { list-style: none; margin: 0; padding: 8px 18px 16px; }
.cat-bars li { margin: 0 0 12px; }
.cat-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 6px;
}
.cat-bar-label span { color: var(--muted); }
.cat-bar {
  height: 8px;
  background: #eef2f4;
  border-radius: 999px;
  overflow: hidden;
}
.cat-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.dash-empty { padding: 16px 18px 20px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th,
.dash-table td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); }
.dash-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-table a { color: var(--ink); font-weight: 600; }
.settings-card .settings-fields {
  display: grid;
  gap: 14px;
  padding: 16px 18px 20px;
}
.settings-fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.settings-fields input[type="text"],
.settings-fields input[type="email"],
.settings-fields input[type="password"],
.settings-fields input[type="number"],
.settings-fields select,
.settings-fields textarea {
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}
.settings-fields textarea { resize: vertical; min-height: 72px; }
.settings-fields input:focus,
.settings-fields select:focus,
.settings-fields textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.settings-check { font-weight: 600; color: var(--text); }
.settings-fields-2 { grid-template-columns: 1fr 1fr; }
.settings-fields-2 .sec-note,
.settings-fields-2 .auth-check { grid-column: 1 / -1; }
.smtp-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
@media (max-width: 800px) {
  .settings-fields-2 { grid-template-columns: 1fr; }
}
.settings-form .access-card { margin-bottom: 14px; }
.maint-wrap { padding-top: 48px; padding-bottom: 48px; }
.maint-card { max-width: 560px; margin: 0 auto; padding: 28px 24px; }
.maint-card .cta { width: auto; padding: 10px 18px; }
.sec-list { margin: 0; padding: 8px 18px 18px; display: grid; gap: 14px; }
.sec-list > div { display: grid; gap: 6px; }
.sec-list dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.sec-list dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sec-note { font-size: 12px; font-weight: 500; color: var(--muted); }
.sec-path {
  font-size: 13px;
  background: #eef2f4;
  padding: 4px 8px;
  border-radius: 8px;
}
.dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hit-ref {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 500;
}
.kind-pill,
.source-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f4;
  color: var(--ink);
}
.source-pill.source-search { background: #e8eefc; color: #1d4ed8; }
.source-pill.source-direct { background: #eef2f4; }
.source-pill.source-internal { background: #f3e8fd; color: #6b21a8; }
.source-pill.source-other { background: #fff4e5; color: #9a3412; }
.stat-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-tile em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.source-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 14px;
}
.source-donut {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.source-donut-hole {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  text-align: center;
}
.source-donut-hole strong { font-size: 22px; letter-spacing: -0.04em; }
.source-donut-hole span { font-size: 11px; color: var(--muted); font-weight: 600; }
.source-legend { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 8px; }
.source-legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.source-legend em { font-style: normal; color: var(--muted); font-size: 12px; }
.source-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
}
.source-dot.source-search { background: #2563eb; }
.source-dot.source-direct { background: #64748b; }
.source-dot.source-internal { background: #7c3aed; }
.source-dot.source-other { background: #c2410c; }
.freq-wrap { padding: 10px 14px 14px; }
.split-bar {
  display: flex;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef2f4;
  margin-bottom: 14px;
}
.split-bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  min-width: 0;
}
.split-bar .one { background: #0e9aa8; }
.split-bar .many { background: #0a2a36; }
.freq-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.freq-stats li {
  background: #f7fbfc;
  border-radius: 12px;
  padding: 10px 12px;
}
.freq-stats span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.freq-stats strong { display: block; font-size: 20px; letter-spacing: -0.04em; }
.freq-stats em { font-style: normal; font-size: 12px; color: var(--muted); }
.tool-bars { list-style: none; margin: 0; padding: 8px 18px 16px; }
.tool-bars li { margin: 0 0 12px; }
.tool-bar i { background: #0a2a36; }
.visitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 16px 18px;
}
.visitor-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #f7fbfc, #fff);
}
.visitor-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.visitor-ip {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.visitor-meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.visitor-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.visitor-when,
.visitor-counts { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.search-hit {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink);
}
.search-hit strong,
.search-q {
  font-weight: 700;
  color: #1d4ed8;
}
.search-miss,
.muted { color: var(--muted); font-size: 12px; }
.search-bars .search-q { font-size: 14px; }
.page-path {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  counter-reset: path;
}
.page-path li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 2px 8px;
  font-size: 13px;
}
.page-path li::before {
  counter-increment: path;
  content: counter(path);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  grid-row: span 2;
  margin-top: 2px;
}
.page-path a { font-weight: 600; color: var(--ink); grid-column: 2; }
.page-path span { grid-column: 2; font-size: 11px; color: var(--muted); }
.page-path .more { color: var(--muted); font-size: 12px; }
.page-path .more::before { background: #94a3b8; }
.hit-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.journey-table td { vertical-align: top; }
.journey-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.journey-steps li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}
.step-n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.journey-steps a { font-weight: 600; color: var(--ink); }
.journey-steps em { font-style: normal; color: var(--muted); font-size: 12px; }
.journey-counts { font-size: 12px; color: var(--accent); font-weight: 600; }
.kind-repeat { background: #0a2a36; color: #fff; }
.kind-once { background: #e8f7ee; color: #146c36; }

.bl-page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 32px 40px;
  margin: 8px auto 40px;
  box-shadow: var(--shadow);
}
.bl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.bl-head h1 { margin: 0; font-size: 32px; color: var(--ink); }
.bl-info-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #8aa0a8;
  color: #8aa0a8;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bl-status-label {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}
.bl-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  background: #fff;
  margin: 0 0 16px;
}
.bl-status-row.is-ignored { display: none; }
.bl-status-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.bl-status-msg strong { font-weight: 600; }
.bl-x, .bl-ok {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.bl-x { background: var(--fail); }
.bl-ok { background: var(--ok); font-size: 12px; }
.bl-status-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}
.bl-ignore {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.bl-ignore:hover { text-decoration: none; color: var(--ink); }
.bl-monitor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f3f5f6;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 8px;
}
.bl-monitor p { margin: 0; font-weight: 500; }
.bl-monitor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2e9e3e;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.bl-monitor-btn:hover { background: #278a35; color: #fff; text-decoration: none; }
.bl-monitor-btn.is-on {
  background: #fff;
  color: var(--fail);
  border: 1px solid #e2c4c0;
}
.bl-monitor-btn.is-disabled {
  background: #c5d0d4;
  color: #fff;
  cursor: not-allowed;
}
.bl-page .status { margin: 0 0 12px; }
.bl-price {
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0 0 28px;
}
.bl-price h2 { margin: 0 0 8px; font-size: 16px; }
.bl-price p { margin: 0 0 8px; }
.bl-quota { font-weight: 600; color: var(--ink); }
.bl-cidr-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.bl-cidr-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  min-width: 180px;
}
.bl-cidr-form input {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.bl-cidr-form button {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.bl-reason { font-size: 13px; color: var(--muted); }
.bl-block { margin: 0 0 22px; }
.bl-block h2 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.bl-block p { margin: 0 0 10px; }
.bl-chevrons {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.bl-chevrons li {
  position: relative;
  padding: 0 0 10px 18px;
}
.bl-chevrons li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #e67e22;
  font-weight: 700;
  font-size: 16px;
}
.bl-official { font-size: 14px; }
.bl-back { margin: 28px 0 0; }
.auth-monitors { margin: 0 0 20px; }
.auth-monitors h2 { margin: 0 0 8px; font-size: 16px; }
.monitor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.monitor-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.monitor-list button {
  background: none;
  border: 0;
  color: var(--fail);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.member-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - var(--nav));
  background: var(--page);
}
.member-side {
  background: var(--ink);
  color: #c5d4da;
  padding: 20px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.member-who { margin: 0 8px 4px; }
.member-who strong { display: block; color: #fff; font-size: 14px; word-break: break-all; }
.member-who .lvl-pill { margin-top: 8px; }
.member-side nav { display: grid; gap: 4px; }
.member-side nav a {
  color: #c5d4da;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.member-side nav a:hover { color: #fff; text-decoration: none; background: #123744; }
.member-side nav a.on { background: var(--accent); color: #fff; }
.member-logout { margin-top: auto; }
.member-logout button {
  width: 100%;
  background: transparent;
  border: 1px solid #13404c;
  color: #c5d4da;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.member-logout button:hover { color: #fff; }
.member-main { padding: 28px 32px 48px; max-width: 1040px; }
.member-head { margin: 0 0 20px; }
.member-head h1 { margin: 0 0 6px; }
.member-head p { margin: 0; color: var(--muted); }
.member-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}
.member-card p { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
.member-card strong { display: block; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.member-card span, .member-card a { font-size: 13px; }

.member-dash { max-width: 1040px; }
.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 22px;
}
.dash-hero h1 { margin: 0 0 6px; font-size: 28px; }
.dash-hero p { margin: 0; color: var(--muted); }
.dash-hero-cta { flex-shrink: 0; padding: 10px 16px; font-size: 14px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.dash-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
}
.dash-stat p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-stat strong {
  display: block;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.dash-stat strong em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.dash-stat-note { font-size: 12px; color: var(--muted); line-height: 1.4; }
.dash-stat a { font-size: 13px; font-weight: 600; margin-top: auto; }
.dash-stat.is-ok { border-color: #cfe8dc; }
.dash-stat.is-alert {
  border-color: #f0c9c4;
  background: #fff8f7;
}
.dash-meter {
  height: 6px;
  border-radius: 99px;
  background: #e8eef1;
  overflow: hidden;
}
.dash-meter span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}
.dash-stat.is-alert .dash-meter span { background: var(--fail); }
.dash-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.dash-chip.is-ok { background: #e7f6ee; color: var(--ok); }
.dash-chip.is-bad { background: #fdecea; color: var(--fail); }
.dash-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 6px 8px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
}
.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 14px 12px;
}
.dash-panel-head h2 { margin: 0; font-size: 16px; }
.dash-panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.dash-panel-head a { font-weight: 600; font-size: 13px; }
.dash-empty {
  text-align: center;
  padding: 36px 20px 40px;
}
.dash-empty-title { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.dash-empty p { margin: 0 auto 16px; max-width: 42ch; color: var(--muted); }
.dash-mons { list-style: none; margin: 0; padding: 0; }
.dash-queries { list-style: none; margin: 0; padding: 0; }
.dash-query {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.dash-queries > li:first-child { border-top: 0; }
.dash-query a { font-weight: 600; }
.dash-query .q-target {
  margin: 2px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
  color: var(--text);
}
.dash-query .q-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.dash-query.is-fail .q-target { opacity: 0.65; }
.dash-mon {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(110px, 0.7fr) minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.dash-mon.is-listed { background: #fff8f7; }
.dash-mon-id { display: grid; gap: 2px; min-width: 0; }
.dash-ip {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  background: none;
  color: var(--ink);
  padding: 0;
  border-radius: 0;
  white-space: normal;
  word-break: break-all;
}
.dash-mon-id a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  padding: 0;
}
.dash-mon-id a:hover { color: var(--accent); }
.dash-mon-id span { font-size: 12px; color: var(--muted); }
.dash-mon-status .scan-ok,
.dash-mon-status .scan-bad,
.dash-mon-status .scan-muted {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.dash-mon-status .scan-ok { background: #e7f6ee; }
.dash-mon-status .scan-bad { background: #fdecea; }
.dash-mon-status .scan-muted { background: #eef2f4; }
.dash-mon-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-mon-del button,
.btn-remove {
  background: none;
  border: 0;
  color: var(--fail);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
}
.btn-scan {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-scan:hover { background: #eef8f9; text-decoration: none; }
.btn-scan.is-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-scan.is-primary:hover { background: var(--accent-hover); color: #fff; }
.scan-now { margin: 0; }
.member-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}
.member-table .btn-scan { color: var(--accent); }
.member-table .btn-scan.is-primary { color: #fff; }
.member-back { margin: 0 0 8px; font-size: 13px; }
.member-back a { font-weight: 600; }
.mon-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.mon-detail-head h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}
.mon-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mon-detail-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mon-result-table tr.is-listed { background: #fff8f7; }
.mon-result-table td:last-child a { font-weight: 600; font-size: 13px; }
.dash-upgrade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #eef8f9;
  border: 1px solid #c5e4e8;
  border-radius: 12px;
  padding: 20px 22px;
}
.dash-upgrade h2 { margin: 0 0 6px; font-size: 18px; }
.dash-upgrade p { margin: 0 0 10px; color: var(--text); }
.dash-upgrade ul { margin: 0; padding-left: 18px; color: var(--muted); }
.dash-upgrade .cta { flex-shrink: 0; }
.member-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px 20px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
}
.member-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.member-panel-head h2 { margin: 0; font-size: 16px; }
.member-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.member-table th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--line);
}
.member-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.member-table td:last-child, .member-table th:last-child { text-align: right; }
.member-table button {
  background: none;
  border: 0;
  color: var(--fail);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.scan-ok { color: #0a7a5a; font-weight: 700; }
.scan-bad { color: var(--fail); }
.scan-muted { color: var(--muted); font-size: 13px; }
.scan-when { font-size: 11px; color: var(--muted); margin-top: 2px; }
.scan-lists { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.scan-lists a { color: var(--accent); }
.admin-scan-card { margin-bottom: 14px; }
.admin-scan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-scan-head .member-id { margin: 0; }
.admin-scan-actions .inline-form { justify-content: flex-start; flex-wrap: wrap; }
.scan-targets { list-style: none; margin: 0; padding: 0; }
.scan-target {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(120px, 0.7fr) minmax(0, 1.4fr) auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.scan-target.is-listed { background: #fff8f7; }
.scan-target-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.scan-target-status { min-width: 0; }
.scan-target-lists { min-width: 0; }
.scan-target .inline-form { justify-content: flex-end; }
@media (max-width: 800px) {
  .scan-target { grid-template-columns: minmax(0, 1fr); }
  .scan-target .inline-form { justify-content: stretch; }
}
.member-add {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 0 0 8px;
}
.member-add label { flex: 1; min-width: 220px; display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.member-add input, .member-form input, .member-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}
.member-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}
.member-form h2 { margin: 0; font-size: 16px; }
.member-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.member-form .cta, .member-add .cta { width: auto; justify-self: start; }
.member-add .watch-types {
  flex: 1 1 100%;
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.member-add .watch-types legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin: 0 8px 0 0;
}
.member-add .watch-types label {
  flex: none;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.member-add .watch-types input[type="checkbox"] {
  width: auto;
  padding: 0;
}
.ssl-notify-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ssl-notify-form input[type="number"] {
  width: 4.5rem;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.ssl-notify-form button {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ssl-notify-form button:hover { background: #f3fafb; }
.mail-quota-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef6fb;
  border: 1px solid #b7d3e0;
  font-size: 13px;
  color: #0a4f7a;
}
.mail-quota-count strong { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.mail-quota-meta { color: #5a7a88; }
.mail-composer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 0 0 22px;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.04), 0 12px 28px rgba(10, 42, 54, 0.05);
  display: grid;
  gap: 16px;
}
.mail-composer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .mail-composer-grid { grid-template-columns: 1fr; }
}
.mail-field { display: grid; gap: 8px; }
.mail-field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a7a88;
}
.mail-field input[type="text"],
.mail-field input[type="number"],
.mail-interval-row input,
.mail-interval-select {
  font: inherit;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbfc;
  width: 100%;
  color: var(--ink);
}
.mail-interval-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #5a7a88 50%), linear-gradient(135deg, #5a7a88 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.mail-field input:focus,
.mail-interval-row input:focus,
.mail-interval-select:focus {
  outline: none;
  border-color: #0e9aa8;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(14, 154, 168, 0.18);
}
.mail-interval-select-sm {
  height: 34px;
  padding: 0 32px 0 10px;
  border-radius: 9px;
  font-size: 13px;
  min-width: 140px;
  width: auto;
}
.mail-field-interval-inline { margin: 0; }
.mail-svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mail-svc-chip {
  position: relative;
  cursor: pointer;
  margin: 0;
  font-weight: 650;
}
.mail-svc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mail-svc-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #c5dde4;
  background: #fff;
  color: #0a2a36;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mail-svc-chip:hover span { border-color: #0e9aa8; }
.mail-svc-chip input:checked + span {
  background: #0a2a36;
  border-color: #0a2a36;
  color: #fff;
}
.mail-svc-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(14, 154, 168, 0.28);
}
.mail-svc-chips-sm .mail-svc-chip span {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.mail-ssl-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mail-ssl-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #c5dde4;
  border-radius: 10px;
  background: #f7fbfc;
  cursor: pointer;
  font-weight: 600;
  color: #0a2a36;
}
.mail-ssl-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mail-ssl-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid #8aaab4;
  background: #fff;
  flex-shrink: 0;
  position: relative;
}
.mail-ssl-check input:checked ~ .mail-ssl-box {
  background: var(--accent);
  border-color: var(--accent);
}
.mail-ssl-check input:checked ~ .mail-ssl-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #062228;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mail-ssl-check input:checked ~ .mail-ssl-text { color: #0a2a36; }
.mail-ssl-check:hover { border-color: #0e9aa8; }
.mail-ssl-text { font-size: 13px; }
.mail-ssl-text strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
}
.mail-ssl-checks-sm {
  margin-top: 10px;
  align-items: center;
}
.mail-ssl-checks-sm .mail-ssl-check {
  padding: 6px 10px;
}
.mail-ssl-checks-sm .mail-ssl-text { font-size: 12px; }
.mail-ports-hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.mail-ports-box {
  margin: 0;
  padding: 14px;
  border: 1px solid #c5dde4;
  border-radius: 14px;
  background: #f3fafb;
  display: grid;
  gap: 12px;
}
.mail-ports-box[hidden] { display: none !important; }
.mail-ports-box > legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0a2a36;
}
.mail-ports-box-sm {
  padding: 12px;
  gap: 10px;
}
.mail-port-sec h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a7a88;
}
.mail-port-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mail-port-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #c5dde4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #0a2a36;
  user-select: none;
}
.mail-port-check:hover { border-color: #0e9aa8; }
.mail-port-check:has(input:checked) {
  border-color: #0a2a36;
  background: #0a2a36;
  color: #fff;
}
.mail-port-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #0e9aa8;
  cursor: pointer;
}
.mail-port-check-text {
  font-size: 13px;
  line-height: 1.3;
}
.mail-port-check-text strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.mail-kind {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.mail-kind legend {
  padding: 0;
  font-size: 13px;
  font-weight: 650;
  color: #0a2a36;
}
.mail-kind-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.mail-kind-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mail-kind-pick {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.mail-kind-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mail-kind-pick span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #c5dde4;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0a2a36;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mail-kind-pick:hover span { border-color: #0e9aa8; }
.mail-kind-pick input:checked + span {
  background: #0a2a36;
  border-color: #0a2a36;
  color: #fff;
}
.mail-kind-pick input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(14, 154, 168, 0.28);
}
.mail-kind-sm .mail-kind-pick span {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 10px;
}
.mail-port-states {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 4px;
}
.mail-port-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d5e4e9;
  background: #f7fbfc;
  font-size: 12px;
  color: #0a2a36;
}
.mail-port-state strong {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
}
.mail-port-state em {
  font-style: normal;
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.mail-port-state.is-active {
  border-color: #9ed4b0;
  background: #eef9f1;
  color: #14633a;
}
.mail-port-state.is-passive {
  border-color: #efc0c0;
  background: #fdf1f1;
  color: #8a1f1f;
}
.mail-port-state.is-unknown {
  border-color: #d5e4e9;
  background: #f4f8fa;
  color: #5a7a88;
}
.mail-edit {
  margin-top: 12px;
  border-top: 1px solid #e6eef1;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}
.mail-edit-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0a2a36;
}
.mail-edit-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.mail-composer-grid-sm {
  margin-bottom: 4px;
}
.mail-card-save-row {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}
.mail-composer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid #e6eef1;
}
.mail-hint {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.mail-list-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.mail-list-head h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.mail-list-n {
  font-size: 12px;
  font-weight: 700;
  color: #0a4f7a;
  background: #eef6fb;
  border-radius: 999px;
  padding: 2px 9px;
}
.mail-empty {
  background: #f7fbfc;
  border: 1px dashed #c5dde4;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
}
.mail-empty p { margin: 0; }
.mail-cards {
  display: grid;
  gap: 12px;
}
.mail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 0 rgba(10, 42, 54, 0.03);
}
.mail-card.is-alert {
  border-color: #e8b4b0;
  background: linear-gradient(180deg, #fff8f7 0%, #fff 55%);
}
.mail-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
}
.mail-card-host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mail-card-host a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}
.mail-card-host a:hover { color: #0e9aa8; }
.mail-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mail-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
}
.mail-btn-scan:hover { border-color: #0e9aa8; color: #0a4f7a; background: #eef6fb; }
.mail-btn-save {
  background: #0a2a36;
  border-color: #0a2a36;
  color: #fff;
}
.mail-btn-save:hover { background: #0e4452; border-color: #0e4452; }
.mail-btn-remove { color: var(--fail); border-color: #e8b4b0; }
.mail-btn-remove:hover { background: #fdeeee; }
.mail-card-summary {
  margin: 10px 0 2px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.mail-card-when {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.mail-card-edit {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #eef2f4;
}
.mail-card-edit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mail-card-edit .mail-interval-row { max-width: 120px; }
.mail-card-edit .mail-interval-row input { height: 34px; padding: 0 10px; border-radius: 9px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dns-watch-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 8px;
}
.dns-watch-cta .note { margin: 0; }
.dns-watch-cta--hero {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.dns-watch-cta--hero .note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
  flex: 1 1 220px;
}
.dns-watch-cta--hero .bl-monitor-btn {
  flex: 0 0 auto;
}
.lookup-page.is-report .lookup-body > .related-cat {
  margin-top: 28px;
}
.member-upgrade {
  background: #eef8f9;
  border: 1px solid #c5e4e8;
  border-radius: var(--r);
  padding: 18px 20px;
}
.member-upgrade h2 { margin: 0 0 8px; font-size: 18px; }
.member-upgrade ul { margin: 0 0 14px; padding-left: 18px; }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 20px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.plan-card.is-pro { border-color: var(--accent); }
.plan-card.is-current { box-shadow: var(--shadow); }
.plan-card h2 { margin: 0 0 10px; }
.plan-price {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.plan-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-year { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.plan-card ul { margin: 0; padding-left: 18px; }
.period-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 16px;
}
.period-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
}
.period-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.period-card input { margin: 0 0 4px; }
.period-card strong { font-size: 14px; }
.period-card span { font-size: 13px; color: var(--muted); }

@media (max-width: 1100px) {
  .stat-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-kpi-grid,
  .admin-kpi-grid.admin-kpi-7,
  .admin-kpi-grid.admin-kpi-6,
  .admin-kpi-grid.admin-kpi-5,
  .admin-kpi-grid.admin-kpi-4,
  .admin-kpi-grid.admin-kpi-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid-6 { grid-template-columns: 1fr 1fr; }
  .admin-kpi-grid,
  .admin-kpi-grid.admin-kpi-7,
  .admin-kpi-grid.admin-kpi-6,
  .admin-kpi-grid.admin-kpi-5,
  .admin-kpi-grid.admin-kpi-4,
  .admin-kpi-grid.admin-kpi-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-dash-toolbar { align-items: flex-start; flex-direction: column; }
  .trend-bars { height: 110px; }
  .source-grid,
  .dash-split { grid-template-columns: 1fr; }
  .source-visual { flex-direction: column; align-items: flex-start; }
  .visitor-grid { grid-template-columns: 1fr; }
  .dash-table { font-size: 13px; }
  .dash-tools .dash-table th:nth-child(2),
  .dash-tools .dash-table td:nth-child(2) { display: none; }
  .member-shell { grid-template-columns: 1fr; }
  .member-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .member-side nav { display: flex; flex-wrap: wrap; flex: 1; }
  .member-logout { margin: 0; }
  .member-main { padding: 20px 16px 40px; }
  .plan-grid { grid-template-columns: 1fr; }
  .period-pick { grid-template-columns: 1fr; }
  .dash-hero { flex-direction: column; align-items: flex-start; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-mon {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "id actions"
      "status status"
      "lists lists";
  }
  .dash-mon-id { grid-area: id; }
  .dash-mon-status { grid-area: status; }
  .dash-mon-lists { grid-area: lists; }
  .dash-mon-actions { grid-area: actions; }
  .dash-upgrade { flex-direction: column; align-items: flex-start; }
}

.api-docs {
  padding: 28px 0 64px;
}
.api-docs-inner { max-width: 860px; }
.api-docs h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); }
.api-docs .lede { font-size: 17px; color: var(--muted); max-width: 62ch; }
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 32px;
}
.api-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.api-grid h2 { margin: 0 0 8px; font-size: 16px; }
.api-grid p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.api-grid p:last-child { margin: 0; }
.api-sample {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  background: #0a2a36;
  color: #e8f4f6;
  padding: 16px 18px;
  border-radius: var(--r);
  overflow: auto;
  white-space: pre-wrap;
}
.api-endpoints {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 6px;
}
.api-endpoints li {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 14px;
}
.api-endpoints code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  background: #eef6f7;
  padding: 2px 6px;
  border-radius: 6px;
}
.api-key-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.api-key-row code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  word-break: break-all;
  flex: 1;
  min-width: 12rem;
  background: #eef6f7;
  padding: 10px 12px;
  border-radius: 8px;
}
.api-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.api-meta code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
}
.dash-upgrade-price { margin: 0 0 10px; font-size: 14px; }
.api-reveal { border-color: #c5e4e8; background: #eef8f9; }
.totp-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.totp-codes code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
}

@media (max-width: 800px) {
  .api-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dash-stats { grid-template-columns: 1fr; }
}

.desk-jump { margin: -4px 0 0; }
.members-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 0;
}
.members-search input[type="search"],
.members-search select {
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.members-search input[type="search"] { min-width: 180px; flex: 1; }
.members-search button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.audit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.audit-list li {
  display: grid;
  gap: 2px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.audit-list li:last-child { border-bottom: 0; }
.audit-list strong { font-size: 13px; }
.audit-list span { color: var(--muted); font-size: 12px; }
.pay-box {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbfc;
  display: grid;
  gap: 6px;
}
.pay-box p { margin: 0; font-size: 14px; }
.pay-box span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.pay-box code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
}
.abuse-block {
  padding: 14px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}
.abuse-block label { min-width: 180px; }
.abuse-block input {
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}

.bl-batch {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
.bl-ip-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.bl-ip-block.is-dirty {
  border-color: #efc0c0;
  background: #fffafa;
}
.bl-ip-block.is-warn {
  border-color: #ead7a8;
  background: #fffdf6;
}
.adaptive-bl-out .warn-text {
  color: #b45309;
  margin: 0.35rem 0 0;
}
.bl-ip-addr {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 15px;
}
.bl-ip-hits {
  margin: 0;
  font-size: 13px;
  color: #8a1f1f;
  font-weight: 600;
}
.bl-ip-block tr.is-listed td {
  background: #fdf1f1;
}
.bl-batch {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.bl-ip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.bl-ip.is-dirty {
  border-color: #efc0c0;
  background: #fffafa;
}
.bl-ip > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 650;
}
.bl-ip > summary::-webkit-details-marker { display: none; }
.bl-ip-badge {
  font-size: 12px;
  font-weight: 700;
}
.bl-ip-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.bl-ip-toggle {
  margin: 0;
  padding: 0 14px 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bl-ip .table-wrap,
.bl-ip > div {
  padding: 0 10px 12px;
}
.bl-ip tr.is-listed td {
  background: #fdf1f1;
}

.mon-bl-batch { margin-top: 12px; }
.mon-ip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.mon-ip-head .scan-when { margin-left: auto; }
.mon-result-table tr.is-listed td { background: #fdf1f1; }
.scan-ok { color: #14633a; font-weight: 650; }
.scan-bad { color: #8a1f1f; }

.scan-warn { color: #9a6b00; font-weight: 650; }
.mon-result-table tr.is-warn td { background: #fff8e8; }
.muted { color: var(--muted); font-size: 12px; }
.warn { color: #9a6b00; font-weight: 650; }
