.global-page .hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 56px;
  align-items: end;
}

.global-page .hub-hero > * { max-width: none; }
.global-page .hub-hero-note { margin: 0 !important; }
.global-page .hub-hero .text-link,
.global-language a { color: white; }
.global-language { margin: 22px 0 0; font-weight: 800; }
.global-language a { text-underline-offset: 5px; }
.global-page .hub-section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 48px; max-width: none; align-items: end; }
.global-page .hub-section-head h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.global-page .resource-card { display: flex; flex-direction: column; }
.global-page .resource-link { margin-top: auto; }
.global-page .scope-note { margin-top: 34px; padding: 24px 26px; background: #fff7ee; border-left: 4px solid var(--orange); }
.global-page .scope-note strong { color: var(--navy); }
.global-page .scope-note p { margin: 8px 0 0; color: var(--muted); }

.evidence-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 32px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.evidence-steps li { min-width: 0; padding: 26px 22px; border-right: 1px solid var(--line); }
.evidence-steps li:last-child { border-right: 0; }
.evidence-steps strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 18px; }
.evidence-steps span { color: var(--muted); font-size: 14px; line-height: 1.65; }

.term-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); }
.term-card { min-width: 0; padding: 30px; background: var(--white); }
.term-card dt { color: var(--navy); font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.term-card dt span { display: block; margin-top: 4px; color: var(--orange-dark); font-size: 13px; letter-spacing: .04em; }
.term-card dd { margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.term-card dd strong { color: var(--ink); }

.source-panel { padding: 30px; background: var(--soft); border-top: 4px solid var(--navy); }
.source-panel ul { margin: 18px 0 0; padding-left: 20px; }
.source-panel li { margin: 10px 0; line-height: 1.6; }
.source-panel a { color: var(--navy); text-underline-offset: 3px; }

.language-switch { font-weight: 800; }

.global-page .resource-card-featured {
  background: linear-gradient(155deg, #0b2c4b, #123f69);
  color: white;
  border-color: #0b2c4b;
}
.global-page .resource-card-featured h3,
.global-page .resource-card-featured .resource-link { color: white; }
.global-page .resource-card-featured p { color: #dce8f2; }
.global-page .resource-card-featured .resource-status { color: #ffb47a; }
.global-page .capability-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.global-page .guide-shell { max-width: 1180px; margin: 0 auto; padding: 56px 28px 100px; }
.global-page .guide-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 54px; align-items: center; }
.global-page .guide-hero h1 { margin: 12px 0 20px; color: white; font-size: clamp(44px, 5.3vw, 72px); line-height: 1.01; letter-spacing: -.055em; }
.global-page .guide-hero .lead { max-width: 760px; color: #dce8f2; font-size: 19px; line-height: 1.7; }
.global-page .guide-hero .text-link { color: white; }
.guide-hero-visual { margin: 0; }
.guide-hero-visual img,
.decision-figure img { display: block; width: 100%; height: auto; background: #f2f6f8; border: 1px solid var(--line); }
.guide-hero-visual figcaption,
.decision-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; color: #c4d5e3; font-size: 13px; list-style: none; }
.guide-meta li { position: relative; }
.guide-meta li + li::before { position: absolute; left: -12px; content: "·"; }
.guide-section { margin-top: 74px; padding-top: 54px; border-top: 1px solid var(--line); }
.guide-section h2 { max-width: 900px; margin: 8px 0 26px; color: var(--navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -.04em; }
.section-label,
.eyebrow { margin: 0; color: var(--orange-dark); font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.decision-banner { padding: 28px 30px; background: #eef5f9; border-left: 5px solid var(--navy); }
.decision-banner strong { color: var(--navy); font-size: 20px; }
.decision-banner p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.split-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: 56px; }
.split-section h2 { margin-bottom: 0; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); line-height: 1.65; }
.check-list li::before { position: absolute; top: 17px; left: 2px; color: var(--orange-dark); font-weight: 900; content: "✓"; }
.warning-section { padding: 54px 36px 38px; background: #fff7ee; border-top: 5px solid var(--orange); }
.stop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #ecdcca; }
.stop-grid > div { min-width: 0; padding: 24px; background: white; }
.stop-grid strong { color: var(--navy); }
.stop-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.table-wrap:focus { outline: 3px solid rgba(243, 109, 36, .28); outline-offset: 3px; }
.global-page table { width: 100%; min-width: 760px; border-collapse: collapse; }
.global-page th,
.global-page td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.global-page th { background: var(--navy); color: white; font-size: 13px; letter-spacing: .03em; }
.global-page tr:last-child td { border-bottom: 0; }
.decision-figure { max-width: 980px; margin: 0 0 26px; }
.procedure-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 1px; background: var(--line); list-style: none; }
.procedure-list li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; min-width: 0; padding: 26px; background: white; }
.procedure-list li > span { color: var(--orange-dark); font-size: 23px; font-weight: 900; }
.procedure-list strong { color: var(--navy); font-size: 18px; }
.procedure-list p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
.handover-section { padding: 54px 36px 40px; background: var(--soft); }
.handover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.download-button { margin-top: 30px; }
.source-list { padding-left: 24px; }
.source-list li { margin: 14px 0; line-height: 1.6; }
.source-list a { color: var(--navy); overflow-wrap: anywhere; text-underline-offset: 3px; }
.directory-hero { border-bottom: 1px solid var(--line); }
.capability-directory { padding-top: 72px; }
.directory-controls { margin: 30px 0 34px; padding: 28px; background: var(--soft); border: 1px solid var(--line); }
.directory-search label,
.directory-controls legend { color: var(--navy); font-weight: 800; }
.directory-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; }
.directory-search input { min-width: 0; padding: 14px 16px; border: 1px solid #9fb4c3; border-radius: 4px; background: white; color: var(--navy); font: inherit; }
.directory-search input:focus { outline: 3px solid rgba(243, 109, 36, .28); outline-offset: 2px; }
.directory-controls fieldset { min-width: 0; margin: 24px 0 0; padding: 0; border: 0; }
.filter-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.filter-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--navy); cursor: pointer; }
.filter-options label:has(input:checked) { border-color: var(--orange); background: #fff2e8; box-shadow: inset 0 0 0 1px var(--orange); }
.filter-options input { width: 18px; height: 18px; accent-color: var(--orange-dark); }
.directory-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.directory-status p { margin: 0; color: var(--navy); font-weight: 800; }
.filter-clear { min-height: 44px; padding: 8px 14px; border: 1px solid var(--navy); border-radius: 4px; background: white; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; }
.filter-clear:disabled { opacity: .45; cursor: default; }
.directory-grid [hidden] { display: none; }
.directory-empty { padding: 38px; border: 1px dashed #9fb4c3; background: white; color: var(--navy); text-align: center; font-weight: 800; }
.directory-note { margin-top: 32px; }
.capability-breadcrumb,
.guide-directory-breadcrumb { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 22px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.capability-breadcrumb a,
.guide-directory-breadcrumb a { color: var(--navy); font-weight: 800; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .global-page .hub-hero,
  .global-page .hub-section-head,
  .global-page .guide-hero,
  .split-section { grid-template-columns: 1fr; gap: 28px; }
  .evidence-steps { grid-template-columns: 1fr 1fr; }
  .evidence-steps li:nth-child(2) { border-right: 0; }
  .evidence-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stop-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .global-page .capability-related-grid { grid-template-columns: 1fr; }
  .global-page .hub-hero h1 { overflow-wrap: normal; font-size: 39px; }
  .term-list,
  .evidence-steps { grid-template-columns: 1fr; }
  .evidence-steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-steps li:last-child { border-bottom: 0; }
  .term-card { padding: 24px 22px; }
  .global-language { margin-top: 20px; }
  .global-page .guide-shell { padding: 38px 18px 72px; }
  .global-page .guide-hero h1 { font-size: 42px; overflow-wrap: normal; }
  .global-page .guide-hero .lead { font-size: 17px; }
  .guide-meta { display: block; }
  .guide-meta li { margin-top: 7px; }
  .guide-meta li + li::before { content: none; }
  .guide-section { margin-top: 54px; padding-top: 38px; }
  .warning-section,
  .handover-section { padding: 38px 22px 30px; }
  .stop-grid,
  .procedure-list,
  .handover-grid { grid-template-columns: 1fr; }
  .global-page table { min-width: 680px; }
  .directory-controls { padding: 22px 18px; }
  .directory-search > div { grid-template-columns: 1fr; }
  .directory-search .button { width: 100%; }
  .filter-options { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-options label { border-radius: 6px; }
  .directory-status { align-items: stretch; flex-direction: column; }
  .filter-clear { width: 100%; }
  .capability-breadcrumb,
  .guide-directory-breadcrumb { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media print {
  .global-page .site-header,
  .global-page .hub-footer,
  .global-page .hero-actions,
  .global-page .download-button { display: none !important; }
  .global-page .guide-shell { max-width: none; padding: 0; }
  .global-page .guide-hero { grid-template-columns: 1.1fr .9fr; gap: 26px; background: white; }
  .global-page .guide-hero h1 { color: var(--navy); font-size: 34px; }
  .global-page .guide-hero .lead { color: var(--muted); font-size: 12px; line-height: 1.5; }
  .global-page .guide-meta { color: var(--muted); }
  .guide-hero-visual figcaption,
  .decision-figure figcaption { font-size: 9px; }
  .guide-section { margin-top: 26px; padding-top: 22px; break-inside: auto; }
  .guide-section h2 { font-size: 24px; }
  .guide-section h2 { break-after: avoid; }
  .split-section { grid-template-columns: .8fr 1.2fr; gap: 24px; }
  .split-section,
  .source-section { break-inside: avoid; }
  #decision,
  #procedure { break-before: page; }
  .warning-section,
  .handover-section { padding: 24px; }
  .stop-grid { grid-template-columns: repeat(3, 1fr); }
  .stop-grid > div { padding: 14px; }
  .procedure-list { grid-template-columns: 1fr 1fr; }
  .procedure-list { break-inside: avoid; }
  .procedure-list li { padding: 16px; }
  .handover-grid { grid-template-columns: 1fr 1fr; }
  .global-page table { min-width: 0; font-size: 9px; }
  .global-page th,
  .global-page td { padding: 8px; }
  .table-wrap { overflow: visible; }
  a { color: inherit; text-decoration: none; }
}
