/* Design tokens: change these to restyle the whole site. No web fonts required. */
:root {
  --paper: #f8f7f2;
  --surface: #fdfcf9;
  --ink: #233c35;
  --body: #34443f;
  --muted: #616c65;
  --border: #d4d9cf;
  --banking: #3f716c;
  --banking-soft: #e5eeea;
  --inflation: #a74c32;
  --inflation-soft: #f6e9e1;
  --policy: #876323;
  --policy-soft: #f2ecdc;
  --modern: #5f6285;
  --modern-soft: #ececf3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--body); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
button:disabled { cursor: default; opacity: .38; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--ink); }
.shell { width: calc(100% - 96px); max-width: 1400px; margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.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; }
.site-header { height: 76px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.wordmark { color: var(--ink); font-family: var(--serif); font-size: 31px; font-weight: 700; letter-spacing: -1.5px; text-decoration: none; white-space: nowrap; }
.wordmark > span:first-child { font-weight: 400; font-style: italic; }
.wordmark-dot { color: var(--inflation); }
.site-header nav { display: flex; gap: 32px; font-size: 14px; }
.site-header nav a { padding: 8px 0; text-decoration: none; }
.site-header nav a:hover, .nav-map { box-shadow: 0 1px 0 var(--ink); }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 32px 28px; }
h1 { font-family: var(--serif); font-size: clamp(48px, 5.2vw, 78px); letter-spacing: -3.3px; line-height: 1.04; font-weight: 500; }
.intro-copy { font-size: 17px; line-height: 1.6; margin-top: 18px; }
.desktop-break { display: none; }
.big-idea { width: 315px; flex-shrink: 0; border-left: 1px solid #aebbb0; padding-left: 26px; margin-top: 24px; }
.big-idea p { color: var(--ink); font-family: var(--serif); font-size: 27px; line-height: 1.22; letter-spacing: -.5px; }
.big-idea span { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 15px; max-width: 235px; }
.map-section { padding-top: 10px; background-image: radial-gradient(#ced5ca .75px, transparent .75px); background-size: 20px 20px; background-position: center 16px; }
.map-topline { display: flex; justify-content: space-between; align-items: center; padding-block: 15px 5px; }
.map-topline h2 { font: 500 13px var(--sans); letter-spacing: .03em; }
.map-topline p { font-size: 12px; color: var(--muted); }
.click-symbol { font-size: 18px; margin-right: 6px; color: var(--banking); }
.mobile-hint { display: none; }
.mind-map { position: relative; height: 600px; }
.map-lines { position: absolute; inset: 0; height: 100%; width: 100%; overflow: visible; pointer-events: none; }
.map-lines path { fill: none; stroke-width: 1.7; opacity: .8; }
.banking { --family: var(--banking); --family-soft: var(--banking-soft); }
.inflation { --family: var(--inflation); --family-soft: var(--inflation-soft); }
.policy { --family: var(--policy); --family-soft: var(--policy-soft); }
.modern { --family: var(--modern); --family-soft: var(--modern-soft); }
.central-node { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); width: 192px; height: 192px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--ink); border-radius: 50%; color: var(--paper); text-align: center; z-index: 1; box-shadow: 0 0 0 9px var(--paper); }
.center-title { font-family: var(--serif); font-size: 38px; letter-spacing: -1px; line-height: 1.06; }
.center-subtitle { font-size: 12px; line-height: 1.5; margin-top: 12px; color: #e1e6dc; }
.branch { position: absolute; transform: translate(-50%, -50%); z-index: 1; border-radius: 40px; padding: 12px 18px; color: white; background: var(--family); font-family: var(--serif); font-size: 18px; white-space: nowrap; }
#branch-banking { left: 33%; top: 28%; }
#branch-inflation { left: 67%; top: 26%; }
#branch-policy { left: 33%; top: 76%; }
#branch-modern { left: 67%; top: 75%; }
.case-nodes { margin: 0; padding: 0; list-style: none; }
.case-item { position: absolute; width: 23%; z-index: 2; }
.case-item:nth-child(-n+4), .case-item:nth-child(6), .case-item:nth-child(7) { left: 0; }
.case-item:nth-child(5), .case-item:nth-child(n+8) { right: 0; }
.case-item:nth-child(1) { top: 3%; }
.case-item:nth-child(2) { top: 16%; }
.case-item:nth-child(3) { top: 29%; }
.case-item:nth-child(4) { top: 43%; }
.case-item:nth-child(5) { top: 16%; }
.case-item:nth-child(6) { top: 69%; }
.case-item:nth-child(7) { top: 91%; }
.case-item:nth-child(8) { top: 46%; }
.case-item:nth-child(9) { top: 68%; }
.case-item:nth-child(10) { top: 91%; }
.case-node { text-align: left; width: 100%; display: block; position: relative; padding: 10px 17px; background: var(--surface); border: 1.5px solid var(--family); border-radius: 11px; transition: background-color .18s, transform .18s, box-shadow .18s; }
.case-node:hover { background: var(--family-soft); transform: translateY(-3px); box-shadow: 0 5px 0 color-mix(in srgb, var(--family) 12%, transparent); }
.case-node:focus-visible { outline-color: var(--family); background: var(--family-soft); }
.node-title { display: block; font-family: var(--serif); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.22; padding-right: 18px; letter-spacing: -.3px; }
.node-arrow { position: absolute; right: 15px; top: 9px; color: var(--family); font-size: 21px; font-weight: 400; transition: transform .18s; }
.case-node:hover .node-arrow { transform: translate(2px, -2px); }
.node-years { display: none; }
.node-price { display: block; font-size: 11px; color: var(--family); line-height: 1.5; margin-top: 5px; }
.price-icon { margin-right: 6px; font-size: 15px; }
.featured .case-node { padding: 17px 19px 15px; }
.featured .node-years { display: block; font-size: 12px; color: var(--family); margin-bottom: 5px; font-weight: 600; letter-spacing: .04em; }
.featured .node-title { font-size: clamp(20px, 1.7vw, 25px); font-weight: 500; padding-right: 8px; }
.featured .node-price { font-size: 12px; margin-top: 9px; }
.featured .node-arrow { top: 11px; }
.mobile-category, .node-description, .path-number { display: none; }
.map-key { padding-top: 38px; padding-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 11px; color: var(--muted); }
.color-key { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.color-key li { display: flex; align-items: center; gap: 7px; }
.key-dot { width: 10px; height: 10px; background: var(--family); display: inline-block; border-radius: 50%; flex-shrink: 0; }
.map-key > p { padding-left: 24px; border-left: 1px solid var(--border); }
.timeline-wrap { padding-bottom: 26px; }
.timeline { display: grid; grid-template-columns: repeat(10, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; top: 16px; left: 5%; right: 5%; height: 1px; background: #acb7ad; }
.year-button { border: none; background: transparent; position: relative; min-height: 60px; padding: 0 4px 3px; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.year-button::before { content: ''; display: block; width: 11px; height: 11px; margin-top: 10px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); transition: background-color .2s; }
.year-button:hover::before, .year-button:focus-visible::before { background: var(--ink); }
.year-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.timeline-caption { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-top: 5px; }
.timeline-caption > span:first-child { text-transform: uppercase; letter-spacing: 1.3px; }
.reading-guide { display: grid; grid-template-columns: 1fr 2.1fr; gap: 45px; padding-block: 34px 38px; border-top: 1px solid var(--border); }
.guide-intro h2 { font: 24px/1.3 var(--serif); letter-spacing: -.4px; }
.guide-intro p { font-size: 12px; color: var(--muted); max-width: 280px; margin-top: 10px; }
.arrow-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.arrow-key dt { font-size: 12px; font-weight: 600; }
.arrow-key dd { margin-top: 7px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.relation-line { width: 42px; height: 12px; display: block; position: relative; border-top: 1.5px solid var(--banking); margin: 9px 0 7px; }
.relation-line::after { content: ''; display: block; position: absolute; right: 0; top: -4px; border-top: 1.5px solid var(--banking); border-right: 1.5px solid var(--banking); transform: rotate(45deg); width: 6px; height: 6px; }
.policy-line { border-top-style: dashed; border-top-color: var(--policy); }
.policy-line::after { border-color: var(--policy); }
.alongside-line { border-top-style: dotted; border-top-width: 2px; border-top-color: var(--modern); }
.alongside-line::after { display: none; }
.basics-section { border-block: 1px solid var(--border); background: #f0f1e9; padding-block: 66px 35px; }
.basics-layout { display: grid; grid-template-columns: 1fr 1.75fr; gap: 90px; }
.basics-intro h2, .about-section h2 { font: 44px/1.08 var(--serif); letter-spacing: -1.5px; }
.basics-intro p { max-width: 320px; margin-top: 25px; font-size: 14px; }
.basics-intro .small-note { margin-top: 35px; font-size: 12px; }
.text-button { border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--banking); }
.definitions > div { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding-block: 22px; border-bottom: 1px solid #d1d6c9; }
.definitions > div:first-child { padding-top: 0; }
.definitions > div:last-child { border: 0; }
.definitions dt { font: 23px/1.35 var(--serif); color: var(--ink); }
.definitions dt span { color: var(--banking); margin-left: 6px; }
.definitions dd { font-size: 14px; line-height: 1.7; }
.definitions strong { font-weight: 600; }
.basics-footnote { border-top: 1px solid #d1d6c9; margin-top: 24px; padding-top: 26px; display: flex; gap: 20px; align-items: center; }
.basics-footnote > span { font-size: 36px; color: var(--policy); }
.basics-footnote p { font-size: 13px; max-width: 930px; }
.basics-footnote strong { color: var(--ink); }
.about-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; padding-block: 67px 60px; }
.about-section h2 { font-size: 36px; }
.about-section p { font-size: 13px; line-height: 1.8; margin-top: 22px; max-width: 600px; }
.about-notes > p:first-child { margin-top: 0; }
.source-directory { margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--border); }
.source-directory summary { cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; list-style: none; padding-block: 5px; }
.source-directory summary::-webkit-details-marker { display: none; }
.source-directory summary span { font-size: 22px; line-height: 1; }
.source-directory[open] summary span { transform: rotate(45deg); }
.source-directory p { font-size: 12px; }
.library-case { margin-top: 22px; }
.library-case h3 { font: 17px/1.4 var(--serif); }
.library-case ul { padding-left: 18px; margin-top: 8px; font-size: 12px; }
.library-case li { margin-top: 6px; }
.library-case a:hover { color: var(--banking); }
.source-note { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 25px 30px; border-top: 1px solid var(--border); font-size: 11px; }
.site-footer a { text-decoration: none; }
.site-footer .footer-brand { font: 21px var(--serif); letter-spacing: -.6px; }
.site-footer p { color: var(--muted); }
.site-footer a:last-child:hover { text-decoration: underline; }

/* The native dialog traps keyboard focus and makes the background inert. */
.detail-drawer { margin: 0 0 0 auto; padding: 0; inset: 0 0 0 auto; width: min(670px, 100%); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; color: var(--body); background: var(--paper); border: 0; border-left: 1px solid var(--family); box-shadow: -12px 0 60px #1729231a; overflow: hidden; }
.detail-drawer[open] { display: flex; flex-direction: column; animation: drawer-in .22s ease-out; }
.detail-drawer::backdrop { background: #172b244f; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px 9px 36px; flex-shrink: 0; }
#detail-position { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--family); font-weight: 600; }
.close-button { font: 32px/1 var(--sans); border: none; width: 44px; height: 44px; background: transparent; color: var(--ink); border-radius: 50%; }
.close-button:hover { background: var(--family-soft); }
.drawer-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 12px 36px 30px; }
.detail-title { font: 49px/1.04 var(--serif); letter-spacing: -1.8px; margin: 3px 0 16px; }
.detail-title:focus { outline: none; }
.detail-meta { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.detail-years { font: 27px/1.2 var(--serif); color: var(--ink); }
.detail-price { background: var(--family-soft); color: var(--family); font-size: 12px; padding: 5px 10px; border-radius: 4px; text-align: center; }
.relation { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: center; gap: 11px; padding: 25px 0 24px; }
.relation-box { border: 1px solid color-mix(in srgb, var(--family) 50%, transparent); padding: 10px 7px; background: var(--family-soft); border-radius: 4px; text-align: center; color: var(--ink); font: 15px/1.35 var(--serif); }
.relation-link { text-align: center; font-size: 11px; color: var(--family); line-height: 1.5; }
.relation-link .relation-line { width: 100%; height: 5px; margin: 6px 0 0; border-color: var(--family); }
.relation-link .relation-line::after { border-color: var(--family); }
.detail-section { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 13px; padding: 19px 0; border-top: 1px solid var(--border); }
.section-number { color: var(--family); font-size: 12px; font-weight: 500; line-height: 25px; }
.detail-section h3 { font: 20px/1.3 var(--serif); letter-spacing: -.3px; margin-bottom: 6px; }
.detail-section p { font-size: 16px; line-height: 1.7; }
.detail-section.takeaway { background: var(--family-soft); border: 0; padding: 18px 15px; margin-block: 12px 8px; border-radius: 6px; }
.detail-section.takeaway p { color: var(--ink); }
.detail-section.sources { border: 0; }
.sources ul { padding-left: 16px; margin: 9px 0 0; font-size: 12px; line-height: 1.7; }
.sources li { margin-bottom: 8px; }
.sources a { color: var(--family); }
.source-link-arrow { white-space: nowrap; }
.related-case { border-top: 1px solid var(--border); padding-top: 22px; font-size: 12px; }
.related-case button { display: block; margin-top: 6px; text-align: left; font-size: 15px; }
.drawer-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding: 10px 24px; background: var(--paper); flex-shrink: 0; }
.drawer-footer button { padding: 10px 4px; font-size: 12px; border: 0; background: transparent; }
.drawer-footer button:not(:disabled):hover { color: var(--family); text-decoration: underline; text-underline-offset: 4px; }
.drawer-footer button span { font-size: 18px; margin-inline: 4px; }
#case-count { font-size: 10px; color: var(--muted); }
@keyframes drawer-in { from { transform: translateX(35px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
@media (min-width: 1600px) { .mind-map { height: 690px; } }
@media (min-width: 901px) and (max-width: 1350px) { .mind-map { height: 680px; } }
@media (max-width: 1150px) and (min-width: 901px) {
  .shell { width: calc(100% - 64px); }
  .branch { font-size: 15px; padding: 12px; }
  .central-node { width: 164px; height: 164px; }
  .center-title { font-size: 32px; }
  .case-item { width: 24%; }
  .case-node { padding-inline: 12px; }
  .featured .case-node { padding-inline: 14px; }
  .node-title { font-size: 16px; }
  .featured .node-title { font-size: 21px; }
  .node-price { font-size: 10px; }
  .featured .node-price { font-size: 11px; }
  .map-key { gap: 15px; font-size: 10px; }
  .color-key { gap: 15px; }
  .map-key > p { padding-left: 15px; }
  .big-idea { width: 250px; }
  .big-idea p { font-size: 24px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .site-header { height: 80px; }
  .wordmark { font-size: 27px; }
  .site-header nav { gap: 20px; font-size: 12px; }
  .intro { padding-block: 36px 30px; gap: 28px; }
  h1 { font-size: 53px; letter-spacing: -2.6px; }
  .intro-copy { font-size: 15px; }
  .big-idea { width: 220px; padding-left: 20px; }
  .big-idea p { font-size: 22px; }
  .big-idea p br, .desktop-break { display: none; }
  .mind-map { height: auto; padding-block: 32px 8px; max-width: 640px; }
  .map-lines, .branch { display: none; }
  .central-node { position: relative; transform: none; left: auto; top: auto; margin: 0 auto 42px; width: 165px; height: 165px; }
  .center-title { font-size: 32px; }
  .center-subtitle { font-size: 11px; margin-top: 8px; }
  .case-nodes { position: relative; margin-left: 13px; padding-left: 30px; }
  .case-nodes::before { content: ''; position: absolute; width: 1px; background: #aeb8ae; left: 0; top: -25px; bottom: 30px; }
  .case-item { position: relative; width: 100%; margin-bottom: 20px; }
  .case-item:nth-child(n) { top: auto; right: auto; left: auto; }
  .case-item::before { content: ''; position: absolute; width: 30px; height: 1px; left: -30px; top: 37px; background: var(--family); }
  .path-number { display: grid; place-items: center; position: absolute; left: -42px; top: 25px; width: 25px; height: 25px; border: 1px solid var(--family); border-radius: 50%; font-size: 9px; color: var(--family); background: var(--paper); }
  .mobile-category { display: block; color: var(--family); font-size: 10px; letter-spacing: .04em; margin-bottom: 8px; }
  .case-node { padding: 15px 20px; }
  .node-title { font-size: 22px; }
  .node-price { font-size: 11px; }
  .node-description { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
  .node-arrow { top: 16px; right: 18px; }
  .featured .case-node { background: var(--family-soft); padding: 20px; }
  .featured .node-title { font-size: 28px; }
  .featured .node-years { font-size: 12px; margin-top: 2px; }
  .featured .node-arrow { top: 16px; }
  .map-topline h2 { font-size: 12px; }
  .map-key { padding-top: 18px; flex-direction: column; gap: 15px; }
  .color-key { gap: 12px 20px; justify-content: center; }
  .map-key > p { padding: 0; border: 0; }
  .timeline-wrap { display: none; }
  .reading-guide { grid-template-columns: 1fr; gap: 22px; }
  .guide-intro p { max-width: none; }
  .basics-layout { grid-template-columns: 1fr; gap: 40px; }
  .basics-intro h2 br { display: none; }
  .basics-intro p { max-width: 540px; margin-top: 18px; }
  .basics-intro .small-note { margin-top: 16px; }
  .basics-section { padding-top: 45px; }
  .definitions > div { grid-template-columns: 170px 1fr; }
  .about-section { gap: 40px; }
  .about-section h2 { font-size: 30px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .site-header { flex-direction: column; align-items: flex-start; height: auto; padding-block: 18px 13px; gap: 14px; }
  .wordmark { font-size: 29px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 11px; }
  .site-header nav a { padding: 3px 0; min-height: 28px; }
  .intro { display: block; padding-block: 30px 26px; }
  h1 { font-size: clamp(42px, 10.7vw, 62px); letter-spacing: -2px; }
  .intro-copy { margin-top: 19px; font-size: 14px; }
  .big-idea { width: 100%; margin-top: 27px; padding-left: 16px; }
  .big-idea p { font-size: 21px; }
  .big-idea span { font-size: 12px; max-width: 340px; margin-top: 8px; }
  .map-topline { display: block; padding-block: 18px 6px; }
  .map-topline h2 { font-size: 14px; }
  .map-topline p { margin-top: 3px; font-size: 11px; }
  .mobile-hint { display: inline; }
  .mind-map { padding-top: 25px; }
  .central-node { width: 150px; height: 150px; }
  .center-title { font-size: 30px; }
  .case-node { padding-inline: 15px; }
  .featured .case-node { padding: 18px 15px; }
  .node-title { font-size: 21px; }
  .featured .node-title { font-size: 26px; }
  .node-description { font-size: 11px; }
  .featured .node-price { font-size: 11px; }
  .color-key { font-size: 10px; }
  .map-key > p { font-size: 10px; }
  .reading-guide { padding-block: 28px 32px; }
  .arrow-key { grid-template-columns: 1fr; gap: 16px; }
  .arrow-key > div { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
  .arrow-key dt { font-size: 11px; }
  .arrow-key dd { margin-top: 0; padding-top: 12px; }
  .guide-intro h2 { font-size: 27px; }
  .basics-intro h2 { font-size: 37px; letter-spacing: -1.2px; }
  .definitions > div { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .definitions dt { font-size: 23px; }
  .definitions dd { font-size: 13px; }
  .basics-layout { gap: 30px; }
  .basics-footnote { align-items: flex-start; gap: 12px; }
  .basics-footnote p { font-size: 12px; }
  .basics-footnote > span { font-size: 28px; }
  .about-section { grid-template-columns: 1fr; gap: 25px; padding-block: 40px; }
  .about-section h2 { font-size: 33px; }
  .about-section p { margin-top: 18px; }
  .about-notes > p:first-child { margin: 0; }
  .site-footer { flex-wrap: wrap; font-size: 10px; gap: 13px; padding-bottom: 24px; }
  .site-footer p { order: 3; width: 100%; }
  .site-footer .footer-brand { font-size: 20px; }
  .drawer-top { padding-left: 22px; padding-right: 12px; }
  #detail-position { letter-spacing: 1.1px; font-size: 9px; }
  .drawer-scroll { padding: 10px 22px 28px; }
  .detail-title { font-size: 39px; letter-spacing: -1.3px; }
  .detail-years { font-size: 25px; }
  .detail-price { font-size: 10px; padding-inline: 8px; }
  .relation { grid-template-columns: 1fr 105px 1fr; gap: 7px; padding-block: 25px; }
  .relation-box { font-size: 13px; padding: 9px 5px; }
  .relation-link { font-size: 10px; }
  .detail-section { grid-template-columns: 19px 1fr; gap: 10px; padding-block: 17px; }
  .detail-section h3 { font-size: 19px; }
  .detail-section p { font-size: 15px; }
  .section-number { font-size: 11px; }
  .drawer-footer { padding: 8px 15px; }
  .drawer-footer button { font-size: 11px; }
  .drawer-footer button span { margin-inline: 2px; }
  .sources ul { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .case-node:hover, .case-node:hover .node-arrow { transform: none; }
}
@media print {
  .site-header nav, .map-section, .reading-guide, .skip-link, .site-footer { display: none; }
  .shell { width: 100%; }
  body:has(dialog[open]) main, body:has(dialog[open]) .site-header { display: none; }
  .detail-drawer[open] { position: static; height: auto; width: 100%; border: 0; overflow: visible; box-shadow: none; }
  .drawer-scroll { overflow: visible; }
  .drawer-top, .drawer-footer, .related-case { display: none; }
  .detail-section { break-inside: avoid; }
}
