:root{--page-plane:#f9f9f7;--surface-1:#fcfcfb;--surface-2:#fff;--surface-sunken:#f2f1ed;--text-primary:#0b0b0b;--text-secondary:#52514e;--text-muted:#898781;--text-on-accent:#fff;--border:#0b0b0b1a;--border-strong:#0b0b0b29;--accent:#2a78d6;--accent-hover:#1c5cab;--accent-wash:#eaf2fc;--accent-wash-strong:#cde2fb;--good:#0ca30c;--good-wash:#e7f6e7;--warning:#fab219;--warning-wash:#fff6e2;--serious:#ec835a;--critical:#d03b3b;--critical-wash:#fbe9e9;--series-aqua:#1baf7a;--series-yellow:#eda100;--series-green:#008300;--series-violet:#4a3aa7;--series-red:#e34948;--series-magenta:#e87ba4;--series-orange:#eb6834;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--shadow-card:0 1px 2px #0b0b0b0a, 0 4px 12px #0b0b0b0d;--shadow-pop:0 8px 24px #0b0b0b1f;--font-sans:system-ui, -apple-system, "Segoe UI", sans-serif}@media (prefers-color-scheme:dark){:root.theme-dark{--page-plane:#0d0d0d;--surface-1:#1a1a19;--surface-2:#201f1e;--surface-sunken:#171716;--text-primary:#fff;--text-secondary:#c3c2b7;--text-muted:#898781;--border:#ffffff1a;--border-strong:#ffffff29;--accent:#3987e5;--accent-hover:#5598e7;--accent-wash:#16283c;--accent-wash-strong:#184f95;--good:#0ca30c;--good-wash:#123214;--warning:#fab219;--warning-wash:#3a2c0c;--serious:#ec835a;--critical:#e66767;--critical-wash:#3a1414;--series-aqua:#199e70;--series-yellow:#c98500;--series-green:#008300;--series-violet:#9085e9;--series-red:#e66767;--series-magenta:#d55181;--series-orange:#d95926}}.btn{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;align-items:center;gap:8px;padding:11px 18px;font-size:14px;font-weight:600;transition:background .12s,border-color .12s,transform 60ms;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn-ghost{background:var(--surface-2);border-color:var(--border-strong);color:var(--text-secondary)}.btn-ghost:hover:not(:disabled){background:var(--surface-sunken)}.btn-ghost:disabled{color:var(--text-muted);cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--text-on-accent)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{background:var(--border-strong);color:var(--text-muted);cursor:not-allowed}.btn-sm{padding:5px 10px!important;font-size:12px!important}.btn-danger{background:var(--critical);color:var(--text-on-accent)}.btn-danger:hover:not(:disabled){background:#b22e2e}.shortcut{color:var(--text-muted);white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:inline-flex}.shortcut kbd{color:var(--text-secondary);background:var(--surface-sunken);border:1px solid var(--border-strong);border-radius:4px;padding:2px 5px;font-family:inherit;font-size:10.5px;font-weight:700}.report-status{text-align:center;color:var(--text-muted);padding:32px;font-size:13.5px}.report-status.is-critical{color:var(--critical)}.thermal-doc{color:var(--text-primary);flex-direction:column;gap:2px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:flex}.thermal-receipt-center{text-align:center}.thermal-receipt-bold{font-weight:700}.thermal-receipt-large{font-size:1.25em}.thermal-receipt-rule{border-top:1px dashed var(--border-strong);margin:6px 0}.thermal-receipt-datetime{text-align:right;color:var(--text-muted);margin-bottom:6px}.thermal-receipt-section-title{margin-bottom:2px;font-weight:700}.dotted-row{align-items:baseline;gap:4px;display:flex}.dotted-row-indent{padding-left:10px}.dotted-row-large{font-size:1.2em}.dotted-label{white-space:nowrap}.dotted-fill{border-bottom:1px dotted var(--text-muted);flex:1;margin-bottom:3px}.dotted-value{white-space:nowrap}.dotted-row-bold{font-weight:700}@media print{body *{visibility:hidden}.print-area,.print-area *{visibility:visible}.print-area{background:#fff;padding:24px;position:fixed;inset:0;overflow:auto}.no-print{display:none!important}}.print-only{display:none}@media print{.print-only{display:block}.print-page{page-break-after:always}.print-page:last-child{page-break-after:auto}}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font-sans);background:var(--page-plane);color:var(--text-primary);-webkit-font-smoothing:antialiased;margin:0}button,input,select{font-family:inherit}::selection{background:var(--accent-wash-strong)}.tabular{font-variant-numeric:tabular-nums}.topbar{background:var(--surface-2);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:24px;height:60px;padding:0 20px;display:flex}.topbar-brand{align-items:center;gap:10px;min-width:200px;display:flex}.topbar-logo{border-radius:var(--radius-sm);background:var(--accent);width:34px;height:34px;color:var(--text-on-accent);flex-shrink:0;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.topbar-titles{flex-direction:column;line-height:1.25;display:flex;overflow:hidden}.topbar-business{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.topbar-legal{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.topbar-switch-business{width:28px;height:28px;color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.topbar-switch-business:hover{background:var(--surface-sunken);color:var(--text-primary)}.topbar-fullscreen{width:34px;height:34px;color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.topbar-fullscreen:hover{background:var(--surface-sunken);color:var(--text-primary)}.topbar-nav{background:var(--surface-sunken);border-radius:999px;flex-shrink:0;align-items:center;gap:4px;padding:4px;display:flex}.topbar-nav-btn{color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:background .12s,color .12s;display:inline-flex}.topbar-nav-btn:hover:not(.is-active){background:var(--surface-2);color:var(--text-primary)}.topbar-nav-btn.is-active{background:var(--accent);color:var(--text-on-accent)}.topbar-status{flex:1;justify-content:flex-end;align-items:center;gap:14px;display:flex}.sync-pill{color:var(--text-muted);background:var(--surface-sunken);border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:12.5px;font-weight:500;display:inline-flex}.sync-pill.is-synced{color:var(--good);background:var(--good-wash)}.sync-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.topbar-divider{background:var(--border);width:1px;height:22px}.topbar-clock{color:var(--text-secondary);white-space:nowrap;font-size:13px}.topbar-user{align-items:center;gap:8px;display:flex}.topbar-user-name{color:var(--text-primary);font-size:13.5px;font-weight:500}.account-menu{position:relative}.account-trigger{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:4px;padding:2px;display:flex}.avatar-btn{border:1px solid var(--border-strong);background:var(--surface-sunken);width:30px;height:30px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex}.account-dropdown{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);width:220px;box-shadow:var(--shadow-pop);z-index:40;padding:10px;position:absolute;top:calc(100% + 8px);right:0}.account-dropdown-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:8px;padding:4px 6px 10px;display:flex}.account-name{color:var(--text-primary);font-size:13.5px;font-weight:600}.account-signed-in-as{color:var(--text-muted);margin-top:2px;font-size:11px;display:block}.role-badge{text-transform:uppercase;letter-spacing:.3px;background:var(--accent-wash);color:var(--accent-hover);border-radius:999px;padding:3px 8px;font-size:11px;font-weight:600}.account-dropdown-section{padding:4px 6px 10px}.account-dropdown-label{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);margin-bottom:6px;font-size:10.5px;font-weight:600;display:block}.role-switch{background:var(--surface-sunken);border-radius:999px;gap:2px;padding:3px;display:flex}.role-switch button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex:1;padding:6px 0;font-size:12px;font-weight:600}.role-switch button.is-active{background:var(--accent);color:var(--text-on-accent)}.admin-password-form{gap:6px;margin-top:8px;display:flex}.admin-password-form input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);min-width:0;color:var(--text-primary);outline:none;flex:1;padding:7px 9px;font-size:12.5px}.admin-password-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.admin-password-submit{border-radius:var(--radius-sm);background:var(--accent);color:var(--text-on-accent);cursor:pointer;border:none;padding:0 12px;font-size:12px;font-weight:600}.admin-password-submit:disabled{background:var(--border-strong);color:var(--text-muted);cursor:not-allowed}.admin-password-error{color:var(--critical);margin-top:6px;font-size:11.5px;font-weight:600;display:block}.account-dropdown-item{width:100%;color:var(--critical);border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:8px 6px;font-size:13px;font-weight:600;display:flex}.account-dropdown-item:hover{background:var(--critical-wash)}.toast{box-shadow:var(--shadow-pop);z-index:50;border-radius:999px;align-items:center;gap:8px;padding:10px 16px;font-size:13.5px;font-weight:600;animation:.18s ease-out toast-in;display:inline-flex;position:fixed;bottom:84px;left:50%;transform:translate(-50%)}.toast-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.toast-good{background:var(--good-wash);color:var(--good);border:1px solid var(--good)}.toast-critical{background:var(--critical-wash);color:var(--critical);border:1px solid var(--critical)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.expired-gate{background:var(--page-plane);justify-content:center;align-items:center;height:100vh;padding:24px;display:flex}.expired-card{text-align:center;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);max-width:380px;box-shadow:var(--shadow-card);padding:36px 32px}.expired-icon{margin-bottom:12px;font-size:36px}.expired-card h1{color:var(--critical);margin:0 0 10px;font-size:19px;font-weight:700}.expired-card p{color:var(--text-secondary);margin:0;font-size:13.5px;line-height:1.6}.expired-card strong{color:var(--text-primary)}.panel{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-direction:column;min-height:0;display:flex;overflow:hidden}.panel-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px 14px;padding:16px 18px;display:flex}.panel-header-info{flex-wrap:wrap;flex-shrink:0;align-items:baseline;gap:8px;display:flex}.panel-header h2{color:var(--text-primary);margin:0;font-size:15px;font-weight:700}.panel-subtitle{color:var(--text-muted);font-size:12px}.bill-no{color:var(--text-primary);font-weight:700}.order-type-row{align-items:center;gap:8px;min-width:0;display:flex}.order-type-label{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);flex-shrink:0;font-size:11.5px;font-weight:700}.order-type-toggle{scrollbar-width:thin;background:var(--surface-sunken);border-radius:999px;flex-wrap:nowrap;gap:2px;min-width:0;padding:3px;display:flex;overflow-x:auto}.order-type-toggle::-webkit-scrollbar{height:4px}.order-type-btn{color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:999px;flex-shrink:0;padding:6px 8px;font-size:12px;font-weight:600;transition:background .12s,color .12s}.order-type-btn:hover:not(.is-active){background:var(--surface-2);color:var(--text-primary)}.order-type-btn.is-active{background:var(--accent);color:var(--text-on-accent)}.order-entry{border-bottom:1px solid var(--border);background:var(--surface-sunken);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 18px;display:flex}.entry-field{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;flex-direction:column;gap:5px;font-size:11.5px;font-weight:600;display:flex}.entry-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;min-width:0;padding:9px 10px;font-size:14px;transition:border-color .12s,box-shadow .12s}.entry-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.entry-code{flex:220px}.entry-qty{width:fit-content}.qty-stepper{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;display:inline-flex;overflow:hidden}.qty-stepper button{background:var(--surface-sunken);width:30px;height:36px;color:var(--text-secondary);cursor:pointer;border:none;font-size:16px;line-height:1;transition:background .1s,color .1s}.qty-stepper button:hover{background:var(--accent-wash);color:var(--accent-hover)}.qty-stepper button:active{background:var(--accent-wash-strong)}.qty-stepper input{text-align:center;border:none;width:44px;height:36px;padding:0;font-size:14px}.qty-stepper input:focus{box-shadow:none}.qty-stepper-sm button{width:22px;height:22px;font-size:13px}.qty-stepper-sm span{text-align:center;width:26px;font-size:13px}.add-line-btn{border-radius:var(--radius-sm);background:var(--accent);height:36px;color:var(--text-on-accent);cursor:pointer;border:none;align-items:center;gap:6px;padding:0 18px;font-size:13.5px;font-weight:600;transition:background .12s,transform 60ms;display:inline-flex}.add-line-btn:hover{background:var(--accent-hover)}.add-line-btn:active{transform:scale(.97)}.cart-scroll{flex:1;min-height:0;overflow-y:auto}.cart-empty{height:100%;min-height:220px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:24px;display:flex}.cart-empty-icon{opacity:.6;margin-bottom:6px;font-size:30px}.cart-empty p{color:var(--text-secondary);margin:0;font-size:14px;font-weight:600}.cart-empty span{font-size:12.5px}.cart-table{border-collapse:collapse;width:100%;font-size:13.5px}.cart-table thead th{background:var(--surface-1);text-align:left;text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);border-bottom:1px solid var(--border);z-index:1;padding:10px 14px;font-size:11px;font-weight:700;position:sticky;top:0}.cart-table td{border-bottom:1px solid var(--border);color:var(--text-primary);vertical-align:middle;padding:11px 14px}.cart-table tbody tr{transition:background .1s}.cart-table tbody tr:hover{background:var(--surface-sunken)}.cart-table tbody tr{cursor:pointer}.cart-table tbody tr.is-selected{background:var(--accent-wash)}.cart-table tbody tr.is-selected:hover{background:var(--accent-wash-strong)}.cart-table tbody tr:last-child td{border-bottom:none}.col-qty,.col-price,.col-total,.col-code{white-space:nowrap}.col-price,.col-total{text-align:right}.col-remove{width:32px}.remove-line-btn{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:background .1s,color .1s;display:flex}.remove-line-btn:hover{background:var(--critical-wash);color:var(--critical)}.bill-summary{background:var(--surface-sunken);border-top:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:6px;padding:14px 18px;display:flex}.bill-summary-toggle{width:100%;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:0;font-size:12px;font-weight:600;display:flex}.bill-summary-toggle:hover{color:var(--text-primary)}.bill-summary-chevron{transition:transform .15s}.bill-summary-chevron.is-open{transform:rotate(180deg)}.bill-summary-details{flex-direction:column;gap:6px;display:flex}.bill-summary-row{color:var(--text-secondary);justify-content:space-between;align-items:baseline;font-size:13px;display:flex}.bill-summary-row span:last-child{color:var(--text-primary);font-weight:600}.bill-summary-divider{border-top:1px dashed var(--border-strong);margin:4px 0 2px}.bill-summary-total{font-size:15px}.bill-summary-total span:first-child{color:var(--text-primary);font-weight:700}.bill-summary-total span:last-child{color:var(--accent-hover);font-size:20px;font-weight:700}.billing-footer{border-top:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 18px 16px;display:flex}.billing-footer-shortcuts{flex-wrap:wrap;gap:8px 10px;min-width:0;display:flex}.billing-actions{flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.billing-actions .btn{padding:9px 14px;font-size:13px}.item-list-search{flex:1;min-width:140px}.item-list-search input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);width:100%;color:var(--text-primary);outline:none;padding:8px 12px;font-size:13.5px;transition:border-color .12s,box-shadow .12s,background .12s}.item-list-search input:focus{border-color:var(--accent);background:var(--surface-2);box-shadow:0 0 0 3px var(--accent-wash)}.category-chips{border-bottom:1px solid var(--border);gap:6px;padding:12px 18px;display:flex;overflow-x:auto}.chip{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text-secondary);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:12.5px;font-weight:600;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.chip:hover{border-color:var(--accent)}.chip.is-active{background:var(--accent);border-color:var(--accent);color:var(--text-on-accent)}.category-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.item-list-scroll{flex:1;min-height:0;overflow-y:auto}.item-table{border-collapse:collapse;width:100%;font-size:13.5px}.item-table thead th{background:var(--surface-1);text-align:left;text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);border-bottom:1px solid var(--border);z-index:1;padding:10px 18px;font-size:11px;font-weight:700;position:sticky;top:0}.item-table tbody tr{cursor:pointer;transition:background .1s}.item-table td{border-bottom:1px solid var(--border);color:var(--text-primary);padding:11px 18px}.item-table tbody tr:hover,.item-table tbody tr:focus-visible{background:var(--accent-wash)}.item-table tbody tr:active{background:var(--accent-wash-strong)}.item-table tbody tr:last-child td{border-bottom:none}.col-name{align-items:center;gap:8px;display:flex}.col-price{text-align:right;white-space:nowrap}.no-results-row td{text-align:center;color:var(--text-muted);cursor:default;padding:32px 18px}.no-results-row:hover{background:0 0!important}.billing-grid{flex:1;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;min-height:0;padding:16px;display:grid}@media (width<=980px){.billing-grid{grid-template-columns:1fr}}.touch-step{flex-direction:column;flex:1;min-height:0;display:flex}.touch-order-step{text-align:center;justify-content:center;align-items:center;gap:48px;padding:32px}.touch-order-step-intro{flex-direction:column;gap:10px;max-width:480px;display:flex}.touch-order-step-eyebrow{text-transform:uppercase;letter-spacing:.6px;color:var(--accent);font-size:13px;font-weight:700}.touch-order-step-intro h1{color:var(--text-primary);margin:0;font-size:30px;font-weight:800}.touch-order-step-intro p{color:var(--text-secondary);margin:0;font-size:15px}.touch-order-step-options{flex-wrap:wrap;justify-content:center;gap:24px;display:flex}.touch-order-step-card{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-2);width:220px;color:var(--text-primary);cursor:pointer;box-shadow:var(--shadow-card);flex-direction:column;align-items:center;gap:16px;padding:40px 24px;transition:transform 80ms,box-shadow .12s,border-color .12s,background .12s;display:flex}.touch-order-step-card svg{color:var(--accent)}.touch-order-step-card span{font-size:18px;font-weight:700}.touch-order-step-card:hover{border-color:var(--accent);box-shadow:var(--shadow-pop)}.touch-order-step-card:active{background:var(--accent-wash);transform:scale(.96)}.touch-menu-step{background:var(--surface-1)}.touch-menu-topbar{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:12px;padding:14px 18px;display:flex}.touch-menu-back{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text-secondary);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:700;transition:border-color .12s,color .12s;display:inline-flex}.touch-menu-back:hover{border-color:var(--accent);color:var(--accent-hover)}.touch-grid-search{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);min-width:160px;color:var(--text-muted);flex:1;align-items:center;gap:8px;padding:10px 14px;display:flex}.touch-grid-search input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;font-size:14px}.touch-menu-body{flex:1;min-height:0;display:flex}.touch-menu-sidebar{border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:3px;width:152px;padding:12px 8px;display:flex;overflow-y:auto}.touch-menu-sidebar-item{text-align:left;border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;gap:9px;padding:13px 12px;font-size:13.5px;font-weight:600;transition:background .1s,color .1s;display:flex}.touch-menu-sidebar-item:hover{background:var(--surface-sunken);color:var(--text-primary)}.touch-menu-sidebar-item.is-active{background:var(--accent-wash);color:var(--accent-hover)}.touch-menu-scroll{flex:1;min-height:0;padding:16px 18px;overflow-y:auto}.touch-tile-grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px;display:grid}.touch-tile{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);cursor:pointer;text-align:left;flex-direction:column;justify-content:space-between;gap:10px;min-height:112px;padding:16px 14px 12px;transition:transform 60ms,box-shadow .12s,border-color .12s;display:flex;position:relative;overflow:hidden}.touch-tile:before{content:"";background:var(--tile-accent);height:4px;position:absolute;top:0;left:0;right:0}.touch-tile:hover{border-color:var(--tile-accent);box-shadow:var(--shadow-card)}.touch-tile:active{box-shadow:var(--shadow-pop);transform:scale(.96)}.touch-tile-category{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex}.touch-tile-category .category-dot{background:var(--tile-accent)}.touch-tile-name{color:var(--text-primary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14.5px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.touch-tile-footer{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.touch-tile-code{color:var(--text-muted);font-size:11px}.touch-tile-price{color:var(--accent-hover);font-size:15px;font-weight:700}.touch-grid-empty{text-align:center;color:var(--text-muted);padding:48px 18px}.touch-menu-cart-bar{border:none;border-top:1px solid var(--border);background:var(--accent);color:var(--text-on-accent);cursor:pointer;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;font-size:15px;font-weight:700;transition:background .12s;display:flex}.touch-menu-cart-bar:hover:not(:disabled){background:var(--accent-hover)}.touch-menu-cart-bar:disabled{background:var(--surface-sunken);color:var(--text-muted);cursor:not-allowed}.touch-menu-cart-bar-info{align-items:center;gap:8px;display:flex}.touch-menu-cart-bar-total{text-align:center;flex:1}.touch-menu-cart-bar-cta{text-underline-offset:3px}@media (width<=700px){.touch-menu-sidebar{width:96px}}.touch-checkout-step{background:var(--surface-1)}.touch-checkout-billinfo{color:var(--text-muted);font-size:13px}.touch-checkout-billinfo strong{color:var(--text-primary)}.touch-checkout-body{flex:1;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;min-height:0;padding:16px 18px;display:grid}.touch-checkout-cart{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-2);min-height:0;overflow-y:auto}.touch-cart-list{flex-direction:column;display:flex}.touch-cart-line{border-bottom:1px solid var(--border);grid-template-columns:1fr auto auto auto;align-items:center;gap:12px;padding:14px 18px;display:grid}.touch-cart-line-info{flex-direction:column;gap:2px;min-width:0;display:flex}.touch-cart-line-name{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:600;overflow:hidden}.touch-cart-line-price{color:var(--text-muted);font-size:11.5px}.touch-qty-stepper{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);flex-shrink:0;align-items:center;display:inline-flex;overflow:hidden}.touch-qty-stepper button{background:var(--surface-sunken);width:36px;height:40px;color:var(--text-secondary);cursor:pointer;border:none;font-size:18px;line-height:1;transition:background .1s,color .1s}.touch-qty-stepper button:hover{background:var(--accent-wash);color:var(--accent-hover)}.touch-qty-stepper button:active{background:var(--accent-wash-strong)}.touch-qty-stepper span{text-align:center;width:30px;font-size:14px;font-weight:600}.touch-cart-line-total{color:var(--text-primary);text-align:right;flex-shrink:0;min-width:60px;font-size:14px;font-weight:700}.touch-remove-btn{width:36px;height:36px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;transition:background .1s,color .1s;display:flex}.touch-remove-btn:hover{background:var(--critical-wash);color:var(--critical)}.touch-checkout-summary{flex-direction:column;gap:14px;min-height:0;display:flex;overflow-y:auto}.touch-checkout-summary .bill-summary{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-sunken)}.touch-checkout-payment{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-2);flex-direction:column;gap:10px;padding:16px;display:flex}.touch-checkout-payment-label{color:var(--text-secondary);font-size:13px;font-weight:700}.payment-method-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.payment-method-btn{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-1);min-height:92px;color:var(--text-primary);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:700;transition:background .12s,border-color .12s,transform 60ms;display:flex}.payment-method-btn:hover:not(:disabled){border-color:var(--accent);background:var(--accent-wash)}.payment-method-btn:active:not(:disabled){transform:scale(.97)}.payment-method-btn:disabled{cursor:not-allowed;color:var(--text-muted);background:var(--surface-sunken)}.payment-method-icon{font-size:26px}.payment-method-hint{color:var(--text-muted);text-align:center;font-size:10.5px;font-weight:600}.payment-upi-panel{flex-direction:column;align-items:center;gap:12px;display:flex}.payment-vpa-input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-1);width:100%;color:var(--text-primary);outline:none;padding:12px 14px;font-size:15px;transition:border-color .12s,box-shadow .12s}.payment-vpa-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.payment-upi-qr{border-radius:var(--radius-md);background:var(--surface-sunken);justify-content:center;align-items:center;width:180px;height:180px;display:flex;overflow:hidden}.payment-upi-qr img{width:180px;height:180px;display:block}.payment-upi-qr-loading{border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite payment-upi-spin}@keyframes payment-upi-spin{to{transform:rotate(360deg)}}.payment-upi-instructions{text-align:center;color:var(--text-secondary);margin:0;font-size:13px}.payment-upi-error{color:var(--critical);text-align:center;font-size:13px}.payment-upi-actions{grid-template-columns:1fr 2fr;gap:10px;width:100%;display:grid}.payment-upi-actions .btn{justify-content:center}.touch-checkout-newbill{justify-content:center;height:44px}@media (width<=900px){.touch-checkout-body{grid-template-columns:1fr}}.touch-counter-confirm-step{justify-content:center;align-items:center;padding:32px}.touch-counter-confirm-card{text-align:center;flex-direction:column;align-items:center;gap:14px;max-width:360px;display:flex}.touch-counter-confirm-eyebrow{text-transform:uppercase;letter-spacing:.6px;color:var(--good);font-size:13px;font-weight:700}.touch-counter-confirm-billno{color:var(--text-primary);letter-spacing:.5px;font-size:34px;font-weight:800}.touch-counter-confirm-qr{border-radius:var(--radius-md);background:var(--surface-sunken);justify-content:center;align-items:center;width:220px;height:220px;margin:6px 0;display:flex;overflow:hidden}.touch-counter-confirm-qr img{width:220px;height:220px;display:block}.touch-counter-confirm-instructions{color:var(--text-secondary);margin:0;font-size:15px;line-height:1.5}.touch-counter-confirm-instructions strong{color:var(--text-primary)}.touch-counter-confirm-snapshot{color:var(--text-muted);background:var(--surface-sunken);border:1px dashed var(--border-strong);border-radius:var(--radius-sm);margin:0;padding:10px 14px;font-size:13px}.touch-counter-confirm-actions{gap:10px;width:100%;margin-top:10px;display:flex}.touch-counter-confirm-print,.touch-counter-confirm-done{flex:1;justify-content:center;height:52px;font-size:15px}.touch-counter-confirm-print-error{color:var(--critical);font-size:12.5px}.touch-sale-shell{border:1px solid var(--border);border-radius:var(--radius-lg);min-height:0;box-shadow:var(--shadow-card);background:var(--surface-1);flex:1;margin:16px;display:flex;overflow:hidden}.counter-page{flex:1;padding:20px 24px 40px;overflow-y:auto}.counter-toolbar{margin-bottom:20px}.counter-toolbar h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.counter-toolbar p{color:var(--text-muted);margin:0;font-size:13px}.counter-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}@media (width<=900px){.counter-body{grid-template-columns:1fr}}.counter-group{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:18px}.counter-group h2{color:var(--text-primary);align-items:center;gap:8px;margin:0 0 14px;font-size:14px;font-weight:700;display:flex}.counter-lookup{gap:10px;display:flex}.counter-lookup input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--text-primary);outline:none;flex:1;padding:11px 14px;font-size:15px;transition:border-color .12s,box-shadow .12s,background .12s}.counter-lookup input:focus{border-color:var(--accent);background:var(--surface-2);box-shadow:0 0 0 3px var(--accent-wash)}.counter-lookup-error{color:var(--critical);margin-top:10px;font-size:13px}.counter-order-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-sunken);margin-top:16px;padding:16px}.counter-order-header{justify-content:space-between;align-items:baseline;margin-bottom:4px;display:flex}.counter-order-billno{color:var(--text-primary);font-size:17px;font-weight:700}.counter-order-type{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;font-size:12px;font-weight:600}.counter-order-time{color:var(--text-muted);margin-bottom:10px;font-size:12px;display:block}.counter-order-items{flex-direction:column;gap:4px;margin:0 0 10px;padding:0;list-style:none;display:flex}.counter-order-items li{color:var(--text-secondary);justify-content:space-between;font-size:13.5px;display:flex}.counter-order-total{border-top:1px dashed var(--border-strong);color:var(--text-primary);justify-content:space-between;margin-bottom:14px;padding-top:10px;font-size:16px;font-weight:700;display:flex}.counter-order-paylabel{color:var(--text-muted);margin-bottom:8px;font-size:12px;font-weight:600;display:block}.counter-pay-methods{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.counter-cancel-btn{justify-content:center;width:100%;margin-top:10px}.counter-cancel-confirm{border:1px solid var(--critical);border-radius:var(--radius-sm);background:var(--critical-wash);flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;display:flex}.counter-cancel-confirm span{min-width:160px;color:var(--text-primary);flex:1;font-size:12.5px}.counter-pay-btn{justify-content:center;padding:10px 8px}.counter-empty{color:var(--text-muted);padding:8px 0;font-size:13.5px}.counter-pending-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.counter-pending-list li{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-sunken);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.counter-pending-info{flex-direction:column;gap:2px;min-width:0;display:flex}.counter-pending-billno{color:var(--text-primary);font-size:14px;font-weight:700}.counter-pending-meta{color:var(--text-muted);font-size:12px}.counter-pending-time{color:var(--text-muted);font-size:11.5px}.counter-pending-pay-methods{flex-shrink:0;gap:6px;display:flex}.kot-ticket{box-sizing:border-box;width:100%;max-width:320px;margin:0 auto;padding:16px;font-size:13px}.kot-header-row{justify-content:space-between;margin-bottom:10px;display:flex}.kot-table-name{margin-bottom:6px;font-weight:700}.kot-parcel-flag{text-align:center;color:var(--critical);margin-bottom:10px;font-size:1.4em;font-weight:700}.kot-line{align-items:baseline;gap:4px;padding:3px 0;display:flex}@page thermal-80mm-page{size:80mm 400mm;margin:4mm}.bill-receipt{page:thermal-80mm-page;box-sizing:border-box;width:100%;max-width:320px;margin:0 auto;padding:16px}.thermal-receipt-rule-blank{height:6px}.bill-receipt-split-row{justify-content:space-between;gap:10px;font-size:11px;display:flex}.bill-receipt-muted{color:var(--text-muted);font-size:10.5px}@page bill-a4-page{size:A4;margin:14mm}.bill-a4{page:bill-a4-page;color:#111;box-sizing:border-box;background:#fff;width:100%;max-width:190mm;margin:0 auto;font-family:Arial,Helvetica,sans-serif;font-size:12px}.bill-a4-header{border-bottom:2px solid #111;justify-content:space-between;gap:24px;margin-bottom:14px;padding-bottom:10px;display:flex}.bill-a4-business-name{font-size:20px;font-weight:700}.bill-a4-address{color:#333;font-size:11.5px}.bill-a4-meta{text-align:right;min-width:220px}.bill-a4-title{letter-spacing:.5px;margin-bottom:8px;font-size:16px;font-weight:700}.bill-a4-meta-row{color:#333;justify-content:flex-end;gap:10px;font-size:11.5px;display:flex}.bill-a4-meta-row span:first-child{color:#666}.bill-a4-mono{color:#111;font-family:ui-monospace,Consolas,monospace;font-weight:700}.bill-a4-table{border-collapse:collapse;width:100%;margin-bottom:16px}.bill-a4-table th,.bill-a4-table td{text-align:left;border:1px solid #999;padding:6px 8px;font-size:11.5px}.bill-a4-table th{background:#f0f0f0;font-weight:700}.bill-a4-col-sno{text-align:center;width:32px}.bill-a4-col-num{text-align:right;white-space:nowrap}.bill-a4-totals{width:260px;margin-bottom:20px;margin-left:auto}.bill-a4-totals-row{justify-content:space-between;padding:4px 8px;font-size:12px;display:flex}.bill-a4-totals-grand{border-top:2px solid #111;margin-top:4px;padding-top:8px;font-size:14px;font-weight:700}.bill-a4-footer{text-align:center;color:#555;border-top:1px dashed #999;flex-direction:column;gap:3px;padding-top:10px;font-size:10.5px;display:flex}.settings-page{flex-direction:column;flex:1;min-height:0;padding:16px 24px;display:flex;overflow-y:auto}.settings-header{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.settings-header h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.settings-header p{color:var(--text-muted);margin:0;font-size:13px}.settings-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.btn-accent-outline{background:var(--surface-2);border:1px solid var(--accent);color:var(--accent-hover)}.btn-accent-outline:hover{background:var(--accent-wash)}.settings-body{flex:1;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:16px;min-height:0;display:grid}@media (width<=1100px){.settings-body{grid-template-columns:1fr}}.settings-form{flex-direction:column;gap:10px;min-width:0;display:flex}.settings-group{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:12px 14px}.settings-group-header{color:var(--accent);align-items:center;gap:8px;margin-bottom:8px;display:flex}.settings-group-header h2{color:var(--text-primary);margin:0;font-size:14px;font-weight:700}.settings-group-header span{color:var(--text-muted);font-size:12px}.settings-group-header-actions{flex-shrink:0;margin-left:auto}.settings-group-grid{gap:10px 14px;display:grid}@media (width<=640px){.settings-group-grid{grid-template-columns:1fr!important}}.settings-business-identity{gap:16px;display:flex}.settings-business-logo{border-radius:var(--radius-md);object-fit:cover;flex-shrink:0;width:56px;height:56px}.settings-business-logo-fallback{background:var(--accent);color:var(--text-on-accent);justify-content:center;align-items:center;font-size:22px;font-weight:700;display:flex}.settings-business-identity-fields{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;min-width:0;display:grid}@media (width<=640px){.settings-business-identity-fields{grid-template-columns:1fr}}.settings-business-identity-row{border-bottom:1px solid var(--border);justify-content:space-between;gap:10px;padding-bottom:8px;font-size:13px;display:flex}.settings-business-identity-label{color:var(--text-muted);flex-shrink:0}.settings-business-identity-value{color:var(--text-primary);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.settings-business-edit-form{flex-direction:column;gap:14px;max-width:640px;display:flex}.settings-business-edit-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}@media (width<=640px){.settings-business-edit-row{grid-template-columns:1fr}}.settings-checkbox-field{color:var(--text-secondary);cursor:pointer;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.settings-business-edit-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.settings-field{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;flex-direction:column;gap:5px;font-size:11.5px;font-weight:600;display:flex}.settings-field input,.settings-field select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);text-transform:none;letter-spacing:normal;color:var(--text-primary);background:var(--surface-2);outline:none;padding:7px 9px;font-size:13px;font-weight:400}.settings-field input:focus,.settings-field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.settings-field small{text-transform:none;letter-spacing:normal;color:var(--text-muted);font-size:10.5px;font-weight:400}.settings-test-print{grid-column:1/-1;align-items:center;gap:12px;padding-top:4px;display:flex}.settings-test-print span{color:var(--text-muted);font-size:12px}.settings-field-note{color:var(--text-muted);padding-top:4px;font-size:12px}.settings-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.settings-preview{flex-direction:column;gap:12px;display:flex;position:sticky;top:20px}.settings-preview-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.settings-preview-label{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);font-size:11px;font-weight:600}.settings-preview-docs{flex-direction:column;gap:16px;max-height:calc(100vh - 140px);display:flex;overflow-y:auto}.settings-preview-doc{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.database-locations{border-collapse:collapse;width:100%;margin-bottom:12px;font-size:12.5px}.database-locations th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);border-bottom:1px solid var(--border-strong);padding:6px 8px;font-size:10.5px;font-weight:700}.database-locations td{border-bottom:1px solid var(--border);vertical-align:top;padding:8px}.database-path{color:var(--text-secondary);word-break:break-all}.database-actions{flex-wrap:wrap;gap:8px;display:flex}.database-subheading{color:var(--text-primary);margin:18px 0 4px;font-size:13px;font-weight:700}.reports-page{flex-direction:column;flex:1;gap:18px;padding:20px 24px 40px;display:flex;overflow-y:auto}.reports-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reports-toolbar h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.reports-toolbar p{color:var(--text-muted);margin:0;font-size:13px}.reports-tabs{background:var(--surface-sunken);border-radius:999px;gap:2px;padding:3px;display:flex}.reports-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600}.reports-tab.is-active{background:var(--accent);color:var(--text-on-accent)}.report-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:20px}.report-card-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.report-card-header h2{color:var(--text-primary);margin:0 0 2px;font-size:16px;font-weight:700}.report-date{color:var(--text-muted);font-size:12.5px}.print-btn{align-items:center;gap:8px;display:inline-flex}.stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}@media (width<=900px){.stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.stat-tile{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-sunken);flex-direction:column;gap:4px;padding:14px 16px;display:flex}.stat-tile-label{color:var(--text-muted);font-size:12px;font-weight:600}.stat-tile-value{color:var(--text-primary);font-size:24px;font-weight:600}.stat-tile-delta{font-size:11.5px;font-weight:600}.stat-tile-delta.is-good{color:var(--good)}.stat-tile-delta.is-critical{color:var(--critical)}.stat-tile.is-good{background:var(--good-wash);border-color:var(--good)}.stat-tile.is-good .stat-tile-value{color:var(--good)}.stat-tile.is-critical{background:var(--critical-wash);border-color:var(--critical)}.stat-tile.is-critical .stat-tile-value{color:var(--critical)}.report-stat-tiles{grid-template-columns:repeat(7,minmax(0,1fr))}@media (width<=1200px){.report-stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=700px){.report-stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-active-filters{color:var(--text-muted);flex-wrap:wrap;gap:18px;margin-bottom:14px;font-size:12.5px;display:flex}.report-active-filters strong{color:var(--text-primary);font-weight:600}.report-table-filter{max-width:260px;margin-bottom:14px}.amount-due{color:var(--critical);font-weight:600}.report-filter-field select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;min-width:130px;padding:8px 10px;font-size:13px}.report-filter-field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.report-section-title{color:var(--text-primary);margin:0 0 10px;font-size:13.5px;font-weight:700}.report-table{border-collapse:collapse;width:100%;font-size:13.5px}.report-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);border-bottom:1px solid var(--border);padding:8px 10px;font-size:11px;font-weight:700}.report-table td{border-bottom:1px solid var(--border);color:var(--text-primary);padding:9px 10px}.report-table tbody tr:hover{background:var(--surface-sunken)}.report-table tfoot td{border-bottom:none;border-top:2px solid var(--border-strong);font-weight:700}.col-num{text-align:right;white-space:nowrap}.report-filters{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:16px;padding-bottom:16px;display:flex}.report-filter-field{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);flex-direction:column;gap:5px;font-size:11px;font-weight:700;display:flex}.report-filter-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:8px 10px;font-size:13px}.report-filter-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.report-filters-spacer{flex:1}.btn-danger-outline{border:1px solid var(--critical);background:var(--surface-2);color:var(--critical);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:6px;padding:9px 14px;font-size:13px;font-weight:600;display:inline-flex}.btn-danger-outline:hover{background:var(--critical-wash)}.btn-danger{background:var(--critical);color:#fff;border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;padding:9px 14px;font-size:13px;font-weight:600}.btn-danger:hover:not(:disabled){filter:brightness(.92)}.btn-danger:disabled{background:var(--border-strong);color:var(--text-muted);cursor:not-allowed}.delete-all-confirm{background:var(--critical-wash);border:1px solid var(--critical);border-radius:var(--radius-md);margin-bottom:16px;padding:14px 16px}.delete-all-confirm p{color:var(--text-primary);margin:0 0 10px;font-size:13px;line-height:1.5}.delete-all-confirm p code{background:var(--surface-2);border-radius:4px;padding:1px 5px;font-family:ui-monospace,Consolas,monospace;font-size:12px}.delete-all-confirm-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.delete-all-confirm-row input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-primary);outline:none;width:140px;padding:8px 10px;font-size:13px}.col-actions{text-align:right;width:160px}.row-actions,.row-confirm{justify-content:flex-end;gap:6px;display:flex}.bill-list-row td{border-bottom:1px solid var(--border);background:var(--surface-sunken);padding:0 10px 14px}.bill-list-table{border-collapse:collapse;width:100%;margin-top:6px;font-size:12.5px}.bill-list-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);padding:6px 8px;font-size:10.5px;font-weight:700}.bill-list-table td{color:var(--text-secondary);border-top:1px solid var(--border);padding:6px 8px}.balance-page{flex:1;padding:20px 24px 40px;overflow-y:auto}.balance-toolbar{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.balance-toolbar h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.balance-toolbar p{color:var(--text-muted);margin:0;font-size:13px}.balance-body{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:20px;display:grid}@media (width<=1000px){.balance-body{grid-template-columns:1fr}}.balance-form{flex-direction:column;gap:16px;min-width:0;display:flex}.balance-group{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:18px}.balance-group h2{color:var(--text-primary);margin:0 0 14px;font-size:14px;font-weight:700}.balance-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (width<=640px){.balance-field-grid{grid-template-columns:1fr}}.balance-field{color:var(--text-muted);text-transform:uppercase;letter-spacing:.3px;flex-direction:column;gap:5px;font-size:11.5px;font-weight:600;display:flex}.balance-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:9px 10px;font-size:15px;font-weight:600}.balance-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.balance-field small{text-transform:none;letter-spacing:normal;color:var(--text-muted);font-size:10.5px;font-weight:400}.balance-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.balance-dirty{color:var(--text-muted);font-size:12.5px}.balance-group-hint{color:var(--text-muted);margin:-8px 0 12px;font-size:12px}.denom-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-bottom:14px;display:grid}.denom-field{color:var(--text-secondary);flex-direction:column;gap:4px;font-size:12px;font-weight:700;display:flex}.denom-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:7px 8px;font-size:13.5px;font-weight:600}.denom-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.denom-field small{color:var(--text-muted);font-size:10.5px;font-weight:400}.denom-total-row{border-top:1px solid var(--border);color:var(--text-primary);justify-content:space-between;padding-top:12px;font-size:13.5px;font-weight:700;display:flex}.thermal-receipt{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:18px 16px;position:sticky;top:20px}.invoices-search-field{min-width:220px}.invoices-search-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:8px 10px;font-size:13px}.invoices-search-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.invoice-view-toolbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.invoice-view-payment{color:var(--text-secondary);font-size:12.5px;font-weight:600}.invoice-view-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.invoice-edit-fields{flex-wrap:wrap;gap:14px;margin-bottom:12px;display:flex}.invoice-edit-fields input,.invoice-edit-fields select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:8px 10px;font-size:13px}.invoice-edit-fields input:focus,.invoice-edit-fields select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.invoice-edit-num{text-align:right;border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:80px;color:var(--text-primary);background:var(--surface-2);outline:none;padding:5px 8px;font-size:12.5px}.invoice-edit-num:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.sale-view-page{flex-direction:column;gap:16px;max-width:960px;margin:0 auto;padding:16px;display:flex}.sale-view-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sale-view-status{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.sale-view-status-paid{background:var(--good-wash,#dcfce7);color:var(--good,#16a34a)}.sale-view-status-partiallypaid{background:var(--accent-wash,#fef3c7);color:var(--accent-hover,#b45309)}.sale-view-status-unpaid{background:var(--critical-wash,#fee2e2);color:var(--critical,#dc2626)}.sale-view-doc{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);padding:16px}.sale-view-edit-fields{flex-wrap:wrap;gap:16px;margin-bottom:12px;display:flex}.sale-view-payments{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);padding:16px}.sale-view-payments h3{margin:0 0 10px;font-size:14px;font-weight:700}.hrm-page{flex-direction:column;gap:20px;padding:24px;display:flex}.hrm-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.hrm-toolbar h1{margin:0 0 4px;font-size:20px}.hrm-toolbar p{color:var(--text-muted,#78716c);margin:0;font-size:13px}.hrm-tabs{background:var(--surface-sunken,#f2f1ed);border-radius:var(--radius-md,10px);gap:6px;padding:4px;display:flex}.hrm-tab{border-radius:var(--radius-sm,6px);color:var(--text-secondary,#52514e);cursor:pointer;background:0 0;border:none;padding:8px 14px;font-size:13px;font-weight:600}.hrm-tab.is-active{background:var(--surface-2,#fff);color:var(--text-primary,#0b0b0b);box-shadow:var(--shadow-card,0 1px 2px #00000014)}.hrm-status{text-align:center;color:var(--text-muted,#78716c);padding:32px;font-size:13.5px}.hrm-filters{gap:12px;display:flex}.hrm-filter-field{color:var(--text-muted,#78716c);text-transform:uppercase;letter-spacing:.02em;flex-direction:column;gap:4px;font-size:11.5px;font-weight:600;display:flex}.hrm-filter-field input{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);text-transform:none;padding:7px 9px;font-size:13px;font-weight:400}.hrm-table{border-collapse:collapse;width:100%;font-size:13.5px}.hrm-table th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted,#78716c);border-bottom:1px solid var(--border-strong,#d6d3d1);padding:8px 10px;font-size:11px;font-weight:700}.hrm-table td{border-bottom:1px solid var(--border,#00000014);padding:10px}.hrm-col-num{text-align:right}.hrm-row-actions{justify-content:flex-end;gap:6px;display:flex}.hrm-staff-toolbar{justify-content:flex-end;gap:10px;display:flex}.hrm-export-btn{white-space:nowrap}.hrm-matrix-scroll{overflow-x:auto}.hrm-matrix-table{font-size:12px}.hrm-matrix-name{background:var(--surface-2,#fff);white-space:nowrap;text-align:left;align-items:center;gap:8px;display:flex;position:sticky;left:0;padding-right:16px!important}.hrm-matrix-day{text-align:center;min-width:30px;padding:6px 4px!important}.hrm-matrix-month-title{text-align:center;color:var(--text-primary,#0b0b0b);font-size:13px;font-weight:700}.hrm-matrix-weekday{text-transform:none;color:var(--text-muted,#78716c);margin-top:1px;font-size:10px;font-weight:400}.hrm-matrix-role{color:var(--text-muted,#78716c);font-size:11px;font-weight:400;display:block}.hrm-matrix-symbol{justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.hrm-matrix-symbol.is-present{color:var(--good,#0ca30c)}.hrm-matrix-symbol.is-half{color:var(--warning,#b45309)}.hrm-matrix-symbol.is-absent{color:var(--critical,#d03b3b)}.hrm-matrix-symbol.is-dayoff{color:var(--text-muted,#78716c);font-weight:400}.hrm-matrix-tags{justify-content:center;gap:2px;margin-top:2px;display:flex}.hrm-matrix-tag{border-radius:3px;padding:1px 3px;font-size:8.5px;font-weight:700;line-height:1}.hrm-matrix-tag.is-late{background:var(--warning-wash,#fff6e2);color:var(--warning,#b45309)}.hrm-matrix-tag.is-ot{background:var(--accent-wash,#eaf2fc);color:var(--accent,#2a78d6)}.hrm-matrix-legend{background:var(--surface-sunken,#f2f1ed);border-radius:var(--radius-sm,8px);flex-wrap:wrap;gap:16px;margin-bottom:14px;padding:10px 14px;display:flex}.hrm-legend-item{color:var(--text-secondary,#52514e);align-items:center;gap:6px;font-size:12px;display:inline-flex}.hrm-staff-avatar{object-fit:cover;border-radius:50%;width:32px;height:32px;display:block}.hrm-staff-avatar-blank{background:var(--surface-sunken,#f2f1ed);border:1px dashed var(--border-strong,#d6d3d1)}.hrm-face-badge{background:var(--warning-wash,#fff6e2);color:var(--warning,#b45309);border-radius:999px;padding:3px 8px;font-size:11px;font-weight:600}.hrm-face-badge.is-enrolled{background:var(--good-wash,#e7f6e7);color:var(--good,#0ca30c)}.hrm-modal-backdrop{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.hrm-modal{background:var(--surface-2,#fff);border-radius:var(--radius-lg,14px);width:min(520px,92vw);box-shadow:var(--shadow-pop,0 8px 24px #0003);padding:24px}.hrm-modal h2{margin:0 0 16px;font-size:17px}.hrm-modal-error{color:var(--critical,#d03b3b);font-size:13.5px}.hrm-camera-controls{justify-content:center;align-items:center;gap:8px;margin-bottom:10px;display:flex}.hrm-camera-controls select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);max-width:220px;padding:6px 8px;font-size:12.5px}.hrm-modal-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.hrm-camera-frame{border-radius:var(--radius-md,10px);background:#000;width:100%;position:relative;overflow:hidden}.hrm-camera-frame video{width:100%;display:block}.hrm-enroll-status{color:var(--text-secondary,#52514e);text-align:center;margin:12px 0 6px;font-size:13px}.hrm-enroll-progress{justify-content:center;gap:8px;display:flex}.hrm-enroll-dot{background:var(--surface-sunken,#f2f1ed);border:1px solid var(--border-strong,#d6d3d1);border-radius:50%;width:10px;height:10px}.hrm-enroll-dot.is-filled{background:var(--good,#0ca30c);border-color:var(--good,#0ca30c)}.hrm-checkin-page{flex-direction:column;align-items:center;gap:12px;display:flex}.hrm-checkin-frame{max-width:640px}.hrm-checkin-canvas{width:100%;height:100%;position:absolute;inset:0}.hrm-checkin-banner{background:var(--surface-2,#fff);border-radius:var(--radius-lg,14px);box-shadow:var(--shadow-pop,0 8px 24px #0003);border-left:4px solid var(--good,#0ca30c);align-items:center;gap:12px;padding:12px 20px;display:flex;position:fixed;bottom:32px;left:50%;transform:translate(-50%)}.hrm-checkin-banner.is-out{border-left-color:var(--warning,#fab219)}.hrm-checkin-banner img{object-fit:cover;border-radius:50%;width:44px;height:44px}.hrm-checkin-banner strong{font-size:14px;display:block}.hrm-checkin-banner span{color:var(--text-muted,#78716c);font-size:12.5px}.hrm-infotip{color:var(--text-muted,#78716c);cursor:help;vertical-align:middle;outline:none;justify-content:center;align-items:center;margin-left:5px;display:inline-flex;position:relative}.hrm-infotip:hover,.hrm-infotip:focus-visible{color:var(--accent,#2a78d6)}.hrm-infotip-bubble{background:var(--surface-2,#fff);width:max-content;max-width:240px;color:var(--text-secondary,#52514e);border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);box-shadow:var(--shadow-pop,0 8px 24px #0003);text-transform:none;z-index:50;cursor:default;padding:8px 10px;font-size:12px;font-weight:400;line-height:1.4;position:absolute;bottom:calc(100% + 8px);left:0;transform:translate(0)}.hrm-infotip-align-right{left:auto;right:0}.hrm-attendance-days{flex-direction:column;gap:16px;display:flex}.hrm-page-subtitle{color:var(--text-muted,#78716c);margin:-8px 0 0;font-size:12.5px}.hrm-list-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.hrm-search-field{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,8px);min-width:220px;color:var(--text-muted,#78716c);flex:1;align-items:center;gap:8px;padding:8px 12px;display:flex}.hrm-search-field input{color:var(--text-primary,#0b0b0b);background:0 0;border:none;outline:none;flex:1;font-size:13.5px}.hrm-list-controls select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,8px);padding:8px 10px;font-size:13px}.hrm-per-page{color:var(--text-muted,#78716c);white-space:nowrap;align-items:center;gap:8px;font-size:12.5px;display:flex}.hrm-id-badge{color:var(--accent,#2a78d6);background:var(--accent-wash,#eaf2fc);border:1px solid var(--accent-wash,#eaf2fc);border-radius:999px;padding:3px 10px;font-family:inherit;font-size:12px;font-weight:600;display:inline-block}.hrm-list-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:4px;display:flex}.hrm-list-footer-count{color:var(--text-muted,#78716c);font-size:12.5px}.hrm-table tbody tr:nth-child(2n){background:var(--surface-sunken,#f8f7f5)}.hrm-table tbody tr:hover{background:var(--surface-hover,#eef2f7)}.hrm-staff-detail{flex-direction:column;gap:16px;display:flex}.hrm-detail-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.hrm-detail-actions{flex-wrap:wrap;gap:6px;display:flex}.hrm-back-btn{align-self:flex-start}.hrm-detail-edit-actions{justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.hrm-detail-header{border-bottom:1px solid var(--border,#00000014);align-items:center;gap:16px;padding-bottom:16px;display:flex}.hrm-detail-avatar{flex-shrink:0;width:56px;height:56px}.hrm-detail-header h2{margin:0 0 2px;font-size:18px}.hrm-detail-header p{color:var(--text-muted,#78716c);margin:0 0 8px;font-size:13px}.hrm-detail-badges{flex-wrap:wrap;gap:6px;display:flex}.hrm-status-badge{background:var(--surface-sunken,#f2f1ed);color:var(--text-secondary,#52514e);border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600}.hrm-status-badge.is-active,.hrm-status-badge.is-good{background:var(--good-wash,#e7f6e7);color:var(--good,#0ca30c)}.hrm-status-badge.is-inactive{background:var(--critical-wash,#fde8e8);color:var(--critical,#d03b3b)}.hrm-status-badge.is-warning{background:var(--warning-wash,#fff6e2);color:var(--warning,#b45309)}.hrm-status-badge.is-neutral{background:var(--surface-sunken,#f2f1ed);color:var(--text-secondary,#52514e)}.hrm-status-badge-btn{cursor:pointer;font:inherit;border:none;font-size:11px;font-weight:600}.hrm-status-badge-btn:hover{filter:brightness(.95)}button.hrm-user-cell{font:inherit;cursor:pointer;text-align:left;background:0 0;border:none;padding:0}.hrm-user-cell{align-items:center;gap:10px;display:inline-flex}button.hrm-user-cell:hover .hrm-user-cell-text strong{color:var(--accent,#2a78d6)}.hrm-user-cell-text{flex-direction:column;gap:1px;display:flex}.hrm-user-cell-text strong{color:var(--text-primary,#0b0b0b);font-size:13.5px;font-weight:600}.hrm-user-cell-text small{color:var(--text-muted,#78716c);font-size:12px}.hrm-icon-btn{cursor:pointer;border:1px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.hrm-icon-btn.is-view{background:var(--accent-wash,#eaf2fc);border-color:var(--accent-wash,#eaf2fc);color:var(--accent,#2a78d6)}.hrm-icon-btn.is-view:hover{background:var(--accent,#2a78d6);color:#fff}.hrm-icon-btn.is-neutral{background:var(--surface-sunken,#f2f1ed);border-color:var(--surface-sunken,#f2f1ed);color:var(--text-secondary,#52514e)}.hrm-icon-btn.is-neutral:hover{background:var(--border-strong,#d6d3d1)}.hrm-matrix-avatar{object-fit:cover;vertical-align:middle;border-radius:50%;width:20px;height:20px;margin-right:6px;display:inline-block}.hrm-pagination{align-items:center;gap:6px;margin-top:4px;display:flex}.hrm-pagination-page,.hrm-pagination-arrow{border:1px solid var(--border-strong,#d6d3d1);background:var(--surface-2,#fff);width:28px;height:28px;color:var(--text-secondary,#52514e);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;font-size:12.5px;font-weight:600;display:inline-flex}.hrm-pagination-page.is-active{background:var(--accent,#2a78d6);border-color:var(--accent,#2a78d6);color:#fff}.hrm-pagination-arrow:disabled{opacity:.4;cursor:default}.hrm-detail-grid{grid-template-columns:minmax(260px,380px) 1fr;align-items:start;gap:20px;display:grid}.hrm-payslip-list{flex-direction:column;margin:0;display:flex}.hrm-payslip-actions{justify-content:flex-end;gap:8px;display:flex}.hrm-payment-summary{border-top:1px solid var(--border,#0000000f);align-items:center;gap:10px;margin-top:10px;padding-top:10px;display:flex}.hrm-payment-summary-detail{color:var(--text-secondary,#52514e);font-size:12.5px}.hrm-payslip-remark{color:var(--text-muted,#78716c);margin:8px 0 0;font-size:12.5px;font-style:italic}.hrm-payslip-row{border-bottom:1px solid var(--border,#0000000f);justify-content:space-between;align-items:center;gap:12px;padding:7px 0;display:flex}.hrm-payslip-row dt{color:var(--text-secondary,#52514e);align-items:center;margin:0;font-size:13px;display:flex}.hrm-payslip-row dd{color:var(--text-primary,#0b0b0b);margin:0;font-weight:600}.hrm-payslip-row.is-strong{border-top:2px solid var(--border-strong,#d6d3d1);border-bottom:none;margin-top:4px;padding-top:10px}.hrm-payslip-row.is-strong dt,.hrm-payslip-row.is-strong dd{font-size:15px;font-weight:700}.hrm-payslip-row.is-muted{border-bottom:none}.hrm-payslip-row.is-muted dt,.hrm-payslip-row.is-muted dd{color:var(--text-muted,#78716c);font-size:12px;font-weight:400}@media (width<=900px){.hrm-detail-grid{grid-template-columns:1fr}}.hrm-payslip-print{color:#111;max-width:640px;font-family:Arial,Helvetica,sans-serif}.hrm-payslip-print h1{margin:0 0 4px;font-size:20px}.hrm-payslip-print-period{color:#444;margin:0 0 12px;font-size:13px}.hrm-payslip-print-meta{border-bottom:1px solid #999;gap:16px;margin-bottom:16px;padding-bottom:12px;font-size:13px;display:flex}.hrm-payslip-print-table{border-collapse:collapse;width:100%;font-size:12.5px}.hrm-payslip-print-table th,.hrm-payslip-print-table td{text-align:left;border:1px solid #999;padding:6px 8px}.hrm-payslip-print-table th.hrm-col-num,.hrm-payslip-print-table td.hrm-col-num{text-align:right}.hrm-payslip-print-table tr.hrm-payslip-print-total td{border-top:2px solid #111;font-weight:700}.hrm-payslip-print-net{margin:16px 0 4px;font-size:16px;font-weight:700}.hrm-payslip-print-footnote{color:#555;margin:4px 0 0;font-size:11px}.hrm-form-hint{color:var(--text-muted,#78716c);margin:0;font-size:12.5px}.hrm-payroll-net{color:var(--text-primary,#0b0b0b);font-weight:700}.hrm-bsettings{flex-direction:column;gap:20px;display:flex}.hrm-bsettings-group{border:1px solid var(--border,#0000000f);border-radius:var(--radius-lg,14px);background:var(--surface-2,#fff);box-shadow:var(--shadow-card,0 1px 3px #0000000f);flex-direction:column;gap:16px;padding:22px 24px;display:flex}.hrm-bsettings-header h2{color:var(--text-primary,#0b0b0b);margin:0 0 3px;font-size:17px;font-weight:700}.hrm-bsettings-header span{color:var(--text-muted,#78716c);font-size:12.5px}.hrm-bsettings-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px;display:grid}.hrm-bsettings-span-full{flex-direction:column;grid-column:1/-1;align-items:flex-start;gap:8px;display:flex}.hrm-bsettings-field{color:var(--text-muted,#78716c);flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.hrm-bsettings-field input,.hrm-bsettings-field select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,8px);color:var(--text-primary,#0b0b0b);padding:9px 12px;font-size:13.5px;font-weight:400}.hrm-bsettings-field input:focus,.hrm-bsettings-field select:focus{border-color:var(--accent,#2a78d6);box-shadow:0 0 0 3px var(--accent-wash,#eaf2fc);outline:none}.hrm-required{color:var(--critical,#d03b3b);margin-left:2px}.hrm-radio-group{align-items:center;gap:16px;min-height:32px;display:flex}.hrm-radio-option{color:var(--text-primary,#0b0b0b);cursor:pointer;align-items:center;gap:6px;font-size:13.5px;display:flex}.hrm-radio-option input[type=radio]{width:15px;height:15px;accent-color:var(--accent,#2a78d6);cursor:pointer}.hrm-profile-value{min-height:32px;color:var(--text-primary,#0b0b0b);align-items:center;font-size:13px;font-weight:400;display:flex}.hrm-bsettings-field small{text-transform:none;color:var(--text-muted,#78716c);font-weight:400}.hrm-inline-check{color:var(--text-primary,#0b0b0b);align-items:center;gap:8px;font-size:13px;font-weight:400;display:flex}.hrm-weekday-picker{flex-wrap:wrap;gap:6px;display:flex}.hrm-weekday-chip{border:1px solid var(--border-strong,#d6d3d1);background:var(--surface-2,#fff);cursor:pointer;color:var(--text-secondary,#52514e);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600}.hrm-weekday-chip.is-active{background:var(--accent,#2a78d6);border-color:var(--accent,#2a78d6);color:var(--text-on-accent,#fff)}.hrm-slab-table input,.hrm-addon-table input,.hrm-addon-table select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);width:100%;padding:6px 8px;font-size:13px}.hrm-addon-table td{min-width:110px}.hrm-leave-days-input{width:80px!important}.hrm-leave-color-input{cursor:pointer;height:30px;width:40px!important;padding:2px!important}.hrm-bsettings-actions{justify-content:flex-end;gap:10px;display:flex}:where(.hrm-page) :where(.btn){border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);cursor:pointer;background:var(--surface-2,#fff);color:var(--text-primary,#0b0b0b);padding:7px 12px;font-size:13px;font-weight:600}:where(.hrm-page) :where(.btn-primary){background:var(--accent,#2a78d6);border-color:var(--accent,#2a78d6);color:var(--text-on-accent,#fff)}:where(.hrm-page) :where(.btn-ghost){background:0 0;border-color:#0000}:where(.hrm-page) :where(.btn-danger){background:var(--critical,#d03b3b);border-color:var(--critical,#d03b3b);color:#fff}:where(.hrm-page) :where(.btn-danger-outline){color:var(--critical,#d03b3b);border-color:var(--critical,#d03b3b);background:0 0}:where(.hrm-page) :where(.btn-sm){padding:4px 9px;font-size:12px}:where(.hrm-page) :where(.tabular){font-variant-numeric:tabular-nums}.product-view-page{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex}.product-view-header{justify-content:space-between;align-items:center;display:flex}.product-view-header-actions{align-items:center;gap:10px;display:flex}.product-view-delete-confirm-text{color:var(--critical,#d03b3b);font-size:13px}.product-view-header h1{color:var(--text-primary);margin:0;font-size:20px;font-weight:700}.product-view-body{flex:1;grid-template-columns:180px minmax(0,1fr);gap:16px;min-height:0;display:grid}.product-view-sidebar{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;align-self:flex-start;padding:6px;display:flex}.product-view-sidebar-item{text-align:left;color:var(--text-secondary);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;border-left:3px solid #0000;padding:12px 14px;font-size:14px;font-weight:600}.product-view-sidebar-item:hover{background:var(--surface-sunken)}.product-view-sidebar-item.is-active{color:var(--accent);border-left-color:var(--accent);background:var(--accent-wash)}.product-view-content{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);padding:18px;overflow-y:auto}.product-view-details{flex-direction:column;gap:14px;display:flex}.product-view-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.product-view-grow{flex:180px;min-width:140px}.product-view-add-btn{border:1px solid var(--accent);border-radius:var(--radius-sm);width:40px;height:40px;color:var(--accent);cursor:pointer;background:0 0;flex-shrink:0;justify-content:center;align-items:center;display:flex}.product-view-add-btn:hover{background:var(--accent-wash)}.product-view-radio-group{align-items:center;gap:14px;padding-bottom:10px;display:flex}.product-view-radio-group label{color:var(--text-primary);cursor:pointer;align-items:center;gap:6px;font-size:13.5px;display:flex}.product-view-inline-add{background:var(--surface-sunken);border-radius:var(--radius-sm);padding:10px}.product-view-update-row{justify-content:center;padding-top:6px;display:flex}.product-view-update-row .btn{justify-content:center;min-width:160px}.product-view-placeholder{text-align:center;color:var(--text-muted);padding:60px 0}.product-view-inventory-note{color:var(--text-muted);margin:10px 0 0;font-size:12.5px}.product-view-managestock-toggle{color:var(--text-primary);cursor:pointer;align-items:center;gap:8px;margin-bottom:14px;font-size:13.5px;display:flex}.rich-text-editor{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);overflow:hidden}.rich-text-toolbar{border-bottom:1px solid var(--border);background:var(--surface-sunken);flex-wrap:wrap;align-items:center;gap:4px;padding:6px 8px;display:flex}.rich-text-toolbar button{border-radius:var(--radius-sm);min-width:28px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;font-size:13px}.rich-text-toolbar button:hover{background:var(--surface-2);color:var(--text-primary)}.rich-text-toolbar select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);height:28px;color:var(--text-primary);font-size:12.5px}.rich-text-body{min-height:120px;color:var(--text-primary);outline:none;padding:12px 14px;font-size:14px;overflow-y:auto}.rich-text-body:empty:before{content:attr(data-placeholder);color:var(--text-muted)}.table-pos-page{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex}.table-pos-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.table-pos-header h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.table-pos-header p{color:var(--text-muted);margin:0;font-size:13px}.table-pos-body{flex:1;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:16px;min-height:0;display:grid}.table-pos-sidebar{flex-direction:column;gap:12px;display:flex;overflow-y:auto}.table-pos-order-type-row{gap:6px;display:flex}.table-pos-order-type-btn{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text-secondary);border-radius:var(--radius-sm);cursor:pointer;flex:1;padding:10px 8px;font-size:12.5px;font-weight:700;transition:background .12s,color .12s,border-color .12s}.table-pos-order-type-btn.is-active{background:var(--accent);border-color:var(--accent);color:var(--text-on-accent)}.table-pos-panel{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:10px;padding:14px;display:flex}.table-pos-panel h3{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);margin:0;font-size:12.5px;font-weight:700}.table-pos-customer-type-row{flex-direction:column;gap:8px;display:flex}.table-pos-radio{color:var(--text-primary);cursor:pointer;align-items:center;gap:8px;font-size:13.5px;display:flex}.table-pos-mobile-row{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;gap:6px;padding:8px 10px;display:flex}.table-pos-mobile-row input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;font-size:13.5px}.table-pos-clear-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:16px;line-height:1}.table-pos-staff-list{flex-direction:column;gap:8px;max-height:200px;display:flex;overflow-y:auto}.table-pos-empty-note{color:var(--text-muted);font-size:12.5px}.table-pos-grid-area{min-height:0;overflow-y:auto}.table-pos-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;display:grid}.table-pos-tile{border-radius:var(--radius-md);background:linear-gradient(160deg, var(--accent) 0%, var(--accent-hover) 100%);min-height:110px;box-shadow:var(--shadow-card);position:relative;overflow:hidden}.table-pos-tile-body{width:100%;height:100%;min-height:110px;color:var(--text-on-accent);cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:16px 10px;display:flex}.table-pos-tile-amount{font-size:14px;font-weight:700}.table-pos-tile-name{text-align:center;font-size:14px;font-weight:600}@media (width<=900px){.table-pos-body{grid-template-columns:1fr}}.table-dinein-step{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px;display:flex}.table-dinein-topbar{align-items:center;gap:14px;display:flex}.table-dinein-topbar h1{color:var(--text-primary);margin:0;font-size:18px;font-weight:700}.table-dinein-grid{flex:1;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;min-height:0;display:grid}@media (width<=980px){.table-dinein-grid{grid-template-columns:1fr}}.category-grouped-menu{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);height:100%;min-height:0;box-shadow:var(--shadow-card);flex-direction:column;display:flex;overflow:hidden}.category-grouped-menu-topbar{gap:12px}.category-grouped-menu-scroll{flex-direction:column;flex:1;gap:20px;min-height:0;padding:16px 18px;display:flex;overflow-y:auto}.category-grouped-menu-heading{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);margin:0 0 10px;font-size:13px;font-weight:700}.table-order-panel-header{justify-content:flex-start}.table-order-remark{border-bottom:1px solid var(--border);padding:10px 18px}.table-order-remark textarea{resize:vertical;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);width:100%;color:var(--text-primary);padding:8px 10px;font-family:inherit;font-size:13px}.table-order-payment-picker{border-bottom:1px solid var(--border);background:var(--surface-sunken);flex-direction:column;gap:8px;padding:12px 18px;display:flex}.table-order-payment-picker span{color:var(--text-secondary);font-size:12.5px;font-weight:600}.table-order-payment-methods{gap:8px;display:flex}.table-order-quick-actions{flex-shrink:0;gap:8px;padding:10px 18px 0;display:flex}.table-order-footer{justify-content:center}.table-order-actions{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;display:grid}.table-order-actions .btn{padding:10px 8px}.create-bill-page{flex-direction:column;flex:1;gap:16px;padding:16px;display:flex;overflow-y:auto}.create-bill-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.create-bill-header h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.create-bill-header p{color:var(--text-muted);max-width:640px;margin:0;font-size:13px}.btn-ghost-outline{border-radius:var(--radius-sm);cursor:pointer;border:1px solid var(--accent);color:var(--accent);background:0 0;align-items:center;gap:6px;padding:10px 16px;font-size:14px;font-weight:600;transition:background .12s;display:inline-flex}.btn-ghost-outline:hover:not(:disabled){background:var(--accent-wash)}.create-bill-toprow{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 16px;display:flex}.create-bill-customer{flex:220px;min-width:180px}.create-bill-panel{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.create-bill-panel-header{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);justify-content:space-between;align-items:center;font-size:12.5px;font-weight:700;display:flex}.create-bill-panel-header-actions{gap:8px;display:flex}.create-bill-entry-row{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.create-bill-entry-search{flex:200px;min-width:160px}.create-bill-discount{gap:4px;display:flex}.create-bill-discount input{width:70px}.create-bill-remark-toggle{align-self:flex-start;padding:0!important}.create-bill-remark-input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-primary);padding:8px 10px;font-size:13px}.create-bill-charges-toggle{display:flex}.create-bill-charge-row{align-items:center;gap:10px;display:flex}.create-bill-charge-row span:first-child{flex:1}.create-bill-table{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md)}.create-bill-line-remark{color:var(--text-muted);font-size:11.5px}.create-bill-footer{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:12px;padding:14px 16px;display:flex}.create-bill-grandtotal{color:var(--text-primary);justify-content:flex-end;align-items:center;gap:14px;font-size:18px;font-weight:700;display:flex}.create-bill-actions{justify-content:flex-end;gap:10px;display:flex}.login-gate{background:var(--page-plane);justify-content:center;align-items:center;height:100vh;padding:24px;display:flex}.login-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:400px;box-shadow:var(--shadow-card);max-height:calc(100vh - 48px);padding:32px;overflow-y:auto}.login-card.is-wide{max-width:480px}.login-brand{align-items:center;gap:10px;margin-bottom:24px;display:flex}.login-logo{border-radius:var(--radius-sm);background:var(--accent);width:34px;height:34px;color:var(--text-on-accent);justify-content:center;align-items:center;font-size:16px;font-weight:700;display:flex}.login-brand-name{color:var(--text-primary);font-size:15px;font-weight:700}.login-card h1{color:var(--text-primary);margin:0 0 6px;font-size:19px;font-weight:700}.login-subtitle{color:var(--text-muted);margin:0 0 20px;font-size:13px;line-height:1.5}.login-error{background:var(--critical-wash);color:var(--critical);border-radius:var(--radius-sm);margin-bottom:16px;padding:9px 12px;font-size:12.5px}.login-submit{justify-content:center;width:100%;padding:11px;font-size:14px}.login-business-form .login-submit{margin-bottom:10px}.login-back{justify-content:center;width:100%}.login-business-list{flex-direction:column;gap:8px;max-height:320px;margin-bottom:18px;display:flex;overflow-y:auto}.login-business-item{text-align:left;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-2);cursor:pointer;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.login-business-item:hover,.login-business-item.is-active{border-color:var(--accent);background:var(--accent-wash)}.login-business-item.is-active .login-business-name:after{content:"Current";text-transform:uppercase;letter-spacing:.3px;color:var(--accent);margin-left:8px;font-size:10.5px;font-weight:700}.login-business-logo{border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0;width:36px;height:36px}.login-business-logo-fallback{background:var(--accent);color:var(--text-on-accent);justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.login-business-info{flex-direction:column;gap:2px;min-width:0;display:flex}.login-business-name{color:var(--text-primary);font-size:13.5px;font-weight:700}.login-business-address{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.login-field{color:var(--text-secondary);flex-direction:column;gap:6px;margin-bottom:16px;font-size:12.5px;font-weight:600;display:flex}.login-field input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-primary);background:var(--surface-2);outline:none;padding:10px 12px;font-size:14px}.login-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.login-field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.login-field-row .login-field{margin-bottom:16px}.login-checkbox-field{color:var(--text-secondary);cursor:pointer;align-items:center;gap:8px;margin-bottom:16px;font-size:13px;font-weight:600;display:flex}.plan-details-page{flex-direction:column;flex:1;gap:18px;padding:20px 24px 40px;display:flex;overflow-y:auto}.plan-details-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.plan-details-header h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.plan-details-header p{color:var(--text-muted);margin:0;font-size:13px}.plan-summary-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:20px}.plan-summary-top{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:18px;display:flex}.plan-name{color:var(--text-primary);font-size:18px;font-weight:700}.plan-badges{flex-wrap:wrap;gap:8px;display:flex}.plan-badge{text-transform:uppercase;letter-spacing:.3px;background:var(--surface-sunken);color:var(--text-secondary);border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.plan-badge.is-good{background:var(--good-wash);color:var(--good)}.plan-badge.is-critical{background:var(--critical-wash);color:var(--critical)}.plan-dates{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}@media (width<=700px){.plan-dates{grid-template-columns:1fr}}.plan-date-tile{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-sunken);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.plan-date-label{text-transform:uppercase;letter-spacing:.3px;color:var(--text-muted);font-size:11px;font-weight:600}.plan-date-value{color:var(--text-primary);font-size:15px;font-weight:600}.plan-expired-note{background:var(--critical-wash);color:var(--critical);border-radius:var(--radius-sm);margin-top:16px;padding:10px 14px;font-size:12.5px;line-height:1.5}.plan-modules-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.plan-modules-header h2{color:var(--text-primary);margin:0 0 2px;font-size:16px;font-weight:700}.plan-modules-subtitle{color:var(--text-muted);font-size:12.5px}.plan-features-count{color:var(--text-muted);font-size:12px}.plan-module-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:18px 20px}.plan-module-title{color:var(--text-primary);margin:0 0 12px;font-size:14px;font-weight:700}.plan-module-rows{flex-direction:column;display:flex}.plan-module-row{border-top:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px 0;display:flex}.plan-module-row:first-child{border-top:none;padding-top:0}.plan-module-row:last-child{padding-bottom:0}.plan-module-dot{background:var(--border-strong);border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:5px}.plan-module-dot.is-enabled{background:var(--good)}.plan-module-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.plan-module-row-label{color:var(--text-primary);font-size:13.5px;font-weight:700}.plan-module-row-desc{color:var(--text-muted);font-size:12px;line-height:1.4}.plan-module-row-right{flex-shrink:0;align-items:center;gap:8px;display:flex}.plan-module-row-count{text-align:center;border-radius:var(--radius-sm);background:var(--surface-sunken);border:1px solid var(--border);min-width:28px;color:var(--text-secondary);padding:4px 8px;font-size:12px;font-weight:600}.plan-module-row-pill{background:var(--surface-sunken);color:var(--text-muted);border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.plan-module-row-pill.is-enabled{background:var(--good-wash);color:var(--good)}.plan-module-row-pill.is-disabled{background:var(--critical-wash);color:var(--critical)}.switch-business-page{flex-direction:column;flex:1;gap:18px;padding:20px 24px 40px;display:flex;overflow-y:auto}.switch-business-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.switch-business-header h1{color:var(--text-primary);margin:0 0 2px;font-size:20px;font-weight:700}.switch-business-header p{color:var(--text-muted);margin:0;font-size:13px}.switch-business-card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);max-width:520px;padding:20px}.switch-business-card .login-business-list{max-height:none;margin-bottom:0}.switch-business-add{justify-content:center;width:100%;margin-top:14px}.mobile-page{flex-direction:column;gap:20px;padding:24px;display:flex}.mobile-status{text-align:center;color:var(--text-muted,#78716c);padding:32px;font-size:13.5px}.mobile-page-subtitle{color:var(--text-muted,#78716c);margin:0;font-size:13px}.mobile-field{color:var(--text-muted,#78716c);flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.mobile-field input,.mobile-field select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);color:var(--text-primary,#0b0b0b);background:var(--surface-2,#fff);padding:9px 10px;font-size:13.5px;font-weight:400}.mobile-field input:disabled,.mobile-field select:disabled{background:var(--surface-sunken,#f2f1ed);color:var(--text-muted,#78716c)}.mobile-settings{flex-direction:column;gap:16px;display:flex}.mobile-settings-group{background:var(--surface-2,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);max-width:320px;padding:18px}.mobile-settings-actions{justify-content:flex-end;gap:10px;display:flex}.mobile-modal-backdrop{z-index:50;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.mobile-modal{background:var(--surface-2,#fff);border-radius:var(--radius-lg,14px);width:100%;max-width:460px;box-shadow:var(--shadow-pop,0 8px 24px #0003);padding:24px}.mobile-modal h2{margin:0 0 16px;font-size:17px}.mobile-modal-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.mobile-modal-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.mobile-table{border-collapse:collapse;background:var(--surface-2,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);width:100%;font-size:13.5px;overflow:hidden}.mobile-table th{text-align:left;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted,#78716c);background:var(--surface-sunken,#f2f1ed);border-bottom:1px solid var(--border-strong,#d6d3d1);padding:10px 12px;font-size:11px;font-weight:700}.mobile-table td{border-bottom:1px solid var(--border,#00000014);padding:10px 12px}.mobile-col-num{text-align:right;font-variant-numeric:tabular-nums}.purchase-page{flex-direction:column;gap:18px;display:flex}.purchase-header{background:var(--surface-2,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);grid-template-columns:1.2fr 1.6fr 1fr;gap:20px;padding:18px;display:grid}.purchase-header-left,.purchase-header-mid,.purchase-header-right{flex-direction:column;gap:10px;display:flex}.purchase-dealer-row{gap:8px;display:flex}.purchase-dealer-row select{flex:1}.purchase-entry{background:var(--warning-wash,#fff6e2);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);grid-template-columns:repeat(5,1fr);gap:14px;padding:18px;display:grid}.purchase-entry-span2{grid-column:span 3}.purchase-imei-row{gap:8px;display:flex}.purchase-imei-row input{flex:1}.purchase-icon-btn{border-radius:var(--radius-sm,6px);cursor:pointer;color:#fff;border:none;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.purchase-icon-btn-good{background:var(--good,#0ca30c)}.purchase-icon-btn-accent{background:var(--accent,#2a78d6);border-radius:999px}.purchase-icon-btn-danger{color:var(--critical,#d03b3b);background:0 0;width:28px;height:28px}.purchase-summary{background:var(--surface-2,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);grid-template-columns:1fr 1fr;gap:32px;padding:18px;display:grid}.purchase-summary-col{flex-direction:column;gap:10px;display:flex}.purchase-summary-row{color:var(--text-primary,#0b0b0b);grid-template-columns:110px 12px 1fr;font-size:13.5px;display:grid}.purchase-summary-row.is-muted{color:var(--text-muted,#78716c)}.purchase-summary-field{grid-template-columns:110px 1fr;align-items:center;gap:8px;display:grid}.purchase-summary-field span:first-child{font-weight:600}.purchase-grand-total{border-top:1px solid var(--border-strong,#d6d3d1);justify-content:space-between;padding-top:8px;font-size:18px;font-weight:700;display:flex}.purchase-actions{justify-content:center;display:flex}.purchase-actions .btn{justify-content:center;min-width:160px}.catalog-page{flex-direction:column;gap:24px;display:flex}.catalog-section h2{margin:0 0 10px;font-size:15px}.catalog-row-actions{justify-content:flex-end;gap:6px;display:flex}.catalog-icon-btn{border-radius:var(--radius-sm,6px);cursor:pointer;width:28px;height:28px;color:var(--text-secondary,#52514e);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.catalog-icon-btn:hover{background:var(--surface-sunken,#f2f1ed)}.catalog-icon-btn-danger{color:var(--critical,#d03b3b)}.catalog-color-table{background:var(--surface-sunken,#f2f1ed);margin:8px 0}.mobile-table input,.mobile-table select{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);width:100%;padding:6px 8px;font-size:13px}.contacts-toolbar{align-items:center;gap:12px;margin-bottom:14px;display:flex}.contacts-filter-tabs{background:var(--surface-sunken,#f2f1ed);border-radius:var(--radius-md,10px);gap:6px;padding:4px;display:flex}.contacts-filter-tab{border-radius:var(--radius-sm,6px);color:var(--text-secondary,#52514e);cursor:pointer;background:0 0;border:none;padding:8px 14px;font-size:13px;font-weight:600}.contacts-filter-tab.is-active{background:var(--surface-2,#fff);color:var(--text-primary,#0b0b0b);box-shadow:var(--shadow-card,0 1px 2px #00000014)}.contacts-filter-count{color:var(--text-muted,#78716c);font-weight:400}.contacts-search{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-sm,6px);flex:1;max-width:320px;padding:9px 10px;font-size:13.5px}.contact-type-badge{text-transform:uppercase;letter-spacing:.02em;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:700;display:inline-block}.contact-type-badge.is-vendor{background:var(--accent-wash,#eaf2fc);color:var(--accent,#2a78d6)}.contact-type-badge.is-customer{background:var(--good-wash,#e7f6e7);color:var(--good,#0ca30c)}.contact-type-toggle{gap:6px;display:flex}.contact-type-btn{border:1px solid var(--border-strong,#d6d3d1);background:var(--surface-2,#fff);border-radius:var(--radius-sm,6px);cursor:pointer;color:var(--text-secondary,#52514e);flex:1;padding:8px;font-size:13px;font-weight:600}.contact-type-btn.is-active{background:var(--accent,#2a78d6);border-color:var(--accent,#2a78d6);color:#fff}.mobile-subsection{flex-direction:column;gap:18px;display:flex}.mobile-subsection-nav{background:var(--surface-sunken,#f2f1ed);border-radius:var(--radius-md,10px);align-self:flex-start;gap:6px;padding:4px;display:flex}.mobile-subsection-tab{border-radius:var(--radius-sm,6px);color:var(--text-secondary,#52514e);cursor:pointer;background:0 0;border:none;padding:8px 16px;font-size:13px;font-weight:600}.mobile-subsection-tab.is-active{background:var(--surface-2,#fff);color:var(--text-primary,#0b0b0b);box-shadow:var(--shadow-card,0 1px 2px #00000014)}.purchase-type-badge{text-transform:uppercase;letter-spacing:.02em;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:700;display:inline-block}.purchase-type-badge.is-imei{background:var(--accent-wash,#eaf2fc);color:var(--accent,#2a78d6)}.purchase-type-badge.is-bulk{background:var(--warning-wash,#fff6e2);color:var(--warning,#fab219)}.stock-section-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.stock-status-badge{text-transform:uppercase;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:700;display:inline-block}.stock-status-badge.is-in-stock{background:var(--good-wash,#e7f6e7);color:var(--good,#0ca30c)}.stock-status-badge.is-sold{background:var(--surface-sunken,#f2f1ed);color:var(--text-muted,#78716c)}@page purchase-view-a4-page{size:A4;margin:12mm}.purchase-view-page{page:purchase-view-a4-page;background:var(--surface-2,#fff);border:1px solid var(--border,#00000014);border-radius:var(--radius-md,10px);flex-direction:column;gap:18px;max-width:960px;margin:0 auto;padding:28px;display:flex}.purchase-view-toolbar{display:flex}.purchase-view-title{text-align:center;border-bottom:1px solid var(--border-strong,#d6d3d1);margin:0;padding-bottom:12px;font-size:22px}.purchase-view-header{justify-content:space-between;font-size:13.5px;display:flex}.purchase-view-parties{color:var(--text-secondary,#52514e);justify-content:space-between;gap:24px;font-size:13px;display:flex}.purchase-view-party{flex:1}.purchase-view-party-right{text-align:right}.purchase-view-party h3{color:var(--text-primary,#0b0b0b);margin:0 0 4px;font-size:14px}.purchase-view-subline{color:var(--text-muted,#78716c);font-size:11.5px}.purchase-view-items td{vertical-align:top}.purchase-view-totals-label{text-align:right;font-weight:600}.purchase-view-grandtotal-label,.purchase-view-grandtotal-value{font-size:15px;font-weight:700}.purchase-view-words{font-size:13px;font-style:italic}.purchase-view-bank{border-top:1px solid var(--border-strong,#d6d3d1);justify-content:space-between;align-items:flex-end;padding-top:12px;font-size:13px;display:flex}.purchase-view-bank-for{font-weight:600}.purchase-view-txn{border-top:1px solid var(--border-strong,#d6d3d1);padding-top:16px}.purchase-view-txn-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.purchase-view-txn-header h3{margin:0;font-size:15px}.category-accordion-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.category-accordion-toolbar-actions{gap:8px;display:flex}.category-accordion-section{border:1px solid var(--border-strong,#d6d3d1);border-radius:var(--radius-md,8px);overflow:hidden}.category-accordion-header{background:var(--surface-sunken,#f5f3f1);cursor:pointer;text-align:left;border:none;align-items:center;gap:10px;width:100%;padding:12px 16px;display:flex}.category-accordion-header:hover{background:var(--surface-2,#efece9)}.category-accordion-chevron{color:var(--text-muted);flex-shrink:0;transition:transform .15s;transform:rotate(-90deg)}.category-accordion-chevron.is-open{transform:rotate(0)}.category-accordion-title{color:var(--text-primary);font-size:14px;font-weight:700}.category-accordion-count{color:var(--text-muted);margin-left:auto;font-size:12.5px}.category-accordion-empty{padding:16px}.app-shell{background:var(--page-plane);flex-direction:column;height:100vh;display:flex}.app-body{flex:1;min-height:0;display:flex}.app-main{flex-direction:column;flex:1;min-width:0;display:flex}.sale-subsection-nav{align-self:flex-start;margin:12px 16px 0}.plan-expired-banner{background:var(--critical-wash);color:var(--critical);text-align:center;flex-shrink:0;padding:8px 16px;font-size:12.5px;font-weight:600}.mobile-checkin-page{color:#fff;box-sizing:border-box;background:#0b0b0b;flex-direction:column;align-items:center;gap:14px;min-height:100vh;padding:20px 16px 40px;font-family:system-ui,-apple-system,sans-serif;display:flex}.mobile-checkin-page h1{margin:8px 0 0;font-size:18px}.mobile-checkin-page p{color:#cfcfcf;text-align:center;max-width:340px;font-size:13.5px;line-height:1.5}.mobile-checkin-error{color:#f97316}.mobile-checkin-token-input{color:#fff;background:#1a1a1a;border:1px solid #444;border-radius:10px;width:100%;max-width:320px;padding:12px 14px;font-size:15px}.mobile-checkin-btn{color:#fff;cursor:pointer;background:#2a78d6;border:none;border-radius:10px;width:100%;max-width:320px;padding:12px 14px;font-size:15px;font-weight:600}.mobile-checkin-btn-secondary{background:0 0;border:1px solid #444}.mobile-enroll-duplicate-photo{object-fit:cover;border-radius:50%;width:96px;height:96px}.mobile-checkin-frame{background:#000;border-radius:14px;width:100%;max-width:420px;position:relative;overflow:hidden}.mobile-checkin-frame video{width:100%;display:block}.mobile-checkin-canvas{width:100%;height:100%;position:absolute;inset:0}.mobile-checkin-status{color:#cfcfcf;font-size:13px}.mobile-checkin-camera-select{color:#fff;background:#1a1a1a;border:1px solid #444;border-radius:8px;max-width:280px;padding:8px 10px;font-size:13px}.mobile-checkin-banner{background:#1a1a1a;border-left:4px solid #22c55e;border-radius:14px;align-items:center;gap:12px;padding:12px 16px;display:flex;position:fixed;bottom:24px;left:16px;right:16px;box-shadow:0 8px 24px #00000080}.mobile-checkin-banner.is-out{border-left-color:#fab219}.mobile-checkin-banner img{object-fit:cover;border-radius:50%;flex-shrink:0;width:44px;height:44px}.mobile-checkin-banner strong{font-size:14px;display:block}.mobile-checkin-banner span{color:#cfcfcf;font-size:12px}.mobile-enroll-form{flex-direction:column;gap:10px;width:100%;max-width:320px;display:flex}.mobile-enroll-progress{justify-content:center;gap:8px;display:flex}.mobile-enroll-dot{background:#333;border:1px solid #555;border-radius:50%;width:10px;height:10px}.mobile-enroll-dot.is-filled{background:#22c55e;border-color:#22c55e}
