:root { --ink: #1f2328; --ink-2: #3f4650; --muted: #5d6570; --rule: #e3e6ea; --accent: #1f2328; --uline: #b8bec7; --bg: #ffffff; --soft: #f4f5f7; --figbg: #f3f4f6; --ts: #3b4cc0; --mf: #c98a12; --gen: #b02d6f; --ts-tint: #e4edf7; --mf-tint: #f8eadf; --gen-tint: #e1f1e9; --band-pde: #e3e8f6; --band-urban: #e5f1de; --band-edge: #c9cfd8; --band-ink: #3a4250; --box: #ffffff; --box-edge: #c9ced6; --ycol: #9aa3ae; --thumb: #eef0f3; --thumb-edge: #cfd4db; --tag-edge: #c9ced6; --rule-2: #c9ced6; --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; --col: 1048px; color-scheme: light; }
:root[data-theme="dark"] { --ink: #e6e8eb; --ink-2: #c5cad2; --muted: #a3abb6; --rule: #2f343c; --accent: #e6e8eb; --uline: #5a626e; --bg: #17191e; --soft: #20232a; --figbg: #22252c; --ts: #8b97f0; --mf: #e3ad45; --gen: #e872ab; --ts-tint: #1e2c3d; --mf-tint: #3a2a1f; --gen-tint: #1b3329; --band-pde: #232d48; --band-urban: #1f3526; --band-edge: #4a525e; --band-ink: #c9d0da; --box: #1b1e24; --box-edge: #4a515d; --ycol: #6b7480; --thumb: #23272f; --thumb-edge: #343a44; --tag-edge: #4a515d; --rule-2: #3d434d; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
p { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--uline); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.skip { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); padding: 6px 12px; z-index: 50; }
.skip:focus { left: 12px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
main { padding: 64px 0 24px; }
h2 { font-size: 28px; font-weight: 400; line-height: 1.25; margin: 0 0 20px; letter-spacing: -0.01em; }
.map-fig { margin: 32px 0 0; }
.bm-frame { position: relative; }
.bm-frame::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none; background: linear-gradient(to right, transparent, var(--bg)); opacity: 0; transition: opacity .2s; }
.bm-frame.is-over:not(.at-end)::after { opacity: .9; }
.bm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bm-scroll:focus-visible { outline-offset: 2px; }
.bm { position: relative; }
.bm-svg { position: absolute; left: 0; top: 0; display: block; }
.bm-year { font: 500 15px var(--font); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.bm-line { fill: none; stroke-linecap: butt; stroke-linejoin: round; transition: opacity .2s; }
.bm-line.bm-ts { stroke: var(--ts); }
.bm-line.bm-mf { stroke: var(--mf); }
.bm-box { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 3px; padding: 9px 10px 9px 15px; background: var(--box); border: 1px solid var(--box-edge); border-radius: 4px; color: var(--ink); text-decoration: none; overflow: hidden; transition: opacity .2s, border-color .15s; }
.bm-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.bm-box-ts { --c: var(--ts); }
.bm-box-mf { --c: var(--mf); }
.bm-box-gen { --c: var(--gen); }
.bm-box:hover { border-color: var(--muted); text-decoration: none; }
.bm-box:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bm-n { display: inline-block; min-width: 1.1em; margin-right: 6px; color: var(--c); font-variant-numeric: tabular-nums; }
.bm[data-filter] .bm-box, .bm[data-filter] .bm-line { opacity: .22; }
.bm[data-filter="ts"] .bm-box-ts, .bm[data-filter="mf"] .bm-box-mf, .bm[data-filter="gen"] .bm-box-gen, .bm[data-filter="ts"] .bm-line.bm-ts, .bm[data-filter="mf"] .bm-line.bm-mf { opacity: 1; }
.bm-hint { display: none; margin: -6px 0 10px; font-size: 15px; color: var(--muted); }
.map-fig.is-over .bm-hint { display: block; }
.map-fig figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .bm-line, .bm-box { transition: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  main { padding-top: 40px; }
  .map-fig { margin-top: 26px; }
  .bm-box { padding: 8px 8px 8px 13px; }
}
@media print {
  .bm-hint, .bm-frame::after, #theme-btn { display: none !important; }
  .bm-scroll { overflow: visible !important; }
  .bm-frame, .map-fig { break-inside: avoid; }
}
@media print {
  h1, h2, h3 { break-after: avoid; }
  .paper { break-inside: avoid; }
}
:root { --ts: #356aa8; --mf: #c9642f; --gen: #24936b; --hair: #e6e8ec; --hair-2: #c9ced6; }
:root[data-theme="dark"] { --ts: #7ea6d8; --mf: #e08a58; --gen: #52b892; --hair: #2c3139; --hair-2: #454c57; }
.bm-year { font: 500 14px var(--font); fill: var(--muted); }
.bm-n { color: var(--ink-2); }
.bm-box { border-color: var(--hair-2); }
.bm-box::before { width: 3px; }
.bm-dstrip { position: absolute; left: 0; top: 0; z-index: 3; background: var(--bg); will-change: transform; }
.bm-dsec { position: absolute; left: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-right: 1px solid var(--hair-2); }
.bm-dsec { align-items: flex-start; justify-content: flex-end; padding-right: 12px; }
.bm-dh { display: block; text-align: right; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) {
  .bm-dh { font-size: 12px; }
  .bm-dsec { padding-right: 8px; }
}
.bm-line.bm-ts { stroke: color-mix(in srgb, var(--ts) var(--lmix, 100%), var(--bg)); }
.bm-line.bm-mf { stroke: color-mix(in srgb, var(--mf) var(--lmix, 100%), var(--bg)); }
.bm-tk { position: absolute; font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--ink); }
.bm[data-filter] .bm-tk { opacity: .35; }
.bm-dsec { border-right-color: var(--muted); }
:root[data-theme="dark"] .bm-line.bm-ts { stroke: color-mix(in srgb, var(--ts) calc(var(--lmix, 75%) + 25%), var(--bg)); }
:root[data-theme="dark"] .bm-line.bm-mf { stroke: color-mix(in srgb, var(--mf) calc(var(--lmix, 75%) + 25%), var(--bg)); }
@media (max-width: 640px) {
  .bm-tk { font-size: 13px; }
}
.bm-box::before { display: none; }
.bm-box { padding: 10px 12px; justify-content: flex-start; }
.bm-dsec { border-right: none; }
.bm-frame { margin-left: 0 !important; }
.bm-dsec { justify-content: flex-end; align-items: center; padding-right: 12px; border-right: 2px solid var(--hair-2); }
.bm-dh { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.bm-tk { font-size: 14px; font-weight: 600; line-height: 1.3; }
.bm-tk-ts { color: var(--ts); }
.bm-tk-mf { color: var(--mf); }
.bm-tk-gen { color: var(--gen); }
.bm-box { padding: 9px 11px; }
@media (max-width: 640px) {
  .bm-dh { font-size: 13px; }
  .bm-dsec { padding-right: 8px; }
  .bm-tk { font-size: 13px; }
}
.bm-dsec { border-right: none !important; border: 0; justify-content: flex-end; align-items: center; padding-right: 14px; }
.bm-dstrip { background: var(--bg); }
.bm-tk { position: absolute; font-size: 14px; font-weight: 600; line-height: 1.3; background: var(--bg); padding: 0 4px; z-index: 2; }
@media (max-width: 640px) {
  .bm-dsec { padding-right: 10px; }
}
.bm-box::before { display: block; width: 4px; }
.bm-box { padding: 9px 11px 9px 15px; }
.bm-sep { position: absolute; left: 0; height: 0; border-top: 2px solid #5f6977; z-index: 4; pointer-events: none; }
.bm-dstrip.is-scrolled { box-shadow: none; }
.bm-dstrip.is-scrolled::after { content: ""; position: absolute; top: 30px; bottom: 0; right: -60px; width: 60px; pointer-events: none; background: linear-gradient(to right, var(--bg) 0, var(--bg) 24px, transparent 60px); }
.bm-tk { transition: opacity .15s; z-index: 5; }
.bm-box { transition: opacity .15s; }
:root[data-theme="dark"] .bm-sep { border-color: #7a8494; }
.bm-yr-dash { stroke: var(--hair-2); stroke-width: 1; stroke-dasharray: 4 4; }
.bm-dsec { justify-content: flex-start; }
.bm-dsec .bm-dh { text-align: left; }
.bm-c { display: block; font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--ink); }
.bm-c .bm-n { font-weight: 600; margin-right: 6px; }
.bm-box { justify-content: center; }
@media (min-width: 641px) {
  .bm-c { font-size: 15px; font-weight: 500; line-height: 1.4; }
  .bm-c .bm-n { font-weight: 700; }
}
@media (min-width: 641px) {
  .bm-dh { font-size: 19px; font-weight: 700; line-height: 1.25; }
}
@media (min-width: 641px) {
  .bm-dh { color: var(--muted); }
}
@media (min-width: 641px) {
  :root { --col: 728px; }
  main h2 { font-size: 20px; font-weight: 600; letter-spacing: 0; }
}
@media (min-width: 641px) {
  :root { --col: 1198px; }
}
