@font-face{font-family:NotoThai;src:url(/noto-sans-thai.ttf) format("truetype");font-weight:100 900;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f5f7f5;color:#263c3b;font-family:NotoThai,system-ui,sans-serif;font-size:15px}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}h1,h2,p{margin:0}input,textarea{width:100%;min-width:0;border:1px solid #d8e1dd;border-radius:10px;padding:12px 14px;color:#263c3b;background:#fff;font-size:16px;outline:none}input:focus,textarea:focus{border-color:#288783;box-shadow:0 0 0 3px #28878318}input[type=date]{min-height:51px;appearance:none}input[type=checkbox]{accent-color:#287975;width:22px;height:22px;flex-shrink:0}textarea{resize:vertical}.topbar{max-width:1040px;margin:auto;padding:24px 30px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:-.5px}.brand small{display:block;font-size:11px;font-weight:450;letter-spacing:0;color:#6a7e79}.brand-mark{background:#2c7673;color:#fff;border-radius:14px;width:44px;height:44px;display:grid;place-items:center;font-size:32px}main{max-width:800px;margin:24px auto 0;padding:0 24px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:26px}.eyebrow{color:#35817b;letter-spacing:2.5px;font-size:11px;font-weight:700}h1{font-size:30px;line-height:1.4;letter-spacing:-.7px;margin:6px 0 8px}.page-heading p,.section-title p{color:#778680;font-size:13px}.date-tag{margin-top:24px;background:#e8eeea;padding:7px 12px;border-radius:8px;font-size:12px;white-space:nowrap}.steps{display:flex;justify-content:space-between;list-style:none;padding:0;margin:0 0 26px;gap:10px}.steps li{font-size:13px;color:#87938e;display:flex;align-items:center;gap:8px}.steps span{width:27px;height:27px;border:1px solid #d1dbd5;border-radius:50%;display:grid;place-items:center}.steps .active{color:#276f69;font-weight:700}.steps .active span{color:#fff;background:#2b7972;border-color:#2b7972}.card{padding:26px;background:#fff;border:1px solid #e3e9e5;border-radius:18px;margin-bottom:18px;box-shadow:0 4px 16px #27433603}.form-fields{padding:0;margin:0;border:0;min-width:0}.section-title{display:flex;gap:13px;align-items:center;margin-bottom:24px}.section-title>span{font-size:12px;color:#418881;background:#eff6f2;border-radius:9px;padding:8px 10px}h2{font-size:18px;font-weight:650}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.form-grid .full{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550}label small{font-weight:400;color:#7a8881;font-size:12px}.stay-note{display:flex;gap:12px;background:#f0f7f4;color:#31776c;padding:12px 15px;margin-top:18px;border-radius:10px;font-size:13px}.stay-note span{color:#7a8e84}.checks{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.checks label{flex-direction:row;align-items:center;background:#f7f9f7;border:1px solid #e3e9e4;padding:10px 14px;border-radius:10px}.amount-panel,.balance-panel{padding:20px;background:#f2f7f3;border-radius:12px}.amount-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:14px}.text-button{border:0;background:none;padding:4px 0;color:#2f7871;font-size:12px;text-decoration:underline}.amount-panel>strong,.balance-panel>strong{display:block;font-size:30px;letter-spacing:-.5px;font-weight:650}.amount-panel strong small,.balance-panel strong small{font-size:13px;margin-left:8px;font-weight:450}.balance-panel{background:#fff;border:1px solid #dce6df}.balance-panel>small,.manual-note{display:block;color:#71857a;font-size:12px;margin-top:6px}.deposit-label{margin:22px 0}.receiver{display:flex;justify-content:space-between;background:#f7f9f6;padding:14px;border-radius:9px;margin-top:18px;font-size:13px}.receiver span{color:#7a887e}.action-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 10px}.action-bar>span{font-size:12px;color:#7d897f}.button{display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:8px;border:0;background:#256f69;color:#fff;border-radius:11px;min-height:50px;padding:13px 26px;font-weight:600;text-decoration:none}.button:hover{filter:brightness(.96)}.secondary{background:#fff;color:#316b61;border:1px solid #ceded3}.quiet{background:none;border:0;color:#668175;padding:10px;font-size:12px}.app-footer{text-align:center;color:#8e9c91;font-size:11px;margin:36px 0 24px}.alert{padding:15px 18px;border-radius:12px;margin-bottom:20px;font-size:14px;overflow-wrap:anywhere}.error{background:#fff0eb;color:#a54231;border:1px solid #f2cabc}.success,.saved-note{background:#e5f4e9;color:#347650;padding:16px;border-radius:12px;margin-bottom:16px}.login-card{max-width:450px;margin:60px auto 90px;padding:40px 28px;background:#fff;border:1px solid #e1e7df;border-radius:24px;text-align:center}.login-card h1{font-size:32px;margin:16px 0}.login-card p{color:#7a8980;line-height:1.8}.login-card .button{width:100%;margin-top:30px}.line-login{background:#06a948}.login-card .muted{font-size:11px;margin-top:20px}.user-id{display:block;font-size:13px;overflow-wrap:anywhere;background:#f3f6f0;padding:15px;margin-top:24px;-webkit-user-select:all;user-select:all}.preview-image{display:block;width:100%;height:auto;box-shadow:0 6px 26px #253c3614;border:1px solid #e2e7e0}.done-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.done-actions .quiet{grid-column:1/-1}.spinner{width:30px;height:30px;border:3px solid #e3ede5;border-top-color:#348579;border-radius:50%;margin:0 auto;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.render-stage{position:fixed;left:-12000px;top:0;pointer-events:none;width:1074px}.receipt{position:relative;width:1074px;height:1524px;overflow:hidden;background:#fff;color:#353535;font-family:NotoThai,sans-serif;font-size:26px;line-height:1.5}.receipt-decoration{position:absolute;inset:0;width:100%;height:100%}.receipt-brand{position:absolute;top:82px;left:65px;display:flex;align-items:center;color:#fff;gap:14px}.receipt-brand svg{width:103px;height:103px}.receipt-brand strong{font-family:Arial,sans-serif;display:block;font-size:38px;line-height:1.1}.receipt-brand span{font-family:Arial,sans-serif;font-size:25px}.receipt-header{position:absolute;top:37px;left:633px;width:398px}.receipt-header h1{font-size:48px;white-space:nowrap;color:#60b5b3;font-weight:800;letter-spacing:-1px;margin:0 0 18px}.receipt-header .issue{display:flex;gap:13px;align-items:center;font-size:30px}.issue span{flex:1;text-align:center;border-bottom:2px solid #aaa;font-size:24px}.receipt-header p{margin-top:21px;font-size:23px;font-weight:700;line-height:1.4}.receipt i{background:#60b5b3;width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;color:#fff;border-radius:50%;font-size:25px;font-style:normal;flex-shrink:0}.receipt-body{position:absolute;top:365px;left:82px;right:48px}.r-row{display:flex;align-items:center;gap:13px;min-height:50px;margin-bottom:42px}.r-row b{font-size:30px;font-weight:700;white-space:nowrap}.r-line{border-bottom:2px solid #aaa;min-height:41px;flex:1;text-align:center;min-width:0;padding:0 12px 3px;font-size:24px;overflow-wrap:anywhere}.r-line.customer{text-align:left;padding-left:30px;font-size:23px}.r-row.halves{gap:34px}.halves>div{display:flex;align-items:center;gap:13px;flex:1;min-width:0}.r-details .r-row{margin-bottom:8px;align-items:flex-start}.r-line.details{font-size:23px;text-align:left;line-height:1.6;min-height:42px;max-height:112px}.r-options{margin-left:150px;font-size:30px;font-weight:700;line-height:1.7}.r-options>div{display:flex;align-items:center;gap:16px}.tick{width:34px;height:34px;border:2px solid #60b5b3;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;color:#111;font-size:41px;font-weight:800;line-height:1}.r-details{height:181px}.r-row.total{margin-bottom:43px}.total .r-line{text-align:left;padding-left:48px}.r-row.payment{gap:12px;margin-bottom:43px}.payment .amount{flex:0 1 220px;font-size:24px;white-space:nowrap}.payment .words{font-size:19px;line-height:1.35;min-height:39px;display:flex;align-items:center;justify-content:center}.payment b{font-size:29px}.receipt-signatures{position:absolute;top:1170px;left:70px;right:174px;display:grid;grid-template-columns:425px 310px;gap:95px}.receipt-signatures fieldset{border:2px solid #aaa;height:166px;padding:16px 18px;margin:0;display:flex;justify-content:center;align-items:center;min-width:0}.receipt-signatures legend{text-align:center;padding:0 10px;font-size:31px;font-weight:700}.receipt-signatures p{font-size:24px;overflow-wrap:anywhere;text-align:center}.signature-date{display:flex;gap:25px;margin-top:32px;align-items:center}.signature-date b{font-size:30px}.signature-date span{border-bottom:2px solid #aaa;flex:1;text-align:center;font-size:24px}.receipt-warning{position:absolute;bottom:28px;left:70px;color:#d72825;font-size:23px;font-weight:650;font-style:italic;white-space:nowrap}@media(max-width:600px){.topbar{padding:19px 18px}.brand{font-size:17px;gap:9px}.brand-mark{width:38px;height:38px;font-size:28px}.brand small{font-size:10px}main{padding:0 16px;margin-top:17px}h1{font-size:26px}.date-tag{display:none}.page-heading{margin-bottom:22px}.page-heading p{font-size:12px}.steps li{font-size:11px;gap:5px}.steps span{width:24px;height:24px}.card{padding:20px 16px;border-radius:15px}.form-grid{gap:16px 12px}.form-grid>label:nth-child(-n+2){grid-column:1/-1}.section-title{margin-bottom:20px}.section-title p{font-size:11px}.stay-note{font-size:12px;gap:9px}.checks{gap:8px}.checks label{font-size:12px;padding:8px 10px;gap:6px}.action-bar{position:sticky;bottom:0;background:#f5f7f5ed;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:14px 0;z-index:5}.action-bar>span{display:none}.action-bar .button{flex:1;padding:13px 14px}.preview-actions{gap:9px}.preview-actions .button{font-size:13px}.done-actions{grid-template-columns:1fr}.login-card{margin:35px auto 60px;padding:32px 20px}.amount-panel>strong,.balance-panel>strong{font-size:28px}.receiver{font-size:12px}.quiet{font-size:11px;padding:6px}.receipt h1{font-size:48px}}.receipt .customer{white-space:nowrap;overflow:hidden}.receipt .details{height:68px;max-height:68px;overflow:hidden;line-height:1.35}.r-details .r-row{min-height:68px}.receipt .words{height:60px;max-height:60px;overflow:hidden}.receipt-signatures p{max-height:95px;overflow:hidden}
