:root{font-family:system-ui,-apple-system,sans-serif;color:#12281f;background:#eef2ee;color-scheme:light;--green:#155a40;--ink:#10281e;--muted:#456054;--border:#d5e0d8}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
.wrap{width:min(100% - 32px,620px);margin-inline:auto}
header{background:var(--ink);color:white;padding:27px 0 38px;border-bottom:4px solid #9ed47e}
header p{margin:7px 0 0;color:#d3e3d8}
.brand,.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.brand{color:#cbefae}.brand span{margin-inline:.35em}
h1{font-size:clamp(2rem,7vw,3rem);line-height:1.04;margin:12px 0 0;letter-spacing:-.045em}
main{padding:18px 0 36px}
.card,.summary{padding:19px;background:#fff;border:1px solid var(--border);border-radius:18px;margin-bottom:13px}
.eyebrow{color:#416754;margin:0 0 7px}
h2{margin:0 0 15px;font-size:1.42rem;letter-spacing:-.025em}
label{display:block;font-size:.91rem;font-weight:700;margin:0 0 5px}
label span,.hint,.footer{color:var(--muted);font-weight:400;font-size:.88rem}
input:not([type=checkbox]){width:100%;min-height:48px;padding:10px 12px;border:1px solid #a8bcaf;background:#fafcfa;border-radius:10px;font:inherit;color:inherit;margin-bottom:13px}
button{min-height:46px;cursor:pointer;border-radius:10px;padding:8px 13px;border:1px solid transparent;font:inherit;font-weight:750}
button:disabled{opacity:.45;cursor:default}
.primary{width:100%;background:var(--green);color:white}
.secondary{background:#e4f0e7;color:var(--ink);border-color:#c7dacb}
.quiet{color:var(--green);background:transparent;text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:3px solid #548726;outline-offset:2px}
#entry{margin-top:14px}
.summary,.actions,li{display:flex;align-items:center;justify-content:space-between;gap:8px}
.summary{padding:11px 15px}
.summary strong{display:block;overflow-wrap:anywhere}
.badge{background:#dcefe1;border-radius:30px;padding:5px 10px;font-size:.8rem;font-weight:750;white-space:nowrap}
.viewfinder{position:relative;overflow:hidden;background:#15251c;border-radius:12px}
video{width:100%;max-height:275px;display:block;object-fit:contain}
.target{position:absolute;inset:25% 9%;border:2px solid #b7ee95;border-radius:9px;pointer-events:none}
.status{padding:9px 13px;background:#ddf0e0;border-radius:10px;font-size:.9rem}
ul{list-style:none;padding:0;margin:0;max-height:340px;overflow:auto}
li{border-bottom:1px solid var(--border);padding:4px 0;flex-wrap:wrap}
li span{overflow-wrap:anywhere;flex:1 1 120px}
li button{font-size:.85rem;padding-inline:5px}
.finish{display:flex;align-items:center;gap:9px;min-height:46px;margin:9px 0 0}
.finish input{width:22px;height:22px;accent-color:var(--green)}
.actions>*{flex:1}
.footer{margin:14px 4px}

.export-actions{align-items:stretch;flex-wrap:wrap}
.export-actions>div{flex:1 1 190px;display:grid;gap:6px;align-content:start}
.export-link{display:grid;place-items:center;min-height:46px;text-align:center;border:1px solid transparent;border-radius:10px;padding:8px 13px;font-weight:750;text-decoration:none}

.new-lot-prompt{margin-top:8px;padding:13px;border:1px solid var(--border);border-radius:12px;background:#f5f8f5}
.new-lot-prompt h3{font-size:1rem;margin:0}
.new-lot-prompt p{font-size:.9rem;margin:7px 0 10px;color:var(--muted)}
