:root{font-family:system-ui,sans-serif;background:#eef3ef;color:#102e29;color-scheme:light}
*{box-sizing:border-box}body{margin:0}main{max-width:960px;margin:auto;padding:30px 20px 70px}
header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b9cfc5;padding-bottom:16px;font-weight:700}
h1{font-size:clamp(2.5rem,8vw,4.5rem);letter-spacing:-.065em;margin:32px 0 12px}h2{margin-top:0;letter-spacing:-.03em}
section{background:white;padding:24px;border:1px solid #d7e3dc;border-radius:14px;margin:16px 0}
button,a{color:#075a48}button{font:inherit;font-weight:600;padding:8px 14px;border:1px solid #7ea99d;border-radius:7px;background:#ecf8f1;cursor:pointer}
button:disabled{opacity:.45;cursor:default}input{font:inherit}input:not([type=checkbox]){display:block;margin:6px 0 14px;max-width:100%;padding:8px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}progress{width:100%;accent-color:#078169}
#preview{position:relative;aspect-ratio:16/9;background:#12241f;width:min(100%,640px)}video,#overlay{position:absolute;width:100%;height:100%;inset:0}
#overlay{pointer-events:none}#overlay.active{pointer-events:auto;cursor:crosshair}#overlay line{stroke:#4cf4b1;stroke-width:2px;vector-effect:non-scaling-stroke}
table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:9px;border-bottom:1px solid #d7e3dc}article{border-top:1px solid #d7e3dc;padding:12px 0;overflow-wrap:anywhere}
#notice{color:#075a48;min-height:1.4em}#chart svg{max-width:100%;height:auto}
[hidden]{display:none!important}
