@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";.dashboard-page{color:#172033;flex-direction:column;gap:24px;min-width:0;padding-bottom:24px;display:flex}.dashboard-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.dashboard-heading h1{letter-spacing:-.04em;margin:4px 0 8px;font-size:clamp(1.6rem,2.5vw,2rem);font-weight:750}.dashboard-heading>div>p:last-child{color:#64748b;margin:0;font-size:.94rem}.dashboard-refresh,.dashboard-filters button{color:#26364d;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-weight:650;transition:background .2s,border-color .2s;display:inline-flex}.dashboard-refresh:hover{background:#f8fafc;border-color:#b9c7dc}.dashboard-refresh:disabled,.dashboard-filters button:disabled{cursor:not-allowed;opacity:.6}.dashboard-filters{background:#fff;border:1px solid #e5eaf2;border-radius:14px;flex-wrap:wrap;align-items:end;gap:14px;padding:18px;display:flex;box-shadow:0 3px 12px #0f172a08}.dashboard-filter-title{color:#34445c;align-self:center;align-items:center;gap:9px;margin-right:auto;display:flex}.dashboard-filter-title svg{color:#2563eb}.dashboard-filters label{color:#64748b;flex-direction:column;gap:6px;font-size:.8rem;font-weight:600;display:flex}.dashboard-filters input{color:#172033;min-width:150px;min-height:42px;font:inherit;background:#fff;border:1px solid #d8e0ec;border-radius:9px;padding:8px 10px}.dashboard-filters input:focus{border-color:#2563eb;outline:2px solid #2563eb33}.dashboard-filters button[type=submit]{color:#fff;background:#2563eb;border-color:#2563eb}.dashboard-filters button[type=submit]:hover{background:#1d4ed8}.dashboard-error{color:#b42318;background:#fff7f7;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:10px;padding:14px 16px;line-height:1.5;display:flex}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.dashboard-page .stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:15px;min-width:0;padding:20px;position:relative;box-shadow:0 4px 14px #0f172a08}.dashboard-page .stat-icon{color:#2563eb;background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:16px;display:flex}.dashboard-page .stat-card>p{color:#64748b;margin:0 0 8px;font-size:.88rem;font-weight:600}.dashboard-page .stat-value{overflow-wrap:anywhere;color:#172033;letter-spacing:-.04em;font-size:clamp(1.35rem,2vw,1.8rem);font-weight:750;display:block}.dashboard-page .stat-card>span{color:#94a3b8;margin-top:9px;font-size:.77rem;line-height:1.5;display:block}.dashboard-financial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.dashboard-metric{background:#fff;border:1px solid #e5eaf2;border-radius:13px;align-items:flex-start;gap:13px;min-width:0;padding:18px;display:flex}.dashboard-metric-icon{color:#15803d;background:#f0fdf4;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.dashboard-metric>div:last-child{flex-direction:column;gap:7px;min-width:0;display:flex}.dashboard-metric span{color:#64748b;font-size:.82rem;line-height:1.4}.dashboard-metric strong{overflow-wrap:anywhere;color:#172033;font-size:clamp(1.1rem,1.7vw,1.5rem);font-weight:750}.dashboard-metric small{color:#94a3b8;font-size:.75rem;line-height:1.4}.dashboard-content-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);align-items:stretch;gap:18px;display:grid}.dashboard-panel{background:#fff;border:1px solid #e5eaf2;border-radius:15px;min-width:0;padding:20px;box-shadow:0 4px 14px #0f172a08}.dashboard-panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.dashboard-panel-heading h2{color:#172033;margin:0;font-size:1.05rem;font-weight:750}.dashboard-panel-heading p{color:#94a3b8;margin:6px 0 0;font-size:.8rem}.dashboard-panel-heading>svg{color:#64748b}.dashboard-chart{width:100%;height:290px}.dashboard-empty{color:#94a3b8;text-align:center;justify-content:center;align-items:center;min-height:240px;padding:20px;font-size:.9rem;display:flex}.stock-summary-row{color:#64748b;border-bottom:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;font-size:.87rem;display:flex}.stock-summary-row strong{color:#26364d;background:#f1f5f9;border-radius:8px;justify-content:center;align-items:center;min-width:34px;min-height:30px;padding:4px 8px;display:inline-flex}.expiring-list{margin-top:23px}.expiring-list h3{color:#34445c;margin:0 0 12px;font-size:.9rem;font-weight:700}.expiring-item{border-bottom:1px solid #edf1f6;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.expiring-item>div{flex-direction:column;gap:5px;min-width:0;display:flex}.expiring-item strong{color:#172033;font-size:.85rem}.expiring-item span{color:#94a3b8;font-size:.75rem;line-height:1.5}.expiring-item time{color:#b45309;flex-shrink:0;font-size:.78rem;font-weight:700}.dashboard-muted,.dashboard-footnote{color:#94a3b8;font-size:.8rem;line-height:1.6}.dashboard-footnote{margin:-4px 0 0}@media (width<=1100px){.stats-grid,.dashboard-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-content-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=640px){.dashboard-page{gap:17px}.dashboard-heading{align-items:flex-start}.dashboard-refresh{min-width:42px;padding:10px;font-size:0}.dashboard-refresh svg{flex-shrink:0}.dashboard-filters{flex-direction:column;align-items:stretch;padding:15px}.dashboard-filter-title{margin:0 0 4px}.dashboard-filters input{width:100%;min-width:0}.stats-grid,.dashboard-financial-grid{grid-template-columns:minmax(0,1fr);gap:12px}.dashboard-page .stat-card{padding:17px}.dashboard-page .stat-icon{margin-bottom:12px}.dashboard-panel{padding:16px}.dashboard-chart{height:250px}}.cashier-page{color:#202a3b;flex-direction:column;gap:22px;min-width:0;display:flex}.cashier-header,.cashier-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.cashier-header{align-items:flex-start}.cashier-eyebrow{color:#a67b27;letter-spacing:1.5px;margin-bottom:7px;font-size:11px;font-weight:800;display:inline-block}.cashier-header h1{letter-spacing:-.8px;margin:0;font-size:clamp(25px,3vw,32px);font-weight:800}.cashier-header p,.cashier-section-heading p{color:#778195;margin:6px 0 0;font-size:13px}.cashier-secondary-button,.cashier-primary-button{color:#303c50;cursor:pointer;background:#fff;border:1px solid #e0e5ed;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 15px;font-size:13px;font-weight:700;display:inline-flex}.cashier-secondary-button:disabled{opacity:.6;cursor:wait}.cashier-layout{grid-template-columns:minmax(0,1.55fr) minmax(330px,.9fr);align-items:start;gap:22px;display:grid}.cashier-catalog,.cashier-order-panel{background:#fff;border:1px solid #e7eaf0;border-radius:16px;min-width:0;padding:21px;box-shadow:0 5px 20px #1b273b0a}.cashier-section-heading{margin-bottom:19px}.cashier-section-heading h2{margin:0;font-size:18px;font-weight:800}.cashier-section-heading>svg{color:#a67b27;flex-shrink:0}.cashier-search{color:#8490a2;background:#f9fafc;border:1px solid #e1e6ee;border-radius:11px;align-items:center;gap:10px;height:46px;margin-bottom:20px;padding:0 13px;display:flex}.cashier-search:focus-within{border-color:#b18a3d;box-shadow:0 0 0 3px #b18a3d1a}.cashier-search input{color:#202a3b;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px}.cashier-search button,.cashier-alert button{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.cashier-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.cashier-product-card{border:1px solid #e8ebf1;border-radius:13px;flex-direction:column;min-width:0;min-height:174px;padding:14px;transition:border-color .18s,box-shadow .18s,transform .18s;display:flex}.cashier-product-card:hover{border-color:#d4bd8c;transform:translateY(-2px);box-shadow:0 7px 18px #202a3b12}.cashier-product-card.is-out-of-stock{opacity:.72;background:#fafbfc}.cashier-product-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.cashier-product-category{color:#858fa0;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;overflow:hidden}.cashier-stock-badge{border-radius:6px;flex-shrink:0;padding:4px 7px;font-size:10px;font-weight:800}.stock-available{color:#218253;background:#e8f7ef}.stock-low{color:#99620a;background:#fff3db}.stock-empty{color:#b72e36;background:#fde9e9}.cashier-product-card h3{overflow-wrap:anywhere;margin:15px 0 5px;font-size:14px;font-weight:800;line-height:1.4}.cashier-product-reference{color:#8791a2;margin:0 0 17px;font-size:11px}.cashier-product-bottom{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.cashier-product-bottom>div{flex-wrap:wrap;align-items:baseline;gap:4px;display:flex}.cashier-product-bottom strong{color:#a17824;font-size:14px;font-weight:800}.cashier-product-bottom span{color:#7d8798;font-size:11px}.cashier-add-button{color:#fff;cursor:pointer;background:#172338;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.cashier-add-button:hover{background:#a17824}.cashier-add-button:disabled{cursor:not-allowed;background:#c7ccd4}.cashier-loading,.cashier-empty-state,.cashier-cart-empty{color:#8993a3;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:35px 15px;font-size:13px;display:flex}.cashier-empty-state p{color:#536074;margin:0;font-weight:700}.cashier-empty-state span{font-size:12px}.cashier-cart-heading{margin-bottom:13px}.cashier-cart-empty{background:#fafbfd;border:1px dashed #dfe4ec;border-radius:12px;min-height:140px}.cashier-cart-empty strong{color:#566176;font-size:13px}.cashier-cart-empty span{max-width:230px;line-height:1.5}.cashier-cart-items{flex-direction:column;max-height:360px;display:flex;overflow-y:auto}.cashier-cart-item{border-bottom:1px solid #edf0f4;padding:14px 0}.cashier-cart-item-info{flex-direction:column;gap:5px;display:flex}.cashier-cart-item-info strong{color:#303b4e;font-size:13px;line-height:1.4}.cashier-cart-item-info span{color:#8992a1;font-size:11px}.cashier-cart-item-bottom{justify-content:space-between;align-items:center;gap:7px;margin-top:12px;display:flex}.cashier-cart-item-bottom>strong{white-space:nowrap;font-size:12px}.cashier-quantity-control{border:1px solid #e5e8ee;border-radius:8px;align-items:center;gap:4px;padding:3px;display:inline-flex}.cashier-quantity-control button{color:#4b5669;cursor:pointer;background:#f2f4f8;border:0;border-radius:5px;justify-content:center;align-items:center;width:25px;height:25px;display:inline-flex}.cashier-quantity-control button:disabled{opacity:.4;cursor:not-allowed}.cashier-quantity-control input{color:#253147;text-align:center;background:0 0;border:0;outline:0;width:40px;padding:2px 0;font-size:12px;font-weight:700}.cashier-quantity-control input::-webkit-inner-spin-button{appearance:none;margin:0}.cashier-quantity-control input::-webkit-outer-spin-button{appearance:none;margin:0}.cashier-remove-button{color:#c13d45;cursor:pointer;background:#fff0f0;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.cashier-checkout-form{flex-direction:column;gap:13px;margin-top:13px;display:flex}.cashier-form-divider{background:#edf0f4;height:1px;margin:4px 0}.cashier-customer-heading,.cashier-payment-heading{color:#374258;align-items:center;gap:8px;font-size:13px;display:flex}.cashier-customer-heading svg,.cashier-payment-heading svg{color:#a17824}.cashier-customer-heading strong,.cashier-payment-heading strong{font-weight:800}.cashier-customer-heading>span{color:#929bab;margin-left:auto;font-size:10px}.cashier-field{flex-direction:column;gap:6px;display:flex}.cashier-field label{color:#596579;font-size:11px;font-weight:700}.cashier-field input,.cashier-field select{color:#29354a;width:100%;min-width:0;min-height:41px;font:inherit;background:#fff;border:1px solid #e1e6ed;border-radius:9px;outline:0;padding:9px 11px;font-size:12px}.cashier-field input:focus,.cashier-field select:focus{border-color:#b18a3d;box-shadow:0 0 0 3px #b18a3d17}.cashier-field-hint{color:#8a94a4;font-size:10px;line-height:1.5}.cashier-totals{border-top:1px dashed #e1e6ed;border-bottom:1px dashed #e1e6ed;flex-direction:column;gap:11px;padding:15px 0;display:flex}.cashier-totals>div,.cashier-balance{justify-content:space-between;align-items:center;gap:12px;display:flex}.cashier-totals span,.cashier-balance span{color:#778195;font-size:12px}.cashier-totals strong,.cashier-balance strong{color:#303b4e;white-space:nowrap;font-size:12px}.cashier-totals .cashier-discount-row strong{color:#218253}.cashier-totals .cashier-grand-total{border-top:1px solid #edf0f4;padding-top:10px}.cashier-grand-total span{color:#273247;font-size:13px;font-weight:800}.cashier-totals .cashier-grand-total strong{color:#a17824;font-size:21px;font-weight:900}.cashier-balance{background:#fff5e2;border-radius:9px;padding:11px}.cashier-balance strong{color:#936313}.cashier-submit-button,.cashier-clear-button{width:100%;min-height:46px;font:inherit;cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:11px 14px;font-size:13px;font-weight:800;transition:background .18s,transform .18s;display:flex}.cashier-submit-button{color:#fff;background:#172338;margin-top:3px}.cashier-submit-button:hover:not(:disabled){background:#a17824;transform:translateY(-1px)}.cashier-submit-button:disabled,.cashier-clear-button:disabled{opacity:.55;cursor:not-allowed}.cashier-clear-button{color:#7e8898;background:0 0;min-height:38px;font-size:11px}.cashier-clear-button:hover:not(:disabled){background:#f4f6f9}.cashier-alert{border:1px solid #0000;border-radius:11px;align-items:center;gap:10px;padding:12px 14px;font-size:12px;line-height:1.5;display:flex}.cashier-alert>span{flex:1}.cashier-alert>strong{white-space:nowrap}.cashier-alert-success{color:#216c43;background:#effaf3;border-color:#c9ead7}.cashier-alert-error{color:#a72e37;background:#fff3f3;border-color:#f4d1d1}.cashier-spinning{animation:1s linear infinite cashier-spin}@keyframes cashier-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.cashier-layout{grid-template-columns:minmax(0,1fr)}.cashier-order-panel{max-width:none}.cashier-cart-items{max-height:420px}}@media (width<=650px){.cashier-page{gap:15px}.cashier-header{align-items:flex-start}.cashier-secondary-button{min-width:42px;padding:0 10px;font-size:0}.cashier-secondary-button svg{flex-shrink:0}.cashier-catalog,.cashier-order-panel{border-radius:12px;padding:14px}.cashier-product-grid{grid-template-columns:minmax(0,1fr)}.cashier-product-card{min-height:150px}.cashier-cart-item-bottom{flex-wrap:wrap}.cashier-totals .cashier-grand-total strong{font-size:19px}}.receipt-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1019299e;justify-content:center;align-items:flex-start;padding:25px 15px;display:flex;position:fixed;inset:0;overflow-y:auto}.receipt-dialog{background:#f2f4f8;border-radius:16px;width:min(100%,540px);margin:auto;padding:22px;box-shadow:0 20px 65px #0003}.receipt-toolbar{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px;display:flex}.receipt-toolbar h2{color:#202a3b;margin:0;font-size:19px}.receipt-toolbar p{color:#778195;margin:6px 0 0;font-size:12px}.receipt-close{color:#39455a;cursor:pointer;background:#fff;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.receipt-paper{color:#202020;background:#fff;width:100%;padding:25px 20px;font-family:Arial,Helvetica,sans-serif;font-size:11px;box-shadow:0 2px 8px #0000000d}.receipt-store-header{text-align:center}.receipt-store-header h2{letter-spacing:2px;margin:0;font-size:23px;font-weight:900}.receipt-store-header h3{letter-spacing:1px;margin:4px 0 8px;font-size:13px}.receipt-store-header p{color:#555;margin:0;font-size:10px}.receipt-separator{border-top:1px dashed #999;margin:16px 0}.receipt-meta{flex-direction:column;gap:7px;display:flex}.receipt-meta p,.receipt-totals p,.receipt-payment-row{justify-content:space-between;gap:12px;margin:0;display:flex}.receipt-meta span,.receipt-totals span,.receipt-payment-row span{color:#555}.receipt-meta strong{overflow-wrap:anywhere;text-align:right;max-width:65%}.receipt-items-table{border-collapse:collapse;table-layout:auto;width:100%;font-size:10px}.receipt-items-table th{text-align:right;white-space:nowrap;border-bottom:1px solid #bbb;padding:7px 3px}.receipt-items-table td{text-align:right;vertical-align:top;border-bottom:1px solid #eee;padding:9px 3px}.receipt-items-table th:first-child,.receipt-items-table td:first-child{text-align:left;width:43%}.receipt-product-name{overflow-wrap:anywhere;font-weight:700;display:block}.receipt-items-table small{color:#666;margin-top:3px;display:block}.receipt-totals{flex-direction:column;gap:10px;display:flex}.receipt-totals p{align-items:baseline}.receipt-totals strong,.receipt-payment-row strong{text-align:right;white-space:nowrap}.receipt-totals .receipt-total{border-top:1px solid #222;border-bottom:1px solid #222;margin:3px 0;padding:11px 0;font-size:14px;font-weight:900}.receipt-payment-title{margin:0 0 12px;font-size:11px}.receipt-payment-row{margin:8px 0}.receipt-footer{text-align:center;padding-top:3px}.receipt-footer strong{font-size:12px}.receipt-footer p{color:#555;margin:7px 0 0;line-height:1.5}.receipt-actions{gap:10px;margin-top:18px;display:flex}.receipt-print-button,.receipt-new-sale-button{cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:12px;font-weight:800;display:inline-flex}.receipt-print-button{color:#fff;background:#172338;flex:1}.receipt-new-sale-button{color:#303b4e;background:#fff}@page{size:80mm auto;margin:4mm}@media print{body *{visibility:hidden!important}.receipt-overlay,.receipt-overlay *{visibility:visible!important}.receipt-overlay{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important;overflow:visible!important}.receipt-dialog{width:100%!important;max-width:none!important;box-shadow:none!important;background:#fff!important;border-radius:0!important;margin:0!important;padding:0!important}.receipt-toolbar,.receipt-actions{display:none!important}.receipt-paper{width:100%!important;box-shadow:none!important;margin:0!important;padding:0!important;font-size:10px!important}.receipt-store-header h2{font-size:19px!important}.receipt-store-header h3{font-size:12px!important}.receipt-items-table{font-size:9px!important}.receipt-items-table th,.receipt-items-table td{padding:6px 2px!important}.receipt-separator{margin:11px 0!important}.receipt-items-table tr,.receipt-totals p,.receipt-meta p{break-inside:avoid}}.receipt-store-logo{object-fit:contain;width:auto;max-width:40mm;height:auto;max-height:20mm;margin:0 auto 8px;display:block}.receipt-store-header{text-align:center;overflow-wrap:anywhere}.receipt-store-header h2,.receipt-store-header h3,.receipt-store-header p{margin:3px 0}.cashier-product-image-wrapper{justify-content:center;align-items:center;width:100%;margin:12px 0;display:flex}.cashier-product-image{object-fit:contain;background:#fff;border-radius:10px;width:100%;height:150px;display:block}.cashier-product-image-placeholder{color:#9ca3af;background:#f8fafc;border:1px dashed #d1d5db;border-radius:10px;justify-content:center;align-items:center;width:100%;height:150px;display:flex}.sales-page{--sales-navy:#142b4a;--sales-gold:#c79a43;--sales-border:#e5e9f0;--sales-muted:#788397;color:#202b3c;padding-bottom:32px}.sales-page *{box-sizing:border-box}.sales-page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.sales-eyebrow{color:var(--sales-gold);letter-spacing:1.4px;margin-bottom:7px;font-size:10px;font-weight:800;display:inline-block}.sales-page-header h1{color:var(--sales-navy);margin:0 0 7px;font-size:clamp(23px,3vw,30px);font-weight:800;line-height:1.25}.sales-page-header p,.sales-table-heading p{color:var(--sales-muted);margin:0;font-size:13px}.sales-refresh-button,.sales-reset-button,.sales-print-button,.sales-secondary-button,.sales-cancel-button{border:1px solid var(--sales-border);color:var(--sales-navy);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 13px;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.sales-refresh-button:hover,.sales-reset-button:hover,.sales-secondary-button:hover{border-color:var(--sales-gold);background:#fffaf0}.sales-page button:disabled{opacity:.5;cursor:not-allowed}.sales-summary-card{border:1px solid var(--sales-border);background:#fff;border-radius:13px;align-items:center;gap:15px;margin-bottom:20px;padding:18px 21px;display:flex;box-shadow:0 3px 12px #142b4a08}.sales-summary-icon{width:46px;height:46px;color:var(--sales-gold);background:#fcf5e8;border-radius:12px;flex-shrink:0;place-items:center;display:grid}.sales-summary-card span,.sales-summary-card strong{display:block}.sales-summary-card span{color:var(--sales-muted);margin-bottom:4px;font-size:12px}.sales-summary-card strong{color:var(--sales-navy);font-size:23px;font-weight:800}.sales-filters{border:1px solid var(--sales-border);background:#fff;border-radius:12px;grid-template-columns:minmax(220px,1.7fr) minmax(150px,.9fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:center;gap:11px;margin-bottom:20px;padding:15px;display:grid}.sales-search-field{min-width:0;height:40px;color:var(--sales-muted);border:1px solid var(--sales-border);border-radius:8px;align-items:center;gap:9px;padding:0 11px;display:flex}.sales-search-field:focus-within{border-color:var(--sales-gold);box-shadow:0 0 0 3px #c79a431a}.sales-search-field input{color:#26364b;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:12px}.sales-filters select,.sales-date-field input{color:#334155;border:1px solid var(--sales-border);background:#fff;border-radius:8px;outline:0;width:100%;min-width:0;height:40px;padding:0 9px;font-size:12px}.sales-filters select:focus,.sales-date-field input:focus{border-color:var(--sales-gold)}.sales-date-field{align-items:center;gap:7px;min-width:0;display:flex}.sales-date-field span{color:var(--sales-muted);font-size:11px}.sales-reset-button{white-space:nowrap;height:40px;padding:0 11px}.sales-table-card{border:1px solid var(--sales-border);background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 4px 15px #142b4a08}.sales-table-heading{border-bottom:1px solid var(--sales-border);justify-content:space-between;align-items:center;gap:15px;padding:20px;display:flex}.sales-table-heading h2{color:var(--sales-navy);margin:0 0 6px;font-size:16px;font-weight:800}.sales-table-heading>span{color:#56647a;background:#f3f5f8;border-radius:7px;flex-shrink:0;padding:6px 10px;font-size:11px;font-weight:700}.sales-table-wrapper{width:100%;overflow-x:auto}.sales-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.sales-table th{color:#778398;border-bottom:1px solid var(--sales-border);text-transform:uppercase;letter-spacing:.4px;background:#f8f9fb;padding:13px 15px;font-size:10px;font-weight:800}.sales-table td{color:#4d5a6d;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:14px 15px;font-size:12px}.sales-table tbody tr:last-child td{border-bottom:0}.sales-table tbody tr:hover{background:#fdfcf9}.sales-table td strong,.sales-table td small{display:block}.sales-table td strong{color:#26364b;font-size:12px;font-weight:700}.sales-table td small{color:var(--sales-muted);margin-top:4px;font-size:10px}.sales-table .sales-number{color:var(--sales-navy)}.sales-table .sales-money{color:#25354a;font-variant-numeric:tabular-nums;font-weight:700}.sale-status{border-radius:20px;justify-content:center;align-items:center;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.sale-status-paid{color:#19734a;background:#e6f6ed}.sale-status-partially_paid{color:#956300;background:#fff3d4}.sale-status-unpaid{color:#b4532a;background:#fff0e8}.sale-status-cancelled{color:#a52d38;background:#fde8ea}.sales-action-button{width:34px;height:34px;color:var(--sales-navy);cursor:pointer;background:#f0f3f8;border:1px solid #0000;border-radius:8px;place-items:center;display:inline-grid}.sales-action-button:hover{color:#91681e;background:#fcf4e4;border-color:#efdfbb}.sales-empty-state{min-height:190px;color:var(--sales-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:30px;font-size:12px;display:flex}.sales-empty-state strong{color:var(--sales-navy);font-size:14px}.sales-empty-icon{width:48px;height:48px;color:var(--sales-gold);background:#fcf5e8;border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.sales-pagination{border-top:1px solid var(--sales-border);color:var(--sales-muted);justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;font-size:11px;display:flex}.sales-pagination>div{gap:7px;display:flex}.sales-pagination button{width:33px;height:33px;color:var(--sales-navy);border:1px solid var(--sales-border);cursor:pointer;background:#fff;border-radius:8px;place-items:center;display:grid}.sales-notice{border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 15px;font-size:12px;display:flex}.sales-notice button{cursor:pointer;background:0 0;border:0;flex-shrink:0;place-items:center;padding:2px;display:grid}.sales-notice-success{color:#176b43;background:#e9f8ef;border:1px solid #c9ecd7}.sales-notice-error{color:#a52d38;background:#fff0f1;border:1px solid #f6d1d5}.sales-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d192b99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.sales-details-modal{background:#fff;border-radius:15px;width:min(100%,940px);max-height:calc(100vh - 40px);padding:25px;overflow-y:auto;box-shadow:0 24px 70px #0003}.sales-modal-header{border-bottom:1px solid var(--sales-border);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;display:flex}.sales-modal-header h2{color:var(--sales-navy);overflow-wrap:anywhere;margin:0 0 6px;font-size:22px}.sales-modal-header p{color:var(--sales-muted);margin:0;font-size:12px}.sales-modal-close{color:#56647a;cursor:pointer;background:#f3f5f8;border:0;border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.sales-detail-meta{border-bottom:1px solid var(--sales-border);grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:18px 0;display:grid}.sales-detail-meta>div{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.sales-detail-meta>div>span:first-child{color:var(--sales-muted);font-size:11px}.sales-detail-meta strong{color:#26364b;overflow-wrap:anywhere;font-size:12px}.sales-detail-meta small{color:var(--sales-muted);font-size:11px}.sales-detail-items{padding:20px 0}.sales-detail-items h3,.sales-payments-section h3{color:var(--sales-navy);margin:0 0 14px;font-size:14px}.sales-detail-bottom{border-top:1px solid var(--sales-border);grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:25px;padding-top:20px;display:grid}.sales-muted{color:var(--sales-muted);font-size:12px}.sales-payment-list{flex-direction:column;gap:10px;display:flex}.sales-payment-row{background:#f8f9fb;border:1px solid #edf0f4;border-radius:9px;justify-content:space-between;align-items:flex-start;gap:12px;padding:11px;display:flex}.sales-payment-row>div{flex-direction:column;gap:4px;display:flex}.sales-payment-row strong{color:var(--sales-navy);font-size:12px}.sales-payment-row span,.sales-payment-row small{color:var(--sales-muted);font-size:10px}.sales-totals{border:1px solid var(--sales-border);background:#f8f9fb;border-radius:10px;flex-direction:column;gap:11px;padding:15px;display:flex}.sales-totals>div{justify-content:space-between;gap:12px;font-size:12px;display:flex}.sales-totals span{color:#697589}.sales-totals strong{color:#26364b;text-align:right;font-variant-numeric:tabular-nums}.sales-totals .sales-total-line{border-top:1px solid #dfe4eb;padding-top:12px}.sales-totals .sales-total-line span,.sales-totals .sales-total-line strong{color:var(--sales-navy);font-weight:800}.sales-totals .sales-remaining-line{border-top:1px dashed #d4dae4;padding-top:11px}.sales-totals .sales-remaining-line strong{color:#a16b10}.sales-notes{background:#fffaf0;border:1px solid #f2e4c5;border-radius:9px;margin-top:20px;padding:13px;font-size:12px}.sales-notes strong{color:var(--sales-navy)}.sales-notes p{white-space:pre-wrap;margin:6px 0 0}.sales-modal-actions{border-top:1px solid var(--sales-border);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:24px;padding-top:18px;display:flex}.sales-cancel-button{color:#ad303a;background:#fff5f5;border-color:#f0c9cd;margin-right:auto}.sales-cancel-button:hover{background:#fde8ea}.sales-print-button{color:#fff;background:var(--sales-navy);border-color:var(--sales-navy)}.sales-print-button:hover{background:#203e64}.sales-print-area{display:none}.spin{animation:1s linear infinite sales-spin}@keyframes sales-spin{to{transform:rotate(360deg)}}@media (width<=1250px){.sales-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-search-field{grid-column:1/-1}.sales-reset-button{justify-self:start}}@media (width<=700px){.sales-page-header{align-items:flex-start}.sales-page-header p{max-width:260px;line-height:1.5}.sales-refresh-button{padding:10px;font-size:0}.sales-refresh-button svg{flex-shrink:0}.sales-filters{grid-template-columns:minmax(0,1fr);padding:12px}.sales-search-field{grid-column:auto}.sales-date-field{justify-content:space-between}.sales-date-field input{flex:1}.sales-table-heading{padding:15px}.sales-table-heading p{max-width:230px;line-height:1.5}.sales-details-modal{padding:17px}.sales-modal-header h2{font-size:17px}.sales-detail-meta{grid-template-columns:minmax(0,1fr);gap:14px}.sales-detail-bottom{grid-template-columns:minmax(0,1fr)}.sales-modal-actions{flex-direction:column;align-items:stretch}.sales-modal-actions button{width:100%;margin-right:0}}@media print{@page{size:80mm auto;margin:4mm}body *{visibility:hidden!important}.sales-print-area,.sales-print-area *{visibility:visible!important}.sales-print-area{color:#000;background:#fff;width:72mm;margin:0;padding:0;font-family:Arial,sans-serif;font-size:10px;line-height:1.4;position:absolute;inset:0 auto auto 0;display:block!important}.sales-print-brand{text-align:center;margin-bottom:12px}.sales-print-brand strong,.sales-print-brand span{display:block}.sales-print-brand strong{font-size:13px}.sales-print-area p{overflow-wrap:anywhere;margin:3px 0}.sales-print-area hr{border:0;border-top:1px dashed #777;margin:8px 0}.sales-print-item{overflow-wrap:anywhere;flex-direction:column;margin:8px 0;display:flex}.sales-print-total{font-size:12px;font-weight:800}.sales-print-logo{object-fit:contain!important;width:auto!important;max-width:40mm!important;height:auto!important;max-height:20mm!important;margin:0 auto 6px!important;display:block!important}}.sales-payment-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:14px;margin-top:20px;padding:20px;display:grid}.sales-payment-form h3{margin:0;font-size:1rem}.sales-payment-form p{color:#475569;margin:0}.sales-payment-form label{color:#334155;gap:7px;font-size:.9rem;font-weight:600;display:grid}.sales-payment-form input,.sales-payment-form select,.sales-payment-form textarea{width:100%;min-width:0;font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.sales-payment-form textarea{resize:vertical;min-height:80px}.sales-payment-submit{color:#fff;cursor:pointer;background:#0f766e;border:none;border-radius:8px;padding:12px 16px;font-weight:700}.sales-payment-submit:disabled{opacity:.55;cursor:not-allowed}.sales-product-cell{align-items:center;gap:12px;min-width:180px;display:flex}.sales-product-image{object-fit:contain;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;width:56px;height:56px}.sales-product-image-placeholder{color:#9ca3af;background:#f8fafc;border:1px dashed #d1d5db;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;display:flex}.sales-product-info{flex-direction:column;gap:4px;display:flex}.sales-product-info small{color:#6b7280;font-size:12px}.products-page{color:#172033;flex-direction:column;gap:22px;min-width:0;display:flex}.products-page-header{justify-content:space-between;align-items:center;gap:18px;display:flex}.products-eyebrow{color:#a87922;letter-spacing:1.5px;margin-bottom:7px;font-size:11px;font-weight:800;display:inline-block}.products-page-header h1{color:#172033;letter-spacing:-.7px;margin:0;font-size:clamp(24px,2.5vw,32px);font-weight:800}.products-page-header p,.products-table-heading p,.products-modal-header p{color:#7a8495;margin:7px 0 0;font-size:13px}.products-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.products-primary-button,.products-refresh-button,.products-reset-button,.products-secondary-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:13px;font-weight:700;transition:background .18s,border-color .18s,transform .18s;display:inline-flex}.products-primary-button{color:#fff;background:#c69a43;border:1px solid #c69a43;box-shadow:0 5px 13px #c69a432b}.products-primary-button:hover{background:#ad812f;border-color:#ad812f}.products-refresh-button,.products-secondary-button{color:#4b5668;background:#fff;border:1px solid #dce2eb}.products-refresh-button:hover,.products-secondary-button:hover,.products-reset-button:hover{background:#f6f8fb}.products-primary-button:disabled,.products-refresh-button:disabled,.products-secondary-button:disabled{opacity:.6;cursor:not-allowed}.products-spin{animation:1s linear infinite products-spin}@keyframes products-spin{to{transform:rotate(360deg)}}.products-notice{border-radius:11px;align-items:center;gap:10px;padding:12px 14px;font-size:13px;font-weight:600;display:flex}.products-notice span{flex:1}.products-notice button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.products-notice-success{color:#237747;background:#edf9f1;border:1px solid #ccebd5}.products-notice-error{color:#a7352c;background:#fff0ef;border:1px solid #f4d0cd}.products-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.products-summary-card{background:#fff;border:1px solid #e7eaf0;border-radius:14px;align-items:center;gap:14px;padding:19px 21px;display:flex;box-shadow:0 4px 14px #1b2a4510}.products-summary-icon{color:#31466d;background:#eef2fa;border-radius:12px;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.products-summary-icon-warning{color:#b27c1b;background:#fff5df}.products-summary-card span{color:#788396;margin-bottom:5px;font-size:12px;font-weight:600;display:block}.products-summary-card strong{color:#172033;font-size:25px;line-height:1.1;display:block}.products-filters{background:#fff;border:1px solid #e7eaf0;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;display:flex}.products-search-field{color:#8a94a5;background:#fff;border:1px solid #dfe4ec;border-radius:9px;flex:240px;align-items:center;gap:9px;min-width:190px;padding:0 12px;display:flex}.products-search-field:focus-within{border-color:#c69a43;box-shadow:0 0 0 3px #c69a431c}.products-search-field input{color:#172033;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;padding:11px 0;font-size:13px}.products-filters select,.products-form input,.products-form select,.products-form textarea{color:#253047;font:inherit;background:#fff;border:1px solid #dfe4ec;border-radius:9px;outline:0;min-width:0;padding:11px 12px;font-size:13px}.products-filters select{flex:0 auto;max-width:210px}.products-filters select:focus,.products-form input:focus,.products-form select:focus,.products-form textarea:focus{border-color:#c69a43;box-shadow:0 0 0 3px #c69a431c}.products-reset-button{color:#687387;white-space:nowrap;background:#fff;border:1px solid #dfe4ec}.products-table-card{background:#fff;border:1px solid #e7eaf0;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px #1b2a4508}.products-table-heading{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px;display:flex}.products-table-heading h2{color:#172033;margin:0;font-size:17px;font-weight:800}.products-table-heading>span{color:#7a8495;white-space:nowrap;font-size:12px}.products-table-wrapper{width:100%;overflow:auto}.products-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.products-table th{color:#778195;letter-spacing:.65px;text-transform:uppercase;background:#f8f9fc;border-bottom:1px solid #e9edf3;padding:13px 16px;font-size:10px;font-weight:800}.products-table td{color:#394459;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:15px 16px;font-size:12px}.products-table tbody tr:last-child td{border-bottom:0}.products-table tbody tr:hover{background:#fcfcfe}.products-table td:first-child,.products-table td:nth-child(2),.products-table td:nth-child(5){min-width:140px}.products-table td strong{color:#202b40;font-weight:750;display:block}.products-table td small{color:#8a94a5;margin-top:5px;font-size:11px;display:block}.products-name{font-size:13px}.products-money{font-variant-numeric:tabular-nums;font-weight:650}.products-selling-price{color:#a87922!important}.products-stock-quantity{font-size:13px}.products-badge{border-radius:20px;justify-content:center;align-items:center;padding:6px 9px;font-size:10px;font-weight:800;display:inline-flex}.products-badge-success{color:#267849;background:#eaf8ef}.products-badge-warning{color:#9b6b13;background:#fff5df}.products-badge-danger{color:#b53e34;background:#fff0ef}.products-badge-muted{color:#727b8b;background:#eef0f4}.products-row-actions{align-items:center;gap:7px;display:flex}.products-icon-button{color:#53617a;cursor:pointer;background:#fff;border:1px solid #dfe5ed;border-radius:9px;place-items:center;width:33px;height:33px;display:grid}.products-icon-button:hover{color:#a87922;background:#fffaf0;border-color:#c69a43}.products-icon-button-danger:hover{color:#b53e34;background:#fff3f2;border-color:#efc4c0}.products-empty-state{color:#8490a2;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:180px;padding:30px;font-size:13px;display:flex}.products-empty-state strong{color:#303b50;font-size:14px}.products-empty-icon{color:#697993;background:#f0f3f9;border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:2px;display:grid}.products-pagination{color:#7a8495;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;font-size:12px;display:flex}.products-pagination>div{gap:7px;display:flex}.products-pagination button{color:#4c5870;cursor:pointer;background:#fff;border:1px solid #dfe4ec;border-radius:8px;place-items:center;width:33px;height:33px;display:grid}.products-pagination button:disabled{opacity:.4;cursor:not-allowed}.products-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10182799;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.products-modal{background:#fff;border-radius:17px;width:min(760px,100%);max-height:calc(100vh - 44px);overflow:auto;box-shadow:0 24px 80px #08102055}.products-modal-header{z-index:2;background:#fff;border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:15px;padding:22px 25px;display:flex;position:sticky;top:0}.products-modal-header h2{color:#172033;margin:0;font-size:22px;font-weight:800}.products-modal-close{color:#687387;cursor:pointer;background:#fff;border:1px solid #e1e5ec;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.products-form{padding:22px 25px 25px}.products-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.products-form label{flex-direction:column;gap:7px;min-width:0;display:flex}.products-form label>span{color:#465167;font-size:12px;font-weight:750}.products-form input,.products-form select{box-sizing:border-box;width:100%}.products-textarea-field{margin-top:16px}.products-form textarea{box-sizing:border-box;resize:vertical;width:100%}.products-form-section{background:#fbfcfe;border:1px solid #e7eaf0;border-radius:12px;margin:20px 0 16px;padding:17px}.products-form-section h3{color:#263148;margin:0 0 14px;font-size:14px}.products-form .products-checkbox-field{cursor:pointer;flex-direction:row;align-items:center;gap:10px;margin-top:15px;display:flex}.products-form .products-checkbox-field input{accent-color:#b88a35;flex:none;width:16px;height:16px}.products-form .products-checkbox-field span{font-size:13px;font-weight:650}.products-package-fields{margin-top:16px}.products-modal-actions{border-top:1px solid #edf0f4;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;display:flex}.products-secondary-button{color:#59657a;background:#fff;border:1px solid #dfe4ec}.products-modal .products-notice{margin:16px 22px 0}@media (width<=1000px){.products-filters select{flex:160px;max-width:none}.products-table th,.products-table td{padding-left:12px;padding-right:12px}}@media (width<=700px){.products-page{gap:15px}.products-page-header{flex-direction:column;align-items:flex-start}.products-header-actions{width:100%}.products-header-actions button{flex:1}.products-summary-grid{grid-template-columns:1fr}.products-summary-card{padding:15px}.products-filters{padding:11px}.products-search-field{flex-basis:100%}.products-filters select{flex:calc(50% - 8px)}.products-reset-button{flex:1}.products-table-heading{padding:16px}.products-modal-backdrop{padding:10px}.products-modal{border-radius:13px;max-height:calc(100vh - 20px)}.products-modal-header,.products-form{padding:18px}.products-form-grid{grid-template-columns:1fr}.products-modal-actions{flex-direction:column-reverse}.products-modal-actions button{width:100%}}.products-image-field{border:1px solid #e5e7eb;border-radius:12px;margin-bottom:22px;padding:16px}.products-image-title{color:#1f2937;margin-bottom:12px;font-weight:600;display:block}.products-image-content{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.products-image-preview,.products-image-placeholder{object-fit:contain;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;width:120px;height:120px}.products-image-placeholder{color:#6b7280;text-align:center;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.products-image-controls{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.products-image-button{cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:14px;font-weight:600;display:inline-flex}.products-image-button:hover{background:#f3f4f6}.products-image-controls small{color:#6b7280;font-size:12px}@media (width<=600px){.products-image-content{align-items:flex-start}.products-image-preview,.products-image-placeholder{width:100px;height:100px}}.products-table-product{align-items:center;gap:12px;min-width:190px;display:flex}.products-table-thumbnail{object-fit:contain;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex:0 0 54px;width:54px;height:54px;padding:3px;display:block}.products-table-thumbnail-empty{color:#9ca3af;background:#f8fafc;justify-content:center;align-items:center;display:flex}.products-table-product-info{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.products-table-product-info .products-name,.products-table-product-info small{overflow-wrap:anywhere}.stock-page{color:#182235;max-width:1600px;margin:0 auto;padding:28px 30px 36px}.stock-header{justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:24px;display:flex}.stock-eyebrow{letter-spacing:1.5px;color:#b68b38;margin:0 0 8px;font-size:11px;font-weight:800}.stock-header h1{color:#17243b;margin:0;font-size:28px;font-weight:800}.stock-subtitle{color:#7c8798;margin:8px 0 0;font-size:14px}.stock-actions{flex-wrap:wrap;gap:10px;display:flex}.stock-btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:10px;padding:11px 15px;font-size:13px;font-weight:700}.stock-btn:disabled{opacity:.55;cursor:not-allowed}.stock-btn.primary{color:#fff;background:#17243b}.stock-btn.secondary{color:#795a1d;background:#f4ead5;border-color:#ead9b6}.stock-btn.light{color:#526074;background:#fff;border-color:#e1e6ed}.stock-alert{border-radius:10px;margin-bottom:16px;padding:13px 16px;font-size:13px}.stock-alert.error{color:#a12b2b;background:#fff0f0;border:1px solid #ffd5d5}.stock-alert.success{color:#20723a;background:#ecf9f0;border:1px solid #c8efd4;justify-content:space-between;display:flex}.stock-alert button{cursor:pointer;background:0 0;border:0;font-size:20px}.stock-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px;display:grid}.stock-stat{background:#fff;border:1px solid #e9edf3;border-radius:15px;align-items:center;gap:14px;min-width:0;padding:20px;display:flex}.stat-icon{border-radius:12px;flex:0 0 43px;place-items:center;width:43px;height:43px;font-size:22px;font-weight:800;display:grid}.stat-icon.blue{color:#3972c5;background:#eaf2ff}.stat-icon.gold{color:#b28731;background:#fbf2df}.stat-icon.orange{color:#c66a19;background:#fff0e3}.stat-icon.red{color:#c83b3b;background:#ffe9e9}.stock-stat p{color:#7d8797;margin:0 0 7px;font-size:12px;font-weight:600}.stock-stat strong{color:#17243b;font-size:25px;display:block}.stock-stat small{color:#9aa3b0;margin-top:6px;font-size:11px;display:block}.stock-tabs{border-bottom:1px solid #e4e9f0;gap:7px;margin-bottom:19px;display:flex;overflow:auto}.stock-tabs button{color:#7a8596;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:13px 15px 12px;font-size:13px;font-weight:700}.stock-tabs button.active{color:#17243b;border-bottom-color:#c29a4b}.stock-tabs span{background:#f0f2f6;border-radius:20px;margin-left:5px;padding:2px 7px;font-size:10px}.stock-panel{background:#fff;border:1px solid #e8edf3;border-radius:15px;overflow:hidden}.stock-panel-head{justify-content:space-between;align-items:center;gap:18px;padding:22px;display:flex}.stock-panel-head h2{color:#1c2a40;margin:0;font-size:16px}.stock-panel-head p{color:#8a94a3;margin:6px 0 0;font-size:12px}.stock-search{box-sizing:border-box;border:1px solid #e1e6ed;border-radius:9px;outline-color:#b68b38;width:min(300px,100%);padding:11px;font-size:12px}.stock-table-wrap{width:100%;overflow-x:auto}.stock-table{border-collapse:collapse;text-align:left;width:100%;min-width:760px}.stock-table th{color:#7d8796;text-transform:uppercase;letter-spacing:.55px;white-space:nowrap;background:#f8f9fb;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;padding:13px 18px;font-size:10px}.stock-table td{color:#536075;vertical-align:middle;border-bottom:1px solid #f0f2f6;padding:15px 18px;font-size:12px}.stock-table tbody tr:hover{background:#fcfcfd}.stock-table td strong{color:#26354b;font-weight:750}.stock-table td small{color:#9aa3b0;margin-top:4px;font-size:10px;display:block}.stock-table td small.inline{display:inline}.stock-pill,.movement-pill{white-space:nowrap;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.stock-pill.ok,.movement-pill.entree{color:#27804b;background:#eaf8ef}.stock-pill.low,.movement-pill.ajustement{color:#b7761e;background:#fff3df}.stock-pill.out{color:#bd3939;background:#ffebeb}.movement-pill.sortie{color:#3972c5;background:#eaf2ff}.movement-pill.retour_vente{color:#7551b6;background:#f0eaff}.stock-empty-cell{text-align:center!important;color:#9aa3b0!important;padding:35px!important}.stock-footnote{color:#9a7a36;background:#fffbf1;border-top:1px solid #f6edda;padding:13px 20px;font-size:11px}.stock-filter-row,.stock-movement-filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stock-filter-row select,.stock-movement-filters select,.stock-movement-filters input{color:#526074;background:#fff;border:1px solid #e1e6ed;border-radius:8px;max-width:100%;padding:10px;font-size:12px}.stock-filter-row label{color:#6f7b8c;white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}.stock-filter-row input{accent-color:#17243b}.stock-movement-filters{padding:0 22px 18px}.stock-movement-filters label{color:#7e8999;align-items:center;gap:6px;font-size:11px;display:flex}.stock-reason{white-space:normal;max-width:220px}.stock-pager{color:#8b95a4;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;font-size:11px;display:flex}.stock-pager div{gap:7px;display:flex}.stock-pager button{color:#526074;cursor:pointer;background:#fff;border:1px solid #e1e6ed;border-radius:7px;padding:8px 11px;font-size:11px}.stock-pager button:disabled{opacity:.4;cursor:not-allowed}.stock-loading{color:#7c8798;place-items:center;min-height:180px;font-size:13px;display:grid}.stock-empty{text-align:center;background:#fff;border:1px solid #e8edf3;border-radius:15px;padding:36px}.stock-empty p{color:#818b9b;font-size:13px}.stock-modal-backdrop{z-index:1000;background:#101b2dcc;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.stock-modal{background:#fff;border-radius:16px;width:min(650px,100%);max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 24px 80px #07132655}.stock-modal-head{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:15px;padding:22px 24px;display:flex}.stock-modal-head h2{color:#1b2940;margin:0;font-size:18px}.stock-modal-head p{color:#8993a2;margin:7px 0 0;font-size:12px;line-height:1.5}.stock-modal-head>button{color:#657186;cursor:pointer;background:#f3f5f8;border:0;border-radius:8px;width:31px;height:31px;font-size:22px}.stock-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 24px;display:grid}.stock-form label{color:#526075;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:700;display:flex}.stock-form label.full{grid-column:1/-1}.stock-form input,.stock-form select,.stock-form textarea{box-sizing:border-box;width:100%;font:inherit;color:#26354b;background:#fff;border:1px solid #dfe5ed;border-radius:9px;outline:none;padding:11px 12px;font-size:13px}.stock-form input:focus,.stock-form select:focus,.stock-form textarea:focus{border-color:#b68b38;box-shadow:0 0 0 3px #b68b381a}.stock-form textarea{resize:vertical}.stock-form small{color:#929cab;font-size:11px;font-weight:400}.form-actions{border-top:1px solid #edf0f4;grid-column:1/-1;justify-content:flex-end;gap:9px;margin-top:2px;padding-top:8px;display:flex}@media (width<=1050px){.stock-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-header{flex-direction:column}.stock-actions{width:100%}}@media (width<=700px){.stock-page{padding:20px 14px 28px}.stock-header h1{font-size:24px}.stock-stats{gap:10px}.stock-stat{gap:10px;padding:14px}.stat-icon{flex-basis:35px;width:35px;height:35px;font-size:18px}.stock-stat strong{font-size:21px}.stock-stat small{font-size:10px}.stock-panel-head{flex-direction:column;align-items:flex-start;padding:18px}.stock-search{width:100%}.stock-filter-row,.stock-movement-filters{padding:0 18px 16px}.stock-movement-filters{flex-direction:column;align-items:stretch}.stock-movement-filters>*{box-sizing:border-box;width:100%}.stock-pager{flex-direction:column;align-items:flex-start}.stock-form{grid-template-columns:1fr;padding:18px}.stock-form label.full{grid-column:auto}.stock-modal-head{padding:18px}.stock-actions .stock-btn{flex:1}}.stock-footnote{background:#fff;border-top:1px solid #edf0f4;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 20px;display:grid}.stock-footnote .stock-alert{box-sizing:border-box;border-radius:10px;margin:0;padding:16px;font-size:13px}.stock-footnote .stock-alert strong{margin-bottom:8px;font-size:14px;display:block}.stock-footnote .stock-alert p{margin:0;line-height:1.6}.stock-footnote .stock-alert.warning{color:#9a6516;background:#fff7e8;border:1px solid #f2d8a4}@media (width<=700px){.stock-footnote{grid-template-columns:1fr;padding:14px}}.categories-page{color:#1c2740;flex-direction:column;gap:24px;min-width:0;display:flex}.categories-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.categories-eyebrow{color:#b18a38;letter-spacing:1.5px;margin-bottom:8px;font-size:11px;font-weight:800}.categories-heading h1{color:#17243e;letter-spacing:-.7px;margin:0;font-size:clamp(24px,3vw,30px);font-weight:800}.categories-heading p{color:#7a8498;margin:8px 0 0;font-size:14px}.categories-primary-button,.categories-refresh-button,.categories-cancel-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:0 17px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.categories-primary-button{color:#fff;background:#182640;border:1px solid #182640;box-shadow:0 5px 14px #1826401f}.categories-primary-button:hover{background:#263956;transform:translateY(-1px)}.categories-primary-button:disabled,.categories-refresh-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.categories-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.categories-stat-card{background:#fff;border:1px solid #e9edf3;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:21px;display:flex;box-shadow:0 3px 12px #14233c08}.categories-stat-icon,.categories-row-icon{color:#253956;background:#edf2f8;flex-shrink:0;justify-content:center;align-items:center;display:flex}.categories-stat-icon{border-radius:13px;width:49px;height:49px}.categories-stat-icon-gold{color:#9b7628;background:#fbf3df}.categories-stat-card>div:last-child{flex-direction:column;gap:6px;min-width:0;display:flex}.categories-stat-label{color:#7a8498;font-size:12px;font-weight:600}.categories-stat-card strong{color:#182640;font-size:25px;line-height:1.1}.categories-toolbar{justify-content:space-between;align-items:center;gap:15px;display:flex}.categories-search{color:#8993a6;background:#fff;border:1px solid #e1e6ee;border-radius:10px;align-items:center;gap:10px;width:min(100%,420px);min-height:45px;padding:0 13px;display:flex}.categories-search:focus-within{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.categories-search input{color:#1c2740;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px}.categories-search input::placeholder{color:#a0a8b7}.categories-search button,.categories-alert button{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:4px;display:inline-flex}.categories-refresh-button{color:#43516b;background:#fff;border:1px solid #e1e6ee}.categories-refresh-button:hover{background:#f8fafc;border-color:#bdc7d6}.categories-table-card{background:#fff;border:1px solid #e8ecf2;border-radius:15px;overflow:hidden;box-shadow:0 4px 16px #14233c08}.categories-table-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:22px 23px;display:flex}.categories-table-header h2{color:#1c2740;margin:0;font-size:16px;font-weight:800}.categories-table-header p{color:#8993a6;margin:6px 0 0;font-size:12px}.categories-table-wrapper{width:100%;overflow-x:auto}.categories-table{border-collapse:collapse;text-align:left;width:100%}.categories-table thead{background:#f8f9fc}.categories-table th{color:#7c879b;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap;padding:14px 20px;font-size:10px;font-weight:800}.categories-table td{color:#46536b;vertical-align:middle;border-top:1px solid #f0f2f6;padding:16px 20px;font-size:13px}.categories-table tbody tr{transition:background .15s}.categories-table tbody tr:hover{background:#fbfcfe}.categories-name-cell{align-items:center;gap:12px;min-width:170px;display:flex}.categories-row-icon{border-radius:11px;width:39px;height:39px}.categories-name-cell>div:last-child{flex-direction:column;gap:5px;display:flex}.categories-name-cell strong{color:#202d46;font-size:13px;font-weight:750}.categories-name-cell span{color:#98a1b1;letter-spacing:.4px;font-size:10px;font-weight:700}.categories-description{overflow-wrap:anywhere;max-width:280px;color:#7a8498!important}.categories-product-count{color:#34445f;background:#f0f3f8;border-radius:8px;justify-content:center;align-items:center;min-width:32px;min-height:27px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.categories-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;padding:6px 9px;font-size:11px;font-weight:750;display:inline-flex}.categories-status>span{background:currentColor;border-radius:50%;width:6px;height:6px}.categories-status-active{color:#238451;background:#e9f7ef}.categories-status-inactive{color:#788195;background:#f0f1f4}.categories-actions-heading{text-align:right}.categories-row-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.categories-icon-button{color:#5e6a80;cursor:pointer;background:#fff;border:1px solid #e8ecf2;border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:inline-flex}.categories-icon-button:hover{color:#1c2c48;background:#f5f7fa;border-color:#c9d2e0}.categories-delete-button:hover{color:#c43f3f;background:#fff1f1;border-color:#f3cccc}.categories-empty{text-align:center;height:180px;color:#8993a6!important}.categories-empty svg{color:#b1bac8;margin:0 auto 10px;display:block}.categories-empty strong,.categories-empty span{display:block}.categories-empty strong{color:#526079;margin-bottom:6px}.categories-empty span{font-size:12px}.categories-pagination{color:#7b8699;border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:16px 22px;font-size:12px;display:flex}.categories-pagination>div{gap:8px;display:flex}.categories-pagination button{color:#34445f;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;min-height:34px;padding:0 12px;font-size:12px;font-weight:700}.categories-pagination button:disabled{opacity:.4;cursor:not-allowed}.categories-alert{border:1px solid #0000;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.categories-alert>span{flex:1}.categories-alert-success{color:#247b4b;background:#f0faf4;border-color:#ccebd8}.categories-alert-error{color:#b73535;background:#fff4f4;border-color:#f1d0d0}.categories-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d172a8c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow-y:auto}.categories-modal{background:#fff;border:1px solid #ffffff59;border-radius:17px;width:100%;max-width:560px;max-height:calc(100vh - 44px);overflow-y:auto;box-shadow:0 25px 80px #0003}.categories-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px;display:flex}.categories-modal-header>div>span{color:#b18a38;letter-spacing:1.2px;font-size:10px;font-weight:800}.categories-modal-header h2{color:#192740;margin:7px 0 0;font-size:21px;font-weight:800}.categories-modal-header>button{color:#66738a;cursor:pointer;background:#fff;border:1px solid #e8ecf2;border-radius:9px;justify-content:center;align-items:center;width:35px;height:35px;display:inline-flex}.categories-form-body{flex-direction:column;gap:21px;padding:24px 25px;display:flex}.categories-form-field{flex-direction:column;gap:9px;display:flex}.categories-form-field label{color:#34425a;font-size:12px;font-weight:800}.categories-form-field label>span{color:#c34242}.categories-form-field input,.categories-form-field textarea{box-sizing:border-box;color:#1c2740;width:100%;font:inherit;background:#fff;border:1px solid #dfe5ed;border-radius:9px;outline:none;padding:12px 13px;font-size:13px;transition:border-color .2s,box-shadow .2s}.categories-form-field textarea{resize:vertical;min-height:95px}.categories-form-field input:focus,.categories-form-field textarea:focus{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.categories-checkbox-field{cursor:pointer;background:#fafbfd;border:1px solid #e7ebf1;border-radius:10px;align-items:flex-start;gap:11px;padding:14px;display:flex}.categories-checkbox-field input{accent-color:#1c2c48;width:16px;height:16px;margin-top:2px}.categories-checkbox-field>span{flex-direction:column;gap:5px;display:flex}.categories-checkbox-field strong{color:#34425a;font-size:12px}.categories-checkbox-field small{color:#818ca0;font-size:11px;line-height:1.5}.categories-field-error{color:#b73535;font-size:11px}.categories-modal-footer{border-top:1px solid #edf0f5;justify-content:flex-end;gap:10px;padding:17px 25px 23px;display:flex}.categories-cancel-button{color:#59667d;background:#fff;border:1px solid #e1e6ee}.categories-cancel-button:hover{background:#f7f8fb}.categories-spin{animation:1s linear infinite categories-rotate}@keyframes categories-rotate{to{transform:rotate(360deg)}}@media (width<=760px){.categories-heading{flex-direction:column;align-items:flex-start}.categories-heading>button{width:100%}.categories-stats{grid-template-columns:1fr;gap:12px}.categories-toolbar{flex-direction:column;align-items:stretch}.categories-search{width:auto}.categories-refresh-button{align-self:flex-start}.categories-table-header{padding:17px}.categories-table th,.categories-table td{padding:13px}.categories-modal-backdrop{align-items:flex-start;padding:12px}.categories-modal{max-height:calc(100vh - 24px)}.categories-modal-header,.categories-form-body{padding:19px}.categories-modal-footer{padding:15px 19px 19px}}@media (width<=420px){.categories-pagination{flex-direction:column;align-items:flex-start}.categories-modal-footer{flex-direction:column-reverse}.categories-modal-footer button{width:100%}}.units-page{color:#172033;background:#f6f8fc;min-height:100%;padding:28px}.units-page *,.units-page :before,.units-page :after{box-sizing:border-box}.units-page__header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.units-page__eyebrow{color:#5365d8;letter-spacing:1.2px;align-items:center;gap:8px;margin-bottom:9px;font-size:11px;font-weight:800;display:flex}.units-page__header h1{color:#182238;letter-spacing:-.8px;margin:0;font-size:clamp(25px,3vw,32px);font-weight:750}.units-page__header p{color:#748096;margin:8px 0 0;font-size:14px}.units-btn{cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:0 17px;font-size:13px;font-weight:700;transition:background .2s,box-shadow .2s,transform .2s;display:inline-flex}.units-btn:disabled{opacity:.6;cursor:not-allowed}.units-btn--primary{color:#fff;background:#4f5ed5;box-shadow:0 5px 13px #4f5ed52e}.units-btn--primary:hover:not(:disabled){background:#3e4dc4;transform:translateY(-1px);box-shadow:0 7px 17px #4f5ed53d}.units-btn--secondary{color:#49546a;background:#fff;border-color:#dfe4ed}.units-btn--secondary:hover:not(:disabled){background:#f4f6fa}.units-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px;display:grid}.units-stat{background:#fff;border:1px solid #e9edf5;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:20px;display:flex;box-shadow:0 3px 12px #1b274b08}.units-stat__icon{border-radius:13px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.units-stat__icon--blue{color:#5264d9;background:#edf0ff}.units-stat__icon--green{color:#14976a;background:#e5f8f0}.units-stat__icon--orange{color:#d27a24;background:#fff2e3}.units-stat>div{flex-direction:column;gap:5px;min-width:0;display:flex}.units-stat__label{color:#788398;font-size:12px;line-height:1.5}.units-stat strong{color:#202a40;font-size:25px;line-height:1.1}.units-panel{background:#fff;border:1px solid #e7ebf3;border-radius:15px;overflow:hidden;box-shadow:0 4px 15px #1b274b08}.units-panel__toolbar{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;display:flex}.units-panel__toolbar h2{color:#202a40;margin:0;font-size:17px;font-weight:750}.units-panel__toolbar p{color:#8a94a7;margin:6px 0 0;font-size:12px}.units-search{color:#929caf;background:#f8f9fc;border:1px solid #e5e9f1;border-radius:9px;align-items:center;gap:10px;width:min(100%,350px);min-height:42px;padding:0 12px;display:flex}.units-search:focus-within{border-color:#8d99ee;box-shadow:0 0 0 3px #4f5ed514}.units-search input{color:#283248;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;padding:10px 0;font-size:12px}.units-search input::placeholder{color:#9aa3b4}.units-search button,.units-alert button{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:3px;display:inline-flex}.units-table-wrap{width:100%;overflow-x:auto}.units-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.units-table thead{background:#f9faff}.units-table th{color:#7e899e;letter-spacing:.65px;text-transform:uppercase;padding:14px 24px;font-size:10px;font-weight:800}.units-table td{color:#465168;border-top:1px solid #f0f2f7;padding:17px 24px;font-size:13px}.units-table tbody tr{transition:background .15s}.units-table tbody tr:hover{background:#fafbff}.units-table__actions{text-align:right}.units-name{align-items:center;gap:11px;display:flex}.units-name strong{color:#263149;font-weight:650}.units-name__icon{color:#5365d8;background:#eff1ff;border-radius:10px;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.units-symbol{color:#34415a;background:#f1f3f8;border-radius:6px;align-items:center;padding:5px 9px;font-size:12px;font-weight:750;display:inline-flex}.units-badge{border-radius:7px;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.units-badge--success{color:#16835f;background:#e6f7ef}.units-badge--danger{color:#bf4b56;background:#ffedef}.units-badge--info{color:#4b5dc6;background:#eef0ff}.units-badge--neutral{color:#657087;background:#f0f2f6}.units-actions{justify-content:flex-end;gap:7px;display:flex}.units-icon-btn{color:#667187;cursor:pointer;background:#fff;border:1px solid #e7eaf1;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.units-icon-btn:hover:not(:disabled){color:#4f5ed5;background:#f0f2ff;border-color:#dce0ff}.units-icon-btn:disabled{opacity:.5;cursor:not-allowed}.units-icon-btn--warning:hover:not(:disabled){color:#bd781d;background:#fff6e9;border-color:#ffe5bc}.units-icon-btn--success:hover:not(:disabled){color:#13835d;background:#e9f9f1;border-color:#c7eedc}.units-icon-btn--danger:hover:not(:disabled){color:#c63f4c;background:#fff0f1;border-color:#ffd7db}.units-empty{text-align:center;height:135px;color:#8b95a8!important}.units-pagination{border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:17px 24px;display:flex}.units-pagination>span{color:#828da1;font-size:12px}.units-pagination>div{gap:8px;display:flex}.units-page-btn{color:#58647b;cursor:pointer;background:#fff;border:1px solid #e2e6ef;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:35px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.units-page-btn:hover:not(:disabled){color:#4f5ed5;background:#f5f6ff;border-color:#d9ddff}.units-page-btn:disabled{opacity:.45;cursor:not-allowed}.units-alert{border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.units-alert>span{flex:1}.units-alert--success{color:#167653;background:#eaf8f1;border-color:#ced}.units-alert--error{color:#b13e49;background:#fff0f1;border-color:#ffd8dc}.units-inline-error{color:#b13e49;margin:15px 24px 0;font-size:13px}.units-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121b3085;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.units-modal{background:#fff;border:1px solid #fff6;border-radius:16px;width:min(100%,510px);max-height:calc(100vh - 40px);animation:.18s ease-out units-modal-appear;overflow-y:auto;box-shadow:0 24px 70px #0b132840}@keyframes units-modal-appear{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.units-modal__header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px;display:flex}.units-modal__header h2{color:#202a40;margin:0;font-size:20px;font-weight:750}.units-modal__header p{color:#818ca0;margin:7px 0 0;font-size:12px;line-height:1.5}.units-modal form{padding:24px 25px}.units-form-field{flex-direction:column;gap:8px;margin-bottom:19px;display:flex}.units-form-field label{color:#39445b;font-size:12px;font-weight:750}.units-form-field input{color:#283248;width:100%;min-height:44px;font:inherit;background:#fbfcfe;border:1px solid #dfe4ed;border-radius:9px;outline:none;padding:0 12px;font-size:13px}.units-form-field input:focus{background:#fff;border-color:#7886e7;box-shadow:0 0 0 3px #4f5ed517}.units-form-field input::placeholder{color:#a2aaba}.units-form-field small,.units-checkbox small{color:#8791a4;font-size:11px;line-height:1.6}.units-checkbox{cursor:pointer;background:#f8f9fd;border:1px solid #edf0f6;border-radius:10px;align-items:flex-start;gap:11px;margin-top:15px;padding:13px;display:flex}.units-checkbox input{accent-color:#5365d8;cursor:pointer;flex:0 0 16px;width:16px;height:16px;margin-top:2px}.units-checkbox>span{flex-direction:column;gap:4px;display:flex}.units-checkbox strong{color:#354057;font-size:12px}.units-modal__footer{border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;display:flex}@media (width<=900px){.units-page{padding:22px}.units-stats{gap:12px}.units-stat{gap:11px;padding:15px}.units-stat__icon{flex-basis:40px;width:40px;height:40px}.units-stat__label{font-size:11px}.units-panel__toolbar{flex-direction:column;align-items:flex-start}.units-search{width:100%}}@media (width<=600px){.units-page{padding:15px}.units-page__header{flex-direction:column;align-items:flex-start}.units-page__header .units-btn{width:100%}.units-stats{grid-template-columns:1fr;gap:10px}.units-stat{padding:14px 16px}.units-stat strong{font-size:22px}.units-panel__toolbar{padding:18px 16px}.units-table th,.units-table td{padding:13px 16px}.units-pagination{flex-direction:column;align-items:flex-start;padding:15px 16px}.units-pagination>div{width:100%}.units-page-btn{flex:1}.units-modal__header,.units-modal form{padding:19px}.units-modal__footer .units-btn{flex:1}}.users-page{color:#182640;width:100%}.users-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.users-header h1{letter-spacing:-.6px;margin:0 0 7px;font-size:27px;font-weight:750}.users-header p,.users-modal-header p{color:#778196;margin:0;font-size:14px}.users-primary-btn,.users-secondary-btn,.users-refresh-btn,.users-pagination button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:13px;font-weight:650;transition:all .2s;display:inline-flex}.users-primary-btn{color:#fff;background:#182640;border:1px solid #182640}.users-primary-btn:hover{background:#263b5d}.users-primary-btn:disabled,.users-secondary-btn:disabled,.users-refresh-btn:disabled,.users-pagination button:disabled{opacity:.5;cursor:not-allowed}.users-secondary-btn,.users-pagination button{color:#34425a;background:#fff;border:1px solid #dfe4ec}.users-secondary-btn:hover,.users-pagination button:not(:disabled):hover{background:#f4f6f9}.users-stats{background:#fff;border:1px solid #e7eaf0;border-radius:13px;align-items:center;gap:15px;width:fit-content;min-width:230px;margin-bottom:22px;padding:17px 22px;display:flex}.users-stat-icon{color:#a47d2d;background:#f6f0e3;border-radius:11px;place-items:center;width:47px;height:47px;display:grid}.users-stats span{color:#788397;margin-bottom:5px;font-size:12px;display:block}.users-stats strong{font-size:24px;font-weight:750}.users-toolbar{align-items:center;gap:12px;margin-bottom:17px;display:flex}.users-search{color:#8993a4;background:#fff;border:1px solid #e0e5ed;border-radius:9px;flex:1;align-items:center;gap:10px;max-width:470px;padding:0 13px;display:flex}.users-search:focus-within{border-color:#b18a38;box-shadow:0 0 0 3px #b18a381a}.users-search input{color:#182640;background:0 0;border:0;outline:0;width:100%;min-width:0;height:42px;font-size:13px}.users-toolbar select,.users-form-grid input,.users-form-grid select{color:#25344d;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #dfe4ec;border-radius:8px;outline:none}.users-toolbar>select{width:210px;height:44px;padding:0 12px;font-size:13px}.users-toolbar select:focus,.users-form-grid input:focus,.users-form-grid select:focus{border-color:#b18a38;box-shadow:0 0 0 3px #b18a381a}.users-refresh-btn{color:#475570;background:#fff;border:1px solid #dfe4ec;width:44px;height:44px;padding:0}.users-refresh-btn:hover{background:#f4f6f9}.users-table-card{background:#fff;border:1px solid #e5e9f0;border-radius:13px;overflow:hidden;box-shadow:0 3px 12px #18264008}.users-table-wrap{width:100%;overflow-x:auto}.users-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.users-table th{color:#737f92;letter-spacing:.5px;text-transform:uppercase;background:#f8f9fb;border-bottom:1px solid #e8ebf1;padding:15px 18px;font-size:11px;font-weight:750}.users-table td{color:#46536a;border-bottom:1px solid #edf0f4;padding:15px 18px;font-size:13px}.users-table tbody tr:last-child td{border-bottom:0}.users-table tbody tr:hover{background:#fbfcfe}.users-name-cell{align-items:center;gap:11px;display:flex}.users-name-cell strong{color:#1d2b43;font-size:13px;font-weight:650}.users-avatar{color:#263b5d;background:#edf1f7;border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:14px;font-weight:750;display:grid}.users-current-label{color:#a47d2d;margin-top:4px;font-size:10px;font-weight:650;display:block}.users-role-badge{color:#8b6b2d;background:#f4f0e7;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.users-actions{align-items:center;gap:7px;display:flex}.users-icon-btn{cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;place-items:center;width:33px;height:33px;transition:all .2s;display:grid}.users-icon-btn.edit{color:#536784}.users-icon-btn.edit:hover{background:#edf3fb;border-color:#c5d4eb}.users-icon-btn.delete{color:#c34c4c}.users-icon-btn.delete:hover{background:#fff0f0;border-color:#f0caca}.users-icon-btn:disabled{opacity:.35;cursor:not-allowed}.users-empty{text-align:center;color:#8993a4!important;padding:40px 15px!important}.users-pagination{color:#7a8597;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:15px;padding:15px 18px;font-size:12px;display:flex}.users-pagination>div{gap:8px;display:flex}.users-pagination button{padding:8px 12px;font-size:12px}.users-alert{border:1px solid #0000;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 15px;font-size:13px;display:flex}.users-alert button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:2px;display:grid}.users-alert.error{color:#a73737;background:#fff3f3;border-color:#f1cece}.users-alert.success{color:#247548;background:#effaf3;border-color:#cde9d7}.users-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f192b8c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.users-modal{background:#fff;border:1px solid #e7eaf0;border-radius:15px;width:100%;max-width:650px;max-height:calc(100vh - 48px);overflow-y:auto;box-shadow:0 20px 70px #0003}.users-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 25px;display:flex}.users-modal-header h2{color:#182640;margin:0 0 7px;font-size:20px;font-weight:750}.users-close-btn{color:#68758a;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.users-modal form{padding:23px 25px 25px}.users-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 16px;display:grid}.users-form-grid label{color:#35435b;flex-direction:column;gap:8px;font-size:12px;font-weight:700;display:flex}.users-form-grid label.full-width{grid-column:1/-1}.users-form-grid input,.users-form-grid select{height:43px;padding:0 12px;font-size:13px;font-weight:400}.users-form-grid small{color:#8993a4;font-size:11px;font-weight:400}.users-modal-footer{border-top:1px solid #edf0f4;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:27px;padding-top:19px;display:flex}.modal-error{margin-top:20px;margin-bottom:0}@media (width<=760px){.users-header{flex-direction:column;align-items:flex-start}.users-header h1{font-size:23px}.users-toolbar{flex-wrap:wrap}.users-search{flex-basis:100%;max-width:none}.users-toolbar>select{flex:1;width:auto}.users-pagination{flex-direction:column;align-items:flex-start}.users-modal-overlay{align-items:flex-start;padding:12px}.users-modal{max-height:calc(100vh - 24px)}.users-modal-header,.users-modal form{padding:18px}}@media (width<=480px){.users-form-grid{grid-template-columns:1fr}.users-form-grid label.full-width{grid-column:auto}.users-modal-footer{flex-direction:column-reverse}.users-modal-footer button{width:100%}.users-stats{box-sizing:border-box;width:100%}}.roles-page{color:#172033;flex-direction:column;gap:22px;min-width:0;display:flex}.roles-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.roles-header h1{letter-spacing:-.7px;margin:0;font-size:27px;font-weight:750}.roles-header p{color:#718096;margin:7px 0 0;font-size:14px;line-height:1.6}.roles-primary-btn,.roles-secondary-btn{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 16px;font-size:13px;font-weight:650;transition:background .2s,transform .2s,border-color .2s;display:inline-flex}.roles-primary-btn{color:#fff;background:#5b4be8;border:1px solid #5b4be8;flex-shrink:0;box-shadow:0 4px 10px #5b4be826}.roles-primary-btn:hover:not(:disabled){background:#4938d5;transform:translateY(-1px)}.roles-secondary-btn{color:#475569;background:#fff;border:1px solid #dce2eb}.roles-secondary-btn:hover:not(:disabled){background:#f8fafc}.roles-primary-btn:disabled,.roles-secondary-btn:disabled{cursor:not-allowed;opacity:.6}.roles-alert{border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.roles-alert.error{color:#b42318;background:#fff1f0;border-color:#ffd4d0}.roles-alert.success{color:#167647;background:#ecfdf3;border-color:#b7ebc9}.roles-alert>button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:3px;display:grid}.roles-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.roles-stat-card{background:#fff;border:1px solid #e9edf4;border-radius:14px;align-items:center;gap:14px;padding:20px;display:flex;box-shadow:0 3px 12px #16223308}.roles-stat-icon{border-radius:13px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.roles-stat-icon.purple{color:#6554df;background:#f0edff}.roles-stat-icon.blue{color:#2877d4;background:#eaf4ff}.roles-stat-icon.green{color:#16865b;background:#e8f8f0}.roles-stat-card>div:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.roles-stat-card span{color:#778397;font-size:12px}.roles-stat-card strong{color:#1d2939;font-size:25px;font-weight:750}.roles-toolbar{align-items:center;gap:12px;display:flex}.roles-search{color:#8994a7;background:#fff;border:1px solid #e0e5ed;border-radius:10px;align-items:center;gap:10px;width:min(100%,420px);height:43px;padding:0 13px;display:flex}.roles-search:focus-within{border-color:#9589f2;box-shadow:0 0 0 3px #5b4be814}.roles-search input{color:#273449;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;font-size:13px}.roles-search input::placeholder{color:#9aa4b4}.roles-refresh-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e0e5ed;border-radius:10px;place-items:center;width:43px;height:43px;display:grid}.roles-refresh-btn:hover:not(:disabled){color:#5b4be8;border-color:#bdb5ff}.roles-refresh-btn:disabled{opacity:.5;cursor:wait}.roles-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:17px;display:grid}.role-card{background:#fff;border:1px solid #e7ebf2;border-radius:15px;flex-direction:column;min-width:0;padding:21px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;box-shadow:0 4px 14px #16223308}.role-card:hover{border-color:#d4cffd;transform:translateY(-2px);box-shadow:0 8px 22px #1622330f}.role-card-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.role-card-icon{color:#5b4be8;background:#f0edff;border-radius:13px;place-items:center;width:46px;height:46px;display:grid}.role-card-actions{align-items:center;gap:7px;display:flex}.roles-icon-btn{cursor:pointer;background:#fff;border:1px solid #e7ebf2;border-radius:9px;place-items:center;width:35px;height:35px;transition:background .2s,color .2s,border-color .2s;display:grid}.roles-icon-btn.edit{color:#52647d}.roles-icon-btn.edit:hover{color:#5141dc;background:#f3f0ff;border-color:#d7d0ff}.roles-icon-btn.delete{color:#d04444}.roles-icon-btn.delete:hover{background:#fff1f0;border-color:#ffc9c5}.roles-icon-btn:disabled{opacity:.5;cursor:wait}.role-card-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.role-card-title h2{color:#1b2638;overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:750}.role-badge{white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;font-weight:700;display:inline-flex}.role-badge.system{color:#6554c0;background:#f0edff}.role-badge.custom{color:#167647;background:#e9f8ef}.role-slug{color:#8a94a6;overflow-wrap:anywhere;margin:8px 0 0;font-size:11px}.role-description{color:#6f7c90;flex:1;min-height:40px;margin:14px 0 18px;font-size:12px;line-height:1.7}.role-card-footer{border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:15px;display:flex}.role-card-footer>span:first-child{color:#58677d;align-items:center;gap:6px;font-size:11px;display:inline-flex}.role-card-hint{color:#6554d9;font-size:11px;font-weight:650}.roles-empty{color:#8490a3;text-align:center;background:#fff;border:1px dashed #dce2eb;border-radius:12px;grid-column:1/-1;padding:36px 20px;font-size:13px}.roles-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.roles-modal{background:#fff;border:1px solid #ffffff80;border-radius:17px;flex-direction:column;width:min(100%,850px);max-height:min(92vh,900px);display:flex;overflow:hidden;box-shadow:0 25px 80px #0003}.roles-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 25px;display:flex}.roles-modal-header h2{color:#1c2738;margin:0;font-size:20px;font-weight:750}.roles-modal-header p{color:#778397;margin:7px 0 0;font-size:12px;line-height:1.6}.roles-close-btn{color:#657187;cursor:pointer;background:#f6f7fa;border:1px solid #e8ebf1;border-radius:9px;flex-shrink:0;place-items:center;width:35px;height:35px;display:grid}.roles-close-btn:hover:not(:disabled){color:#c03939;background:#fff1f0}.roles-modal form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.roles-form-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:22px 25px;display:grid}.roles-form-fields label{color:#344054;flex-direction:column;gap:8px;font-size:12px;font-weight:650;display:flex}.roles-full-width{grid-column:1/-1}.roles-form-fields input,.roles-form-fields textarea{box-sizing:border-box;color:#263449;width:100%;font:inherit;background:#fff;border:1px solid #dce2eb;border-radius:9px;outline:none;padding:11px 12px;font-size:12px;font-weight:400;transition:border-color .2s,box-shadow .2s}.roles-form-fields input:focus,.roles-form-fields textarea:focus{border-color:#8c80ef;box-shadow:0 0 0 3px #5b4be817}.roles-form-fields textarea{resize:vertical;line-height:1.6}.roles-permissions-heading{background:#fafbfe;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:18px 25px;display:flex}.roles-permissions-heading h3{color:#253147;margin:0;font-size:14px;font-weight:750}.roles-permissions-heading p{color:#8590a2;margin:5px 0 0;font-size:11px;line-height:1.5}.roles-permissions-heading>span{color:#5b4be8;background:#efedff;border-radius:8px;flex-shrink:0;padding:7px 10px;font-size:11px;font-weight:750}.roles-permissions-list{flex-direction:column;gap:13px;min-height:100px;padding:18px 25px;display:flex;overflow-y:auto}.permission-group{border:1px solid #e7ebf2;border-radius:11px;overflow:hidden}.permission-group-header{background:#f8f9fc;border-bottom:1px solid #e9edf4;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.permission-group-header>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.permission-group-header strong{color:#303d52;text-transform:capitalize;font-size:12px}.permission-group-header span{color:#718096;background:#e9edf4;border-radius:5px;padding:3px 6px;font-size:10px}.permission-group-header button{color:#5b4be8;cursor:pointer;background:0 0;border:0;padding:5px 0 5px 8px;font-size:11px;font-weight:650}.permission-group-header button:hover{color:#3e30bd;text-decoration:underline}.permission-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:5px 13px;display:grid}.permission-option input{accent-color:#5b4be8;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin:2px 0 0}.permission-option-text{flex-direction:column;gap:4px;min-width:0;display:flex}.roles-modal .modal-error{margin:0 25px 12px}.roles-modal-footer{background:#fff;border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:17px 25px;display:flex}@media (width<=1100px){.roles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.roles-page{gap:17px}.roles-header{flex-direction:column;align-items:flex-start}.roles-header h1{font-size:23px}.roles-stats{grid-template-columns:1fr;gap:10px}.roles-stat-card{padding:15px}.roles-stat-icon{width:42px;height:42px}.roles-grid{grid-template-columns:1fr}.roles-modal-overlay{align-items:flex-start;padding:10px}.roles-modal{max-height:96vh;margin:auto 0}.roles-modal-header,.roles-form-fields,.roles-permissions-heading,.roles-permissions-list{padding-left:16px;padding-right:16px}.roles-form-fields{grid-template-columns:1fr}.roles-full-width{grid-column:auto}.permission-options{grid-template-columns:1fr}.permission-option:nth-last-child(2){border-bottom-color:#f0f2f6}.roles-modal-footer{padding:14px 16px}.roles-modal-footer button{flex:1}.roles-modal .modal-error{margin-left:16px;margin-right:16px}}.roles-modal{min-height:0}.roles-modal form{flex:1;min-height:0}.roles-permissions-list{scrollbar-width:thin;scrollbar-color:#c7cce0 #f5f6fa;flex-direction:column;flex:auto;gap:12px;min-height:180px;max-height:42vh;padding:18px 25px;display:flex;overflow:hidden auto}.permission-group{background:#fff;border:1px solid #e2e7f0;border-radius:11px;flex:none;min-width:0;height:auto;display:block;overflow:visible}.permission-group-header{background:#f7f8fc;border-bottom:1px solid #e9edf4;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:12px 15px;display:flex;position:relative}.permission-group-header>div{flex-wrap:wrap;align-items:center;gap:9px;min-width:0;display:flex}.permission-group-header strong{color:#263449;text-transform:capitalize;font-size:13px;line-height:1.5}.permission-group-header span{color:#5b4be8;white-space:nowrap;background:#efedff;border-radius:6px;padding:4px 7px;font-size:11px}.permission-group-header button{color:#5b4be8;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:6px 0 6px 8px;font-size:11px;font-weight:650}.permission-options{background:#fff;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:5px 14px;display:grid}.permission-option{cursor:pointer;border-bottom:1px solid #f0f2f6;align-items:flex-start;gap:10px;min-width:0;padding:13px 8px;display:flex}.permission-option:nth-last-child(-n+2){border-bottom-color:#0000}.permission-option input{accent-color:#5b4be8;cursor:pointer;flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;display:block}.permission-option-text{overflow-wrap:anywhere;flex-direction:column;gap:5px;min-width:0;display:flex}.permission-option-text strong{color:#344054;font-size:12px;font-weight:650;line-height:1.5}.permission-option-text small{color:#778397;overflow-wrap:anywhere;font-size:11px;line-height:1.5}@media (width<=700px){.roles-permissions-list{max-height:38vh;padding:14px 12px}.permission-options{grid-template-columns:1fr}.permission-option:nth-last-child(2){border-bottom-color:#f0f2f6}.permission-option:last-child{border-bottom-color:#0000}.permission-group-header{padding:11px 12px}}.refunds-page{color:#1f2937;padding-bottom:28px}.refunds-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.refunds-header h1{margin:0 0 7px;font-size:27px;font-weight:700}.refunds-header p{color:#6b7280;margin:0}.refunds-total{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:190px;padding:16px 20px}.refunds-total span,.refunds-detail-grid span{color:#6b7280;margin-bottom:7px;font-size:13px;display:block}.refunds-total strong{font-size:24px}.refunds-filters{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:14px;margin-bottom:20px;padding:18px;display:grid}.refunds-filter-field{flex-direction:column;gap:7px;display:flex}.refunds-filter-field label{color:#374151;font-size:13px;font-weight:600}.refunds-filter-field input{color:#111827;width:100%;min-width:0;height:40px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:8px 10px}.refunds-filter-field input:focus{border-color:#2563eb;outline:2px solid #bfdbfe}.refunds-filter-actions,.refunds-pagination-actions{flex-wrap:wrap;gap:8px;display:flex}.refunds-btn{cursor:pointer;min-height:38px;font:inherit;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;padding:8px 13px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.refunds-btn:disabled{cursor:not-allowed;opacity:.5}.refunds-btn-primary{color:#fff;background:#2563eb}.refunds-btn-primary:hover:not(:disabled){background:#1d4ed8}.refunds-btn-secondary{color:#374151;background:#fff;border-color:#d1d5db}.refunds-btn-secondary:hover:not(:disabled){background:#f3f4f6}.refunds-btn-details{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.refunds-btn-details:hover{background:#dbeafe}.refunds-alert{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:12px 15px}.refunds-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;overflow-x:auto}.refunds-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.refunds-table th,.refunds-table td{white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:13px 14px}.refunds-table thead th{color:#4b5563;background:#f9fafb;font-weight:700}.refunds-table tbody tr:hover{background:#fafafa}.refunds-table tbody tr:last-child td{border-bottom:0}.refunds-table tfoot th{background:#f9fafb;border-top:1px solid #e5e7eb;padding:14px}.refunds-empty{color:#6b7280;text-align:center;padding:35px 15px!important}.refunds-cell-secondary{color:#6b7280;margin-top:4px;font-size:12px;display:block}.refunds-amount{color:#b91c1c;font-weight:700}.refunds-pagination{color:#6b7280;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;font-size:13px;display:flex}.refunds-modal-overlay{z-index:1000;background:#1118278c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.refunds-modal{background:#fff;border-radius:14px;width:min(900px,100%);max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 20px 60px #0003}.refunds-modal-header{z-index:1;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px;display:flex;position:sticky;top:0}.refunds-modal-header h2{margin:0 0 6px;font-size:20px}.refunds-modal-header p{color:#6b7280;margin:0;font-size:13px}.refunds-modal-close{color:#374151;cursor:pointer;background:#f3f4f6;border:0;border-radius:7px;width:34px;height:34px;font-size:25px;line-height:1}.refunds-modal-body{padding:22px 24px}.refunds-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px;display:grid}.refunds-detail-grid strong{overflow-wrap:anywhere;font-size:14px;font-weight:600;display:block}.refunds-modal-body h3{margin:0 0 13px;font-size:16px}.refunds-items-table{min-width:580px}.refunds-modal-footer{border-top:1px solid #e5e7eb;justify-content:flex-end;padding:16px 24px;display:flex}.refunds-loading-details{z-index:1100;color:#fff;background:#111827;border-radius:8px;padding:12px 16px;font-size:13px;position:fixed;bottom:20px;right:20px;box-shadow:0 5px 20px #00000026}@media (width<=1200px){.refunds-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.refunds-filter-actions{grid-column:1/-1}}@media (width<=700px){.refunds-header{flex-direction:column;align-items:stretch}.refunds-total{min-width:0}.refunds-filters{grid-template-columns:1fr;padding:14px}.refunds-filter-actions{grid-column:auto}.refunds-pagination{flex-direction:column;align-items:flex-start}.refunds-detail-grid{grid-template-columns:1fr}.refunds-modal-overlay{align-items:flex-start;padding:10px}.refunds-modal{max-height:calc(100vh - 20px)}.refunds-modal-header,.refunds-modal-body{padding:16px}}.refunds-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;display:flex}.refunds-header-actions .refunds-total{flex-direction:column;gap:4px;display:flex}.refunds-success{color:#17663a;background:#edf9f1;border:1px solid #a7dfbd;border-radius:8px;margin-bottom:16px;padding:12px 16px}.refunds-create-modal{flex-direction:column;width:min(1100px,100vw - 32px);max-width:1100px;max-height:92vh;display:flex;overflow:hidden}.refunds-create-modal form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.refunds-create-modal .refunds-modal-body{min-height:0;overflow-y:auto}.refunds-create-modal .refunds-modal-footer{flex-shrink:0}.refunds-form-field{flex-direction:column;gap:7px;margin-bottom:18px;display:flex}.refunds-form-field label{color:#374151;font-size:14px;font-weight:600}.refunds-form-field input,.refunds-form-field select,.refunds-form-field textarea{box-sizing:border-box;color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;padding:10px 12px}.refunds-form-field input:focus,.refunds-form-field select:focus,.refunds-form-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.refunds-form-field textarea{resize:vertical}.refunds-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.refunds-sale-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px;padding:16px;display:grid}.refunds-sale-summary>div{flex-direction:column;gap:6px;min-width:0;display:flex}.refunds-sale-summary span,.refunds-payment-balance span,.refunds-create-total span{color:#6b7280;font-size:13px}.refunds-sale-summary strong{overflow-wrap:anywhere;color:#111827;font-size:14px}.refunds-create-modal h3{color:#111827;margin:22px 0 12px;font-size:16px;font-weight:700}.refunds-quantity-input{box-sizing:border-box;width:105px;min-width:80px;font:inherit;border:1px solid #d1d5db;border-radius:6px;padding:8px}.refunds-quantity-input:focus{border-color:#2563eb;outline:2px solid #2563eb1f}.refunds-quantity-input:disabled{cursor:not-allowed;background:#f3f4f6}.refunds-field-help{color:#b45309;margin-top:6px;font-size:13px;display:block}.refunds-payment-balance,.refunds-create-total{background:#eff6ff;border:1px solid #dbeafe;border-radius:9px;flex-direction:column;gap:7px;margin:12px 0 20px;padding:15px 16px;display:flex}.refunds-payment-balance strong,.refunds-create-total strong{color:#1d4ed8;font-size:22px;font-weight:750}.refunds-create-total{background:#f0fdf4;border-color:#d1fae5;margin-top:20px}.refunds-create-total strong{color:#166534}.refunds-create-total small{color:#4b5563;font-size:12px}.refunds-loading-inline{color:#4b5563;margin:14px 0;font-size:14px}.refunds-create-modal .refunds-modal-footer{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:16px 20px;display:flex}.refunds-create-modal .refunds-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.refunds-header-actions{justify-content:space-between;width:100%}.refunds-sale-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.refunds-form-grid{grid-template-columns:1fr;gap:0}.refunds-create-modal{width:calc(100vw - 16px);max-height:96vh}.refunds-create-modal .refunds-modal-header{gap:10px}.refunds-create-modal .refunds-modal-footer{flex-wrap:wrap}}@media (width<=480px){.refunds-sale-summary{grid-template-columns:1fr}.refunds-create-modal .refunds-modal-footer .refunds-btn{flex:1}}.sale-returns-page{color:#172033;padding-bottom:28px}.sale-returns-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.sale-returns-header h1{letter-spacing:-.03em;margin:0 0 6px;font-size:clamp(1.45rem,2vw,2rem);font-weight:750}.sale-returns-header p{color:#687386;margin:0;font-size:.94rem}.sale-returns-header-actions{align-items:center;gap:14px;display:flex}.sale-returns-total{background:#fff;border:1px solid #e6eaf0;border-radius:12px;flex-direction:column;gap:2px;min-width:100px;padding:10px 16px;display:flex}.sale-returns-total span{color:#748094;font-size:.75rem}.sale-returns-total strong{font-size:1.3rem}.sr-btn{font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:9px;padding:10px 14px;font-size:.88rem;font-weight:650;transition:background .15s,border-color .15s}.sr-btn:disabled{opacity:.55;cursor:not-allowed}.sr-btn-primary{color:#fff;background:#4f46e5}.sr-btn-primary:hover:not(:disabled){background:#4338ca}.sr-btn-light{color:#334155;background:#fff;border-color:#dfe4ec}.sr-btn-light:hover:not(:disabled){background:#f5f7fb}.sr-btn-danger{color:#fff;background:#b91c1c}.sr-btn-danger:hover:not(:disabled){background:#991b1b}.sr-btn-small{padding:7px 10px;font-size:.8rem}.sr-filters{background:#fff;border:1px solid #e6eaf0;border-radius:14px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px;padding:18px;display:flex}.sr-field{flex-direction:column;flex:1;gap:7px;min-width:180px;margin:0 0 15px;display:flex}.sr-field label{color:#344054;font-size:.84rem;font-weight:650}.sr-field input,.sr-field select,.sr-field textarea,.sr-table input,.sr-table select{box-sizing:border-box;color:#1f2937;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d8dee8;border-radius:8px;outline:none;padding:10px 11px;font-size:.88rem}.sr-field input:focus,.sr-field select:focus,.sr-field textarea:focus,.sr-table input:focus,.sr-table select:focus{border-color:#818cf8;box-shadow:0 0 0 3px #4f46e51a}.sr-field textarea{resize:vertical}.sr-filter-actions{gap:8px;margin-bottom:15px;display:flex}.sr-table-wrap{background:#fff;border:1px solid #e6eaf0;border-radius:13px;width:100%;overflow:auto}.sr-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.86rem}.sr-table th{color:#657084;text-align:left;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;background:#f7f8fc;border-bottom:1px solid #e6eaf0;padding:13px 14px;font-size:.75rem;font-weight:750}.sr-table td{vertical-align:middle;color:#344054;border-bottom:1px solid #edf0f5;padding:13px 14px}.sr-table tbody tr:last-child td{border-bottom:0}.sr-table tbody tr:hover{background:#fafbff}.sr-empty{text-align:center;color:#7b8494!important;padding:32px!important}.sr-reason-cell{min-width:170px;max-width:270px}.sale-returns-status{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:.76rem;font-weight:700;display:inline-flex}.sale-returns-status-pending{color:#92400e;background:#fef3c7}.sale-returns-status-approved{color:#166534;background:#dcfce7}.sale-returns-status-rejected{color:#991b1b;background:#fee2e2}.sale-returns-status-unknown{color:#475569;background:#e2e8f0}.sr-pagination{color:#6b7280;justify-content:space-between;align-items:center;gap:15px;padding:16px 2px;font-size:.85rem;display:flex}.sr-pagination>div{gap:8px;display:flex}.sr-alert{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px;padding:12px 14px;font-size:.88rem;display:flex}.sr-alert-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.sr-alert button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:1.2rem}.sr-overlay{z-index:1000;background:#0f172a8c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow:auto}.sr-modal{background:#fff;border-radius:16px;flex-direction:column;width:min(720px,100%);max-height:calc(100vh - 44px);display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a40}.sr-modal-wide{width:min(1120px,100%)}.sr-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:20px;padding:21px 24px;display:flex}.sr-modal-header h2{color:#172033;margin:0 0 5px;font-size:1.2rem;font-weight:750}.sr-modal-header p{color:#778195;margin:0;font-size:.86rem}.sr-close{color:#475569;cursor:pointer;background:#f2f4f8;border:0;border-radius:8px;flex:none;width:34px;height:34px;font-size:1.45rem}.sr-modal form{flex-direction:column;min-height:0;display:flex}.sr-modal-body{padding:22px 24px;overflow:auto}.sr-modal-body>.sr-field:last-child{margin-bottom:0}.sr-modal-body h3{color:#263248;margin:22px 0 12px;font-size:1rem}.sr-modal-footer{background:#fff;border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:flex-end;gap:9px;padding:16px 24px;display:flex}.sr-sale-summary{background:#f8faff;border:1px solid #e6eaf0;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px;padding:15px;display:grid}.sr-sale-summary div,.sr-detail-grid>div{flex-direction:column;gap:5px;min-width:0;display:flex}.sr-sale-summary span,.sr-detail-grid span{color:#778195;font-size:.77rem}.sr-sale-summary strong,.sr-detail-grid strong{color:#263248;overflow-wrap:anywhere;font-size:.88rem}.sr-items-table{min-width:850px}.sr-items-table td{min-width:105px}.sr-items-table td:first-child{min-width:145px}.sr-items-table td:nth-child(5){min-width:190px}.sr-items-table td:last-child{min-width:125px}.sr-muted{color:#8892a3;font-size:.82rem}.sr-detail-grid{background:#fafbfe;border:1px solid #e6eaf0;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px;padding:16px;display:grid}.sr-detail-full{grid-column:1/-1}.sr-review-panel{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin-top:22px;padding:16px}.sr-review-panel .sr-field{margin-bottom:10px}.sr-warning{color:#92400e;margin:0;font-size:.83rem;line-height:1.5}@media (width<=850px){.sale-returns-header{flex-direction:column;align-items:flex-start}.sale-returns-header-actions{flex-wrap:wrap;justify-content:space-between;width:100%}.sr-sale-summary,.sr-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-pagination{flex-direction:column;align-items:flex-start}}@media (width<=560px){.sr-overlay{align-items:flex-start;padding:8px}.sr-modal{border-radius:12px;max-height:calc(100vh - 16px);margin:auto 0}.sr-modal-header,.sr-modal-body{padding:16px}.sr-modal-footer{padding:13px 16px}.sr-sale-summary,.sr-detail-grid{grid-template-columns:1fr}.sr-detail-full{grid-column:auto}.sr-filters{padding:13px}.sr-field{min-width:100%}.sr-filter-actions{width:100%}.sr-filter-actions .sr-btn{flex:1}}.purchases-page{--purchase-navy:#142b4a;--purchase-navy-light:#203d60;--purchase-gold:#d8ad58;--purchase-gold-light:#fff6e4;--purchase-text:#25364b;--purchase-muted:#748196;--purchase-border:#e5eaf0;--purchase-bg:#f6f8fb;color:var(--purchase-text);padding:4px 2px 28px;font-family:inherit}.purchases-page *{box-sizing:border-box}.purchases-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.purchases-eyebrow{color:#b18a3f;letter-spacing:1.6px;margin-bottom:7px;font-size:10px;font-weight:800;display:block}.purchases-header h1{color:var(--purchase-navy);letter-spacing:-.7px;margin:0;font-size:clamp(25px,3vw,32px);font-weight:800}.purchases-header p,.purchase-panel-heading p,.purchase-modal-header p{color:var(--purchase-muted);margin:6px 0 0;font-size:13px;line-height:1.6}.purchases-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.purchase-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 15px;font-size:12px;font-weight:750;transition:background .2s,transform .2s,box-shadow .2s;display:inline-flex}.purchase-btn:disabled{cursor:not-allowed;opacity:.55}.purchase-btn:not(:disabled):active{transform:translateY(1px)}.purchase-btn-primary{background:var(--purchase-navy);color:#fff;border-color:var(--purchase-navy)}.purchase-btn-primary:not(:disabled):hover{background:var(--purchase-navy-light);box-shadow:0 4px 12px #142b4a20}.purchase-btn-secondary{color:var(--purchase-navy);background:#fff;border-color:#dce3eb}.purchase-btn-secondary:hover{background:#f3f6fa}.purchase-btn-small{min-height:34px;padding:7px 11px;font-size:11px}.purchase-alert{border:1px solid;border-radius:9px;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.purchase-alert span{flex:1}.purchase-alert button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:2px;display:grid}.purchase-alert-error{color:#a73328;background:#fff2f0;border-color:#f3c8c2}.purchase-alert-success{color:#217345;background:#eefaf3;border-color:#c4ead2}.purchase-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px;display:grid}.purchase-stat-card{border:1px solid var(--purchase-border);background:#fff;border-radius:12px;align-items:center;gap:13px;min-width:0;padding:18px 16px;display:flex;box-shadow:0 3px 12px #172b4505}.purchase-stat-icon{width:44px;height:44px;color:var(--purchase-navy);background:#eaf0f8;border-radius:11px;flex-shrink:0;place-items:center;display:grid}.purchase-stat-gold{color:#9c7020;background:var(--purchase-gold-light)}.purchase-stat-blue{color:#346ca9;background:#eaf4ff}.purchase-stat-green{color:#23764a;background:#e8f8ef}.purchase-stat-card>div{flex-direction:column;gap:5px;min-width:0;display:flex}.purchase-stat-label{color:var(--purchase-muted);font-size:11px;line-height:1.4}.purchase-stat-card strong{color:var(--purchase-navy);font-size:24px;font-weight:800;line-height:1.1}.purchase-panel{border:1px solid var(--purchase-border);background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 4px 18px #172b4506}.purchase-panel-heading{justify-content:space-between;align-items:center;gap:15px;padding:22px 22px 18px;display:flex}.purchase-panel-heading h2{color:var(--purchase-navy);margin:0;font-size:17px;font-weight:800}.purchase-total-badge{white-space:nowrap;color:var(--purchase-navy);background:#edf2f8;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:750}.purchase-filters{grid-template-columns:minmax(200px,1fr) minmax(150px,190px) minmax(170px,220px);gap:10px;padding:0 22px 19px;display:grid}.purchase-search{color:#8592a4;background:#fff;border:1px solid #dfe5ed;border-radius:8px;align-items:center;gap:9px;min-width:0;height:40px;padding:0 12px;display:flex}.purchase-search:focus-within{border-color:#9aacc1;box-shadow:0 0 0 3px #142b4a0a}.purchase-search input{width:100%;min-width:0;color:var(--purchase-text);font:inherit;background:0 0;border:0;outline:none;font-size:12px}.purchase-search input::placeholder{color:#99a3b2}.purchase-filters select,.purchase-field input,.purchase-field select,.purchase-field textarea{width:100%;min-width:0;min-height:40px;color:var(--purchase-text);font:inherit;background:#fff;border:1px solid #dfe5ed;border-radius:7px;outline:none;padding:9px 11px;font-size:12px;transition:border-color .2s,box-shadow .2s}.purchase-filters select:focus,.purchase-field input:focus,.purchase-field select:focus,.purchase-field textarea:focus{border-color:#8fa5bf;box-shadow:0 0 0 3px #142b4a0b}.purchase-table-wrap,.purchase-detail-table-wrap{width:100%;overflow-x:auto}.purchase-table{border-collapse:collapse;text-align:left;width:100%}.purchase-table thead{background:#f7f9fc}.purchase-table th{color:#7b899b;letter-spacing:.65px;white-space:nowrap;border-top:1px solid #edf0f4;border-bottom:1px solid #e9edf2;padding:13px 15px;font-size:9px;font-weight:800}.purchase-table td{color:#44536a;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:15px;font-size:12px}.purchase-table tbody tr:last-child td{border-bottom:0}.purchase-table tbody tr:hover{background:#fbfcfe}.purchase-table td strong{color:var(--purchase-navy);font-weight:750}.purchase-table td small{color:#8793a3;margin-top:5px;font-size:10px;line-height:1.4;display:block}.purchase-number{white-space:nowrap;font-size:11px}.purchase-items-count{min-width:26px;height:26px;color:var(--purchase-navy);background:#edf2f8;border-radius:7px;place-items:center;padding:0 6px;font-size:11px;font-weight:800;display:inline-grid}.purchase-status{border-radius:6px;justify-content:center;align-items:center;max-width:190px;padding:6px 9px;font-size:10px;font-weight:750;line-height:1.4;display:inline-flex}.status-draft{color:#936c21;background:#fff5dc}.status-ordered{color:#285d9a;background:#eaf3ff}.status-partially_received{color:#8256a0;background:#f4eafa}.status-received{color:#247249;background:#e5f7ed}.status-cancelled{color:#9a3d3d;background:#ffeded}.purchase-actions-cell{text-align:center}.purchase-row-actions{justify-content:center;align-items:center;gap:6px;display:flex}.purchase-row-actions button{color:#53657b;cursor:pointer;background:#fff;border:1px solid #e1e7ef;border-radius:7px;place-items:center;width:32px;height:32px;transition:all .2s;display:grid}.purchase-row-actions button:hover{color:var(--purchase-navy);background:#edf3fa;border-color:#c8d5e4}.purchase-table-message{height:150px;text-align:center!important;color:#8290a1!important}.purchase-table-message>svg{margin:0 auto 9px;display:block}.purchase-table-message strong{color:var(--purchase-navy)}.purchase-spin{animation:1s linear infinite purchase-spin}@keyframes purchase-spin{to{transform:rotate(360deg)}}.purchase-pagination{color:var(--purchase-muted);border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;font-size:11px;display:flex}.purchase-pagination>div{gap:8px;display:flex}.purchase-pagination button{min-height:33px;color:var(--purchase-navy);cursor:pointer;background:#fff;border:1px solid #dfe5ed;border-radius:7px;align-items:center;gap:5px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.purchase-pagination button:disabled{opacity:.45;cursor:not-allowed}.purchase-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#101e31a8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.purchase-modal{background:#fff;border:1px solid #e1e7ef;border-radius:15px;flex-direction:column;width:100%;max-width:760px;max-height:calc(100vh - 40px);animation:.18s ease-out purchase-modal-in;display:flex;overflow:hidden;box-shadow:0 24px 80px #0b172b40}.purchase-modal-wide{max-width:1000px}@keyframes purchase-modal-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.purchase-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 25px 20px;display:flex}.purchase-modal-header h2{color:var(--purchase-navy);overflow-wrap:anywhere;margin:0;font-size:22px;font-weight:800}.purchase-modal-close{color:#69788b;cursor:pointer;background:#f5f7fa;border:1px solid #e6ebf1;border-radius:8px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.purchase-modal-close:hover{color:var(--purchase-navy);background:#eaf0f7}.purchase-modal>form{min-height:0;padding:22px 25px 25px;overflow-y:auto}.purchase-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.purchase-field{flex-direction:column;gap:7px;min-width:0;display:flex}.purchase-field>span{color:#536176;font-size:11px;font-weight:750}.purchase-field>span b{color:#bc4949}.purchase-field textarea{resize:vertical;min-height:76px}.purchase-items-heading{justify-content:space-between;align-items:center;gap:12px;margin:27px 0 13px;display:flex}.purchase-items-heading h3{color:var(--purchase-navy);margin:0;font-size:14px;font-weight:800}.purchase-items-heading p{color:var(--purchase-muted);margin:5px 0 0;font-size:11px}.purchase-add-empty{color:#8290a1;text-align:center;background:#fafbfd;border:1px dashed #d5dee8;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:130px;padding:18px;font-size:12px;display:flex}.purchase-add-empty>svg{color:#9cabbc}.purchase-add-empty button{color:var(--purchase-navy);cursor:pointer;background:#fff;border:1px solid #dce4ee;border-radius:7px;padding:8px 12px;font-size:11px;font-weight:750}.purchase-edit-items{flex-direction:column;gap:13px;display:flex}.purchase-edit-item,.purchase-receive-item{background:#fcfdff;border:1px solid #e3e9f0;border-radius:10px;padding:16px}.purchase-edit-item-top{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.purchase-edit-item-top strong{color:var(--purchase-navy);font-size:12px}.purchase-remove-item{color:#a64242;cursor:pointer;background:#fff1f1;border:1px solid #f0d5d5;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.purchase-item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-field-product{grid-column:span 2}.purchase-line-total{color:var(--purchase-muted);border-top:1px solid #e8edf3;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;padding-top:12px;font-size:11px;display:flex}.purchase-line-total strong{color:var(--purchase-navy);font-size:13px}.purchase-form-bottom{background:#f5f7fb;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;margin-top:20px;padding:17px}.purchase-grand-total{flex-direction:column;gap:5px;padding:0 0 3px;display:flex}.purchase-grand-total span{color:#6d7c90;font-size:11px}.purchase-grand-total strong{color:var(--purchase-navy);font-size:21px;font-weight:850}.purchase-notes-field{margin-top:17px}.purchase-modal-footer{border-top:1px solid #edf0f4;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;padding-top:17px;display:flex}.purchase-detail-summary{background:#fafbfd;border-bottom:1px solid #edf0f4;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:20px 25px;display:grid}.purchase-detail-summary>div{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;display:flex}.purchase-detail-summary>div>span:first-child{color:var(--purchase-muted);font-size:10px}.purchase-detail-summary>div>strong{color:var(--purchase-navy);overflow-wrap:anywhere;font-size:12px}.purchase-detail-table td,.purchase-detail-table th{padding:13px 18px}.purchase-detail-totals{background:#fafbfd;border:1px solid #e6ebf2;border-radius:9px;width:min(100%,340px);margin:18px 25px 0 auto;padding:15px}.purchase-detail-totals>div{color:#69788b;justify-content:space-between;gap:15px;padding:7px 0;font-size:11px;display:flex}.purchase-detail-totals strong{color:var(--purchase-navy);font-weight:750}.purchase-detail-totals .purchase-detail-grand-total{color:var(--purchase-navy);border-top:1px solid #e1e7ef;margin-top:5px;padding-top:12px;font-size:13px;font-weight:800}.purchase-detail-totals .purchase-detail-grand-total strong{font-size:18px}.purchase-detail-notes{border-left:3px solid var(--purchase-gold);background:#fffaf0;border-radius:5px;margin:18px 25px 0;padding:13px 15px;font-size:12px}.purchase-detail-notes strong{color:var(--purchase-navy)}.purchase-detail-notes p{color:#66758a;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.purchase-modal>.purchase-modal-footer{margin:0;padding:16px 25px 23px}.purchase-receive-notice{color:#80611f;background:#fff9e9;border:1px solid #f0dfb5;border-radius:8px;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;font-size:11px;line-height:1.6;display:flex}.purchase-receive-notice svg{flex-shrink:0;margin-top:1px}.purchase-receive-item+.purchase-receive-item{margin-top:13px}.purchase-receive-item-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px;display:flex}.purchase-receive-item-heading>div{flex-direction:column;gap:5px;display:flex}.purchase-receive-item-heading strong{color:var(--purchase-navy);font-size:13px}.purchase-receive-item-heading small{color:var(--purchase-muted);font-size:10px}.purchase-receive-item-heading>span{color:#69788b;white-space:nowrap;font-size:11px}.purchase-receive-item-heading>span b{color:var(--purchase-navy)}.purchase-receive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=1100px){.purchase-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-filters{grid-template-columns:1fr 1fr}.purchase-search{grid-column:1/-1}.purchase-item-grid,.purchase-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.purchases-page{padding-top:0}.purchases-header{flex-direction:column;align-items:flex-start;gap:15px}.purchases-header-actions{width:100%}.purchases-header-actions .purchase-btn{flex:1}.purchase-stats{gap:9px}.purchase-stat-card{gap:9px;padding:13px 10px}.purchase-stat-icon{width:36px;height:36px}.purchase-stat-card strong{font-size:20px}.purchase-stat-label{font-size:10px}.purchase-panel-heading{align-items:flex-start;padding:17px 15px}.purchase-filters{grid-template-columns:1fr;padding:0 15px 16px}.purchase-search{grid-column:auto}.purchase-table th,.purchase-table td{padding:12px}.purchase-pagination{padding:13px 15px}.purchase-modal-backdrop{align-items:flex-start;padding:10px}.purchase-modal{border-radius:11px;max-height:calc(100vh - 20px)}.purchase-modal-header{padding:18px 16px}.purchase-modal-header h2{font-size:19px}.purchase-modal>form{padding:17px 16px 20px}.purchase-form-grid,.purchase-item-grid,.purchase-form-bottom,.purchase-receive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-field-product{grid-column:1/-1}.purchase-detail-summary{gap:15px 10px;padding:17px 16px}.purchase-detail-totals{width:auto;margin:16px}.purchase-detail-notes{margin:16px}.purchase-modal>.purchase-modal-footer{padding:15px 16px 18px}}@media (width<=420px){.purchase-stats{grid-template-columns:1fr 1fr}.purchase-stat-card{flex-direction:column;align-items:flex-start}.purchase-form-grid,.purchase-item-grid,.purchase-form-bottom,.purchase-receive-grid{grid-template-columns:1fr}.purchase-field-product{grid-column:auto}.purchase-items-heading{flex-direction:column;align-items:flex-start}.purchase-receive-item-heading{flex-direction:column}.purchase-modal-footer .purchase-btn{flex:1}}.supplier-invoices-page{--invoice-navy:#172b4d;--invoice-gold:#c89b3c;--invoice-border:#e7eaf0;--invoice-muted:#667085;color:#202b3c}.supplier-invoices-page .purchases-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.supplier-invoices-page .purchases-header h1{color:var(--invoice-navy);margin:6px 0 8px;font-size:clamp(1.5rem,2.5vw,2rem);font-weight:750}.supplier-invoices-page .purchases-header p,.supplier-invoices-page .purchase-panel-header p{color:var(--invoice-muted);margin:0;font-size:.9rem}.invoice-header-actions,.invoice-row-actions,.invoice-pagination-actions,.invoice-status-wrapper{align-items:center;gap:9px;display:flex}.invoice-header-actions{flex-wrap:wrap}.supplier-invoices-page .purchase-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 15px;font-size:.875rem;font-weight:650;transition:background .2s,border-color .2s,transform .2s;display:inline-flex}.supplier-invoices-page .purchase-btn:disabled{opacity:.55;cursor:not-allowed}.supplier-invoices-page .purchase-btn-primary{color:#fff;background:var(--invoice-navy)}.supplier-invoices-page .purchase-btn-primary:hover:not(:disabled){background:#243e67}.supplier-invoices-page .purchase-btn-secondary{color:#344054;background:#fff;border-color:#d0d5dd}.supplier-invoices-page .purchase-btn-secondary:hover:not(:disabled){background:#f8fafc}.supplier-invoices-page .purchase-btn-danger{color:#fff;background:#b42318}.supplier-invoices-page .purchase-btn-danger:hover:not(:disabled){background:#912018}.invoice-stat-icon{border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.invoice-stat-blue{color:#2457a7;background:#eaf1ff}.invoice-stat-gold{color:#956b13;background:#fff5d9}.invoice-stat-green{color:#027a48;background:#e7f8ef}.invoice-stat-red{color:#b42318;background:#fef0ee}.supplier-invoices-page .purchase-stat-card{align-items:center;gap:14px;display:flex}.supplier-invoices-page .purchase-stat-card strong{color:var(--invoice-navy);overflow-wrap:anywhere;margin:5px 0;font-size:1.3rem;line-height:1.3;display:block}.supplier-invoices-page .purchase-stat-card small{color:var(--invoice-muted);font-size:.75rem}.supplier-invoices-page .purchase-panel{min-width:0;overflow:hidden}.supplier-invoices-page .purchase-panel-header{justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;display:flex}.supplier-invoices-page .purchase-panel-header h2{color:var(--invoice-navy);margin:0 0 6px;font-size:1.1rem;font-weight:750}.invoice-filters{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.invoice-search-field{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:8px;flex:250px;align-items:center;gap:9px;min-width:200px;min-height:42px;padding:0 12px;display:flex}.invoice-search-field:focus-within{border-color:var(--invoice-gold);box-shadow:0 0 0 3px #c89b3c1f}.invoice-search-field input{color:#202b3c;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;padding:10px 0}.invoice-filters select,.invoice-filters>input{color:#344054;min-width:135px;max-width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:9px 11px;font-size:.85rem}.invoice-filters select:focus,.invoice-filters>input:focus{border-color:var(--invoice-gold);outline:none}.invoice-reset-btn{white-space:nowrap}.supplier-invoices-page .purchase-table-container{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.supplier-invoices-page .purchase-table{border-collapse:collapse;width:100%;min-width:1050px}.supplier-invoices-page .purchase-table th{color:#667085;border-bottom:1px solid var(--invoice-border);text-align:left;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em;background:#f8fafc;padding:13px 14px;font-size:.76rem;font-weight:700}.supplier-invoices-page .purchase-table td{vertical-align:middle;border-bottom:1px solid #eef0f4;padding:14px;font-size:.85rem}.supplier-invoices-page .purchase-table tbody tr:hover{background:#fbfcfe}.invoice-number-cell{flex-direction:column;gap:5px;display:flex}.invoice-number-cell strong{color:var(--invoice-navy)}.invoice-number-cell small{color:var(--invoice-muted);font-size:.75rem}.invoice-money-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.invoice-balance-cell{color:#b54708;font-weight:700}.invoice-status-wrapper{flex-direction:column;align-items:flex-start;gap:5px}.invoice-status,.invoice-overdue{border-radius:20px;align-items:center;width:fit-content;max-width:190px;padding:5px 9px;font-size:.73rem;font-weight:700;line-height:1.35;display:inline-flex}.invoice-overdue{color:#b42318;background:#fef0ee}.invoice-date-overdue{color:#b42318;font-weight:700}.invoice-actions-column{text-align:center!important}.invoice-row-actions{justify-content:center}.invoice-icon-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #e0e4eb;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:background .2s,color .2s,border-color .2s;display:inline-flex}.invoice-icon-button:hover:not(:disabled){color:var(--invoice-navy);background:#f1f5fb;border-color:#c9d4e5}.invoice-icon-button:disabled{opacity:.4;cursor:not-allowed}.invoice-cancel-button{color:#b42318}.invoice-cancel-button:hover:not(:disabled){color:#912018;background:#fef0ee;border-color:#fecdca}.invoice-alert-close{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:inline-flex}.invoice-pagination-actions{justify-content:flex-end}.supplier-invoices-page .purchase-pagination{color:var(--invoice-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-top:18px;font-size:.85rem;display:flex}.purchase-table-message{height:150px;color:var(--invoice-muted);text-align:center!important}.purchase-table-message svg{margin:0 auto 10px;display:block}.purchase-table-message strong,.purchase-table-message span{margin-top:6px;display:block}.invoice-modal{width:min(620px,100vw - 28px);max-height:calc(100vh - 32px);overflow-y:auto}.invoice-modal-wide{width:min(900px,100vw - 28px)}.supplier-invoices-page .purchase-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.supplier-invoices-page .purchase-modal{color:#202b3c;background:#fff;border-radius:14px;max-width:100%;box-shadow:0 24px 70px #10182838}.supplier-invoices-page .purchase-modal-header{z-index:2;border-bottom:1px solid var(--invoice-border);background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex;position:sticky;top:0}.supplier-invoices-page .purchase-modal-header h2{color:var(--invoice-navy);margin:0;font-size:1.2rem;font-weight:750}.supplier-invoices-page .purchase-modal-body{padding:22px 24px}.invoice-form-section{margin-bottom:25px}.invoice-form-section h3,.invoice-payments-section h3{color:var(--invoice-navy);border-bottom:1px solid var(--invoice-border);margin:0 0 16px;padding-bottom:10px;font-size:.98rem;font-weight:750}.supplier-invoices-page .purchase-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.supplier-invoices-page .purchase-field{flex-direction:column;gap:7px;min-width:0;display:flex}.supplier-invoices-page .purchase-field label{color:#344054;font-size:.85rem;font-weight:650}.invoice-required{color:#b42318}.supplier-invoices-page .purchase-field input,.supplier-invoices-page .purchase-field select,.supplier-invoices-page .purchase-field textarea{color:#202b3c;width:100%;min-width:0;min-height:42px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:10px 12px;font-size:.88rem}.supplier-invoices-page .purchase-field textarea{resize:vertical;min-height:90px}.supplier-invoices-page .purchase-field input:focus,.supplier-invoices-page .purchase-field select:focus,.supplier-invoices-page .purchase-field textarea:focus{border-color:var(--invoice-gold);outline:none;box-shadow:0 0 0 3px #c89b3c1f}.supplier-invoices-page .purchase-field small{color:var(--invoice-muted);font-size:.75rem}.invoice-total-preview{background:#f8f6ef;border:1px solid #eee3c5;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding:18px;display:flex}.invoice-total-preview span{color:var(--invoice-navy);font-weight:700}.invoice-total-preview strong{color:var(--invoice-navy);font-size:1.35rem;font-weight:800}.invoice-total-preview small{width:100%;color:var(--invoice-muted);font-size:.78rem}.supplier-invoices-page .purchase-modal-footer{border-top:1px solid var(--invoice-border);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;padding-top:18px;display:flex}.invoice-detail-heading{flex-wrap:wrap;align-items:center;gap:13px;margin-bottom:22px;display:flex}.invoice-detail-file-icon{width:50px;height:50px;color:var(--invoice-navy);background:#edf2fa;border-radius:12px;flex:0 0 50px;justify-content:center;align-items:center;display:flex}.invoice-detail-heading>div:nth-child(2){flex:1;min-width:150px}.invoice-detail-heading h3{color:var(--invoice-navy);overflow-wrap:anywhere;margin:0 0 5px;font-size:1.08rem}.invoice-detail-heading p{color:var(--invoice-muted);margin:0;font-size:.82rem}.invoice-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.invoice-detail-card{border:1px solid var(--invoice-border);background:#fafbfc;border-radius:10px;flex-direction:column;gap:7px;min-width:0;padding:15px;display:flex}.invoice-detail-card>span,.invoice-detail-amounts>div>span{color:var(--invoice-muted);font-size:.8rem}.invoice-detail-card strong{color:var(--invoice-navy);overflow-wrap:anywhere;font-size:.9rem}.invoice-detail-card small{color:var(--invoice-muted);overflow-wrap:anywhere}.invoice-detail-amounts{border:1px solid var(--invoice-border);background:#fff;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin-bottom:22px;padding:8px 16px;display:grid}.invoice-detail-amounts>div{border-bottom:1px solid #eef0f4;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.invoice-detail-amounts>div:nth-last-child(-n+2){border-bottom:0}.invoice-detail-amounts strong{color:#344054;text-align:right;font-variant-numeric:tabular-nums;font-size:.87rem}.invoice-detail-amounts .invoice-detail-total strong{color:var(--invoice-navy);font-weight:800}.invoice-detail-amounts .invoice-detail-balance strong{color:#b54708;font-weight:800}.invoice-notes-block{background:#f8fafc;border-radius:9px;margin-bottom:24px;padding:15px}.invoice-notes-block h4{color:var(--invoice-navy);margin:0 0 8px}.invoice-notes-block p{color:#475467;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.invoice-payments-section{margin-top:24px}.invoice-no-payments{color:var(--invoice-muted);background:#f8fafc;border-radius:8px;padding:17px;font-size:.88rem}.invoice-loading-detail{min-height:140px;color:var(--invoice-muted);justify-content:center;align-items:center;gap:12px;display:flex}.invoice-confirm-cancel{text-align:center}.invoice-confirm-icon{color:#b42318;background:#fef0ee;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;margin:0 auto 16px;display:flex}.invoice-confirm-cancel p{color:#475467;line-height:1.6}.invoice-confirm-cancel strong{color:var(--invoice-navy);overflow-wrap:anywhere}.invoice-spinner{animation:1s linear infinite invoice-spin}@keyframes invoice-spin{to{transform:rotate(360deg)}}@media (width<=900px){.invoice-filters{align-items:stretch}.invoice-search-field{flex-basis:100%}.invoice-filters select,.invoice-filters>input{flex:150px}.invoice-reset-btn{flex:none}}@media (width<=600px){.supplier-invoices-page .purchases-header{align-items:stretch}.invoice-header-actions{width:100%}.invoice-header-actions .purchase-btn{flex:1}.supplier-invoices-page .purchase-stats,.supplier-invoices-page .purchase-form-grid,.invoice-detail-grid,.invoice-detail-amounts{grid-template-columns:1fr}.invoice-detail-amounts>div:nth-last-child(-n+2){border-bottom:1px solid #eef0f4}.invoice-detail-amounts>div:last-child{border-bottom:0}.supplier-invoices-page .purchase-modal-overlay{align-items:flex-start;padding:8px;overflow-y:auto}.invoice-modal,.invoice-modal-wide{width:100%;max-height:none;margin:auto 0}.supplier-invoices-page .purchase-modal-header,.supplier-invoices-page .purchase-modal-body{padding:16px}.supplier-invoices-page .purchase-modal-footer{align-items:stretch}.supplier-invoices-page .purchase-modal-footer .purchase-btn{flex:auto}.supplier-invoices-page .purchase-pagination{flex-direction:column;align-items:flex-start}.invoice-pagination-actions{justify-content:space-between;width:100%}}.customers-page{color:#1c2740;flex-direction:column;gap:24px;min-width:0;display:flex}.customers-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.customers-eyebrow{color:#b18a38;letter-spacing:1.5px;margin-bottom:8px;font-size:11px;font-weight:800}.customers-heading h1{color:#17243e;letter-spacing:-.7px;margin:0;font-size:clamp(24px,3vw,30px);font-weight:800}.customers-heading p{color:#7a8498;margin:8px 0 0;font-size:14px}.customers-primary-button,.customers-refresh-button,.customers-cancel-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:0 17px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.customers-primary-button{color:#fff;background:#182640;border:1px solid #182640;box-shadow:0 5px 14px #1826401f}.customers-primary-button:hover{background:#263956;transform:translateY(-1px)}.customers-primary-button:disabled,.customers-refresh-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.customers-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.customers-stat-card{background:#fff;border:1px solid #e9edf3;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:21px;display:flex;box-shadow:0 3px 12px #14233c08}.customers-stat-icon,.customers-row-icon{color:#253956;background:#edf2f8;flex-shrink:0;justify-content:center;align-items:center;display:flex}.customers-stat-icon{border-radius:13px;width:49px;height:49px}.customers-stat-icon-gold{color:#9b7628;background:#fbf3df}.customers-stat-card>div:last-child{flex-direction:column;gap:6px;min-width:0;display:flex}.customers-stat-label{color:#7a8498;font-size:12px;font-weight:600}.customers-stat-card strong{color:#182640;overflow-wrap:anywhere;font-size:clamp(18px,2vw,25px);line-height:1.3}.customers-toolbar{justify-content:space-between;align-items:center;gap:15px;display:flex}.customers-search{color:#8993a6;background:#fff;border:1px solid #e1e6ee;border-radius:10px;align-items:center;gap:10px;width:min(100%,520px);min-height:45px;padding:0 13px;display:flex}.customers-search:focus-within{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.customers-search input{color:#1c2740;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px}.customers-search input::placeholder{color:#a0a8b7}.customers-search button,.customers-alert button{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:4px;display:inline-flex}.customers-refresh-button{color:#43516b;background:#fff;border:1px solid #e1e6ee}.customers-refresh-button:hover{background:#f8fafc;border-color:#bdc7d6}.customers-table-card{background:#fff;border:1px solid #e8ecf2;border-radius:15px;overflow:hidden;box-shadow:0 4px 16px #14233c08}.customers-table-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:22px 23px;display:flex}.customers-table-header h2{color:#1c2740;margin:0;font-size:16px;font-weight:800}.customers-table-header p{color:#8993a6;margin:6px 0 0;font-size:12px}.customers-table-wrapper{width:100%;overflow-x:auto}.customers-table{border-collapse:collapse;text-align:left;width:100%}.customers-table thead{background:#f8f9fc}.customers-table th{color:#7c879b;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap;padding:14px 16px;font-size:10px;font-weight:800}.customers-table td{color:#46536b;vertical-align:middle;border-top:1px solid #f0f2f6;padding:16px;font-size:13px}.customers-table tbody tr{transition:background .15s}.customers-table tbody tr:hover{background:#fbfcfe}.customers-name-cell{align-items:center;gap:12px;min-width:165px;display:flex}.customers-row-icon{border-radius:11px;width:39px;height:39px}.customers-name-cell>div:last-child{flex-direction:column;gap:5px;display:flex}.customers-name-cell strong{color:#202d46;font-size:13px;font-weight:750}.customers-name-cell span{color:#98a1b1;letter-spacing:.4px;font-size:10px;font-weight:700}.customers-contact-cell>span{white-space:nowrap;align-items:center;gap:7px;margin:4px 0;display:flex}.customers-contact-cell svg{color:#8993a6;flex-shrink:0}.customers-count{color:#34445f;background:#f0f3f8;border-radius:8px;justify-content:center;align-items:center;min-width:32px;min-height:27px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.customers-balance{color:#263956;white-space:nowrap}.customers-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;padding:6px 9px;font-size:11px;font-weight:750;display:inline-flex}.customers-status>span{background:currentColor;border-radius:50%;width:6px;height:6px}.customers-status-active{color:#238451;background:#e9f7ef}.customers-status-inactive{color:#788195;background:#f0f1f4}.customers-actions-heading{text-align:right}.customers-row-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.customers-icon-button{color:#5e6a80;cursor:pointer;background:#fff;border:1px solid #e8ecf2;border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:inline-flex}.customers-icon-button:hover{color:#1c2c48;background:#f5f7fa;border-color:#c9d2e0}.customers-empty{text-align:center;height:180px;color:#8993a6!important}.customers-empty svg{color:#b1bac8;margin:0 auto 10px;display:block}.customers-empty strong,.customers-empty span{display:block}.customers-empty strong{color:#526079;margin-bottom:6px}.customers-empty span{font-size:12px}.customers-pagination{color:#7b8699;border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:16px 22px;font-size:12px;display:flex}.customers-pagination>div{gap:8px;display:flex}.customers-pagination button{color:#34445f;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;min-height:34px;padding:0 12px;font-size:12px;font-weight:700}.customers-pagination button:disabled{opacity:.4;cursor:not-allowed}.customers-alert{border:1px solid #0000;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.customers-alert>span{overflow-wrap:anywhere;flex:1}.customers-alert-success{color:#247b4b;background:#f0faf4;border-color:#ccebd8}.customers-alert-error{color:#b73535;background:#fff4f4;border-color:#f1d0d0}.customers-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d172a8c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow-y:auto}.customers-modal{background:#fff;border:1px solid #ffffff59;border-radius:17px;width:100%;max-width:620px;max-height:calc(100vh - 44px);overflow-y:auto;box-shadow:0 25px 80px #0003}.customers-details-modal{max-width:850px}.customers-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px;display:flex}.customers-modal-header>div>span{color:#b18a38;letter-spacing:1.2px;font-size:10px;font-weight:800}.customers-modal-header h2{color:#192740;overflow-wrap:anywhere;margin:7px 0 0;font-size:21px;font-weight:800}.customers-modal-header>button{color:#66738a;cursor:pointer;background:#fff;border:1px solid #e8ecf2;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;display:inline-flex}.customers-form-body{flex-direction:column;gap:21px;padding:24px 25px;display:flex}.customers-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.customers-form-field{flex-direction:column;gap:9px;min-width:0;display:flex}.customers-form-field label{color:#34425a;font-size:12px;font-weight:800}.customers-form-field label>span{color:#c34242}.customers-form-field input,.customers-form-field textarea{box-sizing:border-box;color:#1c2740;width:100%;font:inherit;background:#fff;border:1px solid #dfe5ed;border-radius:9px;outline:none;padding:12px 13px;font-size:13px;transition:border-color .2s,box-shadow .2s}.customers-form-field textarea{resize:vertical;min-height:85px}.customers-form-field input:focus,.customers-form-field textarea:focus{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.customers-checkbox-field{cursor:pointer;background:#fafbfd;border:1px solid #e7ebf1;border-radius:10px;align-items:flex-start;gap:11px;padding:14px;display:flex}.customers-checkbox-field input{accent-color:#1c2c48;width:16px;height:16px;margin-top:2px}.customers-checkbox-field>span{flex-direction:column;gap:5px;display:flex}.customers-checkbox-field strong{color:#34425a;font-size:12px}.customers-checkbox-field small{color:#818ca0;font-size:11px;line-height:1.5}.customers-field-error{color:#b73535;font-size:11px}.customers-modal-footer{border-top:1px solid #edf0f5;justify-content:flex-end;gap:10px;padding:17px 25px 23px;display:flex}.customers-cancel-button{color:#59667d;background:#fff;border:1px solid #e1e6ee}.customers-cancel-button:hover{background:#f7f8fb}.customers-details-body{flex-direction:column;gap:24px;padding:24px;display:flex}.customers-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.customers-details-grid>div{background:#fbfcfe;border:1px solid #e9edf3;border-radius:11px;align-items:flex-start;gap:12px;min-width:0;padding:15px;display:flex}.customers-details-grid>div>svg{color:#8b7749;flex-shrink:0;margin-top:2px}.customers-details-grid>div>span{flex-direction:column;gap:6px;min-width:0;display:flex}.customers-details-grid small{color:#8993a6;font-size:11px}.customers-details-grid strong{color:#25344f;overflow-wrap:anywhere;font-size:13px}.customers-notes{background:#f8f9fc;border-radius:11px;padding:15px}.customers-notes strong,.customers-history h3{color:#25344f;font-size:13px}.customers-notes p{color:#59667d;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:13px;line-height:1.6}.customers-history h3{margin:0 0 12px}.customers-history-empty{color:#8993a6;text-align:center;border:1px dashed #dce2eb;border-radius:10px;padding:22px;font-size:13px}.customers-spin{animation:1s linear infinite customers-rotate}@keyframes customers-rotate{to{transform:rotate(360deg)}}@media (width<=760px){.customers-heading{flex-direction:column;align-items:flex-start}.customers-heading>button{width:100%}.customers-stats,.customers-details-grid,.customers-form-grid{grid-template-columns:1fr;gap:12px}.customers-toolbar{flex-direction:column;align-items:stretch}.customers-search{width:auto}.customers-refresh-button{align-self:flex-start}.customers-table-header{padding:17px}.customers-table th,.customers-table td{padding:13px}.customers-modal-backdrop{align-items:flex-start;padding:12px}.customers-modal{max-height:calc(100vh - 24px)}.customers-modal-header,.customers-form-body,.customers-details-body{padding:19px}.customers-modal-footer{padding:15px 19px 19px}}@media (width<=420px){.customers-pagination{flex-direction:column;align-items:flex-start}.customers-modal-footer{flex-direction:column-reverse}.customers-modal-footer button{width:100%}}.quotes-page{color:#1c2740;flex-direction:column;gap:24px;min-width:0;display:flex}.quotes-heading,.quotes-heading-actions,.quotes-toolbar,.quotes-table-header,.quotes-pagination,.quotes-pagination>div,.quotes-modal-heading,.quotes-modal-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.quotes-heading{flex-wrap:wrap;gap:20px}.quotes-eyebrow{color:#b18a38;letter-spacing:1.5px;margin-bottom:8px;font-size:11px;font-weight:800}.quotes-heading h1,.quotes-modal-heading h2{color:#17243e;letter-spacing:-.7px;overflow-wrap:anywhere;margin:0;font-size:clamp(24px,3vw,30px);font-weight:800}.quotes-heading p,.quotes-table-header p{color:#7a8498;margin:8px 0 0;font-size:14px}.quotes-heading-actions{flex-wrap:wrap}.quotes-primary-button,.quotes-secondary-button,.quotes-danger-button,.quotes-reset-button{min-height:42px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.quotes-primary-button{color:#fff;background:#182640;border:1px solid #182640}.quotes-primary-button:hover{background:#293b58}.quotes-secondary-button{color:#263956;background:#fff;border:1px solid #e0e6ef}.quotes-secondary-button:hover{background:#f4f6fa}.quotes-danger-button{color:#b42318;background:#fff5f5;border:1px solid #f1d0d0}.quotes-danger-button:hover{background:#ffe9e9}.quotes-primary-button:disabled,.quotes-secondary-button:disabled,.quotes-danger-button:disabled,.quotes-pagination button:disabled{opacity:.5;cursor:not-allowed}.quotes-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.quotes-stat-card{background:#fff;border:1px solid #e9edf3;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:21px;display:flex;box-shadow:0 3px 12px #14233c08}.quotes-stat-icon{color:#253956;background:#edf2f8;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;display:flex}.quotes-stat-icon-gold{color:#9b7628;background:#fbf3df}.quotes-stat-card>div:last-child{flex-direction:column;gap:6px;min-width:0;display:flex}.quotes-stat-label{color:#7a8498;font-size:12px;font-weight:600}.quotes-stat-card strong{color:#182640;overflow-wrap:anywhere;font-size:clamp(18px,2vw,25px)}.quotes-toolbar{flex-wrap:wrap}.quotes-search{color:#8993a6;background:#fff;border:1px solid #e1e6ee;border-radius:10px;align-items:center;gap:10px;width:min(100%,590px);min-height:45px;padding:0 12px;display:flex}.quotes-search:focus-within{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.quotes-search input{color:#1c2740;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px}.quotes-search input::placeholder{color:#a0a8b7}.quotes-search button{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:5px;display:inline-flex}.quotes-search button:hover{background:#f1f4f8}.quotes-status-filter{color:#263956;min-width:175px;min-height:45px;font:inherit;background:#fff;border:1px solid #e1e6ee;border-radius:10px;outline:none;padding:0 12px;font-size:13px}.quotes-reset-button{color:#65728a;background:0 0;border:0}.quotes-reset-button:hover{background:#edf1f6}.quotes-table-card{background:#fff;border:1px solid #e9edf3;border-radius:15px;min-width:0;overflow:hidden;box-shadow:0 3px 12px #14233c08}.quotes-table-header{color:#7a8498;border-bottom:1px solid #edf0f5;padding:21px 23px}.quotes-table-header h2{color:#182640;margin:0;font-size:17px;font-weight:800}.quotes-table-header p{font-size:12px}.quotes-table-scroll{width:100%;overflow-x:auto}.quotes-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.quotes-table th{color:#7a8498;letter-spacing:.45px;text-transform:uppercase;background:#f8f9fc;padding:14px 17px;font-size:11px;font-weight:800}.quotes-table td{color:#4b5870;vertical-align:middle;border-top:1px solid #f0f2f6;padding:16px 17px;font-size:13px}.quotes-table tbody tr:hover{background:#fcfcfe}.quotes-number,.quotes-customer strong,.quotes-table td>strong{color:#182640;font-weight:750}.quotes-subtext{color:#8b95a7;margin-top:5px;font-size:11px;display:block}.quotes-customer{align-items:center;gap:10px;display:flex}.quotes-customer-avatar{color:#253956;background:#edf2f8;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.quotes-customer>div{flex-direction:column;gap:4px;display:flex}.quotes-customer strong{text-overflow:ellipsis;max-width:200px;overflow:hidden}.quotes-customer span:not(.quotes-customer-avatar){color:#8b95a7;font-size:11px}.quotes-amount{font-variant-numeric:tabular-nums;font-weight:800;color:#182640!important}.quotes-status{border-radius:20px;align-items:center;padding:6px 9px;font-size:11px;font-weight:750;display:inline-flex}.quotes-status-draft{color:#586579;background:#f0f2f6}.quotes-status-sent{color:#2458a6;background:#eaf2ff}.quotes-status-accepted{color:#207448;background:#e7f7ed}.quotes-status-rejected{color:#b42318;background:#fff0f0}.quotes-status-expired{color:#996515;background:#fff4df}.quotes-status-converted{color:#17676b;background:#e7f4f5}.quotes-icon-button{color:#53637b;cursor:pointer;background:#fff;border:1px solid #e4e9f0;border-radius:9px;justify-content:center;align-items:center;width:35px;height:35px;margin-right:5px;transition:all .2s;display:inline-flex}.quotes-icon-button:hover{color:#182640;background:#f3f6fa;border-color:#c9d2e0}.quotes-icon-button:disabled{opacity:.5;cursor:not-allowed}.quotes-pagination{color:#7a8498;border-top:1px solid #edf0f5;padding:16px 20px;font-size:12px}.quotes-pagination>div{justify-content:flex-end}.quotes-pagination button{color:#263956;min-height:35px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e1e6ee;border-radius:8px;padding:0 12px}.quotes-state{color:#8993a6;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:200px;padding:30px;display:flex}.quotes-state h3{color:#263956;margin:4px 0 0;font-size:16px}.quotes-state p{margin:0;font-size:13px}.quotes-spin{animation:1s linear infinite quotes-spin}@keyframes quotes-spin{to{transform:rotate(360deg)}}.quotes-alert{border:1px solid;border-radius:10px;align-items:flex-start;gap:10px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.quotes-alert>span{flex:1;min-width:0}.quotes-alert button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.quotes-alert-success{color:#207448;background:#effaf3;border-color:#c8ead4}.quotes-alert-error{color:#a62828;background:#fff5f5;border-color:#f2d0d0}.quotes-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c16278c;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow-y:auto}.quotes-modal{background:#fff;border:1px solid #e9edf3;border-radius:18px;width:min(100%,900px);max-height:calc(100vh - 44px);padding:25px;overflow-y:auto;box-shadow:0 24px 80px #0003}.quotes-modal-heading{margin-bottom:22px}.quotes-modal-heading h2{font-size:22px}.quotes-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px;display:grid}.quotes-detail-grid>div{background:#fbfcfe;border:1px solid #edf0f5;border-radius:10px;flex-direction:column;gap:6px;min-width:0;padding:14px;display:flex}.quotes-detail-grid span{color:#7a8498;font-size:11px}.quotes-detail-grid strong{color:#182640;overflow-wrap:anywhere;font-size:13px}.quotes-detail-grid small{color:#7a8498}.quotes-detail-items h3{color:#182640;margin:0 0 12px;font-size:15px}.quotes-detail-items{margin-bottom:20px}.quotes-totals{background:#f8f9fc;border-radius:12px;flex-direction:column;gap:12px;max-width:380px;margin-left:auto;padding:17px;display:flex}.quotes-totals>div{color:#69758a;justify-content:space-between;gap:15px;font-size:13px;display:flex}.quotes-totals strong{color:#263956;text-align:right;font-variant-numeric:tabular-nums}.quotes-totals .quotes-grand-total{color:#182640;border-top:1px solid #e1e6ee;padding-top:12px;font-weight:800}.quotes-grand-total strong{color:#182640;font-size:18px}.quotes-notes{background:#fbf8f0;border-left:3px solid #b99a51;border-radius:0 9px 9px 0;margin-top:18px;padding:15px}.quotes-notes strong{color:#263956;font-size:13px}.quotes-notes p{color:#59657a;white-space:pre-wrap;margin:7px 0 0;font-size:13px}.quotes-confirm-box{background:#fffbf1;border:1px solid #ead9b5;border-radius:12px;margin-top:20px;padding:17px}.quotes-confirm-box>strong{color:#6f5117;font-size:14px}.quotes-confirm-box p{color:#75664b;font-size:13px;line-height:1.6}.quotes-confirm-box>div{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.quotes-modal-actions{border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:flex-end;margin-top:24px;padding-top:18px}@media (width<=900px){.quotes-toolbar{align-items:stretch}.quotes-search{width:100%;max-width:none}}@media (width<=600px){.quotes-page{gap:17px}.quotes-heading{align-items:flex-start}.quotes-heading-actions{width:100%}.quotes-heading-actions button{flex:1}.quotes-stats{gap:10px}.quotes-stat-card{align-items:flex-start;gap:10px;padding:13px}.quotes-stat-icon{width:38px;height:38px}.quotes-stat-label{font-size:11px}.quotes-toolbar{flex-direction:column}.quotes-status-filter,.quotes-reset-button{width:100%}.quotes-pagination{flex-direction:column;align-items:flex-start}.quotes-pagination>div{width:100%}.quotes-pagination button{flex:1}.quotes-modal-backdrop{align-items:flex-start;padding:10px}.quotes-modal{border-radius:13px;max-height:calc(100vh - 20px);padding:17px}.quotes-detail-grid{grid-template-columns:1fr}.quotes-modal-actions{flex-direction:column;align-items:stretch}.quotes-modal-actions button{width:100%}}.quotes-form-modal{width:min(100%,1050px)}.quotes-form{flex-direction:column;gap:22px;display:flex}.quotes-form-section{background:#fff;border:1px solid #e9edf3;border-radius:13px;padding:18px}.quotes-form-section h3{color:#182640;margin:0 0 16px;font-size:15px;font-weight:800}.quotes-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.quotes-form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.quotes-form-field-full{grid-column:1/-1}.quotes-form-field label{color:#526079;font-size:12px;font-weight:700}.quotes-form-field input,.quotes-form-field select,.quotes-form-field textarea{color:#1c2740;width:100%;min-width:0;min-height:42px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #dfe5ee;border-radius:9px;outline:none;padding:10px 12px;font-size:13px}.quotes-form-field textarea{resize:vertical;min-height:90px}.quotes-form-field input:focus,.quotes-form-field select:focus,.quotes-form-field textarea:focus{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.quotes-form-field input:disabled,.quotes-form-field select:disabled,.quotes-form-field textarea:disabled{cursor:not-allowed;background:#f5f6f8}.quotes-form-hint{color:#8490a3;font-size:11px;line-height:1.5}.quotes-product-search{color:#8490a3;border:1px solid #dfe5ee;border-radius:9px;align-items:center;gap:10px;min-height:44px;padding:0 12px;display:flex}.quotes-product-search:focus-within{border-color:#b99a51;box-shadow:0 0 0 3px #b99a511a}.quotes-product-search input{color:#1c2740;width:100%;min-width:0;font:inherit;border:0;outline:0;font-size:13px}.quotes-product-results{flex-direction:column;gap:7px;max-height:240px;margin-top:10px;display:flex;overflow-y:auto}.quotes-product-option{text-align:left;cursor:pointer;background:#fff;border:1px solid #e9edf3;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.quotes-product-option:hover{background:#fdfbf6;border-color:#c9b477}.quotes-product-option:disabled{opacity:.5;cursor:not-allowed}.quotes-product-option>span:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.quotes-product-option strong{color:#182640;font-size:13px}.quotes-product-option small{color:#8490a3;font-size:11px}.quotes-product-option>span:last-child{color:#182640;text-align:right;flex-shrink:0;font-size:12px;font-weight:800}.quotes-form-items{flex-direction:column;gap:12px;display:flex}.quotes-form-item{background:#fbfcfe;border:1px solid #e9edf3;border-radius:11px;grid-template-columns:minmax(150px,2fr) repeat(3,minmax(90px,1fr)) 38px;align-items:end;gap:10px;padding:14px;display:grid}.quotes-form-item-product{align-self:center;min-width:0}.quotes-form-item-product strong{color:#182640;overflow-wrap:anywhere;font-size:13px;display:block}.quotes-form-item-product small{color:#8490a3;margin-top:5px;font-size:11px;display:block}.quotes-form-item .quotes-form-field input{padding:9px}.quotes-remove-item{color:#b42318;cursor:pointer;background:#fff5f5;border:1px solid #f1d0d0;border-radius:9px;justify-content:center;align-items:center;width:36px;height:40px;display:inline-flex}.quotes-remove-item:hover{background:#ffe9e9}.quotes-line-total{color:#65728a;border-top:1px dashed #dfe5ee;justify-content:space-between;gap:12px;margin-top:9px;padding-top:9px;font-size:12px;display:flex}.quotes-line-total strong{color:#182640;font-variant-numeric:tabular-nums}.quotes-form-summary{background:#f8f9fc;border:1px solid #e9edf3;border-radius:12px;flex-direction:column;gap:12px;max-width:420px;margin-left:auto;padding:18px;display:flex}.quotes-form-summary-row{color:#65728a;justify-content:space-between;align-items:center;gap:16px;font-size:13px;display:flex}.quotes-form-summary-row strong{color:#263956;text-align:right;font-variant-numeric:tabular-nums}.quotes-form-summary-total{color:#182640;border-top:1px solid #dfe5ee;padding-top:13px;font-weight:800}.quotes-form-summary-total strong{color:#182640;font-size:20px}.quotes-form-actions{border-top:1px solid #edf0f5;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:18px;display:flex}.quotes-form-empty{color:#8490a3;text-align:center;border:1px dashed #dfe5ee;border-radius:10px;padding:20px;font-size:13px}@media (width<=760px){.quotes-form-grid{grid-template-columns:1fr}.quotes-form-item{grid-template-columns:repeat(2,minmax(0,1fr))}.quotes-form-item-product{grid-column:1/-1}.quotes-remove-item{width:100%}.quotes-form-summary{max-width:none}}@media (width<=420px){.quotes-form-section{padding:12px}.quotes-form-item{gap:9px;padding:10px}.quotes-form-actions{flex-direction:column-reverse}.quotes-form-actions button{width:100%}}.store-settings-page{color:#252b36;max-width:1180px;margin:0 auto;padding-bottom:32px}.settings-page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.settings-eyebrow{color:#b66b28;letter-spacing:1.6px;font-size:11px;font-weight:800}.settings-page-header h1{letter-spacing:-.8px;margin:8px 0;font-size:clamp(24px,3vw,32px);font-weight:800}.settings-page-header p,.settings-section-heading p{color:#747b88;margin:0;font-size:14px;line-height:1.6}.settings-header-icon,.settings-section-icon{color:#a45e24;background:#fff3e8;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.settings-header-icon{width:58px;height:58px}.settings-card{background:#fff;border:1px solid #e8eaf0;border-radius:16px;margin-bottom:20px;padding:25px;box-shadow:0 4px 18px #1f293708}.settings-section-heading{align-items:center;gap:13px;margin-bottom:24px;display:flex}.settings-section-icon{width:43px;height:43px}.settings-section-heading h2{margin:0 0 5px;font-size:17px;font-weight:750}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;display:grid}.settings-field{flex-direction:column;gap:8px;min-width:0;display:flex}.settings-field-full{grid-column:1/-1}.settings-field label{color:#424957;font-size:13px;font-weight:700}.settings-required{color:#d14343}.settings-field input,.settings-field select,.settings-field textarea{color:#252b36;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #dfe3ea;border-radius:9px;outline:none;padding:12px 13px;font-size:14px;transition:border-color .2s,box-shadow .2s}.settings-field input,.settings-field select{min-height:45px}.settings-field textarea{resize:vertical;min-height:88px}.settings-field input:focus,.settings-field select:focus,.settings-field textarea:focus{border-color:#c17a3b;box-shadow:0 0 0 3px #c17a3b1f}.settings-field input::placeholder,.settings-field textarea::placeholder{color:#a0a6b1}.settings-field small{color:#818795;font-size:12px;line-height:1.5}.settings-logo-placeholder{color:#8d5b32;background:#fffaf5;border:1px dashed #e4c5a8;border-radius:10px;align-items:center;gap:14px;padding:18px;display:flex}.settings-logo-placeholder div{flex-direction:column;gap:5px;display:flex}.settings-logo-placeholder strong{color:#424957;font-size:13px}.settings-alert{border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:20px;padding:13px 15px;font-size:14px;line-height:1.5;display:flex}.settings-alert svg{flex-shrink:0;margin-top:1px}.settings-alert-error{color:#a52d35;background:#fff0f0;border:1px solid #f3cece}.settings-alert-success{color:#247647;background:#edfaf1;border:1px solid #c8ebd3}.settings-actions{justify-content:space-between;align-items:center;gap:16px;padding:5px 0 20px;display:flex}.settings-actions p{color:#747b88;margin:0;font-size:12px}.settings-save-button{color:#fff;cursor:pointer;background:#a45e24;border:none;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 20px;font-size:14px;font-weight:700;transition:background .2s,transform .2s;display:inline-flex}.settings-save-button:hover:not(:disabled){background:#87491a;transform:translateY(-1px)}.settings-save-button:disabled{opacity:.7;cursor:wait}.settings-loading{color:#747b88;justify-content:center;align-items:center;gap:12px;min-height:250px;display:flex}.settings-spinner{animation:.9s linear infinite settings-spin}@keyframes settings-spin{to{transform:rotate(360deg)}}@media (width<=700px){.store-settings-page{padding-bottom:20px}.settings-page-header{align-items:flex-start}.settings-header-icon{width:45px;height:45px}.settings-card{border-radius:12px;padding:18px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:18px}.settings-field-full{grid-column:auto}.settings-actions{flex-direction:column;align-items:stretch}.settings-save-button{width:100%}}.settings-logo-manager{background:#fafafa;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:24px;padding:22px;display:flex}.settings-logo-preview{background:#fff;border:1px dashed #d1d5db;border-radius:12px;flex:0 0 150px;justify-content:center;align-items:center;width:150px;height:130px;display:flex;overflow:hidden}.settings-logo-preview img{object-fit:contain;width:100%;height:100%;padding:8px;display:block}.settings-logo-empty{color:#9ca3af;flex-direction:column;align-items:center;gap:8px;font-size:13px;display:flex}.settings-logo-content{flex:1;min-width:0}.settings-logo-content>strong{color:#1f2937;font-size:15px;display:block}.settings-logo-content>p{color:#6b7280;margin:7px 0 15px;font-size:13px;line-height:1.6}.settings-logo-file-input{display:none}.settings-logo-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.settings-logo-select,.settings-logo-upload,.settings-logo-cancel{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 13px;font-size:13px;font-weight:600;transition:background .2s,border-color .2s;display:inline-flex}.settings-logo-select:hover{background:#f3f4f6;border-color:#9ca3af}.settings-logo-upload{color:#fff;background:#ea580c;border-color:#c2410c}.settings-logo-upload:hover{background:#c2410c}.settings-logo-cancel{color:#6b7280;width:40px;padding:9px}.settings-logo-cancel:hover{background:#f3f4f6}.settings-logo-select:disabled,.settings-logo-upload:disabled,.settings-logo-cancel:disabled{opacity:.6;cursor:not-allowed}@media (width<=640px){.settings-logo-manager{flex-direction:column;align-items:stretch;gap:18px;padding:16px}.settings-logo-preview{flex-basis:auto;width:100%;height:150px}.settings-logo-actions>button{flex:1}}.reports-page{width:100%;color:var(--text-primary,#172033);flex-direction:column;gap:22px;display:flex}.reports-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.reports-header h1{margin:0;font-size:26px;font-weight:750}.reports-header p{color:var(--text-secondary,#667085);margin:7px 0 0;font-size:14px}.reports-header-icon{color:#2563eb;background:#eff6ff;border-radius:16px;flex-shrink:0;place-items:center;width:54px;height:54px;display:grid}.reports-tabs{border-bottom:1px solid var(--border-color,#e5e7eb);flex-wrap:wrap;gap:8px;display:flex}.reports-tab{color:var(--text-secondary,#667085);cursor:pointer;font:inherit;background:0 0;border:none;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:9px;padding:13px 17px;font-size:14px;font-weight:600;display:inline-flex}.reports-tab-active{color:#2563eb;border-bottom-color:#2563eb}.reports-filter{background:var(--card-background,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:14px;padding:20px}.reports-filter-title{align-items:center;gap:9px;margin-bottom:17px;display:flex}.reports-filter-title h2{margin:0;font-size:16px}.reports-filter-fields{flex-wrap:wrap;align-items:end;gap:15px;display:flex}.reports-filter-fields label{min-width:190px;color:var(--text-secondary,#667085);flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}.reports-filter-fields input{min-height:42px;color:var(--text-primary,#172033);background:var(--input-background,#fff);border:1px solid var(--border-color,#d0d5dd);font:inherit;border-radius:8px;padding:9px 11px}.reports-refresh-button{color:#fff;cursor:pointer;min-height:42px;font:inherit;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 17px;font-size:14px;font-weight:600;display:inline-flex}.reports-refresh-button:disabled{opacity:.6;cursor:not-allowed}.reports-error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:10px;padding:13px 15px;font-size:14px}.reports-placeholder{text-align:center;background:var(--card-background,#fff);border:1px dashed var(--border-color,#d0d5dd);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:270px;padding:30px;display:flex}.reports-placeholder>svg{color:#2563eb}.reports-placeholder h2{margin:0;font-size:19px}.reports-placeholder p{max-width:570px;color:var(--text-secondary,#667085);margin:0;font-size:14px;line-height:1.65}.reports-placeholder .reports-info{color:#475467;font-size:13px}@media (width<=640px){.reports-header h1{font-size:22px}.reports-filter{padding:15px}.reports-filter-fields{flex-direction:column;align-items:stretch}.reports-filter-fields label{min-width:0}.reports-refresh-button{width:100%}.reports-tab{flex:1;padding:12px 9px;font-size:13px}}.reports-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.reports-section-heading h2,.reports-panel-heading h2{margin:0;font-size:17px;font-weight:700}.reports-section-heading p,.reports-panel-heading p{color:var(--text-secondary,#667085);margin:6px 0 0;font-size:13px;line-height:1.5}.reports-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:15px;display:grid}.reports-metric-card{background:var(--card-background,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:13px;align-items:flex-start;gap:13px;min-width:0;padding:18px;display:flex}.reports-metric-icon{color:#2563eb;background:#eff6ff;border-radius:11px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid}.reports-metric-content{flex-direction:column;gap:6px;min-width:0;display:flex}.reports-metric-content>span{color:var(--text-secondary,#667085);font-size:12px;font-weight:600}.reports-metric-content>strong{overflow-wrap:anywhere;font-size:21px;font-weight:750;line-height:1.3}.reports-metric-content>small{color:var(--text-secondary,#667085);font-size:11px;line-height:1.45}.reports-permission-note{color:var(--text-secondary,#667085);margin:-7px 0 0;font-size:13px}.reports-panel{background:var(--card-background,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:14px;min-width:0;padding:21px}.reports-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.reports-chart{width:100%;min-width:0;height:320px}.reports-table-wrap{width:100%;overflow-x:auto}.reports-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:13px}.reports-table th,.reports-table td{text-align:left;border-bottom:1px solid var(--border-color,#eaecf0);padding:13px 12px}.reports-table th{color:var(--text-secondary,#667085);background:var(--table-header-background,#f9fafb);font-size:12px;font-weight:700}.reports-table tbody tr:last-child td{border-bottom:none}.reports-table tbody tr:hover{background:var(--table-hover-background,#f9fafb)}.reports-reference{font-weight:650}.reports-status{border-radius:999px;align-items:center;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.reports-status-paid{color:#027a48;background:#ecfdf3}.reports-status-unpaid{color:#b42318;background:#fef3f2}.reports-status-partially_paid{color:#b54708;background:#fffaeb}.reports-empty{min-height:110px;color:var(--text-secondary,#667085);text-align:center;justify-content:center;align-items:center;padding:22px;font-size:14px;display:flex}.reports-loading{color:var(--text-secondary,#667085);justify-content:center;align-items:center;gap:10px;padding:28px;font-size:14px;display:flex}.reports-spin{animation:1s linear infinite reports-spin}@keyframes reports-spin{to{transform:rotate(360deg)}}@media (width<=640px){.reports-metrics-grid{grid-template-columns:1fr}.reports-panel{padding:15px}.reports-chart{height:260px}.reports-metric-content>strong{font-size:19px}}.customer-invoices-page{--ci-primary:#176b55;--ci-primary-dark:#105440;--ci-text:#202a36;--ci-muted:#748091;--ci-border:#e5e9ef;--ci-surface:#fff;--ci-background:#f5f7fa;color:var(--ci-text);width:100%;min-width:0;padding:4px 0 28px}.customer-invoices-page,.customer-invoices-page *{box-sizing:border-box}.customer-invoices-page button,.customer-invoices-page input,.customer-invoices-page select{font:inherit}.customer-invoices-page button{cursor:pointer}.customer-invoices-page button:disabled{opacity:.55;cursor:not-allowed}.customer-invoices-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.customer-invoices-eyebrow{color:var(--ci-primary);letter-spacing:1.1px;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;font-weight:800;display:flex}.customer-invoices-header h1{color:var(--ci-text);letter-spacing:-.7px;margin:0;font-size:clamp(24px,3vw,31px);font-weight:750;line-height:1.2}.customer-invoices-header p{color:var(--ci-muted);margin:8px 0 0;font-size:13px;line-height:1.6}.ci-primary-button,.ci-secondary-button,.ci-danger-button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 15px;font-size:12px;font-weight:700;transition:background .18s,border-color .18s,transform .18s;display:inline-flex}.ci-primary-button{background:var(--ci-primary);color:#fff}.ci-primary-button:hover:not(:disabled){background:var(--ci-primary-dark)}.ci-secondary-button{color:#344054;background:#fff;border-color:#dce2e9}.ci-secondary-button:hover:not(:disabled){background:#f7f9fb;border-color:#c6d0db}.ci-danger-button{color:#b42318;background:#fff;border-color:#f0c5c1}.ci-danger-button:hover:not(:disabled){background:#fff4f2}.ci-alert{border:1px solid;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;font-size:12px;line-height:1.6;display:flex}.ci-alert span{overflow-wrap:anywhere;flex:1;min-width:0}.ci-alert>button{color:inherit;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.ci-alert-success{color:#176b46;background:#f0faf4;border-color:#c6ead4}.ci-alert-error{color:#a52821;background:#fff4f2;border-color:#f4d0cb}.ci-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.ci-stat-card{background:var(--ci-surface);border:1px solid var(--ci-border);border-radius:12px;align-items:center;gap:13px;min-width:0;padding:17px;display:flex;box-shadow:0 2px 7px #192a4608}.ci-stat-icon{border-radius:11px;flex:0 0 43px;justify-content:center;align-items:center;width:43px;height:43px;display:flex}.ci-icon-blue{color:#3168bd;background:#edf4ff}.ci-icon-green{color:#218357;background:#eaf8ef}.ci-icon-orange{color:#b96b16;background:#fff4e6}.ci-icon-purple{color:#7553ba;background:#f3edff}.ci-stat-card>div:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.ci-stat-card span{color:var(--ci-muted);font-size:11px;line-height:1.45}.ci-stat-card strong{color:var(--ci-text);font-size:23px;font-weight:750;line-height:1.2}.ci-stat-card .ci-stat-money{overflow-wrap:anywhere;font-size:clamp(14px,1.35vw,19px)}.ci-panel{background:var(--ci-surface);border:1px solid var(--ci-border);border-radius:13px;overflow:hidden;box-shadow:0 3px 12px #192a4608}.ci-panel-heading{justify-content:space-between;align-items:center;gap:15px;padding:20px 21px 17px;display:flex}.ci-panel-heading h2{margin:0;font-size:16px;font-weight:750}.ci-panel-heading p{color:var(--ci-muted);margin:5px 0 0;font-size:11px}.ci-icon-button{color:#586476;border:1px solid var(--ci-border);background:#fff;border-radius:9px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.ci-icon-button:hover:not(:disabled){color:var(--ci-primary);background:#f5faf8}.ci-toolbar{align-items:center;gap:10px;padding:0 21px 17px;display:flex}.ci-search-field{color:#8792a2;background:#fff;border:1px solid #dfe5ec;border-radius:9px;flex:300px;align-items:center;gap:9px;min-width:0;height:41px;padding:0 12px;display:flex}.ci-search-field:focus-within{border-color:#80b6a5;box-shadow:0 0 0 3px #176b5514}.ci-search-field input{width:100%;min-width:0;height:100%;color:var(--ci-text);background:0 0;border:0;outline:0;padding:0;font-size:12px}.ci-search-field input::placeholder{color:#9aa4b2}.ci-toolbar select{color:#344054;background:#fff;border:1px solid #dfe5ec;border-radius:9px;outline:none;flex:0 0 155px;width:155px;height:41px;padding:0 10px;font-size:12px}.ci-table-wrap{overscroll-behavior-x:contain;width:100%;overflow-x:auto}.ci-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:12px}.ci-table thead th{color:#687587;white-space:nowrap;background:#f7f9fb;border-top:1px solid #edf0f4;border-bottom:1px solid #e9edf2;padding:12px 13px;font-size:10px;font-weight:750}.ci-table thead th:first-child,.ci-table tbody td:first-child{padding-left:21px}.ci-table thead th:last-child,.ci-table tbody td:last-child{padding-right:21px}.ci-table tbody td{color:#485466;vertical-align:middle;border-bottom:1px solid #eef1f5;padding:14px 13px}.ci-table tbody tr:last-child td{border-bottom:0}.ci-table tbody tr:hover td{background:#fcfdfd}.ci-invoice-number{color:#1c5f4d;white-space:nowrap;font-weight:750}.ci-customer-cell{align-items:center;gap:9px;min-width:150px;display:flex}.ci-mini-avatar{color:#4971a6;background:#edf3fc;border-radius:50%;flex:0 0 31px;justify-content:center;align-items:center;width:31px;height:31px;display:flex}.ci-customer-cell>div{flex-direction:column;gap:4px;min-width:0;display:flex}.ci-customer-cell strong{color:#273445;overflow-wrap:anywhere;font-size:11px;font-weight:700}.ci-customer-cell small{color:var(--ci-muted);font-size:10px}.ci-align-right{white-space:nowrap;text-align:right!important}.ci-align-center{text-align:center!important}.ci-amount{white-space:nowrap;font-weight:750;color:#253447!important}.ci-status-pill,.ci-payment-pill{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;padding:5px 8px;font-size:10px;font-weight:700;display:inline-flex}.ci-status-issued{color:#176b46;background:#eaf8ef}.ci-status-cancelled{color:#a52821;background:#fff0ee}.ci-payment-paid{color:#176b46;background:#eaf8ef}.ci-payment-partial{color:#945a10;background:#fff5df}.ci-payment-unpaid{color:#a52821;background:#fff0ee}.ci-row-actions{justify-content:center;align-items:center;gap:5px;display:flex}.ci-action-button{color:#657286;background:#fff;border:1px solid #e3e8ef;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.ci-action-button:hover:not(:disabled){color:var(--ci-primary);background:#f2f8f5;border-color:#c8e0d6}.ci-action-button.ci-action-danger:hover:not(:disabled){color:#b42318;background:#fff2f0;border-color:#f1cbc6}.ci-table-state{height:175px;text-align:center!important;color:#8590a0!important}.ci-table-state>svg{margin:0 auto 10px;display:block}.ci-table-state>strong,.ci-table-state>span{margin-top:5px;display:block}.ci-table-state>strong{color:#4a5667;font-size:12px}.ci-table-state>span{font-size:11px}.ci-pagination,.ci-modal-footer{border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:14px 21px;display:flex}.ci-pagination>span,.ci-modal-footer>span{color:var(--ci-muted);font-size:11px}.ci-pagination>div,.ci-modal-footer>div{align-items:center;gap:6px;display:flex}.ci-page-button{color:#4c596a;background:#fff;border:1px solid #dfe5ec;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.ci-page-button:hover:not(:disabled){color:var(--ci-primary);background:#f3f9f6}.ci-modal-backdrop{z-index:1500;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a85;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.ci-modal{background:#fff;border:1px solid #fff6;border-radius:15px;flex-direction:column;width:min(100%,1050px);max-height:min(90vh,900px);display:flex;overflow:hidden;box-shadow:0 24px 80px #0000003d}.ci-sales-modal{width:min(100%,900px)}.ci-detail-modal{width:min(100%,1120px)}.ci-modal-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:15px;padding:22px 24px;display:flex}.ci-modal-header h2{color:var(--ci-text);overflow-wrap:anywhere;margin:5px 0 0;font-size:20px;font-weight:750}.ci-modal-header p{color:var(--ci-muted);margin:6px 0 0;font-size:12px}.ci-modal-eyebrow{color:var(--ci-primary);letter-spacing:1px;font-size:10px;font-weight:800}.ci-sales-search{border-bottom:1px solid #edf0f4;padding:17px 24px}.ci-sales-list{flex:1;min-height:100px;overflow-y:auto}.ci-sale-choice{border-bottom:1px solid #eef1f5;align-items:center;gap:17px;padding:15px 24px;display:flex}.ci-sale-choice:hover{background:#fafcfb}.ci-sale-choice-main{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.ci-sale-icon{width:40px;height:40px;color:var(--ci-primary);background:#eaf5f0;border-radius:10px;flex:0 0 40px;justify-content:center;align-items:center;display:flex}.ci-sale-choice-main>div{flex-direction:column;gap:5px;min-width:0;display:flex}.ci-sale-choice-main strong{color:#273445;font-size:12px}.ci-sale-choice-main span:not(.ci-sale-icon){color:#536174;overflow-wrap:anywhere;font-size:11px}.ci-sale-choice-main small{color:var(--ci-muted);font-size:10px}.ci-sale-choice-amounts{flex-direction:column;flex:0 0 150px;align-items:flex-end;gap:4px;min-width:0;display:flex}.ci-sale-choice-amounts strong{color:#1d5948;font-size:13px}.ci-sale-choice-amounts span{color:var(--ci-muted);text-align:right;font-size:10px}.ci-create-sale-button{flex:none;padding:9px 12px}.ci-modal-state{color:#8590a0;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:190px;padding:25px;font-size:12px;display:flex}.ci-modal-state strong{color:#465366}.ci-modal-state span{max-width:370px;line-height:1.6}.ci-detail-content{flex:1;min-height:0;padding:22px 24px;overflow-y:auto}.ci-cancelled-banner{color:#a52821;background:#fff3f1;border:1px solid #f3d2cd;border-radius:9px;align-items:flex-start;gap:9px;margin-bottom:20px;padding:12px;font-size:12px;line-height:1.6;display:flex}.ci-cancelled-banner svg{flex:none}.ci-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:24px;display:grid}.ci-detail-summary>div{background:#f8fafc;border:1px solid #e9edf2;border-radius:10px;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:16px;display:flex}.ci-detail-summary span{color:var(--ci-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;font-size:10px;font-weight:700}.ci-detail-summary strong{color:#273445;overflow-wrap:anywhere;font-size:13px}.ci-detail-summary small{color:#687587;overflow-wrap:anywhere;font-size:11px}.ci-detail-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.ci-detail-section-heading h3{margin:0;font-size:14px;font-weight:750}.ci-detail-section-heading span{color:var(--ci-muted);font-size:11px}.ci-detail-items-wrap{border:1px solid #e9edf2;border-radius:9px}.ci-detail-items-table{min-width:760px}.ci-detail-items-table thead th:first-child,.ci-detail-items-table tbody td:first-child{padding-left:14px}.ci-detail-items-table thead th:last-child,.ci-detail-items-table tbody td:last-child{padding-right:14px}.ci-detail-bottom{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:18px;margin-top:22px;display:grid}.ci-payment-info,.ci-total-card{border:1px solid #e7ebf0;border-radius:10px;padding:17px}.ci-payment-info h3{color:#2d3b4d;align-items:center;gap:8px;margin:0 0 16px;font-size:13px;display:flex}.ci-payment-info>div,.ci-total-card>div{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:flex-start;gap:15px;padding:9px 0;display:flex}.ci-payment-info>div:last-child,.ci-total-card>div:last-child{border-bottom:0}.ci-payment-info span,.ci-total-card span{color:#687587;font-size:11px}.ci-payment-info strong,.ci-total-card strong{color:#2c394a;text-align:right;overflow-wrap:anywhere;font-size:11px}.ci-payment-info .ci-remaining-amount{color:#b66a17}.ci-total-card{background:#f8fafc}.ci-total-card .ci-total-line{border-top:1px solid #dce3eb;align-items:center;margin-top:3px;padding-top:13px}.ci-total-card .ci-total-line span{color:#253447;font-weight:750}.ci-total-card .ci-total-line strong{color:var(--ci-primary);font-size:17px;font-weight:800}.ci-document-footer{color:#687587;white-space:pre-line;background:#f8fafc;border-left:3px solid #c7d8d1;margin:20px 0 0;padding:12px 14px;font-size:11px;line-height:1.7}.ci-modal-actions{background:#fff;border-top:1px solid #edf0f4;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;padding:16px 24px;display:flex}.ci-mobile-hint{color:#8490a0;align-items:center;gap:7px;margin-top:13px;font-size:10px;line-height:1.5;display:flex}.ci-spin{animation:1s linear infinite ci-rotation}@keyframes ci-rotation{to{transform:rotate(360deg)}}@media (width<=1150px){.ci-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ci-table{min-width:980px}.ci-detail-items-table{min-width:760px}}@media (width<=760px){.customer-invoices-header{flex-direction:column;align-items:flex-start;gap:15px}.customer-invoices-header>button{width:100%}.ci-stats-grid{gap:10px}.ci-stat-card{gap:10px;padding:13px}.ci-stat-icon{flex-basis:36px;width:36px;height:36px}.ci-stat-icon svg{width:18px;height:18px}.ci-stat-card strong{font-size:20px}.ci-stat-card .ci-stat-money{font-size:14px}.ci-panel-heading{padding:17px 15px}.ci-toolbar{flex-direction:column;align-items:stretch;padding:0 15px 16px}.ci-toolbar select{flex:auto;width:100%}.ci-toolbar>button{width:100%}.ci-pagination{padding:13px 15px}.ci-modal-backdrop{align-items:flex-end;padding:0}.ci-modal{border-radius:16px 16px 0 0;width:100%;max-height:94dvh}.ci-modal-header{padding:18px 16px}.ci-modal-header h2{font-size:18px}.ci-sales-search{padding:14px 16px}.ci-sale-choice{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:14px 16px}.ci-sale-choice-main{flex-basis:100%}.ci-sale-choice-amounts{flex:1;align-items:flex-start}.ci-sale-choice-amounts span{text-align:left}.ci-create-sale-button{align-self:center}.ci-modal-footer{padding:12px 16px}.ci-detail-content{padding:17px 16px}.ci-detail-summary{grid-template-columns:1fr;gap:10px}.ci-detail-bottom{grid-template-columns:1fr;gap:12px}.ci-modal-actions{justify-content:stretch;padding:13px 16px}.ci-modal-actions button{flex:140px}}@media (width<=420px){.ci-stats-grid{grid-template-columns:1fr}.ci-stat-card{padding:12px 14px}.ci-stat-card strong{font-size:21px}.ci-pagination>span{max-width:65%;line-height:1.5}.ci-modal-actions{flex-direction:column}.ci-modal-actions button{flex:auto;width:100%}}.suppliers-page{color:#172033;width:100%;min-width:0;padding:24px;font-family:inherit;font-size:14px;line-height:1.5}.suppliers-page *,.suppliers-page :before,.suppliers-page :after{box-sizing:border-box}.suppliers-page button,.suppliers-page input,.suppliers-page select,.suppliers-page textarea{font:inherit}.suppliers-page button{cursor:pointer}.suppliers-page button:disabled{opacity:.55;cursor:not-allowed}.suppliers-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.suppliers-eyebrow{color:#64748b;letter-spacing:.07em;align-items:center;gap:8px;margin-bottom:16px;font-size:12px;font-weight:700;display:flex}.suppliers-heading h1{color:#172033;margin:0;font-size:28px;font-weight:750;line-height:1.25}.suppliers-heading p{color:#64748b;margin:8px 0 0;font-size:14px}.suppliers-header-actions{align-items:center;gap:10px;display:flex}.suppliers-btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 15px;font-size:13px;font-weight:650;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s;display:inline-flex}.suppliers-btn--primary{color:#fff;background:#17243b}.suppliers-btn--primary:hover:not(:disabled){background:#253652}.suppliers-btn--secondary{color:#344054;background:#fff;border-color:#d9e0e9}.suppliers-btn--secondary:hover:not(:disabled){background:#f8fafc;border-color:#c5cfdb}.suppliers-alert{border:1px solid #0000;border-radius:9px;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 14px;font-size:13px;display:flex}.suppliers-alert>svg{flex-shrink:0;margin-top:1px}.suppliers-alert>span{flex:1;min-width:0}.suppliers-alert>button{color:inherit;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:2px;display:inline-flex}.suppliers-alert--success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.suppliers-alert--error,.suppliers-inline-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.suppliers-inline-error{border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:12px 14px;font-size:13px}.suppliers-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.suppliers-stat{background:#fff;border:1px solid #e5eaf1;border-radius:12px;align-items:center;gap:14px;min-width:0;padding:18px;display:flex;box-shadow:0 2px 5px #0f172a08}.suppliers-stat>div{min-width:0}.suppliers-stat__icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.suppliers-stat__icon--blue{color:#2563eb;background:#eff6ff}.suppliers-stat__icon--green{color:#15803d;background:#ecfdf3}.suppliers-stat__icon--gold{color:#b7791f;background:#fffbeb}.suppliers-stat__label{color:#64748b;margin-bottom:4px;font-size:12px;display:block}.suppliers-stat strong{color:#172033;font-size:24px;font-weight:750;line-height:1.2;display:block}.suppliers-panel{min-width:0}.suppliers-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.suppliers-toolbar>div:first-child{min-width:0}.suppliers-toolbar h2{color:#172033;margin:0;font-size:19px;font-weight:700}.suppliers-toolbar p{color:#64748b;margin:8px 0 0;font-size:13px}.suppliers-filters{flex:1;align-items:center;gap:10px;min-width:280px;max-width:700px;display:flex}.suppliers-search{flex:1;align-items:center;min-width:180px;display:flex;position:relative}.suppliers-search>svg{color:#94a3b8;pointer-events:none;width:17px;height:17px;position:absolute;left:13px}.suppliers-search input{color:#172033;background:#fff;border:1px solid #d9e0e9;border-radius:8px;outline:none;width:100%;min-width:0;height:42px;padding:9px 38px 9px 39px;font-size:13px;transition:border-color .2s,box-shadow .2s}.suppliers-search input::placeholder{color:#94a3b8}.suppliers-search input:focus,.suppliers-status-filter:focus,.suppliers-form-field input:focus,.suppliers-form-field textarea:focus{border-color:#64748b;outline:none;box-shadow:0 0 0 3px #64748b1f}.suppliers-search>button{color:#64748b;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex;position:absolute;right:8px}.suppliers-search>button:hover{background:#f1f5f9}.suppliers-status-filter{color:#344054;background:#fff;border:1px solid #d9e0e9;border-radius:8px;outline:none;width:auto;min-width:145px;max-width:180px;height:42px;padding:8px 30px 8px 11px;font-size:13px}.suppliers-table-wrap{background:#fff;border:1px solid #e5eaf1;border-radius:11px;width:100%;overflow-x:auto;box-shadow:0 2px 5px #0f172a08}.suppliers-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;min-width:800px}.suppliers-table thead{background:#f8fafc}.suppliers-table th{color:#64748b;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid #e5eaf1;padding:14px 16px;font-size:10px;font-weight:750}.suppliers-table td{color:#475569;vertical-align:middle;border-bottom:1px solid #eef2f6;padding:14px 16px;font-size:13px}.suppliers-table tbody tr:last-child td{border-bottom:0}.suppliers-table tbody tr:hover{background:#fbfcfe}.suppliers-name{align-items:center;gap:11px;min-width:190px;display:flex}.suppliers-name__icon{color:#475569;background:#f1f5f9;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.suppliers-name strong,.suppliers-name small{overflow-wrap:anywhere;display:block}.suppliers-name strong{color:#172033;font-size:13px;font-weight:650}.suppliers-name small{color:#64748b;margin-top:3px;font-size:11px}.suppliers-contact{flex-direction:column;gap:5px;min-width:150px;display:flex}.suppliers-contact span{overflow-wrap:anywhere;align-items:center;gap:7px;display:flex}.suppliers-contact svg,.suppliers-address svg{color:#94a3b8;flex-shrink:0}.suppliers-muted{color:#94a3b8}.suppliers-address{overflow-wrap:anywhere;align-items:center;gap:6px;min-width:70px;display:inline-flex}.suppliers-purchase-count{color:#334155;background:#f1f5f9;border-radius:7px;justify-content:center;align-items:center;min-width:30px;min-height:28px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.suppliers-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.suppliers-badge>span{background:currentColor;border-radius:50%;width:6px;height:6px}.suppliers-badge--active{color:#15803d;background:#ecfdf3}.suppliers-badge--inactive{color:#64748b;background:#f1f5f9}.suppliers-actions-heading{text-align:right}.suppliers-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.suppliers-icon-btn{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;padding:0;transition:background .2s,border-color .2s,color .2s;display:inline-flex}.suppliers-icon-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.suppliers-icon-btn--warning{color:#b7791f}.suppliers-icon-btn--success{color:#15803d}.suppliers-icon-btn--danger{color:#dc2626}.suppliers-icon-btn--danger:hover:not(:disabled){background:#fef2f2;border-color:#fecaca}.suppliers-empty{text-align:center;color:#64748b!important;padding:42px 20px!important}.suppliers-empty>svg,.suppliers-empty>strong,.suppliers-empty>span{margin-left:auto;margin-right:auto;display:block}.suppliers-empty>svg{color:#94a3b8;margin-bottom:12px}.suppliers-empty>strong{color:#334155;margin-bottom:5px;font-size:14px}.suppliers-empty>span{font-size:13px}.suppliers-pagination{color:#64748b;justify-content:space-between;align-items:center;gap:14px;padding:17px 3px;font-size:12px;display:flex}.suppliers-pagination>div{gap:8px;display:flex}.suppliers-pagination button{color:#344054;background:#fff;border:1px solid #d9e0e9;border-radius:7px;min-height:36px;padding:7px 12px;font-size:12px;font-weight:550}.suppliers-pagination button:hover:not(:disabled){background:#f8fafc}.suppliers-pagination button:disabled{color:#a0aaba;cursor:not-allowed;background:#f8fafc}.suppliers-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.suppliers-modal{background:#fff;border:1px solid #e5eaf1;border-radius:14px;flex-direction:column;width:100%;max-width:680px;max-height:calc(100dvh - 40px);margin:auto;display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a3d}.suppliers-modal__header{background:#fff;border-bottom:1px solid #eef2f6;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.suppliers-modal__header>div{min-width:0}.suppliers-modal__header>div>span{color:#64748b;letter-spacing:.08em;margin-bottom:7px;font-size:10px;font-weight:750;display:block}.suppliers-modal__header h2{color:#172033;margin:0;font-size:21px;font-weight:750;line-height:1.3}.suppliers-modal__header p{color:#64748b;margin:7px 0 0;font-size:13px;line-height:1.5}.suppliers-modal__header>button{margin-left:auto}.suppliers-modal>form{min-height:0;overflow-y:auto}.suppliers-modal>.suppliers-alert{margin:16px 24px 0}.suppliers-modal>form>.suppliers-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px;display:grid}.suppliers-form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.suppliers-form-field--full{grid-column:1/-1}.suppliers-form-field label{color:#344054;font-size:12px;font-weight:650}.suppliers-form-field label span{color:#dc2626}.suppliers-form-field input,.suppliers-form-field textarea{color:#172033;width:100%;min-width:0;min-height:42px;box-shadow:none;background:#fff;border:1px solid #d9e0e9;border-radius:8px;margin:0;padding:10px 12px;font-family:inherit;font-size:13px;line-height:1.5;transition:border-color .2s,box-shadow .2s;display:block}.suppliers-form-field input::placeholder,.suppliers-form-field textarea::placeholder{color:#94a3b8;opacity:1}.suppliers-form-field textarea{resize:vertical;min-height:95px}.suppliers-field-error{color:#dc2626;font-size:11px;line-height:1.4}.suppliers-checkbox{cursor:pointer;background:#f8fafc;border:1px solid #e5eaf1;border-radius:9px;grid-column:1/-1;align-items:flex-start;gap:10px;min-width:0;padding:13px 14px;display:flex}.suppliers-checkbox>input{accent-color:#17243b;flex-shrink:0;width:16px;height:16px;margin:3px 0 0}.suppliers-checkbox>span{flex-direction:column;gap:3px;min-width:0;display:flex}.suppliers-checkbox strong{color:#344054;font-size:12px;font-weight:650}.suppliers-checkbox small{color:#64748b;font-size:11px;line-height:1.5}.suppliers-modal__footer{background:#fff;border-top:1px solid #eef2f6;justify-content:flex-end;align-items:center;gap:10px;padding:17px 24px;display:flex}.suppliers-spin{animation:1s linear infinite suppliers-rotate}@keyframes suppliers-rotate{to{transform:rotate(360deg)}}@media (width<=900px){.suppliers-page{padding:20px}.suppliers-stats{gap:12px}.suppliers-stat{padding:14px}.suppliers-stat__icon{width:40px;height:40px}.suppliers-stat strong{font-size:21px}.suppliers-toolbar{flex-direction:column;align-items:flex-start}.suppliers-filters{width:100%;max-width:none}}@media (width<=640px){.suppliers-page{padding:14px}.suppliers-heading{flex-direction:column;align-items:flex-start;gap:16px}.suppliers-heading h1{font-size:23px}.suppliers-heading>.suppliers-btn{width:100%}.suppliers-stats{grid-template-columns:1fr;gap:10px}.suppliers-stat{padding:14px}.suppliers-toolbar{gap:14px}.suppliers-toolbar h2{font-size:18px}.suppliers-filters{flex-direction:column;align-items:stretch;min-width:0}.suppliers-search,.suppliers-status-filter,.suppliers-filters>.suppliers-btn{width:100%;max-width:none}.suppliers-pagination{flex-direction:column;align-items:flex-start}.suppliers-pagination>div{width:100%}.suppliers-pagination button{flex:1}.suppliers-modal-backdrop{align-items:flex-start;padding:10px}.suppliers-modal{border-radius:11px;max-height:calc(100dvh - 20px)}.suppliers-modal__header{gap:12px;padding:17px}.suppliers-modal__header h2{font-size:19px}.suppliers-modal>.suppliers-alert{margin:12px 16px 0}.suppliers-modal>form>.suppliers-form-grid{grid-template-columns:minmax(0,1fr);gap:15px;padding:17px 16px}.suppliers-form-field--full,.suppliers-checkbox{grid-column:auto}.suppliers-modal__footer{flex-direction:column-reverse;align-items:stretch;padding:15px 16px}.suppliers-modal__footer .suppliers-btn{white-space:normal;text-align:center;width:100%}}@media (prefers-reduced-motion:reduce){.suppliers-page *,.suppliers-page :before,.suppliers-page :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--navy:#142238;--navy-light:#1d304b;--gold:#c7a45c;--gold-light:#f3ead7;--muted:#778196;--border:#e8ebf1;background:#f5f6fa;font-family:DM Sans,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}.login-page{background:radial-gradient(at 0 0,#314660 0%,#0000 48%),linear-gradient(135deg,#101b2d,#24364e);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #ffffff50;border-radius:22px;width:100%;max-width:430px;padding:42px;box-shadow:0 24px 80px #0003}.brand-mark{width:66px;height:66px;color:var(--navy);background:var(--gold-light);border:1px solid #ddc58e;border-radius:18px;place-items:center;margin:0 auto 14px;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;display:grid}.brand-subtitle{color:#9a7a3f;letter-spacing:2px;text-align:center;margin:0 0 30px;font-size:10px;font-weight:700}.login-card h1{text-align:center;margin:0;font-family:Manrope,sans-serif;font-size:30px}.login-description{color:var(--muted);text-align:center;margin:10px 0 28px;font-size:14px}.login-card form{flex-direction:column;display:flex}.login-card label{margin:0 0 8px;font-size:13px;font-weight:700}.input-wrapper{color:#8b95a6;background:#fff;border:1px solid #dfe3eb;border-radius:10px;align-items:center;gap:10px;height:48px;margin-bottom:20px;padding:0 13px;display:flex}.input-wrapper:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px #c7a45c20}.input-wrapper input{color:#172033;background:0 0;border:0;outline:none;width:100%;min-width:0;height:100%}.password-toggle{color:#778196;background:0 0;border:0;place-items:center;padding:5px;display:grid}.login-button{color:#fff;background:var(--navy);border:0;border-radius:10px;min-height:48px;margin-top:4px;font-weight:700;transition:background .2s}.login-button:hover{background:var(--navy-light)}.login-button:disabled{cursor:wait;opacity:.65}.login-error{color:#a52828;background:#fff0f0;border-radius:8px;margin:-4px 0 16px;padding:11px 12px;font-size:13px}.login-footer{color:#8992a2;text-align:center;margin:25px 0 0;font-size:12px}.app-layout{min-height:100vh}.sidebar{z-index:30;color:#fff;background:var(--navy);flex-direction:column;width:258px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{border-bottom:1px solid #ffffff15;align-items:center;gap:11px;min-height:88px;padding:18px;display:flex}.brand-mark-small{border-radius:12px;flex-shrink:0;width:45px;height:45px;margin:0;font-size:18px}.sidebar-brand strong,.sidebar-brand span,.sidebar-user-info strong,.sidebar-user-info span{display:block}.sidebar-brand strong{letter-spacing:.4px;font-family:Manrope,sans-serif;font-size:12px}.sidebar-brand span{color:#b4bfd0;margin-top:5px;font-size:11px}.sidebar-heading{color:#8e9cb1;letter-spacing:1.5px;margin:29px 20px 12px;font-size:10px;font-weight:700}.sidebar-nav{flex-direction:column;gap:5px;padding:0 12px;display:flex}.nav-item{color:#c2ccda;border-radius:9px;align-items:center;gap:12px;min-height:46px;padding:0 13px;font-size:13px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.nav-item:hover{color:#fff;background:#ffffff0c}.nav-item-active{color:#fff;box-shadow:inset 3px 0 var(--gold);background:#ffffff15}.nav-item-active svg{color:#e4c887}.sidebar-user{border-top:1px solid #ffffff15;align-items:center;gap:11px;margin-top:auto;padding:19px 17px;display:flex}.user-avatar{width:38px;height:38px;color:var(--navy);background:var(--gold-light);border-radius:50%;flex-shrink:0;place-items:center;font-weight:800;display:grid}.sidebar-user-info{min-width:0}.sidebar-user-info strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sidebar-user-info span{color:#aab7ca;margin-top:4px;font-size:11px}.sidebar-close,.sidebar-overlay{display:none}.main-area{min-height:100vh;margin-left:258px}.topbar{z-index:10;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;min-height:70px;padding:0 30px;display:flex;position:sticky;top:0}.topbar-title{font-size:13px;font-weight:600}.logout-button,.menu-toggle{color:#596579;border:1px solid var(--border);background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-size:12px;font-weight:600;display:flex}.logout-button:hover{color:#a52828;background:#fff8f8}.menu-toggle{display:none}.page-content{max-width:1500px;margin:0 auto;padding:32px}.page-heading h1{letter-spacing:-.8px;margin:7px 0;font-family:Manrope,sans-serif;font-size:28px;font-weight:800}.page-heading>div>p:last-child{color:var(--muted);margin:8px 0 0;font-size:13px}.eyebrow{color:#a18346;letter-spacing:1.6px;font-size:10px;font-weight:700}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:30px;display:grid}.stat-card{border:1px solid var(--border);background:#fff;border-radius:14px;min-width:0;padding:21px;box-shadow:0 4px 16px #17203305}.stat-icon{color:#9a7a3f;background:var(--gold-light);border-radius:11px;place-items:center;width:43px;height:43px;display:grid}.stat-card>p{color:#6d7789;margin:19px 0 7px;font-size:12px}.stat-value{font-family:Manrope,sans-serif;font-size:27px;display:block}.stat-card>span{color:#8b95a6;margin-top:8px;font-size:10px;line-height:1.5;display:block}.welcome-panel{color:#fff;background:linear-gradient(115deg,#192a42,#30465f);border-radius:16px;margin-top:25px;padding:30px}.welcome-tag{color:#e4c887;letter-spacing:1.5px;font-size:10px;font-weight:700}.welcome-panel h2{margin:14px 0 9px;font-family:Manrope,sans-serif;font-size:23px}.welcome-panel p{color:#d0d9e5;max-width:600px;margin:0;font-size:13px;line-height:1.8}.loading-screen,.empty-page{color:#69758a;text-align:center;place-items:center;min-height:60vh;display:grid}.empty-page h1{color:var(--navy)}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding:24px}}@media (width<=760px){.sidebar{transition:transform .22s;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}.sidebar-overlay{z-index:20;background:#0d1728a6;border:0;display:block;position:fixed;inset:0}.sidebar-close{color:#fff;background:0 0;border:0;place-items:center;margin-left:auto;padding:5px;display:grid}.main-area{margin-left:0}.topbar{gap:10px;min-height:62px;padding:0 15px}.menu-toggle{padding:0 10px;display:flex}.topbar-title{flex:1}.logout-button{padding:0 9px}.logout-button span{display:none}.page-content{padding:23px 16px}.page-heading h1{font-size:24px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-card>span{line-height:1.6}.welcome-panel{padding:23px}.welcome-panel h2{font-size:20px}}@media (width<=380px){.login-card{padding:28px 22px}.stats-grid{grid-template-columns:1fr}}.payments-page{flex-direction:column;gap:24px;display:flex}.payments-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.payments-refresh,.payments-secondary-button{min-height:40px;color:var(--navy);border:1px solid var(--border);background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:700;display:inline-flex}.payments-refresh:disabled{cursor:wait;opacity:.6}.payment-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.payment-stat-card{border:1px solid var(--border);background:#fff;border-radius:14px;min-width:0;padding:20px;box-shadow:0 4px 16px #17203305}.payment-stat-icon{color:#9a7a3f;background:var(--gold-light);border-radius:11px;place-items:center;width:42px;height:42px;display:grid}.payment-stat-card p{color:var(--muted);margin:17px 0 7px;font-size:12px}.payment-stat-card>strong{overflow-wrap:anywhere;font-family:Manrope,sans-serif;font-size:clamp(18px,2vw,25px);display:block}.payment-stat-card>span{color:#8b95a6;margin-top:8px;font-size:11px;display:block}.payments-filter-card,.payments-table-card{border:1px solid var(--border);background:#fff;border-radius:14px;min-width:0;overflow:hidden}.payments-filter-card{padding:22px}.payments-section-title,.payments-table-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.payments-section-title>div{color:var(--navy);align-items:center;gap:10px;display:flex}.payments-section-title h2,.payments-table-heading h2{margin:0;font-family:Manrope,sans-serif;font-size:15px}.payments-reset{color:#8c6e34;background:var(--gold-light);border:0;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700}.payments-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px;display:grid}.payments-filter-grid>label{color:#596579;flex-direction:column;gap:8px;min-width:0;font-size:11px;font-weight:700;display:flex}.payments-input,.payments-filter-grid select{color:#758094;background:#fff;border:1px solid #dfe3eb;border-radius:8px;align-items:center;gap:8px;width:100%;min-width:0;height:43px;padding:0 10px;display:flex}.payments-input:focus-within,.payments-filter-grid select:focus{border-color:var(--gold);outline:2px solid #c7a45c20}.payments-input input{color:#172033;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;font-size:12px}.payments-filter-grid select{color:#172033;font:inherit;font-size:12px}.payments-filter-actions{justify-content:flex-end;margin-top:18px;display:flex}.payments-primary-button{color:#fff;background:var(--navy);border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 18px;font-size:12px;font-weight:700;display:inline-flex}.payments-primary-button:hover{background:var(--navy-light)}.payments-table-heading{border-bottom:1px solid var(--border);padding:22px}.payments-table-heading p{color:var(--muted);margin:7px 0 0;font-size:12px}.payments-page-label{color:var(--muted);font-size:11px}.payments-table-scroll{width:100%;overflow-x:auto}.payments-table{border-collapse:collapse;white-space:nowrap;width:100%}.payments-table th{color:#788397;border-bottom:1px solid var(--border);text-align:left;background:#f9fafc;padding:13px 16px;font-size:10px;font-weight:700}.payments-table td{color:#596579;border-bottom:1px solid #edf0f4;padding:15px 16px;font-size:11px}.payments-table tbody tr:hover{background:#fcfcfd}.payments-table tbody tr:last-child td{border-bottom:0}.payments-table td strong{color:#26344a;font-size:11px;display:block}.payments-table td small{color:var(--muted);margin-top:5px;display:block}.payments-table .payments-date{white-space:nowrap}.payments-sale-number{color:#8c6e34!important}.payments-method-badge{color:#69552d;background:var(--gold-light);border-radius:6px;align-items:center;padding:6px 9px;font-size:10px;font-weight:700;display:inline-flex}.payments-amount-column{text-align:right!important}.payments-table td .payments-amount{color:#176c4b;font-size:12px}.payments-detail-button{width:34px;height:34px;color:var(--navy);border:1px solid var(--border);background:#f4f6f9;border-radius:8px;place-items:center;display:grid}.payments-detail-button:hover{color:#8c6e34;background:var(--gold-light)}.payments-pagination{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:15px 20px;display:flex}.payments-pagination>span{color:var(--muted);font-size:11px}.payments-pagination>div{gap:8px;display:flex}.payments-pagination button{min-height:34px;color:var(--navy);border:1px solid var(--border);background:#fff;border-radius:7px;padding:0 12px;font-size:11px;font-weight:600}.payments-pagination button:disabled{cursor:not-allowed;opacity:.4}.payments-state{min-height:190px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:25px;font-size:12px;display:flex}.payments-state strong{color:var(--navy);font-size:14px}.payments-spinner{animation:1s linear infinite payments-spin}@keyframes payments-spin{to{transform:rotate(360deg)}}.payments-error{color:#9f2929;background:#fff1f1;border:1px solid #f3d3d3;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:12px;display:flex}.payments-error button{color:#9f2929;background:#fff;border:1px solid #f0cccc;border-radius:7px;flex-shrink:0;padding:7px 10px;font-size:11px}.payments-modal-overlay{z-index:100;background:#101b2dcc;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.payments-modal{border:1px solid var(--border);background:#fff;border-radius:16px;width:100%;max-width:610px;max-height:calc(100vh - 40px);padding:25px;overflow-y:auto;box-shadow:0 25px 80px #0003}.payments-modal-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.payments-modal-heading h2{color:var(--navy);margin:8px 0 0;font-family:Manrope,sans-serif;font-size:21px}.payments-modal-close{color:#596579;border:1px solid var(--border);background:#f5f6fa;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.payments-modal-amount{background:#f8f5ed;border:1px solid #eee3ca;border-radius:12px;flex-direction:column;gap:9px;margin:22px 0;padding:20px;display:flex}.payments-modal-amount span{color:#796640;font-size:12px}.payments-modal-amount strong{color:var(--navy);font-family:Manrope,sans-serif;font-size:28px}.payments-detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:0;display:grid}.payments-detail-list>div{border-bottom:1px solid var(--border);min-width:0;padding:13px 0}.payments-detail-list dt{color:var(--muted);margin-bottom:7px;font-size:11px}.payments-detail-list dd{overflow-wrap:anywhere;color:#26344a;margin:0;font-size:12px;font-weight:600}.payments-modal-footer{justify-content:flex-end;margin-top:22px;display:flex}@media (width<=1100px){.payment-stats-grid,.payments-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.payments-heading{flex-direction:column;align-items:flex-start}.payment-stats-grid{gap:10px}.payment-stat-card{padding:14px}.payment-stat-card>strong{font-size:18px}.payments-filter-card{padding:16px}.payments-filter-grid{grid-template-columns:1fr;gap:14px}.payments-table-heading{flex-direction:column;align-items:flex-start;padding:17px}.payments-pagination{flex-direction:column;align-items:flex-start;padding:15px}.payments-pagination>div{width:100%}.payments-pagination button{flex:1}.payments-modal{padding:18px}.payments-detail-list{grid-template-columns:1fr}}.sidebar{z-index:30;box-sizing:border-box;color:#fff;background:var(--navy);flex-direction:column;width:258px;height:100dvh;min-height:0;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden}.sidebar-brand{flex:none;min-height:88px}.sidebar-nav{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#536177 transparent;flex-direction:column;flex:1;gap:5px;min-height:0;padding:0 12px 12px;display:flex;overflow:hidden auto}.sidebar-heading{flex:none;margin:20px 8px 12px}.sidebar-nav .nav-item{flex:none;min-height:46px}.sidebar-user{background:var(--navy);border-top:1px solid #ffffff15;flex:none;margin-top:0;padding:14px 17px}.sidebar-nav::-webkit-scrollbar{width:5px}.sidebar-nav::-webkit-scrollbar-track{background:0 0}.sidebar-nav::-webkit-scrollbar-thumb{background:#536177;border-radius:10px}@media (height<=750px){.sidebar-heading{margin-top:12px;margin-bottom:8px}.sidebar-nav{gap:2px}.sidebar-nav .nav-item{min-height:38px}.sidebar-user{padding-top:10px;padding-bottom:10px}}
