@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');
:root{font-family:'Sarabun',Tahoma,sans-serif;color:#1d2939;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:920px;margin:46px auto;padding:0 22px}.shell.wide{max-width:1500px}.top{display:flex;gap:18px;align-items:center;margin-bottom:28px}.top.compact{margin-top:24px}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#153d35;color:#fff;font-size:30px;font-weight:700;flex:none}.eyebrow{font-size:11px;letter-spacing:1.6px;color:#718096;font-weight:700;margin:0 0 3px}.top h1{font-size:27px;margin:0;font-weight:700}.muted{color:#748094}.top p:last-child{margin:3px 0 0}.panel{background:#fff;border:1px solid #e4e9ef;border-radius:18px;padding:28px;box-shadow:0 12px 36px #172b4d0a}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-heading h2{font-size:19px;margin:0}.step{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e9f3ef;color:#17624e;font-size:12px;font-weight:700}.pill{border-radius:30px;padding:6px 12px;background:#f1f5f9;color:#526174;font-size:12px}.pill.warning{background:#fff5df;color:#946200}.dropzone{min-height:220px;border:2px dashed #cbd5df;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.dragging{border-color:#27846c;background:#f5fbf8}.dropzone input{max-width:240px;margin-top:5px}.upload-icon{width:48px;height:48px;border-radius:50%;background:#e8f4ef;color:#17624e;display:grid;place-items:center;font-size:28px}.file-list{margin:15px 0;min-height:24px}.file-item{display:flex;justify-content:space-between;padding:7px 10px;border-bottom:1px solid #eef1f4;color:#344054}.notice{background:#f5f8fb;border-radius:11px;padding:13px 16px;margin:22px 0;color:#475467;font-size:13px}.notice p{margin:4px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;border:0;border-radius:10px;padding:11px 18px;font:600 14px 'Sarabun',sans-serif;cursor:pointer}.btn:disabled{opacity:.6;cursor:wait}.btn.primary{background:#17624e;color:white}.btn.secondary{background:#edf1f5;color:#344054}.btn.primary:hover{background:#104c3c}.small{font-size:12px}.stats{display:grid;grid-template-columns:1fr 1fr 2fr;gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e4e9ef;border-radius:14px;padding:17px 20px}.stat span{display:block;color:#748094;font-size:13px}.stat strong{display:block;font-size:25px;margin-top:4px}.stat.total strong{color:#17624e}.file-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}.file-chips span{font-size:12px;background:#f1f5f9;border-radius:20px;padding:5px 10px;color:#526174}.table-wrap{overflow:auto;border:1px solid #e5e9ee;border-radius:10px}.data-table{border-collapse:collapse;width:100%;min-width:1550px;font-size:12px}.data-table th{background:#f1f4f6;text-align:left;white-space:nowrap;padding:11px 8px;border-bottom:1px solid #dfe5eb}.data-table td{padding:5px 6px;border-bottom:1px solid #edf0f3;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table td:first-child,.data-table th:first-child{text-align:center}.cell-input{width:100%;min-width:90px;border:1px solid transparent;background:transparent;border-radius:5px;padding:7px 5px;font:12px 'Sarabun',sans-serif;color:#263445}.cell-input:focus{outline:2px solid #80b9a7;border-color:transparent;background:#fff}.amount-input{text-align:right;min-width:95px}.source{min-width:130px;color:#687588}.icon-btn{border:0;background:#fff0f0;color:#b42318;border-radius:6px;width:27px;height:27px;font-size:19px;cursor:pointer}.actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:20px}.status{margin-top:12px;color:#17624e;font-size:13px}.empty{text-align:center;padding:35px;color:#7b8796}.empty-panel{text-align:center;margin-top:90px}.empty-panel .brand-mark{margin:auto}footer{text-align:center;color:#9aa4b2;font-size:11px;padding:25px}.print-body{background:#fff}.print-toolbar{max-width:1100px;margin:20px auto;display:flex;justify-content:flex-end;gap:8px}.paper{background:#fff;max-width:1100px;margin:0 auto;padding:12px 24px 30px}.report-head{text-align:center;margin-bottom:20px}.report-head h1{font-size:21px;margin:0 0 5px}.report-head p{margin:2px;font-size:12px}.report-table{width:100%;border-collapse:collapse;font-size:10px}.report-table th,.report-table td{border:1px solid #333;padding:5px 4px;vertical-align:top;overflow-wrap:anywhere}.report-table th{background:#f0f0f0;text-align:center}.report-table td.money,.report-table tfoot th.money{text-align:right;white-space:nowrap}.report-table tfoot th{font-weight:700;background:#f7f7f7}.signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:42px 0 18px;text-align:center;font-size:12px;line-height:2}.print-note{font-size:10px;color:#555;margin-top:25px}@media(max-width:700px){.shell{margin:22px auto;padding:0 12px}.panel{padding:18px}.top h1{font-size:21px}.stats{grid-template-columns:1fr 1fr}.stat.total{grid-column:1/-1}.section-heading{align-items:flex-start;flex-direction:column}.actions .btn{flex:1}.print-toolbar{padding:0 12px}.paper{padding:10px}.report-table{font-size:8px}.report-table th,.report-table td{padding:3px 2px}}@page{size:A4 landscape;margin:10mm}@media print{body{background:#fff}.print-toolbar{display:none}.paper{max-width:none;margin:0;padding:0}.report-table{font-size:8px}.report-table th,.report-table td{padding:3px 2px}.signatures{break-inside:avoid}.report-table tr{break-inside:avoid}a{color:inherit;text-decoration:none}}
