:root {
  color-scheme: light;
  --header: #173b37;
  --header-soft: #24564f;
  --ink: #14211e;
  --muted: #62706b;
  --line: #dce4e0;
  --line-strong: #c8d3ce;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --map-land: #edf2ef;
  --map-stroke: #ffffff;
  --accent: #16866f;
  --accent-soft: #dff1eb;
  --low: #55a868;
  --watch: #4b90c8;
  --medium: #e1bd3f;
  --high: #e6832d;
  --critical: #c7443e;
  --unavailable: #b9c0bd;
  --map-scale-factor: 1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  overflow: hidden;
  background: var(--surface-soft);
  color: var(--ink);
}

html.document-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html.document-page body {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

button,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(22, 134, 111, 0.28);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.app {
  height: 100%;
}

.topbar {
  position: relative;
  z-index: 30;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--header);
  box-shadow: 0 2px 10px rgba(12, 33, 29, 0.18);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
}

.brand-mark i {
  display: block;
  border-radius: 2px 2px 0 0;
  background: #ffffff;
}

.brand-mark i:nth-child(1) {
  height: 42%;
  background: #6fc28d;
}

.brand-mark i:nth-child(2) {
  height: 68%;
  background: #f1c84c;
}

.brand-mark i:nth-child(3) {
  height: 100%;
  background: #e96f4d;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 720;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.2;
}

.primary-nav,
.top-actions,
.segmented,
.map-meta,
.topic-dock-head,
.section-label-row {
  display: flex;
  align-items: center;
}

.primary-nav {
  height: 100%;
  gap: 26px;
}

.nav-item {
  position: relative;
  height: 100%;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 13px;
}

.nav-item:hover,
.nav-item.is-active {
  color: #ffffff;
}

.nav-item.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #62c194;
}

.top-actions {
  justify-content: flex-end;
  gap: 12px;
}

.announcement-button {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.announcement-button:hover,
.announcement-button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.14);
}

.announcement-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.announcement-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  display: none;
  border: 2px solid var(--header);
  border-radius: 50%;
  background: #f3c747;
}

.announcement-button.has-unread .announcement-dot {
  display: block;
}

.announcement-panel {
  position: fixed;
  top: 68px;
  right: 24px;
  z-index: 90;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(12, 33, 29, 0.2);
}

.announcement-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 20px 16px;
}

.announcement-panel-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.announcement-panel-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.announcement-close {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0;
  color: var(--muted);
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
}

.announcement-close:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.announcement-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.announcement-item {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.announcement-item.is-pinned {
  box-shadow: inset 3px 0 0 var(--accent);
}

.announcement-item.is-new::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0ba2e;
}

.announcement-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.announcement-item-meta span {
  color: var(--accent);
  font-weight: 720;
}

.announcement-item h3 {
  margin: 9px 0 0;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}

.announcement-item > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.announcement-item-links,
.page-footer-actions,
.about-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.announcement-item-links {
  margin-top: 12px;
}

.announcement-item-links a,
.announcement-panel-footer a {
  color: var(--accent);
  font-size: 10px;
  font-weight: 720;
  text-decoration: none;
}

.announcement-item-links a:hover,
.announcement-panel-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-panel-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line-strong);
  padding: 13px 20px;
  background: var(--surface-soft);
}

.announcement-empty {
  margin: 0;
  padding: 28px 20px;
  color: var(--muted);
  font-size: 11px;
}

.version {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.text-button,
.menu-button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  padding: 0 11px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.text-button:hover,
.menu-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-button {
  display: none;
}

.workspace {
  height: calc(100% - 76px);
  display: grid;
  grid-template-columns: 342px minmax(0, 1fr);
}

.sidebar {
  position: relative;
  z-index: 12;
  overflow-y: auto;
  border-right: 1px solid var(--line-strong);
  background: var(--surface);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.sidebar-head {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 720;
  text-transform: uppercase;
}

.sidebar h1,
.map-status h2,
.topic-dock h2,
.detail-drawer h2,
.info-sheet h2 {
  margin: 0;
  letter-spacing: 0;
}

.sidebar h1 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.sidebar-head > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sidebar-section {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.section-label-row {
  justify-content: space-between;
  gap: 12px;
}

.sidebar-section h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.section-label-row > span {
  color: var(--muted);
  font-size: 10px;
}

.controls label {
  display: block;
  margin: 16px 0 7px;
  color: var(--muted);
  font-size: 11px;
}

select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0 34px 0 11px;
  color: var(--ink);
  background: var(--surface);
}

.segmented {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  overflow: hidden;
}

.segmented button {
  flex: 1;
  height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 11px;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.is-active {
  color: #ffffff;
  background: var(--header-soft);
}

.link-button {
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-size: 10px;
  font-weight: 650;
}

.section-note {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.legend,
.priority-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend li {
  min-height: 26px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.legend b {
  color: #89938f;
  font-size: 10px;
  font-weight: 500;
}

.dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
}

.dot.low { background: var(--low); }
.dot.watch { background: var(--watch); }
.dot.medium { background: var(--medium); }
.dot.high { background: var(--high); }
.dot.critical,
.dot.reviewed { background: var(--critical); }
.dot.pending { background: var(--medium); }
.dot.unavailable { background: var(--unavailable); }

.priority-list {
  margin-top: 11px;
}

.priority-button {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 6px 0;
  text-align: left;
  color: var(--ink);
  background: transparent;
}

.priority-list li:first-child .priority-button {
  border-top: 0;
}

.priority-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.priority-button b {
  min-width: 35px;
  border: 1px solid var(--band-color);
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--band-color);
  background: #ffffff;
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
}

.priority-button:hover span,
.priority-button.is-active span {
  color: var(--accent);
}

.evidence-list {
  margin-top: 11px;
}

.evidence-item {
  display: block;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
}

.evidence-item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.evidence-item strong {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 650;
}

.evidence-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.evidence-item:hover strong {
  color: var(--accent);
}

.empty-state {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.map-workspace {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 72px 64px minmax(0, 1fr) 142px 32px;
  background: #fbfcfb;
}

.map-status {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.map-status h2 {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.map-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-data-status {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  border: 1px solid #dfc878;
  border-radius: 3px;
  padding: 3px 7px;
  color: #725b0f;
  background: #fff8df;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.score-data-status.is-evidence {
  border-color: #a9d2c4;
  color: #0d725d;
  background: #e8f4ef;
}

.map-status .kicker {
  margin-bottom: 3px;
}

.map-legend {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(155px, 0.9fr) minmax(0, 3.1fr);
  align-items: center;
  gap: 18px;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.map-legend-copy {
  min-width: 0;
}

.map-legend h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.map-legend .section-note {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-legend .legend {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 1fr);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.map-legend .evidence-legend {
  grid-auto-columns: minmax(140px, 1fr);
}

.map-legend .legend li {
  min-width: 0;
  min-height: 34px;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 7px;
  row-gap: 1px;
}

.map-legend .legend .dot {
  grid-row: 1 / 3;
  align-self: center;
}

.map-legend .legend span:not(.dot) {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-legend .legend b {
  grid-column: 2;
  color: #89938f;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 500;
}

.map-meta {
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
}

.map-meta b {
  margin-right: 4px;
  color: var(--ink);
  font-size: 13px;
}

.map-canvas {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #fbfcfb;
}

.world-map,
.market-markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(var(--map-scale-factor));
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.world-map {
  display: block;
}

.sphere {
  fill: #f8faf9;
  stroke: #dbe4df;
  stroke-width: 1;
}

.graticule {
  fill: none;
  stroke: #e6ece9;
  stroke-width: 0.55;
}

.country {
  fill: var(--map-land);
  stroke: var(--map-stroke);
  stroke-width: 0.65;
}

.region {
  cursor: pointer;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1;
  transition: opacity 140ms ease, stroke-width 140ms ease;
}

.region:hover,
.region.is-selected {
  opacity: 1 !important;
  stroke: var(--header);
  stroke-width: 2.2;
}

.map-link {
  fill: none;
  stroke: #76857f;
  stroke-width: 0.9;
  stroke-dasharray: 3 3;
  opacity: 0.52;
}

.market-markers {
  pointer-events: none;
}

.market-marker {
  position: absolute;
  width: 72px;
  min-height: 58px;
  display: grid;
  grid-template-rows: 34px auto;
  justify-items: center;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.market-marker .score {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: var(--marker-color);
  box-shadow: 0 3px 10px rgba(23, 48, 43, 0.22);
  font-size: 11px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.market-marker .market-name {
  max-width: 88px;
  margin-top: 4px;
  overflow: hidden;
  color: #283832;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 0 #ffffff, 0 -1px 0 #ffffff, 1px 0 0 #ffffff, -1px 0 0 #ffffff;
}

.market-marker:hover .score,
.market-marker.is-selected .score {
  border-color: var(--header);
  transform: scale(1.08);
}

.market-marker.is-dimmed {
  opacity: 0.48;
}

.market-marker.is-unavailable .score {
  box-shadow: none;
}

.zoom-controls {
  position: absolute;
  right: 16px;
  bottom: 50px;
  z-index: 5;
  display: grid;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(24, 51, 44, 0.12);
}

.zoom-controls button {
  width: 34px;
  height: 31px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
}

.zoom-controls button:last-child {
  border-bottom: 0;
}

#zoomResetButton {
  font-size: 8px;
}

.map-scale {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 150px auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
}

.map-scale i {
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--low), var(--watch), var(--medium), var(--high), var(--critical));
}

.detail-drawer,
.info-sheet {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 10;
  width: min(340px, calc(100% - 28px));
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 40px rgba(25, 51, 44, 0.18);
}

.drawer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 18px;
  line-height: 1;
}

.detail-drawer h2,
.info-sheet h2 {
  padding-right: 30px;
  font-size: 21px;
  line-height: 1.25;
}

.drawer-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 12px;
}

.drawer-score strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.drawer-score span {
  color: var(--muted);
  font-size: 11px;
}

.detail-drawer > p:not(.kicker),
.info-sheet p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.drawer-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 16px 0;
  background: var(--line);
}

.drawer-metrics div {
  min-width: 0;
  padding: 10px;
  background: var(--surface-soft);
}

.drawer-metrics dt {
  color: var(--muted);
  font-size: 9px;
}

.drawer-metrics dd {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-topics,
.drawer-signals {
  margin-top: 16px;
}

.drawer-topics h3,
.drawer-signals h3,
.info-sheet h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.drawer-topic-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 9px 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 10px;
}

.drawer-topic-button b {
  min-width: 35px;
  border: 1px solid var(--band-color);
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--band-color);
  font-size: 8px;
  line-height: 1.2;
  text-align: center;
}

.drawer-signal {
  display: block;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
  font-size: 10px;
  line-height: 1.5;
}

.drawer-signal span {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 8px;
}

.info-sheet {
  width: min(520px, calc(100% - 28px));
}

.info-sheet ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.topic-dock {
  position: relative;
  z-index: 7;
  min-width: 0;
  border-top: 1px solid var(--line-strong);
  padding: 12px 18px 10px;
  background: #ffffff;
}

.topic-dock-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.topic-dock .kicker {
  margin-bottom: 2px;
}

.topic-dock h2 {
  font-size: 12px;
  line-height: 1.2;
}

.topic-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74px, 1fr);
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.topic-tile {
  position: relative;
  min-width: 74px;
  height: 79px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 32px minmax(0, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  overflow: hidden;
}

.topic-tile-icon {
  width: 32px;
  height: 32px;
  display: block;
  grid-column: 1;
  grid-row: 1;
}

.topic-tile b {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  color: #85918c;
  font-size: 8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.topic-tile-label {
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  display: -webkit-box;
  overflow: hidden;
  font-size: 8px;
  line-height: 1.25;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.topic-tile:hover,
.topic-tile.is-active {
  border-color: var(--topic-color);
  box-shadow: inset 0 0 0 1px var(--topic-color);
}

.topic-tile.is-muted {
  opacity: 0.62;
}

.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  color: #7b8782;
  background: #f8faf9;
  font-size: 8px;
}

.map-footer p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: calc(100% - 32px);
  border-radius: 5px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--header);
  box-shadow: 0 8px 24px rgba(18, 44, 39, 0.24);
  font-size: 11px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .workspace {
    grid-template-columns: 306px minmax(0, 1fr);
  }

  .map-meta span:nth-child(2) {
    display: none;
  }

  .map-legend {
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .topic-rail {
    grid-auto-columns: 78px;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: 62px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small,
  .version {
    display: none;
  }

  .top-actions {
    gap: 7px;
  }

  .text-button,
  .menu-button {
    min-height: 31px;
    padding: 0 9px;
    font-size: 10px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .workspace {
    position: relative;
    height: calc(100% - 62px);
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 62px;
    bottom: 0;
    left: 0;
    z-index: 25;
    width: min(340px, 88vw);
    border-right: 1px solid var(--line-strong);
    box-shadow: 12px 0 32px rgba(18, 42, 37, 0.18);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .map-workspace {
    height: 100%;
    grid-template-rows: 58px 52px minmax(0, 1fr) 122px 27px;
  }

  .map-status {
    padding: 0 14px;
  }

  .map-status h2 {
    font-size: 14px;
  }

  .map-meta {
    gap: 9px;
  }

  .map-meta span:nth-child(2),
  .map-meta span:nth-child(3) {
    display: none;
  }

  .map-legend {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 6px 10px;
  }

  .map-legend h2 {
    font-size: 10px;
    white-space: nowrap;
  }

  .map-legend .section-note {
    display: none;
  }

  .map-legend .legend {
    gap: 8px;
    grid-auto-columns: minmax(88px, 1fr);
  }

  .map-legend .evidence-legend {
    grid-auto-columns: minmax(120px, 1fr);
  }

  .map-legend .legend li {
    min-height: 36px;
  }

  .world-map,
  .market-markers {
    width: 115%;
    left: -7.5%;
  }

  .market-marker {
    width: 52px;
    min-height: 49px;
  }

  .market-marker .score {
    min-width: 32px;
    height: 32px;
    border-width: 2px;
    font-size: 11px;
  }

  .market-marker .market-name {
    max-width: 52px;
    font-size: 7px;
  }

  .map-scale {
    left: 12px;
    bottom: 10px;
    grid-template-columns: auto 84px auto;
  }

  .zoom-controls {
    right: 10px;
    bottom: 37px;
  }

  .zoom-controls button {
    width: 31px;
    height: 28px;
  }

  .detail-drawer,
  .info-sheet {
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
  }

  .topic-dock {
    padding: 9px 10px 7px;
  }

  .topic-dock-head {
    margin-bottom: 6px;
  }

  .topic-dock .kicker {
    display: none;
  }

  .topic-rail {
    grid-auto-columns: 68px;
    gap: 4px;
  }

  .topic-tile {
    min-width: 68px;
    height: 77px;
    padding: 7px;
  }

  .map-footer {
    padding: 0 10px;
  }

  .map-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-sidebar,
  .event-filter-panel {
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* V0.49 topic guide and regional event pages */

.primary-nav a.nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.topic-detail-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.topic-page,
.topic-app {
  height: 100%;
}

.topic-page {
  overflow: hidden;
  background: #f7f9f8;
}

.topic-workspace {
  height: calc(100% - 76px);
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.topic-sidebar {
  overflow-y: auto;
  border-right: 1px solid var(--line-strong);
  background: #ffffff;
}

.topic-sidebar-head {
  padding: 25px 22px 20px;
  border-bottom: 1px solid var(--line);
}

.topic-sidebar-head h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.topic-sidebar-head > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.topic-index {
  padding: 8px 0 24px;
}

.topic-index-link {
  min-height: 56px;
  display: grid;
  grid-template-columns: 32px 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  padding: 7px 18px;
  color: var(--ink);
  text-decoration: none;
}

.topic-index-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.topic-index-link b {
  color: #96a19d;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.topic-index-link span {
  font-size: 11px;
  line-height: 1.35;
}

.topic-index-link:hover,
.topic-index-link.is-active {
  border-left-color: var(--topic-color);
  color: var(--topic-color);
  background: #f5f8f6;
}

.topic-article {
  min-width: 0;
  overflow-y: auto;
  background: #ffffff;
}

.topic-breadcrumb,
.topic-hero-band,
.topic-content-section,
.topic-pagination,
.topic-footer {
  width: min(1080px, calc(100% - 52px));
  margin-right: auto;
  margin-left: auto;
}

.topic-breadcrumb {
  display: flex;
  gap: 7px;
  padding: 20px 0 14px;
  color: var(--muted);
  font-size: 10px;
}

.topic-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.topic-hero-band {
  min-height: 246px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 28px 0;
}

.topic-hero-copy h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: 0;
}

.topic-title-en {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.topic-lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: #3e4c47;
  font-size: 14px;
  line-height: 1.75;
}

.topic-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.topic-hero-meta span {
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 5px 8px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 9px;
}

.topic-hero-image {
  width: 190px;
  aspect-ratio: 1 / 1;
  display: block;
  justify-self: end;
  object-fit: contain;
}

.topic-content-section {
  border-bottom: 1px solid var(--line-strong);
  padding: 42px 0 46px;
}

.topic-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.topic-section-heading .section-number {
  width: 30px;
  margin: 1px 0 0;
  color: #98a49f;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.topic-section-heading .kicker {
  margin-bottom: 4px;
}

.topic-section-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.topic-reading-grid,
.business-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 52px;
}

.topic-prose p {
  margin: 0 0 16px;
  color: #384640;
  font-size: 14px;
  line-height: 1.85;
}

.topic-question-list {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.topic-question-list h3,
.business-columns h3 {
  margin: 0 0 13px;
  font-size: 13px;
}

.topic-question-list ol {
  margin: 0;
  padding-left: 20px;
}

.topic-question-list li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.section-intro {
  max-width: 760px;
  margin: -8px 0 26px 44px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.subsection-head span {
  color: #987a2a;
  font-size: 9px;
}

.enterprise-list,
.stakeholder-list {
  border-top: 1px solid var(--line);
}

.enterprise-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 34px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.enterprise-row strong,
.enterprise-row small {
  display: block;
}

.enterprise-row strong {
  font-size: 11px;
  line-height: 1.35;
}

.enterprise-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.enterprise-row > b {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.relevance-band {
  height: 5px;
  overflow: hidden;
  background: #e6ebe8;
}

.relevance-band i {
  height: 100%;
  display: block;
}

.relevance-band.is-low i { width: 20%; background: var(--low); }
.relevance-band.is-watch i { width: 40%; background: var(--watch); }
.relevance-band.is-medium i { width: 60%; background: var(--medium); }
.relevance-band.is-high i { width: 80%; background: var(--high); }
.relevance-band.is-critical i { width: 100%; background: var(--critical); }

.stakeholder-row {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.stakeholder-row strong {
  font-size: 11px;
}

.stakeholder-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.knowledge-links,
.topic-evidence-list {
  margin-left: 44px;
  border-top: 1px solid var(--line);
}

.knowledge-link,
.topic-evidence-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
}

.knowledge-link small,
.knowledge-link strong {
  display: block;
}

.knowledge-link small {
  color: var(--muted);
  font-size: 9px;
}

.knowledge-link strong {
  margin-top: 4px;
  font-size: 12px;
}

.knowledge-link > b,
.topic-evidence-row > b {
  color: var(--accent);
  font-size: 15px;
}

.knowledge-link:hover strong,
.topic-evidence-row:hover strong {
  color: var(--accent);
}

.topic-evidence-row span {
  color: var(--muted);
  font-size: 9px;
}

.topic-evidence-row strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.topic-evidence-row p {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.topic-empty-state {
  margin: 0;
  padding: 20px 0;
  color: var(--muted);
  font-size: 11px;
}

.topic-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-strong);
}

.topic-pagination a {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding: 18px 24px;
  color: var(--ink);
  text-decoration: none;
}

.topic-pagination a:last-child {
  align-items: flex-end;
  border-right: 0;
  text-align: right;
}

.topic-pagination small {
  color: var(--muted);
  font-size: 9px;
}

.topic-pagination strong {
  margin-top: 6px;
  font-size: 12px;
}

.topic-footer {
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 9px;
}

.topic-footer p {
  margin: 0;
}

.event-page {
  height: auto;
  min-height: 100%;
  overflow: auto;
  background: #f7f9f8;
}

.event-app {
  min-height: 100vh;
}

.event-main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 38px;
}

.event-intro-band {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line-strong);
  padding: 32px 0;
}

.event-intro-band h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.event-intro-band > div > p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.event-summary {
  min-width: 320px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.event-summary div {
  border-right: 1px solid var(--line);
  padding: 15px;
}

.event-summary div:last-child {
  border-right: 0;
}

.event-summary dt {
  color: var(--muted);
  font-size: 9px;
}

.event-summary dd {
  margin: 7px 0 0;
  font-size: 22px;
  font-weight: 730;
}

.event-filter-panel {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 0;
  background: rgba(247, 249, 248, 0.96);
}

.event-filter-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.event-public-only {
  display: inline-flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 0 12px;
  color: #0d725d;
  background: #e8f4ef;
  font-size: 10px;
}

.event-filter-panel > .link-button {
  height: 40px;
  padding: 0 10px;
}

.event-disclosure {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  margin: 18px 0 0;
  border-left: 3px solid var(--accent);
  padding: 11px 15px;
  background: #edf5f1;
}

.event-disclosure strong {
  font-size: 11px;
}

.event-disclosure p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.event-stream {
  margin-top: 28px;
}

.region-event-section {
  border-top: 2px solid var(--ink);
  margin-bottom: 46px;
}

.region-event-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 16px;
}

.region-event-heading h2 {
  margin: 0;
  font-size: 24px;
}

.region-event-heading > span {
  color: var(--muted);
  font-size: 10px;
}

.event-topic-group {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  border-top: 1px solid var(--line-strong);
}

.event-topic-group > header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 18px 22px 18px 0;
}

.event-topic-group > header > b {
  color: #96a19d;
  font-size: 10px;
}

.event-topic-group h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.event-topic-group header a {
  display: inline-flex;
  margin-top: 7px;
  color: var(--accent);
  font-size: 9px;
  text-decoration: none;
}

.event-topic-group > div {
  border-left: 1px solid var(--line);
}

.event-row {
  border-bottom: 1px solid var(--line);
  padding: 17px 0 17px 22px;
}

.event-row.is-candidate {
  background: rgba(225, 189, 63, 0.05);
}

.event-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.event-row-meta span {
  border-right: 1px solid var(--line-strong);
  padding-right: 7px;
  color: var(--muted);
  font-size: 8px;
}

.event-row-meta span:last-child {
  border-right: 0;
}

.event-evidence-status {
  color: var(--accent) !important;
  font-weight: 700;
}

.event-row.is-candidate .event-evidence-status {
  color: #9c7420 !important;
}

.event-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 22px;
  margin-top: 9px;
}

.event-row h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.event-row-main p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.event-heat-impact {
  border-left: 2px solid var(--high);
  padding-left: 12px;
}

.event-heat-impact small,
.event-heat-impact strong {
  display: block;
}

.event-heat-impact small {
  color: var(--muted);
  font-size: 8px;
}

.event-heat-impact strong {
  margin-top: 5px;
  font-size: 11px;
}

.event-row-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto) auto;
  align-items: end;
  gap: 14px;
  margin-top: 12px;
}

.event-tags,
.event-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.event-tags a,
.event-industries b {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 5px;
  color: var(--muted);
  background: #ffffff;
  font-size: 8px;
  font-weight: 500;
  text-decoration: none;
}

.event-industries span {
  width: 100%;
  color: #8a9591;
  font-size: 8px;
}

.event-source-link {
  color: var(--accent);
  font-size: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.event-empty-state {
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
}

.event-empty-state strong {
  color: #c5cdca;
  font-size: 54px;
}

.event-empty-state p {
  max-width: 430px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.event-footer {
  border-top: 1px solid var(--line-strong);
  padding: 20px 0;
  color: var(--muted);
  font-size: 9px;
}

.event-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .topic-reading-grid,
  .business-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .event-intro-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .event-summary {
    width: 100%;
  }

  .event-filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .event-topic-group {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .event-row-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topic-workspace {
    height: calc(100% - 62px);
    display: block;
  }

  .topic-sidebar {
    position: fixed;
    top: 62px;
    bottom: 0;
    left: 0;
    z-index: 25;
    width: min(340px, 88vw);
    border-right: 1px solid var(--line-strong);
    box-shadow: 12px 0 32px rgba(18, 42, 37, 0.18);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .topic-sidebar.is-open {
    transform: translateX(0);
  }

  .topic-article {
    height: 100%;
  }

  .topic-breadcrumb,
  .topic-hero-band,
  .topic-content-section,
  .topic-pagination,
  .topic-footer {
    width: calc(100% - 28px);
  }

  .topic-hero-band {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 16px;
    padding: 22px 0;
  }

  .topic-hero-copy h1 {
    font-size: 26px;
  }

  .topic-title-en {
    font-size: 11px;
  }

  .topic-lead {
    font-size: 11px;
  }

  .topic-hero-image {
    width: 92px;
  }

  .topic-content-section {
    padding: 30px 0 34px;
  }

  .topic-section-heading h2 {
    font-size: 19px;
  }

  .section-intro,
  .knowledge-links,
  .topic-evidence-list {
    margin-left: 0;
  }

  .enterprise-row {
    grid-template-columns: minmax(0, 1fr) 66px 32px;
  }

  .topic-pagination a {
    min-height: 84px;
    padding: 14px;
  }

  .event-main {
    width: calc(100% - 24px);
  }

  .event-intro-band {
    min-height: 0;
    padding: 24px 0;
  }

  .event-intro-band h1 {
    font-size: 26px;
  }

  .event-summary {
    min-width: 0;
  }

  .event-summary div {
    padding: 11px;
  }

  .event-summary dd {
    font-size: 18px;
  }

  .event-filter-panel {
    position: fixed;
    top: 62px;
    right: 0;
    left: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line-strong);
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 42, 37, 0.16);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .event-filter-panel.is-open {
    transform: translateY(0);
  }

  .event-public-only {
    width: 100%;
  }

  .event-disclosure {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .event-topic-group {
    display: block;
  }

  .event-topic-group > header {
    padding-right: 0;
  }

  .event-topic-group > div {
    border-left: 0;
  }

  .event-row {
    padding-left: 0;
  }

  .event-row-main {
    grid-template-columns: 1fr;
  }

  .event-heat-impact {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
}

/* Public methodology and evidence pages */

.method-page {
  height: auto;
  min-height: 100%;
  overflow: auto;
  background: #f7f9f8;
}

.method-app {
  min-height: 100vh;
}

.method-back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.method-main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.method-hero {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line-strong);
  padding: 42px 0;
}

.method-hero h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.method-hero > div > p:last-child {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.method-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.method-status div {
  border-right: 1px solid var(--line);
  padding: 20px 16px;
}

.method-status div:last-child {
  border-right: 0;
}

.method-status dt {
  color: var(--muted);
  font-size: 9px;
}

.method-status dd {
  margin: 8px 0 0;
  color: var(--header);
  font-size: 26px;
  font-weight: 740;
}

.method-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  border-bottom: 1px solid var(--line-strong);
  padding: 48px 0 54px;
}

.method-section-title > span {
  display: block;
  margin-bottom: 24px;
  color: #a6b1ad;
  font-size: 34px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.method-section-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.method-section-body {
  min-width: 0;
}

.method-lead {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.method-formula {
  border-left: 4px solid var(--accent);
  padding: 17px 20px;
  color: #ffffff;
  background: var(--header);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 690;
}

.method-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.method-dimensions article {
  border-top: 3px solid var(--line-strong);
  padding-top: 18px;
}

.method-dimensions article:first-child {
  border-top-color: var(--accent);
}

.method-dimensions article:nth-child(2) {
  border-top-color: var(--watch);
}

.method-dimensions article:nth-child(3) {
  border-top-color: var(--high);
}

.method-dimensions strong {
  color: var(--accent);
  font-size: 25px;
}

.method-dimensions h3 {
  margin: 12px 0 7px;
  font-size: 14px;
}

.method-dimensions p,
.evidence-grade-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.four-dimensions {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.four-dimensions article:nth-child(4) {
  border-top-color: var(--critical);
}

.state-dimensions strong {
  font-size: 18px;
}

.secondary-formula {
  margin-top: 28px;
}

.method-table-wrap {
  overflow-x: auto;
}

.method-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 11px;
  line-height: 1.5;
}

.method-table th,
.method-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.method-table thead th {
  color: #ffffff;
  background: var(--header-soft);
  font-size: 10px;
}

.method-table tbody th {
  width: 60px;
  color: var(--accent);
  font-size: 14px;
}

.method-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.evidence-grade-list {
  border-top: 1px solid var(--line-strong);
}

.evidence-grade-list > div {
  display: grid;
  grid-template-columns: 46px 180px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.evidence-grade-list b {
  color: var(--accent);
  font-size: 25px;
}

.evidence-grade-list strong {
  font-size: 12px;
}

.method-workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-strong);
}

.method-workflow li {
  min-height: 112px;
  padding: 15px;
  background: #ffffff;
  font-size: 10px;
  line-height: 1.4;
}

.method-workflow span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 740;
}

.method-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.method-checklist li {
  position: relative;
  min-height: 74px;
  padding: 16px 18px 16px 34px;
  color: #53625c;
  background: #ffffff;
  font-size: 10px;
  line-height: 1.55;
}

.method-checklist li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.method-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 900px) {
  .method-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .method-section {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }

  .method-workflow {
    grid-template-columns: repeat(3, 1fr);
  }

  .four-dimensions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .method-main {
    width: calc(100% - 28px);
  }

  .method-hero {
    min-height: 0;
    padding: 30px 0;
  }

  .method-hero h1 {
    font-size: 28px;
  }

  .method-hero > div > p:last-child {
    font-size: 12px;
  }

  .method-status div {
    padding: 14px 10px;
  }

  .method-status dd {
    font-size: 20px;
  }

  .method-section {
    display: block;
    padding: 34px 0 40px;
  }

  .method-section-title {
    margin-bottom: 24px;
  }

  .method-section-title > span {
    margin-bottom: 12px;
    font-size: 25px;
  }

  .method-dimensions {
    grid-template-columns: 1fr;
  }

  .four-dimensions,
  .method-checklist {
    grid-template-columns: 1fr;
  }

  .evidence-grade-list > div {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .evidence-grade-list p {
    grid-column: 2;
  }

  .method-workflow {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* V0.52 evidence coverage review */

.evidence-page {
  height: auto;
  min-height: 100%;
  overflow: auto;
  background: #f7f9f8;
}

.evidence-app {
  min-height: 100vh;
}

.evidence-back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.evidence-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.evidence-hero {
  min-height: 254px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line-strong);
  padding: 42px 0;
}

.evidence-hero h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.evidence-hero > div > p:last-child {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.evidence-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.evidence-summary div {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
}

.evidence-summary div:last-child {
  border-right: 0;
}

.evidence-summary dt {
  min-height: 24px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.evidence-summary dd {
  margin: 8px 0 0;
  color: var(--header);
  font-size: 25px;
  line-height: 1;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.evidence-disclosure {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line-strong);
  padding: 19px 22px;
  background: #edf5f1;
}

.evidence-disclosure strong {
  color: var(--header);
  font-size: 11px;
}

.evidence-disclosure p {
  margin: 0;
  color: #52625c;
  font-size: 11px;
  line-height: 1.65;
}

.evidence-release-band {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line-strong);
  padding: 24px 0;
}

.evidence-release-copy h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.evidence-release-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.evidence-release-grid,
.evidence-queue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.evidence-release-grid div,
.evidence-queue-summary div {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 13px 14px;
}

.evidence-release-grid div:last-child,
.evidence-queue-summary div:last-child {
  border-right: 0;
}

.evidence-release-grid dt,
.evidence-queue-summary dt {
  min-height: 25px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.evidence-release-grid dd,
.evidence-queue-summary dd {
  margin: 6px 0 0;
  color: var(--header);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.evidence-release-grid .is-passed dd {
  color: var(--accent);
}

.evidence-release-grid .is-blocked dd {
  color: var(--critical);
}

.evidence-tabs {
  max-width: 100%;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--line-strong);
  scrollbar-width: thin;
}

.evidence-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-height: 56px;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.evidence-tabs button.is-active {
  color: var(--header);
}

.evidence-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--accent);
}

.evidence-panel,
.evidence-source-section {
  border-bottom: 1px solid var(--line-strong);
  padding: 38px 0 44px;
}

.evidence-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 23px;
}

.evidence-section-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.evidence-head-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.coverage-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9px;
}

.coverage-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.coverage-legend i {
  width: 9px;
  height: 9px;
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.coverage-legend i.reviewed {
  border-color: var(--accent);
  background: var(--accent);
}

.coverage-legend i.pending {
  border-color: var(--watch);
  background: #e8f1f8;
}

.coverage-legend i.none {
  background: #f1f4f2;
}

.evidence-gap-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 10px;
  white-space: nowrap;
}

.evidence-gap-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}

.evidence-matrix-wrap,
.evidence-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #ffffff;
}

.evidence-matrix {
  width: 100%;
  min-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 9px;
}

.evidence-matrix th,
.evidence-matrix td {
  height: 46px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5px;
  text-align: center;
}

.evidence-matrix tr:last-child th,
.evidence-matrix tr:last-child td {
  border-bottom: 0;
}

.evidence-matrix tr > *:last-child {
  border-right: 0;
}

.evidence-matrix thead th {
  height: 56px;
  color: var(--muted);
  background: var(--surface-soft);
  font-weight: 650;
}

.evidence-matrix thead th:first-child,
.evidence-matrix tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 180px;
  min-width: 180px;
  text-align: left;
}

.evidence-matrix thead th:first-child {
  z-index: 3;
  padding-left: 14px;
}

.evidence-matrix thead a {
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.evidence-matrix thead a span {
  color: var(--header);
  font-size: 8px;
}

.evidence-matrix thead a small {
  margin-top: 3px;
  color: #8b9792;
  font-size: 8px;
  line-height: 1.15;
  font-weight: 600;
}

.evidence-matrix tbody th {
  padding: 7px 14px;
  background: #ffffff;
}

.evidence-matrix tbody th strong,
.evidence-matrix tbody th small {
  display: block;
}

.evidence-matrix tbody th strong {
  color: var(--ink);
  font-size: 10px;
  line-height: 1.3;
}

.evidence-matrix tbody th small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.evidence-matrix-cell span {
  width: 28px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.evidence-matrix-cell.is-reviewed {
  background: #f5faf8;
}

.evidence-matrix-cell.is-reviewed span {
  border-color: var(--accent);
  background: var(--accent);
}

.evidence-matrix-cell.is-pending {
  background: #f7fafc;
}

.evidence-matrix-cell.is-pending span {
  border-color: var(--watch);
  color: #3475a9;
  background: #e8f1f8;
}

.evidence-matrix-cell.is-none span {
  background: #f1f4f2;
}

.evidence-matrix tr.is-zero-coverage th {
  border-left: 3px solid var(--high);
  padding-left: 11px;
}

.evidence-gap-list {
  border-bottom: 1px solid var(--line);
}

.evidence-gap-list > div {
  display: grid;
  grid-template-columns: 130px 170px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.evidence-gap-list > div:first-child {
  border-top: 0;
}

.evidence-gap-list span {
  color: #8b9792;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.evidence-gap-list strong {
  font-size: 11px;
}

.evidence-gap-list p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.evidence-section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
  text-align: right;
}

.evidence-queue-summary {
  margin-bottom: 22px;
  background: #ffffff;
}

.evidence-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 10px;
  line-height: 1.5;
}

.evidence-table th,
.evidence-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}

.evidence-table tr > *:last-child {
  border-right: 0;
}

.evidence-table tbody tr:last-child > * {
  border-bottom: 0;
}

.evidence-table thead th {
  color: #ffffff;
  background: var(--header-soft);
  font-size: 9px;
  font-weight: 650;
}

.evidence-table tbody th {
  min-width: 170px;
  background: #fbfcfb;
}

.evidence-table tbody th strong,
.evidence-table tbody th small,
.evidence-table td small {
  display: block;
}

.evidence-table tbody th strong {
  color: var(--ink);
  font-size: 10px;
}

.evidence-table tbody th small,
.evidence-table td small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.evidence-status {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 4px 6px;
  color: var(--muted);
  background: #f5f7f6;
  font-size: 8px;
  line-height: 1.25;
  font-weight: 650;
}

.evidence-status.is-complete {
  border-color: #9fcbbb;
  color: #0d725d;
  background: #e8f4ef;
}

.evidence-status.is-partial {
  border-color: #e2c666;
  color: #79610b;
  background: #fbf6df;
}

.evidence-status.is-blocked {
  border-color: #d8b3a0;
  color: #99502d;
  background: #fbefe9;
}

.pilot-jurisdiction {
  min-width: 138px;
}

.pilot-jurisdiction strong,
.pilot-jurisdiction span {
  display: block;
}

.pilot-jurisdiction strong {
  color: var(--header);
  font-size: 10px;
}

.pilot-jurisdiction span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.pilot-dimension-cell {
  min-width: 132px;
}

.score-anchor {
  min-width: 38px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 12px;
  line-height: 1;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.score-anchor.is-known {
  border-color: #9fcbbb;
  color: #0d725d;
  background: #e8f4ef;
}

.score-anchor.is-unknown {
  color: #6f7b76;
  background: #f1f4f2;
  font-size: 9px;
}

.pilot-dimension-status {
  min-height: 22px;
  line-height: 1.35;
}

.pilot-pressure-cell {
  min-width: 138px;
}

.pilot-pressure-cell strong {
  display: block;
  color: var(--header);
  font-size: 17px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.evidence-gap-copy {
  min-width: 210px;
  color: #596760;
}

.evidence-source-table {
  min-width: 980px;
}

.evidence-source-table tbody th {
  width: 34%;
}

.evidence-source-table tbody th span,
.evidence-source-table tbody th a {
  display: block;
}

.evidence-source-table tbody th span {
  margin-bottom: 4px;
  color: #8b9792;
  font-size: 8px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.evidence-source-table tbody th a,
.evidence-source-link {
  color: var(--header);
  text-decoration: none;
}

.evidence-source-table tbody th a:hover,
.evidence-source-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.evidence-source-link {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 650;
}

.priority-review-table {
  min-width: 1280px;
}

.priority-review-case {
  width: 190px;
  min-width: 190px;
}

.priority-review-case > span,
.priority-review-case > strong,
.priority-review-case > small,
.priority-review-case > em {
  display: block;
}

.priority-review-case > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.priority-review-case > strong {
  margin-top: 5px;
}

.priority-review-case > small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.priority-review-case > em {
  width: max-content;
  max-width: 100%;
  margin-top: 9px;
  font-style: normal;
}

.review-dimension-cell {
  width: 245px;
  min-width: 245px;
  vertical-align: top;
}

.review-source-links {
  margin-top: 9px;
}

.review-source-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  border-top: 1px solid var(--line);
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
}

.review-source-link:first-child {
  border-top: 0;
}

.review-source-link > span {
  grid-column: 1 / 3;
  color: #87928d;
  font-size: 8px;
  font-weight: 700;
}

.review-source-link > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-source-link > small {
  align-self: center;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.review-source-link:hover > strong {
  color: var(--accent);
}

.review-dimension-cell > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.review-progress-cell,
.review-score-gate {
  width: 108px;
  min-width: 108px;
  vertical-align: top;
}

.review-progress-cell strong,
.review-progress-cell small,
.review-score-gate strong,
.review-score-gate small {
  display: block;
}

.review-progress-cell strong {
  margin-bottom: 5px;
  font-size: 11px;
}

.review-progress-cell small,
.review-score-gate small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.review-score-gate strong {
  color: var(--critical);
  font-size: 11px;
}

.priority-review-boundary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  border-left: 3px solid var(--accent);
  padding: 12px 15px;
  background: var(--surface-soft);
}

.priority-review-boundary strong {
  font-size: 10px;
}

.priority-review-boundary p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.evidence-load-error {
  min-width: 100%;
  padding: 32px;
  color: var(--critical);
  text-align: center;
}

.evidence-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 1000px) {
  .evidence-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .evidence-section-head {
    align-items: flex-start;
  }

  .evidence-head-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .evidence-release-band {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .evidence-main {
    width: calc(100% - 28px);
  }

  .evidence-hero {
    min-height: 0;
    padding: 30px 0;
  }

  .evidence-hero h1 {
    font-size: 28px;
  }

  .evidence-hero > div > p:last-child {
    font-size: 12px;
  }

  .evidence-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-summary div:nth-child(2) {
    border-right: 0;
  }

  .evidence-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .evidence-summary div {
    padding: 14px 12px;
  }

  .evidence-summary dt {
    min-height: 0;
  }

  .evidence-summary dd {
    font-size: 21px;
  }

  .evidence-disclosure {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 16px;
  }

  .evidence-release-band {
    padding: 20px 0;
  }

  .evidence-release-grid,
  .evidence-queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-release-grid div:nth-child(2),
  .evidence-queue-summary div:nth-child(2) {
    border-right: 0;
  }

  .evidence-release-grid div:nth-child(-n + 2),
  .evidence-queue-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .evidence-tabs {
    gap: 24px;
  }

  .evidence-tabs button {
    min-height: 50px;
  }

  .evidence-panel,
  .evidence-source-section {
    padding: 32px 0 38px;
  }

  .evidence-section-head {
    display: block;
    margin-bottom: 19px;
  }

  .evidence-section-head h2 {
    font-size: 19px;
  }

  .evidence-head-actions {
    margin-top: 18px;
  }

  .coverage-legend {
    gap: 10px;
  }

  .evidence-section-note {
    margin-top: 10px;
    text-align: left;
  }

  .evidence-matrix {
    min-width: 900px;
  }

  .evidence-matrix thead th:first-child,
  .evidence-matrix tbody th {
    width: 142px;
    min-width: 142px;
  }

  .evidence-gap-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .evidence-table {
    min-width: 1080px;
  }

  .evidence-source-table {
    min-width: 920px;
  }

  .priority-review-table {
    min-width: 1260px;
  }

  .priority-review-boundary {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* Public project identity and long-term operations */

.sidebar-project-links {
  display: grid;
  gap: 8px;
  padding: 16px 24px 22px;
}

.sidebar-project-links a,
.page-footer-link {
  width: max-content;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.page-footer-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.sidebar-project-links a:hover,
.page-footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topic-footer,
.event-footer,
.evidence-footer,
.method-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-page {
  height: auto;
  min-height: 100%;
  overflow: auto;
  background: #f7f9f8;
}

.about-app {
  min-height: 100vh;
}

.about-map-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.about-main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.about-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid var(--line-strong);
  padding: 48px 0;
}

.about-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

.about-hero > div > p:not(.kicker) {
  max-width: 760px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.about-tags span {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 6px 8px;
  color: #43534d;
  background: #ffffff;
  font-size: 9px;
}

.about-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.about-status div {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
}

.about-status div:last-child {
  border-right: 0;
}

.about-status dt {
  color: var(--muted);
  font-size: 9px;
}

.about-status dd {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  color: var(--header);
  font-size: 23px;
  font-weight: 740;
}

.about-status div:last-child dd {
  font-size: 16px;
  line-height: 1.45;
}

.about-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  border-bottom: 1px solid var(--line-strong);
  padding: 50px 0 56px;
}

.about-section-title > span {
  display: block;
  margin-bottom: 24px;
  color: #a6b1ad;
  font-size: 34px;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}

.about-section-title h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.about-section-body {
  min-width: 0;
}

.about-lead,
.about-disclosure p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-audience-grid article {
  border-top: 3px solid var(--line-strong);
  padding-top: 18px;
}

.about-audience-grid article:first-child {
  border-top-color: var(--accent);
}

.about-audience-grid article:nth-child(2) {
  border-top-color: var(--watch);
}

.about-audience-grid article:nth-child(3) {
  border-top-color: var(--high);
}

.about-audience-grid b {
  color: var(--accent);
  font-size: 10px;
}

.about-audience-grid h3,
.about-boundary-grid h3 {
  margin: 12px 0 8px;
  font-size: 15px;
}

.about-audience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.about-service-list {
  border-top: 1px solid var(--line-strong);
}

.about-service-list a {
  display: grid;
  grid-template-columns: 90px 150px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.about-service-list a::after {
  content: "→";
  color: var(--accent);
  font-size: 14px;
}

.about-service-list a:hover strong {
  color: var(--accent);
}

.about-service-list b {
  color: var(--accent);
  font-size: 10px;
}

.about-service-list strong {
  font-size: 12px;
}

.about-service-list span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.about-workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line-strong);
}

.about-workflow li {
  min-height: 126px;
  padding: 15px;
  background: #ffffff;
}

.about-workflow span,
.about-workflow strong,
.about-workflow small {
  display: block;
}

.about-workflow span {
  margin-bottom: 17px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 740;
}

.about-workflow strong {
  font-size: 11px;
}

.about-workflow small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.about-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.about-boundary-grid article {
  border-top: 4px solid var(--accent);
  padding-top: 18px;
}

.about-boundary-grid article.is-blocked {
  border-top-color: var(--critical);
}

.about-boundary-grid ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.about-channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
}

#follow {
  scroll-margin-top: 24px;
}

.about-follow-layout {
  display: grid;
  gap: 30px;
}

.follow-channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  align-items: center;
  gap: 34px;
  border: 1px solid var(--line-strong);
  border-top: 4px solid #d84a56;
  border-radius: 6px;
  padding: 24px;
  background: #ffffff;
}

.follow-channel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.follow-channel-meta span {
  border-radius: 3px;
  padding: 4px 6px;
  color: #a22632;
  background: #fcebed;
  font-size: 9px;
  font-weight: 720;
}

.follow-channel-meta b {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.follow-channel h3 {
  margin: 13px 0 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.follow-channel-id {
  margin: 5px 0 16px;
  color: var(--muted);
  font-size: 10px;
}

.follow-channel-action {
  min-height: 38px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  border-radius: 4px;
  padding: 0 14px;
  color: #ffffff;
  background: #c83d4b;
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
}

.follow-channel-action:hover {
  background: #ad2f3c;
}

.follow-channel-action span {
  font-size: 14px;
}

.follow-qr {
  margin: 0;
  text-align: center;
}

.follow-qr img {
  width: 142px;
  max-width: 100%;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto;
  border: 8px solid #ffffff;
  box-shadow: 0 0 0 1px var(--line);
}

.follow-qr figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.follow-publishing-note > .kicker {
  margin-bottom: 8px;
}

.about-channel-note {
  margin: 18px 0 0;
  color: #7b8883;
  font-size: 9px;
}

.about-channel-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.about-channel-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.about-principles li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.about-principles b {
  color: var(--accent);
  font-size: 10px;
}

.about-principles span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.about-principles strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11px;
}

.about-disclosure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.about-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 9px;
}

.about-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.about-footer-links {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-section {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }

  .about-workflow {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-channel-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .announcement-button {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .announcement-panel {
    top: 62px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 72px);
    border-radius: 0 0 7px 7px;
  }

  .announcement-panel-head {
    padding: 17px 16px 14px;
  }

  .announcement-item {
    padding: 16px;
  }

  .announcement-item.is-new::after {
    top: 18px;
    right: 16px;
  }

  .announcement-panel-footer {
    padding: 12px 16px;
  }

  .topic-footer,
  .event-footer,
  .evidence-footer,
  .method-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .about-main {
    width: calc(100% - 28px);
  }

  .about-hero {
    min-height: 0;
    padding: 32px 0;
  }

  .about-hero h1 {
    font-size: 29px;
  }

  .about-hero > div > p:not(.kicker) {
    font-size: 12px;
  }

  .about-status div {
    padding: 14px 9px;
  }

  .about-status dd,
  .about-status div:last-child dd {
    font-size: 17px;
  }

  .about-section {
    display: block;
    padding: 36px 0 42px;
  }

  .about-section-title {
    margin-bottom: 24px;
  }

  .about-section-title > span {
    margin-bottom: 12px;
    font-size: 25px;
  }

  .about-audience-grid,
  .about-boundary-grid,
  .about-disclosure {
    grid-template-columns: 1fr;
  }

  .about-service-list a {
    grid-template-columns: 74px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px 0;
  }

  .about-service-list a strong {
    grid-column: 2;
  }

  .about-service-list a span {
    grid-column: 1 / 4;
  }

  .about-service-list a::after {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .about-workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .follow-channel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .follow-qr {
    width: 142px;
    text-align: center;
  }

  .about-map-link {
    font-size: 10px;
  }

  .about-footer {
    flex-direction: column;
    gap: 10px;
  }

  .about-footer-links {
    justify-content: flex-start;
  }
}
