: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;
  
  
  --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(--accent); box-shadow: 0 0 0 4px rgba(233,226,189,.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: rgba(233,226,189,.1); color: var(--accent); font-size: 11px; white-space: nowrap; }
.online span { width: 7px; height: 7px; background: var(--accent); 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: var(--accent); }
.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; }
}


/* ===== 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 .hostname-line { color: #1a1a1a !important; }
body.light .hostname-line a { color: #1a1a1a !important; }
body.light .facts dt { color: #666 !important; }
body.light .facts dd { color: #1a1a1a !important; }
body.light .card-footer { color: #666 !important; }
body.light .card-footer a { color: #666 !important; }
body.light .server-name-row h2 { color: #1a1a1a !important; }
body.light .snapshot-list dt { color: #666 !important; }
body.light .snapshot-list dd { color: #1a1a1a !important; }
body.light .mini-panel-head h2 { color: #1a1a1a !important; }
body.light .mini-panel-head > a { color: #666 !important; }
body.light .mini-list a > strong { color: #1a1a1a !important; }
body.light .mini-list a > span { color: #666 !important; }
body.light .section-tabs a { color: #666 !important; }
body.light .hero p { color: #444 !important; }
body.light .panel-heading h2 { color: #1a1a1a !important; }
body.light .panel-subheading h3 { color: #1a1a1a !important; }
