:root {
  --bg: #191a18;
  --shell: #0d0e0d;
  --panel: #1b1c1a;
  --panel-2: #20211f;
  --panel-hover: #252622;
  --line: #33342f;
  --line-soft: #292a26;
  --text: #f4f3ef;
  --muted: #9c9d98;
  --muted-2: #777873;
  --accent: #e9e2bd;
  --accent-2: #d9d0a4;
  --accent-ink: #11120f;
  --green: #b0b1ab;
  --green-dim: rgba(176,177,171,.1);
  --radius-shell: 24px;
  --radius-card: 18px;
  --radius-small: 12px;
  --shadow: 0 28px 80px rgba(0,0,0,.32);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.04), transparent 28%),
    #1d1e1c;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1em; height: 1em; stroke-width: 1.75; }

.site-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 18px auto;
  min-height: calc(100vh - 36px);
  padding: 20px 22px 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.017), transparent 28%),
    var(--shell);
  border: 1px solid #20211e;
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-1deg); }
.brand-mark i { display: block; background: var(--text); border-radius: 1px; }
.brand-mark i:nth-child(2) { width: 65%; justify-self: end; }
.brand-mark i:nth-child(3) { height: 70%; align-self: end; }

.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3vw, 38px); }
.desktop-nav a { position: relative; padding: 17px 0; color: var(--muted); font-size: 13px; transition: .2s ease; }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent); border-radius: 999px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: .18s ease; }
.icon-button:hover { background: var(--panel); border-color: #494a43; }
.icon-button svg { width: 18px; height: 18px; }
.snapshot-pill { height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 12px; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(176,177,171,.08); }
.mobile-menu-button { display: none; }
.mobile-nav { display: none; }

main { padding-top: 44px; }
.hero { padding: 0 0 18px; }
.hero-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero h1 { margin: 0; font-size: clamp(42px, 5.2vw, 64px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hero p { margin: 13px 0 0; max-width: 830px; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; letter-spacing: -.02em; }
.eyebrow-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--panel-hover); border: 1px solid #272821; color: var(--muted); font-size: 12px; }

.section-tabs { max-width: 900px; height: 54px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 2px 0 22px; }
.section-tabs a { position: relative; display: grid; place-items: center; color: var(--text); font-size: 13px; border-radius: 999px; }
.section-tabs a + a::before { content: ""; position: absolute; left: 0; width: 1px; height: 24px; background: var(--line-soft); }
.section-tabs .selected { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.section-tabs .selected + a::before { display: none; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(310px, .9fr); gap: 18px; align-items: stretch; }
.server-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.server-card, .snapshot-card, .mini-panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.server-card { min-height: 280px; padding: 20px; display: flex; flex-direction: column; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.server-name-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.server-name-row h2 { font-size: 24px; margin: 0; letter-spacing: -.04em; }
.online { height: 26px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 999px; background: var(--green-dim); color: var(--text); font-size: 11px; white-space: nowrap; }
.online span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.ghost-icon { border: 0; padding: 3px; background: none; cursor: pointer; color: var(--muted); }
.ghost-icon svg { width: 18px; height: 18px; }
.hostname-line { margin-top: 13px; display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.hostname-line a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #55564f; }
.copy-btn { width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 0; display: grid; place-items: center; }
.copy-btn svg { width: 17px; height: 17px; }
.facts { margin: 16px 0 0; display: grid; gap: 9px; }
.facts div { display: grid; grid-template-columns: minmax(72px, .65fr) minmax(0, 1.35fr); gap: 10px; align-items: baseline; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; text-align: right; font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.chips { margin-top: auto; padding-top: 15px; border-top: 1px solid #353630; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { min-height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-size: 11px; }
.card-footer { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.card-footer a { display: inline-flex; align-items: center; gap: 7px; transition: .18s; }
.card-footer a:hover { color: var(--text); }
.card-footer svg { width: 15px; height: 15px; }

.snapshot-card { padding: 21px 20px; }
.panel-heading, .panel-subheading { display: flex; align-items: center; gap: 11px; }
.panel-heading svg { width: 22px; height: 22px; }
.panel-heading h2 { font-size: 20px; margin: 0; letter-spacing: -.035em; }
.panel-subheading h3 { font-size: 15px; margin: 0; }
.snapshot-list { display: grid; margin: 18px 0 0; }
.snapshot-list div { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.snapshot-list dt { color: var(--muted); font-size: 13px; }
.snapshot-list dd { margin: 0; font-size: 18px; color: var(--text); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.lookup-list { display: grid; gap: 7px; margin-top: 14px; }
.lookup-list a { min-height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 12px; transition: .18s ease; }
.lookup-list a:hover { background: var(--panel-hover); border-color: #494a43; }
.lookup-list svg { width: 14px; height: 14px; }
.snapshot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-outline { border: 1px solid var(--line); }
.button-accent { background: var(--accent); color: var(--accent-ink); }
.button-dark { width: fit-content; padding: 0 24px; background: var(--bg); color: #f1efe5; }
.button svg { width: 15px; height: 15px; }

.explain-band { margin-top: 14px; padding: 25px 28px; display: grid; grid-template-columns: minmax(260px, .95fr) minmax(0, 1.7fr); gap: 34px; align-items: center; background: linear-gradient(110deg, #eee6bd, #e4dcae); color: #11120f; border-radius: var(--radius-card); border: 1px solid #f4edca; }
.explain-copy h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.045em; }
.explain-copy p { margin: 9px 0 15px; max-width: 440px; font-size: 14px; line-height: 1.45; }
.dns-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr; align-items: start; gap: 8px; }
.flow-node { text-align: center; }
.flow-node > span { min-height: 44px; display: grid; place-items: center; border: 1px solid #6d6a59; border-radius: 9px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.flow-node small { position: relative; display: block; margin-top: 21px; color: #5d5b50; font-size: 11px; line-height: 1.35; }
.flow-node small::before { content: ""; position: absolute; left: 50%; top: -16px; width: 1px; height: 10px; background: #4d4b42; }
.flow-node small::after { content: ""; position: absolute; left: calc(50% - 3px); top: -18px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-soft); }
.flow-line { display: flex; align-items: center; margin-top: 16px; }
.flow-line b { width: 22px; height: 1px; background: #313128; position: relative; }
.flow-line b::before { content: ""; position: absolute; right: 1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-soft); }
.flow-line svg { width: 14px; height: 14px; margin-left: -2px; }

.more-servers { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.server-card.compact { min-height: 254px; }

.reference-trio { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.mini-panel { min-height: 190px; overflow: hidden; }
.mini-panel-head { min-height: 56px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mini-panel-head > div { display: flex; align-items: center; gap: 9px; }
.mini-panel-head h2 { margin: 0; font-size: 15px; }
.mini-panel-head > a { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 11px; }
.mini-panel-head svg { width: 18px; height: 18px; }
.mini-panel-head > a svg { width: 13px; height: 13px; }
.mini-list { padding: 0 14px; }
.mini-list a { min-height: 43px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border-bottom: 1px solid #30312d; font-size: 11px; }
.mini-list a:last-child { border-bottom: 0; }
.mini-list a > strong { font-size: 12px; font-weight: 600; }
.mini-list a > span:not(.avatar-letter):not(.place-dot) { color: var(--muted); }
.mini-list a > svg { width: 13px; height: 13px; color: var(--muted); }
.avatar-letter { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: #f2f1ed; font-size: 11px; }
.place-dot { width: 9px; height: 9px; border-radius: 50%; }
.place-dot.green { background: #b0b1ab; }
.place-dot.blue { background: #67a7ec; }
.place-dot.red { background: #ea6b83; }
.standards-list a { grid-template-columns: minmax(0, 1fr) 1.6fr auto; }
.standards-list a > strong { align-self: end; }
.standards-list a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bottom-cta { margin-top: 14px; min-height: 58px; padding: 0 26px; border-radius: 999px; background: linear-gradient(110deg, #eee6bd, #e4dcae); color: #11120f; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 600; border: 1px solid #f3edcf; }
.bottom-cta span { display: inline-flex; align-items: center; gap: 10px; }
.bottom-cta svg { width: 17px; height: 17px; }

.search-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: min(18vh, 180px); opacity: 0; pointer-events: none; transition: .18s ease; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); cursor: default; }
.search-dialog { position: relative; width: min(720px, calc(100% - 28px)); border: 1px solid #44453f; border-radius: 18px; background: var(--bg); box-shadow: 0 30px 90px rgba(0,0,0,.5); overflow: hidden; }
.search-box { min-height: 64px; padding: 0 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.search-box svg { color: var(--muted); }
.search-box input { width: 100%; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 16px; }
.search-box kbd { border: 1px solid #43443e; border-radius: 7px; color: var(--muted); padding: 4px 7px; font: 11px var(--font); }
.search-results { max-height: 420px; overflow: auto; padding: 9px; }
.search-result { min-height: 56px; padding: 10px 12px; border-radius: 11px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.search-result:hover, .search-result:focus-visible { background: var(--panel-hover); outline: 0; }
.search-result strong { display: block; font-size: 13px; }
.search-result small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; }
.search-result svg { width: 14px; height: 14px; color: var(--muted); }
.empty-search { color: var(--muted); padding: 22px 14px; text-align: center; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 120; opacity: 0; pointer-events: none; background: #f2eed6; color: #11120f; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 12px; }
  .snapshot-pill { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .snapshot-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .snapshot-card .panel-heading { grid-column: 1 / -1; }
  .snapshot-card .snapshot-list { grid-row: 2 / span 4; }
  .snapshot-card .divider { display: none; }
  .snapshot-card .panel-subheading { margin-top: 18px; }
  .reference-trio { grid-template-columns: 1fr 1fr; }
  .reference-trio .mini-panel:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-shell { width: min(100% - 16px, 760px); margin: 8px auto; padding: 15px; border-radius: 18px; }
  .site-header { grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 23px; height: 23px; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .mobile-nav { margin-top: 12px; padding: 8px; grid-template-columns: repeat(2, 1fr); gap: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { min-height: 38px; padding: 0 11px; display: flex; align-items: center; border-radius: 9px; color: var(--muted); font-size: 12px; }
  .mobile-nav a.active { background: var(--panel-hover); color: var(--text); }
  main { padding-top: 34px; }
  .hero h1 { font-size: clamp(38px, 9vw, 54px); }
  .section-tabs { max-width: none; overflow-x: auto; display: flex; justify-content: flex-start; border-radius: 14px; padding: 5px; height: auto; scrollbar-width: none; }
  .section-tabs::-webkit-scrollbar { display: none; }
  .section-tabs a { flex: 0 0 auto; min-width: 106px; min-height: 42px; }
  .section-tabs a + a::before { display: none; }
  .server-grid, .more-servers { grid-template-columns: 1fr; }
  .snapshot-card { display: block; }
  .snapshot-card .divider { display: block; }
  .explain-band { grid-template-columns: 1fr; gap: 28px; }
  .dns-flow { overflow-x: auto; padding-bottom: 4px; grid-template-columns: 120px 28px 120px 28px 120px 28px 145px; scrollbar-width: thin; }
  .reference-trio { grid-template-columns: 1fr; }
  .reference-trio .mini-panel:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .site-shell { width: 100%; margin: 0; min-height: 100vh; border-radius: 0; border-left: 0; border-right: 0; padding: 13px 12px 18px; }
  .site-header { min-height: 46px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-button:nth-child(2) { display: none; }
  .icon-button { width: 38px; height: 38px; }
  .hero-title-row { align-items: flex-start; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 15px; }
  .eyebrow-chip { min-height: 29px; font-size: 10px; }
  .server-card { min-height: 266px; padding: 17px; }
  .server-name-row h2 { font-size: 22px; }
  .online { height: 24px; padding: 0 8px; }
  .hostname-line { font-size: 16px; }
  .facts div { grid-template-columns: 82px 1fr; }
  .snapshot-actions { grid-template-columns: 1fr; }
  .explain-band { padding: 22px 18px; }
  .explain-copy h2 { font-size: 30px; }
  .bottom-cta { min-height: 54px; padding: 0 18px; justify-content: space-between; }
}

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

/* =========================================================
   Browse Root Servers page
   ========================================================= */
.browse-main { padding-top: 54px; }
.browse-hero { margin-bottom: 22px; }
.browse-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
.browse-hero p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.browse-searchbar { margin-top: 24px; min-height: 58px; padding: 0 16px 0 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid #55564e; border-radius: 16px; background: var(--bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.02); }
.browse-searchbar:focus-within { border-color: #7f806f; box-shadow: 0 0 0 3px rgba(224,215,173,.07); }
.browse-searchbar svg { width: 20px; height: 20px; color: #d7d7d0; }
.browse-searchbar input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: 500 14px/1.3 var(--font); }
.browse-searchbar input::placeholder { color: var(--muted-2); }
.browse-searchbar kbd { border: 1px solid var(--line); border-radius: 7px; padding: 5px 8px; color: #a5a69f; font: 11px var(--font); background: var(--panel); }
.filter-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.filter-pill { min-height: 39px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: transparent; font: 600 12px var(--font); cursor: pointer; transition: .16s ease; }
.filter-pill:hover { background: var(--panel-hover); border-color: #55564f; }
.filter-pill.active { color: #11120f; background: linear-gradient(110deg,#f0e9c4,#ddd3a0); border-color: #efe8c4; }
.filter-pill svg { width: 13px; height: 13px; }

.browse-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 14px; align-items: start; }
.table-panel, .browse-side-panel, .browse-banner, .browse-feature { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-card); }
.table-panel { overflow: hidden; }
.table-toolbar { min-height: 60px; padding: 0 15px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.table-toolbar h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.toolbar-button { min-height: 36px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font: 600 11px var(--font); }
.toolbar-button:hover { background: var(--panel-hover); }
.toolbar-button svg { width: 14px; height: 14px; }
.server-table-wrap { overflow-x: auto; scrollbar-width: thin; }
.server-table { width: 100%; min-width: 940px; border-collapse: collapse; table-layout: fixed; }
.server-table th { height: 44px; padding: 0 11px; color: var(--muted-2); text-align: left; font-size: 10px; font-weight: 500; white-space: nowrap; background: var(--panel-2); }
.server-table th .sort-label { display: inline-flex; align-items: center; gap: 5px; }
.server-table th svg { width: 10px; height: 10px; opacity: .7; }
.server-table td { height: 59px; padding: 0 11px; border-top: 1px solid var(--line); color: var(--text); font-size: 11px; vertical-align: middle; }
.server-table tbody tr { cursor: pointer; transition: .15s ease; }
.server-table tbody tr:hover { background: var(--panel-hover); }
.server-table .col-root { width: 58px; }
.server-table .col-host { width: 154px; }
.server-table .col-operator { width: 182px; }
.server-table .col-ipv4 { width: 124px; }
.server-table .col-ipv6 { width: 188px; }
.server-table .col-asn { width: 88px; }
.server-table .col-sites { width: 92px; }
.server-table .col-action { width: 36px; }
.root-badge { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); color: #fff; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.server-table a { color: inherit; }
.server-table .hostname { color: var(--text); font-weight: 600; }
.server-table .operator-short { color: var(--text); line-height: 1.25; }
.server-table .operator-short small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 9px; }
.server-table .mono { font-feature-settings: "tnum" 1, "ss01" 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.asn-pill { display: inline-flex; min-height: 27px; padding: 0 9px; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-size: 10px; }
.site-count { display: inline-flex; align-items: center; gap: 5px; }
.site-count .status-dot { width: 6px; height: 6px; }
.row-chevron { width: 15px; height: 15px; color: #969891; }
.table-footer { min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; }
.rows-control { display: inline-flex; align-items: center; gap: 10px; }
.rows-select { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); color: var(--text); font: 600 10px var(--font); }

.browse-sidebar { display: grid; gap: 11px; }
.browse-side-panel { padding: 15px; }
.browse-side-panel h2, .browse-side-panel h3 { margin: 0; }
.side-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.side-title h2, .side-title h3 { font-size: 15px; }
.side-title svg { width: 18px; height: 18px; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; }
.overview-stat { min-height: 86px; padding: 10px 8px 12px 0; border-bottom: 1px solid #30312d; }
.overview-stat:nth-child(odd) { border-right: 1px solid #30312d; }
.overview-stat:nth-child(even) { padding-left: 14px; }
.overview-stat:nth-last-child(-n+2) { border-bottom: 0; }
.overview-stat strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.overview-stat span { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.active-filter-copy { margin: 0; color: var(--muted-2); font-size: 10px; line-height: 1.6; }
.active-filter-copy strong { color: var(--muted); font-weight: 500; }
.clear-link { margin-left: auto; color: var(--text); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.side-links { display: grid; gap: 6px; }
.side-links a { min-height: 34px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 10px; background: var(--panel); }
.side-links a:hover { background: var(--panel-hover); }
.side-links svg { width: 13px; height: 13px; }
.data-card { margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-hover); }
.data-card-head { display: flex; gap: 9px; }
.data-card-head svg { width: 19px; height: 19px; color: #e8deb1; }
.data-card strong { display: block; font-size: 11px; }
.data-card p { margin: 4px 0 11px; color: var(--muted-2); font-size: 9px; line-height: 1.45; }
.data-card .button { width: 100%; min-height: 38px; }

.browse-banner { margin-top: 14px; min-height: 75px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #11120f; background: linear-gradient(105deg,#eee6bd,#dfd5a5); border-color: #f4edcb; }
.browse-banner h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.browse-banner p { margin: 4px 0 0; color: #414138; font-size: 10px; }
.browse-banner .button { flex: 0 0 auto; }
.browse-feature-row { margin-top: 11px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 11px; }
.browse-feature { min-height: 93px; padding: 15px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.feature-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--panel-hover); }
.feature-icon svg { width: 17px; height: 17px; }
.browse-feature strong { display: block; font-size: 11px; }
.browse-feature p { margin: 5px 0 0; color: var(--muted-2); font-size: 9px; line-height: 1.5; }
.mini-bars { margin-top: 7px; height: 21px; display: flex; align-items: end; gap: 3px; }
.mini-bars i { display: block; width: 5px; border-radius: 2px 2px 0 0; background: #8f8f82; }
.mini-bars i:nth-child(1) { height: 9px; }
.mini-bars i:nth-child(2) { height: 16px; }
.mini-bars i:nth-child(3) { height: 12px; }
.mini-bars i:nth-child(4) { height: 21px; }
.mini-bars i:nth-child(5) { height: 14px; }
.format-tags { margin-top: 8px; display: flex; gap: 4px; }
.format-tags span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 999px; color: #92948d; font-size: 7px; }
.browse-learn { margin-top: 11px; min-height: 61px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.browse-learn .left { display: flex; align-items: center; gap: 12px; }
.browse-learn .left svg { width: 21px; height: 21px; }
.browse-learn strong { display: block; font-size: 11px; }
.browse-learn p { margin: 3px 0 0; color: var(--muted-2); font-size: 9px; }

@media (max-width: 1100px) {
  .browse-layout { grid-template-columns: 1fr; }
  .browse-sidebar { grid-template-columns: 1fr 1fr 1fr; }
  .browse-sidebar .browse-side-panel:first-child { grid-column: span 1; }
  .browse-feature-row { grid-template-columns: 1fr 1fr; }
  .browse-feature-row .browse-feature:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .browse-main { padding-top: 34px; }
  .browse-hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .browse-hero p { font-size: 15px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-pill { flex: 0 0 auto; }
  .toolbar-actions .toolbar-button span { display: none; }
  .toolbar-button { width: 36px; padding: 0; justify-content: center; }
  .browse-sidebar { grid-template-columns: 1fr; }
  .browse-feature-row { grid-template-columns: 1fr; }
  .browse-feature-row .browse-feature:last-child { grid-column: auto; }
  .browse-banner { padding: 16px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .browse-searchbar { min-height: 54px; }
  .browse-searchbar kbd { display: none; }
  .table-toolbar { min-height: 56px; padding-inline: 13px; }
  .table-toolbar h2 { font-size: 15px; }
  .server-table-wrap { overflow: visible; }
  .server-table { min-width: 0; display: block; padding: 8px; }
  .server-table thead { display: none; }
  .server-table tbody { display: grid; gap: 7px; }
  .server-table tr { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; grid-template-areas: "root host action" "root operator action" "meta meta meta"; align-items: center; min-height: 112px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .server-table td { height: auto; padding: 0; border: 0; }
  .server-table td:nth-child(1) { grid-area: root; }
  .server-table td:nth-child(2) { grid-area: host; }
  .server-table td:nth-child(3) { grid-area: operator; margin-top: 4px; color: #92948d; }
  .server-table td:nth-child(4), .server-table td:nth-child(5), .server-table td:nth-child(6), .server-table td:nth-child(7) { grid-area: meta; margin-top: 10px; display: inline-flex; }
  .server-table td:nth-child(4) { margin-right: 9px; }
  .server-table td:nth-child(5) { display: none; }
  .server-table td:nth-child(6) { justify-self: center; }
  .server-table td:nth-child(7) { justify-self: end; }
  .server-table td:nth-child(8) { grid-area: action; align-self: center; }
  .server-table .operator-short small { display: none; }
  .table-footer { align-items: flex-start; padding-block: 13px; flex-direction: column; }
  .browse-learn { min-height: 78px; padding-block: 12px; align-items: flex-start; flex-direction: column; }
  .browse-learn .button { width: 100%; }
}

.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* =========================================================
   Single Root Server detail page
   ========================================================= */
.detail-shell { padding-bottom: 20px; }
.detail-header { position: relative; z-index: 40; }
.server-detail-main { padding-top: 36px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .95fr); gap: 28px; align-items: start; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: #8e908a; font-size: 12px; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs svg { width: 13px; height: 13px; }
.detail-title-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-title-row h1 { margin: 0; font-size: clamp(54px, 7vw, 80px); line-height: .9; letter-spacing: -.065em; font-weight: 700; }
.operational-badge { min-height: 32px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; color: #a7edb9; background: rgba(65,183,94,.14); border: 1px solid rgba(101,217,130,.08); font-size: 12px; font-weight: 600; }
.operational-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(176,177,171,.06); }
.detail-hostname { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--text); font-size: clamp(19px, 2.1vw, 26px); font-weight: 600; letter-spacing: -.03em; }
.detail-hero-copy > p { margin: 12px 0 0; color: #b5b6b0; font-size: 16px; line-height: 1.5; }
.detail-chips { margin-top: 21px; display: flex; gap: 9px; flex-wrap: wrap; }
.detail-chips span, .mini-badge, .scope-pill { min-height: 31px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: #242522; color: #e1e1db; font-size: 11px; }

.technical-facts, .detail-panel { border: 1px solid var(--line-soft); background: var(--panel); border-radius: var(--radius-card); }
.technical-facts { padding: 19px 20px 13px; }
.detail-panel-title { display: flex; align-items: center; gap: 11px; }
.detail-panel-title svg { width: 22px; height: 22px; color: #f0f0e9; }
.detail-panel-title h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.technical-facts dl { margin: 14px 0 0; }
.technical-facts dl > div { min-height: 42px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.technical-facts dt { color: #a1a39c; font-size: 12px; }
.technical-facts dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--text); font-size: 12px; font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.inline-copy { width: 24px; height: 24px; border: 0; padding: 0; display: grid; place-items: center; flex: 0 0 auto; background: transparent; color: var(--muted); cursor: pointer; border-radius: 6px; }
.inline-copy:hover { color: var(--text); background: var(--line-soft); }
.inline-copy svg { width: 14px; height: 14px; }

.detail-tabs { margin: 18px 0 14px; min-height: 48px; padding: 4px; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #3a3b35; border-radius: 999px; background: var(--bg); }
.detail-tabs a { position: relative; display: grid; place-items: center; min-height: 40px; color: var(--text); font-size: 12px; font-weight: 600; border-radius: 999px; }
.detail-tabs a + a::before { content: ""; position: absolute; left: 0; width: 1px; height: 20px; background: var(--line-soft); }
.detail-tabs a:hover { color: white; }
.detail-tabs .selected { background: linear-gradient(110deg,#efe7c0,#ded4a2); color: #10110e; }
.detail-tabs .selected + a::before { display: none; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-panel { padding: 19px; }
.detail-grid-top { align-items: stretch; }
.explainer-panel > p { margin: 17px 0 0; color: #c1c1bb; font-size: 14px; line-height: 1.55; }
.explainer-panel > p strong { color: #efefe9; font-weight: 600; }
.trait-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.trait-card { min-height: 142px; padding: 14px 12px; border: 1px solid #3a3b35; border-radius: 12px; background: var(--panel); }
.trait-card svg { width: 24px; height: 24px; color: #eae2b7; }
.trait-card strong { display: block; margin-top: 15px; font-size: 12px; }
.trait-card span { display: block; margin-top: 6px; color: var(--muted-2); font-size: 10px; line-height: 1.45; }
.network-list { margin: 13px 0 0; }
.network-list > div { min-height: 40px; display: grid; grid-template-columns: .8fr 1.4fr; align-items: center; gap: 14px; border-top: 1px solid var(--line); }
.network-list dt { color: #969891; font-size: 11px; }
.network-list dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: #e9e9e3; font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.valid-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }

.detail-grid-middle { margin-top: 12px; }
.deployment-panel, .anycast-panel { min-height: 190px; }
.deployment-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.deployment-stats > div { min-height: 105px; padding: 15px 12px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #32332f; }
.deployment-stats > div:last-child { border-right: 0; }
.deployment-stats strong { font-size: 27px; letter-spacing: -.05em; }
.deployment-stats span { margin-top: 4px; color: #d2d2cc; font-size: 10px; }
.deployment-stats small { margin-top: 5px; color: #74766f; font-size: 8px; line-height: 1.4; }
.anycast-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.anycast-heading-row p { margin: 7px 0 0; color: var(--muted-2); font-size: 10px; }
.mini-badge { min-height: 27px; padding-inline: 10px; font-size: 9px; }
.anycast-diagram { margin-top: 21px; min-height: 108px; display: grid; grid-template-columns: 90px 1fr 160px 1fr 90px; align-items: center; gap: 8px; }
.diagram-side { display: grid; gap: 13px; }
.diagram-side span { position: relative; color: #bfc0b9; font-size: 9px; }
.diagram-side.left span { text-align: right; padding-right: 18px; }
.diagram-side.right span { padding-left: 18px; }
.diagram-side span::after, .diagram-side.right span::before { content:""; position:absolute; top:50%; width:10px; height:10px; margin-top:-5px; border-radius:50%; background: var(--green); box-shadow: 0 0 0 6px rgba(176,177,171,.08); }
.diagram-side.left span::after { right:0; }
.diagram-side.right span::before { left:0; }
.diagram-lines { height: 92px; display: grid; align-items: center; }
.diagram-lines i { display:block; height:1px; background: linear-gradient(90deg,#5e6058,#c4c5bd); transform-origin:center; }
.left-lines i:nth-child(1), .right-lines i:nth-child(3) { transform: rotate(17deg); }
.left-lines i:nth-child(3), .right-lines i:nth-child(1) { transform: rotate(-17deg); }
.diagram-core { min-height: 76px; padding: 11px; display: grid; place-items: center; align-content: center; border: 1px solid #ccc6a3; border-radius: 12px; background: var(--panel-2); box-shadow: 0 0 0 4px rgba(232,224,187,.025); }
.diagram-core strong { font-size: 12px; }
.diagram-core span { display:block; margin-top:3px; color:#a7a8a1; font-size:8px; }

.locations-panel { margin-top: 12px; padding-bottom: 12px; }
.locations-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.locations-heading p { margin: 7px 0 0; color: var(--muted-2); font-size: 10px; }
.outline-action { min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; border: 1px solid #41423d; border-radius: 999px; color: #e1e1db; font-size: 10px; font-weight: 600; }
.outline-action:hover { background: var(--panel-hover); }
.outline-action svg { width: 13px; height: 13px; }
.detail-table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.locations-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.locations-table th { height: 38px; padding: 0 13px; text-align: left; color: #9a9b94; background: var(--panel); font-size: 10px; font-weight: 500; }
.locations-table td { height: 42px; padding: 0 13px; border-top: 1px solid var(--line); color: var(--text); font-size: 10px; }
.locations-table th:nth-child(1) { width: 28%; }
.locations-table th:nth-child(2) { width: 18%; }
.locations-table th:nth-child(3), .locations-table th:nth-child(4), .locations-table th:nth-child(5) { width: 18%; }
.location-dot { width: 9px; height: 9px; display: inline-block; margin-right: 9px; border-radius: 50%; vertical-align: -1px; }
.dot-green { background:#b0b1ab; }.dot-blue{background:#67a7ec}.dot-pink{background:#ec6c84}.dot-yellow{background:#f2cf68}.dot-purple{background:#9d73f0}
.scope-pill { min-height: 23px; padding-inline: 9px; background:var(--panel-2); font-size:9px; }

.source-grid { margin-top: 12px; }
.source-list, .related-list { display: grid; margin-top: 13px; }
.source-list a { min-height: 60px; padding: 8px 10px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-bottom: 0; }
.source-list a:first-child { border-radius: 12px 12px 0 0; }
.source-list a:last-child { border-bottom: 1px solid #353630; border-radius: 0 0 12px 12px; }
.source-list a:hover, .related-list a:hover { background: var(--panel-hover); }
.source-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.source-icon svg { width: 16px; height: 16px; }
.source-icon.green { color:var(--accent);background:rgba(233,226,189,.1) }.source-icon.blue{color:#8bb9f5;background:rgba(91,149,225,.1)}.source-icon.yellow{color:#ead875;background:rgba(226,194,86,.1)}
.source-list strong, .related-list strong { display: block; color:var(--text); font-size: 11px; }
.source-list small, .related-list small { display:block; margin-top:3px; color:#7f8179; font-size:9px; line-height:1.35; }
.source-list > a > svg { width: 14px; height: 14px; color:#b6b7b0; }
.related-list a { min-height: 49px; padding: 7px 11px; display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid #353630; border-bottom:0; }
.related-list a:first-child { border-radius:12px 12px 0 0; }
.related-list a:last-child { border-bottom:1px solid #353630; border-radius:0 0 12px 12px; }
.related-list svg { width:14px; height:14px; color:#a7a8a2; }

.detail-next-prev { margin-top: 13px; min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 999px; background: linear-gradient(110deg,#eee6bd,#dfd5a5); color: #11120f; border: 1px solid #f2ebc8; }
.detail-next-prev a { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.detail-next-prev svg { width: 14px; height: 14px; }

@media (max-width: 1100px) {
  .detail-hero { grid-template-columns: minmax(0,1.25fr) minmax(300px,.9fr); gap:18px; }
  .detail-title-row h1 { font-size:64px; }
  .trait-grid { grid-template-columns:1fr; }
  .trait-card { min-height:92px; display:grid; grid-template-columns:auto 1fr; grid-template-areas:"icon title" "icon copy"; column-gap:12px; align-content:center; }
  .trait-card svg { grid-area:icon; align-self:center; }
  .trait-card strong { grid-area:title; margin:0; }
  .trait-card span { grid-area:copy; margin-top:4px; }
  .anycast-diagram { grid-template-columns:80px 1fr 140px 1fr 80px; }
}

@media (max-width: 820px) {
  .server-detail-main { padding-top:28px; }
  .detail-hero { grid-template-columns:1fr; }
  .technical-facts { max-width:none; }
  .detail-tabs { overflow-x:auto; display:flex; border-radius:14px; scrollbar-width:none; }
  .detail-tabs::-webkit-scrollbar { display:none; }
  .detail-tabs a { flex:0 0 auto; min-width:125px; padding-inline:16px; }
  .detail-tabs a + a::before { display:none; }
  .detail-grid { grid-template-columns:1fr; }
  .trait-grid { grid-template-columns:repeat(3,1fr); }
  .trait-card { min-height:130px; display:block; }
  .trait-card strong { margin-top:14px; }
  .deployment-stats { grid-template-columns:repeat(2,1fr); }
  .deployment-stats > div { border-bottom:1px solid #32332f; }
  .deployment-stats > div:nth-child(2) { border-right:0; }
  .deployment-stats > div:nth-child(3), .deployment-stats > div:nth-child(4) { border-bottom:0; }
  .locations-heading { align-items:stretch; flex-direction:column; }
  .outline-action { width:fit-content; }
  .anycast-diagram { grid-template-columns:75px 1fr 140px 1fr 75px; }
}

@media (max-width: 560px) {
  .detail-title-row { gap:12px; }
  .detail-title-row h1 { font-size:54px; }
  .operational-badge { min-height:29px; padding-inline:10px; font-size:10px; }
  .detail-hostname { font-size:18px; }
  .detail-hero-copy > p { font-size:14px; }
  .detail-chips { margin-top:16px; gap:6px; }
  .detail-chips span { min-height:29px; padding-inline:10px; font-size:9px; }
  .technical-facts { padding:16px; }
  .technical-facts dl > div { grid-template-columns:90px 1fr; }
  .detail-panel { padding:16px; }
  .trait-grid { grid-template-columns:1fr; }
  .trait-card { min-height:88px; display:grid; grid-template-columns:auto 1fr; grid-template-areas:"icon title" "icon copy"; column-gap:12px; align-content:center; }
  .trait-card svg { grid-area:icon; }.trait-card strong { grid-area:title; margin:0; }.trait-card span { grid-area:copy; margin-top:4px; }
  .network-list > div { grid-template-columns:92px 1fr; }
  .deployment-stats { grid-template-columns:1fr 1fr; }
  .deployment-stats > div { min-height:92px; padding:13px 10px; }
  .deployment-stats strong { font-size:23px; }
  .anycast-panel { overflow:hidden; }
  .anycast-diagram { min-width:560px; transform:scale(.78); transform-origin:left top; margin-bottom:-20px; }
  .detail-table-wrap { margin-inline:-4px; }
  .source-grid { grid-template-columns:1fr; }
  .detail-next-prev { border-radius:14px; padding:12px 14px; }
  .detail-next-prev a { font-size:10px; }
}


/* ===== LIGHT MODE ===== */
body.light {
  --bg: #ffffff;
  --shell: #ffffff;
  --panel: #ffffff;
  --panel-2: #f9f9f9;
  --panel-hover: #f5f5f5;
  --line: #e5e5e5;
  --line-soft: #efefef;
  --text: #1a1a1a;
  --muted: #666666;
  --muted-2: #888888;
  --accent: #1a1a1a;
  --accent-2: #333333;
  --accent-ink: #ffffff;
  background: #f5f5f5;
  color: #1a1a1a;
}
body.light .site-shell { background: #fff; border-color: #e5e5e5; box-shadow: 0 8px 40px rgba(0,0,0,.06); }
body.light .brand-mark i { background: #1a1a1a; }

/* Cards & Panels */
body.light .server-card, body.light .snapshot-card, body.light .mini-panel,
body.light .panel, body.light .operator-card, body.light .stat-card,
body.light .guide-card, body.light .browse-side-panel, body.light .browse-feature,
body.light .browse-learn, body.light .format-card, body.light .rfc-card,
body.light .source-card, body.light .resource-card { background: #fff; border-color: #e5e5e5; }
body.light .server-card:hover, body.light .guide-card:hover,
body.light .operator-card:hover, body.light .rfc-card:hover { background: #fafafa; border-color: #d0d0d0; }

/* Typography - all text dark */
body.light h1, body.light h2, body.light h3, body.light h4,
body.light strong, body.light b { color: #1a1a1a; }
body.light p, body.light li, body.light dd, body.light td,
body.light label, body.light span { color: #1a1a1a; }
body.light dt, body.light small, body.light th { color: #666; }
body.light .hero p, body.light .lede, body.light .browse-hero p { color: #444; }
body.light .facts dd, body.light .hostname-line, body.light .hostname-line a { color: #1a1a1a; }
body.light .facts dt { color: #666; }

/* Nav */
body.light .desktop-nav a { color: #666; }
body.light .desktop-nav a:hover, body.light .desktop-nav a.active { color: #1a1a1a; }
body.light .desktop-nav a.active::after { background: #1a1a1a; }
body.light .mobile-nav { background: #fff; border-color: #e5e5e5; }
body.light .mobile-nav a { color: #666; }
body.light .mobile-nav a.active { background: #1a1a1a; color: #fff; }

/* Tabs & Pills */
body.light .section-tabs a { color: #666; }
body.light .section-tabs .selected { background: #1a1a1a; color: #fff; }
body.light .filter-pill { color: #1a1a1a; border-color: #e5e5e5; background: #fff; }
body.light .filter-pill:hover { background: #f5f5f5; }
body.light .filter-pill.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* Chips & Badges */
body.light .chips span, body.light .tags .tag, body.light .tag-row span { background: #f5f5f5; border-color: #e5e5e5; color: #1a1a1a; }
body.light .asn-pill { background: #f5f5f5; border-color: #e5e5e5; color: #1a1a1a; }
body.light .root-badge { background: #1a1a1a; color: #fff; }
body.light .eyebrow-chip, body.light .eyebrow-pill { background: #f5f5f5; border-color: #e5e5e5; color: #666; }
body.light .online { background: rgba(26,26,26,.06); color: #1a1a1a; }
body.light .online span { background: #1a1a1a; }
body.light .status-dot { background: #1a1a1a; box-shadow: none; }
body.light .snapshot-pill { color: #666; border-color: #e5e5e5; }

/* Buttons & Inputs */
body.light .icon-button { border-color: #e5e5e5; color: #1a1a1a; }
body.light .icon-button:hover { background: #f5f5f5; }
body.light .button-accent { background: #1a1a1a; color: #fff; }
body.light .button-dark { background: #1a1a1a; color: #fff; }
body.light .button-outline { border-color: #e5e5e5; color: #1a1a1a; }
body.light .copy-btn, body.light .ghost-icon, body.light .inline-copy { color: #888; }
body.light .toolbar-button, body.light .rows-select { background: #fff; color: #1a1a1a; border-color: #e5e5e5; }
body.light .filter-select { background-color: #fff; color: #1a1a1a; border-color: #e5e5e5; }

/* Search */
body.light .search-dialog { background: #fff; border-color: #e5e5e5; }
body.light .search-box, body.light .global-search-box { background: #fff; border-color: #e5e5e5; }
body.light .search-box input, body.light .global-search-box input { color: #1a1a1a; }
body.light .search-box kbd, body.light .global-search-box kbd { color: #888; border-color: #e5e5e5; }
body.light .search-result:hover { background: #f5f5f5; }
body.light .browse-searchbar { background: #fff; border-color: #e5e5e5; }
body.light .browse-searchbar input { color: #1a1a1a; }
body.light .browse-searchbar kbd { color: #888; border-color: #e5e5e5; }
body.light .search-field { background: #fff; border-color: #e5e5e5; }
body.light .search-field input { color: #1a1a1a; }

/* Tables */
body.light .server-table th { background: #fafafa; color: #666; }
body.light .server-table td { color: #1a1a1a; border-color: #efefef; }
body.light .server-table .hostname { color: #1a1a1a; }
body.light .server-table .operator-short { color: #1a1a1a; }
body.light .server-table .operator-short small { color: #888; }
body.light .server-table .mono { color: #1a1a1a; }
body.light .server-table tbody tr:hover { background: #fafafa; }
body.light .location-table th { background: #fafafa; color: #666; }
body.light .location-table td { color: #1a1a1a; }
body.light .location-table tbody tr:hover { background: #fafafa; }
body.light .locations-table th { background: #fafafa; color: #666; }
body.light .locations-table td { color: #1a1a1a; }
body.light .type-pill, body.light .root-chip, body.light .scope-pill { background: #f5f5f5; color: #1a1a1a; border-color: #e5e5e5; }
body.light .country-code { background: #f5f5f5; color: #1a1a1a; border-color: #e5e5e5; }
body.light .live-dot { background: #1a1a1a; box-shadow: none; }
body.light .site-count { color: #1a1a1a; }
body.light .row-chevron { color: #888; }
body.light .table-footer, body.light [data-showing], body.light .rows-control { color: #666; }
body.light .page-button { background: #fff; color: #1a1a1a; border-color: #e5e5e5; }
body.light .page-button.active { background: #1a1a1a; color: #fff; }

/* Sidebar */
body.light .side-links a { background: #fff; color: #1a1a1a; border-color: #e5e5e5; }
body.light .side-links a:hover { background: #fafafa; }
body.light .lookup-list a { color: #1a1a1a; border-color: #e5e5e5; background: #fff; }
body.light .lookup-list a:hover { background: #fafafa; }
body.light .data-card { background: #fafafa; border-color: #e5e5e5; }
body.light .overview-stat strong { color: #1a1a1a; }
body.light .overview-stat span { color: #666; }
body.light .active-filter-copy { color: #666; }
body.light .active-filter-copy strong { color: #1a1a1a; }
body.light .metric-row span { color: #666; }
body.light .metric-row strong { color: #1a1a1a; }

/* Inverted sections */
body.light .explain-band { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .explain-band h2, body.light .explain-band p { color: #fff; }
body.light .explain-band .flow-node > span { border-color: rgba(255,255,255,.3); color: #fff; }
body.light .explain-band .flow-node small { color: rgba(255,255,255,.5); }
body.light .explain-band .flow-node small::before { background: rgba(255,255,255,.3); }
body.light .explain-band .flow-node small::after { background: rgba(255,255,255,.2); }
body.light .explain-band .flow-line b { background: rgba(255,255,255,.2); }
body.light .explain-band .button-dark { background: #fff; color: #1a1a1a; }
body.light .bottom-cta { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .bottom-cta span, body.light .bottom-cta svg { color: #fff; }
body.light .browse-banner { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .browse-banner h2, body.light .browse-banner p { color: #fff; }
body.light .system-band { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .system-band h2, body.light .system-band p, body.light .system-band strong, body.light .system-band span { color: #fff; }
body.light .band-stat { border-color: rgba(255,255,255,.15); }
body.light .learning-card { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .learning-card h2, body.light .learning-card p { color: #fff; }
body.light .learning-card .button { background: #fff; color: #1a1a1a; }
body.light .footer-cta { background: #1a1a1a; color: #fff; }
body.light .footer-cta strong, body.light .footer-cta small { color: #fff; }

/* Operators */
body.light .avatar { background: #1a1a1a; color: #fff; }
body.light .published { color: #1a1a1a; }
body.light .published i { background: #1a1a1a; }
body.light .operator-summary { color: #444; }
body.light .root-letter { color: #1a1a1a; }
body.light .matrix .letter { background: #1a1a1a; color: #fff; }
body.light .matrix .dot { background: #1a1a1a; }
body.light .matrix .operator-cell { color: #1a1a1a; }
body.light .rank-badge { background: #1a1a1a; color: #fff; }
body.light .bar { background: #efefef; }
body.light .bar i { background: #1a1a1a; }
body.light .card-link { color: #666; }

/* Guides */
body.light .article-meta span { color: #666; border-color: #e5e5e5; }
body.light .article-meta svg { color: #1a1a1a; }
body.light .section-index { color: #888; }
body.light .section-body p, body.light .section-body ul, body.light .section-body li { color: #333; }
body.light .section-body li::marker { color: #1a1a1a; }
body.light .article-section::before { background: #e5e5e5; }
body.light .big-picture { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .big-picture h2, body.light .big-picture p { color: #fff; }
body.light .flow-step b { color: #fff; border-color: rgba(255,255,255,.3); }
body.light .flow-step span { color: rgba(255,255,255,.5); }
body.light .dns-flow > svg { color: #fff; }
body.light .quote-card { background: #fafafa; border-color: #e5e5e5; }
body.light .quote-card strong, body.light .quote-card span { color: #1a1a1a; }
body.light .quote-card > svg { color: #1a1a1a; }
body.light .stat-card { background: #fafafa; border-color: #e5e5e5; }
body.light .stat-card strong { color: #1a1a1a; }
body.light .stat-card svg { color: #1a1a1a; }
body.light .stat-card p, body.light .stat-card > span { color: #666; }
body.light .inline-sources a { background: #fff; border-color: #e5e5e5; }
body.light .toc-card nav a { color: #666; }
body.light .toc-card nav a b { color: #888; }
body.light .toc-card nav a:hover { color: #1a1a1a; }
body.light .toc-card nav a.active { background: #1a1a1a; color: #fff; }
body.light .toc-card nav a.active b { color: rgba(255,255,255,.6); }
body.light .rail-actions button { color: #666; }
body.light .rail-actions button + button { border-color: #e5e5e5; }
body.light .references-card > a { border-color: #efefef; }
body.light .more-guides-card { border-color: #e5e5e5; }
body.light .more-guides-card > svg:first-child { color: #1a1a1a; }
body.light .more-guides-card > svg:last-child { background: #1a1a1a; color: #fff; }
body.light .related-card { border-color: #e5e5e5; }
body.light .related-card > svg:first-child { background: #f5f5f5; color: #1a1a1a; }
body.light .related-card > svg:last-child { background: #f5f5f5; }
body.light .arrow-button { background: #1a1a1a; color: #fff; }
body.light .rank { background: #1a1a1a; color: #fff; }
body.light .featured-side { border-color: #e5e5e5; }
body.light code { background: #f5f5f5; color: #1a1a1a; border-color: #e5e5e5; }
body.light .breadcrumbs, body.light .breadcrumbs a { color: #888; }
body.light .breadcrumbs span { color: #1a1a1a; }

/* Footer */
body.light .footer-nav a { color: #666; }
body.light .footer-copy { color: #888; }

/* Map & Locations */
body.light .map-stage { background: #fafafa; }
body.light .map-label { background: #fff; border-color: #e5e5e5; }
body.light .map-note { color: #888; }
body.light .legend-item { color: #666; }

/* Toast & Mobile TOC */
body.light .toast { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
body.light .mobile-toc { background: #fff; border-color: #e5e5e5; }
body.light .mobile-toc button { color: #1a1a1a; }
body.light .mobile-toc button small { color: #888; }
body.light .mobile-toc nav a { color: #666; }
body.light .mobile-toc nav a:hover { background: #f5f5f5; }

/* Detail pages */
body.light .detail-chips span { background: #f5f5f5; border-color: #e5e5e5; color: #1a1a1a; }
body.light .operational-badge { color: #1a1a1a; }
body.light .operational-badge span { background: #1a1a1a; }
body.light .source-icon { color: #1a1a1a; background: #f5f5f5; }
body.light .detail-next-prev a { color: #1a1a1a; }
body.light .outline-action { color: #1a1a1a; }
body.light .mini-badge { color: #1a1a1a; }
body.light .diagram-core strong, body.light .diagram-core span { color: #1a1a1a; }
body.light .diagram-side span { color: #1a1a1a; }
body.light .update-bullet { background: #1a1a1a; }
body.light .panel-kicker i { background: #1a1a1a; }
body.light .feature-icon { background: #f5f5f5; border-color: #e5e5e5; color: #1a1a1a; }
body.light .format-tags span { color: #888; border-color: #e5e5e5; }
body.light .mini-bars i { background: #ccc; }
body.light .rfc-number { background: #f5f5f5; border-color: #e5e5e5; color: #1a1a1a; }
body.light .rfc-status { color: #666; }
body.light .rfc-link { color: #1a1a1a; border-color: #e5e5e5; }
body.light .rfc-link:hover { background: #f5f5f5; }
body.light .resource-link { color: #1a1a1a; border-color: #e5e5e5; }
body.light .resource-link:hover { background: #f5f5f5; }
body.light .source-link { color: #1a1a1a; border-color: #e5e5e5; }
body.light .source-link:hover { background: #f5f5f5; }
body.light .mobile-location-card { background: #fff; border-color: #e5e5e5; }
body.light .mobile-location-meta div { background: #f5f5f5; }

body.light .server-table td { color: #1a1a1a !important; }
body.light .server-table .hostname { color: #1a1a1a !important; }
body.light .server-table .operator-short { color: #1a1a1a !important; }
body.light .server-table .operator-short small { color: #888 !important; }
body.light .server-table .mono { color: #1a1a1a !important; }
body.light .server-table th { color: #666 !important; }
body.light .locations-table td { color: #1a1a1a !important; }
body.light .locations-table th { color: #666 !important; }
body.light .network-list dt { color: #666 !important; }
body.light .network-list dd { color: #1a1a1a !important; }
body.light .deployment-stats strong { color: #1a1a1a !important; }
body.light .deployment-stats span { color: #666 !important; }
body.light .deployment-stats small { color: #888 !important; }
body.light .detail-panel-title h2 { color: #1a1a1a !important; }
body.light .trait-card strong { color: #1a1a1a !important; }
body.light .trait-card span { color: #666 !important; }
body.light .anycast-heading-row p { color: #666 !important; }
body.light .source-list strong { color: #1a1a1a !important; }
body.light .source-list small { color: #666 !important; }
body.light .related-list strong { color: #1a1a1a !important; }
body.light .related-list small { color: #666 !important; }
body.light .detail-hostname span { color: #1a1a1a !important; }
body.light .detail-hero-copy p { color: #444 !important; }
body.light .technical-facts dt { color: #666 !important; }
body.light .technical-facts dd { color: #1a1a1a !important; }
body.light .technical-facts dd span { color: #1a1a1a !important; }
