:root{color-scheme:light;--ink:#1c2d48;--muted:#526276;--line:#dce3ec;--paper:#fff;--wash:#f4f7fb;--accent:#315cab;--good:#1b6a48;--bad:#a32828;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:var(--ink)}header,main,footer{max-width:1680px;margin:auto;padding:0 26px}header{padding-top:25px;padding-bottom:16px}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:750;color:#415978;margin-bottom:13px}.eyebrow span{margin-left:18px;color:var(--muted);font-weight:500}.heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}h1{font-size:clamp(20px,2vw,28px);letter-spacing:-.035em;line-height:1.25;margin:0}h1 span{font-weight:500;letter-spacing:-.02em}h2{font-size:18px;line-height:1.35;font-weight:640;margin:3px 0 0;letter-spacing:-.025em}h3{font-size:14px;line-height:1.5;margin:0 0 8px}p{line-height:1.55}.intro{font-size:13px;color:var(--muted);margin:11px 0 0;max-width:1110px}.help-link{font-size:12px;white-space:nowrap}a{color:#2b559d;text-decoration-thickness:1px;text-underline-offset:3px}button,select,input{font:inherit;color:var(--ink)}button,select{border:1px solid #b6c3d5;background:white;border-radius:5px;min-height:34px;padding:6px 10px}button{cursor:pointer;white-space:nowrap}button:hover:not(:disabled){border-color:var(--accent);background:#eef3fc}button:disabled,select:disabled{opacity:.48;cursor:not-allowed}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button.primary:hover:not(:disabled){background:#234b93}select{padding-right:22px;max-width:100%}:focus-visible{outline:3px solid #d1812c;outline-offset:3px}.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 13px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:white}.toolbar label:not(.check){display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:650}.toolbar label select{font-size:13px;font-weight:450}.toolbar .check{min-height:34px;display:flex;align-items:center;font-size:12px}.check{display:inline-flex;align-items:center;gap:5px;font-size:12px}.check input{accent-color:var(--accent)}.toolbar-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.toolbar-actions button{font-size:12px}.step-buttons{display:flex;gap:3px}.step-buttons button{font-size:16px;padding:2px 10px}.tile-control{min-width:120px}.statusbar{display:flex;gap:10px 22px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted);min-height:44px;padding:8px 3px}.statusbar #atlas-status{font-weight:600;color:var(--ink)}.statusbar #runtime-status{margin-left:auto}.statusbar button{min-height:24px;font-size:11px;padding:2px 7px}.top-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;margin-top:16px}.panel{background:white;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 19px 0}.kicker{font-size:10px;letter-spacing:.12em;font-weight:650;color:#62738c}.caption{font-size:12px;color:var(--muted);margin:9px 19px 0}.tag{display:inline-block;border:1px solid #d6e1ef;background:#f4f7fc;color:#40597e;white-space:nowrap;font-size:10px;font-weight:600;border-radius:4px;padding:4px 6px}.plot{width:100%;min-width:0}.top-plot{height:380px}.atlas-plot{height:450px}.ladder-plot{height:340px}.panel-foot{font-size:11px;color:var(--muted);line-height:1.6;border-top:1px solid #edf0f4;margin:0;padding:11px 19px;background:#fbfcfe}.matrix-footer{border-top:1px solid #edf0f4;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 19px;font-size:11px;background:#fbfcfe}.matrix-footer span{color:var(--good);font-weight:650}.compact-label{font-size:11px;display:flex;align-items:center;gap:6px}.compact-label select{font-size:11px;min-height:28px}.details{padding:12px 19px 0;font-size:12px;line-height:1.7}.detail-line{margin:4px 0;overflow-wrap:anywhere}.detail-line strong{font-weight:640}.mono,code{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:.95em}.row-formula{padding:3px 0;overflow-wrap:anywhere}.ladder-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f4;margin:13px 19px 0;padding-top:12px}.subtle{font-size:10px;color:var(--muted)}.neighbor-buttons{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.neighbor-buttons button{padding:3px 7px;min-height:27px;font-size:11px}.weights-panel,.exact-panel{margin-top:16px}.weight-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;padding:15px 19px 18px}.weight-row{display:flex;gap:10px;margin-bottom:9px;align-items:center;flex-wrap:wrap}.weight-row>span{width:29px;font-weight:600;font-size:12px}.weight-row label{font-size:11px;color:var(--muted);display:flex;gap:6px;align-items:center}.weight-row input{width:88px;min-width:0;border:1px solid #b8c5d6;border-radius:4px;padding:6px 8px;font-family:ui-monospace,monospace}.weight-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.weight-actions button{font-size:12px}.weight-grid .caption{margin:12px 0 0}.certificate{border-left:3px solid #519374;background:#f5faf7;padding:13px 17px;font-size:12px;color:#2c4b3a;line-height:1.6}.certificate h3{color:var(--good)}.certificate p{margin:7px 0 0}.exact-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:18px 19px 22px}.exact-grid>.table-scroll{overflow:auto;max-height:330px}.exact-grid>div{min-width:0}.exact-grid .caption{margin:12px 0 0}table{border-collapse:collapse;width:100%;font-size:12px}th{position:sticky;top:0;background:#eef3fa;text-align:left;color:#405978;font-weight:600}th,td{padding:8px 10px;border-bottom:1px solid #e6ecf3}td{overflow-wrap:anywhere;max-width:260px;font-variant-numeric:tabular-nums}td:first-child{white-space:nowrap}#necklace{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px}#necklace span{padding:5px 8px;background:#f4f7fb;border:1px solid #e0e6ee;border-radius:4px;font-family:ui-monospace,monospace;font-size:11px}.check-item{font-size:12px;line-height:1.9;color:var(--good)}.check-item.fail{color:var(--bad)}.message{padding:12px 16px;background:#fff5e5;border:1px solid #edd1a1;border-radius:6px;margin:5px 0 16px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.skip{position:absolute;left:20px;top:-60px;padding:10px;background:white;z-index:100}.skip:focus{top:5px}footer{display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;color:var(--muted);font-size:11px;padding-top:22px;padding-bottom:30px}footer nav{display:flex;flex-wrap:wrap;gap:14px}#activity{width:100%;min-height:16px}.guide{max-width:950px;background:white;margin:20px auto;border:1px solid var(--line);border-radius:8px;padding:25px}.guide h2{margin-top:28px}.guide pre{overflow:auto;background:#f4f7fb;padding:15px}.guide li{margin-bottom:8px;line-height:1.55}[hidden]{display:none!important}
@media(min-width:1550px){.top-plot{height:415px}.atlas-plot{height:500px}.ladder-plot{height:380px}}
@media(max-width:1000px){header,main,footer{padding-left:15px;padding-right:15px}.heading{display:block}.help-link{display:inline-block;margin-top:10px}.toolbar-actions{margin-left:0}.bottom-grid{grid-template-columns:1fr 1fr}.weight-grid{gap:18px}.tag{white-space:normal;text-align:right}.weight-row label{gap:3px}.weight-row input{width:64px}.top-plot{height:330px}}
@media(max-width:720px){header{padding-top:17px}.eyebrow span{display:none}h1 span{display:block;margin-top:5px}.top-grid,.bottom-grid,.weight-grid,.exact-grid{grid-template-columns:1fr}.toolbar{gap:9px;padding:11px}.toolbar-actions{width:100%}.statusbar #runtime-status{margin-left:0;width:100%}.panel-head{padding:15px 14px 0}.caption{margin-left:14px;margin-right:14px}.top-plot{height:330px}.atlas-plot{height:390px}.ladder-plot{height:340px}.weight-grid,.exact-grid{padding-left:14px;padding-right:14px}.weight-row input{width:70px}.weights-panel .panel-head,.exact-panel .panel-head{align-items:flex-start;flex-wrap:wrap}.details{padding-left:14px;padding-right:14px}.matrix-footer{padding-left:14px;padding-right:14px}.guide{margin:12px;padding:18px}.intro{font-size:12px}.panel-foot{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v0.2: native SVG, source aspect ratio; no Plotly smoothing of trip paths. */
.ladder-head{align-items:flex-start;flex-wrap:wrap;gap:6px}.plabic-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:13px 19px 0;font-size:11px}.plabic-controls button{font-size:11px;min-height:29px;padding:4px 8px;margin-left:auto}.strand-status{min-height:1.5em;line-height:1.6;font-size:11px}.ladder-svg-host{width:100%;min-width:0;padding:10px 12px 12px}.plabic-svg{display:block;width:100%;height:auto;max-height:800px}.plabic-strand{cursor:pointer}.plabic-strand:focus{outline:none}.plabic-strand:focus path:first-of-type{stroke-width:4.2;stroke-opacity:1}.plabic-strand:hover path:first-of-type{stroke-opacity:1;stroke-width:3.5}@media(max-width:720px){.plabic-controls{margin-left:14px;margin-right:14px}.ladder-svg-host{padding:7px}.plabic-controls .check{font-size:11px}}
