:root {
  color-scheme: light;
  --page: #f1f4f6;
  --paper: #fff;
  --paper-soft: #f8fafb;
  --ink: #172b3c;
  --ink-soft: #3f5669;
  --muted: #697d8d;
  --line: #dce4ea;
  --line-strong: #c7d2dc;
  --navy: #15314d;
  --navy-2: #204568;
  --blue: #216a9b;
  --blue-soft: #eaf3f9;
  --gold: #d9ad37;
  --gold-deep: #9c7620;
  --gold-soft: #fbf5e6;
  --green: #27805c;
  --green-soft: #e8f4ed;
  --red: #a6413b;
  --red-soft: #faeeec;
  --sans: "Avenir Next", Avenir, "Trebuchet MS", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --shadow: 0 5px 18px rgba(19, 46, 70, .055);
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100dvh; margin: 0; background: var(--page); color: var(--ink);
  font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(32, 69, 104, .55); outline-offset: 3px;
}
.skip-link {
  position: fixed; z-index: 40; top: 8px; left: 8px; transform: translateY(-150%);
  padding: 10px 14px; border: 1px solid var(--gold); background: white; color: var(--navy); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.topline { height: 4px; background: linear-gradient(90deg, var(--gold) 0 9%, var(--navy) 9% 100%); }
.site-header { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: 1440px; min-height: 76px; margin: auto; padding: 0 34px;
  display: flex; align-items: center; gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: cover; border: 2px solid #d6b044; border-radius: 50%; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-name { color: var(--navy); font-size: 17px; font-weight: 900; letter-spacing: .075em; }
.brand-sub { margin-top: 5px; color: #73808b; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.main-nav { align-self: stretch; display: flex; align-items: stretch; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; padding: 0 14px; border-bottom: 3px solid transparent;
  color: #516477; font-size: 13px; font-weight: 700; transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.nav-link:hover { color: var(--navy); background: #f6f8f9; }
.nav-link.active { border-color: var(--gold); color: var(--navy); }
.header-status { display: flex; align-items: center; gap: 9px; margin-left: auto; white-space: nowrap; }
.network-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.network-mark.is-development { background: var(--gold); }
.network-mark.is-error { background: var(--red); }
.network-label { color: #4d6271; font-size: 12px; font-weight: 700; }
.environment-pill {
  display: none; padding: 4px 8px; border: 1px solid #e6d49c; border-radius: 3px;
  background: var(--gold-soft); color: #745c20; font-size: 10px; font-weight: 800; letter-spacing: .08em;
}
.environment-pill.visible { display: inline-flex; }
.page-shell { max-width: 1440px; margin: auto; padding: 26px 34px 58px; }
.hero-row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  min-height: 222px; overflow: hidden; margin: 0 0 19px; padding: 30px 38px;
  border: 1px solid #172e44; border-radius: 7px;
  background: linear-gradient(108deg, #132e48 0%, #1a3b5a 66%, #254a67 100%);
  box-shadow: 0 12px 28px rgba(19, 46, 70, .15);
}
.hero-row > div { position: relative; z-index: 2; max-width: 610px; }
.eyebrow { margin: 0 0 9px; color: #e4c25f; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: #fff; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -.04em; }
.page-description { margin-bottom: 0; color: #d3dee7; font-size: 14px; }
.search-wrap { position: relative; z-index: 3; width: min(100%, 470px); flex: 0 1 470px; }
.search-form {
  display: flex; min-height: 52px; border: 1px solid #dce4ea; border-radius: 5px; background: #fff;
  box-shadow: 0 8px 22px rgba(7, 23, 39, .14);
}
.search-form:focus-within { border-color: #7b94a8; box-shadow: 0 0 0 2px rgba(32, 69, 104, .12); }
.search-icon { display: grid; place-items: center; padding-left: 15px; }
.search-icon svg { width: 19px; height: 19px; fill: none; stroke: #738392; stroke-width: 1.8; stroke-linecap: round; }
.search-input { min-width: 0; height: 50px; flex: 1; padding: 0 13px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-input:focus-visible { outline: 0; }
.search-input::placeholder { color: #758493; }
.search-submit, .button-primary {
  border: 0; border-radius: 3px; background: var(--gold); color: #1c2e3e;
  font-size: 12px; font-weight: 800; transition: background .16s ease, transform .16s ease;
}
.search-submit { margin: 5px; padding: 0 20px; }
.search-submit:hover, .button-primary:hover { background: #e7c75d; }
.search-submit:active, .button-primary:active { transform: translateY(1px); }
.search-submit:disabled { cursor: wait; opacity: .65; }
.hero-illustration {
  position: absolute; right: 29%; top: 50%; width: min(41%, 475px); height: auto; transform: translateY(-50%);
  overflow: visible; opacity: .82; pointer-events: none;
}
.pitch-lines { fill: none; stroke: rgba(199, 218, 229, .27); stroke-width: 1.2; }
.network-lines { fill: none; stroke: rgba(226, 190, 82, .52); stroke-width: 1; }
.network-nodes { fill: #e0bb53; stroke: #17344f; stroke-width: 2; }
.hero-ball circle { fill: #e2bb50; stroke: #f0d476; stroke-width: 1.5; }
.hero-ball path { fill: none; stroke: #183451; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.dev-notice {
  display: none; position: relative; margin: 0 0 17px; padding: 11px 16px 11px 57px;
  border: 1px solid #e8dba9; border-left: 4px solid var(--gold); border-radius: 4px;
  background: #fcf7e9; color: #685520; font-size: 12px; font-weight: 700;
}
.dev-notice.visible::before {
  content: "DEV"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: #8e7025; font: 800 10px/1 var(--mono); letter-spacing: .05em;
}
.dev-notice.visible { display: block; }
.network-error { display: none; margin: 0 0 18px; padding: 13px 16px; border: 1px solid #e6c4bf; border-radius: 4px; background: var(--red-soft); color: var(--red); font-size: 13px; }
.network-error.visible { display: block; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); }
.stat-card { position: relative; min-width: 0; min-height: 112px; padding: 17px 20px 15px; border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: 0; }
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--gold); }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #586d7e; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat-accent { width: 7px; height: 7px; flex: 0 0 auto; transform: rotate(45deg); background: var(--gold); }
.stat-value { margin-top: 10px; overflow-wrap: anywhere; color: var(--navy); font-size: clamp(21px, 2.3vw, 28px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.stat-value.small { font-size: 19px; }
.stat-value.green { color: var(--green); }
.stat-value.gold { color: var(--gold-deep); }
.stat-foot { margin-top: 3px; color: #667a89; font-size: 12px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 17px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 13px 19px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.panel-title { margin: 0; color: var(--navy); font-size: 16px; font-weight: 800; letter-spacing: -.015em; }
.panel-kicker { margin: 4px 0 0; color: #65798a; font-size: 12px; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.text-link:hover, .cell-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #bac9d4 #f1f4f6; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 15px; background: #f4f7f9; color: #546a7b; font-size: 12px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
td { padding: 14px 15px; border-top: 1px solid #e7edf1; color: #334d60; font-size: 14px; vertical-align: middle; }
tbody tr:hover td { background: #f7fafb; }
.mono { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.cell-link { color: #216a9b; font-weight: 700; }
.cell-main { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-sub { display: block; margin-top: 4px; color: #687e8d; font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid #d5e8dc; border-radius: 3px; background: var(--green-soft); color: #26704f; font-size: 12px; font-weight: 800; white-space: nowrap; }
.status.fail { border-color: #eed4d0; background: var(--red-soft); color: var(--red); }
.status.neutral { border-color: #dce4ea; background: #f2f5f7; color: #536979; }
.empty-state, .loading-state, .error-state { padding: 40px 20px; text-align: center; color: #647989; font-size: 13px; }
.error-state { background: #fcf6f5; color: var(--red); }
.skeleton-row { height: 49px; border-top: 1px solid #e7edf1; background: linear-gradient(100deg, #f4f7f9 20%, #e8eff3 40%, #f4f7f9 60%); background-size: 220% 100%; animation: shimmer 1.7s ease infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.detail-list { margin: 0; }
.detail-row { display: grid; grid-template-columns: minmax(180px, 25%) 1fr; gap: 24px; padding: 15px 20px; border-top: 1px solid #e7edf1; }
.detail-row:first-child { border-top: 0; }
.detail-row dt { align-self: start; color: #5c7181; font-size: 13px; font-weight: 700; }
.detail-row dd { min-width: 0; margin: 0; color: #263f54; font-size: 14px; overflow-wrap: anywhere; }
.detail-row dd.mono { font-size: 13px; line-height: 1.7; }
.copy-button { margin-left: 10px; padding: 4px 9px; border: 1px solid #d1dde5; border-radius: 3px; background: #f4f8fa; color: #315b77; font-size: 12px; font-weight: 800; }
.copy-button:hover { background: #e8f2f8; }
.inline-action { color: var(--blue); text-align: left; font: inherit; }
.inline-action:hover { text-decoration: underline; }
.network-line { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #e7edf1; font-size: 12px; }
.network-line:last-child { border-bottom: 0; }
.network-line span:first-child { color: #627787; }
.network-line span:last-child { color: #2d485c; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.button-primary { min-height: 38px; padding: 0 14px; }
.button-secondary { min-height: 36px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; color: #39566d; font-size: 12px; font-weight: 800; }
.button-secondary:hover { border-color: #9eb2c1; background: #f3f7f9; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; border-top: 1px solid var(--line); color: #607687; font-size: 12px; }
.pagination-controls { display: flex; gap: 8px; }
.pagination button:disabled { cursor: not-allowed; opacity: .45; }
.visually-hidden-copy { position: fixed; left: -10000px; top: 0; width: 1px; height: 1px; opacity: 0; }
.indexer-hint { padding: 0 17px 13px; }
.toast { position: fixed; z-index: 30; right: 22px; bottom: 20px; max-width: calc(100vw - 32px); padding: 12px 16px; transform: translateY(12px); border: 1px solid #36526d; border-radius: 4px; background: var(--navy); color: white; box-shadow: 0 8px 23px rgba(19, 46, 70, .2); font-size: 12px; opacity: 0; pointer-events: none; transition: transform .18s ease, opacity .18s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.site-footer { margin-top: 43px; border: 1px solid #d8e1e7; border-radius: 6px; overflow: hidden; background: #e8eef2; color: #536b7c; }
.footer-main { display: grid; grid-template-columns: minmax(240px, 1.65fr) repeat(3, minmax(135px, 1fr)); gap: 32px; padding: 31px 30px 27px; }
.footer-brand { max-width: 350px; }
.footer-logo { display: inline-flex; align-items: center; gap: 11px; }
.footer-logo img { width: 43px; height: 43px; object-fit: cover; border: 2px solid #d6b044; border-radius: 50%; }
.footer-brand-copy { display: grid; line-height: 1.1; }
.footer-brand-name { color: var(--navy); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.footer-brand-caption { margin-top: 5px; color: #72818b; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.footer-brand p { max-width: 320px; margin: 15px 0 0; color: #5c7181; font-size: 14px; line-height: 1.75; }
.footer-column { display: grid; align-content: start; justify-items: start; gap: 9px; }
.footer-column h2 { margin: 2px 0 5px; color: var(--navy); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { display: inline-flex; align-items: center; gap: 5px; color: #586f80; font-size: 14px; transition: color .15s ease; }
.footer-column a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-column a span { color: #9a792c; font-size: 11px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 30px; border-top: 1px solid #d2dde4; background: #dfe8ed; color: #586f7e; font-size: 10px; }
.footer-copyright { white-space: nowrap; }
.legal-page { display: grid; gap: 16px; }
.legal-intro { padding: 22px 24px; border-left: 3px solid var(--gold); background: #f8fafb; color: #4f6678; font-size: 14px; line-height: 1.75; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-copy { padding: 23px 25px; }
.legal-copy h2 { margin: 0 0 7px; color: var(--navy); font-size: 16px; }
.legal-copy p { margin: 0 0 18px; color: #526b7c; line-height: 1.75; }
.legal-copy p:last-child { margin-bottom: 0; }
.not-found { padding: 50px 24px; text-align: center; }
.not-found-code { color: var(--gold-deep); font: 700 12px var(--mono); }
.not-found h2 { margin: 9px 0; color: var(--navy); font-size: 22px; }
.not-found p { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.hash-break { overflow-wrap: anywhere; }

/* Overview activity */
.overview-page { display: grid; gap: 19px; }
.network-overview { overflow: hidden; }
.network-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.network-overview-kicker { display: block; margin-bottom: 4px; color: var(--gold-deep); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.network-overview-head .panel-title { font-size: 18px; }
.network-overview-actions { display: flex; align-items: center; gap: 17px; }
.network-overview-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px 20px; }
.network-overview-meta .network-line { display: grid; justify-content: start; gap: 2px; padding: 11px 14px; border: 0; border-right: 1px solid var(--line); }
.network-overview-meta .network-line:first-child { padding-left: 0; }
.network-overview-meta .network-line:last-child { border: 0; }
.network-overview-meta .network-line span:first-child { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.network-overview-meta .network-line span:last-child { text-align: left; font-size: 13px; }
.overview-feeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; align-items: start; }
.overview-feeds > .panel { min-width: 0; overflow: hidden; margin: 0; }
.overview-feeds > .panel > .panel-head { min-height: 68px; }
.feed-list { display: grid; }
.feed-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 84px; padding: 12px 16px; border-top: 1px solid #e7edf1; transition: background .15s ease; }
.feed-card:hover { background: #f7fafb; }
.feed-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e4e9ed; border-radius: 5px; background: #f7f9fa; color: #546c7c; }
.feed-icon svg { width: 21px; height: 21px; }
.block-icon { border-color: #eee4c9; background: #fbf7eb; color: #987828; }
.transaction-icon { border-color: #dce7ed; background: #eff5f8; color: #386d8a; }
.feed-card-body { min-width: 0; }
.feed-card-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.feed-primary-link { overflow: hidden; color: #216a9b; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.feed-primary-link:hover { color: var(--navy); text-decoration: underline; }
.feed-primary-link.mono { font-size: 13px; }
.feed-age { flex: 0 0 auto; color: #667c8b; font-size: 12px; }
.feed-card-details { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; margin-top: 5px; }
.feed-detail-label { color: #687c8b; font-size: 12px; }
.feed-detail-value { color: #3c566a; font-size: 12px; }
.feed-card-details .mono { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.feed-card-side { display: grid; justify-items: end; gap: 5px; }
.feed-card-time { color: #657a89; font-size: 12px; text-align: right; white-space: nowrap; }
.feed-value { color: #334f64; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tx-feed-details { grid-template-columns: auto minmax(0, 1fr); }
.feed-skeleton { height: 84px; border-top: 1px solid #e7edf1; background: linear-gradient(100deg, #f7f9fa 18%, #eaf0f3 40%, #f7f9fa 62%); background-size: 220% 100%; animation: shimmer 1.7s ease infinite; }
.loading-feed { min-height: 336px; }

/* Compact utility header on every non-overview route. */
body.interior-view .hero-row {
  min-height: 0; overflow: visible; padding: 14px 0 17px; margin: 0 0 15px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none;
}
body.interior-view .hero-row::before, body.interior-view .hero-row::after { display: none; }
body.interior-view .hero-row > div { max-width: 55%; }
body.interior-view .eyebrow { display: none; }
body.interior-view h1 { margin: 0; color: var(--navy); font-size: 27px; }
body.interior-view .page-description { margin-top: 4px; color: #5f7484; font-size: 13px; }
body.interior-view .search-wrap { flex-basis: 440px; }
body.interior-view .search-form { min-height: 42px; box-shadow: none; }
body.interior-view .search-input { height: 40px; }
body.interior-view .search-submit { padding: 0 15px; }
body.interior-view .hero-illustration { display: none; }
body.interior-view #stats-region { display: none; }

/* Detail-page information architecture */
.detail-page { display: grid; gap: 16px; }
.detail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #62798a; font-size: 12px; }
.detail-breadcrumb a { color: var(--blue); font-weight: 700; }
.detail-breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator { color: #9aabb7; }
.detail-titlebar { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.detail-titlebar h2 { margin: 0; color: var(--navy); font-size: 21px; overflow-wrap: anywhere; }
.detail-titlebar .mono { color: #344f63; font-size: 13px; line-height: 1.7; }
.detail-title-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.detail-nav-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 3px; background: white; color: #31536d; font-size: 12px; font-weight: 800; }
.detail-nav-button:hover { background: #f2f7fa; }
.summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.summary-card { min-width: 0; padding: 17px 19px; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: var(--shadow); }
.summary-card-label { display: block; margin-bottom: 8px; color: #5d7283; font-size: 12px; font-weight: 800; }
.summary-card-value { display: block; color: var(--navy); font-size: 20px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.summary-card-value.mono { font-size: 13px; line-height: 1.7; }
.summary-card-note { display: block; margin-top: 4px; color: #657b8a; font-size: 12px; }
.detail-panel { overflow: hidden; }
.detail-panel .panel-head { min-height: 58px; }
.detail-section-label { margin: 0; padding: 10px 20px; border-top: 1px solid var(--line); background: #f5f8fa; color: #425c70; font-size: 12px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.detail-panel .detail-row { grid-template-columns: minmax(200px, 25%) 1fr; padding: 14px 20px; }
.detail-panel .detail-row:first-of-type { border-top: 0; }
.raw-data { overflow: hidden; }
.raw-data summary { padding: 14px 19px; color: #315873; cursor: pointer; font-size: 13px; font-weight: 800; }
.raw-data summary:hover { background: #f7fafb; }
.raw-data pre { max-height: 440px; overflow: auto; margin: 0; padding: 17px 19px; border-top: 1px solid var(--line); background: #f6f8fa; color: #294458; font: 12px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.address-heading-value { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.address-heading-value .mono { overflow-wrap: anywhere; }
.address-history { margin-top: 0; }
.tx-hero-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; }
.tx-hero-summary .summary-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 13px; }
.tx-hero-summary .summary-card-label { margin: 0; }
.tx-hero-summary .summary-card-value { grid-column: 1 / -1; }
.tx-hero-summary .summary-card-value.mono { font-size: 12px; }
.log-row td { vertical-align: top; }
.log-topics { display: grid; gap: 7px; }
.log-topic { display: block; overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid transparent; }
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: 0 20px; padding: 0 22px; }
  .main-nav { order: 3; width: 100%; height: 44px; overflow-x: auto; }
  .nav-link { padding: 0 13px; font-size: 12px; }
  .page-shell { padding: 22px 22px 45px; }
  .hero-row { min-height: 200px; padding: 25px; }
  .hero-illustration { right: 28%; width: 44%; }
  .overview-feeds { gap: 13px; }
  .feed-card { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .feed-icon { width: 33px; height: 33px; }
  .feed-card-side { grid-column: 2; display: flex; justify-content: space-between; justify-items: initial; }
  .feed-card-time { text-align: left; }
}
@media (max-width: 760px) {
  .header-inner { min-height: auto; padding: 11px 16px 0; }
  .brand img { width: 39px; height: 39px; }
  .main-nav { margin: 9px -16px 0; padding: 0 10px; border-top: 1px solid var(--line); }
  .nav-link { flex: 0 0 auto; padding: 0 12px; }
  .header-status { margin-left: auto; }
  .page-shell { padding: 17px 15px 38px; }
  .hero-row { align-items: stretch; flex-direction: column; min-height: 0; gap: 17px; padding: 22px; }
  .hero-row > div { max-width: 75%; }
  .hero-illustration { right: 0; top: 43%; width: 55%; opacity: .58; }
  .search-wrap { width: 100%; flex: initial; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 98px; padding: 14px; border-bottom: 1px solid var(--line); }
  .stat-card:nth-child(2n) { border-right: 0; }
  .stat-card:nth-last-child(-n+2) { border-bottom: 0; }
  .overview-feeds { grid-template-columns: 1fr; gap: 15px; }
  .network-overview-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 14px; }
  .network-overview-meta .network-line { padding: 10px; border-bottom: 1px solid var(--line); }
  .network-overview-meta .network-line:nth-child(2n) { border-right: 0; }
  .network-overview-meta .network-line:nth-last-child(-n+2) { border-bottom: 0; }
  body.interior-view .hero-row { flex-direction: row; align-items: center; gap: 15px; padding: 13px 0 15px; }
  body.interior-view .hero-row > div { max-width: 50%; }
  body.interior-view h1 { font-size: 23px; }
  body.interior-view .page-description { font-size: 12px; }
  body.interior-view .search-wrap { flex: 1 1 50%; }
  .summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-titlebar { align-items: flex-start; flex-direction: column; }
  .detail-title-actions { align-self: stretch; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 20px; padding: 24px 19px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-brand p { max-width: 470px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .header-inner { padding-left: 12px; padding-right: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 35px; height: 35px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; letter-spacing: .09em; }
  .header-status { gap: 7px; }
  .network-label { display: none; }
  .environment-pill { padding: 4px 6px; font-size: 9px; }
  .main-nav { margin-left: -12px; margin-right: -12px; }
  .nav-link { padding: 0 10px; font-size: 12px; }
  .page-shell { padding: 14px 11px 30px; }
  .hero-row { padding: 19px 16px; }
  .hero-row > div { max-width: 100%; }
  .hero-illustration { right: -9%; top: 23%; width: 61%; opacity: .27; }
  h1 { font-size: 28px; }
  .page-description { font-size: 13px; }
  .search-form { min-height: 47px; }
  .search-input { height: 45px; font-size: 13px; }
  .search-submit { padding: 0 13px; }
  .stats-grid { margin-bottom: 15px; }
  .stat-card { min-height: 87px; padding: 12px 10px; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 19px; }
  .stat-value.small { font-size: 16px; }
  .stat-foot { font-size: 11px; }
  .network-overview-head { align-items: flex-start; padding: 13px; }
  .network-overview-head .panel-title { font-size: 15px; }
  .network-overview-actions { flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
  .network-overview-actions .button-primary { min-height: 32px; padding: 0 9px; font-size: 10px; white-space: nowrap; }
  .network-overview-actions .text-link { font-size: 11px; }
  .network-overview-meta { padding: 3px 8px; }
  .network-overview-meta .network-line { padding: 9px 7px; }
  .network-overview-meta .network-line:first-child { padding-left: 7px; }
  .network-overview-meta .network-line span:first-child { font-size: 9px; }
  .network-overview-meta .network-line span:last-child { font-size: 12px; }
  .overview-feeds > .panel > .panel-head { min-height: 60px; padding: 11px 13px; }
  .overview-feeds > .panel > .panel-head .panel-title { font-size: 15px; }
  .feed-card { min-height: 83px; padding: 11px; }
  .feed-primary-link { font-size: 13px; }
  .feed-age, .feed-card-time { font-size: 12px; }
  .feed-detail-label, .feed-detail-value { font-size: 12px; }
  body.interior-view .hero-row { align-items: stretch; flex-direction: column; gap: 11px; padding: 10px 0 13px; }
  body.interior-view .hero-row > div { max-width: 100%; }
  body.interior-view h1 { font-size: 22px; }
  body.interior-view .page-description { font-size: 12px; }
  body.interior-view .search-wrap { flex: initial; }
  .panel-head { min-height: 57px; padding: 11px 13px; }
  .panel-title { font-size: 15px; }
  .panel-kicker { font-size: 12px; }
  .table-scroll { max-width: 100%; }
  table { min-width: 760px; }
  th { padding: 11px 12px; font-size: 11px; }
  td { padding: 12px; font-size: 13px; }
  .mono { font-size: 12px; }
  .detail-page { gap: 12px; }
  .detail-titlebar h2 { font-size: 19px; }
  .detail-title-actions { justify-content: space-between; }
  .detail-nav-button { min-height: 35px; padding: 0 10px; font-size: 11px; }
  .summary-cards { gap: 9px; }
  .summary-card { padding: 13px; }
  .summary-card-label { font-size: 12px; }
  .summary-card-value { font-size: 18px; }
  .summary-card-value.mono { font-size: 12px; }
  .detail-panel .panel-head { min-height: 54px; }
  .detail-panel .detail-row { grid-template-columns: 1fr; gap: 3px; padding: 11px 14px; }
  .detail-panel .detail-row dt { font-size: 12px; }
  .detail-panel .detail-row dd { font-size: 13px; }
  .detail-panel .detail-row dd.mono { font-size: 12px; }
  .detail-section-label { padding: 9px 14px; font-size: 11px; }
  .tx-hero-summary { grid-template-columns: 1fr; gap: 9px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 20px; padding: 24px 19px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-brand p { max-width: 470px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; padding: 13px 19px; }
  .legal-copy { padding: 18px 16px; }
  .pagination { align-items: flex-start; flex-direction: column; }
  .pagination-controls { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Responsive repair: keep the explorer canvas readable without clipping. */
html, body { max-width: 100%; }
body { overflow-x: hidden; }
.page-shell, .header-inner, .route-content, .panel, .detail-page { min-width: 0; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 9px; min-height: 42px;
  padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: #f7f9fa; color: var(--navy); font-size: 13px; font-weight: 800;
}
.menu-toggle-icon { display: grid; gap: 3px; }
.menu-toggle-icon i { display: block; width: 16px; height: 2px; background: currentColor; }
.table-scroll { position: relative; max-width: 100%; overflow-x: auto; }
.table-scroll:focus-visible { outline: 3px solid rgba(32, 69, 104, .45); outline-offset: -3px; }
.table-scroll::after {
  content: "Scroll horizontally to view all columns"; display: none; position: sticky; left: 10px;
  width: max-content; margin: 6px 10px 8px; padding: 3px 7px; border: 1px solid #d6e0e6;
  border-radius: 3px; background: #f4f8fa; color: #506a7c; font-size: 13px;
}
.hash-break, .detail-row dd, .detail-titlebar .mono { overflow-wrap: anywhere; word-break: break-word; }
th { font-size: 13px; }
.mono { font-size: 13px; }
.feed-detail-label, .feed-detail-value, .feed-card-time, .feed-age, .cell-sub { font-size: 13px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; padding: 10px 22px; }
  .menu-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .header-status { order: 3; margin-left: 0; }
  .main-nav {
    display: none; order: 4; flex: 0 0 calc(100% + 44px); width: calc(100% + 44px);
    height: auto; max-height: 65vh; overflow: auto; margin: 10px -22px -10px;
    padding: 8px 22px 12px; border-top: 1px solid var(--line); background: var(--paper);
  }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .nav-link { min-height: 42px; justify-content: flex-start; padding: 7px 10px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; }
  .nav-link.active { border-color: #e6d49c; background: var(--gold-soft); }
}
@media (max-width: 760px) {
  .header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 10px 14px; }
  .brand { min-width: 0; }
  .brand img { width: 39px; height: 39px; }
  .menu-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .header-status { order: 3; margin-left: 0; }
  .main-nav {
    display: none; order: 4; flex: 0 0 calc(100% + 28px); width: calc(100% + 28px);
    height: auto; max-height: 65vh; overflow: auto; margin: 10px -14px -10px;
    padding: 8px 14px 12px; border-top: 1px solid var(--line); background: var(--paper);
  }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .nav-link { min-height: 42px; justify-content: flex-start; padding: 7px 10px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; }
  .nav-link.active { border-color: #e6d49c; background: var(--gold-soft); }
  .page-shell { padding: 15px 14px 34px; }
  .hero-row { align-items: stretch; flex-direction: column; gap: 16px; padding: 22px 18px; }
  .hero-row > div { max-width: 100%; }
  .hero-illustration { right: -5%; top: 23%; width: 59%; opacity: .24; }
  .search-wrap { width: 100%; flex: initial; }
  .search-form { min-height: 48px; }
  .search-input { height: 46px; font-size: 14px; }
  .search-submit { min-width: 74px; min-height: 40px; }
  body.interior-view .hero-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 0 15px; }
  body.interior-view .hero-row > div { max-width: 100%; }
  body.interior-view .search-wrap { width: 100%; flex: initial; }
  .button-primary, .button-secondary, .copy-button, .detail-nav-button { min-height: 40px; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .copy-button { margin-left: 7px; padding: 4px 10px; }
  .detail-titlebar { min-width: 0; }
  .summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-scroll { padding-bottom: 2px; }
  .table-scroll:has(table) { scrollbar-width: thin; }
  .table-scroll::after { display: block; }
  table { min-width: 760px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-wrap: wrap; overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .header-inner { padding-left: 11px; padding-right: 11px; gap: 0 8px; }
  .brand { gap: 8px; }
  .brand img { width: 35px; height: 35px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; }
  .header-status { gap: 6px; }
  .environment-pill { max-width: 116px; white-space: normal; font-size: 9px; }
  .main-nav { flex-basis: calc(100% + 22px); width: calc(100% + 22px); margin-left: -11px; margin-right: -11px; padding-left: 11px; padding-right: 11px; }
  .page-shell { padding: 13px 11px 28px; }
  h1 { font-size: 28px; }
  .page-description { font-size: 14px; }
  .stat-card { padding: 12px 10px; }
  .stat-label { font-size: 13px; }
  .stat-value { font-size: 20px; }
  .stat-value.small { font-size: 17px; }
  .stat-foot { font-size: 13px; }
  .network-overview-head { flex-direction: column; gap: 11px; }
  .network-overview-actions { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .network-overview-actions .button-primary { min-height: 40px; padding: 0 11px; font-size: 12px; }
  .network-overview-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-overview-meta .network-line span:first-child { font-size: 12px; }
  .network-overview-meta .network-line span:last-child { font-size: 13px; }
  .feed-card { grid-template-columns: 32px minmax(0, 1fr); gap: 9px; padding: 11px 10px; }
  .feed-icon { width: 31px; height: 31px; }
  .feed-primary-link { font-size: 14px; }
  .feed-age, .feed-card-time, .feed-detail-label, .feed-detail-value { font-size: 13px; }
  .feed-value { font-size: 13px; }
  .panel-head { align-items: flex-start; }
  .panel-kicker, .text-link { font-size: 13px; }
  th { padding: 11px 12px; font-size: 13px; }
  td { padding: 12px; font-size: 14px; }
  .mono, .cell-sub { font-size: 13px; }
  .detail-titlebar h2 { font-size: 20px; }
  .detail-titlebar .mono, .detail-panel .detail-row dd.mono { font-size: 13px; }
  .summary-card { padding: 12px; }
  .summary-card-label, .summary-card-note { font-size: 13px; }
  .summary-card-value { font-size: 18px; }
  .summary-card-value.mono { font-size: 13px; }
  .detail-section-label { font-size: 13px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 14px; padding: 22px 15px; }
  .footer-column a, .footer-brand p { font-size: 14px; overflow-wrap: anywhere; }
  .footer-bottom { padding: 13px 15px; font-size: 13px; }
  .footer-copyright { white-space: normal; }
  .pagination { align-items: stretch; flex-direction: column; font-size: 13px; }
  .pagination-controls { align-self: stretch; justify-content: space-between; }
  .pagination-controls button { min-height: 40px; }
  .dev-notice, .network-error { font-size: 13px; }
  .detail-panel .detail-row dt, .detail-panel .detail-row dd { font-size: 14px; }
  .status { font-size: 13px; }
}
@media (max-width: 370px) {
  .header-status { display: none; }
  .brand-sub { letter-spacing: .06em; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .network-overview-meta { grid-template-columns: 1fr; }
  .network-overview-meta .network-line { border-right: 0; border-bottom: 1px solid var(--line); }
  .network-overview-meta .network-line:last-child { border-bottom: 0; }
  .summary-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
