:root{--ink:#13231b;--muted:#65736b;--line:#d9e5dd;--green:#157347;--green-dark:#0e5635;--surface:#fff;--canvas:#f4f8f5}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 0 0,#dff3e7 0,transparent 32rem),var(--canvas);place-items:center;margin:0;padding:28px 16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:grid}main{width:min(100%,720px)}header{margin-bottom:28px}.eyebrow{color:var(--green);letter-spacing:.11em;text-transform:uppercase;margin:0 0 12px;font-size:.78rem;font-weight:800}h1{letter-spacing:-.04em;max-width:640px;margin:0;font-size:clamp(2rem,6vw,3.45rem);line-height:1}.intro{color:var(--muted);max-width:630px;margin:18px 0 0;font-size:1.05rem;line-height:1.55}form{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 20px 50px #13231b14}.photo-import{background:#f5fbf7;border:1px solid #cfe3d5;border-radius:14px;margin-bottom:24px;padding:18px}.section-kicker{color:var(--green);letter-spacing:.1em;text-transform:uppercase;margin:0 0 5px;font-size:.73rem;font-weight:800}.photo-import h2{margin:0 0 5px;font-size:1.15rem}.photo-import p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.photo-actions{gap:9px;margin-top:15px;display:flex}.secondary-button{min-height:43px;color:var(--green-dark);cursor:pointer;background:#fff;border:1px solid #a9c8b4;border-radius:9px;justify-content:center;align-items:center;padding:0 14px;font-size:.88rem;font-weight:700;display:inline-flex}.secondary-button:hover{background:#eaf6ee}.secondary-button input{display:none}.photo-preview{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:12px;margin-top:14px;padding:9px;display:flex}.photo-preview img{object-fit:cover;border-radius:7px;width:58px;height:58px}.photo-preview strong,.photo-preview small{display:block}.photo-preview small{margin-top:3px}.remove-photo{color:#a33;background:0 0;border:1px solid #e5b8b8;width:auto;min-height:34px;margin-left:auto;padding:0 10px;font-size:.75rem}.remove-photo:hover{background:#fff2f2}.privacy-note{margin-top:12px}.inline-error{color:#a33!important;margin-top:12px!important}.ocr-summary{color:var(--green-dark);background:#e8f6ec;border-radius:8px;gap:3px;margin-top:12px;padding:10px;font-size:.86rem;display:grid}.ocr-summary span{color:var(--muted);font-size:.8rem}.mini-spinner{border:2px solid #d7e9dc;border-top-color:var(--green);border-radius:50%;width:16px;height:16px;margin-top:6px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}label{margin:0 0 8px;font-size:.9rem;font-weight:750;display:block}label span{color:var(--muted);font-weight:500}input{width:100%;min-height:52px;font:inherit;color:var(--ink);border:1px solid #bfcfc5;border-radius:10px;outline:none;padding:0 15px}input:focus{border-color:var(--green);box-shadow:0 0 0 4px #15734721}.field{margin:0 0 20px}small{color:var(--muted);margin-top:7px;font-size:.83rem;line-height:1.4;display:block}button{cursor:pointer;background:var(--green);color:#fff;border:0;border-radius:10px;width:100%;min-height:54px;padding:0 18px;font:700 1rem inherit;transition:background .15s,transform .15s}button:hover{background:var(--green-dark)}button:disabled{cursor:wait;opacity:.7}.progress{margin:22px 0 0}.progress-head{color:var(--muted);justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.84rem;display:flex}.track{background:#e5eee8;border-radius:99px;height:9px;overflow:hidden}.bar{border-radius:inherit;background:linear-gradient(90deg,#14824e,#59b77a);height:100%;transition:width .45s}.steps{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.steps li{color:var(--muted);align-items:center;gap:9px;font-size:.87rem;display:flex}.steps li:before{content:"";border:2px solid #aabbb0;border-radius:50%;flex:0 0 9px;width:9px;height:9px}.steps li.active{color:var(--ink);font-weight:700}.steps li.active:before,.steps li.done:before{border-color:var(--green);background:var(--green)}.steps li.done{color:#0d5c38}.result{border-radius:12px;margin:20px 0 0;padding:17px;font-size:.94rem;line-height:1.5}.result.success{color:#0b4d30;background:#e3f5e9;border:1px solid #b9e3c7}.result.error{color:#7e1d1d;background:#fdeaea;border:1px solid #f1c2c2}.result div{margin-top:7px}.details-button{background:#235e3c;width:auto;min-height:34px;margin:13px 0 0;padding:0 12px;font-size:.8rem}pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#143423;background:#f0f6f2;border:1px solid #cae0d1;border-radius:10px;max-height:390px;margin:14px 0 0;padding:15px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}footer{color:var(--muted);text-align:center;margin:18px 0 0;font-size:.79rem}@media (width<=600px){form{padding:20px}}
