:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#142c37;background:#f2f5f4;--accent:#126b61;--muted:#637875;--line:#dce5e2}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:16px max(5vw,18px);background:#fff;border-bottom:1px solid var(--line);gap:10px}.brand{display:flex;align-items:center;gap:11px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:3px}.logo{background:var(--accent);color:white;border-radius:10px;font-weight:800;font-size:24px;width:42px;height:42px;display:grid;place-items:center}main{max-width:1280px;margin:auto;padding:28px 20px 50px}.hero{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}h1{font-size:clamp(29px,4vw,48px);letter-spacing:-1.5px;margin:8px 0}h2{font-size:23px;margin:5px 0 12px}p{color:var(--muted);margin:8px 0;font-size:14px;line-height:1.5}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.4px;color:var(--accent)}.pill{border:1px solid var(--line);border-radius:99px;padding:8px 12px;background:white;font-size:12px;white-space:nowrap}.notice{min-height:22px;color:#126b61;font-size:14px;margin:5px 0 12px}.notice.error{color:#a63c27}.layout{display:grid;grid-template-columns:minmax(300px,0.88fr) minmax(340px,1.12fr);gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;min-width:0;box-shadow:0 4px 20px #17342b07}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:10px}.upload{background:#f6faf9;border:1px dashed #9ebbb4;border-radius:12px;text-align:center;padding:19px 12px;margin:5px 0 18px}.upload.drag{background:#d7efe8}.camera{font-size:29px;color:var(--accent);margin-bottom:4px}.actions{display:flex;gap:8px;flex-wrap:wrap}.upload .actions{justify-content:center;margin:12px 0}button{font:inherit;font-size:14px;font-weight:650;border:1px solid transparent;border-radius:8px;background:var(--accent);color:white;padding:10px 15px;cursor:pointer}button:disabled{opacity:.45;cursor:default}button.secondary{background:white;color:var(--accent);border-color:#b7ccc7}button.ghost{background:#eef5f3;color:var(--accent);padding:8px 11px;font-size:12px}label{display:block;font-size:13px;font-weight:700;margin:0 0 14px}input,textarea,select{display:block;width:100%;font:inherit;font-size:15px;color:#142c37;background:white;border:1px solid #cbd9d5;border-radius:8px;padding:10px;margin-top:5px}input:focus,textarea:focus,select:focus{outline:2px solid #72b6a9;outline-offset:1px}textarea{resize:vertical}.sub,.privacy{font-size:12px;color:var(--muted)}progress{width:100%;accent-color:var(--accent)}.filters{display:flex;gap:9px;margin-bottom:12px}.filters select{width:155px}.results{min-height:190px}.item{padding:14px 2px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.itemtop{display:flex;justify-content:space-between;gap:8px}.itemtop span{font-size:11px;color:var(--accent);background:#eef5f3;border-radius:5px;padding:4px 6px;align-self:flex-start}.item b{font-size:16px}.item .sender{font-weight:600;margin:6px 0;color:#34524b}.item p{margin:4px 0}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.chips button{font-size:11px;padding:5px 8px;background:#eff5f3;color:var(--accent);text-align:left}dialog{max-width:450px;width:calc(100% - 30px);border:1px solid var(--line);border-radius:16px;padding:24px}dialog::backdrop{background:#142c3780}@media(max-width:800px){.layout{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.panel{padding:16px}.filters{flex-wrap:wrap}.filters select{width:100%}header{padding:12px}.brand small{letter-spacing:.4px}}

[hidden]{display:none!important}#fieldhint:empty{display:none}#ocrchoices:empty{display:none}#ocrchoices button{border:1px solid #b7ccc7;background:white}

.ai-panel{border:1px solid #b9ceca;border-radius:12px;padding:12px;margin:14px 0;display:grid;gap:7px}.ai-panel .ai-check{display:flex;align-items:center;gap:9px;font-weight:600;margin:0}.ai-check input{width:20px;height:20px;flex:none}.ai-panel small{color:#607571;font-size:13px}.ai-panel button[hidden]{display:none}
