:root { color-scheme: light; --ink: #202d3b; --muted: #5e6d7d; --line: #dce3ea; --accent: #16657b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f6f8fa; font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { width: min(1080px, calc(100% - 48px)); margin: auto; }
header { padding: 64px 0 32px; border-bottom: 1px solid var(--line); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.025em; }
h1 { max-width: 900px; font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 24px; }
h2 { font-size: 1.8rem; margin: 0 0 24px; }
h3 { font-size: 1.25rem; margin: 0 0 18px; }
h4 { margin-bottom: 16px; }
p { margin: 0 0 20px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #0b4453; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 8px 24px; padding: 0; margin: 24px 0 0; font-size: .9rem; }
section { margin: 56px 0; scroll-margin-top: 24px; }
article { background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 32px); margin: 24px 0; }
.part-label { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.gallery { display: grid; gap: 24px; align-items: start; margin: 24px 0; }
.gallery-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-single { max-width: 420px; margin-inline: auto; }
.gallery-wide { max-width: 900px; margin-inline: auto; }
figure { margin: 0; min-width: 0; }
figure a { display: block; }
img { display: block; max-width: 100%; width: 100%; height: auto; max-height: 430px; object-fit: contain; border-radius: 6px; }
.gallery-wide img { max-height: none; }
figcaption { text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 12px; }
.note, small { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f1f5f8; font-weight: 600; }
.pending { color: #825309; background: #fff4dc; padding: 3px 7px; border-radius: 4px; }
details { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
summary { cursor: pointer; font-weight: 600; color: var(--accent); }
code { font-size: .85em; background: #eef2f5; padding: 2px 5px; border-radius: 4px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .85rem; }
@media (max-width: 600px) { main { width: calc(100% - 28px); } header { padding-top: 36px; } .gallery-pair { grid-template-columns: 1fr; } th, td { padding: 10px; } section { margin: 40px 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { body { background: white; font-size: 11pt; } main { width: 100%; } nav { display: none; } article { break-inside: avoid; } }
