:root{
  --bg:#1b1c1a;--shell:#0d0e0d;--panel:#191a18;--panel-2:#1e1f1c;--panel-3:#242521;
  --line:#30312c;--line-soft:#282924;--text:#f5f4ef;--muted:#a4a59f;--muted-2:#777972;
  --accent:#ebe4bd;--accent-2:#d9d0a4;--accent-ink:#11120f;
  --radius-shell:24px;--radius-card:18px;--radius-sm:12px;--shadow:0 28px 80px rgba(0,0,0,.34);
  --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;background:radial-gradient(circle at 50% -10%,rgba(255,255,255,.045),transparent 28%),#1c1d1b;color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}button,input,select{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}.desktop-nav a:hover,.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}.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}.panel{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius-card)}
main{padding-top:34px}.hero{padding:0 8px 12px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:40px}.hero h1{margin:0;font-size:clamp(52px,6vw,76px);line-height:.95;letter-spacing:-.06em;font-weight:710}.hero p{margin:12px 0 0;color:var(--muted);font-size:clamp(18px,2vw,25px);line-height:1.35;letter-spacing:-.025em}.hero .hero-manifesto{margin:0;padding:3px 8px 5px 28px;border-left:1px solid #42433e;color:#a3a49e;font-size:23px;line-height:1.22;letter-spacing:-.035em;min-width:215px}.filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 4px 20px}.filter-pill{min-height:44px;padding:0 23px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);font-size:12px;cursor:pointer;transition:.18s}.filter-pill:hover{border-color:#494a43;background:#181917}.filter-pill.active{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:650}.content-grid{display:grid;grid-template-columns:minmax(0,2.55fr) minmax(300px,.94fr);gap:18px;margin:0 4px}.main-column{min-width:0}.featured{min-height:276px;padding:22px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.8fr);gap:22px}.featured-copy{padding:1px 2px}.featured-label{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;font-weight:580}.featured-label svg{width:14px;height:14px}.featured h2{margin:13px 0 10px;font-size:32px;line-height:1.05;letter-spacing:-.045em}.featured p{max-width:590px;margin:0;color:var(--muted);font-size:16px;line-height:1.45}.meta-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px}.meta-row span{display:flex;align-items:center;gap:8px;color:var(--text);font-size:12px}.meta-row svg{width:17px;height:17px}.tag-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.tag-row span{display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:var(--panel-2);color:var(--text);font-size:10px}.featured-side{padding:6px 0 2px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between}.featured-side ul{margin:0;padding-left:20px;color:var(--muted);font-size:12px;line-height:1.85}.button{min-height:44px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:650;transition:.18s}.button:hover{transform:translateY(-1px)}.button.accent{background:var(--accent);color:var(--accent-ink)}.button.dark{background:var(--bg);color:#f1f0ea;border:1px solid #2e2f2a}.button.block{width:100%}.featured-side .button{align-self:flex-start;min-width:175px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 2px 12px}.section-head h2{margin:0;font-size:24px;letter-spacing:-.035em}.section-controls{display:flex;align-items:center;gap:16px;color:#a6a7a1;font-size:11px}.section-controls label{display:flex;align-items:center;gap:7px}.section-controls select{border:0;background:transparent;color:#efefe9;outline:none;font-size:11px;padding-right:18px}.section-controls select option{background:var(--panel);color:#eee}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-card{min-height:230px;padding:18px;display:flex;flex-direction:column;transition:.18s}.guide-card:hover{border-color:#40413b;transform:translateY(-1px);background: var(--panel)}.card-top{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px}.card-top span{display:flex;align-items:center;gap:7px}.card-top svg{width:15px;height:15px}.guide-card h3{margin:17px 0 10px;font-size:18px;line-height:1.18;letter-spacing:-.025em}.guide-card h3 a:hover{color:var(--accent)}.guide-card>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.card-bottom{margin-top:auto;padding-top:15px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.card-bottom .tag-row{margin:0}.arrow-button{width:37px;height:37px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;flex:0 0 auto;transition:.18s}.arrow-button:hover{transform:translateX(2px)}.arrow-button svg{width:17px;height:17px}.guide-card.wide{grid-column:1/-1;min-height:140px;display:grid;grid-template-columns:minmax(200px,.72fr) minmax(260px,1.2fr) auto;align-items:center;gap:20px}.guide-card.wide h3{margin:15px 0 0}.guide-card.wide>p{font-size:12px}.guide-card.wide .card-bottom{margin:0;padding:0;align-items:center}.empty-state{padding:50px 20px;text-align:center;color:#aaa;display:grid;place-items:center;gap:8px}.empty-state svg{width:28px;height:28px}.empty-state strong{color:#eee}.empty-state[hidden]{display:none}
.sidebar{display:grid;align-content:start;gap:13px}.side-card{padding:17px}.side-heading{display:flex;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid var(--line)}.side-heading svg{width:21px;height:21px}.side-heading h2{margin:0;font-size:16px;letter-spacing:-.025em}.side-card>a:not(.button){min-height:42px;border-bottom:1px solid var(--line-soft);display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;color:var(--text);font-size:11px}.side-card>a:last-child{border-bottom:0}.side-card>a:hover{color:var(--accent)}.side-card>a svg{width:14px;height:14px}.side-card a b{font-size:11px}.popular-card>a{grid-template-columns:auto 1fr auto!important}.rank{width:27px;height:27px;border-radius:50%;background:var(--panel-2);color:#f0efe9;display:grid;place-items:center;font-size:10px;font-style:normal}.standards-card>a:not(.button){grid-template-columns:1fr auto!important;padding:8px 0;align-items:start}.standards-card strong{display:block;font-size:11px}.standards-card small{display:block;margin-top:3px;color:var(--muted-2);font-size:9.5px;line-height:1.3}.standards-card .button{margin-top:13px}.learning-card{padding:21px;border-radius:18px;background:linear-gradient(145deg,#eee7be,#ddd5aa);color:#141511;border:1px solid #f0e9c5}.learning-card>svg{width:26px;height:26px}.learning-card h2{margin:10px 0 8px;font-size:18px;letter-spacing:-.025em}.learning-card p{margin:0 0 18px;font-size:12px;line-height:1.45}.footer-cta{margin:18px 4px 0;min-height:78px;padding:14px 18px;border-radius:18px;background:linear-gradient(90deg,#eee7be,#e1d9b0);color:#12130f;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-cta>div{display:flex;align-items:center;gap:14px}.footer-cta>div>svg{width:28px;height:28px}.footer-cta strong,.footer-cta small{display:block}.footer-cta strong{font-size:13px}.footer-cta small{margin-top:3px;font-size:10px;color:#3e3f39}.footer{margin-top:14px;padding:8px 2px 0;min-height:58px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px}.footer .brand{font-size:15px}.footer .brand-mark{width:20px;height:20px}.footer-nav{display:flex;justify-content:center;gap:28px;color:#9d9e98;font-size:11px}.footer-copy{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}
.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}.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)}.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}.global-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)}.global-search-box input{width:100%;color:var(--text);background:transparent;border:0;outline:0;font-size:16px}.global-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{background:#20211e}.search-result strong{display:block;font-size:13px}.search-result small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.empty-search{color:var(--muted);padding:22px 14px;text-align:center;font-size:13px}

@media(max-width:1150px){.snapshot-pill{display:none}.content-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-card{min-height:100%}.standards-card{grid-row:span 2}.hero .hero-manifesto{font-size:20px}.featured{grid-template-columns:1.4fr .9fr}}
@media(max-width:900px){.site-shell{width:min(100% - 16px,840px);margin:8px auto;padding:15px;border-radius:18px}.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:26px}.hero{grid-template-columns:1fr}.hero .hero-manifesto{display:none}.featured{grid-template-columns:1fr}.featured-side{padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}.guide-card.wide{grid-template-columns:1fr}.guide-card.wide .card-bottom{margin-top:8px}.footer{grid-template-columns:auto auto}.footer-nav{display:none}.footer-copy{justify-self:end}}
@media(max-width:650px){.site-shell{width:100%;margin:0;min-height:100vh;border-radius:0;border-left:0;border-right:0;padding:14px 12px}.site-header{gap:9px}.brand{font-size:15px}.brand-mark{width:22px;height:22px}.icon-button{width:39px;height:39px}.hero{padding:8px 2px 8px}.hero h1{font-size:48px}.hero p{font-size:17px}.filter-bar{padding-left:0;padding-right:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.filter-bar::-webkit-scrollbar{display:none}.filter-pill{min-height:40px;padding:0 17px;white-space:nowrap}.content-grid{margin-left:0;margin-right:0}.featured{padding:17px}.featured h2{font-size:27px}.featured p{font-size:14px}.guide-grid{grid-template-columns:1fr}.guide-card{min-height:215px}.guide-card.wide{grid-column:auto;min-height:215px;display:flex}.guide-card.wide>p{font-size:13px}.guide-card.wide .card-bottom{margin-top:auto}.section-head{align-items:flex-end}.section-controls>span{display:none}.sidebar{grid-template-columns:1fr}.standards-card{grid-row:auto}.footer-cta{margin-left:0;margin-right:0;align-items:flex-start;flex-direction:column}.footer-cta .button{width:100%}.footer{grid-template-columns:1fr}.footer-copy{justify-self:start}.snapshot-pill{display:none}}
@media(max-width:430px){.header-actions{gap:5px}.header-actions .icon-button:first-child{display:none}.section-head{gap:10px}.section-controls label{font-size:0}.section-controls select{font-size:10px}.card-top{gap:8px}.guide-card{padding:15px}.tag-row span:nth-child(n+3){display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation: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 .hero p { color: #444 !important; }
body.light .featured h2 { color: #1a1a1a !important; }
body.light .featured p { color: #444 !important; }
body.light .featured-label { color: #1a1a1a !important; }
body.light .featured-side ul { color: #444 !important; }
body.light .featured-side { border-color: #e5e5e5 !important; }
body.light .meta-row span { color: #666 !important; }
body.light .guide-card h3, body.light .guide-card h3 a { color: #1a1a1a !important; }
body.light .guide-card > p { color: #666 !important; }
body.light .card-top span { color: #888 !important; }
body.light .section-head h2 { color: #1a1a1a !important; }
body.light .section-controls { color: #888 !important; }
body.light .section-controls select { color: #1a1a1a !important; }
body.light .side-heading h2 { color: #1a1a1a !important; }
body.light .side-card > a span { color: #1a1a1a !important; }
body.light .side-card > a b { color: #1a1a1a !important; }
body.light .standards-card strong { color: #1a1a1a !important; }
body.light .standards-card small { color: #666 !important; }
body.light [data-guide-count] { color: #888 !important; }
body.light .hero .hero-manifesto { color: #888 !important; border-color: #e5e5e5 !important; }
