:root {
  --navy: #073b69;
  --navy-2: #052b4d;
  --blue: #0c5290;
  --blue-2: #1672a9;
  --orange: #e39a2d;
  --orange-soft: #fff5e6;
  --ink: #29343a;
  --muted: #65737c;
  --line: #d8e0e4;
  --wash: #f3f6f7;
  --paper: #fff;
  --success: #136443;
  --warning: #82540b;
  --danger: #8a351f;
  --sidebar: 304px;
  --topbar: 70px;
  --radius: 4px;
  --shadow: 0 10px 28px rgba(5, 43, 77, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.58;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-underline-offset: 3px; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 9px 13px;
  color: #fff;
  background: var(--navy-2);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.topbar {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 28px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(5, 43, 77, .24);
}
.menu-button {
  width: 40px; height: 40px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 19px;
}
.menu-button:hover, .menu-button:focus-visible { background: rgba(255,255,255,.1); }
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  color: #fff;
  text-decoration: none;
}
.brand-mark { font-size: 26px; font-weight: 850; letter-spacing: .04em; }
.brand-rule { width: 1px; height: 29px; background: rgba(255,255,255,.32); }
.brand-copy { font-size: 12px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; line-height: 1.2; }
.brand-copy small { display: block; color: #c7d8e3; font-size: 9px; letter-spacing: .025em; text-transform: none; }
.top-links { margin-left: auto; display: flex; align-items: stretch; align-self: stretch; }
.top-links a, .top-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 13px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.top-links a:hover, .top-links button:hover, .top-links a:focus-visible, .top-links button:focus-visible { background: rgba(255,255,255,.1); }
.top-links [aria-current="page"] { box-shadow: inset 0 -3px var(--orange); background: rgba(255,255,255,.08); }

.sidebar {
  position: fixed;
  z-index: 30;
  top: var(--topbar);
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  overflow-y: auto;
  color: #fff;
  background: var(--navy-2);
  transition: transform .2s ease;
}
body.sidebar-collapsed .sidebar { transform: translateX(-102%); }
.release-mini { padding: 16px 20px; background: var(--blue); }
.release-mini span { display: block; color: #cfe1ed; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.release-mini strong { display: block; margin-top: 2px; font-size: 15px; }
.side-search { position: sticky; z-index: 2; top: 0; padding: 15px 14px 9px; background: var(--navy-2); }
.side-search input {
  width: 100%;
  height: 41px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 0 11px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.side-search input::placeholder { color: #aec1cd; }
.side-search input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(227,154,45,.17); }
.side-nav { padding: 0 9px 22px; }
.side-nav > a, .side-nav > button, .agreement-nav button {
  display: block;
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  padding: 9px 10px;
  color: #d1dfe7;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-size: 12px;
}
.side-nav > a, .side-nav > button { color: #fff; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.side-nav > a:hover, .side-nav > button:hover, .agreement-nav button:hover { color: #fff; background: rgba(255,255,255,.08); }
.side-nav > button.active, .agreement-nav button.active { border-left-color: var(--orange); color: #fff; background: rgba(12,82,144,.75); }
.side-nav details { margin-top: 9px; border-top: 1px solid rgba(255,255,255,.13); }
.side-nav summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 11px 9px;
  cursor: pointer;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.side-nav summary::-webkit-details-marker { display: none; }
.side-nav summary::before { content: "+"; color: var(--orange); font-size: 18px; }
.side-nav details[open] summary::before { content: "−"; }
.side-nav summary span { margin-left: auto; padding: 0 6px; color: #cfdee6; background: rgba(255,255,255,.11); font-size: 10px; }
.agreement-nav button { padding: 7px 10px 7px 17px; line-height: 1.35; }
.nav-empty { padding: 8px 14px; color: #a9beca; font-size: 12px; }

.main {
  min-height: 100vh;
  min-width: 0;
  margin-left: var(--sidebar);
  padding-top: var(--topbar);
  transition: margin-left .2s ease;
}
body.sidebar-collapsed .main { margin-left: 0; }
.app-status {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(440px, calc(100vw - 30px));
  border: 1px solid #b9ccd8;
  border-left: 4px solid var(--blue);
  padding: 10px 13px;
  color: var(--navy-2);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
}
.app-status.ready { opacity: 0; pointer-events: none; transition: opacity .4s 1.5s; }
.app-status.error { border-left-color: var(--danger); color: var(--danger); }
.spinner {
  display: inline-block;
  width: 15px; height: 15px;
  flex: 0 0 auto;
  border: 2px solid #c4d5df;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.spinner.large { width: 34px; height: 34px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.page { display: none; }
.page.active { display: block; }
.hero {
  min-height: 273px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(102deg, rgba(5,43,77,.98) 0 46%, rgba(12,82,144,.94) 46% 100%),
    repeating-linear-gradient(135deg, #0c5290 0 35px, #e15b38 35px 70px, #e0a42d 70px 105px, #176e9d 105px 140px);
}
.hero.compact { min-height: 224px; }
.hero > div { width: min(1130px, calc(100% - 60px)); margin: 0 auto; padding: 50px 0 54px; }
.hero h1 { max-width: 860px; margin: 3px 0 11px; font-size: clamp(32px, 4vw, 49px); line-height: 1.08; letter-spacing: -.025em; }
.hero p:not(.eyebrow) { max-width: 800px; margin: 0; color: #dbeaf3; font-size: 17px; }
.eyebrow { margin: 0; color: #f2b14f; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.ink { color: var(--blue); }
.release-strip {
  position: relative;
  z-index: 2;
  width: min(1130px, calc(100% - 60px));
  display: grid;
  grid-template-columns: 290px 1fr;
  margin: -38px auto 0;
  background: #fff;
  box-shadow: var(--shadow);
}
.release-strip > div { padding: 21px 26px; }
.release-strip .release-badge { color: #fff; background: var(--blue); }
.release-badge span { display: block; color: #f2b14f; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.release-badge strong { display: block; font-size: 25px; line-height: 1.3; }
.release-badge small { color: #d9e7f0; }
.release-strip h2 { margin: 0 0 7px; color: var(--blue); font-size: 16px; }
.release-strip ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 13px; }
.content { width: min(1130px, calc(100% - 60px)); margin: 0 auto; padding: 44px 0 70px; }
.content h2 { margin: 0 0 13px; color: var(--blue); font-size: clamp(27px, 3vw, 39px); line-height: 1.16; }
.content h3 { color: var(--navy-2); }
.muted { color: var(--muted); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin: 7px 0 39px; }
.kpi { min-height: 105px; border-top: 4px solid var(--blue); padding: 18px; background: #fff; box-shadow: 0 4px 14px rgba(5,43,77,.07); }
.kpi:nth-child(even) { border-top-color: var(--orange); }
.kpi strong { display: block; color: var(--navy-2); font-size: 28px; line-height: 1.1; }
.kpi span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; line-height: 1.35; }
.skeleton { position: relative; overflow: hidden; background: #e7edf0; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.publication-note { margin-bottom: 43px; padding: 23px 26px; border-left: 5px solid var(--orange); background: var(--orange-soft); }
.publication-note h2 { font-size: 25px; }
.publication-note p { margin: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin: 2px 0 3px; }
.section-heading p { margin: 0; }

.filters {
  display: grid;
  grid-template-columns: minmax(260px,2fr) minmax(180px,1fr) minmax(160px,1fr) auto;
  align-items: end;
  gap: 11px;
  margin: 15px 0 11px;
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
}
.filters label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.filters input, .filters select {
  width: 100%;
  height: 40px;
  margin-top: 5px;
  border: 1px solid #bfcbd1;
  border-radius: var(--radius);
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.filters input:focus, .filters select:focus { outline: 2px solid rgba(12,82,144,.2); border-color: var(--blue); }
.secondary-button { min-height: 40px; border: 1px solid var(--blue); border-radius: var(--radius); padding: 0 15px; color: var(--blue); background: #fff; font-weight: 750; }
.secondary-button:hover { color: #fff; background: var(--blue); }
.table-state { min-height: 23px; color: var(--muted); font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { padding: 10px 8px; color: #fff; background: var(--blue); text-align: right; font-size: 10px; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; }
th:first-child, th:nth-child(2), th:last-child, td:first-child, td:nth-child(2), td:last-child { text-align: left; }
th button { width: 100%; border: 0; padding: 0; color: inherit; background: transparent; text-align: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }
th button::after { content: " ↕"; opacity: .75; }
th button[data-direction="asc"]::after { content: " ↑"; }
th button[data-direction="desc"]::after { content: " ↓"; }
td { border-bottom: 1px solid #e6ebee; padding: 9px 8px; text-align: right; font-size: 12px; vertical-align: top; }
tbody tr:hover { background: #f2f7fa; }
.summary-table { min-width: 820px; table-layout: fixed; }
.summary-table th:nth-child(1) { width: 31%; }
.summary-table th:nth-child(2) { width: 14%; }
.summary-table th:nth-child(3) { width: 14%; }
.summary-table th:nth-child(4) { width: 11%; }
.summary-table th:nth-child(5) { width: 18%; }
.summary-table th:nth-child(6) { width: 12%; }
.overview-pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.overview-pager label { display: flex; align-items: center; gap: 7px; }
.overview-pager select { height: 40px; border: 1px solid var(--line); padding: 0 8px; background: #fff; }
.overview-pager > div { display: flex; gap: 7px; }
.table-link { border: 0; padding: 0; color: var(--blue); background: transparent; text-align: left; font-weight: 750; line-height: 1.35; }
.table-link:hover, .table-link:focus-visible { color: var(--navy-2); text-decoration: underline; }
.status-pill { display: inline-block; padding: 3px 7px; border-radius: 2px; font-size: 9px; font-weight: 850; letter-spacing: .02em; text-transform: uppercase; }
.status-pill.verified { color: #075073; background: #dceff8; }
.status-pill.qualified { color: var(--warning); background: #ffedc7; }
.status-pill.partial { color: var(--danger); background: #ffddcf; }
.japan-check,.offerer-check { color: var(--blue); font-weight: 850; }
.offerer-check { display: block; border: 0; padding: 2px 0; background: transparent; text-align: left; line-height: 1.35; }
.offerer-check:hover,.offerer-check:focus-visible { color: var(--navy-2); text-decoration: underline; }
.crosscheck-summary { display: grid; gap: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.crosscheck-summary b { color: var(--navy-2); }
.crosscheck-modal { width: min(1120px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 22px 70px rgba(8,35,57,.35); }
.crosscheck-modal::backdrop { background: rgba(8,35,57,.58); }
.crosscheck-modal-shell { display: grid; grid-template-rows: auto 1fr; max-height: calc(100vh - 32px); }
.crosscheck-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 18px 20px; }
.crosscheck-modal-header h2 { margin: 2px 0 3px; color: var(--navy-2); font-size: 22px; }
.crosscheck-modal-header p { margin: 0; color: var(--muted); font-size: 12px; }
.crosscheck-modal-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-2); background: #fff; font-size: 22px; line-height: 1; }
.crosscheck-modal-body { overflow: auto; padding: 18px 20px 20px; }
.crosscheck-match-summary { display: flex; align-items: baseline; gap: 12px; border-left: 5px solid var(--orange); padding: 13px 15px; background: var(--orange-soft); }
.crosscheck-match-summary strong { color: var(--navy-2); font-size: 26px; }
.crosscheck-match-summary span { font-size: 13px; }
.crosscheck-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.crosscheck-compare-grid > div { border: 1px solid var(--line); padding: 12px 14px; background: #f7fafc; }
.crosscheck-compare-grid strong,.crosscheck-compare-grid span,.crosscheck-compare-grid small { display: block; }
.crosscheck-compare-grid strong { color: var(--navy-2); font-size: 22px; }
.crosscheck-compare-grid span { font-weight: 800; }
.crosscheck-compare-grid small { margin-top: 4px; color: var(--muted); }
.crosscheck-differences h3 { margin: 0 0 8px; color: var(--navy-2); font-size: 16px; }
.crosscheck-table { min-width: 920px; table-layout: fixed; }
.crosscheck-table th:nth-child(1),.crosscheck-table th:nth-child(3) { width: 16%; }
.crosscheck-table th:nth-child(2),.crosscheck-table th:nth-child(4) { width: 14%; }
.crosscheck-table th:nth-child(5) { width: 40%; }
.crosscheck-table td { text-align: left; vertical-align: top; }
.crosscheck-table td strong,.crosscheck-table td small { display: block; }
.crosscheck-table td small { max-height: 42px; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; }
.crosscheck-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.crosscheck-pager span { color: var(--muted); font-size: 11px; }
.crosscheck-pager div { display: flex; gap: 6px; }
.row-loader { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 92px; color: var(--muted); }
.empty-row { padding: 32px; text-align: center !important; color: var(--muted); }

.prose { max-width: 910px; }
.prose section { scroll-margin-top: calc(var(--topbar) + 20px); padding: 28px 0; border-bottom: 1px solid var(--line); }
.prose section:first-of-type { padding-top: 8px; }
.prose p { margin: 0 0 13px; }
.chapter { margin: 0 !important; color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.chapter-nav { position: sticky; z-index: 8; top: var(--topbar); display: flex; flex-wrap: wrap; gap: 3px; margin: -44px 0 22px; border-bottom: 1px solid var(--line); padding: 9px 0; background: rgba(243,246,247,.96); backdrop-filter: blur(8px); }
.chapter-nav a { border: 1px solid var(--line); padding: 5px 9px; color: var(--blue); background: #fff; text-decoration: none; font-size: 11px; font-weight: 750; }
.formula { margin: 18px 0; border: 1px solid #c8d8e2; border-left: 5px solid var(--orange); padding: 18px; overflow-x: auto; color: var(--navy-2); background: #f7fafc; text-align: center; font: 19px Georgia, serif; }
.issue-catalog { display: grid; gap: 8px; }
.issue-catalog details, .code-list { border: 1px solid var(--line); background: #fff; }
.issue-catalog summary, .code-list summary { padding: 12px 14px; cursor: pointer; color: var(--navy-2); font-weight: 750; }
.issue-catalog details > div, .code-list > div { border-top: 1px solid var(--line); padding: 13px 15px; }
.code-chip { display: inline-block; margin-right: 7px; border-radius: 2px; padding: 2px 6px; color: #fff; background: var(--blue); font-size: 10px; font-weight: 850; }
.history-card { display: grid; grid-template-columns: .8fr 1.5fr; gap: 30px; border-top: 5px solid var(--blue); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.history-card span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.history-card h2 { margin: 3px 0; font-size: 31px; }
.history-card h3 { margin-top: 0; }
.architecture-note { margin-top: 22px; padding: 26px 28px; border-left: 5px solid var(--orange); background: var(--orange-soft); }
.architecture-note h2 { font-size: 25px; }
.architecture-note dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 20px 0 0; }
.architecture-note dl div { padding: 13px; background: rgba(255,255,255,.7); }
.architecture-note dt { color: var(--blue); font-weight: 800; }
.architecture-note dd { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.detail-loading, .fatal-error { min-height: calc(100vh - var(--topbar)); display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; }
.detail-loading h1, .fatal-error h1 { margin: 15px 0 3px; color: var(--navy-2); }
.detail-loading p { color: var(--muted); }
.detail-error { max-width: 620px; margin: 70px auto; border-top: 5px solid var(--danger); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.detail-error h1 { margin-top: 0; color: var(--danger); }
.primary-button { border: 0; border-radius: var(--radius); padding: 9px 14px; color: #fff; background: var(--blue); font-weight: 750; }
.primary-button:hover { background: var(--navy); }
.agreement-hero { color: #fff; background: linear-gradient(112deg, var(--navy-2), var(--blue)); border-bottom: 5px solid var(--orange); }
.agreement-hero .content { padding-top: 40px; padding-bottom: 38px; }
.agreement-hero h1 { max-width: 900px; margin: 0 0 8px; font-size: clamp(32px,4.6vw,52px); line-height: 1.08; }
.agreement-hero p { margin: 0; color: #d4e4ee; }
.meta-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; }
.meta-chip { border: 1px solid rgba(255,255,255,.3); padding: 5px 8px; color: #e6f0f6; font-size: 10px; }
.source-line { margin-top: 13px !important; font-size: 12px; }
.source-line b { color: #fff; }
.detail-kpis { margin-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 27px; }
.info-card { border-top: 4px solid var(--blue); padding: 20px; background: #fff; box-shadow: 0 4px 14px rgba(5,43,77,.07); }
.info-card:nth-child(even) { border-top-color: var(--orange); }
.info-card h3 { margin: 0 0 9px; font-size: 16px; text-transform: uppercase; letter-spacing: .025em; }
.info-card p { margin: 0 0 8px; }
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 11px 0; border: 1px solid var(--line); background: var(--line); }
.timeline div { padding: 10px; background: #f7fafc; }
.timeline b { display: block; color: var(--navy-2); }
.timeline span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.callout { margin: 18px 0; border-left: 5px solid var(--orange); padding: 15px 18px; background: var(--orange-soft); }
.callout.blue { border-left-color: var(--blue); background: #eaf3f9; }
.callout ul { margin: 7px 0 0; padding-left: 18px; }
.section-block { margin: 34px 0; }
.section-block > h2 { margin: 0 0 14px; color: var(--blue); font-size: clamp(26px,3vw,37px); }
.offer-control { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.offer-tab { border: 1px solid var(--blue); border-radius: var(--radius); padding: 7px 10px; color: var(--blue); background: #fff; font-size: 12px; font-weight: 700; }
.offer-tab.active, .offer-tab:hover { color: #fff; background: var(--blue); }
.offer-select-wrap { max-width: 680px; margin-bottom: 16px; }
.offer-select-wrap label { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.offer-select { width: 100%; height: 42px; margin-top: 5px; border: 1px solid var(--line); padding: 0 10px; background: #fff; }
.offer-panel { border-top: 4px solid var(--blue); padding: 21px; background: #fff; box-shadow: var(--shadow); }
.offer-panel h3 { margin: 0 0 7px; font-size: 24px; }
.offer-facts { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1px; margin: 17px 0; background: var(--line); border: 1px solid var(--line); }
.offer-facts div { padding: 10px; background: #f8fafb; }
.offer-facts b { display: block; color: var(--navy-2); font-size: 17px; }
.offer-facts span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.mtn-table { min-width: 770px; }
.mtn-table th:first-child, .mtn-table td:first-child { text-align: left; }
.mtn-table tr.overall { font-weight: 800; background: #eaf3f9; }
.mtn-table tr.sector { font-weight: 800; background: #dcebf5; }
.sector-button { width: 100%; border: 0; padding: 0; color: var(--navy-2); background: transparent; text-align: left; font-weight: 800; }
.sector-button::before { content: "+"; display: inline-block; width: 18px; color: var(--orange); font-size: 17px; }
.sector-button[aria-expanded="true"]::before { content: "−"; }
.comparison-card, .crosscheck-card { margin: 18px 0; border: 1px solid #c7d5de; border-left: 5px solid var(--orange); padding: 17px 19px; background: #f7fafc; }
.comparison-card h4, .crosscheck-card h4 { margin: 0 0 8px; color: var(--navy-2); font-size: 17px; }
.comparison-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.comparison-grid div { padding: 10px; background: #fff; }
.comparison-grid b { display: block; color: var(--navy-2); font-size: 19px; }
.comparison-grid span { color: var(--muted); font-size: 10px; }
.issue-ledger { display: grid; gap: 8px; }
.issue-ledger details { border: 1px solid var(--line); background: #fff; }
.issue-ledger summary { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; cursor: pointer; }
.issue-ledger details > div { border-top: 1px solid var(--line); padding: 14px; }
.method-chip { background: var(--orange); }
.code-tokens { display: flex; flex-wrap: wrap; gap: 4px; max-height: 180px; overflow: auto; margin-top: 10px; }
.code-token { border: 1px solid var(--line); padding: 2px 5px; background: #f7fafc; font: 10px Consolas, monospace; }
.footnote { color: var(--muted); font-size: 11px; }

@media (max-width: 1120px) {
  .top-links a:nth-child(-n+2) { display: none; }
  .offer-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .architecture-note dl { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --sidebar: 280px; }
  .brand { min-width: 190px; }
  .brand-copy { display: none; }
  .top-links button { display: none; }
  .crosscheck-compare-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .wide { grid-column: 1 / -1; }
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --topbar: 62px; --sidebar: min(88vw,330px); }
  .topbar { padding: 0 11px; }
  .brand { min-width: 0; }
  .brand-mark { font-size: 23px; }
  .top-links { display: none; }
  .sidebar { transform: translateX(-102%); box-shadow: 8px 0 30px rgba(0,0,0,.28); }
  .sidebar.open { transform: translateX(0); }
  .main, body.sidebar-collapsed .main { margin-left: 0; }
  .hero > div, .content, .release-strip { width: min(100% - 28px,1130px); }
  .hero h1 { font-size: 32px; }
  .hero p:not(.eyebrow) { font-size: 15px; }
  .release-strip { grid-template-columns: 1fr; }
  .release-strip > div { padding: 18px 20px; }
  .filters { grid-template-columns: 1fr; }
  .filters .wide { grid-column: auto; }
  .overview-pager { align-items: stretch; flex-direction: column; }
  .overview-pager > div { display: grid; grid-template-columns: 1fr 1fr; }
  .history-card { grid-template-columns: 1fr; }
  .chapter-nav { top: var(--topbar); overflow-x: auto; flex-wrap: nowrap; }
  .offer-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison-grid { grid-template-columns: 1fr; }
  .issue-ledger summary { display: block; }
}
@media (max-width: 460px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero > div { padding: 38px 0 46px; }
  .content { padding-top: 35px; }
  .offer-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Professional directory layout — shared TINA visual language with MFN */
:root {
  --topbar: 74px;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(5,43,77,.08);
}
body { overflow-x: hidden; font-size: 16px; line-height: 1.5; background: #f5f7f8; }
.topbar { gap: 16px; padding: 0 46px; box-shadow: 0 1px 0 rgba(255,255,255,.13); }
.menu-button { flex: 0 0 auto; border-radius: 6px; font-size: 0; }
.menu-button::before { content: "☰"; font-size: 19px; }
.brand { min-width: 0; gap: 15px; }
.tina-logo { display: block; width: 245px; max-height: 48px; object-fit: contain; object-position: left center; }
.brand-rule { height: 34px; }
.brand-copy { font-size: 11px; line-height: 1.25; white-space: nowrap; }
.brand-copy small { margin-top: 2px; color: #c9d9dc; font-size: 10px; }
.top-links a, .top-links button { padding: 0 16px; font-size: 11px; }

.sidebar { box-shadow: 10px 0 28px rgba(5,43,77,.22); }
.side-search { padding: 18px 16px 11px; }
.side-search input { height: 44px; }
.side-nav { padding: 0 12px 26px; }
.side-nav > a, .side-nav > button { border-radius: 5px; padding: 10px 11px; font-size: 11px; }
.agreement-nav button { padding-top: 8px; padding-bottom: 8px; font-size: 13px; }

.hero { min-height: 210px; background: linear-gradient(110deg, #052b4d 0%, #073b69 58%, #0c5290 100%); }
.hero > div { width: min(1180px, calc(100% - 72px)); padding: 42px 0 45px; }
.hero h1 { max-width: 820px; margin: 5px 0 10px; font-size: clamp(36px,4.2vw,52px); }
.hero p:not(.eyebrow) { max-width: 720px; color: #dce8ef; font-size: 18px; }
.content { width: min(1180px, calc(100% - 72px)); padding: 32px 0 72px; }
.release-line { margin-bottom: 14px; color: var(--muted); text-align: right; font-size: 13px; }

.kpi-grid { gap: 16px; margin: 0 0 42px; }
.kpi { min-width: 0; min-height: 112px; border: 1px solid #e0e6e9; border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 19px 20px; box-shadow: none; }
.kpi:nth-child(even) { border-top-color: var(--orange); }
.kpi strong { overflow-wrap: anywhere; font-size: clamp(24px,2.5vw,34px); letter-spacing: -.02em; }
.kpi span { margin-top: 9px; font-size: 11px; letter-spacing: .04em; }

.section-heading { align-items: flex-start; margin-bottom: 16px; }
.content h2 { font-size: clamp(27px,3vw,36px); }
.filters { grid-template-columns: minmax(300px,2fr) minmax(210px,1fr) minmax(190px,1fr) auto; gap: 14px; margin: 0 0 12px; border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 10px rgba(5,43,77,.04); }
.filters label { font-size: 11px; letter-spacing: .035em; }
.filters input, .filters select { height: 44px; margin-top: 6px; border-radius: 6px; padding: 0 12px; font-size: 15px; }
.secondary-button { min-height: 44px; border-radius: 6px; }
.table-state { min-height: 26px; font-size: 13px; }
.table-wrap { border-radius: var(--radius); box-shadow: 0 2px 10px rgba(5,43,77,.04); }
th { padding: 14px 12px; background: var(--navy); font-size: 11px; }
td { padding: 13px 12px; font-size: 13px; vertical-align: middle; }
td small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.summary-table { min-width: 920px; }
.summary-table th:nth-child(1) { width: 32%; }
.summary-table th:nth-child(2) { width: 13%; }
.summary-table th:nth-child(3) { width: 14%; }
.summary-table th:nth-child(4) { width: 12%; }
.summary-table th:nth-child(5) { width: 17%; }
.summary-table th:nth-child(6) { width: 12%; }
.overview-pager { margin-top: 16px; font-size: 13px; }
.table-link { font-size: 14px; }

.agreement-hero { border-bottom: 3px solid var(--orange); background: linear-gradient(110deg, #052b4d, #073b69 65%, #0c5290); }
.agreement-hero .content { padding-top: 38px; padding-bottom: 38px; }
.agreement-hero h1 { max-width: 960px; font-size: clamp(34px,4.2vw,50px); }
.meta-row { margin-top: 16px; }
.meta-chip { border-radius: 999px; padding: 6px 11px; font-size: 11px; }
.detail-kpis { margin-bottom: 28px; }
.info-grid { gap: 16px; }
.info-card { border: 1px solid #e0e6e9; border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 22px; box-shadow: none; }
.info-card h3 { font-size: 15px; letter-spacing: 0; text-transform: none; }
.timeline { border-radius: 6px; overflow: hidden; }
.timeline span { font-size: 11px; }
.section-block { margin: 38px 0; }
.section-block > h2 { font-size: clamp(27px,3vw,35px); }
.offer-control { gap: 8px; }
.offer-tab { border-radius: 999px; padding: 8px 13px; }
.offer-panel { border: 1px solid #dce4e8; border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 24px; box-shadow: none; }
.offer-panel > h3 { margin-bottom: 16px; }
.offer-facts { grid-template-columns: repeat(5,minmax(0,1fr)); border-radius: 7px; overflow: hidden; }
.offer-facts div { padding: 13px; }
.offer-facts b { font-size: 18px; }
.offer-facts span { display: block; margin-top: 3px; font-size: 10px; }
.comparison-card { border-radius: var(--radius); }
.source-details { margin: 38px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.source-details summary { padding: 15px 18px; cursor: pointer; color: var(--blue); font-weight: 750; }
.source-details > div { border-top: 1px solid var(--line); padding: 17px 18px; color: var(--muted); font-size: 13px; }
.source-details p { margin: 0 0 9px; }
.source-details p:last-child { margin-bottom: 0; }
.mtn-table th { white-space: normal; }
.mtn-table td { font-size: 12px; }

.methodology-content { padding-top: 38px; }
.method-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.method-card { position: relative; min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px 26px 24px; background: #fff; box-shadow: 0 3px 14px rgba(5,43,77,.05); }
.method-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius); background: var(--blue); }
.method-card:nth-child(even)::before { background: var(--orange); }
.method-card > span { display: block; margin-bottom: 13px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .09em; }
.method-card h2 { margin: 0 0 10px; color: var(--navy-2); font-size: 23px; }
.method-card p { margin: 0; color: #43515a; }
.method-definitions { display: grid; grid-template-columns: minmax(190px,.55fr) 1.45fr; gap: 34px; margin-top: 28px; border-radius: var(--radius); padding: 28px; background: #eaf1f5; }
.method-definitions h2 { margin: 3px 0 0; color: var(--navy-2); font-size: 28px; }
.method-definitions dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0; }
.method-definitions dl div:last-child { grid-column: 1 / -1; }
.method-definitions dt { color: var(--navy-2); font-weight: 800; }
.method-definitions dd { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 1120px) {
  .topbar { padding: 0 24px; }
  .top-links a:nth-child(-n+2) { display: inline-flex; }
  .brand-copy { display: none; }
  .brand-rule { display: none; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .wide { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .tina-logo { width: 220px; }
  .top-links a:first-child { display: none; }
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .method-grid { grid-template-columns: 1fr; }
  .method-card { min-height: 0; }
  .method-definitions { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  :root { --topbar: 64px; }
  .topbar { gap: 7px; padding: 0 10px; }
  .menu-button { width: 38px; }
  .tina-logo { width: min(210px, calc(100vw - 70px)); max-height: 42px; }
  .top-links { display: none; }
  .hero { min-height: 188px; }
  .hero > div, .content { width: min(100% - 32px,1180px); }
  .hero > div { padding: 34px 0 37px; }
  .hero h1 { font-size: 34px; }
  .hero p:not(.eyebrow) { font-size: 16px; }
  .content { padding-top: 24px; }
  .release-line { text-align: left; }
  .filters { grid-template-columns: 1fr; padding: 15px; }
  .filters .wide { grid-column: auto; }
  .table-wrap:has(.summary-table) { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .summary-table { min-width: 0; }
  .summary-table thead { display: none; }
  .summary-table, .summary-table tbody, .summary-table tr, .summary-table td { display: block; width: 100%; }
  .summary-table tbody { display: grid; gap: 12px; }
  .summary-table tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 14px 15px; background: #fff; box-shadow: 0 2px 10px rgba(5,43,77,.05); }
  .summary-table td { border: 0; padding: 6px 0; text-align: left !important; }
  .summary-table td:first-child { grid-column: 1 / -1; border-bottom: 1px solid #e8edef; padding: 0 0 12px; margin-bottom: 4px; }
  .summary-table td:not(:first-child)::before { content: attr(data-label); display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .summary-table .table-link { font-size: 16px; }
  .overview-pager { align-items: stretch; }
  .info-grid { grid-template-columns: 1fr; }
  .offer-facts { grid-template-columns: 1fr 1fr; }
  .offer-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .offer-panel { padding: 18px; }
  .methodology-content { padding-top: 26px; }
  .method-card { padding: 21px; }
  .method-definitions { padding: 21px; }
  .method-definitions dl { grid-template-columns: 1fr; }
  .method-definitions dl div:last-child { grid-column: auto; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { min-height: 100px; padding: 15px; }
  .kpi strong { font-size: 24px; }
  .summary-table tr { grid-template-columns: 1fr; }
  .summary-table td:first-child { grid-column: auto; }
  .offer-facts { grid-template-columns: 1fr; }
}

    

/* MFN-aligned release, tables and agreement discovery. */
.directory-toggle {
  width: auto;
  height: 40px;
  min-width: max-content;
  flex: 0 0 auto;
  overflow: hidden;
}
.directory-toggle > span:first-child { flex: 0 0 auto; font-size: 16px; line-height: 1; }
.side-intro { padding: 16px 20px; color: #fff; background: var(--blue); }
.side-intro strong { display: block; font-size: 17px; line-height: 1.25; }

.hero { min-height: 220px; }
.hero > div { width: min(1140px, calc(100% - 64px)); padding: 44px 0; }
.hero h1 { max-width: 940px; margin: 0; font-size: clamp(31px,4vw,48px); line-height: 1.1; }
.release-strip {
  position: relative;
  z-index: 3;
  width: min(1140px, calc(100% - 64px));
  display: grid;
  grid-template-columns: 1.05fr 2fr;
  margin: -46px auto 0;
  border-top: 5px solid var(--orange);
  background: #fff;
  box-shadow: var(--shadow);
}
.release-strip > div { padding: 22px 28px; }
.release-strip .release-id { color: #fff; background: var(--blue); }
.release-id .eyebrow { color: #f2b14f; }
.release-id strong { display: block; font-size: 27px; line-height: 1.2; }
.release-id span { color: #d9e8f3; font-size: 12px; }
.release-strip .release-changes h2 { margin: 0 0 8px; color: var(--blue); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.release-strip .release-changes ul { display: grid; gap: 3px; margin: 0; padding-left: 19px; font-size: 13px; }
.content { width: min(1140px, calc(100% - 64px)); padding: 46px 0 72px; }

.table-wrap { border-radius: 0; box-shadow: none; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 10px 9px;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .035em;
  white-space: nowrap;
}
td { padding: 8px 9px; font-size: 12px; line-height: 1.45; white-space: nowrap; vertical-align: top; }
td:first-child { min-width: 235px; white-space: normal; }
.summary-table { min-width: 920px; }
.summary-table td { vertical-align: top; }
.mtn-table tr.overall { font-weight: 800; background: #eaf3f9; }
.mtn-table tr.sector { font-weight: 800; background: #dcebf5; }
.mtn-table tr.sector td { border-top: 3px solid #9cb9cf; }
.mtn-table th:first-child, .mtn-table td:first-child { text-align: left; }

.table-link > span { display: block; }
.agreement-short-names,
.nav-short-names,
.agreement-hero-short-names {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}
.nav-short-names { color: #a9c3d3; font-size: 10px; font-weight: 600; }
.agreement-hero-short-names { margin: 7px 0 0; color: #f2b14f; font-size: 14px; letter-spacing: .025em; }
.agreement-parties { margin-top: 8px !important; }
.ave-coverage-table { min-width: 760px; }
.ave-coverage-table th:first-child, .ave-coverage-table td:first-child { text-align: left; }

.release-history { display: grid; gap: 18px; margin: 0 0 24px; }
.history-entry { border-top: 4px solid var(--blue); padding: 21px 24px; background: #fff; box-shadow: 0 8px 24px rgba(20,47,67,.07); }
.history-entry.current { border-top-color: var(--orange); }
.history-entry h2 { margin: 0 0 10px; color: var(--blue); font-size: 20px; }
.history-entry ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.history-more { margin: 22px 0 0; }
.history-more a { display: inline-flex; min-height: 42px; align-items: center; border: 1px solid var(--blue); padding: 0 14px; color: var(--blue); background: #fff; font-weight: 750; text-decoration: none; }
.history-more a:hover, .history-more a:focus-visible { color: #fff; background: var(--blue); }
.footer { border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 13px; }
.footer .content { padding-top: 22px; padding-bottom: 22px; }

@media (max-width: 980px) {
  .directory-toggle { width: 42px; min-width: 42px; padding: 7px; }
}
@media (max-width: 760px) {
  .directory-toggle { width: 40px; min-width: 40px; height: 40px; }
  .hero > div, .content, .release-strip { width: min(100% - 28px,1140px); }
  .release-strip { grid-template-columns: 1fr; }
  .release-strip > div { padding: 18px 20px; }
  .content { padding-top: 38px; }
  .summary-table { min-width: 0; }
}

.summary-table th,
.summary-table td { text-align: right; }
.summary-table th:first-child,
.summary-table td:first-child { text-align: left; }
.crosscheck-table td { min-width: 0; white-space: normal; }
