:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#182d2a;background:#f5f5ef;font-synthesis:none;line-height:1.6;--green: #176451;--muted: #56675e;--line: #d8ded5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,summary{cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:not-allowed;opacity:.5}[hidden]{display:none!important}::selection{background:#cfe9db;color:#15382e}:focus-visible{outline:3px solid #287f69;outline-offset:4px}input{accent-color:var(--green)}header{max-width:1380px;margin:auto;padding:24px 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:.03em}.brand-icon{background:var(--green);color:#fff;border-radius:6px;width:37px;height:37px;text-align:center;font-size:28px;line-height:37px}.device{font-size:13px;color:var(--green)}main{max-width:1380px;margin:auto;padding:0 5vw}.intro{padding:36px 0 26px}h1{font-size:clamp(30px,3vw,42px);line-height:1.15;letter-spacing:-.03em;margin:0;font-weight:650}.intro p{margin:12px 0 0;color:var(--muted);font-size:16px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.viewer{background:#111e24;color:#d4dedb;border-radius:12px;overflow:hidden;min-width:0}.viewer-bar,.viewer-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;min-height:54px;font-size:12px;color:#bac8c8}.viewer-bar{border-bottom:1px solid #354348}.viewer-foot{border-top:1px solid #354348}#file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dimensions{white-space:nowrap}.stage{min-height:460px;display:flex;justify-content:center;align-items:center;padding:22px}#empty{text-align:center;padding:24px 0;color:#bdcdcb}#empty h2{color:#f1f5f2;font-size:24px;font-weight:550;margin:18px 0 8px}#empty p{font-size:14px;margin:0 0 24px}#empty small{display:block;margin-top:20px;font-size:12px;line-height:1.8}.primary,.secondary{border:0;border-radius:7px;padding:13px 20px;min-height:48px;font-weight:600;font-size:15px}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#104c3d}.stage .primary{background:#cfe9db;color:#173c30}.stage .primary:hover{background:#e4f3ea}.quiet{border:0;background:transparent;color:inherit;padding:10px 0;min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.secondary{background:#e7eee9;color:#173c30;width:100%;font-size:13px}#image-stack{position:relative;max-width:100%;line-height:0}#original{display:block;max-width:100%;max-height:65vh;object-fit:contain;width:auto;height:auto}#overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px}.panel h2{font-size:21px;margin:0 0 16px;line-height:1.3;letter-spacing:-.02em}.bone-choice{border:0;padding:0;margin:0}.structure{display:flex;align-items:center;gap:10px;padding:12px 0;cursor:pointer;font-size:15px}.structure input{width:19px;height:19px;flex-shrink:0}.bone-choice .structure+.structure{border-top:1px solid #eef1ed}.bone-choice .structure:has(input:checked){color:var(--green);font-weight:650}.muted{font-size:13px;color:var(--muted);line-height:1.7}.run{width:100%;margin-top:10px}.advanced{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;font-size:13px;color:var(--muted)}summary{min-height:28px;font-weight:550}details[open]>summary{margin-bottom:12px}.runtime-label{display:block;margin:12px 0 6px;font-size:13px}#runtime{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#182d2a}.results{margin-top:20px;background:#eef3ee}.result-label{font-size:13px;color:var(--muted);margin:0 0 10px}.results h2{font-size:28px;margin:0 0 10px}.results h2[data-result=positive]{color:#9d352d}.results h2[data-result=negative]{color:#176451}.results .muted{margin:0}.results details{margin-top:20px;font-size:13px}.results details p{margin:12px 0}.range-label{display:flex;justify-content:space-between;font-size:13px;margin:16px 0 8px}#opacity{width:100%;margin-bottom:16px}#status{font-size:13px;margin:14px 0 0;color:var(--muted)}#status.error,.cache-warning{color:#9d352d}.cache-warning{font-size:13px}progress{width:100%;margin-top:14px;accent-color:var(--green)}.research-note{margin:26px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.research-note p{max-width:75ch}footer{display:flex;justify-content:space-between;gap:20px;padding:0 0 28px;font-size:12px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){.workspace{grid-template-columns:1fr;gap:20px}.stage{min-height:300px}.intro{padding-top:26px}.intro p{font-size:14px}.viewer-bar,.viewer-foot{padding:12px 14px}.viewer-foot{flex-wrap:wrap}header{padding-top:18px;padding-bottom:18px}.device{font-size:11px;max-width:140px;text-align:right}.panel{padding:20px}.results{margin-top:16px}.research-note{margin-top:20px}#original{max-height:50vh}}
