*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:auto}body{margin:0;background:#f4f7f8;color:#182e39;font:1.08rem/1.75 system-ui,sans-serif;overflow-wrap:anywhere}header,footer{padding:1.3rem max(1rem,calc((100% - 74rem)/2));background:#143846;color:#fff}header a,footer a{color:#fff}header>a{font-weight:750;font-size:1.3rem}nav{font-size:.95rem;margin-top:.5rem}main{max-width:76rem;margin:auto;padding:2rem 1.25rem}article{max-width:54rem;margin:auto;background:#fff;padding:clamp(1rem,4vw,3rem);border-radius:1rem}h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.18;letter-spacing:-.025em}h2{font-size:1.6rem;line-height:1.3;margin-top:2.7rem}h3{font-size:1.15rem;line-height:1.45;margin-top:2rem}a{color:#075d79;text-underline-offset:.16em}a:hover{text-decoration-thickness:3px}:focus-visible{outline:3px solid #b44d00;outline-offset:4px}.skip{position:absolute;left:1rem;top:-8rem;background:white;padding:.6rem;z-index:2}.skip:focus{top:1rem}.table-scroll{max-width:100%;overflow:auto;margin:1.5rem 0;border:1px solid #b9cbd0;border-radius:.4rem}table{border-collapse:collapse;min-width:36rem;width:100%;font-size:.95rem}caption{text-align:left;padding:.8rem;font-weight:750;background:#eaf3f4}th,td{text-align:left;vertical-align:top;padding:.8rem;border-bottom:1px solid #cbd9dd}thead{background:#edf3f6}tbody th{width:28%}figure{margin:2rem 0;background:#eef6f6;padding:1rem;border-radius:.7rem}figure img{display:block;width:100%;height:auto}figcaption{font-size:.92rem;margin-top:.7rem}.tool{padding:1.25rem;background:#edf5f7;border:1px solid #9eb9c1;border-radius:.6rem;margin:1.5rem 0}.tool label{display:block;font-weight:650;margin-top:1rem}.tool select{display:block;width:100%;max-width:100%;font:inherit;padding:.6rem;background:#fff;color:#182e39;border:1px solid #607d88;border-radius:.3rem}.buttons{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.2rem}button{font:inherit;min-height:44px;padding:.55rem .9rem;border:1px solid #185164;border-radius:.35rem;background:#185164;color:#fff;cursor:pointer}.result{background:white;padding:1rem;border-left:4px solid #19667b;margin-top:1rem}aside{max-width:54rem;margin:2rem auto;font-size:.95rem}noscript p{border:2px solid #7b4d12;padding:1rem}@media(max-width:400px){main{padding:1rem .6rem}article{padding:1rem}h2{font-size:1.4rem}.tool{padding:.8rem}}@media print{header,footer,.buttons{display:none}body{background:white}article{padding:0}}
/* Preserve diagram label readability without page-wide overflow. */
.diagram-scroll{max-width:100%;overflow:auto}.diagram-scroll img{min-width:640px}.diagram-hint{display:block;font-weight:650;margin-bottom:.4rem}@media print{.diagram-scroll img{min-width:0}.diagram-hint{display:none}}

/* Full keyboard/no-JS access without engine-dependent overflow scrolling. */
.diagram-text{margin-top:1rem}.diagram-text summary{cursor:pointer;min-height:44px;padding:.5rem 0;font-weight:650}
@media(max-width:600px){.table-scroll{overflow:visible}table{min-width:0;display:block}thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}tbody,tr,th,td{display:block;width:100%}tbody th{width:100%;background:#edf3f6}td::before,tbody th::before{content:attr(data-label) ": ";font-weight:700}tr+tr{border-top:2px solid #607d88}caption{display:block}}
