:root{--ink:#19384b;--muted:#617b8b;--line:#dbe4e8;--accent:#176568;--paper:#f4f7f8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}header{height:88px;padding:0 max(24px,calc((100vw - 1350px)/2));display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;gap:13px;font-size:24px;font-weight:700;align-items:center;letter-spacing:-.7px}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.mark{background:var(--ink);color:white;border-radius:10px;width:44px;height:44px;text-align:center;font-size:30px;line-height:43px}.mark span{color:#9bc9c4}main{max-width:1350px;margin:auto;padding:34px 24px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--accent)}h1{font-size:34px;font-weight:650;letter-spacing:-1px;margin:8px 0}p{margin:8px 0 16px}.intro>p{color:var(--muted);margin-bottom:30px}.layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px;box-shadow:0 2px 4px #19384b03}h2{font-size:15px;font-weight:650;margin:0 0 18px}h2>span{font-size:10px;color:#839aa7;margin-right:10px;font-weight:700}.panelhead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.panelhead h2{margin:0}.badge{font-size:10px;letter-spacing:.4px;border:1px solid #bdd8d6;background:#edf7f5;color:var(--accent);padding:6px 10px;border-radius:5px}.subtle{background:#f4f7f8;color:var(--muted);border-color:var(--line)}label{display:block;color:#435e6e;font-size:12px;margin:12px 0 6px}.labelrow{display:flex;justify-content:space-between;align-items:center}.labelrow>span{font-size:11px;color:var(--muted)}input[type=number],select{font:inherit;width:100%;border:1px solid #cddae1;border-radius:6px;background:#fcfdfe;padding:10px 12px;color:var(--ink);height:42px}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #75b4b1;outline-offset:2px}input[type=range]{width:100%;accent-color:var(--accent);margin:14px 0 0}.range-label{display:flex;justify-content:space-between;color:#8296a2;font-size:10px}.note,details p{color:var(--muted);font-size:11px;line-height:1.7}.note{margin:14px 0 0}details{border-top:1px solid #edf0f2;margin-top:16px;padding-top:12px;color:var(--muted);font-size:11px}summary{cursor:pointer;font-weight:550}#properties{line-height:1.9;margin-top:10px}.segmented{display:flex;background:#f1f5f6;border-radius:7px;padding:3px;gap:4px}.segmented label{flex:1;margin:0;text-align:center;padding:8px 0;border-radius:5px;cursor:pointer}.segmented input{position:absolute;opacity:0}.segmented label:has(input:checked){background:white;box-shadow:0 1px 3px #0002;color:var(--accent)}button,.button{border:1px solid #cddae1;border-radius:6px;padding:10px 13px;background:white;font:600 11px system-ui;color:var(--ink);cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#eef5f4}button:disabled,.disabled{opacity:.45;pointer-events:none}.primary{width:100%;margin-top:18px;background:var(--accent);border-color:var(--accent);color:white;font-size:12px;padding:14px;text-align:left;display:flex;justify-content:space-between}.primary:hover{background:#114c4e}.primary span{font-size:17px}#cancel{width:100%;margin-top:8px;color:#9d4437}.small{border:none;padding:5px 8px;color:var(--muted);font-size:10px}.geometry svg{width:100%;height:125px;margin-top:8px}.geometry text{font:11px system-ui;fill:#617b8b}.progress{height:3px;background:#edf2f4;border-radius:2px;overflow:hidden;margin:14px 0 22px}.progress div{height:100%;background:#459d99;width:0;transition:width .4s}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stats>div{border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats small{display:block;font-size:10px;color:var(--muted)}.stats strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.5px;margin-top:6px}.stats strong span{font-size:12px;letter-spacing:0;color:var(--muted)}.chart-card{padding-bottom:14px}.chartunit{font-size:10px;color:var(--muted)}canvas{display:block;width:100%;height:220px}.chartfooter{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);gap:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions label{margin:0}#legend{display:flex;flex-wrap:wrap;gap:16px;margin:0 4px 18px;font-size:11px}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.history-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf0f2;gap:10px}.history-item button{text-align:left;border:0;padding:0;font-weight:500}.history-item small{color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.7 ui-monospace,monospace}#error{font-size:12px;color:#a54232}#comparisons{font-size:12px;margin-top:14px}.pass{color:#167577}.fail{color:#a54232}footer{color:#8296a2;font-size:10px;margin-top:20px;padding:10px 0;border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:950px){.layout{grid-template-columns:285px minmax(0,1fr)}.card{padding:16px}.stats strong{font-size:19px}}@media(max-width:720px){header{padding:16px;height:auto}.brand{font-size:21px}main{padding:25px 16px}.layout{display:block}h1{font-size:28px}.results{margin-top:24px}canvas{height:200px}header>.badge{max-width:160px}.stats strong{font-size:18px}}
