* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #192824; background: #edf2f3; }
body { margin: 0; height: 100dvh; display: flex; flex-direction: column; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .28; }
a { color: #075d9c; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, select:focus-visible, .slide-stage:focus-visible { outline: 3px solid #0176d3; outline-offset: 4px; }
.site-header { flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px max(24px, calc((100vw - 1380px) / 2)); background: #fff; border-bottom: 1px solid #dde5e1; }
.brand { display: flex; align-items: center; gap: 10px; color: #032d60; font-size: 16px; font-weight: 600; text-decoration: none; line-height: 1.3; }
.brand img { display: block; width: 76px; height: 53px; object-fit: contain; }
.brand small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; letter-spacing: .02em; color: #526777; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #f2f5f3; border: 1px solid #e1e7e3; border-radius: 14px; font-size: 14px; }
.site-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 9px; color: #344a40; text-decoration: none; font-weight: 600; }
.site-nav a span { color: #65796d; font-size: 11px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #fff; box-shadow: 0 1px 4px #18372712; }
.deck-shell { flex: 1; min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1200px) 56px; justify-content: center; align-items: center; gap: 18px; padding: 20px 22px; }
.nav-button { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 5px; border-radius: 50%; border: 1px solid #bacbd6; background: #fff; color: #032d60; box-shadow: 0 3px 12px #032d6009; }
.nav-button span { font-size: 42px; line-height: 1; }
.nav-button:hover:not(:disabled) { border-color: #0176d3; background: #eaf5ff; }
.slide-stage { container-type: inline-size; width: 100%; height: 100%; max-height: 700px; min-height: 0; border: 1px solid #d1dfe5; border-radius: 14px; background: #fff; box-shadow: 0 12px 40px #032d600b; overflow: hidden; }
.slide { height: 100%; display: flex; flex-direction: column; gap: clamp(14px, 1.6cqw, 22px); padding: clamp(24px, 3.3cqw, 44px); }
.slide-heading { flex: none; display: flex; flex-direction: column; gap: 10px; }
.question { flex: none; margin: 0; color: #486276; font-size: clamp(13px, 1.35cqw, 17px); line-height: 1.4; }
.question strong { color: #0176d3; white-space: nowrap; }
.slide h1 { flex: none; margin: 0; color: #032d60; font-size: clamp(28px, 3cqw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }
.concept-title { margin: 0; color: #486276; font-size: clamp(19px, 2cqw, 24px); line-height: 1.3; font-weight: 500; }
.slide-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2cqw, 26px); }
.lead { margin: 0; font-size: clamp(19px, 1.95cqw, 25px); line-height: 1.4; color: #2d4654; }
.points { display: flex; flex-direction: column; gap: clamp(16px, 2cqw, 26px); padding: 0; margin: 0; list-style: none; }
.points li { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.points h2 { margin: 0; color: #075d9c; font-size: clamp(20px, 2cqw, 25px); font-weight: 600; line-height: 1.3; }
.points p { margin: 0; font-size: clamp(18px, 1.85cqw, 23px); line-height: 1.45; }
.takeaway { flex: none; margin: 0; padding-top: 16px; border-top: 1px solid #cbdce5; color: #285343; font-size: clamp(17px, 1.7cqw, 21px); line-height: 1.4; }
.columns { display: grid; grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr)); gap: 34px; }
.columns section { min-width: 0; padding-top: 18px; border-top: 3px solid #0176d3; }
.columns h2 { margin: 0 0 18px; color: #075d9c; font-size: clamp(22px, 2.2cqw, 28px); font-weight: 600; line-height: 1.25; }
.columns p, .columns li { font-size: clamp(19px, 1.9cqw, 24px); line-height: 1.45; }
.columns p { margin: 0; }
.columns ul { margin: 0; padding-left: 22px; }
.columns li + li { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 8px 0 16px; }
.facts p { margin: 0; }
.fact-value { display: block; color: #0176d3; font-size: clamp(52px, 6.8cqw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; }
.fact-label { display: block; margin-top: 12px; max-width: 22ch; font-size: clamp(18px, 1.9cqw, 24px); line-height: 1.4; }
.has-diagram .slide-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 28px; }
.has-diagram .lead { font-size: clamp(18px, 1.75cqw, 22px); }
.snapshot { flex: 1; min-height: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.snapshot-button { flex: 1; min-height: 0; width: 100%; display: flex; justify-content: center; align-items: center; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.snapshot img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.snapshot figcaption { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: #526777; font-size: 13px; line-height: 1.35; }
.snapshot figcaption button { color: #075d9c; border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.deck-controls { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px max(24px, calc((100vw - 1280px) / 2)) 18px; }
.presenter { font-size: 14px; color: #526777; }
.presenter strong { color: #032d60; }
.presenter small { display: block; margin-top: 5px; font-size: 12px; }
.slide-navigation { display: flex; align-items: center; gap: 12px; color: #032d60; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.deck-actions { display: flex; align-items: center; gap: 10px; }
select { max-width: 290px; min-height: 44px; border: 1px solid #b8cbd5; border-radius: 9px; padding: 10px 30px 10px 12px; background: #fff; color: #244455; font-size: 14px; text-overflow: ellipsis; }
.answer-button { min-height: 44px; padding: 10px 18px; border: 1px solid #032d60; border-radius: 9px; background: #032d60; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.answer-button:hover { background: #06509b; }
.mobile-nav { display: none; }
dialog { width: min(820px, calc(100vw - 32px)); max-height: 88dvh; margin: auto; padding: 28px 34px; overflow: auto; border: 1px solid #c5d8e4; border-radius: 16px; background: #fff; color: #192824; box-shadow: 0 24px 80px #032d6055; }
dialog::backdrop { background: #032d6080; }
.dialog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; color: #526777; }
.close-dialog { min-height: 44px; padding: 8px 12px; border: 1px solid #bfced7; border-radius: 8px; background: #f7fafc; color: #032d60; flex: none; }
dialog h2 { color: #032d60; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 24px; }
#answer-content p { font-size: 20px; line-height: 1.65; margin: 0 0 20px; }
#answer-content .answer-context { font-size: 14px; color: #526777; }
.image-dialog { width: min(1160px, calc(100vw - 24px)); }
.image-dialog .dialog-toolbar h2 { margin: 0; font-size: 22px; }
.image-dialog img { width: 100%; height: auto; display: block; margin-bottom: 20px; }
.source-link { display: inline-block; padding: 4px 0; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.no-script { margin: 40px; font-size: 22px; }
@media (min-width: 801px) and (max-height: 800px) {
  .site-header { padding-top: 12px; padding-bottom: 12px; }
  .deck-shell { padding-top: 12px; padding-bottom: 12px; }
  .slide { gap: 12px; padding: 24px 34px; }
  .slide h1 { font-size: 34px; }
  .slide-body, .points { gap: 16px; }
  .points h2, .points p { font-size: 20px; }
  .lead { font-size: 21px; }
  .takeaway { font-size: 17px; padding-top: 10px; }
}
@media (max-width: 1100px) { .site-header { gap: 10px; } .site-nav a { padding: 9px 10px; } .site-nav { font-size: 13px; } .deck-shell { gap: 12px; padding-left: 12px; padding-right: 12px; } .presenter small { display: none; } select { max-width: 240px; } }
@media (max-width: 1100px), (max-height: 850px) {
  body { height: auto; min-height: 100dvh; }
  .site-header { position: sticky; top: 0; z-index: 10; padding: 12px 16px; gap: 12px; }
  .brand img { width: 60px; height: 42px; }
  .site-nav { width: 100%; }
  .site-nav a { gap: 5px; padding: 8px; }
  .deck-shell { display: block; padding: 14px 12px; }
  .side-nav { display: none; }
  .slide-stage { height: auto; max-height: none; overflow: visible; }
  .slide { min-height: 52dvh; padding: 24px; gap: 18px; }
  .slide h1 { font-size: clamp(26px, 4.5vw, 36px); }
  .question { font-size: 14px; }
  .slide-body { gap: 24px; }
  .lead, .points p { font-size: 19px; }
  .points { gap: 22px; }
  .points li { grid-template-columns: 1fr; gap: 6px; }
  .points h2 { font-size: 21px; }
  .columns { grid-template-columns: 1fr; gap: 26px; }
  .columns h2 { font-size: 24px; margin-bottom: 12px; }
  .columns p, .columns li { font-size: 19px; }
  .facts { gap: 20px; grid-template-columns: 1fr; }
  .facts p { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 20px; }
  .fact-value { font-size: 56px; }
  .fact-label { font-size: 18px; margin: 0; }
  .takeaway { font-size: 17px; }
  .has-diagram .slide-body { display: flex; gap: 24px; }
  .snapshot { flex: none; height: auto; }
  .snapshot-button { flex: none; }
  .snapshot img { width: 100%; max-width: 748px; height: auto; max-height: none; }
  .snapshot figcaption { font-size: 13px; gap: 8px; }
  .deck-controls { position: sticky; bottom: 0; z-index: 9; flex-direction: column; gap: 10px; padding: 10px 14px max(12px, env(safe-area-inset-bottom)); background: #f5f8fa; border-top: 1px solid #cfdee7; }
  .presenter { display: none; }
  .slide-navigation { width: 100%; justify-content: space-between; }
  .mobile-nav { display: inline-flex; width: 44px; height: 44px; }
  .deck-actions { width: 100%; }
  select { min-width: 0; flex: 1; max-width: none; width: 100%; }
  dialog { padding: 22px; }
  dialog h2 { font-size: 24px; }
  #answer-content p { font-size: 18px; }
}
@media (prefers-reduced-motion: no-preference) { button, a { transition: background .12s ease, border-color .12s ease; } }
