/* Glass presentation layer. Status, measurements and controls remain unchanged. */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf1f5;
  --surface: rgba(255, 255, 255, .36);
  --surface-raised: rgba(255, 255, 255, .48);
  --surface-solid: #f3f6f9;
  --text: #202c3b;
  --muted: #4e5e71;
  --quiet: #5d6d80;
  --accent: #087762;
  --accent-soft: rgba(29, 151, 119, .085);
  --blue: #2f6eaf;
  --amber: #966114;
  --amber-soft: rgba(228, 164, 66, .11);
  --violet: #7563ac;
  --line: rgba(76, 99, 124, .16);
  --soft-line: rgba(76, 99, 124, .105);
  --glass-edge: rgba(255, 255, 255, .76);
  --glass-shine: rgba(255, 255, 255, .94);
  --glass-bottom: rgba(255, 255, 255, .33);
  --glass-lustre: rgba(255, 255, 255, .22);
  --glass-inset: rgba(75, 100, 126, .045);
  --control: rgba(255, 255, 255, .32);
  --control-hover: rgba(255, 255, 255, .58);
  --panel-wash: rgba(255, 255, 255, .13);
  --cloud-blue: rgba(137, 199, 245, .46);
  --cloud-mint: rgba(148, 220, 201, .43);
  --cloud-lilac: rgba(195, 178, 232, .42);
  --cloud-pearl: rgba(255, 255, 255, .55);
  --shadow: 0 14px 36px rgba(57, 84, 108, .055), 0 2px 7px rgba(57, 84, 108, .035);
  --shadow-hover: 0 19px 43px rgba(57, 84, 108, .085), 0 3px 9px rgba(57, 84, 108, .035);
  --glass-blur: blur(26px) saturate(165%);
  --radius-panel: 28px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111b28;
  --surface: rgba(33, 46, 64, .45);
  --surface-raised: rgba(65, 83, 107, .36);
  --surface-solid: #202d3e;
  --text: #eff5fc;
  --muted: #b8c8da;
  --quiet: #9aaec6;
  --accent: #83e0c4;
  --accent-soft: rgba(83, 190, 155, .12);
  --blue: #9dc7f5;
  --amber: #edc589;
  --amber-soft: rgba(173, 128, 62, .16);
  --violet: #c2b4ed;
  --line: rgba(177, 203, 231, .18);
  --soft-line: rgba(177, 203, 231, .12);
  --glass-edge: rgba(211, 229, 251, .23);
  --glass-shine: rgba(232, 244, 255, .31);
  --glass-bottom: rgba(207, 227, 253, .075);
  --glass-lustre: rgba(201, 226, 255, .06);
  --glass-inset: rgba(0, 6, 19, .14);
  --control: rgba(116, 145, 176, .12);
  --control-hover: rgba(134, 161, 194, .2);
  --panel-wash: rgba(147, 179, 215, .055);
  --cloud-blue: rgba(42, 112, 170, .29);
  --cloud-mint: rgba(46, 132, 124, .23);
  --cloud-lilac: rgba(122, 96, 178, .24);
  --cloud-pearl: rgba(136, 177, 213, .055);
  --shadow: 0 14px 36px rgba(0, 6, 18, .14), 0 2px 7px rgba(0, 6, 18, .07);
  --shadow-hover: 0 19px 43px rgba(0, 6, 18, .2), 0 3px 9px rgba(0, 6, 18, .07);
}

html { scroll-padding-top: 126px; }
body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  isolation: isolate;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  font-feature-settings: "ss01" on;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -8%;
  pointer-events: none;
  background-repeat: no-repeat;
  filter: blur(40px);
}
body::before {
  background:
    radial-gradient(ellipse 45% 40% at 84% 10%, var(--cloud-blue), transparent 79%),
    radial-gradient(ellipse 49% 47% at 9% 45%, var(--cloud-mint), transparent 77%),
    radial-gradient(ellipse 43% 43% at 82% 83%, var(--cloud-lilac), transparent 78%);
  animation: glass-cloud-drift 32s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(ellipse 36% 29% at 17% 3%, var(--cloud-pearl), transparent 76%),
    radial-gradient(ellipse 35% 35% at 63% 42%, var(--cloud-lilac), transparent 80%),
    radial-gradient(ellipse 43% 29% at 44% 96%, var(--cloud-blue), transparent 79%);
  opacity: .56;
  animation: glass-cloud-drift-back 43s ease-in-out infinite alternate;
}
main, footer { position: relative; z-index: 1; }
::selection { color: var(--text); background: color-mix(in srgb, var(--blue) 22%, transparent); }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* A floating, refractive frame instead of an opaque full-width header. */
.site-header,
.overview-grid .overview-metric,
.node-card,
.service-table-panel,
.role-panel,
.connection-info {
  position: relative;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(128deg, var(--glass-lustre), transparent 48%), var(--surface);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-shine), inset 0 -1px 0 var(--glass-bottom), inset 1px 0 0 var(--glass-bottom);
}
.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: calc(100% - 80px);
  max-width: 1216px;
  height: 80px;
  margin: 20px auto 0;
  border-radius: 32px;
  background: linear-gradient(115deg, var(--glass-lustre), transparent 65%), var(--surface);
  -webkit-backdrop-filter: blur(32px) saturate(175%);
  backdrop-filter: blur(32px) saturate(175%);
}
.header-inner { max-width: none; padding: 0 25px; margin: 0; gap: 38px; }
.brand { gap: 11px; }
.brand-mark { width: 35px; height: 35px; color: var(--accent); filter: drop-shadow(0 2px 3px var(--glass-inset)); }
.brand strong { font-size: 22px; letter-spacing: -.2px; font-weight: 650; }
.brand strong span { font-size: 17px; letter-spacing: .7px; font-weight: 650; }
.brand small { font-size: 8px; letter-spacing: 1.7px; margin-top: 4px; color: var(--quiet); }
nav {
  align-self: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--glass-bottom);
  border-radius: 999px;
  background: var(--panel-wash);
  box-shadow: inset 0 1px 3px var(--glass-inset);
}
nav a { padding: 8px 16px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 550; transition: background .2s, box-shadow .2s, color .2s; }
nav .nav-active { border-color: var(--glass-edge); background: var(--control-hover); box-shadow: 0 3px 10px var(--glass-inset), inset 0 1px 0 var(--glass-shine); }
nav .nav-active::after { display: none; }
nav a:hover { background: var(--control); }
.header-actions { gap: 14px; }
.readonly { color: var(--quiet); font-size: 11px; padding-right: 0; border: 0; letter-spacing: .3px; }
.icon-button,
.search-box,
.live-pill,
.filter-group,
.toast {
  border: 1px solid var(--glass-edge);
  background: linear-gradient(120deg, var(--glass-lustre), transparent 65%), var(--control);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 3px 12px var(--glass-inset);
}
.icon-button { width: 43px; height: 43px; border-radius: 50%; color: var(--muted); transition: transform .22s, background .22s, box-shadow .22s; }
.icon-button:hover { color: var(--text); background: var(--control-hover); border-color: var(--glass-edge); transform: translateY(-1px); box-shadow: inset 0 1px 0 var(--glass-shine), 0 5px 15px var(--glass-inset); }
.icon-button:active { transform: scale(.96); }

main { padding-top: 32px; }
.hero { min-height: 160px; margin-bottom: 22px; padding: 8px 3px 16px; gap: 28px; }
.hero::before, .hero::after { content: none; }
.eyebrow { font-size: 9px; letter-spacing: 1.8px; color: var(--quiet); font-weight: 600; }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; box-shadow: none; }
h1 { margin: 15px 0 12px; font-size: clamp(29px, 3vw, 39px); font-weight: 650; line-height: 1.3; letter-spacing: -.9px; }
h1 > span { color: var(--accent); margin-left: 3px; }
.hero-description { font-size: 13px; line-height: 1.85; color: var(--muted); }
.live-status { padding-left: 14px; gap: 9px; }
.live-pill { padding: 9px 15px; border-radius: 999px; font-size: 11px; color: var(--muted); }
.live-pill.connected { color: var(--accent); background: linear-gradient(120deg, var(--glass-lustre), transparent), var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 15%, var(--glass-edge)); }
.live-pill.failed { color: var(--amber); background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 18%, var(--glass-edge)); }
.live-pill i { width: 5px; height: 5px; animation: none; }
.live-status > span:last-child { font-size: 10px; color: var(--quiet); }
.notice {
  border-radius: 20px;
  padding: 14px 19px;
  border-color: var(--glass-edge);
  background: linear-gradient(120deg, var(--glass-lustre), transparent 60%), var(--control);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 5px 18px var(--glass-inset);
  font-size: 12px;
}
.notice-dot { width: 5px; height: 5px; }
.notice strong { font-weight: 600; }
.notice > a { font-size: 11px; transition: color .2s; }
.notice.warning { border-color: color-mix(in srgb, var(--amber) 28%, var(--glass-edge)); }

/* Translucent bento panels retain the color and depth of the moving backdrop. */
.overview-grid { gap: 17px; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.overview-grid .overview-metric {
  border-radius: 26px;
  padding: 23px 25px;
  overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.overview-metric::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-shine), transparent);
  pointer-events: none;
}
.overview-metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover), inset 0 1px 0 var(--glass-shine), inset 0 -1px 0 var(--glass-bottom); }
.metric-label { gap: 9px; color: var(--muted); font-size: 12px; font-weight: 500; }
.metric-label svg { width: 18px; height: 18px; stroke-width: 1.5; }
.overview-metric:last-child .metric-label svg { stroke: var(--violet); }
.metric-number { font-size: 34px; font-weight: 600; letter-spacing: -1px; line-height: 1.25; margin-top: 18px; color: var(--text); }
.metric-number small { font-size: 12px; font-weight: 450; color: var(--quiet); }
.overview-metric p { font-size: 11px; color: var(--quiet); margin-top: 9px; }
.owner-number { font-size: 31px; }
.section-block { margin-top: 36px; }
.section-heading { margin-bottom: 17px; }
.heading-group { gap: 11px; }
h2 { font-size: 20px; font-weight: 620; letter-spacing: -.35px; }
.count-tag, .section-tag { border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--control); color: var(--muted); padding-left: 8px; padding-right: 8px; box-shadow: inset 0 1px 0 var(--glass-shine); }
.section-tag { letter-spacing: .8px; }
.node-actions { gap: 10px; }
.search-box { border-radius: 999px; height: 43px; width: 252px; padding: 0 15px; color: var(--quiet); transition: background .2s, box-shadow .2s, border-color .2s; }
.search-box input { font-size: 12px; }
.search-box:focus-within { background: var(--control-hover); border-color: color-mix(in srgb, var(--accent) 32%, var(--glass-edge)); box-shadow: 0 0 0 3px var(--accent-soft), inset 0 1px 0 var(--glass-shine); }
.filter-row { margin-bottom: 18px; }
.filter-group { gap: 2px; padding: 4px; border-radius: 999px; }
.filter { border-radius: 999px; font-size: 11px; padding: 7px 13px; transition: background .2s, color .2s, box-shadow .2s; }
.filter.active { color: var(--accent); background: var(--control-hover); border-color: var(--glass-edge); box-shadow: 0 2px 7px var(--glass-inset), inset 0 1px 0 var(--glass-shine); }
.filter:hover:not(.active) { background: var(--panel-wash); color: var(--text); }
.filter-help { font-size: 11px; color: var(--quiet); }
.node-grid { gap: 21px; }
.node-card { border-radius: 30px; overflow: hidden; transition: transform .28s, box-shadow .28s, border-color .28s; }
.node-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover), inset 0 1px 0 var(--glass-shine), inset 0 -1px 0 var(--glass-bottom); }
.node-card[open] { border-color: color-mix(in srgb, var(--accent) 20%, var(--glass-edge)); }
.node-card summary { padding: 25px 26px 0; }
.card-heading { gap: 13px; }
.node-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  border-color: var(--glass-edge);
  background: linear-gradient(140deg, var(--glass-lustre), transparent), var(--accent-soft);
  box-shadow: inset 0 1px 0 var(--glass-shine), inset 0 -1px 2px var(--glass-inset), 0 4px 10px var(--glass-inset);
  color: var(--accent);
  font-size: 21px;
  font-weight: 600;
}
.node-icon.b-node { color: var(--blue); background: linear-gradient(140deg, var(--glass-lustre), transparent), color-mix(in srgb, var(--blue) 9%, transparent); }
.node-icon .dot { width: 8px; height: 8px; bottom: 0; right: 0; box-shadow: 0 0 0 3px var(--bg); }
.node-title-row h3 { font-size: 16px; font-weight: 620; letter-spacing: -.2px; }
.node-subtitle { margin-top: 5px; color: var(--quiet); font-size: 11px; }
.status-badge { color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--control); font-size: 10px; line-height: 1.6; }
.status-badge.online { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 12%, var(--glass-edge)); }
.status-badge.stale { color: var(--amber); background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 16%, var(--glass-edge)); }
.chevron { width: 34px; height: 34px; padding: 9px; border: 1px solid var(--glass-edge); border-radius: 50%; color: var(--muted); background: var(--control); box-shadow: inset 0 1px 0 var(--glass-shine); }
.node-card summary .card-body { padding-top: 20px; padding-bottom: 22px; }
.card-meta { border-color: var(--soft-line); padding-top: 17px; }
.meta-item { gap: 6px; font-size: 11px; }
.meta-item strong { font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.network-row { margin-top: 19px; }
.network-arrow { width: 31px; height: 33px; border: 1px solid var(--glass-edge); border-radius: 11px; background: var(--accent-soft); box-shadow: inset 0 1px 0 var(--glass-shine); }
.network-item:last-child .network-arrow { background: color-mix(in srgb, var(--blue) 8%, transparent); }
.network-item small { color: var(--quiet); font-size: 10px; }
.network-item strong { font-size: 13px; color: var(--text); font-weight: 550; font-variant-numeric: tabular-nums; }
.resource-grid { gap: 20px; padding-top: 18px; margin-top: 23px; border-color: var(--soft-line); }
.resource-label { font-size: 11px; margin-bottom: 10px; }
.resource-label strong { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { height: 5px; border-radius: 999px; background: var(--soft-line); box-shadow: inset 0 1px 2px var(--glass-inset); }
.meter i { border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--blue) 70%, transparent), var(--blue)); transition: width .7s ease-out; box-shadow: inset 0 1px 0 var(--glass-bottom); }
.resource:first-child .meter i { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 65%, transparent), var(--accent)); }
.meter.unknown { background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 5px, transparent 5px, transparent 9px); box-shadow: none; }
.service-chips { flex-wrap: wrap; gap: 7px; border-color: var(--soft-line); margin-top: 21px; padding-top: 15px; }
.service-chip { padding: 4px 8px; border: 1px solid var(--glass-bottom); border-radius: 999px; background: var(--panel-wash); font-size: 10px; color: var(--muted); }
.details-panel { padding: 0 26px 24px; background: var(--panel-wash); border-color: var(--soft-line); }
.detail-label { margin-top: 20px; font-size: 12px; }
.detail-label span:last-child { font-size: 10px; color: var(--quiet); }
.chart { height: 110px; border-color: var(--soft-line); }
.chart svg { filter: none; }
.chart-legend { font-size: 11px; margin-top: 11px; }
.detail-pairs { margin-top: 19px; font-size: 11px; gap: 14px; }
.detail-pairs strong { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.updated-line { margin-top: 15px; font-size: 10px; color: var(--quiet); }
.empty-search { border-color: var(--line); border-radius: 24px; background: var(--panel-wash); }

.service-layout { gap: 21px; }
.service-table-panel, .role-panel { border-radius: var(--radius-panel); overflow: hidden; }
th { background: var(--panel-wash); padding: 17px 23px; color: var(--quiet); font-size: 11px; font-weight: 500; letter-spacing: .1px; }
td { padding: 15px 23px; border-color: var(--soft-line); color: var(--muted); font-size: 12px; }
td:first-child { font-weight: 550; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--panel-wash); }
.cell-state { gap: 7px; }
.service-note { padding: 15px 23px; border-color: var(--soft-line); font-size: 10px; color: var(--quiet); line-height: 1.9; }
.role-panel { padding: 23px 25px; }
.panel-label { font-size: 12px; font-weight: 500; }
.role-diagram { padding: 28px 7px 23px; }
.node-letter { width: 54px; height: 54px; margin-bottom: 4px; border: 1px solid var(--glass-edge); border-radius: 18px; background: linear-gradient(140deg, var(--glass-lustre), transparent), var(--accent-soft); box-shadow: inset 0 1px 0 var(--glass-shine), 0 5px 14px var(--glass-inset); font-weight: 550; }
.node-letter.blue { background: linear-gradient(140deg, var(--glass-lustre), transparent), color-mix(in srgb, var(--blue) 9%, transparent); }
.role-node strong { font-size: 12px; font-weight: 550; }
.role-node small { font-size: 10px; }
.role-link { padding-top: 15px; color: var(--quiet); }
.role-link small { font-size: 10px; }
.role-foot { border-color: var(--soft-line); margin-top: 9px; padding-top: 11px; font-size: 11px; }
.role-foot strong { font-weight: 550; }
.connection-info { border-radius: 26px; padding: 25px 27px; margin-top: 36px; gap: 24px; }
.connection-info .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
.connection-info h2 { font-size: 18px; letter-spacing: -.3px; margin-top: 8px; }
.connection-info > div > p:last-child { color: var(--quiet); font-size: 11px; }
.legend-list { gap: 25px; }
.legend-list p { font-size: 10px; line-height: 1.8; }
.legend-list strong { font-size: 11px; font-weight: 550; }
footer { padding-top: 23px; color: var(--quiet); }
footer strong { color: var(--muted); letter-spacing: .8px; }
.toast { border-radius: 19px; color: var(--text); padding: 13px 20px; background: var(--surface-raised); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-shine); }

.hero { animation: glass-arrive .6s ease-out both; }
.notice { animation: glass-arrive .6s .06s ease-out both; }
.overview-grid { animation: glass-arrive .65s .1s ease-out both; }
.section-block { animation: glass-arrive .65s .15s ease-out both; }
@keyframes glass-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glass-cloud-drift { from { transform: translate3d(-1.5%, -1%, 0) scale(1); } to { transform: translate3d(1.8%, 1.7%, 0) scale(1.045); } }
@keyframes glass-cloud-drift-back { from { transform: translate3d(1.5%, 1%, 0) scale(1.04); } to { transform: translate3d(-1.8%, -1.3%, 0) scale(1); } }

@media (min-width: 1500px) {
  main { padding-top: 36px; }
  .hero { min-height: 174px; margin-bottom: 23px; }
  .overview-grid .overview-metric { padding: 25px 27px; }
  .section-block { margin-top: 40px; }
}
@media (max-width: 1050px) {
  .header-inner { gap: 23px; padding: 0 22px; }
  nav a { padding-left: 13px; padding-right: 13px; }
  .header-actions { gap: 12px; }
  .overview-grid { gap: 13px; }
  .overview-grid .overview-metric { padding: 22px 19px; }
  .metric-number { font-size: 31px; }
  .owner-number { font-size: 28px; }
  .connection-info { gap: 20px; }
}
@media (max-width: 800px) {
  .site-header { top: 13px; width: calc(100% - 48px); height: 76px; margin-top: 16px; border-radius: 29px; }
  .header-inner { padding: 0 21px; }
  main { padding-top: 27px; }
  .hero { min-height: 156px; gap: 21px; margin-bottom: 20px; }
  h1 { font-size: 32px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.45px; }
  .hero-description { font-size: 12px; }
  .live-status { padding-left: 6px; }
  .overview-grid { gap: 14px; }
  .overview-grid .overview-metric { padding: 23px; border-radius: 25px; }
  .metric-number { font-size: 33px; }
  .node-grid { gap: 17px; }
  .node-card { border-radius: 27px; }
  .node-card summary { padding: 23px 20px 0; }
  .card-heading { gap: 11px; }
  .node-icon { width: 43px; height: 43px; border-radius: 15px; font-size: 19px; }
  .node-title-row h3 { font-size: 14px; }
  .node-title-row { gap: 6px; }
  .status-badge { padding: 2px 6px; font-size: 9px; }
  .node-subtitle { font-size: 10px; }
  .resource-grid { gap: 13px; }
  .service-chips { gap: 6px; }
  .service-chip { font-size: 9px; padding: 4px 7px; }
  .details-panel { padding-left: 20px; padding-right: 20px; }
  .service-layout { gap: 17px; }
  .role-panel { padding: 22px 26px; }
  .role-diagram { padding: 23px 0; }
  .connection-info { padding: 24px; border-radius: 25px; }
  .legend-list { gap: 28px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 105px; }
  body::before, body::after { filter: blur(30px); inset: -6%; }
  .site-header { width: calc(100% - 28px); height: 72px; margin-top: 13px; top: 11px; border-radius: 27px; }
  .header-inner { padding: 0 17px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand strong { font-size: 20px; }
  .brand strong span { font-size: 15px; letter-spacing: .5px; }
  .brand small { font-size: 7px; letter-spacing: 1.3px; }
  .header-actions { margin-left: auto; gap: 0; }
  .icon-button { width: 41px; height: 41px; }
  main { padding: 28px 20px 0; }
  .hero { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; min-height: 0; margin-bottom: 20px; padding: 0 2px 4px; }
  .hero > div:first-child { width: 100%; }
  .eyebrow { font-size: 7.5px; letter-spacing: 1.2px; }
  h1 { font-size: 28px; line-height: 1.35; letter-spacing: -.7px; margin: 14px 0 10px; }
  .mobile-break { display: none; }
  .hero-description { max-width: none; font-size: 11px; line-height: 1.8; }
  .hero .live-status { position: static; top: auto; right: auto; padding: 0; align-self: flex-start; flex-direction: row; align-items: center; gap: 12px; }
  .live-pill { font-size: 10px; padding: 7px 11px; gap: 6px; }
  .live-status > span:last-child { font-size: 9px; }
  .notice { border-radius: 19px; padding: 13px 14px; gap: 9px; font-size: 10px; }
  .notice strong { margin-right: 0; font-size: 11px; }
  .notice > a { font-size: 0; }
  .notice > a > span { font-size: 16px; }
  .overview-grid { gap: 12px; }
  .overview-grid .overview-metric { padding: 20px 17px; border-radius: 24px; }
  .metric-label { font-size: 10px; gap: 7px; }
  .metric-label svg { width: 16px; height: 16px; }
  .metric-number { font-size: 30px; margin-top: 15px; gap: 6px; }
  .metric-number small { font-size: 10px; }
  .overview-metric p { font-size: 9px; margin-top: 8px; }
  .owner-number { font-size: 27px; }
  .section-block { margin-top: 30px; }
  h2 { font-size: 19px; }
  .section-heading { gap: 14px; margin-bottom: 15px; }
  .node-actions { gap: 8px; }
  .search-box { flex: 1; width: auto; height: 42px; padding: 0 14px; }
  .search-box input { font-size: 11px; }
  .filter-group { padding: 3px; gap: 1px; }
  .filter { font-size: 10px; padding: 7px 10px; gap: 5px; }
  .filter-row { margin-bottom: 16px; }
  .node-grid { gap: 17px; }
  .node-card { border-radius: 27px; }
  .node-card summary { padding: 23px 22px 0; }
  .node-icon { width: 46px; height: 46px; border-radius: 16px; font-size: 20px; }
  .node-title-row { gap: 8px; }
  .node-title-row h3 { font-size: 15px; }
  .node-subtitle { font-size: 10px; }
  .chevron { width: 32px; height: 32px; }
  .card-meta { padding-top: 16px; }
  .meta-item strong { font-size: 13px; }
  .resource-grid { gap: 18px; margin-top: 21px; }
  .service-chips { gap: 6px; }
  .service-chip { font-size: 9px; padding: 4px 7px; }
  .details-panel { padding: 0 22px 22px; }
  .detail-label { font-size: 11px; }
  .detail-label span:last-child { font-size: 9px; }
  .chart { height: 105px; }
  .detail-pairs { font-size: 10px; gap: 13px; }
  .service-table-panel, .role-panel { border-radius: 25px; }
  th, td { padding: 14px 14px; }
  th { font-size: 10px; }
  td { font-size: 10px; }
  .service-note { font-size: 9px; padding: 13px 15px; }
  .role-panel { padding: 22px 24px; }
  .connection-info { margin-top: 30px; padding: 23px 22px; border-radius: 25px; gap: 21px; }
  .connection-info h2 { font-size: 17px; }
  .connection-info > div > p:last-child { font-size: 10px; }
  .legend-list { gap: 15px; }
  .legend-list p { font-size: 10px; gap: 8px; }
  .legend-list strong { width: 77px; font-size: 10px; }
  footer { padding: 22px 21px 25px; }
  .toast { border-radius: 18px; }
}
@media (max-width: 360px) {
  .header-inner { padding-left: 15px; padding-right: 15px; }
  .brand strong { font-size: 19px; }
  .brand strong span { font-size: 14px; }
  .brand small { font-size: 6.5px; }
  h1 { font-size: 26px; }
  .overview-grid .overview-metric { padding: 19px 14px; }
  .metric-label { font-size: 9px; }
  .filter { padding: 7px 8px; gap: 4px; }
  .node-card summary { padding-left: 19px; padding-right: 19px; }
  .service-chip { padding-left: 6px; padding-right: 6px; }
  .connection-info { padding-left: 19px; padding-right: 19px; }
}
@media (hover: none) {
  .overview-metric:hover, .node-card:hover, .icon-button:hover { transform: none; }
}

/* Legible material fallback when the browser cannot render backdrop filters. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .overview-grid .overview-metric, .node-card, .service-table-panel,
  .role-panel, .connection-info, .notice, .search-box, .filter-group, .live-pill, .toast {
    background: var(--surface-solid);
    border-color: var(--line);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .overview-grid .overview-metric, .node-card, .service-table-panel,
  .role-panel, .connection-info, .notice, .search-box, .filter-group, .live-pill, .toast {
    background: var(--surface-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: var(--line);
  }
  body::before, body::after { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .overview-metric:hover, .node-card:hover, .icon-button:hover, .icon-button:active { transform: none; }
}