:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe4d7;
  --ink: #142232;
  --muted: #6f7a84;
  --navy: #0d2d4d;
  --navy-2: #174c77;
  --blue: #1565c0;
  --cyan: #04a9ba;
  --green: #0f8f7b;
  --gold: #c8902f;
  --red: #bf4b3f;
  --line: rgba(13, 45, 77, .13);
  --glass: rgba(255, 255, 255, .78);
  --shadow: 0 18px 45px rgba(34, 49, 60, .10);
  --shadow-soft: 0 8px 22px rgba(34, 49, 60, .08);
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(4, 169, 186, .09), transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(200, 144, 47, .10), transparent 28%),
    linear-gradient(180deg, #f8f5ee 0%, var(--paper) 56%, #efe9dd 100%);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

button, input, select { font: inherit; }
button { color: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: 99;
  background-image:
    repeating-linear-gradient(0deg, rgba(13, 45, 77, .018) 0, rgba(13, 45, 77, .018) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(200, 144, 47, .012) 0, rgba(200, 144, 47, .012) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(20px, 3vw, 52px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8, 33, 56, .98), rgba(14, 62, 96, .96) 58%, rgba(7, 82, 91, .94));
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 28px rgba(13, 45, 77, .16);
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 120px;
  right: 18%;
  top: -76px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.brand-block, .header-meta { position: relative; z-index: 1; display: flex; align-items: center; }
.brand-block { gap: 16px; }

.brand-mark {
  width: 40px;
  height: 40px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  transform: rotate(45deg);
}
.brand-mark span {
  position: absolute;
  height: 2px;
  background: #fff;
  border-radius: 4px;
}
.brand-mark span:nth-child(1) { width: 23px; transform: translateY(-7px); }
.brand-mark span:nth-child(2) { width: 30px; }
.brand-mark span:nth-child(3) { width: 17px; transform: translateY(7px); }

.eyebrow, .section-kicker {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}
.eyebrow { color: rgba(255,255,255,.65); margin-bottom: 2px; }
.site-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 28px); font-weight: 700; letter-spacing: .02em; }

.header-meta { gap: 10px; }
.status-pill, .internal-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border-radius: 3px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #62e4c1; box-shadow: 0 0 0 4px rgba(98,228,193,.12); }
.internal-pill { color: #ffe0a0; border-color: rgba(255, 211, 123, .25); }
.help-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  background: transparent;
  font-family: Georgia, serif;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.help-button:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.main-wrap { width: min(1880px, 100%); margin: 0 auto; padding: 22px clamp(16px, 2vw, 34px) 34px; }

.overview-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.metric-card {
  position: relative;
  min-height: 78px;
  padding: 13px 15px 12px 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: riseIn .55s both;
}
.metric-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.metric-card::after { content: ""; position: absolute; width: 70px; height: 70px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 50%; right: -30px; top: -28px; }
.metric-card:nth-child(2) { animation-delay: .05s; }
.metric-card:nth-child(3) { animation-delay: .10s; }
.metric-card:nth-child(4) { animation-delay: .15s; }
.metric-card:nth-child(5) { animation-delay: .20s; }
.metric-card span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.metric-card strong { display: inline-block; margin-top: 2px; font-family: Georgia, var(--serif); font-size: clamp(21px, 2vw, 30px); color: var(--navy); line-height: 1.2; }
.metric-card small { margin-left: 5px; color: var(--muted); font-size: 11px; }
.accent-blue { --accent: var(--blue); }
.accent-cyan { --accent: var(--cyan); }
.accent-gold { --accent: var(--gold); }
.accent-green { --accent: var(--green); }
.accent-navy { --accent: var(--navy); }

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.map-panel, .navigator-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.map-panel { padding: 18px; min-width: 0; }
.navigator-panel { padding: 18px 15px; position: sticky; top: 101px; max-height: calc(100vh - 122px); overflow: hidden; }

.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.panel-heading.compact { align-items: center; }
.section-kicker { color: var(--gold); }
.panel-heading h2, .method-band h2, .help-card h2 { margin: 2px 0 0; font-family: var(--serif); font-size: 20px; color: var(--navy); }
.map-hint { color: var(--muted); font-size: 11px; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(4,169,186,.4); animation: pulse 2s infinite; }
.module-count { font-family: Georgia, serif; font-size: 10px; letter-spacing: .12em; color: var(--muted); }

.map-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4f0e8;
  border: 1px solid rgba(13,45,77,.08);
  box-shadow: inset 0 0 50px rgba(13,45,77,.04);
}
.map-frame img { display: block; width: 100%; height: auto; user-select: none; }

.center-title {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  pointer-events: none;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.center-title span { font-size: clamp(9px, .75vw, 13px); letter-spacing: .16em; }
.center-title b { font-family: var(--serif); font-size: clamp(12px, 1vw, 17px); }

.hotspot-group { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 5; }
.hotspot-button {
  position: relative;
  width: clamp(23px, 2vw, 35px);
  height: clamp(23px, 2vw, 35px);
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: var(--spot);
  color: #fff;
  box-shadow: 0 4px 13px rgba(13,45,77,.36), 0 0 0 4px rgba(255,255,255,.42);
  font-family: Georgia, serif;
  font-size: clamp(10px, .8vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hotspot-button::after { content: ""; position: absolute; inset: -8px; border: 1px solid color-mix(in srgb, var(--spot) 50%, transparent); border-radius: 50%; opacity: 0; transition: .2s ease; }
.hotspot-button:hover, .hotspot-button:focus-visible { transform: scale(1.16); box-shadow: 0 7px 18px rgba(13,45,77,.4), 0 0 0 5px rgba(255,255,255,.55); outline: none; }
.hotspot-button:hover::after, .hotspot-button:focus-visible::after { opacity: 1; transform: scale(1.08); }

.hotspot-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 15px);
  width: 230px;
  padding: 13px 14px;
  transform: translate(-50%, 8px);
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-top: 3px solid var(--spot);
  box-shadow: 0 16px 34px rgba(13,45,77,.17);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s ease;
}
.hotspot-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; }
.hotspot-group:hover .hotspot-tooltip, .hotspot-group:focus-within .hotspot-tooltip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hotspot-group.align-left .hotspot-tooltip { left: -6px; transform: translate(0, 8px); }
.hotspot-group.align-left:hover .hotspot-tooltip, .hotspot-group.align-left:focus-within .hotspot-tooltip { transform: translate(0, 0); }
.hotspot-group.align-left .hotspot-tooltip::after { left: 22px; }
.hotspot-group.align-right .hotspot-tooltip { left: auto; right: -6px; transform: translate(0, 8px); }
.hotspot-group.align-right:hover .hotspot-tooltip, .hotspot-group.align-right:focus-within .hotspot-tooltip { transform: translate(0, 0); }
.hotspot-group.align-right .hotspot-tooltip::after { left: auto; right: 18px; }
.hotspot-group.tooltip-below .hotspot-tooltip { bottom: auto; top: calc(100% + 14px); }
.hotspot-group.tooltip-below .hotspot-tooltip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
.hotspot-tooltip h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 15px; color: var(--navy); }
.hotspot-tooltip p { margin: 0 0 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hotspot-tooltip strong { font-family: Georgia, var(--serif); color: var(--spot); font-size: 14px; }

.legend-row { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 12px; color: var(--muted); font-size: 11px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; }
.legend-dot.core { background: var(--navy); }
.legend-dot.market { background: var(--blue); }
.legend-dot.structure { background: var(--green); }
.legend-dot.archive { background: var(--gold); }

.nav-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; background: rgba(13,45,77,.06); border: 1px solid var(--line); margin-bottom: 12px; }
.nav-tab { border: 0; padding: 8px 5px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.nav-tab.active { color: var(--navy); background: #fff; box-shadow: 0 3px 10px rgba(13,45,77,.08); font-weight: 700; }
.navigator-content { overflow-y: auto; max-height: calc(100vh - 250px); padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(13,45,77,.22) transparent; }

.module-list { display: grid; gap: 8px; }
.module-item {
  --item-color: var(--blue);
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 8px;
  text-align: left;
  border: 1px solid rgba(13,45,77,.09);
  background: rgba(255,255,255,.62);
  cursor: pointer;
  transition: .2s ease;
}
.module-item:hover { transform: translateX(-3px); border-color: color-mix(in srgb, var(--item-color) 45%, transparent); background: #fff; box-shadow: 0 8px 20px rgba(13,45,77,.08); }
.module-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--item-color); transform: scaleY(0); transform-origin: bottom; transition: .2s ease; }
.module-item:hover::before { transform: scaleY(1); }
.module-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--item-color); font: 700 12px Georgia, serif; }
.module-copy { min-width: 0; }
.module-copy b { display: block; color: var(--navy); font-family: var(--serif); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.module-copy small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.module-arrow { color: var(--item-color); font-size: 20px; }

.signal-stack, .coverage-grid { display: grid; gap: 9px; }
.signal-card { padding: 12px; border-left: 3px solid var(--signal); background: rgba(255,255,255,.68); }
.signal-card span { display: block; color: var(--muted); font-size: 10px; }
.signal-card strong { font-family: Georgia, var(--serif); font-size: 22px; color: var(--navy); }
.signal-card small { margin-left: 5px; color: var(--muted); }
.signal-card p { margin: 4px 0 0; font-size: 10px; color: var(--muted); }
.coverage-grid { grid-template-columns: 1fr 1fr; }
.coverage-card { padding: 13px; background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.coverage-card strong { display: block; font: 700 24px Georgia, var(--serif); color: var(--navy); }
.coverage-card span { font-size: 10px; color: var(--muted); }

.method-band {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: 30px;
  align-items: center;
  margin-top: 16px;
  padding: 20px 24px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy), #174c64 70%, #16766e);
  box-shadow: var(--shadow);
}
.method-band .section-kicker { color: #8de4d6; }
.method-band h2 { color: #fff; font-size: 19px; }
.method-band p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; }

.site-footer { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding: 18px clamp(18px, 3vw, 52px) 28px; color: #737a7e; font-size: 10px; border-top: 1px solid rgba(13,45,77,.1); }

.modal-overlay, .help-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 25, 42, .68);
  backdrop-filter: blur(10px);
}
.modal-overlay.open, .help-overlay.open { display: flex; }
.module-modal {
  position: relative;
  width: min(1220px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  background: #f9f7f1;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
  animation: modalIn .26s both;
}
.modal-close { position: absolute; right: 15px; top: 13px; z-index: 2; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 22px; cursor: pointer; }
.modal-close:hover { background: #fff; color: var(--navy); }
.modal-header { display: grid; grid-template-columns: 62px 1fr auto; gap: 17px; align-items: center; padding: 20px 64px 18px 24px; color: #fff; background: linear-gradient(110deg, var(--navy), #15516f 68%, #127a71); }
.modal-index { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font: 700 19px Georgia, serif; }
.modal-header .section-kicker { color: #8de4d6; }
.modal-header h2 { margin: 1px 0 2px; font-family: var(--serif); font-size: 24px; }
.modal-header p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.modal-update { color: rgba(255,255,255,.65); font-size: 10px; }
.modal-update b { display: block; color: #fff; font: 700 14px Georgia, serif; }
.modal-tabs { display: flex; gap: 0; padding: 0 24px; border-bottom: 1px solid var(--line); background: #fff; overflow-x: auto; }
.modal-tab { position: relative; border: 0; padding: 12px 16px; color: var(--muted); background: transparent; font-size: 12px; cursor: pointer; white-space: nowrap; }
.modal-tab.active { color: var(--navy); font-weight: 700; }
.modal-tab.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px; background: var(--gold); }
.modal-body { max-height: calc(92vh - 154px); overflow-y: auto; padding: 22px 24px 28px; }

.modal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

.detail-card { background: #fff; border: 1px solid var(--line); padding: 16px; box-shadow: 0 6px 18px rgba(13,45,77,.05); }
.detail-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 15px; color: var(--navy); }
.detail-card p { margin: 0; color: var(--muted); font-size: 12px; }
.detail-card .card-note { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 10px; color: #899197; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi-box { position: relative; padding: 14px; background: linear-gradient(145deg, #fff, #f4f7f7); border: 1px solid var(--line); overflow: hidden; }
.kpi-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--kpi, var(--blue)); }
.kpi-box span { display: block; color: var(--muted); font-size: 10px; }
.kpi-box strong { display: block; margin-top: 3px; font: 700 24px Georgia, var(--serif); color: var(--navy); }
.kpi-box small { font-size: 10px; color: var(--muted); }
.chart { width: 100%; height: 330px; }
.chart.tall { height: 410px; }

.bond-toolbar { display: grid; grid-template-columns: 1fr 160px 120px; gap: 10px; margin-bottom: 12px; }
.bond-toolbar input, .bond-toolbar select { width: 100%; height: 38px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); outline: none; }
.bond-toolbar input:focus, .bond-toolbar select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.08); }
.bond-table-wrap { overflow: auto; max-height: 440px; border: 1px solid var(--line); background: #fff; }
.bond-table { width: 100%; border-collapse: collapse; min-width: 960px; font-size: 11px; }
.bond-table th { position: sticky; top: 0; z-index: 1; padding: 10px 9px; text-align: right; color: #fff; background: var(--navy); font-weight: 600; white-space: nowrap; }
.bond-table th:first-child, .bond-table th:nth-child(2), .bond-table th:nth-child(3), .bond-table td:first-child, .bond-table td:nth-child(2), .bond-table td:nth-child(3) { text-align: left; }
.bond-table td { padding: 8px 9px; text-align: right; border-bottom: 1px solid rgba(13,45,77,.07); white-space: nowrap; }
.bond-table tbody tr:hover { background: #edf7f7; }
.pos { color: #b23b32; }
.neg { color: #0a8775; }
.rating-badge { display: inline-block; padding: 2px 6px; color: var(--navy); background: #eaf1f8; border: 1px solid #cbd9e7; }
.table-status { margin-top: 8px; color: var(--muted); font-size: 10px; }

.help-card { position: relative; width: min(620px, 92vw); padding: 28px; background: #f9f7f1; box-shadow: 0 30px 70px rgba(0,0,0,.25); animation: modalIn .24s both; }
.help-card .modal-close { color: var(--navy); border-color: var(--line); }
.help-card ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; counter-reset: guide; }
.help-card li { counter-increment: guide; display: grid; grid-template-columns: 40px 110px 1fr; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.help-card li::before { content: "0" counter(guide); font: 700 16px Georgia, serif; color: var(--gold); }
.help-card li b { font-family: var(--serif); color: var(--navy); }
.help-card li span { color: var(--muted); font-size: 11px; }

.empty-state { padding: 28px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); }

@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(4,169,186,.42); } 70% { box-shadow: 0 0 0 8px rgba(4,169,186,0); } 100% { box-shadow: 0 0 0 0 rgba(4,169,186,0); } }

@media (max-width: 1300px) {
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .navigator-panel { padding-inline: 12px; }
  .hotspot-tooltip { width: 205px; }
}

@media (max-width: 1080px) {
  .site-header { position: relative; }
  .workspace-grid { grid-template-columns: 1fr; }
  .navigator-panel { position: static; max-height: none; }
  .navigator-content { max-height: none; }
  .module-list { grid-template-columns: repeat(3, 1fr); }
  .overview-strip { grid-template-columns: repeat(3, 1fr); }
  .hotspot-tooltip { display: none; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; min-height: auto; padding: 14px 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .eyebrow { display: none; }
  .site-header h1 { font-size: 18px; }
  .status-pill, .internal-pill { display: none; }
  .main-wrap { padding: 12px 10px 24px; }
  .overview-strip { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .metric-card { min-height: 67px; padding: 10px 10px 9px 14px; }
  .metric-card strong { font-size: 22px; }
  .map-panel, .navigator-panel { padding: 12px; }
  .panel-heading { align-items: flex-start; }
  .panel-heading h2 { font-size: 17px; }
  .map-hint { display: none; }
  .center-title { display: none; }
  .hotspot-button { width: 22px; height: 22px; border-width: 1.5px; box-shadow: 0 2px 8px rgba(13,45,77,.38), 0 0 0 2px rgba(255,255,255,.5); }
  .legend-row { gap: 10px; }
  .module-list { grid-template-columns: 1fr 1fr; }
  .module-item { grid-template-columns: 30px minmax(0,1fr); }
  .module-arrow { display: none; }
  .module-number { width: 29px; height: 29px; }
  .method-band { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .site-footer { padding-inline: 14px; }
  .modal-overlay { padding: 0; align-items: stretch; }
  .module-modal { width: 100%; max-height: 100vh; min-height: 100vh; }
  .modal-header { grid-template-columns: 44px 1fr; padding: 15px 48px 15px 14px; }
  .modal-index { width: 42px; height: 42px; font-size: 14px; }
  .modal-header h2 { font-size: 19px; }
  .modal-update { display: none; }
  .modal-body { max-height: calc(100vh - 133px); padding: 14px; }
  .modal-tabs { padding-inline: 6px; }
  .modal-tab { padding: 10px 12px; }
  .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 { grid-column: span 12; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .chart { height: 300px; }
  .bond-toolbar { grid-template-columns: 1fr; }
  .help-card li { grid-template-columns: 32px 1fr; }
  .help-card li span { grid-column: 2; }
}

@media (max-width: 480px) {
  .overview-strip { grid-template-columns: 1fr 1fr; }
  .module-list { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .map-panel { padding: 9px; }
  .map-frame { margin-inline: -2px; }
  .legend-row { font-size: 9px; }
}
