:root{font-family:Inter,Noto Sans TC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243c35;background:#f5f6f2;font-synthesis:none;font-weight:400;--green: #173f36;--muted: #7d8982;--line: #e9ece5}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}button,a,input{touch-action:manipulation}button{border:0}button:focus-visible,input:focus-visible{outline:3px solid #96b79e;outline-offset:3px}button{transition:background .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}h1,h2,p{margin:0}h1{font-size:36px;font-weight:600;letter-spacing:-1.4px;line-height:1.4}h2{font-size:17px;font-weight:600;letter-spacing:.1px}.muted{color:var(--muted);font-size:14px;line-height:1.9}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:600;letter-spacing:.6px}.brand small{display:block;font-size:10px;color:#8b978e;font-weight:400;letter-spacing:1px;margin-top:5px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--green);color:#e1ebd4;border-radius:13px;box-shadow:0 4px 10px #173f3610}.eyebrow{display:block;color:#819077;font-size:11px;font-weight:500;letter-spacing:2px;margin-bottom:12px}.app-shell{min-height:100dvh;display:flex}.sidebar{width:242px;flex:none;background:#fdfefa;border-right:1px solid var(--line);padding:39px 25px;position:fixed;top:0;bottom:0;display:flex;flex-direction:column}.sidebar-caption{font-size:11px;color:#93a08f;margin:32px 0 27px;letter-spacing:.4px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{height:51px;text-align:left;border-radius:12px;background:transparent;color:#7a897e;display:flex;align-items:center;gap:15px;padding:0 18px;font-size:14px}.sidebar nav button.active{background:#e8eee2;color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);font-size:13px}.sidebar-bottom p{display:flex;gap:9px;align-items:center;margin-bottom:18px}.store-dot{width:7px;height:7px;border-radius:50%;background:#92b08b}.text-button{background:transparent;padding:5px 0;color:#718374;font-size:12px;display:inline-flex;gap:6px;align-items:center;min-height:32px}.workspace{margin-left:242px;flex:1;min-width:0}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;border-bottom:1px solid var(--line);background:#f9faf6}.desktop-context{font-size:12px;color:#819080}.desktop-context span{padding:0 13px;color:#c2cabd}.cloud-status{display:flex;gap:7px;align-items:center;color:#7e917a;font-size:11px;letter-spacing:.4px}.cloud-status.offline{color:#ab7a33}.mobile-brand,.mobile-logout,.bottom-nav{display:none}.main-content{max-width:1000px;margin:0 auto;padding:43px 46px 26px}.page-heading{margin-bottom:30px}.heading-line{display:flex;align-items:center;gap:18px;margin-bottom:10px;flex-wrap:wrap}.date-pill{font-size:11px;color:#7e8d78;background:#eaf0e3;padding:7px 12px;border-radius:30px;letter-spacing:.3px}.sales-form{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}.amount-card{background:#fff;border-radius:22px;padding:27px 28px 18px;box-shadow:0 8px 35px #243c3505;border:1px solid #eef0e9}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.currency-pill{font-size:10px;letter-spacing:1.2px;border:1px solid var(--line);border-radius:5px;color:#889383;padding:4px 6px}.channel-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:25px 0;border-bottom:1px solid #eff1ed}.channel-row:last-of-type{border-bottom:0}.channel-label{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;white-space:nowrap}.channel-label small{display:block;font-size:10px;color:#98a095;font-weight:400;margin-top:5px}.channel-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;font-size:17px;font-weight:600;background:#ecede7;color:#78846a}.uber-eats{background:#ecf0e8;color:#437c44}.foodpanda{background:#fff0f5;color:#d95a87}.onsite{background:#f4f1e8;color:#988154;font-size:13px}.amount-input-wrap{display:flex;align-items:center;border:1px solid #e7ebe2;background:#fafbf8;border-radius:11px;padding:0 11px;min-width:0;width:155px;height:48px;transition:border-color .2s,box-shadow .2s}.amount-input-wrap:focus-within{border-color:#91ac91;box-shadow:0 0 0 3px #6c906415}.amount-input-wrap>span{font-size:10px;color:#a1aa9c;flex:none}.amount-input-wrap input{background:transparent;border:0;width:100%;min-width:0;text-align:right;padding:9px 0 9px 8px;font-variant-numeric:tabular-nums;font-size:21px;font-weight:500;color:var(--green);outline:none}.amount-input-wrap input::placeholder{color:#bac2b5}.input-hint{font-size:10px;color:#a0a799;margin-top:12px;line-height:1.6}.summary-card{align-self:stretch;position:relative;overflow:hidden;background:#e8eedd;border:1px solid #e0e7d5;border-radius:22px;padding:30px 26px;display:flex;flex-direction:column;justify-content:center}.summary-label{font-size:12px;color:#6a7c5d;letter-spacing:1px}.total{font-size:42px;letter-spacing:-1.4px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:20px}.total>span{display:block;font-size:13px;color:#8b9a7f;font-weight:400;letter-spacing:1px;margin-bottom:10px}.summary-decoration{position:absolute;top:24px;right:22px;display:grid;place-items:center;background:#dbe5cc;width:44px;height:44px;border-radius:50%;color:#9dae87}.summary-divider{height:1px;background:#d8e1ce;width:100%;margin:34px 0 18px}.summary-card>p{font-size:11px;color:#8a977d;line-height:1.8}.save-area{grid-column:1 / -1;width:100%;max-width:420px;margin:7px auto 0}.primary{height:54px;border-radius:13px;background:var(--green);color:#f3f6ed;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:500;box-shadow:0 6px 15px #173f3613;letter-spacing:.4px}.primary:hover:not(:disabled){background:#245648}.save-button{width:100%}.save-meta{display:flex;align-items:center;justify-content:space-between;padding:10px 3px;min-height:48px;color:#99a191;font-size:11px}.success{color:#3e7551;display:inline-flex;gap:5px;align-items:center}.error,.warning{grid-column:1 / -1;padding:12px 16px;border-radius:11px;font-size:12px;line-height:1.7}.error{background:#fff0ed;color:#a24b3e}.warning{background:#fff4dc;color:#896c2a;margin-bottom:12px}.error button{margin-left:10px;color:inherit}.preview-banner{padding:10px 14px;border-radius:10px;font-size:11px;color:#8b712d;background:#f8eed1;margin-bottom:23px;line-height:1.7}.page-footer{display:flex;justify-content:space-between;margin-top:54px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#a1aa98;letter-spacing:.3px}.back-button{display:flex;align-items:center;gap:6px;margin-bottom:20px;background:transparent;color:#7a8a71;padding:0;min-height:35px;font-size:12px}.history-list{display:grid;gap:16px}.history-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #edf0e8;border-radius:19px;padding:24px 27px;box-shadow:0 5px 20px #243c3503;color:inherit}.history-card:hover{background:#fcfdf8}.history-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-top strong{font-size:15px;font-weight:500}.history-top small{display:block;color:#9ca694;font-size:10px;margin-top:6px}.history-total{display:flex;align-items:center;gap:14px;font-size:22px;font-weight:500;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.history-total svg{color:#9daa90}.history-channels{margin-top:20px;padding-top:17px;border-top:1px solid #eef1e9;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.history-channels small{display:block;color:#95a08e;font-size:11px;margin-bottom:6px}.history-channels strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.empty-state{background:#fff;border-radius:22px;text-align:center;padding:70px 20px;border:1px solid #edf0e8}.empty-state>span{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:23px;background:#eef2e6;color:#9aae87;margin-bottom:22px}.empty-state p{font-size:13px;color:#929e87;margin-top:12px}.loading-screen{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;min-height:45vh;color:#85927b;font-size:14px}.login-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#e9eedf;padding:60px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh}.login-story h1{font-size:44px;line-height:1.5;font-weight:500;letter-spacing:-1.8px;margin-bottom:25px}.login-story p{font-size:15px;color:#869477;line-height:2}.story-foot{font-size:11px;color:#829276;display:flex;align-items:center;gap:10px}.login-panel{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:360px}.login-card h2{font-size:27px;margin-bottom:12px}.login-card>.muted{font-size:12px}.login-card form{margin-top:28px}.login-label{display:block;font-size:12px;font-weight:500;color:#7a8972;margin-bottom:9px;margin-top:18px}.login-card input{width:100%;height:52px;border:1px solid #e0e6d8;border-radius:11px;padding:0 15px;background:#fff;color:#31492f;font-size:14px}.login-card input::placeholder{color:#b1baa8}.login-card input:disabled{background:#eef0e8}.login-button{width:100%;margin-top:25px;justify-content:space-between;padding:0 21px}.privacy-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;color:#9aa68c;margin-top:23px}.setup-notice{padding:13px 15px;background:#f5ecd8;border-radius:11px;margin-top:22px;font-size:11px;color:#8b773e;line-height:1.8}.setup-notice p{margin-top:4px}.preview-link{font-size:11px;margin-top:25px}.global-auth-error{position:fixed;bottom:20px;left:20px;right:20px}@media(min-width:1400px){.main-content{padding-top:64px}.page-heading{margin-bottom:38px}.channel-row{padding:29px 0}.summary-card{padding:34px}.total{font-size:48px}}@media(max-width:1100px){.sidebar{width:205px;padding:32px 20px}.workspace{margin-left:205px}.main-content{padding:32px}.topbar{padding:0 32px}.sales-form{grid-template-columns:1fr}.summary-card{padding:24px;min-height:150px}.total{font-size:40px}.total>span{display:inline;margin-right:12px}.summary-divider{margin:20px 0 12px}.save-area{max-width:none}.channel-row{padding:23px 0}.login-story{padding:45px 35px}.login-story h1{font-size:36px}}@media(max-width:700px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:82px;padding:18px 24px;background:#f5f6f2;border-bottom:0;gap:12px}.mobile-brand{display:block;flex:1}.mobile-brand .brand{font-size:16px;gap:9px}.mobile-brand .brand-mark{width:33px;height:33px;border-radius:10px}.mobile-brand .brand-mark svg{width:20px}.mobile-brand .brand small{display:none}.mobile-logout{display:grid;place-items:center;background:transparent;color:#9eaa92;width:36px;height:38px}.desktop-context{display:none}.cloud-status{font-size:10px;gap:5px}.main-content{padding:17px 24px calc(108px + env(safe-area-inset-bottom));max-width:530px}.page-heading{margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:9px}h1{font-size:32px;letter-spacing:-1px}.heading-line{display:block;margin-bottom:10px}.date-pill{display:inline-block;margin-top:9px;padding:6px 10px;font-size:10px}.muted{font-size:12px;line-height:1.8}.sales-form{gap:17px}.amount-card{padding:23px 20px 16px;border-radius:20px}.card-heading{margin-bottom:6px}h2{font-size:15px}.channel-row{padding:22px 0;gap:10px}.channel-label{font-size:13px;gap:9px}.channel-label small{font-size:9px}.channel-symbol{width:32px;height:32px;border-radius:10px}.amount-input-wrap{width:140px;min-width:105px;height:49px;padding:0 10px}.amount-input-wrap input{font-size:21px}.summary-card{border-radius:20px;padding:22px 24px;min-height:167px}.summary-label{font-size:11px}.total{font-size:40px;margin-top:15px;letter-spacing:-1px}.total>span{font-size:12px;margin-right:10px}.summary-decoration{width:35px;height:35px;top:19px;right:20px}.summary-decoration svg{width:22px}.summary-divider{margin:19px 0 10px}.summary-card>p{font-size:10px}.save-area{margin-top:2px}.primary{height:56px;border-radius:14px}.save-meta,.save-meta .text-button{font-size:10px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #e5eadf;background:#fdfefaef;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:9px 40px calc(9px + env(safe-area-inset-bottom));z-index:10;justify-content:space-around}.bottom-nav button{width:100px;height:47px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;background:transparent;color:#a0aa97;font-size:12px}.bottom-nav button.active{color:var(--green);background:#eaf0e3;font-weight:500}.page-footer{margin-top:31px;font-size:9px;padding-top:16px;display:block;text-align:center;line-height:2}.page-footer span{display:block;font-size:8px}.history-card{padding:20px 18px;border-radius:17px}.history-top strong{font-size:13px}.history-total{font-size:19px;gap:5px}.history-channels{gap:8px}.history-channels small{font-size:10px}.history-channels strong{font-size:13px}.login-shell{display:block}.login-story{min-height:0;background:#f5f6f2;padding:30px 27px 5px;gap:40px}.login-story>div:not(.brand){display:none}.story-foot{display:none}.login-panel{padding:45px 27px}.login-card h2{font-size:28px}.login-card input{font-size:16px}.login-card{max-width:400px}.preview-banner{margin-bottom:22px;font-size:10px}}@media(max-width:360px){.main-content,.topbar{padding-left:16px;padding-right:16px}.channel-label small{display:none}.amount-card{padding-left:16px;padding-right:16px}.amount-input-wrap{width:123px}.total{font-size:35px}.history-total{font-size:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.delete-link{margin-top:24px;background:transparent;color:#8d4b47;border:1px solid #dccac7;border-radius:12px;padding:10px 16px}.dialog-backdrop{position:fixed;inset:0;z-index:100;background:#173f3680;display:grid;place-items:center;padding:20px}.delete-dialog{background:#f5f6f2;border-radius:20px;padding:28px;width:min(100%,440px);max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #0003}.delete-dialog h2{margin-top:0}.dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.dialog-actions button{border-radius:12px;padding:12px 16px;border:1px solid #dccac7}.dialog-actions .danger-button{color:#fff;background:#a63f37;border-color:#a63f37}
