body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;margin:0;font-family:system-ui,Segoe UI,Roboto,sans-serif}@font-face{font-family:Lora;font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/lora-variable.woff2)format("woff2")}@font-face{font-family:Lora;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/lora-variable.woff2)format("woff2")}@font-face{font-family:"Source Sans 3";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/source-sans-3-variable.woff2)format("woff2")}@font-face{font-family:"Source Sans 3";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/source-sans-3-variable.woff2)format("woff2")}:root{--xab-bg:#e7eae5;--xab-card-bg:#fbfbfa;--xab-card-border:#dbdfd9;--xab-card-shadow:0 1px 2px #14231f0a;--xab-text:#16241f;--xab-text-muted:#5b6b66;--xab-sidebar-bg:#0b2e2b;--xab-sidebar-chip-bg:#123f3b;--xab-sidebar-text:#ddefec;--xab-sidebar-label:#6fa39b;--xab-icon-stroke:#7fd9cf;--font-heading:"Lora", Georgia, serif;--font-body:"Source Sans 3", system-ui, -apple-system, sans-serif}*{box-sizing:border-box}body{font-family:var(--font-body);background:var(--xab-bg);color:var(--xab-text);margin:0}.page{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.login-card,.dashboard-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;width:100%;max-width:360px;padding:2rem}h1{font-family:var(--font-heading);margin:0 0 .25rem;font-size:1.5rem;font-weight:700}.subtitle{color:var(--xab-text-muted);margin:0 0 1.25rem}label{color:var(--xab-text);margin-bottom:1rem;font-size:.9rem;display:block}input,select{width:100%;font-size:1rem;font-family:var(--font-body);color:#1a1a1a;background:#fff;border:1px solid #ccc;border-radius:8px;margin-top:.35rem;padding:.6rem .75rem;display:block}select{min-width:9em}.checkbox-label{align-items:center;gap:.5rem;display:flex}.checkbox-label input{width:auto;margin-top:0;display:inline-block}.tab-bar{-webkit-overflow-scrolling:touch;gap:.5rem;padding:1rem 1.5rem 0;display:flex;overflow-x:auto}@media (width<=899.98px){.tab-bar{display:none}}.nav-section-label{font-family:var(--font-body);letter-spacing:.05em;text-transform:uppercase;color:var(--xab-sidebar-label);padding:.6rem .75rem .2rem;font-size:.7rem;font-weight:600}.tab-btn{color:#444;width:auto;font-family:var(--font-body);background:0 0;border:none;border-bottom:2px solid #0000;border-radius:0;flex-shrink:0;align-items:center;gap:.6rem;padding:.5rem .25rem;display:flex}.tab-btn.active{color:var(--brand-color,#0e7c7b);border-bottom-color:var(--brand-color,#0e7c7b);font-weight:600}@media (width>=900px){.app-body{align-items:flex-start;display:flex}.tab-bar{background:var(--xab-sidebar-bg);flex-direction:column;flex-shrink:0;gap:.2rem;width:232px;min-height:100vh;padding:1.5rem 1rem;display:flex;position:sticky;top:0;overflow:visible auto}.tab-btn{text-align:left;width:100%;color:var(--xab-sidebar-text);border-bottom:none;border-radius:10px;padding:.6rem .85rem;font-weight:400}.tab-btn svg{flex-shrink:0}.tab-btn.active{background:var(--brand-color,#0e7c7b);color:#fff;border-bottom-color:#0000;font-weight:600}.app-content{flex:1;min-width:0}}.bottom-nav{display:none}@media (width<=899.98px){.bottom-nav{background:var(--xab-card-bg);border-top:1px solid var(--xab-card-border);padding:.4rem .25rem calc(.4rem + env(safe-area-inset-bottom,0px));flex:none;display:flex}.bottom-nav-btn{width:auto;font-family:var(--font-body);color:var(--xab-text-muted);background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:.2rem;padding:.35rem .25rem;font-size:.7rem;display:flex}.bottom-nav-btn.active{color:var(--brand-color,#0e7c7b);font-weight:600}}.more-menu-overlay{z-index:30;background:#0b2e2b59;align-items:flex-end;display:flex;position:fixed;inset:0}.more-menu{background:var(--xab-card-bg);width:100%;padding:.75rem .5rem calc(.75rem + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;max-height:70vh;overflow-y:auto}.more-menu-item{width:100%;color:var(--xab-text);font-size:.95rem;font-family:var(--font-body);text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:.75rem;padding:.85rem 1rem;display:flex}.sidebar-logo{align-items:center;gap:.6rem;margin-bottom:.5rem;padding:0 .5rem .75rem;display:flex}.sidebar-logo-chip{background:var(--xab-sidebar-chip-bg);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.sidebar-logo-text{font-family:var(--font-heading);color:#fff;font-size:1.05rem;font-weight:600}button{background:var(--brand-color,#0e7c7b);color:#fff;width:100%;font-size:1rem;font-family:var(--font-body);cursor:pointer;border:none;border-radius:8px;padding:.7rem}button:disabled{opacity:.6;cursor:default}.error{color:#a30000;background:#fde2e2;border-radius:8px;margin-bottom:1rem;padding:.6rem .75rem;font-size:.9rem}dl{grid-template-columns:auto 1fr;gap:.35rem 1rem;margin:0 0 1rem;display:grid}dt{color:var(--xab-text-muted);font-size:.85rem}dd{margin:0;font-weight:500}.permissions{color:#444;flex-wrap:wrap;gap:.35rem;max-height:160px;margin:0 0 1.25rem;padding:0;font-size:.85rem;list-style:none;display:flex;overflow-y:auto}.permissions li{background:var(--xab-card-border);color:var(--xab-text);border-radius:999px;padding:.15rem .5rem}.app-shell{background:var(--xab-bg);min-height:100vh}@media (width<=899.98px){.app-shell-tenant{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.phone-identity-bar{flex:none}.app-body{flex-direction:column;flex:auto;min-height:0;display:flex}.app-content{-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow-y:auto}}.top-bar{background:var(--xab-bg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:1.25rem 1.5rem .5rem;font-size:.9rem;display:flex}@media (width<=899.98px){.top-bar{display:none}}.top-bar-greeting{color:var(--xab-text);font-size:1.15rem;font-weight:600}.top-bar-greeting-sub{color:var(--xab-text-muted);margin-top:.15rem;font-size:.85rem}.top-bar-actions{align-items:center;gap:.6rem;display:flex}.phone-identity-bar{display:none}@media (width<=899.98px){.phone-identity-bar{background:var(--xab-bg);align-items:center;gap:.6rem;padding:1rem 1.25rem;display:flex}.phone-identity-bar .sidebar-logo-chip{width:32px;height:32px}.phone-identity-bar-name{font-family:var(--font-heading);color:var(--xab-text);flex:1;font-size:1.05rem;font-weight:700}}.brand-bar{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.brand-logo{object-fit:contain;width:auto;max-width:120px;height:28px}.powered-by-credit{text-align:center;color:var(--xab-text-muted);padding:1rem 0 1.5rem;font-size:.75rem}.admin-page{max-width:1400px;margin:0 auto;padding:1.5rem}.modal-overlay{z-index:10;background:#0b2e2b66;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-card{box-shadow:0 10px 40px #0b2e2b33}.modal-actions{gap:.75rem;display:flex}.modal-actions button{flex:1;width:auto}.admin-header{justify-content:space-between;align-items:center;margin-bottom:1.25rem;display:flex}.admin-header h1{margin:0}.secondary-btn,.top-bar button{width:auto;color:var(--brand-color,#0e7c7b);border:1px solid var(--brand-color,#0e7c7b);font-size:.9rem;font-family:var(--font-body);background:#fff;padding:.5rem 1rem}.secondary-btn.danger{color:#a30000;background:#fff;border-color:#a30000}.create-business-form,.business-table,.credentials-banner{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;margin-bottom:1.5rem;padding:1.5rem}.create-business-form button[type=submit]{width:auto;padding:.6rem 1.25rem}.credentials-banner{background:#fffbea;border:1px solid #f0d68a}.credentials-banner dl{margin:.75rem 0}.credentials-banner .password{-webkit-user-select:all;user-select:all;font-family:ui-monospace,monospace;font-size:1.1rem;font-weight:600}.credentials-banner button{width:auto;padding:.5rem 1rem}.search-box{border:1px solid #ccc;border-radius:8px;width:100%;max-width:320px;margin-bottom:1rem;padding:.6rem .75rem;font-size:1rem;display:block}.row-actions{justify-content:flex-end;gap:.5rem;display:flex}.business-table{border-collapse:collapse;width:100%;padding:0;overflow:hidden}.business-table th,.business-table td{text-align:left;border-bottom:1px solid var(--xab-card-border);padding:.75rem 1.5rem;font-size:.9rem}.business-table th{color:var(--xab-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:600}.business-table tr:last-child td{border-bottom:none}.business-table td button{width:auto;padding:.35rem .75rem;font-size:.85rem}.status-badge{border-radius:999px;padding:.2rem .6rem;font-size:.8rem;font-weight:500}.status-badge.status-pending_approval{color:#8a6100;background:#fff3cd}.status-badge.status-active{color:#166534;background:#dcfce7}.status-badge.status-pending{color:#8a6100;background:#fff3cd}.status-badge.status-approved{color:#166534;background:#dcfce7}.status-badge.status-rejected,.status-badge.status-suspended{color:#a30000;background:#fde2e2}.status-badge.status-terminated{color:#374151;background:#e5e7eb}.date-range-picker{align-items:center;gap:.6rem;margin-bottom:1.5rem;display:flex}.date-range-picker .date-range-sep{color:var(--xab-text-muted);font-size:.85rem}.date-range-picker input{border-radius:8px;width:auto;margin-top:0;padding:.4rem .6rem;font-size:.85rem}.dashboard-header-desktop{display:block}.dashboard-header-phone{display:none}@media (width<=899.98px){.dashboard-header-desktop{display:none}.dashboard-header-phone{padding:.25rem 0 1.25rem;display:block}.dashboard-header-phone .top-bar-greeting{font-family:var(--font-heading);font-size:1.4rem;font-weight:700}.dashboard-header-phone .top-bar-greeting-sub{font-size:.9rem}}.admin-header-sub{color:var(--xab-text-muted);margin:.15rem 0 0;font-size:.85rem}.cart-picker{align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.cart-picker select,.cart-picker .select-root{flex:1;margin-top:0}.cart-picker input{width:5rem;margin-top:0}.cart-picker button{flex-shrink:0;width:auto;margin-top:0}@media (width<=899.98px){.cart-picker{flex-direction:column;align-items:stretch}.cart-picker select,.cart-picker .select-root,.cart-picker input,.cart-picker button{width:100%}}.cart-table{box-shadow:none;border:1px solid var(--xab-card-border);margin-bottom:.5rem}.cart-total{margin:0 0 1rem;font-size:1.1rem;font-weight:600}.aggregate-total{color:var(--xab-text);background:var(--xab-bg);border-radius:999px;padding:.4rem .85rem;font-size:.9rem}.ledger-summary{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;flex-wrap:wrap;gap:1.25rem 2rem;margin-bottom:1.5rem;padding:1.25rem 1.5rem;display:flex}.ledger-summary-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;margin-bottom:1.5rem;padding:1.25rem 1.5rem}.ledger-summary-card h2{margin-top:0}.ledger-summary-card .ledger-summary{box-shadow:none;border:none;margin-bottom:1rem;padding:0}.ledger-summary dt{font-size:.8rem}.ledger-summary dd{font-family:var(--font-heading);font-size:1.3rem;font-weight:700}.admin-page h2{font-family:var(--font-heading);margin:1.5rem 0 .75rem;font-size:1.1rem}.payment-note{background:var(--xab-bg);color:var(--xab-text-muted);border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.payment-section-label{margin-bottom:.5rem;font-weight:500}.error-inline{color:#a30000;font-weight:500}.remind-button{flex-direction:column;align-items:flex-start;gap:.25rem;display:inline-flex}.remind-btn{align-items:center;gap:.4rem;width:auto;display:inline-flex}.remind-hint{color:var(--xab-text-muted);font-size:.75rem}.ledger-sale-cards{flex-direction:column;gap:.75rem;margin-bottom:1rem;display:flex}.ledger-sale-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:12px;flex-direction:column;gap:.5rem;padding:.85rem 1rem;display:flex}.ledger-sale-card-head{justify-content:space-between;align-items:center;font-weight:600;display:flex}.ledger-sale-card-total{font-family:var(--font-heading)}.ledger-sale-card-row{color:var(--xab-text-muted);justify-content:space-between;gap:.75rem;font-size:.9rem;display:flex}.ledger-sale-card-apply{border-top:1px solid var(--xab-card-border);flex-direction:column;gap:.5rem;padding-top:.5rem;display:flex}.ledger-sale-card-apply .checkbox-label{font-size:1rem}.ledger-sale-card-apply input[type=checkbox]{width:20px;height:20px}.method-seg{flex-wrap:wrap;gap:.35rem;margin:0;display:flex}.method-seg-btn{border:1px solid var(--xab-card-border);background:var(--xab-card-bg);width:auto;min-height:34px;color:var(--xab-text-muted);font-family:var(--font-body);border-radius:10px;flex:0 auto;padding:.3rem .65rem;font-size:.8rem;font-weight:700;line-height:1.2}.method-seg-btn.active{color:#0b615f;background:#e4f3f1;border-color:#0b615f}.business-table td .method-seg-btn{padding:.3rem .6rem;font-size:.8rem}.method-setall{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:0 0 .75rem;display:flex}.method-setall-label{color:var(--xab-text);font-size:.85rem;font-weight:600}.method-summary{color:#0b4f4d;background:#e4f3f1;border-radius:10px;margin:.25rem 0 .75rem;padding:.55rem .75rem;font-size:.9rem}.method-summary-label{margin-right:.35rem;font-weight:700}.method-summary-text{font-variant-numeric:tabular-nums}@media (width<=899.98px){.ledger-sale-card .method-seg,.method-setall .method-seg{grid-template-columns:1fr 1fr;width:100%;display:grid}.ledger-sale-card .method-seg-btn,.method-setall .method-seg-btn{min-height:44px;font-size:.9rem}.method-setall{flex-direction:column;align-items:stretch}}.txn-remind{margin-top:.35rem}.customer-cards{flex-direction:column;gap:.75rem;display:flex}.customer-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:12px;flex-direction:column;gap:.4rem;padding:.85rem 1rem;display:flex}.customer-card-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.customer-card-name{font-weight:600}.customer-card-row{color:var(--xab-text-muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.customer-card-actions{border-top:1px solid var(--xab-card-border);flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:.4rem;display:flex}.customer-card-actions .secondary-btn{width:auto}.reminder-cards{flex-direction:column;gap:.75rem;display:flex}.reminder-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:12px;flex-direction:column;gap:.4rem;padding:.85rem 1rem;display:flex}.reminder-card-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.expense-cards{flex-direction:column;gap:.75rem;display:flex}.expense-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:12px;flex-direction:column;gap:.4rem;padding:.85rem 1rem;display:flex}.expense-card-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.expense-card-amount{font-family:var(--font-heading);font-weight:600}.payment-actions-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.payment-actions-row button[type=submit]{flex:auto;width:auto}.payment-mode-picker{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.payment-mode-btn{width:auto;color:var(--xab-text);background:#fff;border:1px solid #ccc;border-radius:999px;padding:.4rem 1rem;font-size:.85rem}.payment-mode-btn.active{background:var(--brand-color,#0e7c7b);color:#fff;border-color:var(--brand-color,#0e7c7b)}.qty-control{align-items:center;gap:.35rem;display:flex}.qty-control button{flex-shrink:0;width:1.75rem;height:1.75rem;padding:0;line-height:1}.qty-control input{text-align:center;width:3.5rem;margin-top:0;padding:.35rem .4rem}.allocation-cell{align-items:center;gap:.5rem;display:flex}.allocation-cell input[type=checkbox]{width:auto;margin-top:0}.allocation-cell input[type=number]{width:6rem;margin-top:0;padding:.35rem .4rem}.stat-card-grid{grid-template-columns:1fr;gap:1rem;margin-bottom:1.5rem;display:grid}.stat-card-secondary-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}@media (width>=900px){.stat-card-grid{grid-template-columns:repeat(3,1fr)}.stat-card-secondary-row{display:contents}}.stat-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);text-align:left;width:100%;font-family:var(--font-body);cursor:default;border-radius:16px;flex-direction:column;gap:.85rem;padding:1.25rem;display:flex;position:relative}.stat-card:disabled,.info-card-head:disabled{opacity:1;color:inherit}.stat-card.clickable,.info-card-head.clickable{cursor:pointer}.stat-card.clickable:hover,.info-card-head.clickable:hover{border-color:var(--brand-color,#0e7c7b)}.stat-card.clickable:active,.info-card-head.clickable:active{transform:scale(.98)}.stat-card-chevron{color:var(--xab-text-muted);position:absolute;top:1.1rem;right:1.1rem}.stat-card-head{justify-content:space-between;align-items:center;display:flex}@media (width<=899.98px){.stat-card.compact .stat-card-head{flex-direction:column-reverse;align-items:flex-start;gap:.6rem}.stat-card.compact .stat-card-icon{width:40px;height:40px}.stat-card.compact .stat-card-value{font-size:1.4rem}.stat-card.compact .stat-card-sub{display:none}}.stat-card-label{color:var(--xab-text-muted);font-size:.8rem;font-weight:600}.stat-card-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.stat-card-icon.teal,.tile-icon.teal,.txn-icon.teal{color:#0e7c7b;background:#e4f3f1}.stat-card-icon.peach,.tile-icon.peach,.txn-icon.peach{color:#b0611c;background:#fdf1e0}.stat-card-icon.green,.tile-icon.green,.txn-icon.green{color:#1f7a47;background:#e7f6ee}.stat-card-value{font-family:var(--font-heading);color:var(--xab-text);font-size:1.7rem;font-weight:700}.stat-card-sub{color:var(--xab-text-muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.quick-action-card{background:var(--brand-color,#0e7c7b);color:#fff;cursor:pointer;text-align:left;width:100%;font-family:var(--font-body);border:none;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem;display:flex}.quick-action-card-title{font-family:var(--font-heading);font-size:1.1rem;font-weight:700}.quick-action-card-sub{opacity:.85;font-size:.85rem}.info-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;margin-bottom:1rem;padding:1.25rem}.info-card-head{text-align:left;width:100%;font-family:var(--font-body);cursor:default;background:0 0;border:none;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:0;display:flex}.info-card-head h3{font-family:var(--font-heading);color:var(--xab-text);margin:0;font-size:1rem;font-weight:700}.pill-badge{border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .75rem;font-size:.78rem;font-weight:600;display:inline-flex}.pill-badge.success{color:#1f7a47;background:#e7f6ee}.pill-badge.warning{color:#b0611c;background:#fdf1e0}.info-card-row{color:var(--xab-text-muted);align-items:center;gap:.5rem;margin:0;font-size:.9rem;display:flex}.info-card-row svg{color:#1f7a47;flex-shrink:0}.info-card .business-table{box-shadow:none;border:none;margin:0}.view-tabs{border-bottom:1px solid var(--xab-card-border);gap:1.5rem;margin-bottom:1.25rem;display:flex}.view-tab{width:auto;color:var(--xab-text-muted);font-size:.9rem;font-weight:700;font-family:var(--font-body);background:0 0;border:none;border-bottom:2.5px solid #0000;border-radius:0;padding:0 0 .7rem}.view-tab.active{color:var(--brand-color,#0e7c7b);border-bottom-color:var(--brand-color,#0e7c7b)}.tile-grid{grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:1.25rem;display:grid}@media (width>=600px){.tile-grid{grid-template-columns:repeat(4,1fr)}}.tile{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;flex-direction:column;gap:.4rem;padding:1rem;display:flex}.tile-icon{border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;margin-bottom:.2rem;display:flex}.tile-label{color:var(--xab-text-muted);font-size:.75rem;font-weight:600}.tile-value{font-family:var(--font-heading);color:var(--xab-text);font-size:1.15rem;font-weight:700}.tile-sub{color:var(--xab-text-muted);font-size:.72rem}.filter-chips{-webkit-overflow-scrolling:touch;gap:.5rem;margin-bottom:1rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.filter-chips::-webkit-scrollbar{display:none}.chip{width:auto;color:var(--xab-text-muted);background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:999px;flex:none;padding:.45rem .85rem;font-size:.78rem;font-weight:600}.chip.active{color:#0b615f;background:var(--xab-card-border);background:#e4f3f1;border-width:1.5px;border-color:#0b615f;font-weight:700}.active-filter-label{color:var(--xab-text-muted);margin:0 0 .5rem;font-size:.8rem}.active-filter-label strong{color:var(--xab-text)}.txn-list{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;overflow:hidden}.txn-row{border-bottom:1px solid var(--xab-card-border);align-items:center;gap:.75rem;padding:.85rem 1rem;display:flex}.txn-row:last-child{border-bottom:none}.txn-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.txn-body{flex:auto;min-width:0}.txn-name{color:var(--xab-text);white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:600;overflow:hidden}.txn-meta{color:var(--xab-text-muted);margin-top:.1rem;font-size:.76rem}.txn-detail-line{color:var(--xab-text-muted);flex-wrap:wrap;gap:.3rem .7rem;margin-top:.3rem;font-size:.72rem;display:flex}.txn-amt{text-align:right;flex-shrink:0}.txn-value{color:var(--xab-text);font-size:.88rem;font-weight:700}.txn-amt .pill-badge{margin-top:.25rem;padding:.1rem .5rem;font-size:.68rem}.section-head{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.section-title{color:var(--xab-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:700}.count-pill{color:#0b615f;background:#e4f3f1;border-radius:999px;padding:.15rem .6rem;font-size:.7rem;font-weight:700}.pill-badge.neutral{color:#374151;background:#e5e7eb}.search{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:10px;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.6rem .85rem;display:flex}.search-input-plain{font-family:var(--font-body);color:var(--xab-text);background:0 0;border:none;outline:none;width:100%;margin-top:0;padding:0;font-size:.9rem}.field-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;flex-direction:column;gap:1rem;margin-bottom:1rem;padding:1.1rem 1.1rem 1.3rem;display:flex}.field{flex-direction:column;gap:.4rem;display:flex}.field-label{color:var(--xab-text-muted);font-size:.8rem;font-weight:600}.field-input{font-family:var(--font-body);color:var(--xab-text);background:var(--xab-bg);border:1px solid var(--xab-card-border);border-radius:10px;width:100%;margin-top:0;padding:.7rem .8rem;font-size:.95rem}.qty-row{align-items:center;gap:.7rem;display:flex}.qty-btn-lg{border:1px solid var(--xab-card-border);background:var(--xab-card-bg);width:2.6rem;height:2.6rem;color:var(--brand-color,#0e7c7b);border-radius:10px;flex-shrink:0;padding:0;font-size:1.2rem;font-weight:700}.qty-value-lg{text-align:center;color:var(--xab-text);flex:auto;font-size:1.05rem;font-weight:700}.pay-row{flex-wrap:wrap;gap:.5rem;display:flex}.pay-opt{text-align:center;border:1px solid var(--xab-card-border);background:var(--xab-card-bg);width:auto;color:var(--xab-text-muted);font-size:.85rem;font-weight:700;font-family:var(--font-body);border-radius:10px;flex:0 auto;padding:.65rem 1.1rem}.pay-opt.active{color:#0b615f;background:#e4f3f1;border-color:#0b615f}.pay-opt.compact{padding:.3rem .65rem;font-size:.78rem}.credit-balance-banner{background:#e4f3f1;border:1px solid #0b615f;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.85rem;padding:.85rem 1rem;display:flex}.credit-balance-banner span{color:#0b615f;font-size:.9rem;font-weight:700}.credit-balance-banner button{flex-shrink:0;width:auto;padding:.55rem .9rem;font-size:.85rem}.credit-switch{color:#0b615f;cursor:pointer;flex-shrink:0;align-items:center;gap:.5rem;min-height:44px;font-size:.85rem;font-weight:700;display:inline-flex}.credit-switch input{accent-color:#0b615f;width:1.3rem;height:1.3rem;margin:0}.credit-summary{color:#0b615f;overflow-wrap:anywhere;background:#e4f3f1;border-radius:10px;margin:.25rem 0 .5rem;padding:.6rem .8rem;font-size:.9rem;font-weight:700}.total-due-bar{background:var(--xab-sidebar-bg);color:#eaf6f4;border-radius:14px;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem 1.1rem;display:flex}.total-due-label{color:#9fd6cf;font-size:.78rem;font-weight:600}.total-due-value{font-family:var(--font-heading);margin-top:.1rem;font-size:1.4rem;font-weight:700}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-top:.5rem;display:grid}.product-card{text-align:left;border:1px solid var(--xab-card-border);background:var(--xab-bg);cursor:pointer;width:100%;font-family:var(--font-body);border-radius:14px;flex-direction:column;gap:.5rem;padding:.75rem;display:flex;position:relative}.product-card.selected{border-color:var(--brand-color,#0e7c7b);box-shadow:0 0 0 1px var(--brand-color,#0e7c7b) inset;background:#e4f3f1}.product-name{color:var(--xab-text);padding-right:1.4rem;font-size:.85rem;font-weight:700;line-height:1.25}.product-prices{flex-direction:column;gap:.25rem;display:flex}.price-row{justify-content:space-between;align-items:center;gap:.5rem;font-size:.72rem;display:flex}.price-tag{color:var(--xab-text-muted)}.price-val{color:var(--xab-text);font-variant-numeric:tabular-nums;font-weight:700}.product-add-badge{background:var(--brand-color,#0e7c7b);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:flex;position:absolute;top:.6rem;right:.6rem}.product-card.selected .product-add-badge{background:#1f7a47}.notice{cursor:pointer;border-radius:10px;margin-bottom:1rem;padding:.7rem .9rem;font-size:.9rem;font-weight:600}.notice-success{color:#1f7a47;background:#e7f6ee}.notice-warning{color:#8a5a12;background:#fdf1e0}.txn-void-btn{color:#a30000;width:auto;font-size:.72rem;font-family:var(--font-body);background:#fff;border:1px solid #a30000;border-radius:6px;margin-top:.35rem;padding:.15rem .5rem}.sa-desktop-only{display:block}.sa-phone-only{display:none}@media (width<=899.98px){.sa-desktop-only{display:none}.sa-phone-only{display:block}.biz-card-list,.activity-list{display:flex}}.big-tap{min-height:44px}.show-terminated-toggle{cursor:pointer;align-items:center;gap:.6rem;min-height:44px;margin:0;display:flex}.show-terminated-toggle input{width:1.1rem;height:1.1rem;margin:0}.primary-action{background:var(--brand-color,#0e7c7b);color:#fff;border:1px solid var(--brand-color,#0e7c7b);width:auto;font-size:.9rem;font-weight:700;font-family:var(--font-body);border-radius:10px;flex:1 1 0;padding:.7rem}.biz-card-list{flex-direction:column;gap:.85rem;margin-bottom:1.5rem}.biz-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;flex-direction:column;gap:.75rem;padding:1rem;display:flex}.biz-card-top{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.biz-card-name{color:var(--xab-text);font-size:1rem;font-weight:700}.biz-card-facts{grid-template-columns:1fr 1fr;gap:.6rem;display:grid}.biz-fact{color:var(--xab-text);flex-direction:column;gap:.25rem;margin:0;font-size:.9rem;font-weight:600;display:flex}.biz-fact small{color:var(--xab-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;font-weight:700}.biz-fact select,.biz-fact .select-root{margin-top:0}.biz-fact .select-trigger{min-height:44px;font-size:.9rem}.biz-card-labels{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.biz-label{color:var(--xab-text-muted);background:var(--xab-bg);border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:600}.biz-card-actions{gap:.6rem;display:flex}.biz-card-actions>*{flex:1 1 0;width:auto}.sheet-group{color:var(--xab-text-muted);text-transform:uppercase;letter-spacing:.05em;margin:.9rem 0 .4rem;font-size:.7rem;font-weight:700}.sheet-row{background:var(--xab-bg);border:1px solid var(--xab-card-border);width:100%;min-height:48px;color:var(--xab-text);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:.85rem .9rem;font-size:.95rem;font-weight:600;display:flex}.sheet-row.primary{border-color:var(--brand-color,#0e7c7b);color:var(--brand-color,#0e7c7b)}.sheet-row.warn{color:#a30000;background:#fde2e2;border-color:#a30000}.sheet-row:disabled{opacity:.6}.activity-list{flex-direction:column;gap:.6rem;margin-bottom:1.5rem}.activity-item{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:14px;flex-direction:column;gap:.25rem;padding:.8rem .95rem;display:flex}.activity-what{color:var(--xab-text);word-break:break-word;font-size:.92rem;font-weight:600}.activity-meta{color:var(--xab-text-muted);word-break:break-all;font-size:.78rem}.account-menu-wrap{flex-shrink:0;position:relative}.account-menu-wrap .account-btn{cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;display:inline-flex}.account-btn-circle{color:#0e7c7b;width:36px;height:36px;font-size:.75rem;font-weight:700;font-family:var(--font-body);background:#cdeae7;border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden}.account-menu-wrap .account-btn[aria-expanded=true] .account-btn-circle{box-shadow:0 0 0 2px var(--brand-color,#0e7c7b)}.account-menu-wrap .account-btn:focus-visible,.account-menu .account-menu-item:focus-visible{outline:2px solid var(--brand-color,#0e7c7b);outline-offset:2px}.account-menu-scrim{z-index:90;position:fixed;inset:0}.account-menu{z-index:100;background:var(--xab-card-bg);border:1px solid var(--xab-card-border);text-align:left;border-radius:14px;width:280px;max-width:calc(100vw - 16px);padding:.4rem;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #0b2e2b33}.account-menu .account-menu-who{border-bottom:1px solid var(--xab-card-border);flex-direction:column;gap:.15rem;margin-bottom:.3rem;padding:.6rem .7rem .7rem;display:flex}.account-menu .account-menu-who b{color:var(--xab-text);overflow-wrap:anywhere;font-size:.95rem}.account-menu .account-menu-who span{color:var(--xab-text-muted);overflow-wrap:anywhere;font-size:.8rem}.account-menu .account-menu-item{text-align:left;width:100%;min-height:44px;color:var(--xab-text);font-size:.95rem;font-weight:600;font-family:var(--font-body);cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:.6rem;margin:0;padding:.6rem .7rem;display:flex}.account-menu .account-menu-item:hover{background:var(--xab-bg)}.account-menu .account-menu-item.danger{color:#c0392b}.account-menu .account-menu-item.danger:hover{background:#fdecea}.account-menu .account-menu-divider{background:var(--xab-card-border);height:1px;margin:.3rem .2rem}.info-card-head .stat-card-chevron{flex:none;margin-left:.4rem;position:static}.info-card-head .pill-badge{margin-left:auto}.admin-dialog-backdrop{z-index:200;background:#0b2e2b73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.admin-dialog{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:18px;flex-direction:column;width:100%;max-width:440px;max-height:calc(100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 20px 50px #0b2e2b4d}.admin-dialog-head{flex:none;padding:18px 18px 0}.admin-dialog-head h2{font-family:var(--font-heading);color:var(--xab-text);margin:0 0 .3rem;font-size:1.15rem}.admin-dialog-head p{color:var(--xab-text-muted);margin:0 0 .85rem;font-size:.85rem}.admin-dialog-body{-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding:0 18px 18px;overflow-y:auto}.admin-dialog-body label{margin-bottom:.9rem;font-size:.9rem;display:block}.admin-dialog-body input:not([type=checkbox]),.admin-dialog-body select,.admin-dialog-body .select-trigger{min-height:44px}.admin-dialog-body input[type=color]{height:48px;padding:4px}.admin-dialog-body input[type=file]{padding:.6rem;font-size:.9rem}.admin-dialog-body .secondary-btn{width:100%;min-height:44px;margin-bottom:.9rem}.admin-dialog-body .error{margin-bottom:.9rem}.admin-dialog-footer{border-top:1px solid var(--xab-card-border);background:var(--xab-card-bg);flex:none;gap:.6rem;padding:12px 18px;display:flex}.admin-dialog-footer>*{flex:1 1 0;width:auto;min-height:44px}.branding-preview{object-fit:contain;max-width:200px;max-height:60px}.admin-dialog-backdrop.is-sheet{align-items:flex-end;padding:0}.admin-dialog.is-sheet{border-bottom:none;border-left:none;border-right:none;border-radius:22px 22px 0 0;max-width:none;max-height:85dvh}.admin-toast{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:300;background:var(--xab-sidebar-bg);color:#eaf6f4;text-align:center;border-radius:12px;padding:12px 14px;font-size:.9rem;font-weight:600;position:fixed;box-shadow:0 10px 30px #0b2e2b4d}.analytics-tabs{border-bottom:1px solid var(--xab-card-border);-webkit-overflow-scrolling:touch;gap:1.25rem;margin-bottom:1.25rem;display:flex;overflow-x:auto}.analytics-tabs::-webkit-scrollbar{display:none}.analytics-tab{width:auto;color:var(--xab-text-muted);font-size:.9rem;font-weight:700;font-family:var(--font-body);white-space:nowrap;background:0 0;border:none;border-bottom:2.5px solid #0000;border-radius:0;flex:none;padding:0 0 .7rem}.analytics-tab.active{color:var(--brand-color,#0e7c7b);border-bottom-color:var(--brand-color,#0e7c7b)}.date-range-field{flex-direction:column;gap:.2rem;margin:0;display:flex}.date-range-field span{color:var(--xab-text-muted);font-size:.7rem;font-weight:600}.select-root{width:100%;min-width:0;margin-top:.35rem;position:relative}.select-native-shadow{opacity:0;pointer-events:none;border:none;width:1px;min-width:0;height:1px;margin:0;padding:0;position:absolute}.select-trigger{width:100%;min-width:9em;font-size:1rem;font-family:var(--font-body);color:#1a1a1a;text-align:left;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.select-trigger:disabled{cursor:default;opacity:.6}.select-trigger.field-input{color:var(--xab-text);background:var(--xab-bg);border:1px solid var(--xab-card-border);border-radius:10px;padding:.7rem .8rem;font-size:.95rem}.select-trigger-placeholder{color:#767676}.select-trigger-chevron{color:var(--xab-text-muted);flex-shrink:0}.select-search{border:1px solid var(--xab-card-border);width:100%;font-size:1rem;font-family:var(--font-body);border-radius:8px;margin:0 0 .5rem;padding:.6rem .75rem}.select-options{margin:0;padding:0;list-style:none;overflow-y:auto}.select-option{width:100%;color:var(--xab-text);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:space-between;align-items:center;gap:.5rem;font-size:.95rem;display:flex}.select-option:disabled{opacity:.5;cursor:default}.select-option.selected{color:var(--brand-color,#0e7c7b);font-weight:600}.select-option svg{color:var(--brand-color,#0e7c7b);flex-shrink:0}.select-no-results{text-align:center;color:var(--xab-text-muted);padding:.75rem;font-size:.9rem}.select-sheet-overlay{z-index:40;background:#0b2e2b59;align-items:flex-end;display:flex;position:fixed;inset:0}.select-sheet{background:var(--xab-card-bg);width:100%;padding:.75rem .75rem calc(.75rem + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;flex-direction:column;max-height:70vh;display:flex}.select-sheet .select-options{max-height:60vh}.select-sheet .select-option{padding:1rem .75rem;font-size:1rem}.select-panel{display:none}.select-panel .select-option{padding:.6rem .75rem}.select-panel .select-option.highlighted{background:var(--xab-bg)}@media (width>=900px){.select-sheet-overlay{display:none}.select-panel{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);z-index:20;border-radius:12px;max-height:320px;padding:.5rem;display:block;position:absolute;top:calc(100% + .3rem);left:0;right:0;overflow-y:auto;box-shadow:0 10px 30px #0b2e2b2e}.select-panel .select-options{max-height:280px}}.sa-phone-only-sm{display:none}.link-btn{width:auto;color:var(--brand-color,#0e7c7b);font-weight:700;font-size:inherit;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit}@media (width<=767.98px){.sa-desktop-only-sm{display:none!important}.sa-phone-only-sm{display:block}.products-search{box-sizing:border-box;max-width:none}.product-cost-line{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;margin-bottom:1rem;padding:.85rem 1rem;display:flex}.product-cost-line-text{flex-direction:column;flex:10rem;gap:.15rem;min-width:0;display:flex}.product-cost-value{white-space:nowrap;font-weight:700}.product-cost-edit{flex:100%;align-items:center;gap:.5rem;display:flex}.product-cost-edit input{flex:1;min-width:0;margin-top:0}.product-cost-edit button{flex:none;width:auto;padding:.5rem .9rem}.product-filter-chips{flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem;display:flex}.product-filter-chips .chip{padding:.55rem 1rem;font-size:.9rem}.product-card-note{color:var(--xab-text-muted);margin:0;font-size:.8rem;display:block}.product-count{letter-spacing:.05em;text-transform:uppercase;color:var(--xab-text-muted);margin:.75rem 0 .5rem;font-size:.8rem;font-weight:700}.product-cards{flex-direction:column;gap:.75rem;display:flex}.product-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:14px;flex-direction:column;gap:.6rem;min-width:0;padding:.9rem 1rem;display:flex}.product-card-head{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.product-card-name{overflow-wrap:anywhere;font-size:1.05rem;font-weight:700}.product-card-category{color:var(--xab-text-muted);font-size:.85rem}.product-card-pills{flex-direction:column;flex:none;align-items:flex-end;gap:.25rem;display:flex}.product-card-grid{flex-direction:column;gap:.25rem;font-size:.95rem;display:flex}.product-card-row{align-items:baseline;column-gap:.5rem;display:grid}.product-card-colhead{letter-spacing:.05em;text-transform:uppercase;color:var(--xab-text-muted);font-size:.7rem;font-weight:700}.product-card-row-label{font-weight:600}.product-card-profit{color:#1a7f4b;font-weight:700}.product-card-stock{border-top:1px solid var(--xab-card-border);flex-direction:column;align-items:flex-start;gap:.5rem;padding-top:.6rem;display:flex}.product-card-stock-main{align-items:center;gap:.5rem;display:flex}.product-card-stock-qty{font-size:1.6rem;font-weight:700}.product-card-stock .cart-picker{flex-wrap:wrap}.product-card-actions{gap:.5rem;display:flex}}.stock-block{border-top:1px solid var(--xab-card-border);flex-direction:column;gap:.5rem;padding-top:.5rem;display:flex}.stock-block-line{flex-wrap:wrap;align-items:baseline;gap:.35rem;display:flex}.stock-block-qty{font-size:1.35rem;font-weight:700;line-height:1.1}.stock-block-label{color:var(--xab-text-muted);margin-right:.25rem;font-size:.9rem}.stock-block-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.stock-block-actions .secondary-btn,.stock-block-threshold .secondary-btn{box-sizing:border-box;height:2.25rem;padding:0 .85rem;font-size:.85rem;line-height:1}.stock-block-add{align-items:center;gap:.35rem;display:flex}.stock-block-add input{box-sizing:border-box;text-align:center;width:4.5rem;height:2.25rem;margin:0;padding:0 .5rem;font-size:.9rem}.stock-block-threshold{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.stock-block-threshold label{color:var(--xab-text-muted);align-items:center;gap:.5rem;margin:0;font-size:.85rem;display:inline-flex}.stock-block-threshold input{box-sizing:border-box;text-align:center;width:4rem;height:2rem;margin:0;padding:0 .4rem;font-size:.9rem}.business-table .stock-block{border-top:none;gap:.4rem;padding-top:0}.products-table th,.products-table td{padding-left:.65rem;padding-right:.65rem}.business-table .stock-block-actions{flex-wrap:nowrap;gap:.3rem}.business-table .stock-block-actions .secondary-btn,.business-table .stock-block-threshold .secondary-btn{height:2rem;padding:0 .55rem}.business-table .stock-block-add{gap:.3rem}.business-table .stock-block-add input{width:4rem;height:2rem;padding:0 .25rem}.products-actions-cell{vertical-align:middle}.products-actions-cell .row-actions{align-items:center}.product-form .sheet-head{display:none}.history-overlay{z-index:250;background:#0b2e2b66;justify-content:flex-end;display:flex;position:fixed;inset:0}.history-sheet{background:var(--xab-card-bg);flex-direction:column;width:min(30rem,100%);height:100%;min-height:0;display:flex;box-shadow:-10px 0 40px #0b2e2b33}.history-head{border-bottom:1px solid var(--xab-card-border);flex:none;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:1rem 1rem .75rem;display:flex}.history-head h2{overflow-wrap:anywhere;margin:0;font-size:1.15rem}.history-head .secondary-btn{flex:none;height:2.25rem;padding:0 1rem}.history-sub{color:var(--xab-text-muted);margin-top:.15rem;font-size:.85rem}.history-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:0 1rem calc(1rem + env(safe-area-inset-bottom,0px));flex:auto;overflow-y:auto}.history-body>p{padding-top:1rem}.history-list{margin:0;padding:0;list-style:none}.history-row{border-bottom:1px solid var(--xab-card-border);padding:.7rem 0}.history-row:last-child{border-bottom:none}.history-row-top{flex-wrap:wrap;align-items:baseline;gap:.6rem;display:flex}.history-delta{min-width:3.5rem;font-size:1.05rem;font-weight:700}.history-delta.pos{color:#1a7f4b}.history-delta.neg{color:#a30000}.history-reason{flex:auto;min-width:0;font-weight:600}.history-when{color:var(--xab-text-muted);white-space:nowrap;font-size:.8rem}.history-row-sub{color:var(--xab-text-muted);overflow-wrap:anywhere;margin-top:.15rem;font-size:.85rem}.products-toast{z-index:300;background:var(--xab-sidebar-bg);color:#eaf6f4;text-align:center;border-radius:12px;max-width:min(32rem,100vw - 2rem);padding:.75rem 1rem;font-size:.9rem;font-weight:600;position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0b2e2b4d}.products-toast.error{color:#fff;background:#a30000}@media (width<=767.98px){:is(.product-card:has(.stock-block),.product-card:has(.raw-card-cost)){gap:.45rem}.raw-card-cost{font-size:.95rem;font-weight:600}.product-form{z-index:250;box-shadow:none;box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--xab-card-bg);width:100%;max-width:none;padding:0 1rem calc(1.5rem + env(safe-area-inset-bottom,0px));border:none;border-radius:0;margin:0;position:fixed;inset:0;overflow-y:auto}.product-form .sheet-head{z-index:1;background:var(--xab-card-bg);border-bottom:1px solid var(--xab-card-border);justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:.75rem 0;display:flex;position:sticky;top:0}.product-form .sheet-head h2{margin:0;font-size:1.15rem}.product-form .sheet-head .secondary-btn{height:2.25rem;padding:0 1rem}.products-toast{bottom:calc(5rem + env(safe-area-inset-bottom,0px))}}.profit-presets{margin-bottom:1rem}.profit-period{margin:0 0 .75rem}.profit-stale{opacity:.6;transition:opacity .15s}.profit-statement{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);box-shadow:var(--xab-card-shadow);border-radius:16px;max-width:34rem;margin:0 0 1rem;padding:.5rem 1.25rem;display:block}.profit-row{border-bottom:1px solid var(--xab-card-border);justify-content:space-between;align-items:baseline;gap:1rem;padding:.6rem 0;display:flex}.profit-row:last-child{border-bottom:none}.profit-row dt,.profit-row dd{margin:0}.profit-row dd{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.profit-sub{color:var(--xab-text-muted);border-bottom:none;padding:.25rem 0 .25rem 1rem;font-size:.9rem}.profit-sub dd{font-weight:500}.profit-total dt,.profit-total dd{font-weight:700}.profit-net{border-top:2px solid var(--xab-card-border);font-size:1.1rem}.profit-margin{color:var(--xab-text-muted);font-size:.85rem;font-weight:500}.profit-pos{color:#1a7f4b}.profit-neg{color:#a30000}.profit-notes{color:var(--xab-text-muted);max-width:34rem;margin:0 0 1rem;padding-left:1.1rem;font-size:.85rem}.profit-flag{color:var(--xab-text-muted);font-size:.8rem}.profit-table .num{text-align:right;font-variant-numeric:tabular-nums}.profit-cards{flex-direction:column;gap:.5rem;display:flex}.profit-card{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:12px;padding:.7rem .9rem}.profit-card-head{font-variant-numeric:tabular-nums;justify-content:space-between;gap:.75rem;display:flex}.profit-card-head strong{overflow-wrap:anywhere}.profit-card-sub{color:var(--xab-text-muted);margin-top:.15rem;font-size:.8rem}.dup-box,.dup-phone{border-radius:12px;margin:-.25rem 0 .9rem}.dup-box{background:var(--xab-card-bg);border:1px solid var(--xab-card-border);flex-direction:column;gap:.35rem;padding:.6rem .75rem;display:flex}.dup-title{letter-spacing:.03em;text-transform:uppercase;color:var(--xab-text-muted);font-size:.78rem;font-weight:700}.dup-item{width:100%;min-height:44px;color:var(--xab-text);border:1px solid var(--xab-card-border);font-family:var(--font-body);text-align:left;cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.4rem .6rem;font-size:.95rem;display:flex}.dup-name{overflow-wrap:anywhere;min-width:0;font-weight:600}.dup-meta{color:var(--xab-text-muted);flex-shrink:0;align-items:center;gap:.5rem;font-size:.85rem;display:inline-flex}.dup-hint{color:var(--xab-text-muted);font-size:.8rem}.dup-phone{color:#8a5a12;background:#fdf1e0;border:1px solid #f0d68a;flex-direction:column;align-items:stretch;gap:.5rem;padding:.7rem .9rem;font-size:.9rem;display:flex}.dup-phone .secondary-btn{width:100%;min-height:44px}@media (width>=768px){.dup-phone{flex-direction:row;justify-content:space-between;align-items:center}.dup-phone .secondary-btn{width:auto}}@media (width<=767.98px){.product-card-actions{flex-wrap:wrap}.product-cards-section{margin-bottom:1.5rem}.date-range-picker.date-range-wrap{flex-wrap:wrap;align-items:flex-end}.product-cards-section .customer-card-row>span:first-child{flex:none}.product-cards-section .customer-card-row>span:last-child{text-align:right;overflow-wrap:anywhere}.product-cards-section .allocation-cell{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.product-cards-section .allocation-cell input{flex:8rem;width:auto;min-width:0}.filter-chips{flex-wrap:wrap;overflow-x:visible}.txn-name{white-space:normal;text-overflow:clip;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.select-trigger.select-trigger-wrap>span:first-child{white-space:normal;text-overflow:clip;overflow:visible}.create-business-form label textarea{width:100%;font-size:1rem;font-family:var(--font-body);resize:vertical;border:1px solid #ccc;border-radius:8px;min-height:5.5rem;margin-top:.35rem;padding:.6rem .75rem;display:block}.checkbox-label{min-height:40px}.search:has(>.search-input-plain){padding-top:0;padding-bottom:0}.search .search-input-plain{min-height:40px}.link-btn{justify-content:center;align-items:center;min-width:40px;min-height:40px;display:inline-flex}.txn-void-btn{min-width:40px;min-height:40px}.product-cards-section .product-card-head .secondary-btn{flex:none;width:auto}.cart-card-qty-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;display:flex}.cart-card-qty-row .qty-control button{width:2.5rem;height:2.5rem}.cart-card-qty-row .qty-control input{width:4rem;height:2.5rem}.cart-card-total{white-space:nowrap;text-align:right;margin-left:auto;font-size:1.05rem;font-weight:700}.cart-total .payment-note{background:0 0;margin:.15rem 0 0;padding:0;font-weight:400;display:block}}.form-actions{flex-wrap:wrap;gap:.6rem;display:flex}@media (width<=767.98px){.form-actions button{flex:100%;width:100%;min-height:44px}}.special-price-note{flex-wrap:wrap;align-items:center;gap:.35rem .5rem;margin-top:.35rem;font-size:.85rem;display:flex}.special-price-now{font-weight:700}.special-price-was{color:var(--xab-text-muted);margin-left:.4rem;font-weight:400}.special-price-note .special-price-was{margin-left:0}.price-val .special-price-was{text-align:right;margin-left:0;display:block}.customer-picker{scroll-margin-top:5rem;position:relative}.customer-picker-inputwrap{position:relative}.customer-picker-inputwrap .field-input{padding-right:2.75rem}.customer-picker-clear{width:2.5rem;min-width:40px;height:2.5rem;min-height:40px;color:var(--xab-text-muted);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.customer-picker-chosen{cursor:pointer;align-items:center;min-height:48px;padding-right:3rem;display:flex;position:relative}.customer-picker-chosen-text{flex-direction:column;gap:.25rem;min-width:0;display:flex}.customer-option-name{overflow-wrap:anywhere;font-weight:600}.customer-option-meta{color:var(--xab-text-muted);flex-wrap:wrap;align-items:center;gap:.35rem .5rem;font-size:.85rem;font-weight:400;display:flex}.customer-picker-panel{z-index:25;background:var(--xab-card-bg);border:1px solid var(--xab-card-border);border-radius:12px;flex-direction:column;display:flex;position:absolute;top:calc(100% + .3rem);left:0;right:0;overflow:hidden;box-shadow:0 10px 30px #0b2e2b2e}.customer-picker-list{overscroll-behavior:contain;max-height:min(320px,42vh);margin:0;padding:.35rem;list-style:none;overflow-y:auto}.customer-option{width:100%;min-height:44px;color:var(--xab-text);font-family:var(--font-body);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.55rem .75rem;font-size:.95rem;display:flex}.customer-option.highlighted,.customer-option:hover{background:var(--xab-bg)}.customer-option.selected .customer-option-name{color:var(--brand-color,#0e7c7b)}.customer-add-new{background:var(--xab-card-bg);border:none;border-top:1px solid var(--xab-card-border);width:100%;min-height:48px;color:var(--brand-color,#0e7c7b);font-family:var(--font-body);text-align:left;cursor:pointer;border-radius:0;align-items:center;gap:.5rem;padding:.6rem .85rem;font-size:.95rem;font-weight:600;display:flex}.quick-add-overlay{z-index:50;background:#0b2e2b66;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.quick-add-sheet.create-business-form{width:100%;max-height:90vh;padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;margin:0;overflow-y:auto}.quick-add-title{margin:0 0 .75rem;font-size:1.15rem}@media (width>=768px){.quick-add-overlay{align-items:center;padding:1.5rem}.quick-add-sheet.create-business-form{border-radius:16px;max-width:460px;padding:1.5rem}}.update-banner{color:#8a5a12;z-index:30;background:#fdf1e0;border-bottom:1px solid #f0d68a;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:.5rem .75rem;padding:.6rem 1rem;font-size:.9rem;font-weight:600;display:flex}.update-banner-btn{background:var(--brand-color,#0e7c7b);color:#fff;width:auto;min-height:40px;font-family:var(--font-body);cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.4rem;padding:.4rem .9rem;font-size:.9rem;font-weight:600;display:inline-flex}.freshness{color:var(--xab-text-muted);flex-wrap:wrap;align-items:center;gap:.25rem .75rem;margin:-.5rem 0 .9rem;font-size:.8rem;display:flex}.freshness-refresh{width:auto;min-height:32px;color:var(--brand-color,#0e7c7b);font-family:var(--font-body);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.3rem;padding:.2rem .5rem;font-size:.8rem;font-weight:600;display:inline-flex}.freshness-refresh:disabled{opacity:.5;cursor:default}.offline-session-bar{color:#1d4f91;background:#e8f1ff;border-bottom:1px solid #c3d8f5;flex:none;padding:.5rem 1rem;font-size:.85rem;font-weight:600}.update-banner-btn:disabled{opacity:.75;cursor:default}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}
