:root {
  color-scheme: light;
  --canvas: #f6f7f3;
  --surface: #ffffff;
  --ink: #1d292b;
  --muted: #526163;
  --soft: #778383;
  --blue: #3859d8;
  --blue-soft: #edf0ff;
  --green: #1d6d56;
  --green-soft: #e8f3ee;
  --amber: #9c4c23;
  --amber-soft: #faeee5;
  --line: #d6dedb;
  --line-strong: #bdc8c4;
  --font: "Chivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Chivo Mono", "SFMono-Regular", Consolas, monospace;
  --rail-width: 226px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-width: 340px; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8395f4; outline-offset: 3px; }
::selection { background: #dce3ff; color: var(--ink); }
.skip-link { position: absolute; top: 10px; left: 10px; transform: translateY(-160%); z-index: 20; padding: 9px 13px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; }
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-width); padding: 27px 14px 18px; display: flex; flex-direction: column; background: #fbfcf9; border-right: 1px solid var(--line); z-index: 4; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 31px; color: var(--ink); text-decoration: none; }
.brand-mark, .source-strip-icon { width: 25px; height: 25px; display: inline-flex; gap: 3px; align-items: center; justify-content: center; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 19px; height: 1px; background: var(--blue); transform: rotate(-32deg); }
.brand-mark::after { transform: rotate(32deg); }
.brand-mark i { width: 5px; height: 5px; background: var(--surface); border: 1.5px solid var(--blue); z-index: 1; }
.brand-mark i:first-child { border-radius: 50%; background: var(--blue); }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: -.04em; }
.brand-name span { color: var(--soft); font-weight: 400; letter-spacing: 0; }
.rail-section-label { padding: 0 11px 8px; color: var(--soft); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-list { display: grid; gap: 4px; }
.nav-link { min-height: 41px; width: 100%; padding: 0 10px; border: 0; border-radius: 5px; display: flex; align-items: center; gap: 11px; background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: background .16s var(--ease), color .16s var(--ease); }
.nav-link:hover { background: #f0f2ed; color: var(--ink); }
.nav-link.is-current { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.nav-symbol { width: 16px; height: 16px; position: relative; flex: 0 0 16px; opacity: .85; }
.symbol-atlas::before, .symbol-atlas::after { content: ""; position: absolute; border: 1.3px solid currentColor; border-radius: 50%; inset: 2px; }
.symbol-atlas::after { inset: 5px -1px; border-radius: 50%; }
.symbol-links::before { content: ""; position: absolute; inset: 3px 1px; border: 1.3px solid currentColor; border-radius: 4px; transform: skew(-20deg); }
.symbol-links::after { content: ""; position: absolute; height: 1px; width: 7px; background: currentColor; left: 4px; top: 7px; box-shadow: 0 3px 0 currentColor; }
.symbol-sources::before { content: ""; position: absolute; inset: 2px 4px; border: 1.3px solid currentColor; border-radius: 2px; box-shadow: -4px 3px 0 -1px var(--canvas), -4px 3px 0 0 currentColor, 4px -2px 0 -1px var(--canvas), 4px -2px 0 0 currentColor; }
.symbol-key::before { content: ""; position: absolute; width: 8px; height: 8px; top: 1px; left: 1px; border: 1.3px solid currentColor; border-radius: 50%; }
.symbol-key::after { content: ""; position: absolute; width: 9px; height: 1.3px; top: 10px; left: 7px; background: currentColor; transform: rotate(38deg); box-shadow: 3px 2px 0 -0.1px currentColor; }
.nav-count { margin-left: auto; color: var(--soft); font-family: var(--mono); font-size: 10px; }
.nav-separator { height: 1px; margin: 10px 8px 5px; background: var(--line); }
.rail-spacer { flex: 1; }
.rail-foot { display: flex; align-items: center; gap: 8px; margin-top: 15px; padding: 13px 10px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 10px; }
.privacy-dot, .live-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.main-column { min-height: 100vh; margin-left: var(--rail-width); }
.topbar { height: 65px; position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 42px; background: rgba(246,247,243,.96); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--soft); font-size: 11px; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.crumb-sep { color: var(--line-strong); }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.live-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.live-dot { width: 6px; height: 6px; background: #b28a44; }
.button { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 500; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.button:active { transform: translateY(1px); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #334345; }
.button:disabled { opacity: .55; cursor: wait; }
.scan-glyph { width: 13px; height: 13px; display: inline-block; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.scan-glyph::after { content: ""; position: absolute; width: 5px; height: 1px; right: -3px; bottom: -1px; background: currentColor; transform: rotate(48deg); }
.avatar-button { height: 31px; width: 31px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; font-size: 11px; cursor: pointer; }
.avatar-button:hover { border-color: var(--blue); color: var(--blue); }
.content { width: min(100%, 1440px); margin: 0 auto; padding: 39px 42px 60px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: var(--ink); font-size: clamp(24px, 2.5vw, 31px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
.page-lede { margin: 0; color: var(--muted); font-size: 12px; }
.root-selector { min-width: 246px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px 12px; padding: 11px 14px 10px; border: 1px solid var(--line); background: var(--surface); }
.root-label { grid-column: 1; color: var(--soft); font-size: 9px; }
.root-selector strong { grid-column: 1; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.root-badge { grid-column: 2; grid-row: 1 / span 2; padding: 4px 6px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 600; letter-spacing: .06em; }
.overview-strip { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; border: 1px solid var(--line); background: var(--surface); margin-bottom: 36px; }
.overview-cell { min-height: 91px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 12px 17px; border-right: 1px solid var(--line); }
.overview-cell:last-child { border-right: 0; }
.overview-cell > span { color: var(--muted); font-size: 10px; }
.overview-cell strong { color: var(--ink); font-family: var(--mono); font-size: 20px; font-weight: 400; letter-spacing: -.05em; line-height: 1.2; }
.overview-cell small { color: var(--soft); font-size: 9px; }
.overview-note strong { font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: -.01em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 0 0 4px; font-size: 15px; font-weight: 500; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.map-legend { display: flex; gap: 14px; color: var(--muted); font-size: 9px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-node { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--blue); border-radius: 50%; }
.root-node { background: var(--blue); }
.sub-node { background: var(--surface); }
.legend-link { width: 13px; height: 1px; background: var(--line-strong); }
.domain-map { position: relative; min-height: 178px; padding: 17px 20px 20px; border: 1px solid var(--line); background: #fbfcf9; overflow: hidden; }
.domain-map::before { content: ""; position: absolute; top: 47px; bottom: 0; left: 34px; width: 1px; background: var(--line-strong); }
.map-root { position: relative; z-index: 1; width: max-content; max-width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #a9b8f5; background: var(--surface); }
.map-node-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.map-root strong { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.node-kind { padding: 2px 5px; background: var(--blue-soft); color: var(--blue); font-size: 7px; font-weight: 600; letter-spacing: .08em; }
.map-root-note { margin-left: 7px; color: var(--soft); font-size: 9px; }
.domain-branches { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; margin: 5px 0 0 27px; }
.domain-branch { min-width: 0; position: relative; border: 1px solid var(--line); background: var(--surface); }
.domain-branch::before { content: ""; position: absolute; top: 21px; left: -28px; width: 27px; height: 1px; background: var(--line-strong); }
.domain-row { width: 100%; min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.domain-row:hover { background: #f5f7f3; }
.branch-dot { width: 7px; height: 7px; flex: 0 0 7px; border: 1px solid var(--blue); border-radius: 50%; background: var(--surface); }
.domain-row strong { min-width: 0; overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.branch-count { margin-left: auto; white-space: nowrap; color: var(--soft); font-family: var(--mono); font-size: 9px; }
.branch-toggle { width: 20px; height: 20px; flex: 0 0 20px; position: relative; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); cursor: pointer; }
.branch-toggle::before, .branch-toggle::after { content: ""; position: absolute; width: 8px; height: 1px; top: 9px; left: 5px; background: var(--muted); transition: transform .16s; }
.branch-toggle::after { transform: rotate(90deg); }
.domain-branch[aria-expanded="true"] .branch-toggle::after { transform: rotate(0); }
.branch-pages { display: none; padding: 0 11px 9px 28px; }
.domain-branch[aria-expanded="true"] .branch-pages { display: grid; }
.branch-pages a { min-width: 0; overflow: hidden; padding: 4px 0; color: var(--blue); font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; }
.branch-pages a:hover { text-decoration: underline; text-underline-offset: 3px; }
.branch-state { color: var(--soft); font-size: 9px; }
.empty-map { grid-column: 1 / -1; min-height: 61px; display: flex; align-items: center; padding: 12px 13px; color: var(--muted); font-size: 10px; }
.registry-section { margin-top: 38px; }
.registry-heading { margin-bottom: 13px; }
.button-outline { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.plus-glyph { width: 12px; height: 12px; position: relative; display: inline-block; flex: 0 0 12px; }
.plus-glyph::before, .plus-glyph::after { content: ""; position: absolute; top: 5px; left: 1px; width: 10px; height: 1px; background: var(--blue); }
.plus-glyph::after { transform: rotate(90deg); }
.arrow-glyph { width: 14px; height: 10px; display: inline-block; position: relative; vertical-align: middle; }
.arrow-glyph::before { content: ""; position: absolute; top: 4px; left: 1px; width: 11px; height: 1px; background: currentColor; }
.arrow-glyph::after { content: ""; position: absolute; top: 2px; right: 1px; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.search-box { min-width: 180px; height: 36px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); }
.search-box:focus-within { border-color: var(--blue); }
.search-glyph { width: 13px; height: 13px; flex: 0 0 13px; position: relative; border: 1px solid var(--soft); border-radius: 50%; }
.search-glyph::after { content: ""; position: absolute; width: 5px; height: 1px; right: -3px; bottom: -1px; background: var(--soft); transform: rotate(48deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.search-box input::placeholder { color: #657274; opacity: 1; }
.select-wrap { height: 36px; min-width: 142px; position: relative; display: flex; align-items: center; border: 1px solid var(--line); background: var(--surface); }
.select-wrap select { width: 100%; height: 100%; padding: 0 28px 0 10px; appearance: none; border: 0; outline: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }
.select-wrap select:focus-visible { outline: 3px solid #8395f4; outline-offset: -3px; }
.chevron { position: absolute; right: 11px; width: 6px; height: 6px; border-right: 1px solid var(--soft); border-bottom: 1px solid var(--soft); transform: rotate(45deg) translateY(-2px); pointer-events: none; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: var(--surface); scrollbar-color: #aeb9b5 #f5f7f3; scrollbar-width: thin; }
.link-table { width: 100%; min-width: 710px; border-collapse: collapse; text-align: left; }
.link-table thead { background: #f1f4f0; }
.link-table th { height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.link-table td { height: 48px; max-width: 280px; padding: 8px 12px; border-bottom: 1px solid #e9eeeb; font-size: 10px; vertical-align: middle; }
.link-table tbody tr:last-child td { border-bottom: 0; }
.link-table tbody tr:hover { background: #fbfcfa; }
.page-title { display: block; max-width: 280px; overflow: hidden; color: var(--ink); font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.page-url, .host-cell { display: block; max-width: 260px; overflow: hidden; color: var(--blue); font-family: var(--mono); font-size: 9px; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; }
.page-url:hover { text-decoration: underline; text-underline-offset: 3px; }
.host-cell { color: var(--muted); }
.source-chip, .state-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 2px; font-size: 8px; white-space: nowrap; }
.source-chip { color: var(--muted); background: #eff2f0; }
.state-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.state-verified { color: var(--green); background: var(--green-soft); }
.state-unverified { color: #7a5d24; background: #f7f0df; }
.state-unreachable { color: var(--amber); background: var(--amber-soft); }
.last-checked { color: var(--muted); font-size: 9px; white-space: nowrap; }
.open-link { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; color: var(--muted); text-decoration: none; }
.open-link:hover { border-color: var(--line); color: var(--blue); }
.open-link svg { width: 12px; height: 12px; }
.loading-row, .empty-row, .error-row { height: 96px !important; color: var(--muted); text-align: center; }
.table-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; color: var(--soft); font-size: 9px; }
.text-button { min-height: 32px; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 500; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.source-strip { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding: 13px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-strip-copy { display: flex; align-items: center; gap: 12px; }
.source-strip-icon { width: 25px; height: 25px; }
.source-strip-icon::before { content: ""; position: absolute; top: 12px; width: 17px; height: 1px; background: var(--line-strong); }
.source-strip-icon i { width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--blue); background: var(--surface); z-index: 1; }
.source-strip-copy div { display: grid; gap: 2px; }
.source-strip-copy strong { font-size: 10px; font-weight: 500; }
.source-strip-copy span { color: var(--muted); font-size: 9px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Additional views */
.view-page { animation: appear .24s var(--ease) both; }
.view-page .page-heading { margin-bottom: 25px; }
.settings-list { border-top: 1px solid var(--line); }
.setting-row { min-height: 84px; display: grid; grid-template-columns: minmax(160px, 220px) 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.setting-row h3 { margin: 0; font-size: 12px; font-weight: 500; }
.setting-row p { margin: 0; color: var(--muted); font-size: 10px; }
.status-label { color: var(--muted); font-size: 9px; }
.status-label.connected { color: var(--green); }
.auth-layer, .dialog-layer { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(29,41,43,.16); }
.auth-layer[hidden], .dialog-layer[hidden] { display: none; }
.auth-card, .dialog-card { width: min(100%, 420px); padding: 28px 30px; border: 1px solid var(--line); background: var(--surface); animation: appear .2s var(--ease) both; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 29px; font-size: 13px; font-weight: 600; }
.auth-card h1, .dialog-card h2 { margin: 0 0 8px; font-size: 23px; font-weight: 500; }
.auth-card > p, .dialog-card > p { margin-bottom: 23px; color: var(--muted); font-size: 11px; }
.form-field { display: grid; gap: 6px; margin: 0 0 16px; }
.form-field label { color: var(--muted); font-size: 9px; font-weight: 500; }
.form-field input { height: 39px; width: 100%; padding: 0 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 12px; }
.form-field input:focus { border-color: var(--blue); }
.form-help { color: var(--soft); font-size: 9px; }
.form-error { min-height: 17px; margin: 0 0 10px; color: #a53024; font-size: 10px; }
.auth-card .button, .dialog-card .button { width: 100%; min-height: 40px; margin-top: 4px; }
.auth-meta { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--soft); font-size: 9px; }
.token-display { margin: 13px 0 17px; padding: 12px; border: 1px solid var(--line); background: var(--canvas); overflow-wrap: anywhere; font-family: var(--mono); font-size: 10px; user-select: all; }
.config-display { margin: 12px 0 17px; padding: 12px; background: #f1f4f0; overflow: auto; color: #344345; font-family: var(--mono); font-size: 9px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.key-name { font-size: 10px; font-weight: 500; }
.key-date { display: block; margin-top: 3px; color: var(--soft); font-size: 9px; }
.link-danger { color: #a53024; font-size: 9px; }
.toast { position: fixed; right: 21px; bottom: 20px; z-index: 15; max-width: min(420px, calc(100vw - 34px)); padding: 11px 15px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity .18s, transform .18s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.dialog-layer:not([hidden]) { display: block; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 11; display: grid; place-items: center; padding: 20px; background: rgba(29,41,43,.16); }
.dialog-card { position: relative; }
.dialog-card h2 { padding-right: 28px; }
.dialog-close { width: 29px; height: 29px; display: inline-grid; place-items: center; position: absolute; top: 12px; right: 13px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.close-glyph { width: 12px; height: 12px; position: relative; display: block; }
.close-glyph::before, .close-glyph::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 1px; background: currentColor; transform: rotate(45deg); }
.close-glyph::after { transform: rotate(-45deg); }
.spinner { width: 12px; height: 12px; display: inline-block; flex: 0 0 12px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.dialog-card a.external-instruction { display: inline-flex; align-items: center; gap: 6px; margin: -8px 0 17px; color: var(--blue); font-size: 10px; text-decoration: none; }
.dialog-card a.external-instruction:hover { text-decoration: underline; text-underline-offset: 3px; }
.source-intro { display: flex; gap: 14px; align-items: flex-start; margin: 5px 0 23px; padding: 15px 17px; border: 1px solid var(--line); background: var(--surface); }
.source-intro strong { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 500; }
.source-intro p { margin: 0; max-width: 78ch; color: var(--muted); font-size: 10px; }
.source-intro-mark { min-width: 24px; height: 24px; position: relative; }
.source-intro-mark::before { content: ""; position: absolute; top: 11px; left: 3px; width: 18px; height: 1px; background: var(--line-strong); }
.source-intro-mark span { position: relative; z-index: 1; width: 6px; height: 6px; display: inline-block; margin: 8px 2px 0; border: 1px solid var(--blue); border-radius: 50%; background: var(--surface); }
.key-mark::before { content: ""; position: absolute; top: 1px; left: 1px; width: 9px; height: 9px; border: 1px solid var(--blue); border-radius: 50%; }
.key-mark::after { content: ""; position: absolute; top: 11px; left: 9px; width: 12px; height: 1px; background: var(--blue); transform: rotate(38deg); transform-origin: left; }
.source-actions { display: flex; align-items: center; gap: 10px; }
.source-footnote { margin: 16px 0; color: var(--muted); font-size: 10px; }
.empty-keys { min-height: 95px; display: grid; align-content: center; gap: 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.empty-keys strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.endpoint-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 23px; padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.endpoint-note code { color: var(--ink); font-family: var(--mono); font-size: 9px; }
.index-registry { margin-top: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) { .content { padding-inline: 52px; } }
@media (max-width: 1120px) { :root { --rail-width: 198px; } .content { padding-inline: 28px; } .topbar { padding-inline: 28px; } .overview-strip { grid-template-columns: repeat(4, 1fr); } .overview-cell { padding-inline: 12px; } .overview-cell strong { font-size: 18px; } }
@media (max-width: 820px) { :root { --rail-width: 64px; } .rail { padding-inline: 8px; } .brand { justify-content: center; padding-inline: 0; } .brand-name, .rail-section-label, .nav-link > span:not(.nav-symbol), .rail-foot > span:not(.privacy-dot) { display: none; } .nav-link { justify-content: center; padding: 0; } .nav-count { display: none !important; } .rail-foot { justify-content: center; padding-inline: 0; } .content { padding-inline: 22px; } .topbar { padding-inline: 22px; } .root-selector { min-width: 210px; } }
@media (max-width: 600px) {
  body { min-width: 340px; }
  :root { --rail-width: 0px; }
  .rail { position: sticky; top: 0; inset: auto; width: 100%; height: 50px; padding: 0 15px; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { justify-content: flex-start; padding: 0; }
  .brand-name { display: inline; }
  .rail-section-label, .rail-spacer, .rail-foot { display: none; }
  .nav-list { position: fixed; inset: auto 0 0; z-index: 5; display: flex; justify-content: space-around; gap: 0; padding: 6px 5px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fbfcf9; }
  .nav-link { min-height: 45px; flex: 1; flex-direction: column; justify-content: center; gap: 3px; padding: 2px 1px; border-radius: 3px; font-size: 8px; }
  .nav-link > span:not(.nav-symbol) { display: block; font-size: 8px; }
  .nav-count, .nav-separator { display: none !important; }
  .nav-symbol { width: 15px; height: 15px; flex-basis: 15px; }
  .rail::after { content: "PRIVATE"; margin-left: auto; color: var(--green); font-size: 8px; font-weight: 600; letter-spacing: .08em; }
  .main-column { margin-left: 0; }
  .topbar { height: 52px; padding: 0 14px; }
  .breadcrumb { font-size: 10px; }
  .topbar-actions { gap: 10px; }
  .live-state { display: none; }
  .button-dark { min-height: 33px; padding-inline: 9px; font-size: 10px; }
  .avatar-button { width: 29px; height: 29px; }
  .content { padding: 25px 14px 94px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 20px; }
  .page-lede { max-width: 40ch; font-size: 11px; }
  .root-selector { width: 100%; min-width: 0; padding-block: 8px; }
  .overview-strip { grid-template-columns: 1fr 1fr; margin-bottom: 29px; }
  .overview-cell { min-height: 76px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .overview-cell:nth-child(even) { border-right: 0; }
  .overview-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .overview-cell strong { font-size: 17px; }
  .overview-cell > span { font-size: 9px; }
  .overview-cell small { font-size: 8px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .map-legend { gap: 10px; }
  .domain-map { padding: 14px 11px 15px; }
  .domain-map::before { left: 25px; }
  .map-root { min-height: 36px; gap: 7px; padding-inline: 8px; }
  .map-root strong { font-size: 10px; }
  .map-root-note { display: none; }
  .domain-branches { grid-template-columns: 1fr; margin-left: 21px; }
  .domain-branch::before { left: -22px; width: 21px; }
  .registry-section { margin-top: 30px; }
  .registry-heading { align-items: flex-end; flex-direction: row; }
  .registry-heading p { max-width: 32ch; }
  .filter-row { display: grid; grid-template-columns: 1fr 1fr; }
  .search-box { grid-column: 1 / -1; }
  .select-wrap { min-width: 0; }
  .table-wrap { margin-right: -14px; border-right: 0; }
  .source-strip { align-items: flex-start; flex-direction: column; padding-inline: 2px; }
  .source-strip-copy { align-items: flex-start; }
  .setting-row, .source-setting { grid-template-columns: 1fr auto; gap: 5px 12px; padding: 14px 0; }
  .setting-row > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .setting-row > button, .setting-row > .status-label, .setting-row > .source-actions { grid-column: 2; grid-row: 1 / span 2; }
  .auth-card, .dialog-card { padding: 24px 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
