@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap";:root{color:#17201d;font-synthesis:none;text-rendering:optimizelegibility;background:#f2f4f1;font-family:Noto Sans Thai,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:12px;font-size:clamp(28px,7vw,40px);line-height:1.15}h2{margin-bottom:8px;font-size:24px;line-height:1.25}.brand{letter-spacing:-.01em;align-items:center;gap:11px;font-size:14px;font-weight:800;display:flex}.brand__mark{color:#fff;background:#096c54;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.auth-shell,.loading-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #dce1de;border-radius:26px;width:min(100%,420px);padding:30px;box-shadow:0 20px 60px #1a2a241a}.auth-card .brand{margin-bottom:40px}.auth-card__heading{margin-bottom:24px}.auth-card__heading p:last-child,.lead{color:#5d6863;line-height:1.65}.eyebrow{color:#08745a;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:800}.dev-notice{color:#67541d;background:#fff8dd;border:1px solid #eadb9b;border-radius:12px;margin-bottom:20px;padding:12px 14px;font-size:13px;line-height:1.5}.form-stack{gap:18px;display:grid}label{gap:8px;font-size:14px;font-weight:700;display:grid}input{color:#17201d;background:#fff;border:1px solid #cdd5d1;border-radius:12px;outline:none;width:100%;min-height:52px;padding:0 14px}input:focus{border-color:#08745a;box-shadow:0 0 0 3px #08745a1f}.button{border:0;border-radius:13px;min-height:52px;padding:0 18px;font-weight:800}.button:disabled{cursor:wait;opacity:.65}.button--primary{color:#fff;background:#08745a}.button--primary:hover{background:#075f4a}.button--secondary{color:#075f4a;background:#e7f2ee}.button--danger{color:#8a2929;background:#f9e8e8}.text-button{color:#08745a;background:0 0;border:0;margin:22px auto 0;padding:8px;font-weight:700;display:block}.form-error,.global-error{color:#962f2f;font-size:14px}.global-error{z-index:2;background:#fff0f0;border:1px solid #eac2c2;border-radius:12px;width:min(100% - 24px,420px);padding:12px 14px;position:fixed;top:12px;left:50%;transform:translate(-50%)}.topbar,.workspace-header{justify-content:space-between;align-items:center;width:min(100%,760px);margin:0 auto;display:flex}.onboarding-shell{min-height:100vh;padding:22px 18px 50px}.step-label,.workspace-header__label{color:#69736f;margin:0;font-size:12px;font-weight:700}.onboarding-card{background:#fff;border:1px solid #dce1de;border-radius:24px;width:min(100%,520px);margin:48px auto 0;padding:30px}.progress{background:#e6ebe8;border-radius:5px;height:5px;margin-bottom:32px;overflow:hidden}.progress span{background:#08745a;height:100%;display:block}.workspace-shell{width:min(100%,760px);min-height:100vh;margin:0 auto;padding:30px 18px 80px}.workspace-header{margin-bottom:30px}.owner-nav{background:#e5eae7;border-radius:13px;grid-template-columns:repeat(4,1fr);gap:4px;margin:-12px 0 18px;padding:4px;display:grid}.owner-nav button{color:#59645f;background:0 0;border:0;border-radius:10px;min-height:44px;padding:0 6px;font-size:13px;font-weight:800}.owner-nav .owner-nav__active{color:#075f4a;background:#fff;box-shadow:0 2px 8px #182d2514}.workspace-header h1{margin:2px 0 0;font-size:30px}.avatar-button{color:#52605a;background:0 0;border:1px solid #d2d9d5;border-radius:11px;min-height:48px;padding:0 13px;font-size:13px;font-weight:700}.setup-panel,.invite-panel,.account-test-panel,.empty-cashier{background:#fff;border:1px solid #dce1de;border-radius:22px;padding:26px}.invite-panel,.account-test-panel{margin-top:18px}.recipient-form{margin-top:24px}.file-field input{background:#f7f9f8;min-height:auto;padding:12px}.file-field small{color:#6f7974;font-weight:500}.account-cards{gap:14px;margin-top:22px;display:grid}.account-card{border:1px solid #dfe5e1;border-radius:17px;grid-template-columns:120px 1fr;align-items:center;gap:16px;padding:16px;display:grid}.recipient-qr{object-fit:contain;background:#f3f5f4;border-radius:10px;width:120px;height:120px}.recipient-qr--loading{color:#6f7974;place-items:center;font-size:11px;display:grid}.account-card__details{gap:3px;min-width:0;display:grid}.account-card__details span,.account-card__details small{color:#65706b;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-card .button,.account-card .status-chip,.account-card__controls,.inline-actions{grid-column:1/-1}.account-card__controls,.inline-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.account-card__controls .text-button,.inline-actions .text-button{margin:0}.round-checkbox{color:#075f4a;align-items:center;gap:8px;display:flex}.round-checkbox input{width:20px;min-height:20px}.account-edit-fields{gap:8px;display:grid}.account-edit-fields input{min-height:42px}.status-chip{color:#08745a;text-align:center;background:#e8f4ef;border-radius:10px;min-height:40px;padding:9px 12px;font-size:13px;font-weight:800}.account-requirement,.start-round{color:#67541d;background:#fff8dd;border-radius:13px;margin:18px 0 0;padding:14px;font-size:14px}.start-round{color:#24473c;background:#edf7f3;gap:12px;display:grid}.start-round p{margin:0}.setup-panel--ready{border-color:#bad9cd}.ready-accounts{gap:8px;margin-top:20px;display:grid}.ready-account{background:#f1f7f4;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.ready-account>span{color:#fff;background:#08745a;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.ready-account div{display:grid}.ready-account small{color:#65706b}.invite-panel>p:not(.eyebrow){color:#5d6863}.setup-list{gap:4px;margin:24px 0 0;padding:0;list-style:none;display:grid}.setup-list__item{color:#7b8580;border-bottom:1px solid #edf0ee;align-items:center;gap:14px;min-height:70px;padding:11px 8px;display:flex}.setup-list__item>span{background:#edf0ee;border-radius:50%;flex:0 0 34px;place-items:center;height:34px;font-weight:800;display:grid}.setup-list__item div{gap:2px;display:grid}.setup-list__item small{font-size:12px}.setup-list__item--done{color:#08745a}.setup-list__item--done>span{color:#fff;background:#08745a}.setup-list__item--next{color:#17201d}.setup-list__item--next>span{color:#08745a;background:#e5f2ed}.invite-form{grid-template-columns:1fr auto;align-items:end;gap:10px;margin-top:20px;display:grid}.invite-result{background:#f3f6f4;border-radius:14px;gap:12px;margin-top:18px;padding:14px;display:grid}.invite-result code{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.member-list{border-top:1px solid #e5eae7;margin-top:22px;display:grid}.member-row{border-bottom:1px solid #e5eae7;justify-content:space-between;align-items:center;gap:12px;min-height:72px;display:flex}.member-row>span{gap:2px;display:grid}.member-row>span:last-child{justify-items:end}.member-row small{color:#65706b}.member-row .text-button{margin:0;padding:2px;font-size:12px}.text-button--danger{color:#962f2f}.member-confirm{align-items:center;gap:4px;display:flex}.member-confirm .button{min-height:36px;padding:0 10px;font-size:12px}.operations-page{gap:16px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.section-heading h2,.section-heading h3,.section-heading p{margin-bottom:0}.section-heading .button{min-height:44px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.metric-card,.balance-card,.transaction-detail,.empty-card{background:#fff;border:1px solid #dce1de;border-radius:18px;padding:20px}.metric-card{align-content:space-between;gap:14px;min-height:116px;display:grid}.metric-card span{color:#65706b;font-size:13px}.metric-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(21px,5vw,30px)}.metric-card--primary{color:#fff;background:#08745a;border-color:#08745a}.metric-card--primary span{color:#d8efe7}.manual-badge{color:#67541d;white-space:nowrap;background:#fff8dd;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.account-balance{gap:7px;margin-top:20px;display:grid}.account-balance>div:first-child{justify-content:space-between;gap:12px;display:flex}.account-balance small,.muted-note{color:#69736f;font-size:12px}.round-history details{border-bottom:1px solid #e8ecea;padding:14px 0}.round-history details:last-child{border-bottom:0}.round-history summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;display:flex}.round-history summary>span{display:grid}.round-history summary small{color:#68736e}.round-history__accounts{background:#f3f6f4;border-radius:12px;gap:8px;margin-top:12px;padding:12px;display:grid}.round-history__accounts>div{justify-content:space-between;gap:12px;display:flex}.balance-track{background:#e8eeeb;border-radius:99px;height:9px;overflow:hidden}.balance-track span{border-radius:inherit;background:#159270;height:100%;display:block}.muted-note{margin:22px 0 0;line-height:1.55}.transaction-list{background:#fff;border:1px solid #dce1de;border-radius:18px;overflow:hidden}.transaction-row{width:100%;min-height:78px;color:inherit;text-align:left;background:#fff;border:0;border-bottom:1px solid #e8ecea;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.transaction-row:last-child{border-bottom:0}.transaction-row>span{gap:3px;display:grid}.transaction-row>span:last-child{justify-items:end}.transaction-row small{color:#68736e}.status-pill{color:#67541d;background:#fff5d6;border-radius:999px;padding:5px 8px;font-size:11px;font-style:normal;font-weight:800}.status-pill--confirmed{color:#075f4a;background:#e6f3ee}.status-pill--cancelled,.status-pill--refunded{color:#5e6863;background:#edf0ee}.transaction-detail dl{gap:0;margin:18px 0 24px;display:grid}.transaction-detail dl>div{border-bottom:1px solid #e9ecea;justify-content:space-between;gap:16px;padding:10px 0;display:flex}.transaction-detail dt{color:#68736e}.transaction-detail dd{text-align:right;margin:0}.audit-list{gap:12px;margin:14px 0 0;padding-left:22px;display:grid}.audit-list li{padding-left:4px}.audit-list li span{color:#68736e;font-size:12px;display:block}.detail-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:22px;display:grid}.refund-confirm{background:#fff3f3;border-radius:12px;gap:6px;padding:10px;display:grid}.refund-confirm p,.refund-confirm .text-button{margin:0}.empty-cashier{text-align:center;align-content:center;justify-items:center;min-height:390px;display:grid}.empty-cashier>span{color:#08745a;background:#e5f2ed;border-radius:24px;place-items:center;width:80px;height:80px;margin-bottom:22px;font-size:22px;font-weight:900;display:grid}.empty-cashier p{color:#5d6863;max-width:380px;line-height:1.6}.cashier-card{background:#fff;border:1px solid #dce1de;border-radius:22px;width:min(100%,520px);margin:0 auto;padding:24px}.cashier-heading{justify-content:space-between;align-items:start;display:flex}.cashier-heading h2{margin:0}.cashier-heading>button,.back-button{color:#08745a;background:0 0;border:0;min-height:44px;padding:0 8px;font-weight:800}.money-label{color:#6b7570;text-align:center;margin:38px 0 4px;font-size:13px}.money-output,.payment-amount{font-variant-numeric:tabular-nums;letter-spacing:-.05em;text-align:center;margin-bottom:30px;font-size:clamp(42px,13vw,62px);font-weight:800;line-height:1.15;display:block}.keypad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.keypad button{color:#17201d;background:#f1f4f2;border:0;border-radius:14px;min-height:62px;font-size:23px;font-weight:700}.keypad button:active{background:#dfe9e4;transform:scale(.98)}.show-qr-button{width:100%;margin-top:16px}.payment-card,.success-card{text-align:center}.payment-amount{margin-bottom:18px}.payment-qr{aspect-ratio:1;object-fit:contain;background:#f3f5f4;border-radius:12px;width:min(100%,280px);margin:0 auto;display:block}.payment-qr--loading{color:#6b7570;place-items:center;padding:24px;font-size:13px;line-height:1.5;display:grid}.scan-copy{margin:16px 0 12px;font-weight:800}.recipient-copy{gap:2px;margin-bottom:8px;display:grid}.recipient-copy span,.verify-copy,.bank-disclaimer{color:#68736e;font-size:13px}.payment-card>.button--primary,.success-card>.button--primary{width:100%;margin-top:14px}.payment-secondary{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.payment-secondary button{color:#5e6863;background:0 0;border:1px solid #d7ddda;border-radius:12px;min-height:48px;font-weight:700}.qr-help{text-align:left;background:#f3f6f4;border-radius:14px;gap:7px;margin:14px 0;padding:14px;display:grid}.qr-help>button:not(.text-button){color:#24473c;text-align:left;background:#fff;border:1px solid #d7ddda;border-radius:10px;min-height:46px;padding:8px 10px;font-weight:700}.qr-help .text-button{margin:0}.expired-notice{color:#705a1c;background:#fff7d7;border-radius:11px;margin:14px 0;padding:11px;font-size:13px}.offline-notice{color:#705a1c;background:#fff7d7;border-radius:11px;margin:12px 0;padding:11px;font-size:13px;line-height:1.5}.expired-notice button{color:#705a1c;background:0 0;border:0;font-weight:800;text-decoration:underline}.success-icon{color:#fff;background:#08745a;border-radius:50%;place-items:center;width:72px;height:72px;margin:20px auto 24px;font-size:34px;font-weight:900;display:grid}.success-card h2{font-variant-numeric:tabular-nums;font-size:44px}.recent-card h2{margin-top:12px}.recent-list{margin-top:18px;display:grid}.recent-row{width:100%;min-height:72px;color:inherit;text-align:left;background:0 0;border:0;border-bottom:1px solid #e8ecea;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.recent-row:disabled{cursor:default}.recent-row div{gap:2px;display:grid}.recent-row small{color:#6b7570}.payment-status{color:#655f47;white-space:nowrap;background:#f2efe5;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.payment-status--confirmed{color:#08745a;background:#e6f3ee}.payment-status--cancelled,.payment-status--refunded{color:#6b7570;background:#ecefed}.loading-shell{color:#66716c;align-content:center;gap:18px}@media (width<=560px){.auth-shell{background:#fff;padding:0}.auth-card{min-height:100vh;box-shadow:none;border:0;border-radius:0;padding:24px 20px}.onboarding-card{margin-top:28px;padding:24px 20px}.invite-form{grid-template-columns:1fr}.invite-panel,.account-test-panel,.setup-panel{padding:22px 18px}.account-card{grid-template-columns:96px 1fr;padding:12px}.recipient-qr{width:96px;height:96px}.cashier-card{padding:20px 16px}.workspace-shell{padding-left:12px;padding-right:12px}.owner-nav button{font-size:11px}.metric-card,.balance-card,.transaction-detail{padding:16px}.detail-actions{grid-template-columns:1fr}}
