:root{--bg:#f5f7fb;--surface:#fff;--surface-2:#f8fafc;--text:#111827;--muted:#6b7280;--muted-2:#94a3b8;--border:#e5e7eb;--primary:#2563eb;--primary-dark:#1d4ed8;--sidebar:#0d1321;--sidebar-soft:#151d2e;--sidebar-text:#d8deea;--success-bg:#ecfdf3;--success:#137a45;--shadow:0 1px 2px #0f172a0a, 0 8px 24px #0f172a09}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--sidebar);height:100vh;color:var(--sidebar-text);flex-direction:column;padding:18px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:11px;padding:3px 8px 20px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#3b82f6,#2857d8);border-radius:11px;place-items:center;width:36px;height:36px;font-size:18px;font-weight:800;display:grid;box-shadow:0 9px 24px #2563eb40}.brand strong{color:#fff;letter-spacing:.04em;font-size:17px;display:block}.brand span{color:#7f8ba3;margin-top:1px;font-size:11px;display:block}.company-selector{background:var(--sidebar-soft);border:1px solid #273047;border-radius:12px;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;margin-bottom:18px;padding:10px;display:grid}.company-avatar{color:#dce7ff;background:#24314c;border-radius:10px;place-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:grid}.company-copy strong,.company-copy span{display:block}.company-copy strong{color:#fff;font-size:12px;font-weight:600}.company-copy span{color:#8490a6;margin-top:2px;font-size:10px}.sidebar-nav{flex:1}.nav-section{margin-bottom:14px}.nav-section>p{color:#657087;letter-spacing:.12em;text-transform:uppercase;margin:0 0 5px;padding:0 10px;font-size:9px;font-weight:700}.nav-item{color:#aeb8ca;border-radius:9px;align-items:center;gap:10px;min-height:38px;padding:8px 10px;font-size:12.5px;transition:all .16s;display:flex}.nav-item:hover{color:#fff;background:#172034}.sidebar-bottom{border-top:1px solid #202a40;padding-top:12px}.app-main{min-width:0}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);z-index:5;background:#ffffffe0;justify-content:space-between;align-items:center;gap:24px;height:68px;padding:0 32px;display:flex;position:sticky;top:0}.global-search{width:min(520px,55vw);height:38px;color:var(--muted-2);background:#f5f7fa;border:1px solid #e7eaf0;border-radius:10px;align-items:center;gap:9px;padding:0 11px;display:flex}.global-search input{color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:12.5px}kbd{color:#8a94a5;background:#fff;border:1px solid #dfe3e9;border-radius:5px;padding:3px 6px;font-size:9px}.topbar-actions{align-items:center;gap:9px;display:flex}.icon-button{border:1px solid var(--border);color:#657085;background:#fff;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.user-avatar{color:#284fbd;background:#e9efff;border-radius:50%;place-items:center;width:34px;height:34px;margin-left:3px;font-size:11px;font-weight:700;display:grid}.user-copy strong,.user-copy span{display:block}.user-copy strong{font-size:11.5px}.user-copy span{color:var(--muted);margin-top:1px;font-size:9.5px}.page-content{padding:30px 32px 56px}.page-stack{max-width:1440px;margin:0 auto}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.eyebrow{color:#3768e5;letter-spacing:.1em;margin-bottom:9px;font-size:10px;font-weight:750;line-height:1;display:block}.page-heading h1{letter-spacing:-.035em;margin:0;font-size:28px;font-weight:680;line-height:1.15}.page-heading p{max-width:680px;color:var(--muted);margin:7px 0 0;font-size:12.5px;line-height:1.55}.primary-button{background:var(--primary);color:#fff;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 7px 18px #2563eb2e}.primary-button:hover{background:var(--primary-dark)}.ghost-button{color:#3d67ce;background:0 0;border:0;font-size:11px;font-weight:600}.stat-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:13px;padding:17px}.stat-icon{color:#2d5ed5;background:#eef3ff;border-radius:9px;place-items:center;width:34px;height:34px;margin-bottom:14px;display:grid}.stat-card p{color:var(--muted);margin:0 0 5px;font-size:11px}.stat-card strong{letter-spacing:-.025em;font-size:23px;display:block}.stat-card span{color:#8a94a5;margin-top:7px;font-size:10px;display:block}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:14px;display:grid}.panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:13px}.panel-heading{justify-content:space-between;align-items:flex-start;padding:17px 18px 13px;display:flex}.panel-heading h2{margin:0;font-size:13px}.panel-heading p{color:var(--muted);margin:4px 0 0;font-size:10.5px}.empty-chart{flex-direction:column;justify-content:flex-end;min-height:285px;padding:18px;display:flex}.chart-bars{background-image:linear-gradient(#f2f4f7 1px,#0000 1px);background-size:100% 45px;border-bottom:1px solid #edf0f4;align-items:flex-end;gap:6%;height:180px;padding:0 6% 10px;display:flex}.chart-bars span{opacity:.7;background:linear-gradient(#88a9fa,#dbe6ff);border-radius:5px 5px 1px 1px;flex:1;min-width:12px;max-width:38px}.empty-chart p{text-align:center;color:#8a94a5;margin:15px 0 2px;font-size:10.5px}.checklist{padding:2px 17px 17px}.check-row{border-top:1px solid #f0f2f5;align-items:center;gap:10px;padding:11px 0;display:flex}.check-row span{color:#61708a;background:#f4f7fb;border-radius:8px;place-items:center;width:29px;height:29px;font-size:9px;font-weight:700;display:grid}.check-row p{margin:0;font-size:11px}.product-summary{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:12px;grid-template-columns:repeat(4,1fr);margin-bottom:14px;display:grid;overflow:hidden}.product-summary>div{border-right:1px solid var(--border);padding:15px 18px}.product-summary>div:last-child{border-right:0}.product-summary span,.product-summary strong{display:block}.product-summary span{color:var(--muted);margin-bottom:5px;font-size:10px}.product-summary strong{letter-spacing:-.02em;font-size:18px}.table-panel{overflow:hidden}.table-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:13px;display:flex}.table-search{border:1px solid var(--border);color:#8b95a6;border-radius:9px;flex:1;align-items:center;gap:8px;max-width:430px;height:37px;padding:0 10px;display:flex}.table-search input{background:0 0;border:0;outline:none;width:100%;font-size:11px}.filters{gap:7px;display:flex}.filter-button{border:1px solid var(--border);color:#4b5563;background:#fff;border-radius:9px;align-items:center;gap:7px;height:36px;padding:0 10px;font-size:10.5px;display:flex}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:860px}.data-table th{border-bottom:1px solid var(--border);color:#7b8493;text-align:left;text-transform:uppercase;letter-spacing:.045em;background:#fafbfc;height:38px;padding:0 14px;font-size:8.5px;font-weight:700}.data-table td{color:#4b5563;border-bottom:1px solid #f0f2f5;padding:11px 14px;font-size:11px}.data-table tbody tr:hover{background:#fbfcff}.data-table .right{text-align:right}.product-cell{align-items:center;gap:10px;min-width:250px;display:flex}.product-thumb{color:#52617b;background:#f0f3f8;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.product-cell strong,.product-cell span{display:block}.product-cell strong{color:#222b3a;font-size:11.5px}.product-cell span{color:#8c95a4;margin-top:2px;font-size:9.5px}.status-badge{background:var(--success-bg);min-height:22px;color:var(--success);border-radius:999px;align-items:center;padding:0 8px;font-size:9.5px;font-weight:650;display:inline-flex}.row-menu{color:#7b8494;background:0 0;border:0;border-radius:8px;width:30px;height:30px}.row-menu:hover{background:#f1f4f8}.table-footer{color:#8b94a4;justify-content:space-between;align-items:center;min-height:44px;padding:0 14px;font-size:9.5px;display:flex}@media (max-width:1050px){.app-shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{padding-inline:10px}.brand>div:not(.brand-mark),.company-copy,.company-selector>svg,.nav-section>p,.nav-item span,.sidebar-bottom .nav-item{font-size:0}.brand{justify-content:center;padding-inline:0}.company-selector{justify-content:center;padding:8px;display:flex}.nav-item{justify-content:center}.stat-grid,.product-summary{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media (max-width:720px){.app-shell{display:block}.sidebar{display:none}.topbar{padding:0 16px}.user-copy{display:none}.global-search{width:100%}.global-search kbd{display:none}.page-content{padding:22px 16px 40px}.page-heading{flex-direction:column;align-items:flex-start}.page-heading .primary-button{width:100%}.stat-grid,.product-summary{grid-template-columns:1fr}.product-summary>div{border-right:0;border-bottom:1px solid var(--border)}.table-toolbar{flex-direction:column}.table-search{max-width:none}.filters{overflow-x:auto}.table-footer{flex-direction:column;align-items:flex-start;gap:10px;padding-block:12px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.success-banner{color:#17683f;background:#f3fff7;border:1px solid #cdeedb;border-radius:11px;align-items:flex-start;gap:10px;margin:-6px 0 14px;padding:12px 14px;display:flex}.success-banner strong,.success-banner span{display:block}.success-banner strong{font-size:11.5px}.success-banner span{color:#4f7b63;margin-top:2px;font-size:10.5px}.filter-select{border:1px solid var(--border);color:#4b5563;background:#fff;border-radius:9px;align-items:center;min-width:130px;height:36px;display:flex;position:relative}.filter-select select{appearance:none;color:#4b5563;width:100%;height:100%;font:inherit;cursor:pointer;background:0 0;border:0;outline:0;padding:0 28px 0 10px;font-size:10.5px}.filter-select>svg{pointer-events:none;color:#8a94a5;position:absolute;right:8px}.clear-filter{color:#5571b4;align-items:center;min-height:36px;padding:0 8px;font-size:10.5px;font-weight:600;display:inline-flex}.status-badge.inactive{color:#667085;background:#f2f4f7}.stock-low{color:#c2410c}.empty-table-state{color:#8a94a5;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:170px;display:flex}.empty-table-state strong{color:#4b5563;font-size:12px}.empty-table-state span{font-size:10.5px}.breadcrumb-row{color:#8a94a5;align-items:center;gap:7px;margin-bottom:19px;font-size:10.5px;display:flex}.back-link{color:#4665ad;align-items:center;gap:6px;font-weight:600;display:inline-flex}.product-form-heading{margin-bottom:17px}.product-editor{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.editor-main{flex-direction:column;gap:14px;min-width:0;display:flex}.editor-sidebar{min-width:0}.editor-card{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:13px;padding:19px}.sticky-card{position:sticky;top:86px}.editor-card-heading{align-items:flex-start;gap:11px;margin-bottom:18px;display:flex}.editor-card-heading h2{letter-spacing:-.01em;margin:0;font-size:13.5px}.editor-card-heading p{color:var(--muted);margin:4px 0 0;font-size:10.5px;line-height:1.45}.step-number{color:#315fcf;background:#eef3ff;border-radius:8px;flex:0 0 29px;place-items:center;width:29px;height:29px;font-size:9.5px;font-weight:800;display:grid}.heading-with-step{gap:11px;display:flex}.variant-heading{justify-content:space-between}.product-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.product-type-card{text-align:left;color:#344054;background:#fff;border:1px solid #e4e7ec;border-radius:11px;grid-template-columns:36px 1fr 20px;align-items:start;gap:10px;min-height:88px;padding:13px;transition:border-color .15s,background .15s,box-shadow .15s;display:grid;position:relative}.product-type-card:hover{background:#fbfcff;border-color:#bdcae8}.product-type-card.active{background:#f7f9ff;border-color:#8eabf4;box-shadow:inset 0 0 0 1px #dbe6ff}.product-type-icon{color:#52617b;background:#f1f4f8;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.product-type-card.active .product-type-icon{color:#2d5ed5;background:#e9f0ff}.product-type-copy strong,.product-type-copy small{display:block}.product-type-copy strong{font-size:11.5px}.product-type-copy small{color:#7f8998;margin-top:4px;font-size:9.5px;line-height:1.4}.type-check{color:#fff;border:1px solid #d8dde6;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.product-type-card.active .type-check{border-color:var(--primary);background:var(--primary)}.form-grid{gap:13px;display:grid}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.span-2{grid-column:span 2}.form-field{flex-direction:column;gap:6px;min-width:0;display:flex}.form-field>span{color:#475467;font-size:10.5px;font-weight:600}.form-field>span b{color:#d92d20}.form-field input,.form-field select,.form-field textarea{color:#202939;width:100%;font:inherit;background:#fff;border:1px solid #dfe3e9;border-radius:9px;outline:none;font-size:11px;transition:border-color .15s,box-shadow .15s}.form-field input,.form-field select{height:38px;padding:0 10px}.form-field textarea{resize:vertical;min-height:84px;padding:10px;line-height:1.5}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#98b0ec;box-shadow:0 0 0 3px #2563eb14}.input-with-icon,.input-prefix,.input-suffix{background:#fff;border:1px solid #dfe3e9;border-radius:9px;align-items:center;min-height:38px;display:flex;overflow:hidden}.input-with-icon{color:#98a2b3;padding-left:10px}.input-with-icon input,.input-prefix input,.input-suffix input{border:0;border-radius:0;box-shadow:none!important}.input-prefix>span,.input-suffix>span{color:#7c8798;flex:none;padding:0 9px;font-size:10px}.input-prefix>span{border-right:1px solid #edf0f4}.input-suffix>span{border-left:1px solid #edf0f4}.field-error{display:block;color:#b42318!important;font-size:9.5px!important;font-weight:500!important}.form-alert{color:#b42318;background:#fff7f6;border:1px solid #f5c9c5;border-radius:11px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.form-alert strong,.form-alert span{display:block}.form-alert strong{font-size:11.5px}.form-alert span{color:#8f4b44;margin-top:2px;font-size:10.5px;line-height:1.45}.secondary-button{color:#405d9d;background:#fff;border:1px solid #dce2ec;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 10px;font-size:10.5px;font-weight:600;display:inline-flex}.variants-stack{flex-direction:column;gap:11px;display:flex}.variant-card{background:#fbfcfe;border:1px solid #e7eaf0;border-radius:11px;padding:14px}.variant-card-top{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px;display:flex}.variant-card-top strong,.variant-card-top span{display:block}.variant-card-top strong{font-size:11px}.variant-card-top span{color:#8a94a5;margin-top:2px;font-size:9.5px}.danger-icon-button{color:#c75a50;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.danger-icon-button:hover:not(:disabled){background:#fff1f0}.danger-icon-button:disabled{opacity:.28;cursor:not-allowed}.variant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.margin-preview{color:#355bb5;background:#f8faff;border:1px dashed #cfdaee;border-radius:9px;align-items:center;gap:9px;min-height:64px;padding:9px 11px;display:flex}.margin-preview>div span,.margin-preview>div strong,.margin-preview>div small{display:block}.margin-preview>div span{color:#6d7fa6;text-transform:uppercase;letter-spacing:.05em;font-size:8.5px}.margin-preview>div strong{color:#1e3f88;margin-top:2px;font-size:12px}.margin-preview>div small{color:#8695b5;margin-top:1px;font-size:8.5px}.editor-card h3{margin:0;font-size:12.5px}.side-card-copy{color:var(--muted);margin:4px 0 14px;font-size:10px;line-height:1.45}.rule-list{flex-direction:column;gap:7px;display:flex}.rule-row{opacity:.6;background:#f7f8fa;border-radius:9px;grid-template-columns:26px 1fr;align-items:center;gap:8px;padding:8px;display:grid}.rule-row.enabled{opacity:1;background:#f2f7ff}.rule-row>span{color:#98a2b3;background:#eceff3;border-radius:7px;place-items:center;width:24px;height:24px;display:grid}.rule-row.enabled>span{color:#315fcf;background:#dfeaff}.rule-row strong,.rule-row small{display:block}.rule-row strong{color:#344054;font-size:10px}.rule-row small{color:#8a94a5;margin-top:1px;font-size:8.8px}.rule-note{color:#8a6413;background:#fff9eb;border-radius:9px;align-items:flex-start;gap:7px;margin:11px 0 14px;padding:9px;font-size:9.5px;line-height:1.45;display:flex}.compact-field{margin-top:2px}.editor-actions{border-top:1px solid #edf0f4;flex-direction:column;gap:7px;margin-top:16px;padding-top:14px;display:flex}.save-button{width:100%}.save-button:disabled{opacity:.6;cursor:wait}.cancel-button{color:#667085;border-radius:8px;justify-content:center;align-items:center;min-height:36px;font-size:10.5px;font-weight:600;display:flex}.cancel-button:hover{background:#f6f7f9}@media (max-width:1180px){.product-editor{grid-template-columns:1fr}.sticky-card{position:static}.editor-sidebar .editor-card{grid-template-columns:1fr 1fr;gap:16px 24px;display:grid}.editor-sidebar h3,.editor-sidebar .side-card-copy{grid-column:1/-1}.editor-actions{border-top:0;align-self:end;margin-top:0;padding-top:0}}@media (max-width:840px){.product-type-grid,.two-columns,.variant-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.variant-heading{flex-direction:column}.secondary-button{width:100%}.editor-sidebar .editor-card{display:block}.editor-actions{border-top:1px solid #edf0f4;margin-top:16px;padding-top:14px}}
.mobix-summary-grid{gap:14px;display:grid}.mobix-summary-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.mobix-summary-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mobix-summary-grid article{background:#fff;border:1px solid #e5eaf2;border-radius:16px;grid-template-columns:auto 1fr;align-items:center;gap:8px 10px;padding:18px;display:grid;box-shadow:0 8px 24px #0f172a0a}.mobix-summary-grid article>svg,.summary-symbol{color:#2563eb;background:#f3f6fb;border-radius:12px;grid-row:1/span 2;place-items:center;width:38px;height:38px;display:grid}.mobix-summary-grid article span:not(.summary-symbol){color:#64748b;font-size:12px}.mobix-summary-grid article strong{color:#0f172a;font-size:20px}.summary-symbol{font-size:13px;font-weight:700}.stacked-cell,.identifier-stack{flex-direction:column;gap:3px;display:flex}.stacked-cell span,.identifier-stack span,.tiny-muted{color:#64748b;font-size:11px}.identifier-stack b{color:#94a3b8;min-width:42px;font-size:10px;display:inline-block}.identifier-stack code,.imei-code{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.status-badge.device-available,.status-badge.purchase-received{color:#166534;background:#dcfce7}.status-badge.device-sold{color:#334155;background:#e2e8f0}.status-badge.device-reserved{color:#92400e;background:#fef3c7}.status-badge.device-warranty,.status-badge.device-technical_service{color:#1d4ed8;background:#dbeafe}.status-badge.device-damaged,.status-badge.device-lost,.status-badge.purchase-cancelled{color:#b91c1c;background:#fee2e2}.status-badge.device-in_transfer{color:#6d28d9;background:#ede9fe}.movement-badge{border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:600;display:inline-flex}.movement-badge.in{color:#166534;background:#dcfce7}.movement-badge.out{color:#b91c1c;background:#fee2e2}.movement-badge.neutral{color:#334155;background:#e2e8f0}.movement-qty.in{color:#15803d}.movement-qty.out{color:#b91c1c}.purchase-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px;display:grid}.purchase-summary-card{padding:20px;position:sticky;top:88px}.purchase-summary-card h2{margin:5px 0 18px;font-size:20px}.summary-row{border-bottom:1px solid #eef2f7;justify-content:space-between;gap:16px;padding:10px 0;display:flex}.summary-row.total{border-bottom:0;padding-top:16px;font-size:18px}.summary-row.total strong{font-size:22px}.tax-note{color:#64748b;background:#f8fafc;border-radius:10px;margin:8px 0 16px;padding:10px;font-size:11px}.primary-button.wide{justify-content:center;width:100%}.form-footnote{color:#64748b;margin:12px 0 0;font-size:11px;line-height:1.5}.mobix-form-section{padding:20px}.section-title{justify-content:space-between;gap:12px;margin-bottom:18px;display:flex}.section-title h2{margin:0 0 4px;font-size:17px}.section-title p{color:#64748b;margin:0;font-size:12px}.mobix-form-grid{gap:14px;display:grid}.mobix-form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mobix-form-grid label,.line-fields label{flex-direction:column;gap:6px;display:flex}.mobix-form-grid label>span,.line-fields label>span{color:#475569;font-size:11px;font-weight:600}.mobix-form-grid input,.mobix-form-grid select,.purchase-add-row select,.line-fields input,.imei-row input{height:40px;font:inherit;color:#0f172a;background:#fff;border:1px solid #dbe2ea;border-radius:10px;outline:none;padding:0 11px}.mobix-form-grid input:focus,.mobix-form-grid select:focus,.purchase-add-row select:focus,.line-fields input:focus,.imei-row input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.span-two{grid-column:span 2}.span-three{grid-column:span 3}.purchase-add-row{grid-template-columns:1fr auto;gap:10px;margin-bottom:16px;display:grid}.secondary-button{cursor:pointer;background:#fff;border:1px solid #cfd8e3;border-radius:10px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 14px;font-weight:600;display:inline-flex}.purchase-lines{flex-direction:column;gap:12px;display:flex}.purchase-line{background:#fbfcfe;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.purchase-line-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.purchase-line-head>div{flex-direction:column;gap:3px;display:flex}.purchase-line-head strong{font-size:13px}.purchase-line-head span{color:#64748b;font-size:11px}.row-menu.danger{color:#dc2626}.line-fields{grid-template-columns:130px 180px 1fr;align-items:end;gap:12px;margin-top:12px;display:grid}.line-total{flex-direction:column;align-items:flex-end;gap:3px;margin-left:auto;display:flex}.line-total span{color:#64748b;font-size:10px}.line-total strong{font-size:15px}.imei-grid{border-top:1px dashed #d7dee7;margin-top:14px;padding-top:12px}.imei-head,.imei-row{grid-template-columns:34px 1fr 1fr 1fr;align-items:center;gap:8px;display:grid}.imei-head{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:6px;font-size:10px}.imei-row{margin-bottom:7px}.imei-row>span{color:#64748b;text-align:center;font-size:11px}.imei-row input{height:36px;font-size:12px}.purchase-empty{color:#64748b;border:1px dashed #d7dee7;border-radius:14px;flex-direction:column;align-items:center;gap:5px;padding:30px;display:flex}.purchase-empty strong{color:#334155;font-size:13px}.purchase-empty span{font-size:11px}.purchase-empty-icon{color:#2563eb;background:#eef4ff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:20px;display:grid}.error-banner{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.error-banner strong{font-size:12px}.error-banner span{font-size:11px}.devices-table td,.kardex-table td{vertical-align:middle}.table-toolbar{gap:12px}.ghost-button{align-items:center;gap:7px;display:inline-flex}.primary-button:disabled{opacity:.55;cursor:not-allowed}@media (max-width:1100px){.mobix-summary-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-layout{grid-template-columns:1fr}.purchase-summary-card{position:static}.mobix-form-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.span-three{grid-column:span 2}}@media (max-width:720px){.mobix-summary-grid.three,.mobix-summary-grid.four,.mobix-form-grid.four{grid-template-columns:1fr}.span-two,.span-three{grid-column:span 1}.purchase-add-row,.line-fields{grid-template-columns:1fr}.line-total{align-items:flex-start;margin-left:0}.imei-head{display:none}.imei-row{grid-template-columns:28px 1fr}.imei-row input{grid-column:2}.purchase-form-page .page-heading{align-items:flex-start}}
.pos-layout{grid-template-columns:minmax(0,1.45fr) minmax(390px,.75fr);align-items:start;gap:16px;display:grid}.pos-catalog-panel{min-height:720px;overflow:hidden}.pos-search{color:#94a3b8;border-bottom:1px solid #e7ebf1;align-items:center;gap:9px;height:54px;padding:0 16px;display:flex}.pos-search input{width:100%;font:inherit;background:0 0;border:0;outline:0}.pos-catalog-list{flex-direction:column;max-height:760px;display:flex;overflow:auto}.pos-product{border-bottom:1px solid #eef2f6;grid-template-columns:42px minmax(190px,1fr) minmax(190px,260px) 110px 96px;align-items:center;gap:12px;padding:13px 15px;display:grid}.pos-product:hover{background:#fbfcff}.pos-product-icon{color:#2563eb;background:#eef4ff;border-radius:11px;place-items:center;width:38px;height:38px;font-size:13px;font-weight:700;display:grid}.pos-product-copy{flex-direction:column;gap:2px;display:flex}.pos-product-copy strong{color:#0f172a;font-size:12px}.pos-product-copy span{color:#64748b;font-size:10.5px}.pos-product-copy small{color:#16a34a;font-size:10px}.pos-product-price{text-align:right}.pos-product-price strong,.pos-product-price span{display:block}.pos-product-price strong{color:#0f172a;font-size:13px}.pos-product-price span{color:#94a3b8;font-size:9px}.pos-unit-select,.pos-warehouse select,.pos-form-grid select,.pos-form-grid input,.payment-line select,.payment-line input,.discount-row input{height:38px;font:inherit;color:#0f172a;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:0;padding:0 10px}.pos-unit-select{min-width:0;font-size:10.5px}.pos-add{height:36px;padding:0 10px}.pos-add:disabled{opacity:.45;cursor:not-allowed}.pos-warehouse{flex-direction:column;gap:5px;min-width:270px;display:flex}.pos-warehouse span{color:#64748b;font-size:10px;font-weight:600}.pos-checkout{flex-direction:column;gap:12px;display:flex}.pos-cart-card,.pos-customer-card,.pos-payment-card,.pos-total-card{overflow:hidden}.pos-card-title{border-bottom:1px solid #eef2f6;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:0 14px;display:flex}.pos-card-title>div{align-items:center;gap:8px;display:flex}.pos-card-title strong{font-size:12px}.pos-card-title>span{color:#64748b;font-size:10px}.pos-cart-lines{max-height:330px;overflow:auto}.pos-cart-line{border-bottom:1px solid #eef2f6;padding:12px 14px}.pos-cart-line-head{justify-content:space-between;gap:10px;display:flex}.pos-cart-line-head>div{flex-direction:column;gap:2px;display:flex}.pos-cart-line-head strong{font-size:11.5px}.pos-cart-line-head span{color:#64748b;font-size:10px}.pos-cart-line-head code{color:#334155;background:#f8fafc;border-radius:5px;width:max-content;padding:3px 5px;font-size:9.5px}.pos-cart-controls{grid-template-columns:95px 115px 1fr;align-items:center;gap:8px;margin-top:10px;display:grid}.pos-cart-controls>strong{text-align:right;font-size:12px}.qty-control{border:1px solid #dbe2ea;border-radius:8px;grid-template-columns:28px 1fr 28px;height:34px;display:grid;overflow:hidden}.qty-control button{color:#64748b;background:#f8fafc;border:0;place-items:center;display:grid}.qty-control input{text-align:center;border:0;outline:0;width:100%;font-size:11px}.fixed-qty{color:#64748b;font-size:10px}.price-control{border:1px solid #dbe2ea;border-radius:8px;align-items:center;height:34px;padding-left:7px;display:flex}.price-control span{color:#64748b;font-size:10px}.price-control input{width:100%;height:30px;font:inherit;border:0;outline:0;padding:0 6px;font-size:11px}.pos-empty-cart{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:120px;display:flex}.pos-empty-cart strong{color:#475569;font-size:11px}.pos-empty-cart span{font-size:10px}.pos-form-grid{flex-direction:column;gap:9px;padding:13px 14px;display:flex}.pos-form-grid label{flex-direction:column;gap:5px;display:flex}.pos-form-grid label>span{color:#64748b;font-size:10px;font-weight:600}.pos-two-cols{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pos-doc-row{grid-template-columns:90px 1fr;gap:8px;display:grid}.payment-lines{flex-direction:column;gap:8px;padding:12px 14px;display:flex}.payment-line{grid-template-columns:105px 88px 1fr auto auto;align-items:center;gap:6px;display:grid;position:relative}.payment-line select,.payment-line input{height:34px;font-size:10.5px}.payment-line .ghost-button{height:32px}.payment-index{color:#3730a3;background:#eef2ff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:9px;display:none;position:absolute;top:-6px;left:-10px}.pos-total-card{padding:14px}.discount-row{justify-content:space-between;align-items:center;padding-bottom:10px;display:flex}.discount-row>span{color:#64748b;font-size:11px}.discount-row>div{border:1px solid #dbe2ea;border-radius:8px;align-items:center;height:34px;padding-left:8px;display:flex}.discount-row>div>span{color:#64748b;font-size:10px}.discount-row input{border:0;width:90px;height:30px;padding-left:6px}.payment-balance{border-radius:9px;justify-content:space-between;gap:10px;margin:10px 0 4px;padding:9px 10px;font-size:10.5px;display:flex}.payment-balance.ok{color:#166534;background:#ecfdf3}.payment-balance.pending{color:#9a3412;background:#fff7ed}.pos-confirm{height:46px;font-size:13px}.sales-table .table-action-link{color:#2563eb;align-items:center;gap:5px;font-size:10.5px;font-weight:600;display:inline-flex}.status-badge.sale-completed{color:#166534;background:#dcfce7}.status-badge.sale-cancelled,.status-badge.sale-refunded{color:#b91c1c;background:#fee2e2}.status-badge.sale-draft{color:#92400e;background:#fef3c7}.sale-detail-heading{align-items:flex-start}.back-link{color:#64748b;align-items:center;gap:5px;margin-bottom:14px;font-size:10.5px;display:inline-flex}.sale-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.whatsapp-button{color:#166534}.sale-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.sale-info-card{align-items:flex-start;gap:12px;padding:15px;display:flex}.sale-info-icon{color:#2563eb;background:#eef4ff;border-radius:10px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.sale-info-card>div:last-child{flex-direction:column;gap:3px;display:flex}.sale-info-card span{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:9.5px}.sale-info-card strong{font-size:12px}.sale-info-card small{color:#64748b;font-size:10px}.sale-items-panel{margin-bottom:12px}.sale-bottom-grid{grid-template-columns:1fr 330px;gap:12px;display:grid}.sale-payment-list{padding:0 16px 12px}.sale-payment-row{border-top:1px solid #eef2f6;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.sale-payment-row>span{flex-direction:column;gap:2px;font-size:11px;display:flex}.sale-payment-row small{color:#94a3b8;font-size:9px}.sale-totals-panel{padding:8px 16px 14px}.ticket-screen{background:#eef2f6;flex-direction:column;align-items:center;gap:14px;min-height:100vh;padding:24px;display:flex}.ticket-page{color:#111;background:#fff;width:80mm;min-height:120mm;padding:7mm 5mm;font-family:Arial,sans-serif;font-size:10px;box-shadow:0 10px 30px #0f172a1f}.ticket-header{text-align:center;border-bottom:1px dashed #aaa;padding-bottom:8px}.ticket-header strong{letter-spacing:.08em;font-size:20px;display:block}.ticket-header span,.ticket-header p{margin:2px 0;font-size:9px;display:block}.ticket-meta{border-bottom:1px dashed #aaa;flex-direction:column;gap:2px;padding:8px 0;display:flex}.ticket-items{padding:4px 0}.ticket-item{border-bottom:1px dashed #bbb;padding:7px 0}.ticket-item>strong,.ticket-item>span{display:block}.ticket-item>span{color:#444;margin-top:2px;font-size:9px}.ticket-item>div{justify-content:space-between;margin-top:5px;display:flex}.ticket-totals{border-bottom:1px dashed #aaa;padding:6px 0}.ticket-totals>div,.ticket-payments>div{justify-content:space-between;padding:2px 0;display:flex}.ticket-total{margin-top:3px;font-size:13px}.ticket-payments{padding:6px 0}.ticket-footer{text-align:center;border-top:1px dashed #aaa;flex-direction:column;gap:3px;padding-top:9px;display:flex}.ticket-footer small{color:#555;font-size:8px}.ticket-print-button{width:80mm}.filter-select select{color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:9px;height:36px;padding:0 28px 0 10px;font-size:10.5px}.clear-filter{color:#2563eb;align-items:center;padding:0 8px;font-size:10px;display:inline-flex}.empty-table-state{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:150px;display:flex}.empty-table-state strong{color:#475569;font-size:12px}.empty-table-state span{font-size:10px}@media (max-width:1180px){.pos-layout{grid-template-columns:1fr}.pos-catalog-panel{min-height:auto}.pos-catalog-list{max-height:480px}.pos-product{grid-template-columns:42px minmax(180px,1fr) minmax(160px,240px) 100px 90px}.pos-checkout{grid-template-columns:1fr 1fr;display:grid}.pos-cart-card,.pos-total-card{grid-column:1/-1}.sale-detail-grid{grid-template-columns:1fr 1fr}.sale-bottom-grid{grid-template-columns:1fr}}@media (max-width:760px){.pos-product{grid-template-columns:38px 1fr auto}.pos-unit-select{grid-column:2/-1}.pos-product-price{text-align:left;grid-column:2}.pos-add{grid-area:2/3}.pos-checkout{display:flex}.pos-two-cols{grid-template-columns:1fr}.payment-line{grid-template-columns:1fr 1fr}.payment-line input:nth-of-type(2){grid-column:1/-1}.sale-detail-grid{grid-template-columns:1fr}.sale-detail-actions{justify-content:flex-start}.ticket-screen{background:#fff;padding:0}.ticket-page{box-shadow:none}.ticket-print-button{width:calc(100% - 24px);margin:12px}}@media print{.sidebar,.topbar,.no-print{display:none!important}.app-shell{display:block!important}.page-content{padding:0!important}.page-stack{max-width:none!important}.sale-detail-page{padding:10mm}.ticket-screen{background:#fff;padding:0}.ticket-page{width:80mm;min-height:auto;box-shadow:none;padding:4mm}.ticket-print-button{display:none!important}@page{margin:8mm}}.sale-completion-modal{z-index:1400;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.sale-completion-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:default;background:#0f172a7a;border:0;position:absolute;inset:0}.sale-completion-card{z-index:1;background:#fff;border:1px solid #e2e8f0e6;border-radius:18px;width:min(560px,100vw - 28px);max-height:calc(100vh - 36px);padding:24px;position:relative;overflow-y:auto;box-shadow:0 28px 80px #0f172a38}.sale-completion-close{color:#64748b;cursor:pointer;background:#f8fafc;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:12px;right:12px}.sale-completion-close:hover{color:#0f172a;background:#eef2f7}.sale-completion-check{color:#16a34a;background:#ecfdf3;border-radius:18px;place-items:center;width:62px;height:62px;margin:0 auto 12px;display:grid}.sale-completion-heading{text-align:center}.sale-completion-heading>span{color:#16a34a;letter-spacing:.1em;margin-bottom:4px;font-size:9px;font-weight:800;display:inline-block}.sale-completion-heading h2{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:21px}.sale-completion-heading p{color:#64748b;max-width:430px;margin:7px auto 0;font-size:10px;line-height:1.45}.sale-completion-summary{grid-template-columns:1fr 1fr;gap:8px;margin-top:17px;display:grid}.sale-completion-summary>div{background:#f8fafc;border:1px solid #e5eaf0;border-radius:11px;min-width:0;padding:10px 12px}.sale-completion-summary span,.sale-completion-summary strong{display:block}.sale-completion-summary span{color:#64748b;font-size:8.8px}.sale-completion-summary strong{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:14px;overflow:hidden}.sale-completion-summary .sale-completion-change{background:#f0fdf4;border-color:#bbf7d0;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.sale-completion-change span{color:#15803d;align-items:center;gap:5px;font-weight:700;display:inline-flex}.sale-completion-change strong{color:#15803d;margin:0;font-size:19px}.sale-completion-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.sale-completion-action{color:#2563eb;text-align:left;cursor:pointer;background:#fff;border:1px solid #e0e7ef;border-radius:11px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:60px;padding:9px 10px;display:grid}.sale-completion-action:hover:not(:disabled){background:#f8fbff;border-color:#bfdbfe}.sale-completion-action:disabled{cursor:wait;opacity:.58}.sale-completion-action>svg{justify-self:center}.sale-completion-action>span{min-width:0}.sale-completion-action strong,.sale-completion-action small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.sale-completion-action strong{color:#0f172a;font-size:10.5px}.sale-completion-action small{color:#64748b;margin-top:2px;font-size:8.5px}.sale-completion-action.whatsapp{color:#16a34a}.sale-completion-new{border-radius:10px;justify-content:center;width:100%;min-height:48px;margin-top:12px;font-size:12.5px;font-weight:800;position:relative}.sale-completion-new kbd{color:#fff;font:inherit;background:#ffffff1f;border:1px solid #ffffff6b;border-radius:5px;padding:2px 6px;font-size:8px;position:absolute;right:12px}.sale-completion-view{color:#64748b;width:100%;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:0;margin-top:5px;font-size:9.5px;font-weight:650}.sale-completion-view:hover{color:#2563eb}@media (max-width:560px){.sale-completion-modal{align-items:end;padding:10px}.sale-completion-card{border-radius:18px 18px 12px 12px;width:100%;max-height:calc(100vh - 12px);padding:20px 14px 14px}.sale-completion-summary{grid-template-columns:1fr}.sale-completion-summary .sale-completion-change{grid-column:auto}.sale-completion-actions{grid-template-columns:1fr 1fr}}.sale-completion-summary .sale-completion-exchange{background:#eff6ff;border-color:#bfdbfe;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.sale-completion-exchange span{color:#1d4ed8;align-items:center;gap:5px;font-weight:700;display:inline-flex}.sale-completion-exchange strong{color:#1d4ed8;margin:0;font-size:19px}.sale-exchange-origin-panel{overflow:hidden}.sale-exchange-origin-list{flex-direction:column;display:flex}.sale-exchange-origin-row{border-top:1px solid #eef2f6;grid-template-columns:38px minmax(0,1fr) minmax(220px,.95fr);align-items:center;gap:10px;padding:11px 13px;display:grid}.sale-exchange-origin-icon{color:#2563eb;background:#eff6ff;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.sale-exchange-origin-copy{min-width:0}.sale-exchange-origin-copy span,.sale-exchange-origin-copy strong,.sale-exchange-origin-copy small{display:block}.sale-exchange-origin-copy span{color:#2563eb;text-transform:uppercase;letter-spacing:.04em;font-size:8.2px;font-weight:800}.sale-exchange-origin-copy strong{color:#0f172a;margin-top:2px;font-size:10.8px}.sale-exchange-origin-copy small{color:#64748b;margin-top:2px;font-size:8.3px;line-height:1.35}.sale-exchange-origin-units{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.sale-exchange-origin-units>a{color:#2563eb;background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;align-items:center;gap:5px;min-width:0;padding:6px 7px;display:flex}.sale-exchange-origin-units>a>span{min-width:0}.sale-exchange-origin-units strong,.sale-exchange-origin-units code{text-overflow:ellipsis;white-space:nowrap;max-width:180px;display:block;overflow:hidden}.sale-exchange-origin-units strong{color:#334155;font-size:8.3px}.sale-exchange-origin-units code{color:#1d4ed8;margin-top:1px;font-size:7.7px}@media (max-width:900px){.sale-exchange-origin-row{grid-template-columns:38px minmax(0,1fr)}.sale-exchange-origin-units{grid-column:2;justify-content:flex-start}}@media (max-width:620px){.sale-exchange-origin-row{grid-template-columns:34px minmax(0,1fr);padding:10px}.sale-exchange-origin-units{grid-column:1/-1}.sale-exchange-origin-units>a{width:100%}}.sale-return-history-panel{margin-bottom:12px;overflow:hidden}.sale-return-history-list{flex-direction:column;display:flex}.sale-return-history-row{color:inherit;border-top:1px solid #eef2f6;grid-template-columns:34px minmax(0,1fr) minmax(120px,.55fr) auto;align-items:center;gap:9px;padding:10px 13px;display:grid}.sale-return-history-row:hover{background:#fbfcff}.sale-return-history-icon{color:#c2410c;background:#fff7ed;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.sale-return-history-copy,.sale-return-history-meta{min-width:0}.sale-return-history-copy span,.sale-return-history-copy strong,.sale-return-history-copy small,.sale-return-history-meta span,.sale-return-history-meta strong,.sale-return-history-meta small{display:block}.sale-return-history-copy span{color:#c2410c;text-transform:uppercase;letter-spacing:.04em;font-size:7.8px;font-weight:800}.sale-return-history-copy strong{color:#0f172a;margin-top:1px;font-size:10px}.sale-return-history-copy small{text-overflow:ellipsis;white-space:nowrap;color:#64748b;margin-top:2px;font-size:8.2px;overflow:hidden}.sale-return-history-meta{text-align:right}.sale-return-history-meta span{color:#94a3b8;font-size:7.8px}.sale-return-history-meta strong{color:#0f172a;margin-top:1px;font-size:10px}.sale-return-history-meta small{color:#94a3b8;margin-top:1px;font-size:7.7px}.sale-return-history-credit{text-align:right;background:#f8fbff;border:1px solid #dbeafe;border-radius:7px;min-width:88px;padding:5px 7px}.sale-return-history-credit span,.sale-return-history-credit strong{display:block}.sale-return-history-credit span{color:#64748b;font-size:7.4px}.sale-return-history-credit strong{color:#1d4ed8;margin-top:1px;font-size:8.3px}@media (max-width:780px){.sale-return-history-row{grid-template-columns:32px minmax(0,1fr) auto}.sale-return-history-credit{text-align:left;grid-column:2/-1;justify-self:start}.sale-return-history-meta{display:none}}@media (max-width:520px){.sale-return-history-row{grid-template-columns:30px minmax(0,1fr);padding:9px 10px}.sale-return-history-credit{grid-column:1/-1}}.sale-service-history-panel{margin-bottom:12px;overflow:hidden}.sale-service-history-list{flex-direction:column;display:flex}.sale-service-history-row{color:inherit;border-top:1px solid #eef2f6;grid-template-columns:34px minmax(0,1fr) minmax(130px,.55fr);align-items:center;gap:9px;padding:10px 13px;display:grid}.sale-service-history-row:hover{background:#fbfcff}.sale-service-history-icon{color:#6d3fc0;background:#f3efff;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.sale-service-history-copy,.sale-service-history-meta{min-width:0}.sale-service-history-copy span,.sale-service-history-copy strong,.sale-service-history-copy small,.sale-service-history-meta span,.sale-service-history-meta strong,.sale-service-history-meta small{display:block}.sale-service-history-copy span{color:#6d3fc0;text-transform:uppercase;letter-spacing:.04em;font-size:7.8px;font-weight:800}.sale-service-history-copy strong{color:#0f172a;margin-top:1px;font-size:10px}.sale-service-history-copy small{text-overflow:ellipsis;white-space:nowrap;color:#64748b;margin-top:2px;font-size:8.2px;overflow:hidden}.sale-service-history-meta{text-align:right}.sale-service-history-meta span{color:#64748b;font-size:7.8px}.sale-service-history-meta strong{color:#0f172a;margin-top:1px;font-size:9px}.sale-service-history-meta small{color:#94a3b8;margin-top:1px;font-size:7.7px}@media (max-width:720px){.sale-service-history-row{grid-template-columns:32px minmax(0,1fr)}.sale-service-history-meta{text-align:left;grid-column:2}}.sale-cancel-trigger{color:#b91c1c!important;border-color:#fecaca!important}.sale-cancel-trigger:hover{background:#fff1f2!important}.sale-cancelled-banner{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:11px;align-items:flex-start;gap:9px;padding:11px 13px;display:flex}.sale-cancelled-banner>div{min-width:0}.sale-cancelled-banner strong,.sale-cancelled-banner span{display:block}.sale-cancelled-banner strong{font-size:10.5px}.sale-cancelled-banner span{color:#b45309;margin-top:2px;font-size:8.8px;line-height:1.4}.sale-cancel-modal{z-index:1600;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.sale-cancel-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a8c;border:0;position:absolute;inset:0}.sale-cancel-card{z-index:1;background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:min(460px,100vw - 24px);padding:21px;position:relative;box-shadow:0 26px 70px #0f172a42}.sale-cancel-close{color:#64748b;cursor:pointer;background:#f8fafc;border:0;border-radius:8px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:10px;right:10px}.sale-cancel-icon{color:#b91c1c;background:#fff1f2;border-radius:14px;place-items:center;width:50px;height:50px;margin:0 auto 9px;display:grid}.sale-cancel-heading{text-align:center}.sale-cancel-heading>span{letter-spacing:.09em;color:#b91c1c;font-size:8px;font-weight:800}.sale-cancel-heading h2{color:#0f172a;margin:3px 0 0;font-size:18px}.sale-cancel-heading p{color:#64748b;max-width:380px;margin:6px auto 0;font-size:9px;line-height:1.45}.sale-cancel-field{flex-direction:column;gap:5px;margin-top:14px;display:flex}.sale-cancel-field>span{color:#475569;font-size:9px;font-weight:750}.sale-cancel-field textarea{resize:vertical;min-height:86px;font:inherit;color:#0f172a;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:0;padding:9px 10px;font-size:10px}.sale-cancel-field textarea:focus{border-color:#fca5a5;box-shadow:0 0 0 3px #ef444414}.sale-cancel-field small{color:#94a3b8;align-self:flex-end;font-size:7.8px}.sale-cancel-warning{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;align-items:flex-start;gap:6px;margin-top:9px;padding:8px 9px;display:flex}.sale-cancel-warning span{font-size:8.3px;line-height:1.4}.sale-cancel-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:8px;padding:8px 9px;font-size:8.7px;line-height:1.4}.sale-cancel-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.sale-cancel-confirm{color:#fff;min-height:38px;font:inherit;cursor:pointer;background:#b91c1c;border:1px solid #b91c1c;border-radius:9px;justify-content:center;align-items:center;gap:6px;font-size:9.5px;font-weight:800;display:inline-flex}.sale-cancel-confirm:disabled{opacity:.5;cursor:not-allowed}.ticket-cancelled-stamp{color:#b91c1c;letter-spacing:.08em;border:2px solid #b91c1c;border-radius:4px;width:max-content;margin:6px auto 0;padding:3px 8px;font-size:11px;display:block}.receipt-cancelled-stamp{color:#b91c1c;letter-spacing:.12em;border:1.2mm solid #b91c1c;margin-top:3mm;padding:1.5mm 3mm;font-size:13pt;display:inline-block}@media (max-width:520px){.sale-cancel-modal{align-items:end;padding:8px}.sale-cancel-card{border-radius:16px 16px 10px 10px;width:100%}.sale-cancel-actions{grid-template-columns:1fr}}
.pos-page{width:100%;min-width:0;max-width:100%;overflow-x:hidden}.pos-page .panel,.pos-layout,.pos-layout>*,.pos-checkout,.pos-checkout>*{min-width:0;max-width:100%}.pos-layout{grid-template-columns:minmax(0,1fr) minmax(390px,430px);align-items:start;gap:16px;width:100%;max-width:100%;display:grid}.pos-catalog-panel{min-width:0;min-height:680px;overflow:hidden}.pos-checkout{flex-direction:column;gap:12px;width:100%;display:flex}.pos-heading{min-width:0}.pos-warehouse{width:min(300px,100%);min-width:0}.pos-warehouse select{width:100%;max-width:100%}.pos-catalog-list{width:100%;max-width:100%;overflow:hidden auto}.pos-product{border-bottom:1px solid #eef2f6;grid-template-columns:42px minmax(0,1fr) auto;grid-template-areas:"icon info price""icon unit action";align-items:center;gap:8px 12px;width:100%;min-width:0;padding:14px 15px;display:grid}.pos-product:hover{background:#fbfcff}.pos-product-icon{grid-area:icon;align-self:start;margin-top:1px}.pos-product-copy{grid-area:info;min-width:0;overflow:hidden}.pos-product-copy strong,.pos-product-copy span,.pos-product-copy small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.pos-product-copy strong{color:#0f172a;font-size:12px}.pos-product-copy span{color:#64748b;font-size:10.5px}.pos-product-copy small{color:#16a34a;font-size:10px}.pos-product-price{text-align:right;grid-area:price;align-self:start;min-width:96px}.pos-product-price strong,.pos-product-price span{white-space:nowrap;display:block}.pos-unit-select{text-overflow:ellipsis;grid-area:unit;width:100%;min-width:0;max-width:100%;height:36px;font-size:10.5px;overflow:hidden}.pos-add{white-space:nowrap;grid-area:action;justify-self:end;min-width:92px;height:36px;padding:0 11px}.pos-cart-line,.pos-cart-line-head,.pos-cart-line-head>div{min-width:0}.pos-cart-line-head>div{overflow:hidden}.pos-cart-line-head strong,.pos-cart-line-head span,.pos-cart-line-head code{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.pos-cart-controls{grid-template-columns:minmax(82px,95px) minmax(100px,115px) minmax(72px,1fr);gap:7px;min-width:0}.price-control,.qty-control{min-width:0}.price-control input,.qty-control input{width:100%;min-width:0}.pos-cart-controls>strong{white-space:nowrap;text-align:right;min-width:0;font-size:11.5px}.pos-form-grid,.pos-two-cols,.pos-doc-row{min-width:0}.pos-form-grid select,.pos-form-grid input{width:100%;min-width:0;max-width:100%}.pos-payment-card{overflow:hidden}.pos-payment-card .pos-card-title{flex-wrap:wrap;row-gap:7px;min-height:52px;padding:8px 14px}.pos-payment-card .pos-card-title>div{min-width:0}.pos-payment-card .pos-card-title>.ghost-button{color:#2563eb;white-space:normal;text-align:center;height:auto;min-height:32px;padding:6px 9px;font-weight:700;line-height:1.2}.payment-lines{flex-direction:column;gap:10px;min-width:0;padding:12px 14px;display:flex}.payment-line{background:#fbfcfe;border:1px solid #e7ebf1;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:9px 10px;width:100%;min-width:0;padding:13px;display:grid;position:relative}.payment-field{flex-direction:column;gap:5px;min-width:0;display:flex}.payment-field.reference{grid-column:1/-1}.payment-field>span{letter-spacing:.03em;text-transform:uppercase;color:#64748b;white-space:normal;min-height:12px;font-size:9px;font-weight:700;line-height:1.25;display:block}.payment-field select,.payment-field input{width:100%;min-width:0;max-width:100%;height:37px;font:inherit;color:#0f172a;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:0;padding:0 9px;font-size:10.5px}.payment-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:7px;min-width:0;padding-top:1px;display:flex}.payment-actions .ghost-button{color:#2563eb;white-space:normal;text-align:center;background:#fff;border:1px solid #dbe4f0;border-radius:9px;justify-content:center;align-items:center;min-width:0;height:auto;min-height:36px;padding:7px 12px;font-size:10px;font-weight:700;line-height:1.2;display:inline-flex}.payment-actions .row-menu{flex:0 0 36px;width:36px;height:36px}.payment-index{color:#3730a3;background:#eef2ff;border-radius:50%;place-items:center;width:19px;height:19px;font-size:9px;font-weight:700;display:grid;position:absolute;top:-7px;left:-7px}.pos-total-card{padding:14px;overflow:hidden}.payment-balance{border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin:10px 0 4px;padding:11px 12px;font-size:10.5px;display:flex}.payment-balance>span{flex-direction:column;gap:2px;min-width:0;display:flex}.payment-balance>span small{opacity:.82;white-space:normal;font-size:9px}.payment-balance strong{text-align:right;max-width:55%;font-size:11.5px;line-height:1.3}.payment-balance.change{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.cash-change-box{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:8px 0 4px;display:grid}.cash-change-box>div{background:#f8fafc;border:1px solid #e5eaf2;border-radius:10px;min-width:0;padding:10px 11px}.cash-change-box span,.cash-change-box strong{display:block}.cash-change-box span{color:#64748b;margin-bottom:3px;font-size:9px}.cash-change-box strong{color:#0f172a;white-space:nowrap;font-size:14px}.cash-change-box .change-value{background:#eff6ff;border-color:#bfdbfe}.cash-change-box .change-value strong{color:#1d4ed8}.pos-total-card .tax-note,.pos-total-card .form-footnote{overflow-wrap:anywhere;line-height:1.45}.pos-confirm{white-space:normal;margin-top:8px;padding-top:7px;padding-bottom:7px;line-height:1.25}.pos-page input,.pos-page select,.pos-page button{max-width:100%}@media (max-width:1240px){.pos-layout{grid-template-columns:1fr}.pos-catalog-panel{min-height:auto}.pos-catalog-list{max-height:520px}.pos-checkout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.pos-cart-card,.pos-payment-card,.pos-total-card{grid-column:1/-1}.pos-payment-card .payment-line{grid-template-columns:minmax(120px,.7fr) minmax(120px,.7fr) minmax(0,1fr) auto;align-items:end}.pos-payment-card .payment-field.reference{grid-column:auto}.pos-payment-card .payment-actions{grid-column:auto;align-self:end}.pos-payment-card .payment-actions .ghost-button{white-space:nowrap}}@media (max-width:900px){.pos-heading{flex-direction:column;align-items:flex-start}.pos-warehouse{width:100%}.pos-checkout{display:flex}.pos-payment-card .payment-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pos-payment-card .payment-field.reference,.pos-payment-card .payment-actions{grid-column:1/-1}.pos-payment-card .payment-actions .ghost-button{white-space:normal}}@media (max-width:640px){.pos-product{grid-template-columns:38px minmax(0,1fr);grid-template-areas:"icon info""icon price""unit unit""action action";row-gap:7px;padding:12px}.pos-product-price{text-align:left;min-width:0}.pos-add{justify-self:stretch;width:100%}.pos-cart-controls{grid-template-columns:1fr 1fr}.pos-cart-controls>strong{text-align:right;grid-column:1/-1}.pos-two-cols,.pos-doc-row,.payment-line,.pos-payment-card .payment-line{grid-template-columns:1fr}.payment-field.reference,.payment-actions,.pos-payment-card .payment-field.reference,.pos-payment-card .payment-actions{grid-column:1}.payment-actions{justify-content:stretch}.payment-actions .ghost-button{flex:1}.cash-change-box{grid-template-columns:1fr}.payment-balance{flex-direction:column;align-items:flex-start}.payment-balance strong{text-align:left;max-width:100%}}
.dashboard-quick-section{margin:16px 0 18px}.dashboard-section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.dashboard-section-heading h2{letter-spacing:-.02em;margin:0;font-size:17px}.dashboard-section-heading p{color:#6b7280;margin:4px 0 0;font-size:11px}.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.dashboard-quick-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:11px;min-width:0;min-height:92px;padding:14px;transition:all .16s;display:grid;box-shadow:0 1px 2px #0f172a09}.dashboard-quick-card:hover{border-color:#cfd8e6;transform:translateY(-1px);box-shadow:0 8px 22px #0f172a0f}.dashboard-quick-card.is-primary{background:linear-gradient(145deg,#f8fbff,#eef5ff);border-color:#cbdcff}.dashboard-quick-icon{color:#475569;background:#f1f5f9;border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.dashboard-quick-card.is-primary .dashboard-quick-icon{color:#fff;background:#2563eb;box-shadow:0 7px 16px #2563eb2e}.dashboard-quick-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.dashboard-quick-copy strong{color:#111827;font-size:12px}.dashboard-quick-copy small{color:#7b8493;font-size:9.8px;line-height:1.35}.dashboard-quick-arrow{color:#94a3b8}.dashboard-quick-card.is-primary .dashboard-quick-arrow{color:#2563eb}@media (max-width:1180px){.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.dashboard-quick-grid{grid-template-columns:1fr}.dashboard-quick-card{min-height:82px}.dashboard-section-heading{align-items:flex-start}.dashboard-section-heading p{max-width:430px}}
:root{--bg:#f6f8fb;--surface:#fff;--surface-soft:#f8fafc;--surface-muted:#f1f5f9;--text:#101828;--text-2:#344054;--muted:#667085;--muted-2:#98a2b3;--border:#e4e7ec;--border-strong:#d0d5dd;--primary:#315efb;--primary-hover:#254edb;--primary-soft:#eef3ff;--success:#067647;--success-soft:#ecfdf3;--warning:#b54708;--warning-soft:#fffaeb;--danger:#b42318;--danger-soft:#fef3f2;--sidebar:#0b1020;--sidebar-2:#11182a;--sidebar-border:#202a3d;--sidebar-text:#c6cedd;--shadow-xs:0 1px 2px #1018280a;--shadow-sm:0 1px 2px #1018280a,0 6px 18px #10182809;--shadow-md:0 2px 4px #10182808,0 12px 28px #1018280e;--radius-sm:9px;--radius:12px;--radius-lg:16px}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}html{background:var(--bg)}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-feature-settings:"cv02","cv03","cv04","cv11";margin:0;font-family:Segoe UI Variable,Inter,SF Pro Text,SF Pro Display,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13.5px;line-height:1.48}button,input,select,textarea{font:inherit}button,a,input,select,textarea{transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s}::selection{color:#14379b;background:#dbe6ff}.app-shell{background:var(--bg);grid-template-columns:236px minmax(0,1fr)}.app-main{background:var(--bg);min-width:0}.page-content{min-width:0;padding:28px 30px 52px}.page-stack{width:100%;min-width:0;max-width:1480px;margin:0 auto}.sidebar{background:linear-gradient(#0b1020 0%,#0d1424 100%);border-right:1px solid #ffffff09;width:236px;padding:18px 12px 14px;box-shadow:8px 0 28px #080f1e0f}.brand{gap:10px;padding:2px 8px 19px}.brand-mark{letter-spacing:-.03em;background:linear-gradient(145deg,#4c7dff,#315efb);border-radius:11px;width:38px;height:38px;font-size:17px;font-weight:800;box-shadow:0 9px 22px #315efb3d}.brand-copy strong,.brand strong{letter-spacing:.07em;color:#fff;font-size:16px;font-weight:760}.brand-copy span,.brand span{color:#738099;letter-spacing:.025em;margin-top:2px;font-size:9.5px}.company-selector{background:#ffffff0b;border:1px solid #ffffff14;border-radius:12px;grid-template-columns:34px minmax(0,1fr) auto;min-height:58px;margin-bottom:18px;padding:9px 10px}.company-selector:hover{background:#fff1;border-color:#ffffff1f}.company-avatar{color:#dce6ff;background:#202b43;border-radius:9px;width:34px;height:34px;font-size:10.5px;font-weight:720}.company-copy{min-width:0}.company-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;font-weight:650;overflow:hidden}.company-copy span{color:#78859c;margin-top:2px;font-size:9.5px}.sidebar-nav{padding-right:1px}.nav-section{margin-bottom:13px}.nav-section>p{color:#5e6a80;letter-spacing:.13em;text-transform:uppercase;margin:0 0 5px;padding:0 10px;font-size:8.5px;font-weight:750}.nav-item{color:#a9b4c8;border-radius:9px;gap:10px;min-height:38px;padding:8px 10px;font-size:12px;font-weight:520;position:relative}.nav-item svg{color:#7f8aa1;transition:color .16s}.nav-item:hover{color:#f8fafc;background:#ffffff0d}.nav-item:hover svg{color:#b9c7e2}.nav-item.active{color:#fff;background:linear-gradient(90deg,#315efb38,#315efb17);font-weight:650;box-shadow:inset 0 0 0 1px #7094ff1f}.nav-item.active:before{content:"";background:#6e93ff;border-radius:4px;width:2px;position:absolute;top:9px;bottom:9px;left:0;box-shadow:0 0 12px #6e93ff8c}.nav-item.active svg{color:#8eabff}.nav-item.disabled-link{opacity:.62}.sidebar-bottom{border-top:1px solid #ffffff12;padding-top:11px}.topbar{-webkit-backdrop-filter:blur(18px)saturate(1.25);backdrop-filter:blur(18px)saturate(1.25);background:#ffffffe8;border-bottom:1px solid #e8ebf0;gap:20px;height:70px;padding:0 30px;box-shadow:0 1px #10182804}.global-search{color:#98a2b3;background:#f8fafc;border:1px solid #e3e7ed;border-radius:10px;width:min(560px,52vw);height:40px;padding:0 12px}.global-search:focus-within{background:#fff;border-color:#b9c9ff;box-shadow:0 0 0 3px #315efb12}.global-search input{color:var(--text);font-size:12px;font-weight:450}.global-search input::placeholder{color:#98a2b3}kbd{color:#8a94a5;box-shadow:var(--shadow-xs);background:#fff;border-color:#dfe3e8;border-radius:5px;padding:3px 6px;font-size:8.5px}.topbar-actions{gap:9px}.icon-button{color:#667085;background:#fff;border-color:#e4e7ec;border-radius:9px;width:36px;height:36px}.icon-button:hover{color:#344054;background:#f8fafc;border-color:#d0d5dd}.user-avatar{color:#3153bf;background:#eaf0ff;width:34px;height:34px;font-size:10.5px;font-weight:750}.user-copy strong{color:#1d2939;font-size:11px;font-weight:650}.user-copy span{color:#98a2b3;margin-top:1px;font-size:9px}.page-heading{align-items:flex-end;gap:18px;margin-bottom:21px}.eyebrow{color:#315efb;letter-spacing:.12em;margin-bottom:8px;font-size:9px;font-weight:760}.page-heading h1{letter-spacing:-.035em;color:#101828;font-size:29px;font-weight:690;line-height:1.14}.page-heading p{color:#667085;max-width:720px;margin-top:6px;font-size:12.25px;line-height:1.55}.panel-heading h2,.section-title h2,.dashboard-section-heading h2{color:#1d2939;letter-spacing:-.018em;font-weight:670}.panel-heading h2{font-size:14px}.panel-heading p,.section-title p,.dashboard-section-heading p{color:#667085}.section-title h2{font-size:16px}.section-title p{font-size:11.5px;line-height:1.5}.primary-button{color:#fff;letter-spacing:-.005em;background:#315efb;border-radius:9px;min-height:40px;padding:0 15px;font-size:11.5px;font-weight:650;box-shadow:0 5px 14px #315efb29}.primary-button:hover{background:#254edb;transform:translateY(-1px);box-shadow:0 7px 18px #315efb33}.primary-button:active{transform:translateY(0)}.secondary-button{color:#344054;height:40px;box-shadow:var(--shadow-xs);background:#fff;border-color:#d0d5dd;border-radius:9px;font-size:11.5px;font-weight:620}.secondary-button:hover{color:#1d2939;background:#f9fafb;border-color:#bfc5cd}.ghost-button{color:#315efb;border-radius:8px;font-size:10.75px;font-weight:630}.ghost-button:hover{color:#254edb;background:#f3f6ff}.row-menu{border-radius:8px}.panel,.stat-card,.product-summary,.mobix-summary-grid article,.dashboard-quick-card{border-color:var(--border);box-shadow:var(--shadow-sm)}.panel{background:#fff;border-radius:14px}.panel-heading{padding:16px 17px 13px}.stat-grid{gap:12px;margin-bottom:13px}.stat-card{border-radius:14px;padding:16px 17px}.stat-icon{color:#315efb;background:#eef3ff;border-radius:9px;width:34px;height:34px;margin-bottom:13px}.stat-card p{color:#667085;margin-bottom:4px;font-size:10.5px;font-weight:520}.stat-card strong{color:#101828;letter-spacing:-.03em;font-size:22px;font-weight:680;line-height:1.15}.stat-card span{color:#98a2b3;margin-top:6px;font-size:9.5px;line-height:1.4}.dashboard-grid,.mobix-summary-grid{gap:12px}.mobix-summary-grid article{border-radius:14px;gap:7px 10px;padding:16px}.mobix-summary-grid article>svg,.summary-symbol{color:#315efb;background:#f1f5ff;border-radius:10px;width:36px;height:36px}.mobix-summary-grid article span:not(.summary-symbol){color:#667085;font-size:10.5px}.mobix-summary-grid article strong{letter-spacing:-.025em;color:#101828;font-size:19px;font-weight:680}.dashboard-quick-section{margin:15px 0 18px}.dashboard-section-heading{margin-bottom:10px}.dashboard-section-heading h2{font-size:15px}.dashboard-section-heading p{font-size:10.5px}.dashboard-quick-grid{gap:9px}.dashboard-quick-card{border-radius:13px;grid-template-columns:38px minmax(0,1fr) 16px;gap:10px;min-height:88px;padding:13px}.dashboard-quick-card:hover{box-shadow:var(--shadow-md);border-color:#d0d9ea;transform:translateY(-1px)}.dashboard-quick-card.is-primary{background:linear-gradient(145deg,#fbfdff,#f1f5ff);border-color:#cfdcff}.dashboard-quick-icon{color:#475467;background:#f2f4f7;border-radius:10px;width:38px;height:38px}.dashboard-quick-card.is-primary .dashboard-quick-icon{background:#315efb;box-shadow:0 7px 16px #315efb29}.dashboard-quick-copy strong{color:#1d2939;font-size:11.5px;font-weight:650}.dashboard-quick-copy small{color:#7c8799;font-size:9.4px;line-height:1.38}input,select,textarea{color:#1d2939}.mobix-form-section{padding:18px}.mobix-form-grid{gap:12px}.mobix-form-grid label>span,.line-fields label>span,.pos-form-grid label>span,.payment-field>span,.pos-warehouse span{color:#475467;letter-spacing:.005em;font-size:10px;font-weight:650}.mobix-form-grid input,.mobix-form-grid select,.purchase-add-row select,.line-fields input,.imei-row input,.pos-unit-select,.pos-warehouse select,.pos-form-grid select,.pos-form-grid input,.payment-line select,.payment-line input,.discount-row input,.filter-select select{color:#1d2939;background:#fff;border:1px solid #d8dde5;border-radius:9px;outline:0;height:40px;padding:0 10px;font-size:11.5px}.mobix-form-grid input::placeholder,.line-fields input::placeholder,.imei-row input::placeholder,.pos-form-grid input::placeholder,.payment-line input::placeholder{color:#a6afbd}.mobix-form-grid input:focus,.mobix-form-grid select:focus,.purchase-add-row select:focus,.line-fields input:focus,.imei-row input:focus,.pos-unit-select:focus,.pos-warehouse select:focus,.pos-form-grid select:focus,.pos-form-grid input:focus,.payment-line select:focus,.payment-line input:focus,.discount-row input:focus,.filter-select select:focus{background:#fff;border-color:#9db4ff;box-shadow:0 0 0 3px #315efb13}.form-footnote,.tax-note{color:#667085;font-size:10px;line-height:1.55}.tax-note{background:#f8fafc;border:1px solid #eef1f4;border-radius:9px}.error-banner{color:#912018;background:#fff6f5;border-color:#fecdca;border-radius:11px}.error-banner strong{font-size:11.5px}.error-banner span{font-size:10.5px}.table-panel{border-radius:14px}.table-toolbar{background:#fff;border-bottom-color:#eaecf0;gap:10px;padding:12px 13px}.table-search{border-color:#e0e4e9;border-radius:9px;max-width:450px;height:38px}.table-search:focus-within{border-color:#a7baff;box-shadow:0 0 0 3px #315efb0f}.table-search input{color:#344054;font-size:11px}.filter-button{color:#475467;border-color:#e0e4e9;border-radius:9px;height:36px;font-size:10px}.filter-button:hover{background:#f9fafb;border-color:#cfd4dc}.table-wrap{max-width:100%}.data-table{font-variant-numeric:tabular-nums}.data-table th{color:#7b8493;letter-spacing:.06em;background:#fafbfc;border-bottom-color:#e8ebef;height:39px;padding:0 13px;font-size:8px;font-weight:760}.data-table td{color:#475467;border-bottom-color:#f0f2f5;padding:11px 13px;font-size:10.75px;line-height:1.42}.data-table tbody tr:hover{background:#fbfcff}.product-cell strong{color:#1d2939;font-size:11px;font-weight:640}.product-cell span{color:#98a2b3;font-size:9px}.product-thumb{color:#526071;background:#f2f4f7;border-radius:8px}.stacked-cell span,.identifier-stack span,.tiny-muted{color:#667085;font-size:9.8px}.identifier-stack b{color:#98a2b3;font-size:8.8px}.identifier-stack code,.imei-code{color:#344054;background:#f8fafc;border-color:#e4e7ec;border-radius:6px;font-size:10px}.status-badge{letter-spacing:.005em;min-height:22px;padding:0 8px;font-size:9px;font-weight:650}.movement-badge{padding:4px 8px;font-size:9.5px;font-weight:650}.purchase-layout{grid-template-columns:minmax(0,1fr) 320px;gap:15px}.purchase-summary-card{padding:18px;top:88px}.purchase-summary-card h2{letter-spacing:-.025em;font-size:18px;font-weight:680}.summary-row{color:#475467;border-bottom-color:#eef1f4;padding:9px 0;font-size:11px}.summary-row strong{color:#1d2939;font-weight:650}.summary-row.total{font-size:15px}.summary-row.total strong{letter-spacing:-.025em;font-size:21px}.purchase-line{background:#fcfdff;border-color:#e3e7ec;border-radius:12px}.purchase-line-head strong{color:#1d2939;font-size:12px;font-weight:650}.purchase-line-head span{color:#667085;font-size:10px}.line-total span{font-size:9px}.line-total strong{color:#1d2939;font-size:14px}.imei-grid{border-top-color:#dfe4ea}.imei-head{color:#7f8a9a;letter-spacing:.06em;font-size:8.5px}.purchase-empty{color:#667085;background:#fbfcfd;border-color:#d8dee8}.purchase-empty strong{color:#344054;font-size:12px}.purchase-empty span{font-size:10px}.pos-page{min-width:0;max-width:100%}.pos-layout{gap:14px;min-width:0;max-width:100%}.pos-catalog-panel,.pos-checkout,.pos-cart-card,.pos-customer-card,.pos-payment-card,.pos-total-card{min-width:0}.pos-heading{margin-bottom:18px}.pos-search{color:#98a2b3;border-bottom-color:#eaecf0;height:52px}.pos-search input{color:#344054;font-size:11.5px}.pos-product{background:#fff;border-bottom-color:#eef1f4}.pos-product:hover{background:#fafcff}.pos-product-icon{color:#315efb;background:#eef3ff;border-radius:10px}.pos-product-copy strong{color:#1d2939;font-size:11.5px;font-weight:650;line-height:1.35}.pos-product-copy span{color:#667085;font-size:9.5px;line-height:1.35}.pos-product-copy small{color:#067647;font-size:9px;font-weight:540}.pos-product-price strong{color:#101828;font-size:12.5px;font-weight:690}.pos-product-price span{color:#98a2b3;font-size:8.5px}.pos-card-title{background:#fff;border-bottom-color:#eef1f4;min-height:47px;padding:0 14px}.pos-card-title strong{color:#1d2939;font-size:11.5px;font-weight:670}.pos-card-title>span{color:#98a2b3;font-size:9.5px}.pos-cart-line{border-bottom-color:#eef1f4;padding:11px 13px}.pos-cart-line-head strong{color:#1d2939;font-size:11px;font-weight:650}.pos-cart-line-head span{color:#667085;font-size:9.5px}.pos-cart-line-head code{color:#475467;background:#f7f9fc;font-size:9px}.pos-cart-controls>strong{color:#1d2939;font-size:11.5px}.qty-control,.price-control{border-color:#d8dde5;border-radius:8px}.payment-line{background:#fbfcfe;border-color:#e3e7ec;border-radius:11px;padding:11px}.payment-field>span{text-transform:none;letter-spacing:0;color:#667085;font-size:9.5px}.payment-actions .ghost-button{color:#315efb;white-space:nowrap;background:#fff;border-color:#d8e1f3;font-size:10px;font-weight:650}.payment-actions .ghost-button:hover{background:#f4f7ff;border-color:#bdcbef}.cash-change-box>div{background:#f8fafc;border-color:#e6e9ee;border-radius:9px}.cash-change-box span{color:#667085;font-size:9px}.cash-change-box strong{color:#101828;font-size:13.5px;font-weight:690}.cash-change-box .change-value{background:#eef4ff;border-color:#cad8ff}.cash-change-box .change-value strong{color:#315efb}.payment-balance{border-radius:9px;font-size:10px}.payment-balance.ok{color:#067647;background:#ecfdf3}.payment-balance.pending{color:#b54708;background:#fffaeb}.payment-balance.change{color:#315efb;background:#eef4ff;border-color:#cad8ff}.pos-confirm{height:44px;font-size:12px;font-weight:680}.sale-info-card{border-radius:13px;padding:14px}.sale-info-icon{color:#315efb;background:#eef3ff;border-radius:9px;flex-basis:34px;width:34px;height:34px}.sale-info-card span{color:#98a2b3;letter-spacing:.06em;font-size:8.5px}.sale-info-card strong{color:#1d2939;font-size:11.5px}.sale-info-card small{color:#667085;font-size:9.5px}.sale-payment-row{border-top-color:#eef1f4}.sale-payment-row>span{font-size:10.5px}.sale-payment-row small{font-size:8.5px}.back-link{color:#667085;font-size:10px}.back-link:hover{color:#315efb}.table-action-link{color:#315efb!important;font-weight:650!important}.status-badge.device-available,.status-badge.purchase-received,.status-badge.sale-completed{color:#067647;background:#ecfdf3}.status-badge.device-sold{color:#475467;background:#f2f4f7}.status-badge.device-reserved{color:#b54708;background:#fffaeb}.status-badge.device-warranty,.status-badge.device-technical_service{color:#315efb;background:#eef4ff}.status-badge.device-damaged,.status-badge.device-lost,.status-badge.purchase-cancelled,.status-badge.sale-cancelled,.status-badge.sale-refunded{color:#b42318;background:#fef3f2}.status-badge.device-in_transfer{color:#6938ef;background:#f4f3ff}*{scrollbar-width:thin;scrollbar-color:#cfd5df transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cfd5df padding-box content-box;border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#aeb7c5 padding-box content-box;border:2px solid #0000}@media (max-width:1180px){.page-content{padding:24px 24px 46px}.topbar{padding:0 24px}.purchase-layout{grid-template-columns:1fr}}@media (max-width:900px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px}.page-heading h1{font-size:26px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.app-shell{display:block}.sidebar{width:100%;height:auto;max-height:none;position:relative}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;display:grid}.nav-section{margin-bottom:5px}.sidebar-bottom{gap:6px;display:flex}.topbar{height:62px;padding:0 16px;position:relative}.global-search{width:100%;max-width:none}.topbar-actions .user-copy{display:none}.page-content{padding:20px 16px 38px}.page-heading{flex-direction:column;align-items:flex-start;margin-bottom:18px}.page-heading h1{font-size:24px}.stat-grid{grid-template-columns:1fr 1fr}}@media (max-width:520px){.stat-grid,.sidebar-nav{grid-template-columns:1fr}.topbar-actions{display:none}.global-search{width:100%}kbd{display:none}}
.cash-page{min-width:0}.cash-heading{align-items:center}.cash-open-chip,.cash-closed-chip{background:#fff;border:1px solid #dbe5f0;border-radius:13px;align-items:center;gap:10px;min-height:46px;padding:9px 13px;display:flex}.cash-open-chip{background:#f0fdf4;border-color:#bbf7d0}.cash-open-chip>div{flex-direction:column;gap:1px;display:flex}.cash-open-chip strong{color:#166534;font-size:11px}.cash-open-chip small{color:#4d7c5b;font-size:9px}.cash-live-dot{background:#22c55e;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 5px #22c55e1c}.cash-closed-chip{color:#64748b;font-size:10.5px}.cash-success-banner{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;align-items:center;gap:8px;padding:11px 13px;font-size:11px;display:flex}.cash-opening-layout{grid-template-columns:minmax(0,1fr) 350px;align-items:stretch;gap:16px;display:grid}.cash-opening-card{padding:22px}.cash-section-title{border-bottom:1px solid #edf1f5;align-items:flex-start;gap:12px;padding-bottom:18px;display:flex}.cash-section-title h2{letter-spacing:-.025em;margin:0;font-size:19px}.cash-section-title p{color:#6b7280;margin:4px 0 0;font-size:11px}.cash-section-icon,.cash-info-icon{color:#2563eb;background:#eef4ff;border-radius:12px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.cash-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;display:grid}.cash-form-grid label,.cash-form-stack label{flex-direction:column;gap:6px;display:flex}.cash-form-grid label>span,.cash-form-stack label>span{color:#475569;font-size:10px;font-weight:650}.cash-form-grid input,.cash-form-grid select,.cash-form-grid textarea,.cash-form-stack input,.cash-form-stack select,.cash-form-stack textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #dbe3ec;border-radius:10px;outline:0;font-size:11px;transition:all .15s}.cash-form-grid input,.cash-form-grid select,.cash-form-stack input,.cash-form-stack select{height:40px;padding:0 11px}.cash-form-grid textarea,.cash-form-stack textarea{resize:vertical;min-height:78px;padding:10px 11px}.cash-form-grid input:focus,.cash-form-grid select:focus,.cash-form-grid textarea:focus,.cash-form-stack input:focus,.cash-form-stack select:focus,.cash-form-stack textarea:focus{border-color:#7aa2ff;box-shadow:0 0 0 3px #2563eb12}.cash-form-grid input:disabled{color:#64748b;background:#f8fafc}.cash-span-full{grid-column:1/-1}.money-input{background:#fff;border:1px solid #dbe3ec;border-radius:10px;align-items:center;height:40px;display:flex;overflow:hidden}.money-input>span{color:#64748b;background:#f8fafc;border-right:1px solid #e8edf3;align-items:center;height:100%;padding:0 9px;font-size:10px;display:flex}.money-input input{box-shadow:none!important;border:0!important;border-radius:0!important}.cash-open-button{min-width:170px;margin-top:17px}.cash-opening-info{color:#fff;background:linear-gradient(145deg,#0f172a,#172554);border-color:#1e293b;padding:24px}.cash-opening-info .cash-info-icon{color:#93c5fd;background:#ffffff17}.cash-opening-info .eyebrow{color:#93c5fd;margin-top:18px}.cash-opening-info h2{letter-spacing:-.025em;margin:0;font-size:21px;line-height:1.22}.cash-opening-info p{color:#cbd5e1;margin:11px 0 0;font-size:11px;line-height:1.65}.cash-info-list{border-top:1px solid #ffffff1a;gap:9px;margin-top:20px;padding-top:18px;display:grid}.cash-info-list span{color:#dbeafe;align-items:center;gap:8px;font-size:10.5px;display:flex}.cash-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.cash-summary-card{background:#fff;border:1px solid #e4e9f0;border-radius:14px;padding:16px 17px;box-shadow:0 1px 2px #0f172a08}.cash-summary-card.emphasis{background:linear-gradient(145deg,#f8fbff,#eef5ff);border-color:#c9dcff}.cash-summary-card>span,.cash-summary-card>strong,.cash-summary-card>small{display:block}.cash-summary-card>span{color:#64748b;font-size:9.5px;font-weight:650}.cash-summary-card>strong{letter-spacing:-.035em;color:#0f172a;margin-top:7px;font-size:21px}.cash-summary-card.emphasis>strong{color:#1d4ed8}.cash-summary-card>small{color:#94a3b8;margin-top:5px;font-size:9.5px}.cash-payment-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;display:grid}.cash-payment-card{background:#fff;border:1px solid #e5e9ef;border-radius:12px;align-items:center;gap:10px;padding:12px 13px;display:flex}.cash-payment-card.cash-main{background:#f8fbff;border-color:#bfdbfe}.cash-payment-icon{color:#64748b;background:#f3f6fa;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.cash-main .cash-payment-icon{color:#2563eb;background:#e8f1ff}.cash-payment-card>div{min-width:0}.cash-payment-card span,.cash-payment-card strong,.cash-payment-card small{display:block}.cash-payment-card>div>span{color:#7b8493;font-size:9px}.cash-payment-card>div>strong{color:#111827;margin-top:2px;font-size:13px}.cash-payment-card>div>small{color:#94a3b8;margin-top:2px;font-size:7.5px;line-height:1.3}.cash-work-grid{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);align-items:start;gap:14px;display:grid}.cash-activity-panel{overflow:hidden}.cash-panel-heading{align-items:center}.cash-turn-meta{color:#94a3b8;font-size:9px}.cash-activity-list{max-height:560px;overflow:auto}.cash-activity-row{border-top:1px solid #eef2f6;grid-template-columns:34px minmax(0,1fr) 62px 100px;align-items:center;gap:10px;padding:11px 15px;display:grid}.cash-activity-row:hover{background:#fbfcfe}.cash-direction-icon{border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.cash-direction-icon.in{color:#15803d;background:#ecfdf3}.cash-direction-icon.out{color:#be123c;background:#fff1f2}.cash-direction-icon.neutral{color:#64748b;background:#f1f5f9}.cash-activity-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.cash-activity-copy strong{color:#1f2937;font-size:10.5px}.cash-activity-copy span{text-overflow:ellipsis;white-space:nowrap;color:#7b8493;font-size:9.5px;overflow:hidden}.cash-activity-row time{color:#94a3b8;text-align:right;font-size:9px}.cash-activity-amount{text-align:right;font-size:11px}.cash-activity-amount.in{color:#15803d}.cash-activity-amount.out{color:#be123c}.cash-empty-state{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:170px;display:flex}.cash-empty-state strong{color:#475569;font-size:11px}.cash-empty-state span{font-size:9.5px}.cash-empty-state.compact{min-height:90px}.cash-side-stack{flex-direction:column;gap:12px;display:flex}.cash-movement-card,.cash-close-card{overflow:hidden}.cash-card-heading{border-bottom:1px solid #eef2f6;justify-content:space-between;align-items:center;gap:10px;min-height:47px;padding:0 14px;display:flex}.cash-card-heading>div{align-items:center;gap:7px;display:flex}.cash-card-heading strong{font-size:11px}.cash-card-heading>span{color:#94a3b8;font-size:8.5px}.cash-card-heading.danger{background:#fffafb}.cash-card-heading.danger>div{color:#9f1239}.cash-form-stack{flex-direction:column;gap:10px;padding:13px 14px;display:flex}.cash-movement-submit{width:100%;margin-top:2px}.cash-close-expected{justify-content:space-between;align-items:flex-end;gap:12px;padding:13px 14px 0;display:flex}.cash-close-expected span{color:#64748b;font-size:9.5px}.cash-close-expected strong{color:#0f172a;font-size:17px}.cash-difference{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:1fr auto;gap:2px 10px;padding:10px;display:grid}.cash-difference span{color:#64748b;font-size:9px}.cash-difference strong{font-size:13px}.cash-difference small{color:#64748b;grid-column:1/-1;font-size:8.5px}.cash-difference.balanced{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.cash-difference.positive{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.cash-difference.negative{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.cash-close-button{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;height:40px;font-size:10.5px;font-weight:700}.cash-close-button:hover{background:#ffe4e6}.cash-close-button:disabled{opacity:.5;cursor:not-allowed}.cash-history-panel{overflow:hidden}.cash-history-diff{font-weight:700}.cash-history-diff.balanced{color:#15803d}.cash-history-diff.positive{color:#1d4ed8}.cash-history-diff.negative{color:#be123c}@media (max-width:1220px){.cash-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-payment-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.cash-work-grid{grid-template-columns:1fr}.cash-side-stack{grid-template-columns:1fr 1fr;display:grid}}@media (max-width:900px){.cash-opening-layout{grid-template-columns:1fr}.cash-opening-info{order:-1}.cash-payment-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.cash-heading{align-items:flex-start}.cash-summary-grid,.cash-payment-strip{grid-template-columns:1fr}.cash-side-stack{display:flex}.cash-form-grid{grid-template-columns:1fr}.cash-span-full{grid-column:auto}.cash-activity-row{grid-template-columns:32px minmax(0,1fr) 82px}.cash-activity-row time{display:none}.cash-opening-card{padding:17px}.cash-opening-info{padding:19px}.cash-open-chip,.cash-closed-chip{align-self:flex-start}}.cash-report-payment-grid>div>small{color:#94a3b8;margin-top:2px;font-size:7.4pt;line-height:1.3;display:block}@media (max-width:900px){.cash-payment-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.cash-payment-strip{grid-template-columns:1fr}}.cash-history-open{color:#2563eb;min-height:28px;font:inherit;white-space:nowrap;cursor:pointer;background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:0 8px;font-size:8.5px;font-weight:800;display:inline-flex}.cash-history-open:hover{background:#eff6ff}.cash-history-open:disabled{opacity:.5;cursor:not-allowed}.cash-history-table{min-width:1080px}
.pos-page-shell{flex-direction:column;gap:8px;min-width:0;display:flex}.pos-cash-gate{background:#fff;border:1px solid #dbe3ec;border-radius:9px;align-items:center;gap:7px;min-height:34px;padding:5px 10px;display:flex}.pos-cash-gate>div{white-space:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:hidden}.pos-cash-gate strong{flex:none;font-size:9.5px}.pos-cash-gate span{text-overflow:ellipsis;color:#64748b;min-width:0;font-size:8.8px;overflow:hidden}.pos-cash-gate>a{white-space:nowrap;flex:none;margin-left:auto;font-size:9px;font-weight:700}.pos-cash-gate.open{background:#f0fdf4;border-color:#bbf7d0}.pos-cash-gate.open strong,.pos-cash-gate.open>a{color:#166534}.pos-cash-gate.closed{background:#fff7ed;border-color:#fed7aa}.pos-cash-gate.closed strong,.pos-cash-gate.closed>a{color:#9a3412}.pos-cash-gate .cash-live-dot{flex:0 0 8px;width:8px;height:8px}@media (max-width:680px){.pos-page-shell{gap:7px}.pos-cash-gate{min-height:38px;padding:6px 9px}.pos-cash-gate>div{white-space:normal;flex-direction:column;align-items:flex-start;gap:1px;display:flex}.pos-cash-gate>a{width:auto;margin-left:auto;padding-top:0}}
.dashboard-heading-pro{align-items:center}.dashboard-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.dashboard-cash-status{background:#fff;border:1px solid #dbe3ec;border-radius:11px;align-items:center;gap:9px;min-height:42px;padding:7px 11px;display:flex}.dashboard-cash-status>span:last-child{flex-direction:column;gap:1px;display:flex}.dashboard-cash-status strong{font-size:9.8px}.dashboard-cash-status small{color:#64748b;font-size:8.5px}.dashboard-cash-status.open{background:#f0fdf4;border-color:#bbf7d0}.dashboard-cash-status.open strong{color:#166534}.dashboard-cash-status.closed{background:#fff7ed;border-color:#fed7aa}.dashboard-cash-status.closed strong{color:#9a3412}.dashboard-cash-off{background:#f59e0b;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 5px #f59e0b17}.dashboard-business-grid{grid-template-columns:minmax(0,1.45fr) minmax(330px,.7fr);gap:14px;display:grid}.dashboard-sales-chart-panel,.dashboard-recent-panel{overflow:hidden}.dashboard-sales-chart{background:linear-gradient(#fff,#fbfcfe);border-top:1px solid #eef2f6;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:10px;height:300px;padding:18px 18px 15px;display:grid}.dashboard-chart-day{text-align:center;grid-template-rows:24px 1fr 17px 15px;align-items:end;gap:4px;min-width:0;height:100%;display:grid}.dashboard-chart-value{text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:8.5px;overflow:hidden}.dashboard-chart-track{background-image:linear-gradient(#edf1f5 1px,#0000 1px);background-size:100% 25%;border-radius:10px;justify-content:center;align-items:flex-end;height:100%;min-height:130px;display:flex;overflow:hidden}.dashboard-chart-track>span{background:linear-gradient(#7aa2ff,#2563eb);border-radius:8px 8px 3px 3px;width:min(34px,62%);min-height:2px;transition:height .2s;display:block;box-shadow:0 8px 18px #2563eb24}.dashboard-chart-day>strong{text-transform:capitalize;color:#475569;font-size:9px}.dashboard-chart-day>small{color:#94a3b8;font-size:8px}.dashboard-recent-list{flex-direction:column;display:flex}.dashboard-recent-sale{border-top:1px solid #eef2f6;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 14px;transition:all .14s;display:grid}.dashboard-recent-sale:hover{background:#fbfcff}.dashboard-sale-icon{color:#64748b;background:#f1f5f9;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.dashboard-sale-copy{flex-direction:column;gap:1px;min-width:0;display:flex}.dashboard-sale-copy strong{color:#1f2937;font-size:10px}.dashboard-sale-copy small{text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:8.8px;overflow:hidden}.dashboard-sale-copy em{color:#94a3b8;font-size:8px;font-style:normal}.dashboard-sale-total{text-align:right;flex-direction:column;gap:2px;display:flex}.dashboard-sale-total strong{font-size:10.5px}.dashboard-sale-total small{color:#94a3b8;font-size:8px}.dashboard-recent-empty{color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:210px;padding:20px;display:flex}.dashboard-recent-empty strong{color:#475569;font-size:10.5px}.dashboard-recent-empty span{font-size:8.8px;line-height:1.45}@media (max-width:1160px){.dashboard-business-grid{grid-template-columns:1fr}.dashboard-recent-list{grid-template-columns:1fr 1fr;display:grid}.dashboard-recent-sale:nth-child(2n){border-left:1px solid #eef2f6}}@media (max-width:760px){.dashboard-heading-pro{align-items:flex-start}.dashboard-heading-actions{justify-content:flex-start}.dashboard-cash-status{order:2}.dashboard-sales-chart{gap:5px;padding-left:10px;padding-right:10px}.dashboard-chart-value{display:none}.dashboard-chart-day{grid-template-rows:1fr 17px 15px}.dashboard-recent-list{display:flex}.dashboard-recent-sale:nth-child(2n){border-left:0}.dashboard-real-stats{grid-template-columns:1fr 1fr}}@media (max-width:520px){.dashboard-real-stats{grid-template-columns:1fr}.dashboard-heading-actions{width:100%}.dashboard-heading-actions .primary-button,.dashboard-cash-status{flex:1}.dashboard-sales-chart{height:250px}.dashboard-chart-track{min-height:110px}}.dashboard-chart-day.negative .dashboard-chart-value{color:#be123c}.dashboard-chart-day.negative .dashboard-chart-track>span{background:linear-gradient(#fb7185,#be123c);box-shadow:0 8px 18px #be123c24}.dashboard-chart-day.negative>small{color:#be123c}.dashboard-sale-total small{white-space:nowrap}
.customer-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.customer-summary-grid article{background:#fff;border:1px solid #e7ebf1;border-radius:15px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:17px 18px;display:grid;box-shadow:0 8px 28px #0f172a09}.customer-summary-grid article.attention{background:linear-gradient(145deg,#fff,#fff8f8);border-color:#fecaca}.customer-summary-icon{color:#334155;background:#f1f5f9;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.customer-summary-grid small,.customer-summary-grid p{color:#64748b;display:block}.customer-summary-grid small{text-transform:uppercase;letter-spacing:.045em;font-size:10px;font-weight:650}.customer-summary-grid strong{color:#0f172a;letter-spacing:-.035em;margin-top:3px;font-size:20px;display:block}.customer-summary-grid p{margin:4px 0 0;font-size:10.5px}.customers-table-panel{overflow:hidden}.customers-toolbar{border-bottom:1px solid #e8ecf2;grid-template-columns:minmax(240px,1fr) 210px auto;gap:10px;padding:13px;display:grid}.customers-search{color:#94a3b8;background:#fff;border:1px solid #dbe2ea;border-radius:10px;align-items:center;gap:8px;height:40px;padding:0 11px;display:flex}.customers-search input{background:0 0;border:0;outline:0;width:100%}.customers-toolbar select{color:#334155;background:#fff;border:1px solid #dbe2ea;border-radius:10px;height:40px;padding:0 10px}.customers-table{min-width:980px}.customer-name-cell{align-items:center;gap:10px;min-width:220px;display:flex}.customer-name-cell>span{color:#2558cf;background:#eef4ff;border-radius:10px;flex:0 0 35px;place-items:center;width:35px;height:35px;font-weight:750;display:grid}.customer-name-cell div{min-width:0}.customer-name-cell strong,.customer-name-cell small{display:block}.customer-name-cell strong{color:#172033;white-space:nowrap;text-overflow:ellipsis;max-width:240px;font-size:12px;overflow:hidden}.customer-name-cell small,.table-subline{color:#8b95a5;margin-top:3px;font-size:9.5px}.status-badge.credit-enabled{color:#137a45;background:#ecfdf3}.status-badge.credit-disabled{color:#64748b;background:#f1f5f9}.debt-overdue{color:#c2413b!important}.row-detail-link{color:#315fc9;align-items:center;gap:5px;font-size:10.5px;font-weight:650;display:inline-flex}.customers-empty{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:130px;display:flex}.customers-empty strong{color:#475569}.customers-empty span{font-size:10.5px}.customer-form-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:16px;display:grid}.customer-form-card{padding:20px}.customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.customer-form-grid label{flex-direction:column;gap:6px;min-width:0;display:flex}.customer-form-grid label>span{color:#536174;font-size:10.5px;font-weight:650}.customer-form-grid input,.customer-form-grid select,.customer-form-grid textarea{color:#172033;width:100%;font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:10px;outline:0}.customer-form-grid input,.customer-form-grid select{height:41px;padding:0 11px}.customer-form-grid textarea{resize:vertical;padding:10px 11px;line-height:1.45}.customer-form-grid input:focus,.customer-form-grid select:focus,.customer-form-grid textarea:focus{border-color:#5d85e8;box-shadow:0 0 0 3px #2563eb14}.credit-config-card{padding:20px}.credit-toggle-row{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:16px;display:flex}.credit-toggle-row strong,.credit-toggle-row span{display:block}.credit-toggle-row strong{font-size:13px}.credit-toggle-row div>span{color:#748094;margin-top:4px;font-size:10.5px}.switch-control{flex:none;position:relative}.switch-control input{opacity:0;pointer-events:none;position:absolute}.switch-control>span{cursor:pointer;background:#d9e0e9;border-radius:999px;width:42px;height:24px;transition:all .18s;display:block;position:relative}.switch-control>span:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a2e}.switch-control input:checked+span{background:#2563eb}.switch-control input:checked+span:after{transform:translate(18px)}.money-input,.suffix-input{background:#fff;border:1px solid #dbe2ea;border-radius:10px;align-items:center;height:41px;display:flex;overflow:hidden}.money-input>span,.suffix-input>span{color:#748094;white-space:nowrap;padding:0 9px;font-size:10.5px}.money-input input,.suffix-input input{min-width:0;box-shadow:none!important;border:0!important;height:39px!important}.credit-help{color:#64748b;background:#f8fafc;border-radius:10px;margin:13px 0 0;padding:11px 12px;font-size:10.5px;line-height:1.5}.customer-form-actions{grid-column:1/-1;justify-content:flex-end;gap:9px;display:flex}.customer-detail-heading .back-link{margin-bottom:12px}.customer-success-banner{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:11px;flex-direction:column;gap:2px;padding:11px 14px;display:flex}.customer-success-banner strong{font-size:11px}.customer-success-banner span{font-size:10.5px}.customer-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.customer-kpi-grid article{background:#fff;border:1px solid #e7ebf1;border-radius:13px;padding:15px 16px}.customer-kpi-grid small,.customer-kpi-grid span{color:#748094;display:block}.customer-kpi-grid small{text-transform:uppercase;letter-spacing:.045em;font-size:9.5px;font-weight:700}.customer-kpi-grid strong{letter-spacing:-.03em;margin:5px 0 4px;font-size:18px;display:block}.customer-kpi-grid span{font-size:10px}.customer-detail-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:14px;display:grid}.customer-info-card,.customer-credit-card,.collection-card{padding:19px}.customer-inline-actions{justify-content:flex-end;display:flex}.credit-availability-row{color:#64748b;background:#f7f9fc;border-radius:10px;justify-content:space-between;gap:12px;margin:13px 0;padding:11px 12px;font-size:10.5px;display:flex}.credit-availability-row strong{color:#173b8f}.receivable-section,.customer-sales-section{overflow:hidden}.receivable-table{min-width:850px}.table-link{color:#2f5ecb;font-weight:650}.receivable-status{border-radius:999px;align-items:center;min-height:23px;padding:0 8px;font-size:9.5px;font-weight:700;display:inline-flex}.receivable-status.open{color:#b45309;background:#fff7ed}.receivable-status.overdue{color:#b91c1c;background:#fef2f2}.receivable-status.paid{color:#047857;background:#ecfdf5}.collection-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)}.collection-empty{color:#8490a2;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:100px;display:flex}.collection-empty strong{color:#475569}.collection-history-card{overflow:hidden}.collection-history-list{padding:0 16px 12px}.collection-history-item{border-top:1px solid #edf1f5;grid-template-columns:auto 1fr;gap:10px;padding:11px 0;display:grid}.collection-method{color:#315fc9;background:#eef4ff;border-radius:999px;align-self:start;padding:4px 7px;font-size:9px;font-weight:700;display:inline-flex}.collection-history-item div strong,.collection-history-item div small{display:block}.collection-history-item div strong{font-size:12px}.collection-history-item div small{color:#7b8798;margin-top:3px;font-size:9.5px}.pos-credit-profile{background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;display:grid}.pos-credit-profile>div span,.pos-credit-profile>div strong{display:block}.pos-credit-profile>div span{color:#7a8698;font-size:9px}.pos-credit-profile>div strong{margin-top:2px;font-size:11px}.pos-credit-profile>small{color:#748094;grid-column:1/-1;font-size:9px}.pos-credit-profile.enabled{background:#f7faff;border-color:#cfe0ff}.pos-credit-profile.enabled>div:last-of-type strong{color:#1d4ed8}.pos-credit-profile.disabled{opacity:.82}.pos-credit-warning{border-radius:10px;flex-direction:column;gap:3px;margin-top:10px;padding:10px 11px;display:flex}.pos-credit-warning strong{font-size:10.5px}.pos-credit-warning span{font-size:9.8px;line-height:1.4}.pos-credit-warning.ok{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.pos-credit-warning.error{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3}@media (max-width:1180px){.customer-summary-grid,.customer-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-form-layout,.customer-detail-grid,.collection-grid{grid-template-columns:1fr}.customer-form-actions{grid-column:1}}@media (max-width:760px){.customer-summary-grid,.customer-kpi-grid,.customers-toolbar,.customer-form-grid{grid-template-columns:1fr}.customer-form-grid .span-two{grid-column:span 1}.pos-credit-profile{grid-template-columns:1fr}.pos-credit-profile>small{grid-column:1}.customer-form-actions{flex-direction:column-reverse}.customer-form-actions>*{width:100%}}.customer-exchange-section{overflow:hidden}.customer-exchange-balance{text-align:right}.customer-exchange-balance span,.customer-exchange-balance strong{display:block}.customer-exchange-balance span{color:#64748b;font-size:8px}.customer-exchange-balance strong{color:#2563eb;margin-top:2px;font-size:15px}.customer-exchange-list{flex-direction:column;display:flex}.customer-exchange-item{border-top:1px solid #eef2f6;grid-template-columns:36px minmax(0,1.2fr) minmax(120px,.55fr) minmax(170px,.8fr);align-items:center;gap:9px;padding:10px 13px;display:grid}.customer-exchange-icon{color:#2563eb;background:#eff6ff;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.customer-exchange-copy,.customer-exchange-status,.customer-exchange-actions{min-width:0}.customer-exchange-copy span,.customer-exchange-copy strong,.customer-exchange-copy small,.customer-exchange-status span,.customer-exchange-status strong{display:block}.customer-exchange-copy span{color:#2563eb;font-size:8px;font-weight:800}.customer-exchange-copy strong{color:#0f172a;margin-top:2px;font-size:10px}.customer-exchange-copy small{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:8.2px;overflow:hidden}.customer-exchange-status{text-align:right}.customer-exchange-status-chip{border-radius:999px;align-items:center;min-height:22px;padding:0 7px;font-size:7.7px!important;font-weight:800!important;display:inline-flex!important}.customer-exchange-status-chip.open,.customer-exchange-status-chip.partial{color:#1d4ed8;background:#eff6ff}.customer-exchange-status-chip.used{color:#15803d;background:#ecfdf3}.customer-exchange-status-chip.cancelled{color:#64748b;background:#f1f5f9}.customer-exchange-status strong{color:#334155;margin-top:3px;font-size:8.5px}.customer-exchange-actions{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.customer-exchange-actions>a{color:#2563eb;align-items:center;gap:4px;max-width:100%;font-size:8.2px;font-weight:750;display:inline-flex}.customer-exchange-actions>small{color:#94a3b8;text-align:right;font-size:7.7px}@media (max-width:900px){.customer-exchange-item{grid-template-columns:34px minmax(0,1fr) auto}.customer-exchange-actions{flex-flow:wrap;grid-column:2/-1;align-items:flex-start}.customer-exchange-status{text-align:right}}@media (max-width:620px){.customer-exchange-item{grid-template-columns:32px minmax(0,1fr);padding:10px}.customer-exchange-status{text-align:left;grid-column:2}.customer-exchange-actions{grid-column:1/-1}.customer-exchange-balance{text-align:left}}
.ticket-modal,.cash-close-report-modal{z-index:1200;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.ticket-modal-backdrop,.cash-report-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:default;background:#0f172a8f;border:0;position:absolute;inset:0}.ticket-modal-card,.cash-report-card{z-index:1;background:#f8fafc;border:1px solid #ffffff59;border-radius:18px;flex-direction:column;width:min(920px,100vw - 32px);max-height:calc(100vh - 32px);display:flex;position:relative;overflow:hidden;box-shadow:0 28px 80px #0f172a47}.ticket-modal-card{width:min(560px,100vw - 32px)}.ticket-modal-toolbar,.cash-report-toolbar{background:#fff;border-bottom:1px solid #e7ebf1;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:12px 16px;display:flex}.ticket-modal-toolbar>div:first-child,.cash-report-toolbar>div:first-child{flex-direction:column;gap:2px;display:flex}.ticket-modal-toolbar strong,.cash-report-toolbar strong{color:#0f172a;font-size:13px}.ticket-modal-toolbar span,.cash-report-toolbar span{color:#64748b;font-size:10px}.ticket-modal-toolbar>div:last-child,.cash-report-actions{align-items:center;gap:7px;display:flex}.ticket-modal-close,.cash-report-close{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.ticket-modal-close:hover,.cash-report-close:hover{color:#0f172a;background:#f8fafc}.ticket-modal-scroll,.cash-report-scroll{padding:20px;overflow:auto}.ticket-modal-scroll{justify-content:center;display:flex}.ticket-modal .ticket-page{flex:none;box-shadow:0 10px 30px #0f172a1f}.cash-report-sheet{color:#0f172a;background:#fff;border-radius:14px;width:min(760px,100%);margin:0 auto;padding:28px;box-shadow:0 10px 30px #0f172a14}.cash-report-header{text-align:center;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:4px;padding-bottom:18px;display:flex}.cash-report-brand{letter-spacing:.16em;color:#2563eb;font-size:11px;font-weight:800}.cash-report-header>strong{letter-spacing:-.02em;font-size:21px}.cash-report-header small{color:#64748b;font-size:10px}.cash-report-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 0;display:grid}.cash-report-meta>div,.cash-report-kpis article{background:#fbfdff;border:1px solid #e7ebf1;border-radius:10px;flex-direction:column;gap:3px;padding:11px 12px;display:flex}.cash-report-meta span,.cash-report-kpis span,.cash-report-notes>span{text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;font-size:9px;font-weight:700}.cash-report-meta strong{font-size:11px}.cash-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:16px;display:grid}.cash-report-kpis article strong{font-size:14px}.cash-report-kpis article small{color:#64748b;font-size:9px}.cash-report-section{border-top:1px solid #e7ebf1;padding:16px 0}.cash-report-section-title{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.cash-report-section-title strong{font-size:12px}.cash-report-section-title span{color:#94a3b8;font-size:9px}.cash-report-payment-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.cash-report-payment-grid>div{background:#f8fafc;border-radius:9px;flex-direction:column;gap:2px;padding:10px;display:flex}.cash-report-payment-grid span{color:#64748b;font-size:9px}.cash-report-payment-grid strong{font-size:11px}.cash-report-row{justify-content:space-between;gap:14px;padding:7px 0;font-size:11px;display:flex}.cash-report-result{border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin-top:3px;padding:14px 16px;display:flex}.cash-report-result>div{flex-direction:column;gap:2px;display:flex}.cash-report-result span{text-transform:uppercase;letter-spacing:.05em;font-size:9px;font-weight:700}.cash-report-result>div strong{font-size:13px}.cash-report-result>strong{font-size:20px}.cash-report-result.balanced{color:#166534;background:#ecfdf3}.cash-report-result.positive{color:#1d4ed8;background:#eff6ff}.cash-report-result.negative{color:#be123c;background:#fff1f2}.cash-report-notes{background:#f8fafc;border-radius:10px;margin-top:14px;padding:12px}.cash-report-notes p{color:#475569;margin:5px 0 0;font-size:10px}.cash-report-footer{color:#94a3b8;border-top:1px dashed #cbd5e1;justify-content:space-between;gap:12px;margin-top:18px;padding-top:12px;font-size:8.5px;display:flex}@media (max-width:720px){.ticket-modal,.cash-close-report-modal{padding:8px}.ticket-modal-card,.cash-report-card{border-radius:14px;width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.ticket-modal-toolbar,.cash-report-toolbar{align-items:flex-start}.ticket-modal-toolbar>div:last-child,.cash-report-actions{flex-wrap:wrap;justify-content:flex-end}.cash-report-scroll,.ticket-modal-scroll{padding:10px}.cash-report-sheet{padding:18px}.cash-report-meta,.cash-report-kpis,.cash-report-payment-grid{grid-template-columns:1fr 1fr}.cash-report-section-title{flex-direction:column;align-items:flex-start}.ticket-modal .ticket-page{max-width:100%}}@media print{body.print-ticket-modal *{visibility:hidden!important}body.print-ticket-modal .ticket-modal,body.print-ticket-modal .ticket-modal *{visibility:visible!important}body.print-ticket-modal .ticket-modal{background:#fff!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important}body.print-ticket-modal .ticket-modal-backdrop,body.print-ticket-modal .ticket-modal-toolbar{display:none!important}body.print-ticket-modal .ticket-modal-card{width:80mm!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;position:static!important;overflow:visible!important}body.print-ticket-modal .ticket-modal-scroll{padding:0!important;display:block!important;overflow:visible!important}body.print-ticket-modal .ticket-page{width:80mm!important;min-height:auto!important;box-shadow:none!important;margin:0!important;padding:4mm!important}body.print-cash-report *{visibility:hidden!important}body.print-cash-report .cash-close-report-modal,body.print-cash-report .cash-close-report-modal *{visibility:visible!important}body.print-cash-report .cash-close-report-modal{background:#fff!important;padding:0!important;display:block!important;position:absolute!important;inset:0!important}body.print-cash-report .cash-report-backdrop,body.print-cash-report .cash-report-toolbar{display:none!important}body.print-cash-report .cash-report-card{width:100%!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;position:static!important;overflow:visible!important}body.print-cash-report .cash-report-scroll{padding:0!important;overflow:visible!important}body.print-cash-report .cash-report-sheet{width:100%!important;max-width:none!important;box-shadow:none!important;border-radius:0!important;padding:8mm!important}.cash-report-kpis,.cash-report-payment-grid{grid-template-columns:repeat(4,1fr)!important}@page{margin:8mm}}
.service-page,.service-form-page,.service-detail-page{min-width:0}.service-stats{margin-bottom:2px}.service-filter-heading{align-items:flex-end;gap:16px}.service-filters{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.service-filters select,.service-filters input,.service-field-stack select,.service-field-stack input,.service-field-stack textarea,.customer-form-grid select,.customer-form-grid input{color:#172033;font:inherit;background:#fff;border:1px solid #dce3ec;border-radius:10px;outline:0}.service-filters select{height:38px;padding:0 28px 0 10px;font-size:10.5px}.service-filters .search-box{color:#94a3b8;background:#fff;border:1px solid #dce3ec;border-radius:10px;align-items:center;gap:7px;min-width:220px;height:38px;padding:0 10px;display:flex}.service-filters .search-box input{background:0 0;border:0;width:100%;height:34px;padding:0}.table-sub{color:#8a97a8;margin-top:3px;font-size:9.5px;display:block}.service-identifier{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.service-type-badge,.service-status{white-space:nowrap;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:9.5px;font-weight:700;display:inline-flex}.service-type-badge.warranty{color:#18794e;background:#eefcf3}.service-type-badge.technical{color:#2857b9;background:#eef4ff}.service-status.received{color:#475569;background:#f1f5f9}.service-status.diagnosis{color:#2857b9;background:#eef4ff}.service-status.waiting_approval{color:#a35b00;background:#fff7e8}.service-status.in_repair{color:#6d3fc0;background:#f3efff}.service-status.ready{color:#15803d;background:#ecfdf3}.service-status.delivered{color:#047857;background:#e9fbf5}.service-status.cancelled{color:#b42318;background:#fff0f0}.service-origin-switch{grid-template-columns:1fr 1fr;gap:10px;display:grid}.service-origin-switch button,.service-type-options button{text-align:left;color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:12px;padding:14px 16px;display:flex}.service-origin-switch button span,.service-type-options button span{flex-direction:column;gap:2px;display:flex}.service-origin-switch button strong,.service-type-options button strong{color:#1e293b;font-size:11.5px}.service-origin-switch button small,.service-type-options button small{color:#8491a3;font-size:9.5px}.service-origin-switch button.active,.service-type-options button.active{color:#2563eb;background:#f5f8ff;border-color:#8fb4ff;box-shadow:0 0 0 3px #2563eb12}.service-type-options button.warranty.active{color:#15803d;background:#f2fcf6;border-color:#75c99e}.service-type-options button:disabled{opacity:.45;cursor:not-allowed}.service-form-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px;align-items:start;gap:14px;display:grid}.service-form-card,.service-planning-card,.service-case-card,.service-timeline-card,.service-update-card{padding:17px}.section-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.section-title h2{color:#172033;margin:0;font-size:14px}.section-title p{color:#7c8999;margin:3px 0 0;font-size:10px}.section-title>svg{color:#4f6f9f}.service-field-stack{flex-direction:column;gap:11px;display:flex}.service-field-stack label,.customer-form-grid label{flex-direction:column;gap:5px;display:flex}.service-field-stack label>span,.customer-form-grid label>span{color:#64748b;font-size:9.5px;font-weight:700}.service-field-stack input,.service-field-stack select,.customer-form-grid input,.customer-form-grid select{height:40px;padding:0 10px}.service-field-stack textarea,.customer-form-grid textarea{resize:vertical;padding:10px}.customer-form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.customer-form-grid .span-two{grid-column:1/-1}.service-unit-preview{grid-template-columns:1fr 1fr;gap:9px;display:grid}.service-unit-preview>div{background:#fafbfd;border:1px solid #e7edf4;border-radius:11px;flex-direction:column;gap:2px;padding:11px;display:flex}.service-unit-preview span{text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;font-size:8.5px}.service-unit-preview strong{color:#1e293b;font-size:11px}.service-unit-preview small{color:#64748b;font-size:9px}.service-unit-preview .warranty-ok{background:#f5fcf7;border-color:#bbebcf}.service-unit-preview .warranty-ok strong{color:#15803d}.service-unit-preview .warranty-expired{background:snow}.service-unit-preview .warranty-expired strong{color:#b45309}.service-type-options{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px;display:grid}.service-reception-fields{border-top:1px solid #edf1f5;padding-top:14px}.service-planning-card{position:sticky;top:76px}.service-form-note{color:#4c6488;background:#f5f8ff;border-radius:11px;gap:9px;margin:14px 0;padding:11px;font-size:9.5px;line-height:1.5;display:flex}.service-submit{height:44px}.service-detail-heading{align-items:flex-start}.service-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.service-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.service-info-card{gap:11px;min-width:0;padding:14px;display:flex}.service-info-icon{color:#3566a9;background:#eff4fb;border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.service-info-card>div{flex-direction:column;gap:2px;min-width:0;display:flex}.service-info-card>div>span{text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;font-size:8.5px}.service-info-card strong{color:#1e293b;text-overflow:ellipsis;font-size:11px;overflow:hidden}.service-info-card small{color:#64748b;font-size:9px}.service-info-card.warranty-card{border-color:#c6ead4}.service-detail-grid{grid-template-columns:minmax(0,1.4fr) minmax(340px,.6fr);align-items:start;gap:14px;display:grid}.service-main-column{flex-direction:column;gap:14px;display:flex}.service-case-data{gap:10px;margin:0;display:grid}.service-case-data>div{background:#fcfdff;border:1px solid #edf1f5;border-radius:11px;padding:12px}.service-case-data dt{text-transform:uppercase;color:#94a3b8;font-size:8.5px;font-weight:700}.service-case-data dd{color:#334155;margin:5px 0 0;font-size:10.5px;line-height:1.55}.service-update-card{position:sticky;top:76px}.service-cost-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.service-timeline{flex-direction:column;display:flex}.service-timeline-item{grid-template-columns:18px 1fr;gap:8px;padding:0 0 18px;display:grid;position:relative}.service-timeline-item:not(:last-child):before{content:"";background:#dfe6ef;width:1px;position:absolute;top:10px;bottom:0;left:5px}.timeline-dot{z-index:1;background:#2563eb;border:3px solid #dce9ff;border-radius:50%;width:11px;height:11px;margin-top:2px}.service-timeline-item>div{flex-direction:column;gap:2px;display:flex}.service-timeline-item strong{font-size:10.5px}.service-timeline-item span{color:#64748b;font-size:9.5px}.service-timeline-item small{color:#9aa6b5;font-size:8.5px}.service-closed-state{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:180px;display:flex}.service-closed-state svg{color:#16a34a}.service-closed-state strong{color:#1e293b;font-size:12px}.service-closed-state span{max-width:240px;font-size:9.5px}.service-print-costs{justify-content:flex-end;gap:30px;padding:14px 17px;display:flex}.service-print-costs>div{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.service-print-costs span{color:#94a3b8;font-size:9px}.service-print-costs strong{font-size:13px}.money-input{background:#fff;border:1px solid #dce3ec;border-radius:10px;align-items:center;height:40px;display:flex}.money-input>span{color:#94a3b8;padding-left:10px;font-size:10px}.money-input input{width:100%;min-width:0;background:0 0!important;border:0!important;height:36px!important}.service-table .table-action-link{color:#2563eb;align-items:center;gap:4px;font-size:10px;font-weight:700;display:inline-flex}@media (max-width:1250px){.service-form-layout{grid-template-columns:1fr 1fr}.service-planning-card{grid-column:1/-1;position:static}.service-detail-summary{grid-template-columns:1fr 1fr}}@media (max-width:900px){.service-detail-grid{grid-template-columns:1fr}.service-update-card{position:static}.service-filter-heading{flex-direction:column;align-items:flex-start}.service-filters{justify-content:flex-start;width:100%}.service-form-layout,.service-origin-switch{grid-template-columns:1fr}.service-detail-summary{grid-template-columns:1fr 1fr}}@media (max-width:620px){.service-detail-summary,.service-unit-preview,.service-type-options,.customer-form-grid,.service-cost-grid{grid-template-columns:1fr}.customer-form-grid .span-two{grid-column:auto}.service-filters .search-box{min-width:100%}.service-detail-actions{justify-content:flex-start}.service-print-costs{justify-content:space-between}.service-print-costs>div{align-items:flex-start}}@media print{.service-detail-page .no-print,.sidebar,.topbar{display:none!important}.service-detail-page{padding:8mm;max-width:none!important}.service-detail-summary{grid-template-columns:repeat(2,1fr)}.service-detail-grid{grid-template-columns:1fr}.service-case-card,.service-timeline-card,.service-info-card,.service-print-costs{break-inside:avoid;box-shadow:none!important}.service-print-costs{border-top:1px solid #ddd}@page{size:A4;margin:8mm}}
