@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{font-family:'Noto Sans Thai',sans-serif;color:#203830;background:#f5f7f4;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:10px 16px;background:#14634e;color:white;font-weight:600}button:hover{filter:brightness(.95)}button.secondary{background:#edf3ef;color:#315748}button.ghost{background:white;color:#49665a;border:1px solid #dce5df}button:disabled{opacity:.4;cursor:default}aside{width:235px;background:#103f33;color:#fff;position:fixed;inset:0 auto 0 0;padding:30px 22px}.brand{font-size:26px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#a2c7b5;margin:7px 0 35px}.workspace{font-size:12px;border:1px solid #3d6557;padding:12px;border-radius:8px;color:#c9ded3}.workspace span{font-size:9px;background:#d6e89b;color:#29442e;border-radius:4px;padding:3px;margin-left:5px}nav{margin-top:28px}nav button{display:block;width:100%;background:transparent;text-align:left;color:#bad2c6;margin:7px 0;font-weight:400}nav button.active{background:#2a5949;color:white}nav button i{font-style:normal;margin-right:12px}.aside-bottom{position:absolute;bottom:25px;font-size:11px;color:#97b7a8;line-height:2}main{margin-left:235px}header{height:85px;background:white;border-bottom:1px solid #e1e8e1;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:12px;color:#789084}select,input{padding:10px 12px;border:1px solid #d9e2dc;border-radius:7px;background:white;color:#254b3b;max-width:100%}header select{margin-left:10px}.notice{background:#edf2e4;color:#69774c;padding:10px 40px;font-size:11px}section{padding:32px 40px;min-height:75vh}h1{font-size:29px;margin:0 0 7px;letter-spacing:-.5px}h2{font-size:17px;margin:0}p{color:#7c8f83;margin:5px 0 20px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8b9d8f;margin-bottom:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;padding:21px;border:1px solid #e3e9e2;border-radius:12px}.stat.featured{background:#155640;color:white;border-color:#155640}.stat .label{font-size:12px;opacity:.7}.stat strong{display:block;font-size:28px;margin:12px 0 3px;font-weight:600}.stat small{font-size:10px;opacity:.6}.panel{background:white;border:1px solid #e0e7df;border-radius:12px;margin-bottom:22px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;gap:12px}.panel-head p{font-size:11px;margin:5px 0 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{font-size:11px;font-weight:500;color:#8a9b8e;background:#fafbf9;text-align:left;padding:12px 22px;border-top:1px solid #eef1ec}td{padding:17px 22px;border-top:1px solid #eef1ec;font-size:12px}td small{display:block;color:#91a093;font-size:10px;margin-top:4px}td strong{font-weight:600}.badge{display:inline-block;border-radius:20px;background:#eef2ed;color:#71806c;padding:5px 10px;font-size:10px}.badge.ok{background:#e5f4eb;color:#2e8653}.badge.wait{background:#fff2d8;color:#a27824}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.barrow{padding:15px 23px;border-top:1px solid #edf1eb}.barrow div{display:flex;justify-content:space-between;font-size:12px}.bar{height:7px;border-radius:5px;background:#edf2e8;margin-top:12px;overflow:hidden}.bar b{display:block;height:100%;background:#83a978}.empty{padding:35px;text-align:center;color:#8b9b8f}.filters{display:flex;gap:10px;flex-wrap:wrap}.filters input{min-width:240px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.client-card{background:white;padding:24px;border:1px solid #e0e7df;border-radius:12px}.client-card h2{margin:15px 0 5px}.client-card .amount{font-size:28px;margin:15px 0}.client-card button{width:100%;margin-top:15px}footer{padding:20px 40px;color:#91a092;font-size:10px;display:flex;justify-content:space-between}dialog{border:0;border-radius:15px;padding:28px;width:480px;max-width:95vw;box-shadow:0 25px 100px #103f3340}dialog::backdrop{background:#0b2f2860}dialog h2{margin-bottom:20px}dialog label{display:block;margin:15px 0 5px;color:#637d6e;font-size:12px}dialog input,dialog select{width:100%}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.help{font-size:11px;padding:13px;background:#f3f5ed;border-radius:8px;line-height:1.8}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 24px;border-radius:8px;background:#173e30;color:#fff;display:none;z-index:5}.audit{padding:16px 23px;border-top:1px solid #edf1eb;font-size:12px}.audit small{display:block;color:#94a091}.row{display:flex;gap:10px}.row>*{flex:1}@media(max-width:1000px){aside{width:190px;padding:25px 15px}main{margin-left:190px}section{padding:25px}.stats{grid-template-columns:repeat(2,1fr)}header{padding:20px}.grid{grid-template-columns:1fr}}@media(max-width:650px){aside{position:static;width:100%;padding:15px}.brand{font-size:21px}.brand small,.workspace,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:10px}nav button{width:auto;white-space:nowrap;padding:9px;font-size:12px}main{margin:0}header{height:auto;gap:10px;flex-wrap:wrap}.notice{padding:12px 20px}section{padding:22px 15px}.heading{align-items:flex-start}h1{font-size:24px}.stat{padding:16px}.stat strong{font-size:23px}.panel-head{flex-wrap:wrap}footer{padding:20px;gap:20px}td,th{padding:13px}header select{margin-left:4px}}
