:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#203c36;background:#f5f6f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{max-width:1120px;margin:auto;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dfe5db}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:19px;font-weight:750}.logo{background:#174f46;color:#fff;padding:6px 12px;border-radius:12px;font-size:26px}.badge{background:#e9eee5;padding:6px 11px;border-radius:20px;font-size:12px;white-space:nowrap}main{max-width:1120px;margin:auto;padding:42px 30px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:750;color:#647a66}h1{font-size:clamp(32px,5vw,49px);line-height:1.12;letter-spacing:-1.6px;margin:16px 0}p{line-height:1.6}.intro>p{color:#63746c;max-width:500px;margin-bottom:30px}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}.card{padding:26px;border:1px solid #dee5dc;background:#fff;border-radius:20px;margin-bottom:22px;box-shadow:0 4px 20px #203c3603}h2{font-size:19px;line-height:1.4;margin:0 0 18px}h3{font-size:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.section-title h2{margin:0}.step{font-size:12px;border:1px solid #cdd9cb;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;margin-right:8px}.empty{text-align:center;border:1px dashed #cdd8c9;border-radius:14px;padding:25px 12px;margin-bottom:20px;background:#fafbf8}.empty p{font-size:14px;color:#6b7b72}.paper-icon{font-size:46px;color:#739a7e}.actions{display:flex;gap:10px;flex-wrap:wrap}button{font:inherit;font-size:14px;font-weight:650;border:1px solid #ccd8cd;border-radius:11px;background:#fff;color:#244b40;min-height:46px;padding:11px 17px;cursor:pointer}button:hover{background:#eff4ed}button:disabled{opacity:.5;cursor:default}.primary{background:#174f46;color:white;border-color:#174f46}.primary:hover{background:#246659}.wide{width:100%;margin-top:8px}.hint,.muted{font-size:13px;color:#68786e}.hint{margin-bottom:0}.text-button{border:0;padding-left:0;font-size:12px}label{display:block;font-size:14px;margin:15px 0 8px;font-weight:600}input:not([type=checkbox]):not([type=range]):not([type=file]){width:100%;min-width:0;border:1px solid #ccd7cc;border-radius:10px;padding:13px;font:inherit;background:#fcfdfb;color:#203c36}input:focus,button:focus-visible{outline:3px solid #a5c9b8;outline-offset:2px}.destination{background:#edf3e9}.destination h2{margin-top:12px}.tip{display:flex;gap:16px;background:#f2eddf;border-radius:16px;padding:22px;margin-bottom:22px}.tip>span{font-size:26px}.tip p{font-size:13px;margin:7px 0 0;color:#746d57}.pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.page{border:1px solid #dfe5dc;border-radius:12px;padding:8px}.page img{width:100%;height:170px;object-fit:contain;background:#eff1eb;border-radius:7px}.page .actions{gap:5px;margin-top:7px}.page button{padding:7px;min-width:40px;font-size:12px}.page strong{font-size:12px}.doc{border-top:1px solid #e1e7df;padding:17px 0;overflow-wrap:anywhere}.doc h3{font-size:14px;margin:0 0 5px}.doc .actions{margin-top:9px;gap:6px}.doc button{font-size:12px;padding:9px}.doc small{font-size:12px;color:#707c72}.doc a{color:#1a6552;font-size:13px}.success{color:#23765c!important}footer{text-align:center;color:#7c877b;font-size:12px;line-height:1.8;margin:25px 0}#status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:16px 22px;background:#203c36;color:#fff;max-width:calc(100% - 24px);width:max-content;border-radius:12px;box-shadow:0 5px 30px #0003;z-index:99;font-size:14px}dialog{width:min(540px,94vw);max-height:92dvh;overflow:auto;border:0;border-radius:18px;padding:24px;color:#203c36}dialog::backdrop{background:#152b25aa}.preview{background:#e8ece5;text-align:center;border-radius:8px;padding:8px}.preview canvas{max-width:100%;max-height:42dvh;object-fit:contain}.crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.crop-controls input{width:100%}.check{display:flex;align-items:center;gap:8px;margin:0;font-size:13px} [hidden]{display:none!important}@media(max-width:720px){header{padding:17px 18px}header>.badge{display:none}main{padding:27px 16px}.layout{grid-template-columns:1fr;gap:0}.card{padding:20px;border-radius:16px}.intro>p{font-size:14px}.intro h1 br{display:none}.intro h1{max-width:350px}button{min-height:48px}.actions>button{flex:1}.page .actions>button{flex:0}.page img{height:145px}}
.camera-dialog{width:min(620px,96vw);background:#101613;color:#fff}.camera-stage{position:relative;background:#000;border-radius:12px;overflow:hidden;min-height:55dvh;display:flex;align-items:center;justify-content:center}.camera-stage video{width:100%;height:65dvh;max-height:650px;object-fit:cover}.guide{position:absolute;inset:7%;border:3px solid #fff;border-radius:8px;box-shadow:0 0 0 999px #0004;pointer-events:none}.camera-dialog .hint{color:#d4ddd7}.camera-dialog button:not(.primary){background:#29352f;color:#fff;border-color:#52635a}
