:root {
  color-scheme: light;
  --brand: #175d86;
  --ink: #26343e;
  --muted: #62717c;
  --line: #dce3e7;
  --paper: #fff;
  --wash: #f2f6f8;
  --red: #b52637;
  --green: #167362;
  --dock-height: 56px;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",Meiryo,sans-serif;
  color: var(--ink);
  background: #e9eef1;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
button,input,select { font: inherit; color: inherit; }
button,a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b37616; outline-offset: 3px; }
a { color: var(--brand); }
svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1,h2,h3,p { margin: 0; }
.skip-link { position: fixed; top: -100px; z-index: 20; background: white; padding: 12px; }
.skip-link:focus { top: 0; }

/* A compact masthead leaves the reading surface visually quiet. */
.book-header {
  background: #0b2d4b;
  color: white;
  border-bottom: 3px solid #408a9e;
  padding: env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));
}
.header-inner { display: flex; align-items: center; gap: 14px; max-width: 820px; margin: auto; min-height: 60px; }
.brand { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.brand span { font-size: 12px; color: #c4dbe6; line-height: 1.5; }
.brand strong { font-size: 17px; font-weight: 600; line-height: 1.5; }
.icon-link,.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 5px; text-decoration: none; background: transparent; }
.icon-link { color: white; }
.icon-button { color: var(--muted); }
.icon-link:hover { background: #ffffff18; }
.icon-button:hover { background: #e7eef2; }
.book-main {
  max-width: 900px;
  min-height: calc(100vh - 63px);
  margin: auto;
  background: var(--paper);
  padding: 28px max(40px,env(safe-area-inset-right,0px)) max(36px,env(safe-area-inset-bottom,0px)) max(40px,env(safe-area-inset-left,0px));
}
h1 { font-size: 25px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }

/* The contents behave like a compact index, not a stack of cards. */
.catalog-heading { padding-top: 2px; }
.catalog-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
.catalog-back svg { width: 18px; height: 18px; }
.catalog-summary { font-size: 13px; color: var(--muted); margin: 7px 0 14px; font-variant-numeric: tabular-nums; }
.resume { display: block; padding: 11px 12px; min-height: 44px; margin: 0 0 18px; border-left: 3px solid #408a9e; background: var(--wash); text-decoration: none; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.resume:hover { background: #e8f1f6; }
.search-field { margin: 16px 0 22px; }
.search-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.search-field input { width: 100%; min-height: 46px; padding: 10px 13px; background: #f7f9fa; border: 1px solid #bdccd4; border-radius: 6px; }
.search-field input:focus { background: white; }
.group-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.group-row { display: grid; grid-template-columns: 36px minmax(0,1fr) 18px; align-items: center; gap: 12px; min-width: 0; min-height: 82px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.group-row:hover { background: var(--wash); }
.group-number { color: var(--brand); font-size: 13px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.group-name { display: grid; gap: 4px; min-width: 0; line-height: 1.5; }
.group-name strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.group-name>span { color: var(--muted); font-size: 12px; }
.group-row svg { width: 18px; height: 18px; color: #79929f; }
.search-status { font-size: 13px; color: var(--muted); margin: 14px 0; }
.search-status:empty { display: none; }
.topic-group { margin: 22px 0; }
.topic-group h2 { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #9aafb9; padding: 10px 0; font-size: 16px; line-height: 1.6; font-weight: 700; }
.topic-group h2 span { color: var(--brand); font-size: 12px; font-weight: 500; white-space: nowrap; }
.lesson-row { display: grid; grid-template-columns: minmax(0,1fr) auto 18px; align-items: center; gap: 14px; min-height: 62px; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.lesson-row:hover { background: #f4f8fa; }
.lesson-name { font-size: 16px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.lesson-meta { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lesson-row svg { width: 18px; height: 18px; color: #79929f; }

#reader { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom,0px)); }
.reader-heading { max-width: 720px; margin: 0 auto; padding: 0 0 18px; }
.eyebrow { margin-bottom: 6px; color: var(--brand); font-size: 12px; font-weight: 600; line-height: 1.6; }
.reader-heading h1 { font-size: 23px; line-height: 1.45; color: #183b52; }
.reader-tools { display: grid; grid-template-columns: minmax(52px,1fr) auto minmax(44px,1fr); align-items: center; gap: 10px; position: sticky; top: 0; z-index: 5; max-width: 720px; margin: 0 auto; padding: calc(5px + env(safe-area-inset-top,0px)) 0 5px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contents-link { display: inline-flex; align-items: center; gap: 4px; justify-self: start; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; }
.contents-link svg { width: 18px; height: 18px; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; background: #edf2f5; border-radius: 6px; padding: 3px; }
.mode-switch button { min-width: 78px; min-height: 44px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); padding: 8px 14px; font-size: 14px; font-weight: 600; }
.mode-switch button[aria-pressed=true] { color: var(--brand); background: white; box-shadow: 0 1px 3px #183b5224; }
#hideAnswers { justify-self: end; }
#hideAnswers[hidden] { display: inline-flex !important; visibility: hidden; pointer-events: none; }
.reading-column { min-width: 0; max-width: 720px; margin: auto; }
#article { font-size: 17px; line-height: 1.85; overflow-wrap: break-word; }
.book-section { padding: 22px 0 0; }
.book-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: 19px; line-height: 1.55; color: #183b52; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #d8e5eb; scroll-margin-top: calc(84px + env(safe-area-inset-top,0px)); }
.book-section h2>span { flex: none; font-size: 11px; line-height: 1.5; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
#article h3 { font-size: 17px; font-weight: 700; color: #183b52; line-height: 1.6; margin: 22px 0 8px; }
#article p { margin: 13px 0; }
#article ul,#article ol { margin: 13px 0; padding-left: 1.4em; }
#article li { padding-left: .15em; margin: 9px 0; }
.term { color: var(--red); font-weight: 700; }
.term.blue { color: var(--brand); }
.point { border-left: 3px solid #4d9b8e; padding: 4px 0 4px 14px; margin: 18px 0; color: #28594f; }
.compare { display: grid; grid-template-columns: 112px minmax(0,1fr); border-top: 1px solid #b9cbd4; margin: 18px 0; }
.compare dt,.compare dd { min-width: 0; overflow-wrap: anywhere; margin: 0; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.compare dt { background: #f1f6f8; color: #254f65; font-weight: 600; }

.blank { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: baseline; min-height: 44px; min-width: 54px; max-width: 100%; padding: 1px 8px; margin: 2px; border: 0; border-radius: 4px; background: #e2eaf0; color: var(--red); font-weight: 700; font-size: inherit; line-height: 1.55; white-space: normal; }
.blank-ghost { visibility: hidden; overflow-wrap: anywhere; }
.blank-mask { position: absolute; inset: 0; border-bottom: 2px solid #8da6b8; border-radius: 4px; }
.blank.revealed { background: #fff0ee; }
.blank.revealed .blank-ghost { visibility: visible; }
.blank.revealed .blank-mask { display: none; }

/* Mathematical layout and diagram coordinates stay independent of the page chrome. */
.formula { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px; margin: 18px 0; background: #f1f6f8; border-left: 3px solid #7198b5; font-family: "Cambria Math",Cambria,serif; line-height: 1.8; font-size: 20px; }
.formula .chunk { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.formula>span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.frac { display: inline-grid; grid-template-rows: auto auto; text-align: center; vertical-align: middle; line-height: 1.35; padding: 0 3px; }
.frac>span { padding: 0 4px; }
.frac>span:first-child { border-bottom: 1px solid currentColor; }
.formula sub,.formula sup { font-size: .72em; }
.overline { text-decoration: overline; text-decoration-thickness: 1.5px; }
.formula math { font-family: "Cambria Math",math; font-size: 1.1em; }
.unit { white-space: nowrap; }
.nuclide { display: inline-flex; align-items: center; white-space: nowrap; vertical-align: middle; line-height: 1; }
.nuclide .isotope { display: inline-grid; grid-template-rows: 1fr 1fr; text-align: right; font-size: .67em; line-height: 1.1; margin-right: 2px; }
.nuclide>sup { align-self: flex-start; font-size: .65em; margin-left: 2px; }
figure { margin: 20px auto; max-width: 550px; }
figure svg { width: 100%; height: auto; max-height: 400px; stroke-width: 2; overflow: visible; background: #f6f9fc; }
figure svg text { fill: var(--ink); stroke: none; font-family: inherit; font-size: 17px; letter-spacing: 0; }
figcaption { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 10px; }
.truth-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 18px 0; text-align: center; font-variant-numeric: tabular-nums; }
.truth-table caption { text-align: left; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.truth-table th,.truth-table td { padding: 10px 6px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.truth-table .blank { min-width: 44px; margin: 2px 0; padding-inline: 3px; }
@media(max-width:360px) { .truth-table th,.truth-table td { padding-inline: 4px; } }
.truth-table th { background: #edf4f7; color: #254f65; font-size: 14px; font-weight: 600; }
.section-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; border-top: 1px solid var(--line); margin-top: 26px; padding: 12px 0; }
.read-check { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; }
.read-check input { accent-color: var(--green); width: 20px; height: 20px; }
#readProgress { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sources { margin-top: 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.8; }
.sources summary { cursor: pointer; padding: 12px 0; min-height: 44px; }
.sources ul { padding-left: 20px; }
.sources a { overflow-wrap: anywhere; }
.sources li { margin: 10px 0; }
.exam-list { list-style: none; padding: 0 !important; }
.exam-list li { border-bottom: 1px solid var(--line); }
.exam-list a { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 4px 12px; min-height: 44px; padding: 12px 8px; color: inherit; text-decoration: none; border-radius: 4px; }
.exam-list a:hover { background: #edf4f8; }
.exam-list a:focus-visible { outline: 2px solid var(--primary, #19648b); outline-offset: 2px; }
.exam-list .exam-link-action { grid-column: 2; color: #19648b; font-size: 13px; font-weight: 600; }
.exam-list strong { color: var(--ink); font-weight: 600; }
.exam-list span { overflow-wrap: anywhere; }
.warning { border: 1px solid #cb8438; background: #fff5e6; color: #713e16; padding: 12px; margin-bottom: 16px; line-height: 1.7; }

/* All short labels remain in view; the dock never becomes a scroller. */
.section-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; background: #fff; border-top: 1px solid #c1d0d8; box-shadow: 0 -3px 12px #2236450a; padding: 0 max(6px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(6px,env(safe-area-inset-left,0px)); }
.section-nav-inner { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 4px; align-items: center; max-width: 760px; margin: auto; height: var(--dock-height); }
.page-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: transparent; }
.page-arrow:hover { background: #edf4f7; }
.page-arrow[aria-disabled=true] { opacity: .35; pointer-events: none; }
.section-tabs { display: grid; grid-template-columns: repeat(var(--section-count),minmax(0,88px)); grid-auto-rows: 44px; justify-content: center; align-content: center; gap: 3px; min-width: 0; }
.section-tab { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 3px 4px; border: 0; border-bottom: 2px solid transparent; border-radius: 3px 3px 0 0; color: var(--muted); text-decoration: none; background: transparent; line-height: 1.3; text-align: center; }
.section-tab[aria-current=page] { color: var(--brand); background: #eaf3f8; border-bottom-color: var(--brand); }
.section-tab:hover { color: var(--brand); background: #f1f6f8; }
.tab-title { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.section-tab.is-read::after { content: ''; position: absolute; top: 2px; right: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

@media(max-width:600px) {
  .book-main { padding: 20px max(18px,env(safe-area-inset-right,0px)) max(28px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px)); }
  .header-inner { gap: 8px; min-height: 56px; }
  .brand { gap: 0; flex-direction: column; }
  .brand span { font-size: 10px; }
  .brand strong { font-size: 15px; }
  h1 { font-size: 22px; }
  .catalog-summary { margin-bottom: 12px; }
  .resume { padding: 10px; margin-bottom: 16px; font-size: 13px; }
  .search-field { margin: 14px 0 18px; }
  .group-nav { grid-template-columns: minmax(0,1fr); }
  .group-row { min-height: 72px; padding: 12px 0; }
  .topic-group { margin-top: 16px; }
  .topic-group h2 { font-size: 15px; }
  .lesson-row { grid-template-columns: minmax(0,1fr) 18px; gap: 3px 8px; min-height: 70px; padding: 13px 2px; }
  .lesson-name { font-size: 16px; }
  .lesson-meta { grid-column: 1; grid-row: 2; }
  .lesson-row svg { grid-column: 2; grid-row: 1 / 3; }
  .reader-heading { padding-bottom: 14px; }
  .reader-heading h1 { font-size: 21px; }
  .eyebrow { font-size: 11px; }
  .reader-tools { gap: 6px; }
  .mode-switch button { min-width: 66px; padding: 8px 10px; font-size: 13px; }
  .contents-link { font-size: 13px; }
  .book-section { padding-top: 20px; }
  .book-section h2 { font-size: 18px; gap: 10px; margin-bottom: 16px; }
  .compare { grid-template-columns: 92px minmax(0,1fr); }
  .compare dt,.compare dd { padding: 11px 9px; }
  .formula { font-size: 18px; padding: 12px 10px; }
  .exam-list a { grid-template-columns: 1fr; gap: 3px; }
  .exam-list .exam-link-action { grid-column: 1; }
  #reader.many-sections { --dock-height: 103px; }
  .section-tabs { grid-template-columns: repeat(var(--compact-columns),minmax(0,88px)); }
  .section-tab { padding: 3px 2px; }
  .tab-title { font-size: 11px; }
}
@media(max-width:360px) {
  .book-main { padding-left: max(14px,env(safe-area-inset-left,0px)); padding-right: max(14px,env(safe-area-inset-right,0px)); }
  .reader-tools { gap: 4px; }
  .mode-switch button { min-width: 58px; padding: 8px; }
  .reader-heading h1 { font-size: 20px; }
  .compare { grid-template-columns: 82px minmax(0,1fr); }
  .compare dt,.compare dd { padding: 10px 8px; }
}
/* Compact reading is opt-in for authored compact sections. */
.compact-reader .reader-heading { padding-bottom: 10px; }
.compact-reader .book-section { padding-top: 14px; }
.compact-reader .book-section h2 { margin-bottom: 14px; font-size: 19px; }
.compact-reader #article h3 { margin: 18px 0 8px; padding-bottom: 5px; border-bottom: 1px solid #9aafbc; color: #235770; font-size: 17px; line-height: 1.5; }
.compact-reader #article ul { margin: 0; padding-left: 1.2em; }
.compact-reader #article li { margin: 0; padding: 6px 0; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.compact-reader #article strong { font-weight: 650; }
.compact-reader #article h3:first-of-type { margin-top: 0; }
.compact-reader .truth-table { margin: 12px 0; }
.compact-reader .truth-table td { font-size: 15px; line-height: 1.7; }
.compact-reader .compare { margin: 12px 0; }
.compact-reader .section-end { margin-top: 18px; }
.dam-diagrams { margin-top: 16px; border-top: 1px solid var(--line); }
.dam-diagrams details { border-bottom: 1px solid var(--line); }
.dam-diagrams summary { min-height: 44px; padding: 10px 4px; cursor: pointer; color: var(--brand); font-weight: 600; }
.dam-diagrams figure { margin: 8px auto 14px; }
.dam-diagrams svg text { font-size: 21px; }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; } }
.figure-blank { cursor: pointer; touch-action: manipulation; }
.figure-blank .figure-mask { fill: #c8d5df; stroke: #879dad; stroke-width: 1; }
.figure-blank text { visibility: hidden; pointer-events: none; }
.figure-blank.revealed text { visibility: visible; }
.figure-blank.revealed .figure-mask { fill: #edf5fa; }
.figure-blank:focus .figure-mask { stroke: #17699e; stroke-width: 3; }
.diagram-study { margin: 12px 0 18px; }
.diagram-switch { display: flex; gap: 4px; padding: 4px; background: #e3ebf0; border-radius: 6px; }
.diagram-switch button { flex: 1; min-width: 0; min-height: 44px; padding: 7px 4px; border: 0; border-radius: 4px; background: transparent; color: #26485f; font: inherit; font-size: 14px; font-weight: 600; box-shadow: none; }
.diagram-switch button[aria-pressed="true"] { background: #fff; color: #0c5b81; box-shadow: 0 1px 3px #26485f20; }
.diagram-study [hidden] { display: none !important; }
.diagram-study .diagram-view { margin: 8px 0 0; color: #586b7b; font-size: 13px; }
.diagram-study .diagram-canvas { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 480 / 310; background: #f6f9fc; }
.diagram-study .diagram-canvas text { font-size: 21px; font-weight: 500; }
.diagram-study .diagram-note { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: #344e62; }
.dam-illustration { position: relative; width: 100%; aspect-ratio: 480 / 440; background: #fff; isolation: isolate; }
.dam-illustration .dam-art { position: absolute; inset: 15.90909% 0 auto; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.dam-illustration .dam-overlay { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; overflow: hidden; background: transparent; }
.dam-illustration .dam-overlay text { font-size: 21px; font-weight: 600; paint-order: stroke fill; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.dam-illustration .dam-overlay .dam-direction { font-size: 18px; font-weight: 500; }
.dam-illustration .figure-blank text { stroke: none; }
.dam-illustration .figure-blank rect:first-child { stroke: none; }
.dam-study .dam-source { margin: 5px 0 0; font-size: 12px; line-height: 1.6; }
.dam-study .dam-source a { color: #566a79; text-underline-offset: 3px; }
.dam-keywords { margin: 12px 0 8px; border-top: 1px solid var(--line); }
.dam-keywords h4 { margin: 9px 0 3px; color: var(--brand); font-size: 14px; font-weight: 650; }
.dam-keywords dl { margin: 0; }
.dam-keywords dl > div { display: grid; grid-template-columns: 122px minmax(0,1fr); align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e7edf1; }
.dam-keywords dt,.dam-keywords dd { margin: 0; min-width: 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.dam-keywords .figure-term { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-width: 44px; min-height: 44px; padding: 5px 8px; border: 1px solid #879dad; border-radius: 3px; background: #c8d5df; color: var(--red); font-weight: 600; font-size: 14px; line-height: 1.6; box-shadow: none; }
.dam-keywords .figure-term:not(.revealed) span { visibility: hidden; }
.dam-keywords .figure-term.revealed { background: #edf5fa; }
@media(max-width:360px) { .dam-keywords dl > div { grid-template-columns: 100px minmax(0,1fr); } }
.soil-illustration { position: relative; width: 100%; aspect-ratio: 480 / 440; background: #fff; isolation: isolate; }
.soil-illustration .soil-art { position: absolute; inset: 15.90909% 0 auto; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.soil-illustration .soil-overlay { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; overflow: hidden; background: transparent; }
.soil-illustration .soil-overlay text { font-size: 21px; font-weight: 600; paint-order: stroke fill; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.soil-illustration .soil-overlay .soil-direction { font-size: 18px; font-weight: 500; }
.soil-illustration.airport-overview { aspect-ratio: 480 / 340; }
.soil-illustration.airport-overview .soil-art { top: 2.941176%; }
.image-unavailable .soil-overlay,.image-unavailable .dam-overlay { visibility: hidden; }
.image-recovery { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px; background: #f6f9fc; text-align: center; color: #334155; font-size: 14px; line-height: 1.6; }
.image-recovery button { min-height: 44px; max-width: 100%; padding: 10px 16px; border: 1px solid #a8bdcf; border-radius: 6px; background: #fff; color: #123e62; font: inherit; cursor: pointer; }
.image-recovery button:disabled { opacity: .65; cursor: wait; }
.soil-keywords.airport-key { margin-top: 4px; }
.soil-keywords.airport-key dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.soil-keywords.airport-key dl > div { display: block; padding: 4px 0 6px; }
.airport-key dt { display: flex; align-items: center; gap: 5px; }
.airport-key-number { flex: 0 0 22px; text-align: center; color: var(--brand); font-weight: 700; }
.soil-keywords.airport-key dt > .term,.soil-keywords.airport-key .figure-term { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; margin: 0; font-size: 13px; }
.soil-keywords.airport-key .figure-term { padding: 3px 5px; }
.soil-keywords.airport-key dd { padding-left: 27px; font-size: 12px; line-height: 1.5; }
@media(min-width:700px) { .soil-keywords.airport-key dl { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.soil-illustration .figure-blank text,.soil-illustration .figure-blank rect:first-child { stroke: none; }
.soil-study .diagram-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.soil-study[data-view-count="3"] .diagram-switch { grid-template-columns: repeat(3,minmax(0,1fr)); }
.soil-study[data-view-count="1"] .diagram-switch { display: none; }
.soil-source { margin: 5px 0 0; font-size: 12px; line-height: 1.6; }
.soil-source a { color: #566a79; text-underline-offset: 3px; }
.soil-keywords { margin: 12px 0 8px; border-top: 1px solid var(--line); }
.power-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.power-reasons ul { margin: 0; padding-left: 1.3em; }
.power-reasons li + li { margin-top: 7px; }
.power-formula { display: inline; font-variant-numeric: tabular-nums; }
.power-comparison dl { margin: 0; }
.soil-keywords.power-comparison dl > div { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.power-comparison dt { margin: 0 0 5px; font-size: 16px; font-weight: 700; }
.power-comparison dd { margin: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.power-comparison .figure-term { min-height: 44px; min-width: 44px; max-width: 100%; }
.power-illustration .power-number { stroke: none; }
.road-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.road-reasons ul { margin: 0; padding-left: 1.3em; }
.road-reasons li + li { margin-top: 7px; }
.rail-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rail-reasons ul { margin: 0; padding-left: 1.3em; }
.rail-reasons li + li { margin-top: 7px; }
.tunnel-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.tunnel-reasons ul { margin: 0; padding-left: 1.3em; }
.tunnel-reasons li + li { margin-top: 7px; }
.construction-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.construction-reasons ul { margin: 0; padding-left: 1.3em; }
.construction-reasons li + li { margin-top: 7px; }
.environment-reasons { margin: 8px 0 12px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.environment-reasons ul { margin: 0; padding-left: 1.3em; }
.environment-reasons li + li { margin-top: 7px; }
.road-illustration.road-profile { aspect-ratio: 480 / 220; overflow: hidden; }
.road-profile .soil-art { top: -13.636364%; }
.soil-keywords h4 { margin: 9px 0 3px; color: var(--brand); font-size: 14px; font-weight: 650; }
.soil-keywords dl { margin: 0; }
.soil-keywords dl > div { display: grid; grid-template-columns: 122px minmax(0,1fr); align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e7edf1; }
.soil-keywords dt,.soil-keywords dd { margin: 0; min-width: 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.soil-keywords .figure-term { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-width: 44px; min-height: 44px; padding: 5px 8px; border: 1px solid #879dad; border-radius: 3px; background: #c8d5df; color: var(--red); font-weight: 600; font-size: 14px; line-height: 1.6; box-shadow: none; }
.soil-keywords .figure-term:not(.revealed) span { visibility: hidden; }
.soil-keywords .figure-term.revealed { background: #edf5fa; }
.soil-reference { margin: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.soil-reference summary { min-height: 44px; padding: 10px 4px; cursor: pointer; color: var(--brand); font-size: 14px; font-weight: 600; }
@media(max-width:360px) { .soil-keywords dl > div { grid-template-columns: 100px minmax(0,1fr); } }
