:root{font-family:IBM Plex Sans,system-ui,sans-serif;color:#202124;background:#f5f5f5;font-synthesis:none;--text: #202124;--muted: #626568;--accent: #c91123;--rule: #ededed;--surface: #fff;--frame: #f6f6f6;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 10px;border-radius:6px;font-size:.875rem;font-weight:500}button:hover{background:#ededed}button:active{transform:translateY(1px)}button:disabled{opacity:.6;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:1.5rem;line-height:1.25;font-weight:600;letter-spacing:-.02em}h2{font-size:1rem;font-weight:600}h3{font-size:1rem;font-weight:500;margin:20px 0 12px}p{line-height:1.5}small,.small{font-size:.8125rem;line-height:1.4}small{display:block;color:var(--muted)}.muted{color:var(--muted)}strong{font-weight:500}.num,.kpi-strip,.bill-totals,.collection,.bar-value{font-variant-numeric:tabular-nums}.right{text-align:right}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}input,select{height:40px;border:1px solid #cfd1d3;border-radius:6px;padding:8px 10px;background:#fff;color:var(--text);min-width:0;font-size:.875rem}input::placeholder{color:#6b6b6b}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%235f6368' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px}label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:500}.primary{background:var(--accent);color:#fff;min-height:40px;padding:9px 18px}.primary:hover{background:#ac0e1d}.secondary{border:1px solid #d6d7d8;background:#fff}.secondary:hover{background:#f7f7f7}.icon-button{width:36px;padding:6px;flex:none}.text-link{justify-content:flex-start;text-align:left;padding:0;min-height:28px;color:var(--accent);font-weight:500}.text-link:hover{background:none;text-decoration:underline}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}aside{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 14px 18px;background:var(--frame)}.brand,.login-brand{display:flex;align-items:center;gap:10px}.brand{padding:0 10px}.brand img{width:38px;height:38px;border-radius:50%}.brand span{font-weight:600;font-size:.875rem;white-space:nowrap}.brand small{font-weight:400;font-size:.8125rem;margin-top:3px}.workspace-label{font-size:.8125rem;color:var(--muted);margin:32px 10px 8px}.restaurant-select{margin:0 6px}.restaurant-select select{width:100%;font-size:.8125rem;background-color:#fff}.app-shell nav{display:flex;flex-direction:column;gap:6px;margin-top:26px}.app-shell nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;min-height:42px;font-size:.875rem;border-radius:6px;color:#505255}.app-shell nav a:hover{background:#ececec}.app-shell nav a[aria-current]{background:#e9e9e9;color:#202124;font-weight:500}.app-shell nav a[aria-current] svg{color:var(--accent)}.sidebar-bottom{margin-top:auto;padding:18px 10px 0}.sidebar-bottom p{font-size:.8125rem;overflow-wrap:anywhere}.sidebar-bottom small{margin-top:4px}.sidebar-bottom button{margin:15px 0 0 -8px;color:#505255}.work-area{min-width:0}.topbar{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 28px 0 24px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:.8125rem;color:var(--muted);min-width:0}.breadcrumb span{color:var(--text)}.topbar-note{font-size:.8125rem;color:var(--muted)}.sheet{background:#fff;border:1px solid #eaeaea;border-radius:16px;margin:0 8px 8px 0;min-height:calc(100vh - 64px);padding:28px 28px 16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading p{font-size:.875rem;color:var(--muted);margin-top:6px}.freshness{display:flex;align-items:center;gap:6px;margin-top:16px;color:var(--muted);font-size:.8125rem}.sync-note{font-size:.8125rem;color:var(--muted);margin-top:4px}.date-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:24px 0}.quick-dates,.date-inputs,.quick-amounts{display:flex;align-items:center;gap:4px}.quick-dates{background:#f5f5f5;padding:3px;border-radius:8px}.quick-dates button{font-size:.8125rem;min-height:32px}.quick-dates .selected{background:#fff}.date-inputs{gap:10px;font-size:.8125rem;color:var(--muted)}.date-inputs input{height:36px;font-size:.8125rem;width:143px}.kpi-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));border:1px solid #eaeaea;border-radius:8px;margin:20px 0 24px;padding:20px 0}.kpi-strip>div{display:flex;flex-direction:column;gap:5px;padding:0 22px;border-left:1px solid var(--rule)}.kpi-strip>div:first-child{border-left:0}.kpi-strip span{font-size:.875rem;color:var(--muted)}.kpi-strip strong{font-size:1.375rem;line-height:1.3;font-weight:400}.kpi-strip .lead strong{font-size:1.875rem}.kpi-strip small{font-size:.8125rem}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:stretch}.panel{border:1px solid #eaeaea;border-radius:8px;padding:20px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-head button{padding:0;min-height:24px;font-size:.8125rem}.section-head h3{margin:0}.section-head .secondary{padding:7px 10px;min-height:36px}.chart-area{height:208px;display:flex;gap:12px}.chart-axis{width:65px;display:flex;flex-direction:column;justify-content:space-between;padding:26px 0 31px;font-size:.75rem;color:var(--muted);flex:none}.bars{display:flex;flex:1;gap:14px;min-width:0;padding-top:6px}.bar-column{display:flex;flex-direction:column;flex:1;text-align:center;min-width:0;font-size:.75rem;color:var(--muted);gap:8px}.bar-value{font-size:.6875rem;color:var(--muted);white-space:nowrap}.bar-track{flex:1;display:flex;align-items:flex-end;border-bottom:1px solid #ddd;min-height:100px;position:relative}.bar-track:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:1px solid #f3f3f3;pointer-events:none}.bar{width:100%;max-width:42px;margin:auto auto 0;background:var(--accent);border-radius:2px 2px 0 0}.collection-row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;font-size:.875rem;border-bottom:1px solid var(--rule)}.collection-row:last-child{border-bottom:0}.order-row{width:100%;text-align:left;display:flex;justify-content:space-between;gap:14px;border-radius:0;padding:11px 0;border-bottom:1px solid var(--rule);min-height:64px;font-size:.875rem;font-weight:400}.order-row:hover{background:#fafafa}.order-row strong{display:block}.order-row small{margin-top:4px}.order-row .status{margin-top:5px}.ranking>div{display:grid;grid-template-columns:1fr auto;gap:5px 16px;font-size:.875rem;margin-bottom:12px}.ranking>div:last-child{margin-bottom:0}.ranking small{margin-top:3px}.ranking-track{height:2px;background:#f1f1f1;grid-column:1/-1}.ranking-track i{height:2px;display:block;background:#8b8d8f}.ranking>div:first-child i{background:var(--accent)}.recent{margin-top:28px}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{font-weight:400;color:var(--muted);font-size:.8125rem;white-space:nowrap;padding:12px 14px;border-bottom:1px solid #e7e7e7}td{padding:14px;border-bottom:1px solid var(--rule);line-height:1.4}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}td small{margin-top:3px}.num{text-align:right;white-space:nowrap}.table-wrap td:first-child{min-width:160px}tfoot td,tfoot th{border-bottom:0;border-top:1px solid #ddd;font-weight:500;padding-top:18px;color:var(--text)}.status{display:inline-flex;align-items:center;font-size:.75rem;font-weight:500;border-radius:4px;padding:3px 7px;line-height:1.2;white-space:nowrap;flex:none}.positive{color:#165e37;background:#e7f4eb}.negative{color:#9b1c2b;background:#fcebed}.notice{color:#750;background:#fff5d9}.neutral{color:#555;background:#eee}.tabs{display:flex;gap:22px;border-bottom:1px solid #eaeaea;margin-top:24px;overflow:auto;white-space:nowrap}.tabs button{border-radius:0;padding:12px 1px;border-bottom:2px solid transparent;font-weight:400;color:var(--muted)}.tabs button.active{border-bottom-color:var(--accent);color:var(--text);font-weight:500}.tabs button:hover{background:none;color:var(--text)}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:24px 0}.toolbar>.muted{margin-left:auto;font-size:.875rem}.search{display:flex;flex-direction:row;align-items:center;border:1px solid #cfd1d3;border-radius:6px;padding-left:10px;font-weight:400;min-width:240px;max-width:360px;flex:1;gap:0}.search svg{color:var(--muted);flex:none}.search input{border:0;background:none;width:100%;height:36px;outline-offset:0;padding-left:8px}.inline-label{flex-direction:row;align-items:center;gap:8px;color:var(--muted);font-weight:400}.inline-label select{height:36px}.report-tabs{gap:20px}.report-head{margin:26px 0 16px}.customer-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin:24px 0 18px}.customer-filters .search{height:40px;min-width:245px}.customer-filters label{font-size:.8125rem}.customer-filters input[type=number]{width:110px}.checkbox{flex-direction:row;align-items:center;gap:8px;font-weight:400;min-height:40px}.checkbox input{width:16px;height:16px;accent-color:var(--accent);margin:0}.customer-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:18px}.quick-amounts{gap:6px;flex-wrap:wrap;font-size:.8125rem}.quick-amounts button{min-height:32px;padding:5px 9px;border:1px solid #e4e4e4;font-size:.8125rem}.quick-amounts .selected{border-color:#747474;background:#f4f4f4}.customer-name{font-weight:500}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:36px 20px;min-height:180px;color:var(--muted)}.empty svg{color:#747474}.empty strong{font-size:1rem;color:var(--text)}.empty p{max-width:420px;font-size:.875rem}.note{padding:12px 14px;background:#f7f7f7;border-radius:6px;font-size:.875rem;color:#535659;line-height:1.5;margin:16px 0}.error,.auth-retry{color:#9b1c2b;background:#fff0f1;padding:12px 14px;border-radius:6px;font-size:.875rem;margin:16px 0;overflow-wrap:anywhere}.success{display:flex;align-items:center;gap:8px;color:#165e37;background:#e7f4eb;padding:10px 12px;font-size:.875rem;border-radius:6px;margin-top:16px}.success button{margin-left:auto}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f4f4f4;margin:-28px -28px 25px;padding:8px 28px;font-size:.8125rem;border-radius:16px 16px 0 0}.demo-banner button{font-size:.8125rem;padding:0;min-height:28px;color:var(--accent)}.sheet-footer{margin-top:36px;border-top:1px solid var(--rule);padding-top:16px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:.75rem}.sheet-footer span:first-child{font-weight:500}.mobile-menu{display:none}.load-more{display:flex;margin:20px auto;border:1px solid #ddd}.loading-state{padding:80px 20px;text-align:center;color:var(--muted)}dialog{border:1px solid #ddd;border-radius:16px;padding:24px;width:min(600px,calc(100vw - 32px));max-height:90dvh;color:var(--text);background:#fff;box-shadow:0 16px 60px #0002}dialog::backdrop{background:#0005}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-head h2{font-size:1.25rem}.detail-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.8125rem;color:var(--muted);margin-bottom:14px}.bill-totals{margin:20px 0}.bill-totals>div{display:flex;justify-content:space-between;gap:20px;margin:10px 0;font-size:.875rem}.bill-totals dd{margin:0}.bill-total{font-size:1.125rem!important;font-weight:600;padding-top:10px;border-top:1px solid #eee}dialog form label{margin:16px 0}dialog .section-head{margin-top:24px}dialog .variant-row label{margin:0}.variant-row{display:grid;grid-template-columns:1fr 125px 32px;gap:10px;align-items:end;margin:12px 0}.variant-row input{width:100%}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;text-align:center;padding:24px}.boot img{width:56px;height:56px;border-radius:50%}.login-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;background:#f6f6f6;padding:40px 24px 24px}.login-brand{align-self:flex-start;max-width:1200px;width:100%;margin:0 auto 55px;font-size:.875rem;font-weight:600}.login-brand img{width:44px;height:44px;border-radius:50%}.login-brand small{margin-top:4px;font-weight:400}.login-card{width:100%;max-width:450px;padding:36px;background:#fff;border:1px solid #eaeaea;border-radius:16px}.login-kicker{font-size:.875rem;color:var(--accent);margin-bottom:16px}.login-card h1{font-size:1.625rem}.login-card>.muted{margin:10px 0 26px;font-size:.9375rem}.login-card form label{margin:18px 0}.login-card form input{height:44px;font-size:1rem}.login-card form>.primary{width:100%;margin-top:8px}.login-card>.small{margin-top:26px}.demo-link{margin:20px 0 0;padding:0;color:var(--muted)}.login-links{display:flex;justify-content:space-between;margin-top:16px;flex-wrap:wrap}.login-links button{font-size:.8125rem;padding:0}.login-page footer{margin-top:auto;padding-top:50px;font-size:.8125rem;color:var(--muted)}.auth-retry{margin:0;border-radius:0;display:flex;align-items:center;justify-content:center;gap:12px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.sheet{padding:32px 40px}.demo-banner{margin:-32px -40px 25px;padding:8px 40px}.overview-grid{grid-template-columns:minmax(0,1fr) 360px}.chart-area{height:225px}}@media(max-width:1200px){.overview-grid{grid-template-columns:minmax(0,1fr) 280px}.sheet{padding:24px}.demo-banner{margin:-24px -24px 24px;padding:8px 24px}.kpi-strip>div{padding:0 16px}.chart-axis{width:52px}.bar-value{display:none}.bars{gap:8px}.topbar-note{display:none}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.kpi-strip>div:nth-child(3){border-left:0}.kpi-strip strong{font-size:1.375rem}.kpi-strip .lead strong{font-size:1.875rem}}@media(max-width:1000px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.brand{padding:0 4px;gap:7px}.brand img{width:32px;height:32px}.brand span{font-size:.75rem}.overview-grid{grid-template-columns:minmax(0,1fr)}.collection{display:none}.sheet{padding:24px}.date-inputs{width:100%;justify-content:flex-start}.date-tools,.toolbar{gap:14px}.report-tabs{gap:18px}.chart-area{height:200px}.bar-value{display:none}}@media(max-width:700px){.app-shell{display:block}.work-area{width:100%}.app-shell aside{position:fixed;z-index:20;left:0;top:0;width:250px;transform:translate(-100%);transition:transform .18s}.menu-open aside{transform:translate(0)}.nav-backdrop{display:block;position:fixed;inset:0;z-index:19;background:#0005;border-radius:0}.mobile-menu{display:inline-flex}.topbar{height:52px;padding:0 14px;justify-content:flex-start;gap:12px}.breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb>svg{flex:none}.sheet{margin:0;border:0;border-radius:0;min-height:calc(100vh - 52px);padding:22px 18px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:1.375rem}.page-heading p{font-size:.8125rem;max-width:230px}.page-heading>.secondary{padding:7px 9px;font-size:.8125rem}.freshness{font-size:.75rem;align-items:flex-start;line-height:1.5}.freshness svg{flex:none;margin-top:2px}.sync-note{font-size:.75rem}.date-tools{margin:20px 0}.quick-dates{width:100%;justify-content:space-between}.quick-dates button{flex:1;padding:6px}.date-inputs{gap:8px}.date-inputs input{width:138px}.kpi-strip{margin:20px 0;padding:16px 0;row-gap:18px}.kpi-strip>div{padding:0 14px;gap:4px}.kpi-strip span{font-size:.8125rem}.kpi-strip strong{font-size:1.25rem}.kpi-strip .lead strong{font-size:1.625rem}.kpi-strip small{font-size:.75rem}.overview-grid{gap:20px}.panel{padding:16px}.sales-chart{padding:16px 12px}.chart-area{height:190px;gap:6px}.chart-axis{font-size:.6875rem;width:48px}.bars{gap:6px}.bar-column{font-size:.6875rem}.bar-value{display:none}.bar-track{min-height:125px}.section-head{gap:8px}.section-head h2{font-size:.9375rem}.sales-chart .section-head{flex-wrap:wrap}.sales-chart .section-head>.small{font-size:.75rem}.collection{display:block}.demo-banner{margin:-22px -18px 22px;padding:8px 18px;font-size:.75rem;border-radius:0}.demo-banner button{font-size:.75rem}.tabs{gap:20px;margin-top:20px}.tabs button{font-size:.8125rem}.toolbar{align-items:stretch;gap:12px;margin:20px 0}.search{flex-basis:100%;max-width:none}.inline-label{font-size:.8125rem}.toolbar>.muted{align-self:center;font-size:.8125rem}.customer-filters{gap:12px}.customer-filters>.search{flex-basis:100%}.customer-filters>label:not(.search):not(.checkbox){flex:1;min-width:130px}.customer-filters input[type=number]{width:100%}.customer-filters>.checkbox{flex-basis:100%}.customer-actions{gap:16px}.quick-amounts{gap:5px}.quick-amounts>span{flex-basis:100%;margin-bottom:3px}.customer-actions>.secondary{margin-left:auto}.sheet-footer{font-size:.6875rem;align-items:flex-start}.sheet-footer span:last-child{text-align:right;max-width:160px}.table-wrap{padding-bottom:8px}table{font-size:.8125rem}td{padding:12px 10px}th{padding:10px;font-size:.75rem}.table-wrap td:first-child{min-width:150px}.table-wrap td small{font-size:.75rem}.table-wrap td:not(:first-child){white-space:nowrap}.note{font-size:.8125rem}.recent{margin-top:24px}.login-page{padding:24px 18px}.login-brand{margin-bottom:40px}.login-card{padding:26px 22px}.login-card h1{font-size:1.5rem}.login-card>.muted{font-size:.875rem}.login-page footer{text-align:center}dialog{padding:20px}.variant-row{grid-template-columns:minmax(0,1fr) 100px 28px;gap:8px}.report-head{gap:10px}.report-head h2{font-size:.9375rem}.report-head>.muted{font-size:.75rem}.auth-retry{flex-direction:column}.empty{padding:30px 12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
