@import "https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap";:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;letter-spacing:normal;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:16px/1.5 Cairo,sans-serif}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:start;box-sizing:border-box;border:0;flex-direction:column;width:100%;max-width:none;min-height:100dvh;margin:0;display:flex}html,body{min-width:320px;min-height:100%}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{--primary:#2563eb;--primary-dark:#1e3a5f;--primary-light:#60a5fa;--primary-subtle:#2563eb0f;--bg:#f1f5f9;--surface:#fff;--text:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--border:#e2e8f0;--success:#1643a3;--success-bg:#f0f4fd;--danger:#dc2626;--danger-bg:#fef2f2;--warning:#d97706;--warning-bg:#fffbeb;--info:#0284c7;--info-bg:#f0f9ff;--sidebar-width:250px;--radius:10px;--shadow-sm:0 1px 2px #0000000a;--shadow:0 1px 3px #0000000f, 0 1px 2px #0000000a;--shadow-md:0 4px 12px #00000012}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Cairo,sans-serif}.dashboard-layout{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);background:var(--primary-dark);color:#fff;z-index:20;flex-direction:column;height:100dvh;display:flex;position:fixed;top:0;right:0;overflow:hidden}.sidebar-header{text-align:center;border-bottom:1px solid #ffffff14;flex-direction:column;align-items:center;gap:6px;padding:20px;display:flex}.sidebar-logo{object-fit:contain;background:#fff;border-radius:10px;width:52px;height:52px;padding:4px}.sidebar-header h2{letter-spacing:.5px;color:#fff;font-size:20px;font-weight:800}.sidebar-subtitle{opacity:.5;font-size:11px;font-weight:400}.sidebar-nav{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#ffffff4d transparent;flex:1;min-height:0;padding:12px 0;overflow-y:auto}.sidebar-nav::-webkit-scrollbar{width:7px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff4d padding-box padding-box;border:2px solid #0000;border-radius:999px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background-color:#ffffff8c}.nav-item{color:#ffffff8c;border-right:3px solid #0000;align-items:center;gap:10px;padding:11px 20px;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .2s,color .2s;display:flex}.nav-item:hover{color:#ffffffd9;background:#ffffff0f}.nav-item.active{color:#fff;background:#ffffff24;font-weight:700}.nav-item svg{opacity:.7;flex-shrink:0;width:20px;height:20px}.nav-item.active svg{opacity:1}.nav-item:focus-visible{outline-offset:-4px;outline:2px solid #fff}.sidebar-header,.sidebar-footer{flex-shrink:0}.sidebar-footer{border-top:1px solid #ffffff14;padding:16px}.admin-info{flex-direction:column;margin-bottom:8px;display:flex}.admin-name{font-size:13px;font-weight:700}.admin-email{opacity:.45;font-size:11px}.btn-logout{color:#fffc;border-radius:var(--radius);cursor:pointer;background:#ffffff14;border:none;width:100%;padding:8px;font-family:inherit;font-size:13px;transition:background .2s}.btn-logout:hover{color:#fff;background:#ffffff26}.main-content{margin-right:var(--sidebar-width);overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--text-muted) transparent;flex:1;min-width:0;height:100dvh;min-height:0;padding:24px 28px;overflow:hidden auto}.main-content::-webkit-scrollbar{width:8px}.main-content::-webkit-scrollbar-thumb{background:var(--text-muted);background-clip:padding-box;border:2px solid #0000;border-radius:999px}.main-content::-webkit-scrollbar-thumb:hover{background-color:var(--text-secondary)}.login-container{background:linear-gradient(135deg, var(--primary-dark) 0%, #1e40af 100%);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:16px;width:400px;padding:40px;box-shadow:0 20px 60px #00000026}.login-header{text-align:center;margin-bottom:32px}.login-header h1{color:var(--primary);font-size:28px;font-weight:800}.login-header p{color:var(--text-secondary);font-size:14px}.form-group{margin-bottom:16px}.form-group label{color:var(--text);margin-bottom:6px;font-size:14px;font-weight:600;display:block}input,select,textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:8px;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2563eb1a}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:10px 20px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:#1d4ed8}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-outline{border:1px solid var(--border);color:var(--text);background:0 0}.btn-outline:hover{background:var(--bg);border-color:var(--text-muted)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#b91c1c}.btn-outline-danger{border:1px solid var(--danger);color:var(--danger);background:0 0}.btn-outline-danger:hover{background:var(--danger-bg)}.btn-sm{padding:6px 12px;font-size:12px}.btn-block{width:100%}.page{max-width:1200px}.page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.page-header h1{color:var(--text);font-size:22px;font-weight:800}.table-container{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}table{border-collapse:collapse;width:100%}th{background:var(--bg);text-align:right;color:var(--text-secondary);padding:12px 16px;font-size:13px;font-weight:700}td{border-top:1px solid var(--border);color:var(--text);padding:12px 16px;font-size:14px}tfoot td{background:var(--bg);font-weight:700}.product-cell{align-items:center;gap:10px;display:flex}.product-thumb{object-fit:cover;border-radius:6px;width:40px;height:40px}td .btn+.btn{margin-right:6px}.badge{border-radius:12px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.badge-success{background:var(--success-bg);color:var(--success)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-info{background:var(--info-bg);color:var(--info)}.badge-lg{padding:6px 14px;font-size:14px}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;padding:20px}.card h3{margin-bottom:12px;font-size:16px}.pagination{justify-content:center;align-items:center;gap:16px;margin-top:20px;display:flex}.pagination button{border:1px solid var(--border);cursor:pointer;color:var(--text);background:#fff;border-radius:8px;padding:8px 16px;font-family:inherit}.pagination button:disabled{opacity:.4;cursor:not-allowed}.search-bar,.filters{margin-bottom:16px}.search-bar input,.filters select{max-width:300px}.product-form{width:100%}.product-form-workspace{grid-template-columns:minmax(0,1fr) 370px;align-items:start;gap:24px;width:100%;display:grid}.product-main-col{flex-direction:column;gap:20px;min-width:0;display:flex}.product-sidebar-col{flex-direction:column;gap:20px;display:flex;position:sticky;top:24px}@media (width<=1024px){.product-form-workspace{grid-template-columns:1fr}.product-sidebar-col{position:static}}.form-card-senior{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:22px;transition:border-color .2s,box-shadow .2s;box-shadow:0 4px 20px -2px #0f172a0a}.form-card-senior:focus-within{border-color:#2563eb59;box-shadow:0 8px 30px -4px #2563eb12}.card-title-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:18px;padding-bottom:12px;display:flex}.card-title-with-icon{color:var(--text);align-items:center;gap:10px;margin:0;font-size:16px;font-weight:800;display:flex}.card-icon-bubble{color:#2563eb;background:#eff6ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.card-subtitle{color:var(--text-secondary);margin-top:4px;font-size:13px}.breadcrumbs{color:var(--text-secondary);align-items:center;gap:8px;margin-bottom:8px;font-size:13px;display:flex}.breadcrumbs a{color:var(--primary);font-weight:600;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.chip-group{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.chip-btn{border:1.5px solid var(--border);color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:5px;padding:7px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.chip-btn:hover{background:#f8fafc;border-color:#93c5fd}.chip-btn.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb;font-weight:700;box-shadow:0 2px 6px #2563eb26}.stepper-container{align-items:center;gap:6px;display:flex}.stepper-btn{border:1px solid var(--border);cursor:pointer;width:40px;height:40px;color:var(--text);background:#f8fafc;border-radius:8px;justify-content:center;align-items:center;font-size:18px;font-weight:700;transition:all .15s;display:flex}.stepper-btn:hover{color:#000;background:#e2e8f0}.packaging-preview-box{background:linear-gradient(135deg,#f0f4fd 0%,#fff 100%);border:1.5px dashed #86a7ef;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.packaging-pill{color:#053396;background:#fff;border:1.5px solid #1046b9;border-radius:8px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 2px 5px #1046b91a}.stock-indicator-badge{border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12.5px;font-weight:700;display:inline-flex}.stock-safe{color:#053396;background:#ecf1fd;border:1px solid #a7bff3}.stock-low{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.stock-out{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.special-offer-card{background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;padding:16px;transition:all .2s}.special-offer-card.active{background:linear-gradient(135deg,#fff1f2 0%,#ffe4e6 100%);border-color:#fda4af;box-shadow:0 4px 14px #e11d4814}.live-mobile-card-frame{background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:100%;overflow:hidden;box-shadow:0 10px 30px -4px #0f172a14}.live-mobile-card-img-wrap{background:radial-gradient(circle,#f8fafc 0%,#f1f5f9 100%);justify-content:center;align-items:center;height:190px;padding:14px;display:flex;position:relative}.live-mobile-card-body{padding:14px}.gallery-dropzone{text-align:center;cursor:pointer;background:linear-gradient(#f8fafc 0%,#f1f5f9 100%);border:2px dashed #cbd5e1;border-radius:14px;padding:34px 20px;transition:all .2s;box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;display:flex!important}.gallery-dropzone:hover,.gallery-dropzone.drag-active{background:#eff6ff;border-style:solid;border-color:#2563eb;box-shadow:0 4px 16px #2563eb14}.gallery-grid{flex-wrap:wrap;gap:12px;margin-top:14px;display:flex}.gallery-thumb-item{background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;width:76px;height:76px;position:relative;overflow:hidden;box-shadow:0 2px 6px #0000000a}.gallery-thumb-item img{object-fit:contain;width:100%;height:100%}.gallery-thumb-badge{color:#fff;text-align:center;background:#0f172abf;padding:2px 0;font-size:10px;font-weight:700;position:absolute;bottom:0;left:0;right:0}.gallery-thumb-actions{opacity:0;gap:4px;transition:opacity .15s;display:flex;position:absolute;top:4px;right:4px}.gallery-thumb-item:hover .gallery-thumb-actions{opacity:1}.gallery-thumb-btn{cursor:pointer;width:22px;height:22px;color:var(--text);background:#ffffffe6;border:none;border-radius:4px;justify-content:center;align-items:center;font-size:11px;display:flex;box-shadow:0 2px 4px #0000001a}.gallery-thumb-btn:hover{color:var(--danger);background:#fff}.lightbox-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2000;background:#0f172ad9;justify-content:center;align-items:center;padding:24px;animation:.2s ease-out pickerSlideIn;display:flex;position:fixed;inset:0}.lightbox-content{justify-content:center;align-items:center;max-width:90vw;max-height:85vh;display:flex;position:relative}.lightbox-content img{object-fit:contain;background:#fff;border-radius:12px;max-width:100%;max-height:85vh;box-shadow:0 25px 50px -12px #00000080}.lightbox-close{color:#0f172a;cursor:pointer;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;font-weight:700;transition:transform .15s;display:flex;position:absolute;top:-16px;left:-16px;box-shadow:0 4px 12px #00000040}.lightbox-close:hover{transform:scale(1.1)}.form-toggle-switch{flex-shrink:0;width:44px;height:24px;display:inline-block;position:relative}.form-toggle-switch input{opacity:0;width:0;height:0}.form-toggle-slider{cursor:pointer;background-color:#cbd5e1;border-radius:24px;transition:all .2s;position:absolute;inset:0}.form-toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;bottom:3px;left:3px;box-shadow:0 1px 3px #00000026}.form-toggle-switch input:checked+.form-toggle-slider{background-color:#2563eb}.form-toggle-switch input:checked+.form-toggle-slider:before{transform:translate(20px)}.form-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;padding:20px}.form-card h3{margin-bottom:16px}.form-card-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.variant-row{align-items:center;gap:8px;margin-bottom:8px;display:flex}.variant-row input{flex:1}.form-actions{gap:12px;margin-top:16px;display:flex}.existing-images{gap:8px;margin-top:12px;display:flex}.preview-thumb{object-fit:cover;border-radius:8px;width:60px;height:60px}.status-buttons{flex-wrap:wrap;gap:8px;display:flex}.status-timeline{padding-right:24px;position:relative}.timeline-item{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex;position:relative}.timeline-dot{background:var(--primary);border-radius:50%;flex-shrink:0;width:12px;height:12px;margin-top:4px}.timeline-content{flex-direction:column;display:flex}.timeline-status{font-weight:700}.timeline-date{color:var(--text-secondary);font-size:12px}.loading{text-align:center;color:var(--text-secondary);padding:60px;font-size:15px}.error-message{color:var(--danger);margin-top:8px;padding:8px;font-size:14px}.confirm-overlay{z-index:1000;background:#0006;justify-content:center;align-items:center;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.confirm-modal{background:var(--surface);text-align:center;border-radius:16px;width:380px;max-width:90vw;padding:28px;animation:.2s ease-out modalSlide;box-shadow:0 20px 60px #0003}@keyframes modalSlide{0%{opacity:0;transform:translateY(-12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.confirm-modal__icon{background:var(--danger-bg);border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 16px;font-size:24px;display:flex}.confirm-modal__title{color:var(--text);margin-bottom:8px;font-size:18px;font-weight:800}.confirm-modal__msg{color:var(--text-secondary);margin-bottom:24px;font-size:14px;line-height:1.6}.confirm-modal__actions{justify-content:center;gap:10px;display:flex}.confirm-modal__actions .btn{justify-content:center;min-width:100px}.overview{max-width:1200px}.overview__greeting{margin-bottom:28px}.overview__greeting h1{color:var(--text);margin-bottom:4px;font-size:24px;font-weight:800}.overview__greeting p{color:var(--text-secondary);font-size:14px}.overview__stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:28px;display:grid}.stat-card{background:var(--surface);box-shadow:var(--shadow);cursor:pointer;border:1px solid #0000;border-radius:12px;align-items:flex-start;gap:14px;padding:20px;transition:transform .15s,box-shadow .15s;display:flex}.stat-card:hover{box-shadow:var(--shadow-md);border-color:var(--border);transform:translateY(-2px)}.stat-card__icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.stat-card__icon svg{width:24px;height:24px}.stat-card__icon--products{background:var(--info-bg);color:var(--info)}.stat-card__icon--orders{background:var(--success-bg);color:var(--success)}.stat-card__icon--categories{background:var(--warning-bg);color:var(--warning)}.stat-card__icon--offers{background:var(--danger-bg);color:var(--danger)}.stat-card__icon--sales{color:#7c3aed;background:#ede9fe}.stat-card__info{flex-direction:column;display:flex}.stat-card__value{color:var(--text);font-size:28px;font-weight:800;line-height:1.1}.stat-card__label{color:var(--text-secondary);margin-top:2px;font-size:13px}.overview__row{grid-template-columns:1fr 320px;gap:20px;margin-bottom:20px;display:grid}.overview__section-title{color:var(--text);justify-content:space-between;align-items:center;margin-bottom:14px;font-size:16px;font-weight:700;display:flex}.overview__section-title a{color:var(--primary);font-size:13px;font-weight:600;text-decoration:none}.overview__section-title a:hover{text-decoration:underline}.quick-actions{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;padding:20px}.quick-actions__grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.quick-action-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;color:var(--text);border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:16px 10px;font-family:inherit;text-decoration:none;transition:all .15s;display:flex}.quick-action-btn:hover{background:var(--primary-subtle);border-color:var(--primary-light);transform:translateY(-1px)}.quick-action-btn__icon{background:var(--bg);border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.quick-action-btn__icon svg{width:20px;height:20px;color:var(--primary)}.quick-action-btn__label{font-size:13px;font-weight:600}.recent-orders-card{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;overflow:hidden}.recent-orders-card table{font-size:13px}.recent-orders-card th{padding:10px 14px;font-size:12px}.recent-orders-card td{padding:10px 14px}.entity-picker{position:relative}.entity-picker__trigger{border:1px solid var(--border);cursor:pointer;background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;min-height:44px;padding:10px 14px;transition:border-color .2s;display:flex}.entity-picker__trigger:hover{border-color:var(--primary-light)}.entity-picker__trigger--open{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}.entity-picker__placeholder{color:var(--text-muted);font-size:14px}.entity-picker__arrow{color:var(--text-muted);flex-shrink:0;margin-right:8px;font-size:10px}.entity-picker__selected{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.entity-picker__selected-text{white-space:nowrap;text-overflow:ellipsis;color:var(--text);font-size:14px;font-weight:600;overflow:hidden}.entity-picker__selected-id{color:var(--text-secondary);background:var(--bg);border-radius:4px;flex-shrink:0;padding:2px 8px;font-size:12px}.entity-picker__clear{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;padding:2px 4px;font-size:14px;transition:all .15s}.entity-picker__clear:hover{background:var(--danger);color:#fff}.entity-picker__dropdown{background:var(--surface);border:1px solid var(--border);z-index:100;border-radius:10px;animation:.15s ease-out pickerSlideIn;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 8px 30px #0000001a}@keyframes pickerSlideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.entity-picker__search-wrap{border-bottom:1px solid var(--border);padding:10px}.entity-picker__search{border:1px solid var(--border);border-radius:6px;width:100%;padding:8px 12px;font-family:inherit;font-size:14px}.entity-picker__search:focus{border-color:var(--primary);outline:none}.entity-picker__list{max-height:260px;padding:4px 0;overflow-y:auto}.entity-picker__list::-webkit-scrollbar{width:6px}.entity-picker__list::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.entity-picker__item{cursor:pointer;align-items:center;gap:10px;padding:8px 12px;transition:background .1s;display:flex}.entity-picker__item:hover{background:var(--bg)}.entity-picker__item--selected{background:var(--primary-subtle)}.entity-picker__thumb{object-fit:cover;border-radius:6px;flex-shrink:0;width:36px;height:36px}.entity-picker__thumb--placeholder{background:var(--bg);justify-content:center;align-items:center;font-size:18px;display:flex}.entity-picker__item-info{flex-direction:column;flex:1;min-width:0;display:flex}.entity-picker__item-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.entity-picker__item-meta{color:var(--text-secondary);font-size:12px}.entity-picker__item-id{color:var(--text-muted);flex-shrink:0;font-size:11px}.entity-picker__check{color:var(--primary);flex-shrink:0;font-size:16px;font-weight:700}.entity-picker__empty{text-align:center;color:var(--text-secondary);padding:24px;font-size:14px}@media (width<=768px){.sidebar{width:70px}.sidebar-header{padding:12px 6px}.sidebar-logo{width:42px;height:42px}.sidebar-header h2,.sidebar-subtitle{display:none}.nav-item span:not(.nav-icon){clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.nav-item{justify-content:center;min-height:48px;padding:12px}.sidebar-footer{display:none}.main-content{margin-right:70px;padding:12px}.page-header{flex-direction:column;align-items:flex-start;gap:12px}.table-container{overflow-x:auto}.variant-row{flex-direction:column}.login-card{width:90%;padding:24px}.overview__row{grid-template-columns:1fr}.overview__stats{grid-template-columns:repeat(2,1fr)}}@media (width<=480px){.sidebar{width:58px}.sidebar-header{padding:10px 4px}.sidebar-logo{width:38px;height:38px}.nav-item{padding:12px 8px}.main-content{margin-right:58px;padding:8px}.overview__stats,.quick-actions__grid{grid-template-columns:1fr}}.modal-overlay{z-index:1000;background:#00000073;justify-content:center;align-items:center;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-panel{background:var(--surface);text-align:right;border-radius:16px;width:560px;max-width:94vw;max-height:88vh;padding:0;animation:.2s ease-out modalSlide;overflow:auto;box-shadow:0 20px 60px #0003}.modal-panel--wide{width:860px}.modal-header{border-bottom:1px solid var(--border);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;padding:18px 24px;display:flex;position:sticky;top:0}.modal-header h3{color:var(--text);margin:0;font-size:17px;font-weight:800}.modal-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:26px;line-height:1}.modal-close:hover{color:var(--text)}.modal-body{padding:20px 24px}.modal-footer{border-top:1px solid var(--border);justify-content:flex-start;gap:8px;padding:16px 24px;display:flex}.page-header__hint{color:var(--text-muted);font-size:13px;font-weight:600}.toggle-inline{color:var(--text-secondary);white-space:nowrap;align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.form-hint{color:var(--text-muted);margin-top:4px;font-size:11px;display:block}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.empty-state{text-align:center;color:var(--text-muted);padding:32px;font-size:14px;font-weight:600}.cart-customer{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:16px;display:flex}.cart-customer strong{color:var(--text);font-size:15px;display:block}.cart-customer__meta{color:var(--text-secondary);font-size:12px}.cart-customer__actions{gap:8px;display:flex}.cart-summary{color:var(--text-secondary);flex-wrap:wrap;gap:18px;margin-bottom:16px;font-size:13px;display:flex}.cart-summary strong{color:var(--text)}.cart-line__variant{color:var(--text-muted);font-size:12px}.notification-recipient{background:var(--bg);border-radius:var(--radius);color:var(--text);justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:13px;display:flex}.notification-result{border-radius:var(--radius);background:var(--success-bg);color:var(--success);margin-top:12px;padding:12px 14px;font-size:13px;font-weight:600;line-height:1.7}.notification-result span{opacity:.85;font-weight:500}.availability-page .page-header{flex-wrap:wrap;gap:16px}.availability-page .page-header p{color:var(--text-secondary);margin-top:6px}.availability-list{gap:16px;display:grid}.availability-card{margin:0}.availability-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.availability-heading h2{margin:0 0 6px;font-size:18px}.availability-heading p{color:var(--text-secondary)}.availability-customer{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0;display:grid}.availability-customer dt{color:var(--text-secondary);margin-bottom:4px;font-size:12px}.availability-customer dd{overflow-wrap:anywhere;margin:0}.availability-response{background:var(--bg);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin-bottom:12px;padding:12px}.availability-card textarea{resize:vertical;border:1px solid var(--border);width:100%;font:inherit;border-radius:8px;margin:8px 0 12px;padding:12px;display:block}.availability-alert{color:#164c80;background:#eaf3ff;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.availability-hint{color:var(--text-secondary);max-width:72ch;margin:4px 0 16px;font-size:13px}.availability-promise{border:1px solid var(--border);background:var(--warning-bg);border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:14px;padding:14px;display:flex}.availability-promise label{gap:6px;font-size:13px;font-weight:600;display:grid}.availability-promise input{width:120px}.availability-promise output{color:var(--text-secondary);font-size:13px}.availability-promise p{color:var(--success);flex-basis:100%;margin:0;font-size:13px}.availability-promise .error-message{color:var(--danger)}.availability-promise .btn{margin-inline-start:auto}@media (width<=600px){.availability-customer{grid-template-columns:1fr}}.erp-page{max-width:1540px;color:var(--text,#1d2d47);margin:0 auto}.erp-page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.erp-page-heading h1{letter-spacing:-.4px;margin:0 0 5px;font-size:26px;font-weight:800;line-height:1.5}.erp-page-heading p{max-width:70ch;color:var(--text-secondary,#68778f);margin:0;font-size:13px;line-height:1.9}.erp-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.erp-page .btn,.erp-dialog .btn{min-height:41px;box-shadow:none;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:700;display:inline-flex}.erp-page .btn-primary,.erp-dialog .btn-primary{color:#fff;background:#5268eb;border-color:#5268eb}.erp-page .btn-primary:hover,.erp-dialog .btn-primary:hover{background:#4157d8}.erp-page .btn-outline,.erp-dialog .btn-outline{color:#415474;background:#fff;border-color:#e0e6f0}.erp-page .btn svg,.erp-dialog .btn svg{flex-shrink:0;width:16px;height:16px}.erp-page-note{color:#8390a5;align-items:center;gap:7px;font-size:10px;display:flex}.erp-page-note svg{width:16px;height:16px}.erp-panel{border:1px solid var(--border);background:var(--surface);border-radius:16px;min-width:0;margin-bottom:22px;overflow:hidden;box-shadow:0 4px 20px #1b2a4603}.erp-panel-header{border-bottom:1px solid #edf0f6;justify-content:space-between;align-items:center;gap:20px;padding:21px 23px;display:flex}.erp-panel-header h2{margin:0;font-size:16px;font-weight:800;line-height:1.6}.erp-panel-header p{max-width:70ch;color:var(--text-secondary);margin:3px 0 0;font-size:12px;line-height:1.8}.erp-panel-header>svg{color:#8b9abc;width:20px;height:20px}.erp-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px;display:grid}.erp-kpi-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}.erp-metric{--metric-color:#3c6fdd;--metric-bg:#edf3ff;background:var(--surface);border:1px solid var(--border);color:#1c2d49;border-radius:16px;flex-direction:column;gap:19px;min-width:0;min-height:157px;padding:20px 21px 17px;text-decoration:none;transition:border-color .15s;display:flex}.erp-metric[data-tone=violet]{--metric-color:#7655df;--metric-bg:#f1edff}.erp-metric[data-tone=green]{--metric-color:#009c78;--metric-bg:#e8f8f1}.erp-metric[data-tone=orange]{--metric-color:#d48c1d;--metric-bg:#fff7e7}.erp-metric[data-tone=red]{--metric-color:#d45e78;--metric-bg:#fff0f3}.erp-metric[href]:hover{border-color:var(--primary);background:var(--primary-subtle)}.erp-metric .erp-money{white-space:normal;flex-wrap:wrap;max-width:100%}.erp-metric .erp-money bdi{overflow-wrap:anywhere;min-width:0}.erp-metric-heading{justify-content:space-between;align-items:center;gap:9px;display:flex}.erp-metric-heading>span:first-child{color:var(--text-secondary);font-size:12px;font-weight:700;line-height:1.8}.erp-metric-icon{width:39px;height:39px;color:var(--metric-color,#3859d6);background:var(--metric-bg,#edf2ff);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.erp-metric-icon svg{width:20px;height:20px}.erp-metric>strong{letter-spacing:-.5px;font-size:28px;font-weight:800;line-height:1.45;display:block}.erp-money{white-space:nowrap;font-variant-numeric:tabular-nums;align-items:baseline;gap:5px;display:inline-flex}.erp-money small{color:var(--text-secondary);letter-spacing:0;font-size:.44em;font-weight:600}.erp-money.is-unknown{color:#9c7a32;letter-spacing:0;font-size:.74em}.erp-metric-foot{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:7px;margin-top:auto;font-size:12px;line-height:1.7;display:flex}.erp-metric-foot .erp-badge{padding:2px 6px;font-size:10px}.erp-badge{color:#73829a;white-space:nowrap;background:#f0f3f8;border-radius:6px;align-items:center;padding:4px 8px;font-size:9px;font-weight:700;line-height:1.6;display:inline-flex}.erp-badge.is-success{color:#078266;background:#eaf8f1}.erp-badge.is-warning{color:#9b711d;background:#fff5dc}.erp-badge.is-error{color:#bc4c64;background:#fff0f2}.erp-badge.is-blue{color:#4463c2;background:#edf2ff}.erp-notice{color:#4e6596;background:#edf3ff;border:1px solid #dee8ff;border-radius:11px;align-items:flex-start;gap:11px;margin-bottom:20px;padding:15px 18px;font-size:11px;line-height:1.9;display:flex}.erp-notice>svg{flex-shrink:0;width:19px;height:19px;margin-top:1px}.erp-notice p{margin:3px 0 0;font-size:10px}.erp-notice strong{font-size:11px;font-weight:800}.erp-notice.is-warning{color:#8c6b2a;background:#fffaf0;border-color:#f1e8cc}.erp-notice.is-success{color:#087b60;background:#edf9f3;border-color:#d7efe3}.erp-notice.is-error{color:#aa4658;background:#fff3f4;border-color:#f5dde2}.erp-coverage-notice{align-items:center}.erp-coverage-notice>div{flex:1;min-width:0}.erp-coverage-notice>a{color:inherit;white-space:nowrap;align-items:center;gap:5px;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.erp-coverage-notice>a svg{width:15px;height:15px}.erp-search{background:#fbfcff;border:1px solid #e2e7f0;border-radius:10px;align-items:center;gap:9px;width:min(300px,100%);min-height:40px;padding:0 12px;display:flex}.erp-search svg{color:#9aa9bf;flex-shrink:0;width:17px;height:17px}.erp-search input{width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;padding:10px 0;font-size:11px}.erp-search:focus-within{border-color:#9aaee7;box-shadow:0 0 0 3px #3859d60b}.erp-table-wrap{scrollbar-width:thin;scrollbar-color:#d0d9e8 transparent;max-width:100%;overflow-x:auto}.erp-table{border-collapse:collapse;width:100%;min-width:610px;font-size:12px}.erp-table th{text-align:start;color:var(--text-secondary);white-space:nowrap;background:#fafbfe;border-bottom:1px solid #e9edf4;padding:12px 20px;font-size:12px;font-weight:700}.erp-table td{text-align:start;vertical-align:middle;color:#40516b;border-bottom:1px solid #eef1f7;padding:16px 20px;line-height:1.8}.erp-table tr:last-child td{border-bottom:0}.erp-table tbody tr:hover td{background:#fcfdff}.erp-table td>strong{color:#2c3e5b;font-size:12px}.erp-table .erp-money small{font-size:9px}.erp-table .erp-money.is-unknown{font-size:10px}.erp-table.is-wide{min-width:980px}.erp-table.is-wide th:first-child,.erp-table.is-wide td:first-child{z-index:1;background:#fff;border-inline-end:1px solid #f0f3f8;min-width:180px;max-width:240px;position:sticky;inset-inline-start:0}.erp-table.is-wide th:first-child{background:#fafbfe}.erp-person{align-items:center;gap:11px;min-width:180px;display:flex}.erp-avatar{color:#637bb9;background:#edf1fc;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid}.erp-avatar.is-orange{color:#b88b47;background:#fdf3e7}.erp-person strong{color:#33445f;font-size:11px;font-weight:700;display:block}.erp-person small,.erp-cell-secondary{color:var(--text-secondary);margin-top:3px;font-size:11px;line-height:1.7;display:block}.erp-table .erp-positive,.erp-positive{color:#059472}.erp-table .erp-negative,.erp-negative{color:#cd5d73}.erp-text-button{font:inherit;color:#4261bb;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:5px 0;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.erp-text-button svg{width:15px;height:15px}.erp-text-button:hover{color:#2443a2}.erp-text-button:disabled{opacity:.5;cursor:wait}.erp-pagination{color:#8794aa;border-top:1px solid #edf0f6;justify-content:space-between;align-items:center;gap:14px;padding:16px 22px;font-size:10px;display:flex}.erp-pagination>div{gap:7px;display:flex}.erp-pagination .btn{min-height:32px;padding:5px 12px;font-size:10px}.erp-state{text-align:center;color:#8090a6;flex-direction:column;justify-content:center;align-items:center;gap:11px;min-height:220px;padding:34px 24px;display:flex}.erp-state>strong{color:#53637e;font-size:13px;font-weight:700}.erp-state>p{max-width:390px;margin:0;font-size:11px;line-height:1.9}.erp-state.is-error>strong{color:#b35162}.erp-state-symbol{color:#8298c4;background:#f0f4fb;border-radius:15px;place-items:center;width:48px;height:48px;display:grid}.erp-state-symbol svg{width:24px;height:24px}.erp-loader{border:2px solid #e8edf8;border-top-color:#5573cf;border-radius:50%;width:27px;height:27px;animation:.8s linear infinite erp-spin;display:block}@keyframes erp-spin{to{transform:rotate(360deg)}}.erp-tabs{scrollbar-width:none;border-bottom:1px solid #e4eaf3;align-items:center;gap:5px;margin-bottom:23px;padding-bottom:0;display:flex;overflow-x:auto}.erp-tabs button{font:inherit;color:#8b98ad;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;justify-content:center;align-items:center;gap:7px;padding:13px 15px;font-size:11px;font-weight:700;display:flex}.erp-tabs button svg{width:17px;height:17px}.erp-tabs button.is-active{color:#3859c6;border-bottom-color:#4f6ed7}.erp-tabs button:hover{color:#4962a7}.erp-icon-button{width:36px;height:36px;color:var(--text-secondary);background:var(--surface);cursor:pointer;border:1px solid #e2e8f3;border-radius:10px;flex-shrink:0;place-items:center;display:inline-grid}.erp-icon-button svg{width:18px;height:18px}.erp-icon-button:hover{color:#3859c6;border-color:#b8c8ec}.erp-dialog{color:#283b59;width:min(630px,100vw - 40px);max-width:none;max-height:min(90dvh,950px);font:inherit;background:#fff;border:1px solid #dfe6f2;border-radius:18px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 90px #111d3340}.erp-dialog[open]{flex-direction:column;display:flex}.erp-dialog.is-wide{width:min(980px,100vw - 50px)}.erp-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e1b3359}.erp-dialog-header{background:#fff;border-bottom:1px solid #e9edf5;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 27px;display:flex}.erp-dialog-header h2{color:#1d2d47;margin:0;font-family:inherit;font-size:18px;font-weight:800;line-height:1.6}.erp-dialog-header h2:focus{outline:none}.erp-dialog-header p{color:#8a98ad;margin:4px 0 0;font-size:11px}.erp-dialog-content{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:26px 27px 28px;overflow-y:auto}.erp-account-summary{background:#f8faff;border:1px solid #e9eef8;border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:21px;padding:9px 0;display:grid}.erp-account-summary>div{border-inline-end:1px solid #e7ecf7;flex-direction:column;gap:8px;min-width:0;padding:14px 21px;display:flex}.erp-account-summary>div:nth-child(3n){border-inline-end:0}.erp-account-summary>div>span:first-child{color:#8898b0;font-size:10px}.erp-account-summary>div>.erp-money{font-size:19px;font-weight:700}.erp-account-summary>div>strong{font-size:23px;font-weight:800}.erp-account-summary .erp-money small{font-size:10px}.erp-table-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:3px 0 18px;display:flex}.erp-table-toolbar>p{color:#8a98ac;margin:0;font-size:10px}.erp-inline-dates{gap:12px;display:flex}.erp-inline-dates label,.erp-custom-period label{color:#8292a9;align-items:center;gap:7px;font-size:10px;display:flex}.erp-inline-dates input,.erp-custom-period input{color:#51627e;width:140px;font:inherit;background:#fff;border:1px solid #e1e7f1;border-radius:8px;padding:8px;font-size:10px}.erp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.erp-form-grid .form-group{margin:0}.erp-form-grid .form-group.is-full{grid-column:1/-1}.erp-form-grid label{color:#60708a;margin-bottom:9px;font-size:11px;font-weight:700;display:block}.erp-form-grid input,.erp-form-grid select,.erp-form-grid textarea{width:100%;min-width:0;font:inherit;color:#30415b;background:#fff;border:1px solid #dfe6f0;border-radius:9px;min-height:43px;padding:11px 12px;font-size:12px}.erp-form-grid small{color:#8a98ac;margin-top:8px;font-size:10px;line-height:1.9;display:block}.erp-amount-input{position:relative}.erp-amount-input input{padding-inline-end:55px}.erp-amount-input>span{inset-inline-end:13px;color:#8da0be;font-size:11px;position:absolute;top:12px}.erp-form-intro{align-items:center;gap:13px;margin-bottom:25px;display:flex}.erp-form-intro h3{margin:0 0 5px;font-size:14px}.erp-form-intro p{color:#8492a8;margin:0;font-size:11px;line-height:1.9}.erp-form-footer{border-top:1px solid #ebeff6;justify-content:flex-end;align-items:center;gap:12px;margin-top:25px;padding-top:20px;display:flex}.erp-form-footer>p{margin:0;color:#91a0b5;margin-inline-end:auto;font-size:10px}.erp-payment-form{padding:7px 0}.erp-reference{overflow-wrap:anywhere;max-width:220px}.erp-period-filter{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.erp-period-filter>select{color:#4c5f82;min-width:155px;font:inherit;background:#fff;border:1px solid #e0e6f1;border-radius:10px;min-height:41px;padding:11px 12px;font-size:11px}.erp-period-filter .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}.erp-custom-period{gap:9px;display:flex}.erp-overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);align-items:start;gap:22px;display:grid}.erp-overview-grid.is-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-chart-panel{min-height:344px}.erp-chart-panel .erp-panel-header{border-bottom:0;flex-wrap:wrap;padding-bottom:10px}.erp-chart-legend{color:var(--text-secondary);flex-wrap:wrap;gap:8px 13px;font-size:12px;display:flex}.erp-chart-legend span{align-items:center;gap:5px;display:inline-flex}.erp-chart-legend span:before{content:"";background:#637fe1;border-radius:2px;width:7px;height:7px}.erp-chart-legend [data-series=purchases]:before{background:#edbc63}.erp-chart-legend [data-series=profit]:before{background:#32b894}.erp-chart{background:repeating-linear-gradient(0deg,#0000 0 44px,#f2f5fb 44px 45px) padding-box content-box;justify-content:space-evenly;align-items:flex-end;gap:16px;min-height:216px;padding:20px 26px 22px;display:flex}.erp-chart-group{flex-direction:column;flex:1;align-items:center;gap:15px;min-width:40px;max-width:100px;display:flex}.erp-chart-bars{justify-content:center;align-items:flex-end;gap:5px;width:100%;height:150px;display:flex}.erp-chart-bar{background:#6f86df;border-radius:4px 4px 0 0;width:min(20px,25%);min-width:6px;max-width:22px}.erp-chart-bar[data-series=purchases]{background:#edc278}.erp-chart-bar[data-series=profit]{background:#35b894}.erp-chart-bar.is-unknown{background:#dce3ed}.erp-chart-group>span{color:var(--text-secondary);text-align:center;font-size:11px}.erp-chart-details{border-top:1px solid #eef1f7}.erp-chart-details>summary{color:var(--text-secondary);cursor:pointer;padding:12px 23px;font-size:12px}.erp-operational-stats{padding:0 22px}.erp-operational-stats a{color:#71819b;border-bottom:1px solid #eef1f7;align-items:center;gap:11px;padding:13px 0;font-size:11px;text-decoration:none;display:flex}.erp-operational-stats a>strong{color:#334562;margin-inline-start:auto;font-size:16px}.erp-operational-stats a>svg{color:#9cacc4;width:14px;height:14px}.erp-operational-stats a:last-child{border:0}.erp-operational-icon{color:#7f96c2;background:#f1f5fd;border-radius:8px;place-items:center;width:29px;height:29px;display:grid}.erp-operational-icon svg{width:16px;height:16px}.erp-shortcuts{border-top:1px solid #edf1f7;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:16px 21px;display:grid}.erp-shortcuts a{color:#7d8fad;border:1px solid #e7ecf5;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 3px;font-size:10px;text-decoration:none;display:flex}.erp-shortcuts svg{width:14px;height:14px}.erp-order-link{max-width:190px;text-decoration:none;display:block}.erp-order-link strong{color:#4967ab;text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.erp-order-link small{color:#91a0b5;font-size:9px}.erp-stock-counters{background:#fcfdff;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:20px;display:grid}.erp-stock-counters>div{text-align:center;flex-direction:column;gap:5px;display:flex}.erp-stock-counters strong{color:#526581;font-size:21px}.erp-stock-counters span{color:#94a1b6;font-size:9px}.erp-stock-watch{padding:2px 22px 10px}.erp-stock-watch>a{border-bottom:1px solid #eef1f7;align-items:center;gap:10px;min-width:0;padding:12px 0;text-decoration:none;display:flex}.erp-stock-watch>a:last-child{border:0}.erp-stock-watch>a>span:nth-child(2){flex:1;min-width:0}.erp-stock-watch strong{color:var(--text);overflow-wrap:anywhere;font-size:13px;line-height:1.8;display:block}.erp-stock-watch small{color:var(--text-secondary);font-size:12px}.erp-stock-watch .erp-badge{flex-shrink:0}.erp-stock-product-icon{color:#95a6c1;background:#f1f4fa;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.erp-stock-product-icon svg{width:17px;height:17px}.erp-reconciliation{background:#fff;border:1px solid #e6ecf6;border-radius:12px;margin:0 0 22px;overflow:hidden}.erp-reconciliation>summary{color:#7a8ba6;cursor:pointer;justify-content:space-between;align-items:center;padding:15px 19px;font-size:11px;display:flex}.erp-reconciliation>summary>span{align-items:center;gap:9px;display:flex}.erp-reconciliation summary svg{width:17px;height:17px}.erp-reconciliation-grid{border-top:1px solid #eaf0f7;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:18px;display:grid}.erp-reconciliation-grid>div{flex-direction:column;gap:8px;display:flex}.erp-reconciliation-grid>div>span:first-child{color:#8a9bb4;font-size:10px}.erp-reconciliation-grid .erp-money{font-size:16px;font-weight:700}.erp-reconciliation>p{color:#8b9ab1;margin:0;padding:0 18px 18px;font-size:10px}.erp-report-filters{align-items:flex-end;gap:11px;display:flex}.erp-report-filters label{color:#8495b0;flex-direction:column;gap:6px;font-size:9px;display:flex}.erp-report-filters select{color:#526988;width:170px;font:inherit;background:#fff;border:1px solid #e1e8f3;border-radius:8px;padding:9px;font-size:10px}.erp-coverage-details{background:#fcfdff;border-top:1px solid #edf1f7;padding:16px 21px}.erp-coverage-details summary{cursor:pointer;color:#8497b5;align-items:center;gap:7px;font-size:10px;display:flex}.erp-coverage-details summary svg{width:16px;height:16px}.erp-coverage-details p{color:#8b9bb3;margin:9px 0 0;font-size:10px;line-height:1.9}.erp-metrics-loading .erp-metric{min-height:160px}.erp-metrics-loading .erp-metric>span,.erp-metrics-loading .erp-metric>strong,.erp-metrics-loading .erp-metric>small{background:#eef2f8;border-radius:5px;width:70%;height:13px}.erp-metrics-loading .erp-metric>strong{width:58%;height:27px}.erp-page :focus-visible,.erp-dialog :focus-visible{outline-offset:3px;outline:2px solid #6d87dd}@media (width<=1250px){.erp-metric{min-height:150px;padding:17px 16px 15px}.erp-metric-heading>span:first-child{font-size:12px}.erp-metric-icon{border-radius:10px;width:33px;height:33px}.erp-overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.erp-panel-header{gap:12px;padding:18px}.erp-report-heading{flex-wrap:wrap}}@media (width<=1100px){.erp-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-overview-grid,.erp-overview-grid.is-balanced{grid-template-columns:1fr}.erp-operational-stats{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px;display:grid}}@media (width<=720px){.erp-page-heading{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:21px}.erp-heading-actions{justify-content:flex-start;width:100%}.erp-kpi-grid{gap:12px}.erp-page-heading h1{font-size:24px}.erp-heading-actions>.btn{flex:auto}.erp-period-filter{width:100%}.erp-period-filter>select{flex:1;min-height:44px;font-size:13px}.erp-page .btn,.erp-dialog .btn,.erp-tabs button,.erp-text-button,.erp-chart-details>summary{min-height:44px}.erp-page .btn,.erp-dialog .btn{font-size:13px}.erp-custom-period label{flex-wrap:wrap}.erp-custom-period input{min-height:44px;font-size:13px}.erp-metric{gap:15px;min-height:151px;padding:16px}.erp-metric>strong{font-size:25px}.erp-metric-heading>span:first-child{font-size:12px}.erp-metric-foot{flex-wrap:wrap;gap:6px;font-size:12px}.erp-kpi-grid.is-three{grid-template-columns:1fr}.erp-panel-header{flex-wrap:wrap;padding:18px}.erp-search{width:100%}.erp-coverage-notice{flex-wrap:wrap;align-items:flex-start;gap:9px}.erp-coverage-notice>div{flex-basis:calc(100% - 30px);min-width:0}.erp-coverage-notice>a{margin-inline-start:29px}.erp-dialog,.erp-dialog.is-wide{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh;margin:0}.erp-dialog-header{padding:19px 18px}.erp-dialog-header h2{color:#1d2d47;font-family:inherit;font-size:16px}.erp-dialog-content{padding:19px 16px 26px}.erp-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-account-summary>div{padding:13px 15px}.erp-account-summary>div:nth-child(3n){border-inline-end:1px solid #e7ecf7}.erp-account-summary>div:nth-child(2n){border-inline-end:0}.erp-account-summary>div>strong{font-size:21px}.erp-account-summary>div>.erp-money{font-size:17px}.erp-tabs{gap:0;margin-bottom:18px}.erp-tabs button{padding:12px 11px;font-size:13px}.erp-table-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.erp-inline-dates{width:100%}.erp-inline-dates label{flex:1;min-width:0}.erp-inline-dates input{width:100%;min-width:0}.erp-form-grid{grid-template-columns:1fr;gap:17px}.erp-form-footer{flex-wrap:wrap}.erp-form-footer>p{flex-basis:100%}.erp-pagination{padding:14px 16px}.erp-custom-period{flex-basis:100%;width:100%}.erp-custom-period label{flex:1;min-width:0}.erp-custom-period input{width:100%;min-width:0}.erp-report-filters{width:100%}.erp-report-filters label{flex:1;min-width:0}.erp-report-filters select{width:100%}.erp-reconciliation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){.erp-kpi-grid{grid-template-columns:1fr}.erp-metric{gap:12px;min-height:142px;padding:18px}.erp-metric>strong{font-size:26px}.erp-metric-icon{border-radius:9px;width:28px;height:28px}.erp-metric-icon svg{width:16px;height:16px}.erp-metric-heading{gap:4px}.erp-metric-heading>span:first-child{font-size:13px}.erp-metric-foot{font-size:12px}.erp-metric-foot .erp-badge{font-size:10px}.erp-chart{gap:8px;padding-inline:12px}}@media (prefers-reduced-motion:reduce){.erp-loader{animation-duration:2s}.erp-metric{transition:none}}.erp-chart-bars.has-negative{box-sizing:border-box;align-items:flex-start;height:300px;padding-top:150px;position:relative}.erp-chart-bars.has-negative:after{content:"";top:150px;border-top:1px solid #b9c6da;position:absolute;inset-inline:0}.erp-chart-bars.has-negative .erp-chart-bar:not(.is-negative){transform:translateY(-100%)}.erp-chart-bar.is-negative{background:#d45e78;border-radius:0 0 4px 4px}.erp-chart-legend [data-series=negative]:before{background:#d45e78}.erp-dialog-footer{background:#fbfcff;border-top:1px solid #edf1f7;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:15px 25px;display:flex}.erp-dialog-footer>p{color:#8d9ab0;margin:0;font-size:11px}@media (width<=600px){.erp-dialog-footer{flex-wrap:wrap;gap:9px;padding:14px 16px}}.erp-select{min-width:0;position:relative}.erp-select-trigger{color:#26334a;width:100%;min-height:42px;font:inherit;text-align:start;cursor:pointer;background:#fff;border:1px solid #e1e7f1;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.erp-select-trigger>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.erp-select-trigger>svg{flex-shrink:0;width:15px;height:15px}.erp-select-trigger[aria-expanded=true]{border-color:#8ca0fb;box-shadow:0 0 0 3px #5268eb15}.erp-select-trigger:disabled{color:#8d9aaf;background:#f7f9fc}.erp-select-menu{z-index:60;inset-inline:0;background:#fff;border:1px solid #dfe6f3;border-radius:10px;min-width:min(300px,75vw);padding:7px;position:absolute;top:calc(100% + 5px);box-shadow:0 12px 30px #10213a25}.erp-select-menu>input{width:100%;margin-bottom:7px}.erp-select-menu>div{scrollbar-width:thin;max-height:230px;overflow-y:auto}.erp-select-menu [role=option]{color:#34435c;width:100%;font:inherit;text-align:start;cursor:pointer;background:#fff;border:0;border-radius:6px;justify-content:space-between;gap:8px;padding:10px;font-size:12px;display:flex}.erp-select-menu [role=option].is-active,.erp-select-menu [role=option][aria-selected=true]{color:#5268eb;background:#eef2ff}.erp-select-menu [role=option]:disabled{color:#a2adbc;cursor:not-allowed}.erp-select-menu p{color:#8491a5;padding:14px;font-size:12px}.erp-overview-grid.is-reference{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:24px;margin-bottom:24px}.erp-overview-grid.is-reference>.erp-panel{margin-bottom:0}.erp-profit-ribbon{color:oklch(45% .07 268);background:#f0f3ff;border:1px solid #e0e7ff;border-radius:12px;align-items:center;gap:12px;margin:0 0 22px;padding:14px 18px;font-size:12px;line-height:1.9;display:flex}.erp-profit-ribbon>svg{color:#5268eb;flex-shrink:0;width:19px;height:19px}.erp-profit-ribbon strong{color:#5268eb}.erp-profit-rows{padding:5px 21px 12px}.erp-profit-rows>div{border-bottom:1px solid #eff2f7;align-items:center;gap:16px;padding:16px 0;display:flex}.erp-profit-rows>div:last-child{border:0}.erp-profit-rows>div>div{flex:1;min-width:0}.erp-profit-rows strong{color:var(--text);overflow-wrap:anywhere;font-size:13px;line-height:1.8;display:block}.erp-profit-rows small{color:var(--text-secondary);margin:5px 0 9px;font-size:12px;display:block}.erp-profit-rows b{white-space:nowrap;font-size:14px}.erp-profit-rows .erp-money small{font-size:9px;display:inline}.erp-profit-track{background:#f0f3fa;border-radius:8px;height:5px;overflow:hidden}.erp-profit-track>span{background:#8a99ee;border-radius:8px;height:100%;display:block}.erp-stock-watch>a>span:first-child{flex:1;min-width:0}.erp-stock-footer{padding:0 20px 17px}.erp-stock-footer .btn{min-height:44px;padding:8px 12px;font-size:12px}@media (width<=960px){.erp-overview-grid.is-reference{grid-template-columns:1fr}}.quick-actions-panel{margin-bottom:20px;position:relative}.quick-actions-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;display:grid}.quick-action{text-align:right;font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid #e3e8f4;border-radius:12px;align-items:center;gap:12px;padding:16px;text-decoration:none;transition:box-shadow .15s,transform .15s;display:flex}.quick-action:hover:not(:disabled):not(.is-done){transform:translateY(-1px);box-shadow:0 6px 18px #283c781f}.quick-action:disabled{opacity:.6;cursor:wait}.quick-action.is-done{cursor:default;opacity:.7;background:#f7f9fc}.quick-action-icon{color:#4e6596;background:#edf3ff;border-radius:10px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.quick-action-icon svg{width:22px;height:22px}.quick-action-icon.is-green{color:#1f8a4c;background:#e8f8ef}.quick-action-icon.is-orange{color:#c26a12;background:#fff3e6}.quick-action-icon.is-red{color:#c0392b;background:#fdecec}.quick-action-icon.is-violet{color:#6a4fc9;background:#f1ecff}.quick-action-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.quick-action-text strong{font-size:14px}.quick-action-text small{color:#6b7a99;font-size:11px;line-height:1.6}.quick-action-badge{color:#fff;background:#e74c3c;border-radius:17px;place-items:center;min-width:34px;height:34px;padding:0 8px;font-size:15px;display:grid}.quick-actions-error{color:#c0392b;margin:0}.quick-actions-toast{z-index:2000;color:#fff;border-radius:10px;padding:12px 20px;font-weight:600;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0000002e}.quick-actions-toast.is-ok{background:#1f8a4c}.quick-actions-toast.is-warn{background:#c26a12}.list-quick-actions{margin-block:0 18px}.list-quick-actions__body{background:#fff;border:1px solid #dce3f0;border-radius:12px;margin-top:12px;padding:16px}.list-quick-actions__body>p{margin-block:0 12px;line-height:1.7}.list-quick-actions__toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-block:12px;display:flex}.list-quick-actions__table{max-height:360px;overflow:auto}.list-quick-actions__table th{background:#f5f7fb;position:sticky;top:0}.list-quick-actions__table input[type=checkbox]{cursor:pointer;width:18px;height:18px}.list-quick-actions__id{overflow-wrap:anywhere;color:#64748b;display:block}.list-quick-actions textarea{width:100%;min-height:80px;display:block}.workspace-shell{--sidebar-width:248px;--primary:oklch(57% .2 273);--primary-subtle:oklch(96% .018 273);--focus-ring:oklch(48% .19 268);--primary-dark:#12213b;--text:oklch(29% .04 259);--text-h:var(--text);--heading:"Cairo", Tahoma, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--text-secondary:oklch(48% .035 259);--text-muted:oklch(51% .03 259);--border:oklch(90% .015 260);--surface:oklch(99.7% .002 260);--bg:oklch(97% .008 260);background:var(--bg)}.workspace-shell .sidebar{width:var(--sidebar-width);z-index:40;background:#111d33;border-inline-end:1px solid #1b2a43}.workspace-shell .sidebar-header{text-align:start;flex-direction:row;gap:12px;min-height:94px;padding:24px 21px}.workspace-shell .sidebar-logo{border-radius:13px;width:43px;height:43px;padding:3px}.workspace-shell .sidebar-header h2{letter-spacing:0;font-size:22px;line-height:1.4;display:block}.workspace-shell .sidebar-subtitle{opacity:1;color:oklch(75% .035 259);white-space:nowrap;font-size:11px;display:block}.workspace-shell .sidebar-nav{padding:14px 12px 20px}.workspace-shell .sidebar .nav-item{color:#b0bfd7;border:0;border-radius:10px;justify-content:flex-start;gap:12px;min-height:44px;margin:3px 0;padding:10px 12px;font-size:13px;line-height:1.7}.workspace-shell .sidebar .nav-item span{clip:auto;white-space:normal;border:0;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.workspace-shell .sidebar .nav-item svg{opacity:1;color:#94a8ca;width:19px;height:19px}.workspace-shell .sidebar .nav-item:hover{color:#fff;background:#1b2d48}.workspace-shell .sidebar .nav-item.active{color:#fff;background:#293d72;box-shadow:inset 0 0 0 1px oklch(65% .09 273/.4)}.workspace-shell .sidebar .nav-item.active svg{color:#d5dfff}.workspace-nav-group{margin-top:15px}.workspace-nav-group h2{color:oklch(73% .035 259);margin:20px 13px 9px;font-size:11px;font-weight:700;line-height:1.8}.workspace-nav-group h2 button{color:#8498b8;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:9px 12px;font-weight:700;display:flex}.workspace-nav-group h2 svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.workspace-nav-group h2 button:hover{color:#c9d5e9}.workspace-shell .workspace-nav-count{color:#d5dfff;background:#ffffff15;border-radius:5px;margin-inline-start:auto;padding:0 5px;font-size:10px}.workspace-shell .sidebar-footer{background:#101b2f;align-items:center;gap:10px;padding:17px 19px;display:flex}.workspace-shell .admin-info{flex:1;gap:2px;min-width:0;margin:0}.workspace-shell .admin-name{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.workspace-shell .admin-email{color:oklch(75% .035 259);opacity:1;font-size:11px}.workspace-user-avatar,.workspace-topbar-avatar{color:#fff;background:#304669;border-radius:11px;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:15px;font-weight:800;display:grid}.workspace-logout,.workspace-mobile-close{color:#9bafd0;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.workspace-logout svg,.workspace-mobile-close svg{width:18px;height:18px}.workspace-logout:hover{color:#fff;background:#ffffff10}.workspace-shell>.main-content{margin:0 var(--sidebar-width) 0 0;background:var(--bg);padding:0;scroll-padding-top:96px}.workspace-shell>.main-content:focus{outline:none}.workspace-topbar{z-index:25;background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:14px 30px;display:flex;position:sticky;top:0}.workspace-topbar-main,.workspace-topbar-actions{align-items:center;gap:14px;min-width:0;display:flex}.workspace-breadcrumb{color:#a0aabb;align-items:center;gap:12px;min-width:0;font-size:11px;display:flex}.workspace-breadcrumb a{color:var(--text-secondary);white-space:nowrap;text-decoration:none}.workspace-breadcrumb strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.workspace-topbar-avatar{color:#3b56aa;background:#eef2ff;border-radius:10px;width:34px;height:34px}.workspace-date{color:var(--text-secondary);white-space:nowrap;font-size:12px}.workspace-body{max-width:1650px;margin:0 auto;padding:30px 32px 60px}.workspace-shell .workspace-menu-toggle,.workspace-mobile-close,.workspace-backdrop{display:none}.workspace-skip{z-index:1000;color:#1e3a8a;background:#fff;border:2px solid #3859d6;border-radius:8px;padding:12px 20px;position:fixed;top:-100px;right:20px}.workspace-skip:focus{top:10px}.workspace-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.workspace-shell .sidebar :is(a,button):focus-visible{outline-offset:-3px;outline-color:oklch(85% .07 273)}.workspace-body .page-header{flex-wrap:wrap;gap:16px}.workspace-body .page-header h1{letter-spacing:0;margin:0;line-height:1.5}@media (width<=1200px){.workspace-shell{--sidebar-width:226px}.workspace-body{padding:24px}.workspace-topbar{padding-inline:24px}}@media (width<=1024px){.workspace-shell>.main-content{width:100%;margin:0}.workspace-shell .sidebar{width:min(290px,86vw);display:none}.workspace-shell .sidebar.is-open{display:flex}.workspace-shell .workspace-menu-toggle,.workspace-shell .workspace-mobile-close{flex-shrink:0;display:grid}.workspace-shell .workspace-mobile-close{margin-inline-start:auto}.workspace-shell .workspace-backdrop{z-index:35;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b172c66;border:0;display:block;position:fixed;inset:0}.workspace-body{padding:22px 20px 40px}.workspace-topbar{min-height:66px;padding:12px 20px}}@media (width<=600px){.workspace-body{padding:22px 14px 36px}.workspace-topbar{gap:8px;min-height:62px;padding:10px 14px}.workspace-date,.workspace-breadcrumb a,.workspace-breadcrumb>span{display:none}.workspace-topbar-main,.workspace-topbar-actions{gap:9px}.workspace-breadcrumb strong{font-size:13px}.workspace-shell .erp-icon-button,.workspace-logout,.workspace-shell .workspace-mobile-close{width:44px;height:44px}.workspace-shell .sidebar .nav-item{font-size:14px}.workspace-topbar-avatar{width:30px;height:30px}}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-400-normal.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-400-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-500-normal.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-500-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-600-normal.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-600-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-arabic-700-normal.woff2)format("woff2");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic/ibm-plex-sans-arabic-latin-700-normal.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.workspace-shell.workspace-shell{--brand:#2563eb;--brand-deep:#1d4ed8;--brand-light:#eff6ff;--ink:#0f172a;--ink-2:#475569;--muted:#7c8798;--line:#e5e9f0;--line-2:#eef1f6;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-light:#60a5fa;--primary-subtle:#eff6ff;--bg:#f6f8fb;--text:#0f172a;--text-h:#0f172a;--text-secondary:#475569;--text-muted:#7c8798;--border:#e5e9f0;--radius:15px;--heading:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);font-family:IBM Plex Sans Arabic,Tahoma,Arial,sans-serif}body{background:#f6f8fb;font-family:IBM Plex Sans Arabic,Tahoma,Arial,sans-serif}.workspace-shell button,.workspace-shell input,.workspace-shell select,.workspace-shell textarea{font-family:inherit}.workspace-shell.workspace-shell .sidebar{border-inline-end:0;border-left:1px solid var(--line);color:var(--ink);background:#fff}.workspace-shell.workspace-shell .sidebar-header{border-bottom:1px solid var(--line-2);min-height:0;padding:25px 22px 22px}.workspace-shell.workspace-shell .sidebar-logo{background:#fff;border-radius:13px;width:42px;height:42px;box-shadow:0 4px 10px #2563eb26}.workspace-shell.workspace-shell .sidebar-header h2{letter-spacing:-.4px;color:var(--ink);font-size:20px;font-weight:700;line-height:1.25}.workspace-shell.workspace-shell .sidebar-subtitle{color:var(--muted);margin-top:3px;font-size:10.5px}.workspace-shell.workspace-shell .sidebar-nav{scrollbar-width:thin;padding:15px 12px 22px}.workspace-shell .workspace-nav-group{margin:13px 0 21px}.workspace-shell .workspace-nav-group h2{color:#99a4a8;letter-spacing:.1px;margin:0;padding:0 13px 9px;font-size:10.5px;font-weight:600}.workspace-shell.workspace-shell .sidebar .nav-item{color:#64748b;border-radius:9px;gap:12px;height:41px;min-height:41px;margin:2px 0;padding:0 13px;font-size:12.25px;font-weight:500;transition:all .18s;position:relative}.workspace-shell.workspace-shell .sidebar .nav-item svg{color:currentColor;opacity:.88;width:17px;height:17px}.workspace-shell.workspace-shell .sidebar .nav-item:hover{color:var(--ink);background:#f5f8fc}.workspace-shell.workspace-shell .sidebar .nav-item.active{background:var(--brand-light);color:var(--brand-deep);box-shadow:none;font-weight:700}.workspace-shell.workspace-shell .sidebar .nav-item.active svg{color:var(--brand-deep)}.workspace-shell.workspace-shell .sidebar .nav-item.active:before{content:"";background:var(--brand);border-radius:3px;width:3px;height:21px;position:absolute;top:10px;right:0}.workspace-shell.workspace-shell .workspace-nav-count{background:var(--brand-light);color:var(--brand)}.workspace-shell.workspace-shell .sidebar-footer{border-top:1px solid var(--line-2);background:#fff;padding:14px 17px}.workspace-shell.workspace-shell .admin-name{color:var(--ink);font-size:12px;font-weight:600}.workspace-shell.workspace-shell .admin-email{color:var(--muted);font-size:10px}.workspace-shell .workspace-user-avatar,.workspace-shell .workspace-topbar-avatar{color:var(--brand-deep);background:#dbe7fb;font-weight:700}.workspace-shell .workspace-user-avatar{border-radius:11px;width:34px;height:34px}.workspace-shell .workspace-topbar-avatar{border-radius:10px;width:31px;height:31px}.workspace-shell.workspace-shell .workspace-logout,.workspace-shell.workspace-shell .workspace-mobile-close{color:#adb7b6}.workspace-shell.workspace-shell .workspace-logout:hover{color:var(--brand);background:#f5f8fc}.workspace-shell .workspace-topbar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);background:#ffffffd9;min-height:73px;padding:0 37px}.workspace-shell .workspace-breadcrumb{color:#8a979b;gap:10px;font-size:12px}.workspace-shell .workspace-breadcrumb a{color:#8a979b}.workspace-shell .workspace-breadcrumb strong{color:#3b4a63;font-size:12px;font-weight:600}.workspace-shell .workspace-date{color:#7d8c90;font-size:11.5px}.workspace-shell .workspace-topbar-actions{gap:17px}.workspace-shell .workspace-topbar .erp-icon-button{border:1px solid var(--line);color:#6f8084;background:#fff;border-radius:10px;width:34px;height:34px}.workspace-shell .workspace-topbar .erp-icon-button:hover{color:var(--brand);border-color:#bfdbfe}.workspace-shell .workspace-body{max-width:1660px;padding:32px 37px 48px}.workspace-shell .availability-alert{color:#3b5b8f;background:#f0f6ff;border:1px solid #dbeafe;border-radius:12px;align-items:center;gap:12px;margin-bottom:21px;padding:13px 16px;font-size:11.6px;display:flex}.workspace-shell .availability-alert a{color:#1e40af;text-underline-offset:3px;font-weight:700;text-decoration:underline}.workspace-shell .btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.workspace-shell .btn-primary:hover:not(:disabled){background:var(--brand-deep);border-color:var(--brand-deep)}.workspace-shell .btn-outline{border-color:var(--line);color:var(--ink-2);background:#fff}.workspace-shell .btn-outline:hover:not(:disabled){color:var(--brand-deep);background:#fbfcfe;border-color:#bfdbfe}.workspace-shell .page-header h1{letter-spacing:-.8px;color:var(--ink);font-size:25px;font-weight:700}.workspace-shell .table-container{border:1px solid var(--line);background:#fff;border-radius:17px;box-shadow:0 8px 30px #1e3a8a09}.workspace-shell .table-container th{color:#819094;border-bottom:1px solid var(--line);background:#fbfcfc;font-size:10.5px;font-weight:600}.workspace-shell .table-container td{color:#52607a;border-bottom:1px solid #f0f2f6}.workspace-shell .form-group input:focus,.workspace-shell .form-group select:focus,.workspace-shell .form-group textarea:focus,.workspace-shell .search-bar input:focus{border-color:#93c5fd;outline:0;box-shadow:0 0 0 3px #eff6ff}@media (width<=1350px){.workspace-shell .workspace-body{padding:28px 26px 40px}.workspace-shell .workspace-topbar{padding:0 26px}}@media (width<=1024px){.workspace-shell .workspace-topbar{min-height:64px;padding:0 16px}.workspace-shell .workspace-body{padding:23px 16px 35px}}.workspace-shell.workspace-shell{--muted:#64748b;--line:#e2e8f0;--border:#e2e8f0;--text-muted:#64748b;--success:#2563eb;--success-bg:#eff6ff}.workspace-shell.workspace-shell .sidebar .nav-item{color:#475569}.workspace-shell .workspace-nav-group h2,.workspace-shell .workspace-breadcrumb,.workspace-shell .workspace-date{color:#64748b}.erp-overview{max-width:1440px;margin-inline:auto}.erp-overview .erp-page-heading{gap:20px;margin-bottom:24px}.erp-overview .erp-page-heading h1{font-size:25px;line-height:1.6}.erp-overview .erp-page-heading p{max-width:65ch;font-size:14px;line-height:1.8}.erp-overview .erp-heading-actions{flex-wrap:wrap;gap:10px}.erp-overview .erp-heading-actions>.btn{min-height:44px}.overview-inventory-summary{margin-bottom:24px}.overview-inventory-summary>header{margin-bottom:14px}.overview-inventory-summary h2{color:var(--text);margin:0 0 4px;font-size:18px}.overview-inventory-summary p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.8}.erp-overview .quick-actions-panel{overflow:hidden}.erp-overview .quick-actions-panel .erp-panel-header{align-items:flex-start;gap:14px}.erp-overview .quick-actions-panel .erp-panel-header>small{color:var(--text-secondary);font-size:12px;line-height:1.8}.erp-overview .quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0 20px 12px}.erp-overview .quick-action{border:0;border-bottom:1px solid var(--border);text-align:start;background:0 0;border-radius:0;gap:14px;min-width:0;min-height:94px;padding:16px 12px;transition:background-color .15s}.erp-overview .quick-action:nth-child(odd){margin-inline-end:20px}.erp-overview .quick-action:hover:not(:disabled):not(.is-done){background:var(--primary-subtle);box-shadow:none;transform:none}.erp-overview .quick-action.is-done{opacity:1;cursor:pointer;background:0 0}.erp-overview button.quick-action:disabled{cursor:default;opacity:1}.erp-overview .quick-action.is-done .quick-action-icon{color:var(--text-secondary);background:var(--bg)}.erp-overview .quick-action-text strong{font-size:14px;line-height:1.8}.erp-overview .quick-action-text small{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px;line-height:1.8}.erp-overview .quick-action-badge{min-width:44px;height:auto;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border-radius:0;flex-shrink:0;padding:0;font-size:24px;font-weight:800}.erp-overview .quick-action.is-done .quick-action-badge{color:var(--text-secondary)}.erp-overview .erp-metrics-note{color:var(--text-secondary);margin:0 0 14px;font-size:13px;line-height:1.9}.erp-overview .erp-metric{min-width:0;min-height:150px;padding:20px}.erp-overview .erp-metric-heading>span:first-child{font-size:13px}.erp-overview .erp-metric>strong{font-size:28px}.erp-overview .erp-metric-foot{flex-wrap:wrap;align-items:flex-start;gap:8px;font-size:12px}.erp-overview .erp-metric-foot>span{overflow-wrap:anywhere}.erp-overview .erp-metric-foot .erp-money{white-space:normal}.erp-overview .erp-overview-grid.is-single{grid-template-columns:minmax(0,1fr)}.erp-overview .erp-stock-watch>a{min-height:76px}.erp-overview :is(a,button,select,input):focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media (width<=1100px){.erp-overview .erp-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-overview .erp-page-heading{flex-wrap:wrap}}@media (width<=640px){.erp-overview .quick-actions-grid{grid-template-columns:minmax(0,1fr);padding-inline:12px}.erp-overview .quick-action:nth-child(odd){margin-inline-end:0}.erp-overview .erp-heading-actions{width:100%}.erp-overview .erp-heading-actions>.btn{flex:1}.erp-overview .erp-stock-watch>a{flex-wrap:wrap;gap:10px}}@media (width<=430px){.erp-overview .erp-kpi-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.erp-overview .quick-action{transition:none}}.product-bulk-editor fieldset{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.product-bulk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.product-bulk-editor label{color:#334155;gap:8px;font-size:14px;font-weight:700;display:grid}.product-bulk-editor input,.product-bulk-editor select,.product-bulk-editor textarea{color:#0f172a;width:100%;min-height:44px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.product-bulk-editor input:focus-visible,.product-bulk-editor select:focus-visible,.product-bulk-editor textarea:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.product-bulk-editor .product-bulk-check{align-items:center;gap:8px;display:flex}.product-bulk-check input{width:20px;min-height:20px}.product-bulk-hint{color:#475569;background:#f1f6ff;border-inline-start:3px solid #2563eb;margin:0;padding:12px;font-size:13px;line-height:1.8}.product-bulk-error{color:#991b1b}@media (width<=600px){.product-bulk-grid{grid-template-columns:1fr}}.product-import{gap:14px;display:grid}.product-import-guide{background:#f8fbff;border:1px solid #c7d6f7;border-radius:12px;padding:16px}.product-import h3{color:#1e3a5f;margin:0 0 12px;font-size:16px}.product-import-guide p{color:#475569;margin:10px 0 0;font-size:13px;line-height:1.8}.product-import-columns{flex-wrap:wrap;gap:8px;display:flex}.product-import-columns span{color:#1d4ed8;background:#fff;border:1px solid #dbe5fb;border-radius:8px;gap:3px;padding:8px 14px;font-weight:700;display:grid}.product-import-columns bdi{color:#64748b;font-size:12px;font-weight:400}.product-import-file{gap:8px;font-weight:700;display:grid}.product-import-file input{box-sizing:border-box;width:100%;min-height:44px;font:inherit;background:#fff;border:1px dashed #94b4e8;border-radius:8px;padding:10px}.product-import-file input:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.product-import-file-note{overflow-wrap:anywhere;color:#64748b;margin:0;font-size:13px}.product-import-result{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:16px}.product-import-result.is-error{background:#fff7f7;border-color:#fecaca}.product-import-counts{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0;display:grid}.product-import-counts div{background:#fff;border-radius:8px;padding:10px}.product-import-counts dt{color:#475569;font-size:12px}.product-import-counts dd{color:#1e3a5f;margin:6px 0 0;font-size:24px;font-weight:700}.product-import-error{color:#991b1b}.product-import-errors{max-height:280px;overflow:auto}.product-import-errors table{text-align:start;width:100%;font-size:13px}.product-import-errors th,.product-import-errors td{text-align:start;white-space:normal;overflow-wrap:anywhere;padding:10px}@media (width<=600px){.product-import-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.product-import-guide{padding:12px}}.fdd{flex:0 200px;min-width:170px;position:relative}.fdd-btn{width:100%;min-height:44px;font:inherit;cursor:pointer;color:#0f172a;text-align:right;background:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.fdd-btn span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fdd-btn i{color:#64748b;font-style:normal}.fdd-btn.is-set{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.fdd-btn:focus-visible,.fdd-btn[aria-expanded=true]{outline-offset:1px;border-color:#2563eb;outline:2px solid #2563eb}.fdd-btn:disabled{cursor:progress;color:#94a3b8;background:#f8fafc}.fdd-pop{z-index:60;background:#fff;border:1px solid #bfdbfe;border-radius:12px;width:max(100%,260px);padding:8px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #0f172a26}.fdd-search{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cbd5e1;border-radius:8px;margin-bottom:6px;padding:8px 10px}.fdd-search:focus{border-color:#2563eb;outline:2px solid #2563eb}.fdd-list{max-height:300px;margin:0;padding:0;list-style:none;overflow:auto}.fdd-list li{cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.fdd-list li.is-active{background:#eff6ff}.fdd-list li.is-selected{color:#2563eb;font-weight:700}.fdd-list li b{color:#475569;background:#f1f5f9;border-radius:999px;padding:1px 8px;font-size:12px}.fdd-list li.fdd-empty{color:#94a3b8;cursor:default}.products-page{box-sizing:border-box;width:100%;max-width:100%}.products-page .page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.products-page .page-header h1{color:#0f172a;margin:0;font-size:18px;font-weight:800}.products-page-hint{color:#64748b;margin:2px 0 0;font-size:12px}.products-page .products-sections{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:0;margin-bottom:10px;padding:2px;display:inline-flex}.products-page .products-section{color:#64748b;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:6px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.products-page .products-section:hover{color:#334155;background:#fff9}.products-page .products-section--selected{color:var(--primary,#2563eb);background:#fff;border-color:#0000000f;font-weight:700;box-shadow:0 1px 3px #00000014}.products-page .products-section--zero{color:#9a3412}.products-page .products-section--zero.products-section--selected{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.products-page .products-section--low.products-section--selected{color:#b45309;border-color:#fde68a}.products-page .products-section-count{color:#9a3412;background:#ffedd5;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;display:inline-flex}.products-page .products-zero-banner{color:#7c2d12;background:#fffaf5;border:1px solid #fed7aa;border-radius:8px;margin-bottom:10px;padding:10px 14px;font-size:12px}.products-page .products-zero-banner h2{margin:0 0 4px;font-size:14px}.products-page .products-zero-banner p{margin:2px 0;line-height:1.4}.products-page .products-bulk-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.products-page .products-bulk-actions .btn{padding:5px 10px;font-size:11px}.products-page .products-notice{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:10px;padding:8px 12px;font-size:12px;display:flex}.products-page .products-notice--error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.products-page .products-spinner{border:2px solid;border-inline-start-color:#0000;border-radius:50%;width:14px;height:14px;margin-inline-end:6px;animation:.7s linear infinite products-spin;display:inline-block}@keyframes products-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.products-page .products-spinner{animation:none}}.products-filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:8px;margin-bottom:10px;padding:10px 14px;display:flex;box-shadow:0 1px 2px #00000008}.products-filter-panel .search-bar{width:100%;margin:0}.products-filter-panel .products-search{width:100%;min-height:36px;font:inherit;box-sizing:border-box;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:0 12px;font-size:13px;transition:all .15s}.products-filter-panel .products-search:focus{border-color:var(--primary,#2563eb);background:#fff;outline:none;box-shadow:0 0 0 2px #2563eb1f}.products-filter-panel .products-filters--facets{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.facet-picker{min-width:160px;position:relative}.facet-picker summary{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex-direction:column;justify-content:center;min-height:36px;padding:3px 24px 3px 10px;font-size:12px;list-style:none;display:flex;position:relative}.facet-picker summary::-webkit-details-marker{display:none}.facet-picker summary:after{content:"▾";color:#64748b;font-size:11px;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.facet-picker-label{color:#64748b;font-size:10px;line-height:1.1}.facet-picker strong{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:140px;font-size:12px;overflow:hidden}.facet-picker--active summary{color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.facet-picker-pop{z-index:50;inset-inline-start:0;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:220px;padding:6px;position:absolute;top:calc(100% + 4px);box-shadow:0 10px 24px #0f172a1f}.facet-picker-search{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-height:32px;margin-bottom:4px;padding:0 8px;font-size:12px}.facet-picker-list{gap:1px;max-height:220px;display:grid;overflow-y:auto}.facet-picker-list button{text-align:start;cursor:pointer;font:inherit;color:#1e293b;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:flex}.facet-picker-list button:hover,.facet-picker-list button[aria-selected=true]{color:#1d4ed8;background:#eff6ff}.facet-picker-list button.is-empty{color:#94a3b8}.facet-picker-list button[hidden]{display:none}.facet-count{text-align:center;color:#475569;background:#f1f5f9;border-radius:999px;min-width:20px;padding:1px 6px;font-size:10.5px}.products-extra-filters{border-top:1px solid #f1f5f9;padding-top:6px}.products-extra-filters>summary{cursor:pointer;color:#475569;padding:3px 0;font-size:12px;font-weight:600}.products-extra-filters[open]>summary{margin-bottom:8px}.products-extra-filters .products-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:8px;display:grid}.products-extra-filters label{color:#475569;flex-direction:column;gap:3px;font-size:11.5px;display:flex}.products-extra-filters select,.products-extra-filters input{min-height:32px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:0 8px;font-size:12px}.products-price-range{align-items:center;gap:4px;font-size:12px;display:flex}.products-price-range input{text-align:center;border:1px solid #cbd5e1;border-radius:6px;width:70px;min-height:32px;padding:0 6px;font-size:12px}.products-price-unit{color:#64748b;font-size:11px}.products-filter-summary{flex-wrap:wrap;align-items:center;gap:6px 10px;padding-top:0;font-size:11px;display:flex}.products-result-count{color:#0f172a;background:#f1f5f9;border-radius:10px;padding:2px 7px;font-size:11px;font-weight:700}.products-updating{color:#3b82f6;font-size:11px}.products-text-action{color:var(--primary,#2563eb);font:inherit;cursor:pointer;background:0 0;border:0;padding:2px 3px;font-size:11px;font-weight:600}.products-text-action:hover{text-decoration:underline}.products-text-action:disabled{color:#94a3b8;cursor:not-allowed;text-decoration:none}.products-quantity{color:#475569;align-items:center;gap:6px;font-size:12px;display:inline-flex}.products-quantity input{width:55px;font:inherit;text-align:center;border:1px solid #cbd5e1;border-radius:5px;padding:3px 6px;font-size:12px}.products-chip{color:#1d4ed8;cursor:pointer;font:inherit;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11.5px;display:inline-flex}.products-chip--clear{color:#b91c1c;background:#fff;border-color:#fecaca}.products-catalog-health{background:#fafbfc;border:1px solid #e2e8f0;border-radius:6px;margin-bottom:10px;padding:6px 10px}.products-catalog-health>summary{cursor:pointer;list-style:none}.products-catalog-health>summary::-webkit-details-marker{display:none}.catalog-health-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.catalog-health-heading h2{color:#475569;margin:0;font-size:12px;font-weight:700}.catalog-health-heading p{color:#94a3b8;margin:0;font-size:10px}.catalog-health-progress{align-items:center;gap:6px;display:flex}.catalog-health-progress strong{color:#166534;font-size:12px}.catalog-health-progress span{color:#94a3b8;font-size:10px}.catalog-health-progress progress{accent-color:#16a34a;width:60px;height:4px}.catalog-health-checks{border-top:1px solid #e2e8f0;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:4px;margin-top:6px;padding-top:6px;display:grid}.catalog-check{text-align:start;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:4px;flex-direction:column;gap:1px;padding:4px 6px;transition:all .1s;display:flex}.catalog-check:hover{background:#f8fbff;border-color:#93b7ed}.catalog-check.is-active{background:#eff6ff;border-color:#2563eb}.catalog-check>span{color:#64748b;font-size:9.5px;font-weight:600}.catalog-check>strong{color:#1e293b;font-size:13px;line-height:1.1}.catalog-check>small{color:#94a3b8;font-size:9px}.catalog-check[data-check=missing_price]>strong{color:#b45309}.catalog-check[data-check=complete]>strong{color:#166534}.products-page .products-selection-bar{background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;display:flex;box-shadow:0 2px 6px #2563eb14}.products-selection-heading{align-items:center;gap:10px;display:flex}.products-selection-heading strong{color:#1d4ed8;font-size:13px}.products-selection-heading span{color:#64748b;font-size:11.5px}.products-selection-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.products-selection-menu{position:relative}.products-selection-menu>summary{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;min-height:28px;padding:4px 8px;font-size:12px;display:flex}.products-selection-menu>summary::-webkit-details-marker{display:none}.products-selection-menu>summary:after{content:" ▾";color:#64748b}.products-selection-menu>div{z-index:50;inset-inline-start:0;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:180px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);box-shadow:0 10px 24px #0f172a1f}.products-selection-menu button{text-align:start;color:#334155;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:5px;padding:8px 10px;font-size:12px}.products-selection-menu button:hover{color:#1d4ed8;background:#eff6ff}.products-bulk-progress{color:#1d4ed8;align-items:center;gap:6px;font-size:11.5px;display:flex}.products-bulk-progress progress{accent-color:#2563eb;width:80px;height:5px}.products-bulk-results{background:#fffaf5;border:1px solid #fed7aa;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:12px}.products-bulk-results summary{cursor:pointer;color:#92400e;font-weight:700}.products-bulk-results>div{max-height:200px;margin-top:8px;overflow:auto}.products-page .table-container{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;overflow-x:hidden}.products-page table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.products-page th{color:#475569;text-align:right;white-space:nowrap;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:8px;font-size:12px;font-weight:700}.products-page td{vertical-align:top;box-sizing:border-box;border-bottom:1px solid #f1f5f9;padding:8px;font-size:13px;line-height:1.4}.products-page tbody tr{transition:background-color .1s}.products-page tbody tr:hover{background-color:#fafbfd}.products-page tr.is-selected{background-color:#eff6ff!important}.products-page tr.is-editing{background-color:#f0f7ff!important}.products-page .products-empty{text-align:center;color:#94a3b8;padding:28px 16px;font-size:13px}.products-page th.products-check,.products-page td.products-check{text-align:center;width:34px;padding:0 4px}.products-page th:nth-child(2),.products-page td.product-inline-identity{text-align:right;width:25%}.products-page th:nth-child(3),.products-page td.product-classification{text-align:right;width:16%}.products-page th:nth-child(4),.products-page td.product-inline-money:not(.is-cost),.products-page th:nth-child(5),.products-page td.product-inline-money.is-cost{text-align:right;width:12%}.products-page th:nth-child(6),.products-page td.product-inline-stock{text-align:center;width:10%}.products-page th:nth-child(7),.products-page td:nth-child(7){text-align:center;width:8%}.products-page th:nth-child(8),.products-page td.product-actions{text-align:right;width:17%}.products-page input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.products-page input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.products-page input[type=number]{-moz-appearance:textfield}.products-page :is(td input:not([type=checkbox]),td textarea){box-sizing:border-box;color:#0f172a;width:100%;min-width:0;min-height:28px;font:inherit;cursor:text;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:2px 6px;font-size:12.5px;transition:all .12s}.products-page :is(td input:not([type=checkbox]),td textarea):hover{background:#f8fafc;border-color:#94a3b8}.products-page :is(td input:not([type=checkbox]),td textarea):focus{outline:none;border-color:var(--primary,#2563eb)!important;background:#fff!important;box-shadow:0 0 0 2px #2563eb33!important}.products-page td input:disabled{opacity:.6;cursor:wait;background:#f1f5f9}.products-page .product-cell{align-items:center;gap:8px;min-width:0;display:flex}.products-page .product-thumb{object-fit:cover;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;width:36px;min-width:36px;height:36px}.products-page .product-image-empty{color:#94a3b8;width:36px;min-width:36px;height:36px;font:inherit;cursor:pointer;background:#fafbfc;border:1px dashed #cbd5e1;border-radius:6px;justify-content:center;align-items:center;padding:0;font-size:10px;display:flex}.products-page .product-image-empty:hover{color:#2563eb;background:#eff6ff;border-color:#3b82f6}.products-page .product-cell-name{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.products-page td input[aria-label^=اسم\ الصنف]{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.products-page td input[aria-label^=الكود]{color:#64748b;font-size:11px;font-weight:600;font-family:var(--font-mono,monospace);background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;width:fit-content;max-width:95px;min-height:22px;padding:1px 5px}.products-page td input[aria-label^=الكود]:focus{background:#fff;border-color:#2563eb}.products-page .product-inline-extras{color:#64748b;margin-top:3px;font-size:11px}.products-page .product-inline-extras summary{cursor:pointer;color:#2563eb;text-align:right;padding:2px 0;font-size:11px;font-weight:600}.products-page .product-inline-extras textarea{resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:5px;margin-top:4px}.products-page .product-classification{overflow:visible}.products-page .product-classification .fdd{width:100%!important;min-width:0!important;max-width:100%!important}.products-page .product-classification .fdd-btn{color:#334155;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;min-height:26px;padding:2px 6px;font-size:11px;font-weight:500;overflow:hidden;width:100%!important;min-width:0!important;max-width:100%!important}.products-page .product-classification .fdd-btn:hover{background:#f8fafc;border-color:#94a3b8}.products-page .product-classification .fdd+.fdd{margin-top:3px}.products-page .product-inline-money{text-align:right}.products-page .product-inline-money input[type=number]{color:#0f172a;text-align:right;font-variant-numeric:tabular-nums;box-sizing:border-box;direction:ltr;background:#fff;border:1px solid #cbd5e1;border-radius:4px;width:78px;max-width:100%;min-height:28px;padding:2px 6px;font-size:13px;font-weight:700}.products-page .product-inline-money input[type=number]:focus{border-color:var(--primary,#2563eb);box-shadow:0 0 0 2px #2563eb33}.products-page .product-inline-money.is-cost input[type=number]{color:#475569;border-color:#cbd5e1;width:78px;max-width:100%;min-height:28px;padding:2px 6px;font-size:12.5px;font-weight:600}.products-page .product-inline-money small{color:#64748b;text-align:right;white-space:nowrap;margin-top:2px;font-size:10.5px;font-weight:500;line-height:1.3;display:block}.products-page .product-inline-money small:nth-of-type(2){color:#1d4ed8;font-weight:700}.products-page .product-inline-stock{text-align:center}.products-page .product-inline-stock input[type=number]{color:#0f172a;text-align:center;font-variant-numeric:tabular-nums;box-sizing:border-box;direction:ltr;background:#fff;border:1px solid #cbd5e1;border-radius:4px;width:68px;max-width:100%;min-height:28px;padding:2px 4px;font-size:13px;font-weight:700}.products-page .product-inline-stock input[type=number]:focus{border-color:var(--primary,#2563eb);box-shadow:0 0 0 2px #2563eb33}.products-page .product-inline-stock small{color:#64748b;text-align:center;white-space:nowrap;margin-top:2px;font-size:10.5px;font-weight:500;display:block}.products-page .product-stock-edit{color:var(--primary,#2563eb);cursor:pointer;background:0 0;border:none;margin-top:2px;padding:2px 4px;font-size:10.5px;font-weight:600;display:inline-block}.products-page .product-stock-edit:hover{text-decoration:underline}.products-page .product-state{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.products-page .product-state.is-on{color:#15803d;background:#dcfce7}.products-page .product-state.is-off{color:#64748b;background:#f1f5f9}.products-page .product-state:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.products-page .product-actions-wrap{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:3px;display:flex}.products-page .product-actions-wrap form{gap:3px;display:inline-flex}.products-page .product-inline-save{white-space:nowrap;border-radius:4px;min-height:26px;padding:3px 8px;font-size:11px;font-weight:700}.products-page .product-inline-save:disabled{display:none}.products-page .product-row-quiet{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:600;line-height:1.4;transition:all .12s}.products-page .product-row-quiet:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.products-page .product-row-quiet.is-danger{color:#b91c1c;background:#fff;border-color:#fecaca}.products-page .product-row-quiet.is-danger:hover{color:#991b1b;background:#fef2f2;border-color:#f87171}.products-page .product-row-quiet:disabled{color:#cbd5e1;cursor:not-allowed;border-color:#f1f5f9}.product-inline-error{white-space:normal;color:var(--danger,#b91c1c);margin-top:2px;font-size:10px;line-height:1.3;display:block}.products-page .product-inline-variant{margin-bottom:1px}.products-page .pagination{justify-content:center;align-items:center;gap:10px;margin-top:10px;font-size:12px;display:flex}.products-page .pagination button{cursor:pointer;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 12px;font-size:12px}.products-page .pagination button:disabled{opacity:.5;cursor:not-allowed}@media (width<=1024px){.products-page .table-container{overflow-x:auto}.products-page table{min-width:780px}}@media (width<=640px){.products-filter-panel{flex-direction:column}.products-filter-panel .search-bar,.products-filter-panel .products-filters--facets,.facet-picker{width:100%;min-width:0}}.product-editor{max-width:1400px;margin-inline:auto}.product-editor-header{justify-content:space-between;align-items:center;gap:20px;padding-block:12px 22px;display:flex}.product-editor-header h1{overflow-wrap:anywhere;margin:0;font-size:22px;font-weight:700;line-height:1.5}.product-editor-header p,.product-editor-hint{color:var(--text-secondary);margin:6px 0 0;font-size:12px;line-height:1.7}.product-editor-actions{flex-shrink:0;gap:8px;display:flex}.product-editor .btn{box-shadow:none;border-radius:6px;font-weight:600}.product-editor-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px;display:grid}.product-editor-main,.product-editor-aside{flex-direction:column;gap:16px;min-width:0;display:flex}.product-editor-section,.product-editor .form-card-senior{background:var(--surface);border:1px solid var(--border);box-shadow:none;border-radius:8px;padding:20px}.product-editor .form-card-senior:focus-within{border-color:var(--border);box-shadow:none}.product-editor-section-heading,.product-editor .card-title-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;display:flex}.product-editor-section-heading h2{margin:0;font-size:15px;font-weight:700}.product-editor-section-heading>span,.product-editor-extra>summary>span{color:var(--text-secondary);font-size:11px;font-weight:400}.product-editor-fields,.product-editor-unit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.product-editor .product-editor-money-fields{display:contents!important}.product-editor .form-group{min-width:0;margin:0}.product-editor-wide{grid-column:1/-1}.product-editor .form-group>label{margin-bottom:6px;font-size:12px;font-weight:600;display:block}.product-editor input:not([type=checkbox]):not([type=file]):not([type=radio]),.product-editor textarea{box-sizing:border-box;border-radius:6px;width:100%;min-width:0;font-size:14px}.product-editor input:not([type=checkbox]):not([type=file]):not([type=radio]){min-height:40px}.product-editor-big-unit{margin-top:20px}.product-editor-unit-entry{align-items:center;gap:8px;display:flex}.product-editor-unit-entry .btn{flex-shrink:0;font-size:12px}.product-editor-unit-error{color:var(--danger,#b91c1c);margin-top:8px;font-size:12px}.product-editor-unit-options{border:0;min-width:0;margin:0 0 16px;padding:0}.product-editor-unit-options legend{margin-bottom:8px;font-size:12px;font-weight:600}.product-editor-unit-choices{flex-wrap:wrap;gap:8px;display:flex}.product-editor-unit-choice{cursor:pointer;position:relative}.product-editor-unit-choice input{opacity:0;width:1px;height:1px;position:absolute}.product-editor-unit-choice span{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:6px;padding:8px 16px;font-size:13px;display:block}.product-editor-unit-choice input:checked+span{border-color:var(--primary);color:var(--primary);background:#eff6ff;font-weight:600}.product-editor-unit-choice input:focus-visible+span{outline:2px solid var(--primary);outline-offset:3px}.product-editor-extra>summary{cursor:pointer;font-size:13px;font-weight:600}.product-editor-extra>summary>span{margin-inline-start:8px}.product-editor-extra[open]>summary{border-bottom:1px solid var(--border);margin-bottom:16px;padding-bottom:16px}.product-editor-check{cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.product-editor-check input{width:16px;height:16px;accent-color:var(--primary);flex-shrink:0}.product-editor-file{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.product-editor-upload{border:1px dashed var(--border);background:var(--background,#f8fafc);color:var(--text-secondary);cursor:pointer;text-align:center;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px 10px;font-size:12px;display:flex}.product-editor-upload strong{color:var(--primary);font-size:13px}.product-editor-file:focus-visible+.product-editor-upload,.product-editor summary:focus-visible,.product-editor-upload.is-dragging{outline:2px solid var(--primary);outline-offset:3px}.product-editor-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.product-editor-image{aspect-ratio:1;border:1px solid var(--border);border-radius:6px;position:relative;overflow:hidden}.product-editor-image-open{background:var(--surface);cursor:zoom-in;border:0;width:100%;height:100%;padding:6px}.product-editor-image img{object-fit:contain;width:100%;height:100%}.product-editor-image>span{bottom:0;text-align:center;background:var(--surface);color:var(--text-secondary);pointer-events:none;font-size:10px;position:absolute;inset-inline:0}.product-editor-image-remove{top:4px;border:1px solid var(--border);background:var(--surface);width:26px;height:26px;color:var(--danger);cursor:pointer;border-radius:4px;font-size:18px;position:absolute;inset-inline-end:4px}.product-editor-offers-link{padding-inline:2px;font-size:12px}.product-editor-notice{color:#047857;background:#ecfdf5;border-radius:6px;margin-bottom:16px;padding:12px 16px;font-size:13px}.product-editor-notice.is-error{color:#b91c1c;background:#fef2f2}@media (width<=1100px){.product-editor-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}}@media (width<=800px){.product-editor-layout{grid-template-columns:minmax(0,1fr)}.product-editor-header{flex-direction:column;align-items:stretch;gap:12px}.product-editor-actions .btn{flex:1}.product-editor-aside{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}@media (width<=520px){.product-editor-unit-entry{flex-wrap:wrap}.product-editor-fields,.product-editor-unit-fields,.product-editor-aside{grid-template-columns:minmax(0,1fr)}.product-editor-section,.product-editor .form-card-senior{padding:16px}.product-editor-extra>summary>span{margin:6px 0 0;display:block}}.sales-rep-badge{color:#1d4ed8;overflow-wrap:anywhere;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;max-width:100%;margin-block-start:8px;padding:4px 10px;font-size:13px;font-weight:700;line-height:1.6;display:inline-flex}.orders-page{width:100%}.orders-heading{gap:16px}.orders-heading h1{margin:0 0 6px}.orders-heading p,.orders-toolbar>span{color:var(--text-secondary);font-size:13px}.orders-count{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:24px;padding:8px 16px;font-size:13px}.orders-toolbar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:16px;display:flex}.orders-toolbar label{font-size:13px;font-weight:700}.orders-filter-label{font-size:13px}.orders-toolbar select{width:min(100%,260px);min-height:44px}.orders-status-dropdown{z-index:2;width:min(100%,260px);position:relative}.orders-status-dropdown summary{border:1px solid var(--border);background:var(--surface);min-height:48px;color:var(--text);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;list-style:none;display:flex}.orders-status-dropdown summary::-webkit-details-marker{display:none}.orders-status-dropdown summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.orders-status-dropdown summary svg{flex:0 0 18px;width:18px;height:18px;transition:transform .15s}.orders-status-dropdown[open] summary svg{transform:rotate(180deg)}.orders-status-options{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);max-height:min(55dvh,360px);box-shadow:var(--shadow-md);border-radius:10px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.orders-status-options button{width:100%;min-height:46px;color:var(--text);cursor:pointer;font:inherit;text-align:right;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:6px;align-items:center;padding:9px 12px;display:flex}.orders-status-options button:hover,.orders-status-options button[aria-pressed=true]{background:var(--primary-subtle);color:var(--primary)}.orders-status-options button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.orders-toolbar>span{margin-inline-start:auto}.orders-list{gap:16px;display:grid}.orders-list[aria-busy=true]{opacity:.6;pointer-events:none}.order-card{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);border-radius:14px;overflow:hidden}.order-card.order-card--rep-review{background:#fffbeb;border-color:#d97706}.order-card-heading{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.order-field-label{color:var(--text-secondary);margin-bottom:6px;font-size:12px;font-weight:600;display:block}.order-number{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:14px;display:block}.order-card .badge{flex-shrink:0;max-width:100%}.order-card-body{grid-template-columns:minmax(150px,.8fr) minmax(200px,1.3fr) minmax(190px,1fr);gap:24px;padding:20px;display:grid}.order-card-body>*{min-width:0}.order-customer h2{color:var(--text);letter-spacing:normal;overflow-wrap:anywhere;margin:0 0 8px;font-size:17px;font-weight:700}.order-meta{color:var(--text-secondary);flex-wrap:wrap;gap:6px 14px;font-size:12px;display:flex}.order-total{flex-direction:column;gap:4px;margin-top:16px;display:flex}.order-total>span{color:var(--text-secondary);font-size:12px}.order-total strong{color:var(--primary-dark);font-variant-numeric:tabular-nums;font-size:21px}.order-total small{font-size:12px;font-weight:600}.order-delivery{border-inline-start:3px solid var(--primary);min-width:0;padding-inline-start:16px}.order-location{overflow-wrap:anywhere;font-size:15px;line-height:1.8;display:block}.order-address{color:var(--text-secondary);overflow-wrap:anywhere;margin-top:6px;font-size:13px;line-height:1.9}.order-contact-actions{flex-direction:column;align-items:flex-start;gap:6px;margin-top:10px;display:flex}.order-phone{background:var(--primary-subtle);min-height:44px;color:var(--primary);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.order-map{min-height:44px;color:var(--primary);text-underline-offset:4px;align-items:center;font-size:12px;display:inline-flex}.order-assignment .order-driver-control{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.order-assignment .order-driver-control select{min-width:0;min-height:44px}.order-assignment .order-driver-control button{justify-content:center;min-height:44px}.order-card-footer{border-top:1px solid var(--border);background:#f8fafc;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 20px;display:flex}.order-status-control{flex-wrap:wrap;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.order-status-control select{flex:180px;width:auto;max-width:280px;min-height:44px}.order-card-footer .btn{text-align:center;justify-content:center;min-height:44px}.order-details-button{margin-inline-start:auto}.order-cancel-reason{color:var(--danger);overflow-wrap:anywhere;padding:0 20px 16px;font-size:13px}.order-waiting{color:var(--text-secondary);font-size:13px}.orders-empty{border:1px dashed var(--border);text-align:center;background:var(--surface);border-radius:14px;padding:48px 20px}.orders-empty h2{color:var(--text);margin-bottom:8px;font-size:18px}.orders-empty p{color:var(--text-secondary);font-size:13px}.orders-page button:disabled,.order-detail-page button:disabled{opacity:.5;cursor:not-allowed}.orders-page :is(button,a):focus-visible,.order-detail-page :is(button,a):focus-visible,.driver-header :is(button,a):focus-visible{outline:3px solid var(--primary);outline-offset:3px}.orders-page--driver .order-card-body{grid-template-columns:minmax(150px,.8fr) minmax(200px,1.4fr)}.order-detail-page .page-header{flex-wrap:wrap;align-items:center;gap:12px 16px}.order-detail-page .page-header h1{overflow-wrap:anywhere;min-width:0}.order-detail-title{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.order-detail-actions{flex-wrap:wrap;gap:8px;margin-inline-start:auto;display:flex}.order-detail-actions .btn{min-height:44px}.order-back-link{min-height:44px;color:var(--primary);align-items:center;margin-bottom:12px;font-size:13px;text-decoration:none;display:inline-flex}.order-summary{padding:0;overflow:hidden}.order-summary-head{padding:18px 20px 0}.order-summary-head h2{overflow-wrap:anywhere;margin:2px 0 0;font-size:22px;line-height:1.4}.order-facts{grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:10px;margin:16px 20px;padding:0;display:grid}.order-facts>div{border:1px solid var(--border);background:#f8fafc;border-radius:10px;min-width:0;padding:10px 12px}.order-facts dt{color:var(--text-secondary);margin:0 0 4px;font-size:11px;font-weight:700}.order-facts dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:700}.order-facts dd.is-phone{color:var(--primary)}.order-facts dd.is-code{letter-spacing:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.order-summary .order-delivery{margin:0 20px 16px}.order-summary-foot{border-top:1px solid var(--border);background:#f8fafc;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.order-summary-foot .order-payment{margin:0}.order-summary-foot .order-total{flex-direction:row;align-items:baseline;gap:8px;margin:0}.order-detail-page .order-payment{color:var(--text-secondary);margin-top:16px;font-size:13px}.order-detail-page .status-buttons{flex-wrap:wrap;gap:10px;display:flex}.order-detail-page .status-buttons .btn{justify-content:center;min-height:44px}.driver-shell .driver-header{z-index:10;box-shadow:var(--shadow-sm);gap:8px 16px;position:sticky;top:0}.driver-header>span{overflow-wrap:anywhere;font-size:13px}.driver-header .btn{min-height:44px}.driver-content .order-detail-page table{min-width:0}.driver-content .order-detail-page .order-total{border-top:1px solid var(--border);padding-top:12px}@media (width<=1100px){.order-card-body{grid-template-columns:minmax(140px,.8fr) minmax(180px,1.2fr);gap:20px}.order-assignment{border-top:1px solid var(--border);grid-column:1/-1;padding-top:16px}.order-assignment .order-driver-control{grid-template-columns:minmax(0,1fr) auto}.order-assignment .error-message{grid-column:1/-1}}@media (width<=600px){.orders-heading{flex-direction:row;align-items:flex-start;gap:10px}.orders-heading h1{font-size:21px}.orders-heading p{line-height:1.8}.orders-count{padding:6px 10px}.orders-toolbar{gap:8px;padding:12px}.orders-toolbar select,.orders-status-dropdown{width:100%;font-size:16px}.orders-status-dropdown summary{font-size:16px}.orders-toolbar>span{margin-inline-start:0;font-size:11px}.order-card-heading{align-items:flex-start;padding:14px 16px}.order-card-heading .badge{font-size:11px}.order-card-body,.orders-page--driver .order-card-body{grid-template-columns:minmax(0,1fr);gap:18px;padding:16px}.order-customer{padding-inline-end:0;position:relative}.order-customer .order-total{flex-flow:wrap;justify-content:space-between;align-items:center;margin-top:12px}.order-assignment .order-driver-control{grid-template-columns:minmax(0,1fr)}.order-assignment select,.order-status-control select{font-size:16px}.order-card-footer{align-items:stretch;padding:12px 16px}.order-status-control{flex-basis:100%}.order-status-control select{width:100%;max-width:none}.order-status-control .btn{width:100%}.order-details-button{width:100%;margin-inline-start:0}.orders-page .pagination{gap:8px;font-size:12px}.orders-page .pagination button{min-height:44px;padding:8px 12px}.driver-shell .driver-content{padding:16px 12px 24px}.driver-shell .driver-header{padding:10px 12px}.driver-header>span{flex-basis:100%;order:3}.order-detail-actions{width:100%;margin-inline-start:0}.order-detail-actions .btn{flex:1}.order-facts{grid-template-columns:1fr 1fr;margin:14px 16px}.order-summary-head{padding-left:16px;padding-right:16px}.order-summary .order-delivery{margin-left:16px;margin-right:16px}.order-summary-foot{align-items:flex-start;padding:14px 16px}.driver-content .order-detail-page .card{padding:16px}.driver-content .order-detail-page .status-buttons .btn{width:100%}.driver-content .order-items-table,.driver-content .order-items-table tbody,.driver-content .order-items-table tfoot{display:block}.driver-content .order-items-table thead{display:none}.driver-content .order-items-table tbody tr{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0;display:grid}.driver-content .order-items-table td{overflow-wrap:anywhere;border:0;padding:0;font-size:13px;display:block}.driver-content .order-items-table tbody td:before{content:attr(data-label);color:var(--text-secondary);margin-bottom:4px;font-size:11px;display:block}.driver-content .order-items-table tbody td:first-child{grid-column:1/-1;font-size:15px;font-weight:700}.driver-content .order-items-table tfoot tr{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:16px 0 0;display:flex}.driver-content .order-items-table tfoot td{background:0 0}.driver-content .timeline-content{flex-wrap:wrap;gap:6px;min-width:0}}.order-receipt h2{margin-bottom:12px;font-size:18px}.order-receipt-amount{color:var(--primary);font-variant-numeric:tabular-nums;font-size:26px;display:block}.order-receipt p{color:var(--text-secondary);overflow-wrap:anywhere;margin-top:10px;font-size:13px;line-height:1.8}.order-receipt-form{flex-direction:column;align-items:stretch;gap:12px;max-width:420px;margin-top:20px;display:flex}.order-receipt-form input{border:1px solid var(--border);border-radius:8px;min-width:0;min-height:44px;padding:12px;font-size:16px}.order-receipt-form button{min-height:44px}.invoice-dialog{color:#0f172a;background:#f1f5f9;border:0;border-radius:12px;width:min(1100px,100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:none;margin:auto;padding:20px;overflow:auto}.invoice-dialog::backdrop{background:#0f172aa6}.invoice-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.invoice-toolbar h2{letter-spacing:0;color:#0f172a;margin:0 0 4px;font-family:inherit;font-size:20px;font-weight:700}.invoice-toolbar p{color:#475569;font-size:13px}.invoice-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.invoice-actions select{max-width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:8px}.invoice-dialog iframe{background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;height:calc(100% - 100px);min-height:420px}.invoice-dialog button:disabled{cursor:wait;opacity:.6}@media (width<=600px){.invoice-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:12px}.invoice-actions .btn{padding:8px 12px;font-size:12px}}.invoice-edit-dialog{width:min(1100px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);background:var(--surface);border:0;border-radius:12px;margin:auto;padding:24px;overflow:auto}.invoice-edit-dialog::backdrop{background:#0f172aa6}.invoice-edit-header,.invoice-edit-actions{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.invoice-edit-actions{justify-content:flex-start;margin:20px 0 0}.invoice-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.invoice-edit-dialog input{border:1px solid var(--border);width:100%;min-width:80px;font:inherit;border-radius:6px;margin-top:6px;padding:9px;display:block}.invoice-edit-table{overflow-x:auto}.invoice-add-item{border:1px solid var(--border);border-radius:8px;margin-bottom:20px;padding:16px}.invoice-add-item legend{padding:0 8px;font-weight:700}.invoice-add-fields{grid-template-columns:2fr 1fr;align-items:end;gap:12px;margin-top:14px;display:grid}.invoice-add-item select{border:1px solid var(--border);width:100%;font:inherit;border-radius:6px;margin-top:6px;padding:9px}@media (width<=800px){.invoice-add-fields{grid-template-columns:1fr}}.invoice-edit-table table{min-width:720px}.invoice-edit-total{margin:20px 0 10px;font-size:20px;font-weight:700}@media (width<=600px){.invoice-edit-dialog{padding:16px}.invoice-edit-fields{grid-template-columns:1fr}}.invoice-product-options{border:1px solid var(--border);border-radius:6px;max-height:260px;margin-top:6px;display:grid;overflow-y:auto}.invoice-product-options button{background:var(--surface);min-height:44px;color:var(--text);font:inherit;text-align:start;cursor:pointer;border:0;padding:10px}.invoice-product-options button[aria-selected=true]{outline:2px solid var(--primary);outline-offset:-2px}.invoice-product-options button[aria-disabled=true]{opacity:.5;cursor:default}.bundle-dialog{border:1px solid var(--border);background:var(--surface);width:min(72rem,100vw - 2rem);max-width:calc(100vw - 2rem);height:min(92dvh,52rem);max-height:min(92dvh,52rem);color:var(--text);font:inherit;text-align:start;box-shadow:var(--shadow-md);border-radius:1rem;margin:auto;padding:0}.bundle-dialog[open]{overscroll-behavior:contain;flex-direction:column;display:flex;overflow:hidden}.bundle-dialog::backdrop{overscroll-behavior:contain;background:#0f172a7a}.bundle-dialog form{flex-direction:column;flex:1;min-height:0;display:flex}.bundle-dialog__header,.bundle-dialog__footer{background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.5rem;display:flex}.bundle-dialog__header{border-bottom:1px solid var(--border)}.bundle-dialog__header h2{margin:0;font-size:1.25rem;font-weight:800;line-height:1.3}.bundle-dialog__close{width:2.75rem;height:2.75rem;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.5rem;font-size:1.5rem;line-height:1}.bundle-dialog__close:hover{background:var(--bg);color:var(--text)}.bundle-dialog__body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:1rem;min-height:0;padding:1.25rem 1.5rem 1rem;display:flex;overflow:auto}.bundle-section__title{margin:0;font-size:1rem;font-weight:800;line-height:1.3}.bundle-section__hint,.bundle-note{max-width:65ch;color:var(--text-secondary);margin:.25rem 0 0;font-size:.8125rem;font-weight:600;line-height:1.5}.bundle-section--data{flex-direction:column;flex:none;gap:.75rem;max-height:none;display:flex;overflow:visible}.bundle-grid{grid-template-columns:minmax(0,1.4fr) minmax(12rem,.8fr);gap:.75rem 1rem;display:grid}.bundle-grid--metrics{grid-template-columns:minmax(0,.7fr) 7rem minmax(0,1fr) minmax(0,1fr)}.bundle-field{flex-direction:column;gap:.35rem;min-width:0;display:flex}.bundle-field--wide{grid-column:1/-1}.bundle-label{font-size:.8125rem;font-weight:700;line-height:1.4}.bundle-unit{border:1px solid var(--border);background:var(--bg);border-radius:.5rem;align-items:center;min-height:2.75rem;margin:0;padding:.5rem .875rem;font-size:.875rem;font-weight:700;display:flex}.bundle-switch{cursor:pointer;align-items:center;gap:.75rem;min-height:2.75rem;display:flex;position:relative}.bundle-switch input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.bundle-switch__track{background:#cbd5e1;border-radius:999px;flex-shrink:0;width:2.75rem;height:1.5rem;position:relative}.bundle-switch__knob{inset-inline-start:.125rem;background:var(--surface);width:1.25rem;height:1.25rem;box-shadow:var(--shadow-sm);border-radius:50%;transition:transform .16s cubic-bezier(.16,1,.3,1);position:absolute;top:.125rem}.bundle-switch input:checked+.bundle-switch__track{background:var(--primary)}.bundle-switch input:checked+.bundle-switch__track .bundle-switch__knob{transform:translate(-1.25rem)}.bundle-switch input:focus-visible+.bundle-switch__track{outline:2px solid var(--primary);outline-offset:3px}.bundle-switch__text{font-size:.875rem;font-weight:700}.bundle-advanced{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;padding:.5rem .875rem .875rem}.bundle-advanced summary{cursor:pointer;align-items:center;min-height:2.75rem;font-size:.875rem;font-weight:800;display:flex}.bundle-workspace{border-top:1px solid var(--border);flex:none;grid-template-columns:minmax(0,1fr) 18.5rem;gap:1rem;min-height:0;padding-top:1rem;display:grid}.bundle-picker,.bundle-selected{flex-direction:column;gap:.75rem;min-width:0;min-height:0;display:flex}.bundle-selected{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;padding:.875rem}.bundle-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.bundle-filters__search{grid-column:1/-1;align-items:end;gap:.75rem;display:flex}.bundle-filters__search .bundle-field{flex:1}.bundle-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.bundle-count{font-variant-numeric:tabular-nums;margin:0;font-size:.8125rem;font-weight:700}.bundle-results{border:1px solid var(--border);background:var(--surface);overscroll-behavior:contain;border-radius:.75rem;flex:none;min-height:16rem;max-height:min(24rem,50dvh);overflow:auto}.bundle-results>.bundle-empty{padding:1rem}.bundle-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:0}.bundle-table th,.bundle-table td{text-align:start;vertical-align:middle;padding:.625rem .75rem;font-size:.875rem;line-height:1.4}.bundle-table th:first-child,.bundle-table td:first-child{width:3.5rem}.bundle-table th:nth-child(2),.bundle-table td:nth-child(2){width:28%}.bundle-table th:nth-child(6),.bundle-table td:nth-child(6){width:22%}.bundle-table th:nth-child(7),.bundle-table td:nth-child(7){width:6.25rem}.bundle-table th{z-index:1;background:var(--bg);letter-spacing:.01em;font-size:.75rem;font-weight:800;position:sticky;top:0}.bundle-table tbody tr+tr td{border-top:1px solid var(--border)}.bundle-table .is-muted td{color:var(--text-secondary)}.bundle-name{align-items:center;gap:.625rem;min-width:0;display:flex}.bundle-name strong,.bundle-picked__copy strong{overflow-wrap:anywhere;font-weight:700;display:block}.bundle-name small,.bundle-picked__copy small,.bundle-status{color:var(--text-secondary);overflow-wrap:anywhere;font-size:.75rem;font-weight:600;display:block}.bundle-thumb{object-fit:cover;background:var(--bg);border-radius:.375rem;flex-shrink:0;width:2.25rem;height:2.25rem}.bundle-thumb--empty{color:var(--primary);justify-content:center;align-items:center;font-weight:800;display:inline-flex}.bundle-money{font-variant-numeric:tabular-nums;font-weight:700}.bundle-picked-list{flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow:auto}.bundle-picked{align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.bundle-picked+.bundle-picked{border-top:1px solid var(--border)}.bundle-picked__copy{flex:1;min-width:0}.bundle-empty{color:var(--text-secondary);margin:0;font-size:.8125rem;font-weight:600;line-height:1.5}.bundle-dialog__footer{border-top:1px solid var(--border);flex-direction:column;align-items:stretch}.bundle-dialog__actions{justify-content:flex-end;gap:.5rem;display:flex}.bundle-dialog .btn{min-height:2.75rem}.bundle-dialog :focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (width<=900px){.bundle-grid,.bundle-grid--metrics,.bundle-filters{grid-template-columns:1fr 1fr}.bundle-field--wide,.bundle-filters__search{grid-column:1/-1}}@media (width<=760px){.bundle-dialog{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh}.bundle-dialog__header,.bundle-dialog__footer,.bundle-dialog__body{padding-inline:1rem}.bundle-dialog__body{overflow:auto}.bundle-section--data,.bundle-picker,.bundle-selected{flex:none}.bundle-section--data{max-height:none;overflow:visible}.bundle-workspace{display:contents}.bundle-picker{border-top:1px solid var(--border);padding-top:1rem}.bundle-selected{order:-1;max-height:none;overflow:visible}.bundle-picked-list{flex:none;overflow:visible}.bundle-results{flex:none;max-height:24rem}.bundle-grid,.bundle-filters{grid-template-columns:1fr}.bundle-filters__search{flex-direction:column;align-items:stretch}}.bundle-banner{gap:.75rem;display:grid}.bundle-banner__frame{aspect-ratio:2.4;border:1px dashed var(--border);background:var(--surface-muted,#f8fafc);width:100%;max-width:36rem;color:var(--text-muted,#64748b);border-radius:.75rem;place-items:center;font-size:.95rem;display:grid;overflow:hidden}.bundle-banner__frame img{object-fit:cover;width:100%;height:100%}.bundle-banner__actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.bundle-banner__actions p{color:var(--text-muted,#64748b);margin:0;font-size:.85rem}@media (prefers-reduced-motion:reduce){.bundle-dialog,.bundle-dialog *{transition:none!important;animation:none!important}}.settings-page{--s-primary:#2563eb;--s-primary-dark:#1d4ed8;--s-primary-subtle:#eff6ff;--s-primary-border:#bfdbfe;--s-surface:#fff;--s-bg-muted:#f8fafc;--s-border:#e2e8f0;--s-border-hover:#cbd5e1;--s-text:#0f172a;--s-text-muted:#64748b;--s-text-subtle:#94a3b8;--s-success:#16a34a;--s-success-subtle:#f0fdf4;--s-success-border:#bbf7d0;--s-warning:#d97706;--s-warning-subtle:#fffbeb;--s-warning-border:#fde68a;--s-danger:#dc2626;--s-danger-subtle:#fef2f2;--s-danger-border:#fecaca;--s-radius-lg:16px;--s-radius-md:12px;--s-radius-sm:8px;--s-shadow-card:0 4px 20px -2px #0f172a0d, 0 1px 3px 0 #0f172a08;width:100%;max-width:1080px;color:var(--s-text);text-align:right;margin:0 auto;padding-bottom:40px;font-family:Cairo,system-ui,-apple-system,sans-serif}.settings-page *,.settings-page :before,.settings-page :after{box-sizing:border-box}.settings-header{border-bottom:1px solid var(--s-border);margin-bottom:24px;padding-bottom:20px}.settings-header-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.settings-header-info{flex-direction:column;gap:6px;display:flex}.settings-header-title{color:var(--s-text);margin:0;font-size:24px;font-weight:800;line-height:1.3}.settings-header-subtitle{color:var(--s-text-muted);font-size:14px;line-height:1.6}.settings-health-ribbon{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settings-health-chip{background:var(--s-bg-muted);border:1px solid var(--s-border);color:var(--s-text-muted);border-radius:9999px;align-items:center;gap:7px;padding:6px 12px;font-size:12px;font-weight:700;line-height:1;transition:all .2s;display:inline-flex}.settings-health-chip.healthy{background:var(--s-success-subtle);border-color:var(--s-success-border);color:var(--s-success)}.settings-health-chip.warning{background:var(--s-warning-subtle);border-color:var(--s-warning-border);color:var(--s-warning)}.settings-health-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px}.settings-health-chip.healthy .settings-health-dot{animation:2s ease-in-out infinite pulse-dot;box-shadow:0 0 0 2px #16a34a40}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.3)}}.settings-tabs-nav{border-radius:var(--s-radius-md);scrollbar-width:none;background:#f1f5f9;align-items:center;gap:8px;margin-bottom:24px;padding:6px;display:flex;overflow-x:auto}.settings-tabs-nav::-webkit-scrollbar{display:none}.settings-tab-btn{border-radius:var(--s-radius-sm);color:var(--s-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;gap:10px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;position:relative}.settings-tab-btn:hover{color:var(--s-text);background:#fff9}.settings-tab-btn.active{color:var(--s-primary);background:#fff;box-shadow:0 2px 8px -1px #0f172a14,0 1px 2px #0f172a0a}.settings-tab-icon{font-size:17px;line-height:1}.settings-tab-badge{background:var(--s-primary-subtle);color:var(--s-primary);border-radius:999px;padding:2px 7px;font-size:11px;font-weight:700}.settings-card{background:var(--s-surface);border:1px solid var(--s-border);border-radius:var(--s-radius-lg);box-shadow:var(--s-shadow-card);margin-bottom:22px;padding:26px;transition:border-color .2s,box-shadow .2s}.settings-card:focus-within{border-color:var(--s-primary-border)}.settings-card-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;padding-bottom:16px;display:flex}.settings-card-title-group{align-items:flex-start;gap:14px;display:flex}.settings-icon-bubble{border-radius:var(--s-radius-md);background:var(--s-primary-subtle);width:42px;height:42px;color:var(--s-primary);flex-shrink:0;justify-content:center;align-items:center;font-size:20px;display:flex}.settings-icon-bubble.green{background:var(--s-success-subtle);color:var(--s-success)}.settings-icon-bubble.amber{background:var(--s-warning-subtle);color:var(--s-warning)}.settings-card-title{color:var(--s-text);margin:0 0 4px;font-size:17px;font-weight:800}.settings-card-desc{color:var(--s-text-muted);margin:0;font-size:13px;line-height:1.5}.settings-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.settings-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.settings-field{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.settings-field.no-margin{margin-bottom:0}.settings-label{color:var(--s-text);justify-content:space-between;align-items:center;font-size:13px;font-weight:700;display:flex}.settings-label-hint{color:var(--s-text-subtle);font-size:11px;font-weight:500}.settings-input,.settings-textarea{border:1.5px solid var(--s-border);border-radius:var(--s-radius-sm);width:100%;color:var(--s-text);background:#fff;padding:10px 14px;font-family:inherit;font-size:14px;transition:all .2s}.settings-input:focus,.settings-textarea:focus{border-color:var(--s-primary);outline:none;box-shadow:0 0 0 3px #2563eb1f}.settings-input:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0}.settings-input-unit{align-items:center;display:flex;position:relative}.settings-input-unit .settings-input{padding-left:55px}.settings-input-unit-badge{color:var(--s-text-muted);pointer-events:none;background:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:12px;font-weight:700;position:absolute;left:12px}.settings-help-text{color:var(--s-text-muted);margin-top:2px;font-size:12px;line-height:1.5}.settings-toggle-group{flex-direction:column;gap:12px;display:flex}.settings-toggle-item{border-radius:var(--s-radius-md);background:var(--s-bg-muted);border:1px solid #0000;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;transition:all .2s;display:flex}.settings-toggle-item:hover{border-color:var(--s-border);background:#f1f5f9}.settings-toggle-item.is-active{border-color:var(--s-primary-border);background:#2563eb08}.settings-toggle-info{flex-direction:column;flex:1;gap:3px;display:flex}.settings-toggle-label{color:var(--s-text);cursor:pointer;font-size:14px;font-weight:700}.settings-toggle-desc{color:var(--s-text-muted);font-size:12px;line-height:1.4}.settings-switch-btn{cursor:pointer;background:#cbd5e1;border:none;border-radius:999px;outline:none;flex-shrink:0;width:48px;height:26px;padding:2px;transition:background-color .25s cubic-bezier(.16,1,.3,1);position:relative}.settings-switch-btn:focus-visible{box-shadow:0 0 0 3px #2563eb4d}.settings-switch-btn.checked{background:var(--s-primary)}.settings-switch-slider{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .25s cubic-bezier(.16,1,.3,1);display:block;transform:translate(0);box-shadow:0 1px 3px #0003}.settings-switch-btn.checked .settings-switch-slider{transform:translate(-22px)}.settings-preset-pills{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.settings-preset-pill{border:1px solid var(--s-border);color:var(--s-text);cursor:pointer;background:#f1f5f9;border-radius:8px;padding:5px 12px;font-family:inherit;font-size:12px;font-weight:600;transition:all .15s}.settings-preset-pill:hover{background:#e2e8f0;border-color:#cbd5e1}.settings-preset-pill.active{background:var(--s-primary);color:#fff;border-color:var(--s-primary)}.settings-status-banner{border-radius:var(--s-radius-md);align-items:flex-start;gap:14px;margin-bottom:20px;padding:16px 18px;font-size:13px;line-height:1.6;display:flex}.settings-status-banner.success{background:var(--s-success-subtle);border:1px solid var(--s-success-border);color:#166534}.settings-status-banner.warning{background:var(--s-warning-subtle);border:1px solid var(--s-warning-border);color:#92400e}.settings-status-banner.danger{background:var(--s-danger-subtle);border:1px solid var(--s-danger-border);color:#991b1b}.settings-status-banner.info{background:var(--s-primary-subtle);border:1px solid var(--s-primary-border);color:#1e40af}.settings-status-banner code{direction:ltr;background:#0000000f;border-radius:4px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;display:inline-block}.invoice-preview-card{border-radius:var(--s-radius-md);background:#f8fafc;border:1.5px dashed #cbd5e1;margin-top:14px;padding:18px}.invoice-preview-title{color:var(--s-text-muted);text-transform:uppercase;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;font-weight:700;display:flex}.invoice-preview-header{text-align:center;border:1px solid var(--s-border);background:#fff;border-radius:8px;padding:12px}.invoice-preview-name{color:var(--s-text);margin-bottom:4px;font-size:16px;font-weight:800}.invoice-preview-meta{color:var(--s-text-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.settings-actions-bar{border-top:1px solid var(--s-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;padding-top:20px;display:flex}.settings-actions-group{align-items:center;gap:10px;display:flex}.settings-btn-save{border-radius:var(--s-radius-sm);background:var(--s-primary);color:#fff;cursor:pointer;border:none;align-items:center;gap:8px;padding:10px 24px;font-family:inherit;font-size:14px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px -1px #2563eb66}.settings-btn-save:hover:not(:disabled){background:var(--s-primary-dark);transform:translateY(-1px)}.settings-btn-save:disabled{opacity:.6;cursor:not-allowed;transform:none}.settings-btn-secondary{border-radius:var(--s-radius-sm);color:var(--s-text);border:1.5px solid var(--s-border);cursor:pointer;background:#fff;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:600;transition:all .15s;display:inline-flex}.settings-btn-secondary:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.settings-btn-secondary:disabled{opacity:.5;cursor:not-allowed}.settings-feedback-msg{border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:700;animation:.2s fadeIn;display:inline-flex}.settings-feedback-msg.success{color:#16a34a;background:var(--s-success-subtle)}.settings-feedback-msg.error{color:#dc2626;background:var(--s-danger-subtle)}@media (width<=768px){.settings-grid-2,.settings-grid-3{grid-template-columns:1fr}.settings-header-top{flex-direction:column}.settings-actions-bar{flex-direction:column;align-items:stretch}.settings-actions-group{flex-direction:column}.settings-btn-save,.settings-btn-secondary{justify-content:center;width:100%}}.qty-panel{gap:16px;display:grid}.qty-panel-head h2,.qty-variant-card h3{margin:0}.qty-panel-head p,.qty-variant-card header p{color:var(--s-text-muted);margin:6px 0 0;font-size:14px}.qty-product-bar,.qty-save-row,.qty-check{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.qty-search-list{border:1px solid var(--s-border);border-radius:var(--s-radius-md);margin:8px 0 0;padding:0;list-style:none;overflow:hidden}.qty-search-list button{border:0;border-bottom:1px solid var(--s-border);width:100%;color:inherit;font:inherit;text-align:right;cursor:pointer;background:#fff;justify-content:space-between;gap:12px;padding:12px 14px;display:flex}.qty-search-list li:last-child button{border-bottom:0}.qty-search-list button:hover{background:var(--s-bg-muted)}.qty-variant-list{gap:14px;display:grid}.qty-variant-card{border:1px solid var(--s-border);border-radius:var(--s-radius-lg);background:#fff;padding:16px}.qty-variant-card.is-selected{border-color:var(--s-primary-border);box-shadow:0 0 0 3px var(--s-primary-subtle)}.qty-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.qty-rule-grid fieldset{border:1px solid var(--s-border);border-radius:var(--s-radius-md);gap:8px;min-width:0;margin:0;padding:12px;display:grid}.qty-rule-grid legend{padding:0 6px;font-weight:800}.qty-rule-grid label{gap:6px;font-size:13px;font-weight:700;display:grid}.qty-advanced{border-top:1px solid var(--s-border);margin-top:8px;padding-top:12px}.qty-advanced summary{cursor:pointer;margin-bottom:12px;font-weight:800}.settings-page .qty-table-wrap{overflow-x:auto}.settings-page .qty-table-wrap table{min-width:680px}@media (width<=720px){.qty-rule-grid{grid-template-columns:1fr}}.page.brands-admin-page{--brands-ink:#10243e;--brands-muted:#64748b;--brands-line:#dce5f0;--brands-blue:#1d5ea8;--brands-blue-soft:#edf5ff;--brands-green:#137547;--brands-green-soft:#edf8f1;--brands-amber:#9a5b0a;--brands-amber-soft:#fff7e8;width:100%;max-width:1440px;color:var(--brands-ink);flex-direction:column;gap:16px;display:flex}.brands-page-header{background:var(--surface);border:1px solid var(--brands-line);box-shadow:var(--shadow-sm);border-radius:16px;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;display:flex}.brands-heading{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.brands-eyebrow{color:var(--brands-blue);letter-spacing:.02em;font-size:11px;font-weight:800}.brands-heading h1{color:var(--brands-ink);letter-spacing:0;margin:0;font-family:Cairo,sans-serif;font-size:25px;font-weight:800;line-height:1.35}.brands-heading p{color:var(--brands-muted);font-size:13px;line-height:1.7}.brands-page-header>.btn{flex-shrink:0;justify-content:center;min-height:44px;padding-inline:17px}.brands-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.brands-stat-card{background:var(--surface);border:1px solid var(--brands-line);min-height:84px;box-shadow:var(--shadow-sm);border-inline-start:3px solid #90a4bc;border-radius:12px;flex-direction:column;justify-content:center;gap:3px;padding:12px 16px;display:flex}.brands-stat-complete{border-inline-start-color:var(--brands-green)}.brands-stat-missing{border-inline-start-color:#d68b1e}.brands-stat-active{border-inline-start-color:var(--brands-blue)}.brands-stat-label{color:var(--brands-muted);font-size:12px;font-weight:600}.brands-stat-value{color:var(--brands-ink);font-variant-numeric:tabular-nums;font-size:22px;font-weight:800;line-height:1.25}.brands-toolbar.card{background:var(--surface);border:1px solid var(--brands-line);box-shadow:var(--shadow-sm);border-radius:14px;flex-direction:column;gap:13px;margin:0;padding:16px;display:flex}.brands-toolbar-controls{grid-template-columns:minmax(220px,1fr) minmax(190px,230px) auto;align-items:end;gap:12px;display:grid}.brands-search-control{color:#8090a4;align-items:center;min-width:0;display:flex;position:relative}.brands-search-control>svg{pointer-events:none;position:absolute;right:13px}.brands-search-control input{border-color:var(--brands-line);height:44px;color:var(--brands-ink);border-radius:9px;padding:9px 40px 9px 12px;font-size:13px}.brands-search-control input::placeholder{color:#91a0b2}.brands-category-control{flex-direction:column;gap:5px;min-width:0;display:flex}.brands-control-label{color:var(--brands-muted);font-size:11px;font-weight:700}.brands-status-filters{background:#f2f6fa;border:1px solid #e7edf4;border-radius:10px;align-items:center;gap:4px;padding:4px;display:flex}.brands-status-filter{color:#53657a;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:5px 9px;font-family:inherit;font-size:12px;font-weight:700;display:inline-flex}.brands-status-filter.selected{color:var(--brands-blue);background:var(--surface);border-color:#d7e5f5;box-shadow:0 1px 2px #10243e0f}.brands-status-count{color:#718096;font-variant-numeric:tabular-nums;text-align:center;background:#e9eff6;border-radius:10px;min-width:19px;padding:1px 5px;font-size:10px}.brands-status-filter.selected .brands-status-count{color:var(--brands-blue);background:var(--brands-blue-soft)}.brands-toolbar-summary{min-height:30px;color:var(--brands-muted);border-top:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:12px;padding-top:10px;font-size:12px;display:flex}.brands-toolbar-summary strong{color:var(--brands-ink);font-variant-numeric:tabular-nums}.brands-clear-filters{color:var(--brands-blue);cursor:pointer;background:0 0;border:0;padding:4px 0;font-family:inherit;font-size:12px;font-weight:700}.brands-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));align-items:stretch;gap:14px;display:grid}.brands-card{background:var(--surface);border:1px solid var(--brands-line);min-width:0;box-shadow:var(--shadow-sm);border-radius:14px;flex-direction:column;gap:12px;padding:14px;transition:border-color .16s,box-shadow .16s;display:flex}.brands-card:hover{box-shadow:var(--shadow-md);border-color:#bfd2e8}.brands-card.is-selected{border-color:var(--primary,var(--brands-blue));background:var(--brands-blue-soft)}.brands-selection-toolbar{border:1px solid var(--brands-line);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;font-size:12px;display:flex}.brands-select-all,.brands-card-select,.brands-edit-check{cursor:pointer;align-items:center;gap:7px;display:flex}.brands-admin-page input[type=checkbox]{width:17px;height:17px;accent-color:var(--primary,var(--brands-blue));flex:0 0 17px;margin:0}.brands-bulk-category{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.brands-bulk-category select{border:1px solid var(--brands-line);max-width:200px;min-height:36px;color:inherit;background:var(--surface);font:inherit;border-radius:7px;padding:6px 10px}.brands-bulk-hint{color:var(--brands-muted);margin:-6px 0 0;font-size:12px;line-height:1.7}.brands-product-count{color:var(--brands-blue);font:inherit;cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:0;padding:3px 0;font-size:12px;font-weight:700}.brands-product-count:hover{text-decoration:underline}.brands-inline-editor{border-top:1px solid var(--brands-line);gap:12px;padding-top:12px;display:grid}.brands-inline-editor>label{min-width:0;color:var(--brands-muted);gap:5px;font-size:12px;display:grid}.brands-inline-editor>.brands-edit-check{display:flex}.brands-inline-editor input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:38px;font:inherit}.brands-inline-editor input[type=file]{font-size:11px}.brands-inline-editor fieldset{border:1px solid var(--brands-line);border-radius:7px;gap:8px;min-width:0;max-height:180px;margin:0;padding:8px;font-size:12px;display:grid;overflow-y:auto}.brands-inline-actions{flex-wrap:wrap;gap:8px;display:flex}.brands-inline-actions .btn{flex:1}.brands-card-badges .brands-card-select{margin-inline-end:auto}.brands-notice,.brands-failures{border:1px solid var(--brands-line);background:var(--brands-green-soft);color:var(--brands-green);border-radius:8px;margin:0;padding:12px 16px;font-size:13px;line-height:1.7}.brands-notice.is-error,.brands-failures{color:oklch(42% .16 20);background:oklch(97% .01 20)}.brands-failures{list-style-position:inside}.brands-admin-page :is(button,input,select):focus-visible{outline:2px solid var(--primary,var(--brands-blue));outline-offset:2px}.brands-admin-page :is(button,input,select):disabled{opacity:.6;cursor:not-allowed}.brands-card-badges{justify-content:space-between;align-items:center;gap:8px;min-height:25px;display:flex}.brands-state-badge,.brands-offer-badge{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;min-height:24px;padding:3px 8px;font-size:10px;font-weight:800;display:inline-flex}.brands-state-badge.is-active{color:var(--brands-green);background:var(--brands-green-soft)}.brands-state-badge.is-hidden{color:#64748b;background:#f1f4f7}.brands-state-dot{background:currentColor;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.brands-offer-badge{color:var(--brands-amber);background:var(--brands-amber-soft)}.brands-logo-stage{aspect-ratio:1.7;background-color:#fff;background-image:linear-gradient(45deg,#eef2f6 25%,#0000 25%),linear-gradient(-45deg,#eef2f6 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eef2f6 75%),linear-gradient(-45deg,#0000 75%,#eef2f6 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border:1px solid #e4eaf1;border-radius:10px;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.brands-logo-stage img{object-fit:contain;width:auto;max-width:82%;height:auto;max-height:76%}.brands-logo-placeholder{color:#7b8ca2;flex-direction:column;align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.brands-card-details{min-height:62px}.brands-card-name{color:var(--brands-ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Cairo,sans-serif;font-size:15px;font-weight:800;line-height:1.5;overflow:hidden}.brands-category-tags{flex-wrap:wrap;align-items:center;gap:5px;min-height:23px;margin-top:5px;display:flex}.brands-category-tag,.brands-category-more,.brands-no-category{color:#315c8b;background:#f0f5fb;border:1px solid #e2ebf5;border-radius:6px;align-items:center;padding:2px 7px;font-size:10px;font-weight:700;line-height:1.5;display:inline-flex}.brands-category-more{color:#64748b;background:#f5f7fa}.brands-no-category{color:#718096;background:#f5f7fa}.brands-card-footer{border-top:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding-top:9px;display:flex}.brands-card-actions{align-items:center;gap:6px;display:flex}.brands-edit-button,.brands-delete-button{background:var(--surface);border:1px solid var(--brands-line);cursor:pointer;border-radius:7px;min-height:32px;padding:5px 10px;font-family:inherit;font-size:11px;font-weight:700;transition:background-color .14s,border-color .14s}.brands-edit-button{color:var(--brands-blue)}.brands-edit-button:hover{background:var(--brands-blue-soft);border-color:#c6dcf5}.brands-delete-button{color:#b42332}.brands-delete-button:hover{background:#fff1f2;border-color:#f2c5cb}.brands-empty-state{min-height:280px;color:var(--brands-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:28px;display:flex}.brands-empty-mark{width:54px;height:54px;color:var(--brands-blue);background:var(--brands-blue-soft);border-radius:15px;place-items:center;display:grid}.brands-empty-state h2{color:var(--brands-ink);margin:2px 0 0;font-family:Cairo,sans-serif;font-size:17px;font-weight:800}.brands-empty-state p{max-width:430px;color:var(--brands-muted);font-size:13px;line-height:1.8}.brands-empty-state .btn{margin-top:7px}.brands-loading{min-height:200px;color:var(--brands-muted);justify-content:center;align-items:center;font-size:14px;display:flex}.brands-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.brands-admin-page button:focus-visible,.brands-admin-page input:focus-visible{outline-offset:2px;outline:3px solid #1d5ea84d}@media (width<=1080px){.brands-toolbar-controls{grid-template-columns:minmax(200px,1fr) minmax(180px,220px)}.brands-status-filters{grid-column:1/-1;justify-content:flex-start}}@media (width<=760px){.brands-page-header{flex-direction:column;align-items:flex-start;padding:20px}.brands-page-header>.btn{width:100%}.brands-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.brands-toolbar-controls{grid-template-columns:minmax(0,1fr)}.brands-status-filters{grid-column:auto}.brands-status-filter{flex:1}}@media (width<=520px){.page.brands-admin-page{gap:12px}.brands-heading h1{font-size:22px}.brands-toolbar.card{padding:12px}.brands-grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.brands-card,.brands-edit-button,.brands-delete-button{transition:none}.brands-card:hover{transform:none}}.users-page{max-width:1440px;color:var(--text,#0f172a);margin:0 auto;padding:24px}.users-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.users-header__title-group h1{color:#0f172a;margin:0 0 6px;font-size:26px;font-weight:800}.users-header__subtitle{color:#64748b;margin:0;font-size:14px}.users-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px;display:grid}.users-kpi-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:16px;padding:20px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000a}.users-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.users-kpi-card.active{background:#f0f9ff;border-color:#0284c7}.users-kpi-card__icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.users-kpi-card__icon svg{width:24px;height:24px}.users-kpi-card__icon--blue{color:#0284c7;background:#e0f2fe}.users-kpi-card__icon--green{color:#16a34a;background:#dcfce7}.users-kpi-card__icon--amber{color:#d97706;background:#fef3c7}.users-kpi-card__icon--purple{color:#9333ea;background:#f3e8ff}.users-kpi-card__icon--indigo{color:#4f46e5;background:#e0e7ff}.users-kpi-card__body{flex-direction:column;display:flex}.users-kpi-card__value{color:#0f172a;font-size:24px;font-weight:800;line-height:1.2}.users-kpi-card__label{color:#64748b;margin-top:4px;font-size:13px;font-weight:600}.users-filters-bar{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:16px;display:flex;box-shadow:0 1px 3px #00000008}.users-search-box{flex:1;align-items:center;min-width:280px;display:flex;position:relative}.users-search-box input{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;width:100%;padding:11px 42px 11px 16px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.users-search-box input:focus{background:#fff;border-color:#0284c7;outline:none;box-shadow:0 0 0 3px #0284c726}.users-search-box__icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;right:14px}.users-search-box__icon svg{width:18px;height:18px}.users-filters-group{flex-wrap:wrap;gap:8px;display:flex}.users-filter-select{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:10px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:all .15s}.users-filter-select:focus{background:#fff;border-color:#0284c7;outline:none}.users-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 1px 4px #0000000a}.users-table{border-collapse:collapse;text-align:right;width:100%;font-size:13px}.users-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 16px;font-weight:700}.users-table td{vertical-align:middle;color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px 16px}.users-table tr:hover{background:#f8fafc}.user-cell{align-items:center;gap:12px;display:flex}.user-avatar{object-fit:cover;background:#e2e8f0;border-radius:12px;flex-shrink:0;width:40px;height:40px}.user-avatar-initials{color:#fff;background:linear-gradient(135deg,#0284c7,#0369a1);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:15px;font-weight:800;display:flex}.user-cell__meta{flex-direction:column;display:flex}.user-cell__name{color:#0f172a;font-size:14px;font-weight:700;text-decoration:none;transition:color .15s}.user-cell__name:hover{color:#0284c7;text-decoration:underline}.user-cell__username{color:#64748b;text-align:right;direction:ltr;font-family:monospace;font-size:12px}.user-phone-cell{direction:ltr;justify-content:flex-end;align-items:center;gap:8px;display:flex}.user-phone-number{color:#334155;font-family:monospace;font-size:13px;font-weight:600}.user-wa-btn{color:#25d366;background:#25d36620;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;text-decoration:none;transition:all .15s;display:inline-flex}.user-wa-btn:hover{color:#fff;background:#25d366}.user-wa-btn svg{width:16px;height:16px}.user-kind-pill{border-radius:9999px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.user-kind-pill--business{color:#1d4ed8;background:#eff6ff}.user-kind-pill--home{color:#4b5563;background:#f3f4f6}.user-location-box{color:#475569;font-size:12px;line-height:1.5}.user-map-link{color:#1a73e8;background:#f1f7fe;border:1px solid #d2e3fc;border-radius:6px;align-items:center;gap:5px;margin-top:6px;padding:3px 8px;font-size:11px;font-weight:700;text-decoration:none;transition:all .15s;display:inline-flex}.user-map-link:hover{color:#174ea6;background:#e8f0fe;border-color:#aecbfa;text-decoration:none;transform:translateY(-1px)}.user-orders-pill{color:#334155;background:#f1f5f9;border-radius:12px;justify-content:center;align-items:center;min-width:28px;height:24px;padding:0 8px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.user-orders-pill.has-orders{color:#0369a1;background:#e0f2fe}.users-row-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;display:flex}.btn-profile-primary{color:#fff;background:#0284c7;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-flex}.btn-profile-primary:hover{background:#0369a1}.users-empty-state{text-align:center;color:#64748b;padding:48px 20px}.users-empty-state svg{color:#94a3b8;width:48px;height:48px;margin-bottom:12px}.user-profile-page{max-width:1440px;color:var(--text,#0f172a);margin:0 auto;padding:24px}.profile-breadcrumb{color:#64748b;align-items:center;gap:8px;margin-bottom:20px;font-size:13px;display:flex}.profile-breadcrumb a{color:#0284c7;font-weight:600;text-decoration:none}.profile-breadcrumb a:hover{text-decoration:underline}.profile-hero{background:#fff;border:1px solid #e2e8f0;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:28px;display:flex;box-shadow:0 1px 3px #0000000a}.profile-hero__main{align-items:center;gap:20px;display:flex}.profile-hero__avatar{object-fit:cover;background:#e2e8f0;border-radius:20px;flex-shrink:0;width:72px;height:72px}.profile-hero__initials{color:#fff;background:linear-gradient(135deg,#0284c7,#0369a1);border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;font-size:26px;font-weight:800;display:flex}.profile-hero__info{flex-direction:column;gap:4px;display:flex}.profile-hero__name{color:#0f172a;margin:0;font-size:24px;font-weight:800}.profile-hero__meta{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.profile-hero__username{color:#64748b;direction:ltr;font-family:monospace;font-size:13px}.profile-hero__phone-group{align-items:center;gap:8px;display:flex}.profile-hero__phone{color:#334155;direction:ltr;font-family:monospace;font-size:14px;font-weight:700}.profile-hero__badges{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.profile-hero__actions{flex-wrap:wrap;gap:10px;display:flex}.profile-kpis{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px;display:grid}.profile-kpi{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:16px;padding:20px;display:flex;box-shadow:0 1px 3px #0000000a}.profile-kpi__icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.profile-kpi__icon svg{width:24px;height:24px}.profile-kpi__icon--orders{color:#0284c7;background:#e0f2fe}.profile-kpi__icon--spent{color:#16a34a;background:#dcfce7}.profile-kpi__icon--delivered{color:#9333ea;background:#f3e8ff}.profile-kpi__icon--favorites{color:#dc2626;background:#fef2f2}.profile-kpi__val{color:#0f172a;font-size:22px;font-weight:800}.profile-kpi__lbl{color:#64748b;margin-top:2px;font-size:13px;font-weight:600}.profile-workspace{grid-template-columns:1fr 360px;align-items:start;gap:24px;display:grid}@media (width<=1024px){.profile-workspace{grid-template-columns:1fr}}.profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;margin-bottom:24px;padding:24px;box-shadow:0 1px 3px #0000000a}.profile-card__header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:18px;padding-bottom:14px;display:flex}.profile-card__title{color:#0f172a;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:800;display:flex}.profile-card__title svg{color:#0284c7;width:22px;height:22px}.profile-orders-table{border-collapse:collapse;text-align:right;width:100%;font-size:13px}.profile-orders-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 14px;font-weight:700}.profile-orders-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px}.profile-orders-table tr:hover{background:#f8fafc}.profile-order-link{color:#0284c7;font-family:monospace;font-size:14px;font-weight:800;text-decoration:none}.profile-order-link:hover{text-decoration:underline}.profile-details-list{flex-direction:column;gap:14px;display:flex}.profile-detail-row{border-bottom:1px dashed #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;font-size:13px;display:flex}.profile-detail-row:last-child{border-bottom:none;padding-bottom:0}.profile-detail-label{color:#64748b;flex-shrink:0;font-weight:600}.profile-detail-val{color:#0f172a;text-align:left;font-weight:700}.profile-map-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;margin-top:12px;padding:14px;display:flex}.profile-map-btn{color:#fff;background:#1a73e8;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:700;text-decoration:none;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #1a73e840}.profile-map-btn:hover{background:#1557b0;transform:translateY(-1px);box-shadow:0 4px 10px #1a73e859}.sales-reps-page .page-header{align-items:flex-start;gap:16px}.sales-reps-page .page-header p{color:var(--text-secondary);max-width:62ch;margin:6px 0 0;font-size:14px;line-height:1.7}.rep-toast{z-index:30;color:#fff;background:#1d4ed8;border-radius:12px;max-width:min(520px,100vw - 32px);padding:12px 16px;font-weight:700;line-height:1.6;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 10px 28px #1d4ed847}.rep-filters{flex-wrap:wrap;align-items:end;gap:12px 16px;margin-bottom:16px;display:flex}.rep-filters .form-group{flex:180px;min-width:min(100%,180px);margin:0}.rep-filters input,.rep-filters select{width:100%;min-height:44px}.rep-chips{flex-wrap:wrap;gap:8px;margin:4px 0 16px;display:flex}.rep-chip{color:#1e3a8a;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 12px;font-weight:700}.rep-chip b{color:#1d4ed8;font-variant-numeric:tabular-nums;margin-inline-start:6px}.rep-chip.is-on{color:#fff;background:#2563eb;border-color:#2563eb}.rep-chip.is-on b{color:#eff6ff}.rep-chip.is-review:not(.is-on){background:#fffbeb;border-color:#f59e0b}.rep-chip:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.rep-table{overflow-x:auto}.rep-table table{min-width:880px}.rep-table td,.rep-table th{overflow-wrap:anywhere;vertical-align:top}.rep-row--review{background:#fffbeb;box-shadow:inset -3px 0 #d97706}.rep-review-label{color:#92400e;margin-top:6px;font-size:12px;font-weight:800;display:inline-block}.rep-actions{flex-wrap:wrap;gap:8px;display:flex}.rep-actions .btn{min-height:36px}.rep-summary{min-width:760px}.rep-summary tfoot td{color:#1e3a8a;background:#eff6ff;font-weight:800}.rep-money{font-variant-numeric:tabular-nums;white-space:nowrap}.rep-range-error{margin-bottom:12px}@media (prefers-reduced-motion:reduce){.rep-chip{transition:none}}@media (width<=720px){.rep-filters .form-group{flex-basis:100%}}.customers-page .customers-search{flex:1;min-width:280px}.customers-refreshing{color:#1d4ed8;margin-bottom:6px;font-size:13px}.customer-dup-notes{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.customer-dup-note{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:2px 10px;font-size:12px;text-decoration:none;display:inline-block}.customer-dup-note:hover{background:#dbeafe}.customer-source{color:#475569}.customer-info dl{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0;display:grid}.customer-info dt{color:#64748b;font-size:13px}.customer-info dd{margin:2px 0 0;font-weight:600}.customer-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0;display:grid}.customer-summary .card{flex-direction:column;gap:4px;display:flex}.customer-summary span{color:#64748b;font-size:13px}.customer-summary b{color:#1d4ed8;font-size:18px}.customer-edit-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.customer-edit-grid label{flex-direction:column;gap:4px;display:flex}.customer-edit-check{align-items:center;flex-direction:row!important}.customer-hint{color:#475569;font-size:13px}.inv{--b:#2563eb;--bd:#1d4ed8;--bl:#eff6ff;--ln:#e5e7eb;--tx:#0f172a;--mu:#64748b;color:var(--tx);flex-direction:column;gap:16px;font-size:15px;display:flex}.inv-head{border:1px solid var(--ln);background:#fff;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.inv-head h1{color:var(--tx);margin:0;font-size:24px;font-weight:800}.inv-head p{color:var(--mu);margin:4px 0 0}.inv-head-actions{gap:8px;display:flex}.inv-btn{background:var(--b);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:10px;padding:10px 18px;font-weight:700}.inv-btn:hover{background:var(--bd)}.inv-btn.is-light{background:var(--bl);color:var(--bd)}.inv-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.inv-kpi{text-align:right;border:1px solid var(--ln);border-top:4px solid var(--b);font:inherit;color:inherit;background:#fff;border-radius:14px;flex-direction:column;gap:6px;padding:16px;display:flex}.inv-kpi span{color:var(--mu);font-weight:600}.inv-kpi strong{color:var(--bd);font-size:26px;font-weight:800;line-height:1.2}.inv-kpi small{color:var(--mu);font-size:13px}button.inv-kpi{cursor:pointer}.inv-kpi.is-warn{border-top-color:#eab308}.inv-kpi.is-warn strong{color:#a16207}.inv-kpi.is-alert{border-top-color:#dc2626}.inv-kpi.is-alert strong{color:#b91c1c}.inv-filters{border:1px solid var(--ln);background:#fff;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.inv-filters input,.inv-filters select{font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-height:44px;padding:10px 12px}.inv-filters input{flex:240px}.inv-filters select{flex:0 180px}.inv-filters input:focus,.inv-filters select:focus{outline:2px solid var(--b);border-color:var(--b)}.inv-chips{flex-wrap:wrap;gap:6px;display:flex}.inv-chip{font:inherit;border:1px solid var(--ln);cursor:pointer;min-height:40px;color:var(--tx);background:#f8fafc;border-radius:999px;padding:8px 14px}.inv-chip b{background:#fff;border-radius:999px;margin-inline-start:4px;padding:0 8px;font-size:13px}.inv-chip.is-on{background:var(--b);border-color:var(--b);color:#fff}.inv-chip.is-on b{color:var(--bd)}.inv-chip.is-low.is-on{color:#422006;background:#eab308;border-color:#eab308}.inv-chip.is-out.is-on{background:#dc2626;border-color:#dc2626}.inv-clear.is-idle{visibility:hidden}.inv-brand{flex-wrap:wrap;flex:0 220px;align-items:center;gap:6px;display:flex}.inv-brand .fdd{flex:180px}.inv-retry{font:inherit;border:1px solid var(--ln);cursor:pointer;color:var(--b);background:#fff;border-radius:8px;padding:4px 10px}.inv-warn{color:#b45309;font-size:12px}.inv-chip b{text-align:center;min-width:3.5ch;display:inline-block}.inv-clear{min-width:96px;font:inherit;color:var(--b);cursor:pointer;background:0 0;border:0;text-decoration:underline}.inv-card{border:1px solid var(--ln);background:#fff;border-radius:14px;overflow:hidden}.inv-table-wrap{max-height:calc(100vh - 220px);overflow:auto}.inv-table{border-collapse:collapse;width:100%;min-width:820px}.inv-table th{z-index:1;background:var(--bl);color:var(--bd);text-align:right;white-space:nowrap;border-bottom:1px solid #bfdbfe;padding:0;position:sticky;top:0}.inv-table th button{all:unset;cursor:pointer;align-items:center;gap:6px;padding:12px;font-weight:700;display:flex}.inv-table th button span{opacity:.5;font-size:10px}.inv-table th button.is-on span{opacity:1}.inv-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px 12px}.inv-table tbody tr:nth-child(2n){background:#fafbfc}.inv-table tbody tr:hover{background:var(--bl)}.inv-table td small{color:var(--mu);margin-top:2px;font-size:12px;display:block}.inv-table .c-num{text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}.inv-table th.c-num button{justify-content:flex-end;width:calc(100% - 24px)}.inv-table .c-img{width:56px;padding-inline-end:0}.inv-table img,.inv-noimg{object-fit:contain;border:1px solid var(--ln);background:#f8fafc;border-radius:8px;place-items:center;width:44px;height:44px;display:grid}.inv-table .c-name strong{font-weight:700}.inv-unit{background:var(--bl);color:var(--bd);border-radius:6px;padding:2px 8px;font-size:13px;font-weight:600}.inv-u{color:var(--mu);font-size:13px}.inv-badge{white-space:nowrap;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700;display:inline-block}.inv-badge.is-ok{background:var(--bl);color:var(--bd)}.inv-badge.is-low{color:#854d0e;background:#fef9c3}.inv-badge.is-out{color:#b91c1c;background:#fee2e2}.inv-pager{border-top:1px solid var(--ln);color:var(--mu);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.inv-pager div{align-items:center;gap:8px;display:flex}.inv-pager button{font:inherit;border:1px solid var(--ln);cursor:pointer;background:#fff;border-radius:8px;min-height:40px;padding:8px 14px}.inv-pager button:disabled{opacity:.4;cursor:default}.inv-state{color:var(--mu);flex-direction:column;align-items:center;gap:12px;padding:56px 16px;font-size:16px;display:flex}.inv-state.is-err{color:#b91c1c}.inv-spin{border:3px solid var(--bl);border-top-color:var(--b);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite invspin}@keyframes invspin{to{transform:rotate(1turn)}}@media (width<=1100px){.inv-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.inv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.inv-kpis .inv-kpi:first-child{grid-column:1/-1}.inv-kpi strong{font-size:22px}.inv-filters select{flex:45%}.inv-table{min-width:0}.inv-table thead{display:none}.inv-table,.inv-table tbody{display:block}.inv-table tr{border-bottom:1px solid var(--ln);grid-template-columns:52px 1fr auto;gap:4px 10px;padding:12px;display:grid}.inv-table td{border:0;padding:0}.inv-table .c-img{grid-row:span 3}.inv-table .c-hide{display:none}.inv-table .c-name{grid-column:2/4}.inv-table .c-num{text-align:right}.inv-table td:last-child{grid-area:2/3}.inv-table-wrap{max-height:none}}@media print{.inv-head-actions,.inv-filters,.inv-pager,.inv-kpi small{display:none!important}.inv-table-wrap{max-height:none;overflow:visible}.inv-table th{position:static}.inv,.inv-card,.inv-head,.inv-kpi{box-shadow:none;border-color:#999}.inv-table tr{break-inside:avoid}}#root:has(.purchases-page){text-align:right;border:0;width:100%;max-width:none}.main-content:has(>.purchases-page){min-width:0}.purchases-page{--purchase-ink:#172f50;--purchase-muted:#52677f;--purchase-border:#dde6f0;--purchase-blue:#2563eb;color:var(--purchase-ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;text-align:right;letter-spacing:0;width:100%;min-width:0;max-width:1440px;margin:0 auto;padding:4px 0 24px;font-family:Cairo,Tahoma,sans-serif;font-size:14px;line-height:1.65}.purchases-page *,.purchases-page :before,.purchases-page :after{box-sizing:border-box}.purchases-page svg{flex-shrink:0;width:20px;height:20px;display:block}.purchases-page h1,.purchases-page h2,.purchases-page h3{color:var(--purchase-ink);letter-spacing:0;overflow-wrap:anywhere;font-family:inherit}.purchases-page p{margin:0}.purchases-page bdi,.purchases-page input[type=number]{font-variant-numeric:tabular-nums}.purchases-page .purchases-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.purchases-page .purchases-eyebrow{color:#607593;margin-bottom:5px;font-size:11px;font-weight:700;display:block}.purchases-page .purchases-heading h1{margin:0 0 8px;font-size:clamp(22px,2.3vw,30px);font-weight:800;line-height:1.5}.purchases-page .purchases-heading p{color:var(--purchase-muted);font-size:13px}.purchases-page .purchases-history-link{min-height:42px;color:var(--purchase-ink);white-space:nowrap;background:#fff;border:1px solid #ccd9e9;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.purchases-page .purchases-history-link:hover{border-color:var(--purchase-blue);color:var(--purchase-blue)}.purchases-page .purchases-workspace{grid-template-columns:minmax(260px,.85fr) minmax(0,1.4fr);align-items:start;gap:22px;margin-bottom:24px;display:grid}.purchases-page .purchases-panel{border:1px solid var(--purchase-border);background:#fff;border-radius:14px;min-width:0;margin:0;padding:22px;box-shadow:0 3px 12px #172f5006}.purchases-page .purchases-panel-heading{border-bottom:1px solid #edf1f6;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;padding-bottom:18px;display:flex}.purchases-page .purchases-panel-heading h2{align-items:center;gap:9px;margin:0 0 5px;font-size:17px;font-weight:800;line-height:1.6;display:flex}.purchases-page .purchases-panel-heading p{color:var(--purchase-muted);font-size:12px;line-height:1.9}.purchases-page .purchases-section-icon{width:40px;height:40px;color:var(--purchase-blue);background:#eef4ff;border-radius:11px;flex-shrink:0;place-items:center;display:grid}.purchases-page .purchases-count{min-width:25px;height:25px;color:var(--purchase-blue);background:#edf3ff;border-radius:7px;justify-content:center;align-items:center;padding:0 6px;font-size:12px;font-weight:800;display:inline-flex}.purchases-page label{color:var(--purchase-ink);margin:0 0 7px;font-size:12px;font-weight:700;line-height:1.8;display:block}.purchases-page input,.purchases-page textarea,.purchases-page select{width:100%;min-width:0;min-height:44px;font:inherit;color:var(--purchase-ink);background:#fff;border:1px solid #cfdbeb;border-radius:8px;padding:11px 12px;font-size:13px;transition:border-color .15s,box-shadow .15s}.purchases-page input:focus,.purchases-page textarea:focus{border-color:var(--purchase-blue);outline:none;box-shadow:0 0 0 3px #2563eb14}.purchases-page input::placeholder,.purchases-page textarea::placeholder{color:#7e8da1;opacity:1}.purchases-page input:disabled,.purchases-page textarea:disabled{color:#6b7c92;cursor:not-allowed;background:#f3f6fa}.purchases-page button{font-family:inherit}.purchases-page button:disabled{cursor:not-allowed}.purchases-page button:focus-visible,.purchases-page a:focus-visible,.purchases-page summary:focus-visible,.purchases-page .purchases-history-table:focus-visible{outline-offset:3px;outline:3px solid #93b4ff}.purchases-page .purchases-search-field{position:relative}.purchases-page .purchases-search-field>svg{color:#72839b;pointer-events:none;width:18px;height:18px;position:absolute;top:14px;right:13px}.purchases-page .purchases-search-field input{background:#f9fbfe;height:47px;padding-left:36px;padding-right:39px}.purchases-page .purchases-search-field input::-webkit-search-cancel-button{display:none}.purchases-page .purchases-search-field button{color:#6b7c92;cursor:pointer;background:0 0;border:0;border-radius:6px;width:32px;height:32px;font-size:23px;position:absolute;top:7px;left:7px}.purchases-page .purchases-search-field button:hover{background:#e9eff8}.purchases-page .purchases-results-heading{color:#64758c;justify-content:space-between;gap:8px;margin:18px 0 10px;font-size:11px;display:flex}.purchases-page .purchases-search-results{scrollbar-width:thin;scrollbar-color:#c2cedf transparent;scrollbar-gutter:stable;gap:10px;max-height:570px;padding-left:4px;display:grid;overflow-y:auto}.purchases-page .purchases-search-product{background:#fff;border:1px solid #e3eaf4;border-radius:10px;min-width:0;padding:13px}.purchases-page .purchases-search-product h3{margin:0 0 10px;font-size:13px;font-weight:800;line-height:1.8}.purchases-page .purchases-variant{border-top:1px dashed #e3eaf4;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding:9px 0 0;display:flex}.purchases-page .purchases-variant-details{min-width:0}.purchases-page .purchases-variant-details>strong{color:#536780;font-size:11px;font-weight:700;display:block}.purchases-page .purchases-variant-meta{color:#667990;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:4px;font-size:11px;display:flex}.purchases-page .purchases-variant-meta bdi{color:var(--purchase-ink);font-weight:700}.purchases-page .purchases-add{color:#1d55b7;cursor:pointer;background:#f0f5ff;border:1px solid #c9dafa;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;min-width:75px;min-height:38px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.purchases-page .purchases-add>span{font-size:19px;line-height:1}.purchases-page .purchases-add:not(:disabled):hover{color:#fff;background:#2563eb;border-color:#2563eb}.purchases-page .purchases-add.is-added{color:#0f766e;background:#ecf9f5;border-color:#bce4d6}.purchases-page .purchases-add:disabled:not(.is-added){color:#8392a5;background:#f1f4f8;border-color:#e2e8f0}.purchases-page .purchases-inactive{color:#a95330;background:#fff5ed;border-radius:4px;margin-inline-start:6px;padding:1px 5px;font-size:10px;display:inline-block}.purchases-page .purchases-muted{color:var(--purchase-muted);font-size:12px}.purchases-page .purchases-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:35px 20px;display:flex}.purchases-page .purchases-empty strong{color:#38506e;font-size:14px;font-weight:700}.purchases-page .purchases-empty p{color:#72829a;max-width:270px;font-size:12px;line-height:1.9}.purchases-page .purchases-empty-icon{color:#849bb8;background:#f6f9fe;border:1px solid #e0e8f3;border-radius:16px;place-items:center;width:56px;height:56px;margin-bottom:7px;display:grid}.purchases-page .purchases-empty-icon svg{width:27px;height:27px}.purchases-page .purchases-search-empty{min-height:250px}.purchases-page .purchases-draft-empty{background:#fbfcff;border:1px dashed #d6e1ef;border-radius:10px;min-height:230px}.purchases-page .purchases-draft-items{gap:14px;display:grid}.purchases-page .purchases-draft-item{background:#fbfcff;border:1px solid #dce6f2;border-radius:11px;min-width:0;padding:16px}.purchases-page .purchases-item-heading{align-items:flex-start;gap:9px;margin-bottom:16px;display:flex}.purchases-page .purchases-item-heading>div{flex:1;min-width:0}.purchases-page .purchases-item-heading h3{margin:0 0 4px;font-size:13px;font-weight:800;line-height:1.8}.purchases-page .purchases-item-heading p{color:#6b7d94;font-size:11px;line-height:1.8}.purchases-page .purchases-row-number{color:#667d9a;background:#fff;border:1px solid #e0e8f3;border-radius:7px;flex-shrink:0;place-items:center;width:25px;height:25px;font-size:11px;display:grid}.purchases-page .purchases-remove{color:#b05b64;cursor:pointer;background:#fff;border:1px solid #e8dfe2;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:32px;margin-inline-start:auto;display:grid}.purchases-page .purchases-remove svg{width:16px;height:16px}.purchases-page .purchases-remove:not(:disabled):hover{color:#b22e42;background:#fef0f1;border-color:#e9b9bd}.purchases-page .purchases-item-fields{grid-template-columns:.75fr 1fr 1fr;gap:10px;display:grid}.purchases-page .purchases-item-fields>div{min-width:0}.purchases-page .purchases-item-fields label{margin-bottom:6px;font-size:11px}.purchases-page .purchases-item-fields input{text-align:center;height:44px;padding:9px;font-size:14px;font-weight:700}.purchases-page .purchases-money-field{position:relative}.purchases-page .purchases-money-field input{text-align:right;padding-left:38px}.purchases-page .purchases-money-field>span{color:#8795a8;pointer-events:none;font-size:10px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.purchases-page .purchases-item-total{color:#687d95;border-top:1px solid #e5ecf6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:11px;font-size:11px;display:flex}.purchases-page .purchases-item-total strong{color:var(--purchase-ink);font-size:15px;font-weight:800}.purchases-page .purchases-item-total small{color:#667c96;font-size:10px;font-weight:600}.purchases-page .purchases-notes{margin-top:22px}.purchases-page .purchases-notes label>span{color:#8593a7;margin-inline-start:5px;font-size:10px;font-weight:400}.purchases-page .purchases-notes textarea{resize:vertical;background:#fcfdff;min-height:76px;font-size:12px}.purchases-page .purchases-price-note{color:#73839a;align-items:flex-start;gap:8px;padding:12px 0 18px;display:flex}.purchases-page .purchases-price-note>span{color:#7895bc;flex-shrink:0;font-size:15px}.purchases-page .purchases-price-note p{font-size:11px;line-height:1.9}.purchases-page .purchases-checkout{background:#f1f6fe;border-top:1px solid #dce7f6;border-radius:0 0 14px 14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin:0 -22px -22px;padding:20px 22px;display:flex}.purchases-page .purchases-checkout-total{flex-direction:column;gap:4px;display:flex}.purchases-page .purchases-checkout-total>span:first-child{color:#4f6684;font-size:11px;font-weight:600}.purchases-page .purchases-checkout-total>strong{color:#17375f;font-size:25px;font-weight:800;line-height:1.5}.purchases-page .purchases-checkout-total small{font-size:12px;font-weight:600}.purchases-page .purchases-checkout-total>span:last-child{color:#52677f;font-size:11px}.purchases-page .purchases-submit{border-radius:9px;justify-content:center;min-height:46px;padding:12px 18px;font-size:12px;box-shadow:0 4px 10px #2563eb1c}.purchases-page .purchases-submit:disabled{color:#6b829e;opacity:1;box-shadow:none;background:#dce5f1}.purchases-page .purchases-notice{text-align:right;border:1px solid;border-radius:10px;align-items:center;gap:12px;margin-bottom:22px;padding:16px 18px;display:flex}.purchases-page .purchases-notice>div{min-width:0}.purchases-page .purchases-notice strong{font-size:13px;font-weight:700;display:block}.purchases-page .purchases-notice p{font-size:12px;line-height:1.9}.purchases-page .purchases-notice-icon{border:1px solid;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:16px;font-weight:700;display:grid}.purchases-page .purchases-success{color:#116554;background:#edf9f3;border-color:#c7e7d6}.purchases-page .purchases-success p{color:#518171;margin-top:3px}.purchases-page .purchases-error{color:#a03742;background:#fff3f3;border-color:#f2cfd1;flex-wrap:wrap}.purchases-page .purchases-pending{color:#8f5d12;background:#fff9ed;border-color:#eedeb9}.purchases-page .purchases-dismiss{width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;margin-inline-start:auto;font-size:22px;display:grid}.purchases-page .purchases-dismiss:hover{background:#1165540d}.purchases-page .purchases-search-state{color:var(--purchase-muted);justify-content:center;align-items:center;gap:10px;padding:34px 10px;font-size:12px;display:flex}.purchases-page .purchases-spinner{border:2px solid;border-left-color:#0000;border-radius:50%;flex-shrink:0;width:17px;height:17px;animation:.7s linear infinite purchases-spin;display:inline-block}.purchases-page .purchases-pagination{flex-wrap:wrap;gap:10px;margin-top:18px;font-size:11px}.purchases-page .purchases-pagination button{min-height:35px;padding:6px 12px;font-size:11px}.purchases-page .purchases-audit-label{color:#7c8da4;white-space:nowrap;padding-top:5px;font-size:10px}.purchases-page .purchases-ledger{scroll-margin-top:20px}.purchases-page .purchases-history{border:1px solid #e0e8f3;border-radius:10px;margin-top:10px;overflow:hidden}.purchases-page .purchases-history summary{cursor:pointer;text-align:right;align-items:center;gap:16px;padding:16px;list-style:none;display:flex}.purchases-page .purchases-history summary::-webkit-details-marker{display:none}.purchases-page .purchases-history-main{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.purchases-page .purchases-history-main>div{flex-direction:column;gap:4px;min-width:0;display:flex}.purchases-page .purchases-history-main strong{overflow-wrap:anywhere;font-size:12px;font-weight:700}.purchases-page .purchases-history-main span:not(.purchases-history-icon){color:#7a8ca4;font-size:11px}.purchases-page .purchases-history-icon{color:#6283b0;background:#f0f5fd;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.purchases-page .purchases-history-amount{white-space:nowrap;color:#25476e;align-items:baseline;gap:6px;font-size:16px;display:flex}.purchases-page .purchases-history-amount small{color:#8091a6;font-size:10px;font-weight:600}.purchases-page .purchases-history-chevron{color:#8b9ab0;width:17px;height:17px;transition:transform .15s}.purchases-page .purchases-history[open] .purchases-history-chevron{transform:rotate(180deg)}.purchases-page .purchases-history[open] summary{background:#f7faff;border-bottom:1px solid #e5edf7}.purchases-page .purchases-history-body{padding:16px}.purchases-page .purchases-operation-id{color:#7a8ca4;flex-wrap:wrap;gap:6px 12px;margin-bottom:14px;font-size:10px;display:flex}.purchases-page .purchases-operation-id bdi{overflow-wrap:anywhere;color:#536d8c}.purchases-page .purchases-history-notes{color:#5c708a;margin-bottom:14px;font-size:12px;line-height:1.9}.purchases-page .purchases-history-table{border:1px solid #e5ebf4;border-radius:8px;width:100%;overflow-x:auto}.purchases-page .purchases-history-table table{min-width:600px}.purchases-page .purchases-history-table th{color:#617692;white-space:nowrap;background:#f5f8fd;padding:12px;font-size:11px}.purchases-page .purchases-history-table td{color:#38516f;padding:12px;font-size:12px}.purchases-page .purchases-table-variant{color:#8091a8;margin-top:4px;font-size:10px;display:block}.purchases-page .purchases-stock-change{align-items:center;gap:9px;display:inline-flex}.purchases-page .purchases-stock-change bdi:last-child{color:#0f766e;background:#eef9f4;border-radius:4px;padding:1px 6px;font-weight:700}@keyframes purchases-spin{to{transform:rotate(360deg)}}@media (width>=1700px){.purchases-page .purchases-workspace{grid-template-columns:minmax(320px,.8fr) minmax(0,1.4fr)}}@media (width<=1150px){.purchases-page .purchases-workspace{grid-template-columns:minmax(0,1fr)}.purchases-page .purchases-search-results{max-height:370px}}@media (width<=600px){.purchases-page .purchases-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.purchases-page .purchases-heading h1{font-size:21px}.purchases-page .purchases-heading p{font-size:11px}.purchases-page .purchases-history-link{gap:0;width:44px;min-width:44px;min-height:44px;padding:9px;font-size:0;overflow:hidden}.purchases-page .purchases-history-link svg{width:18px;height:18px}.purchases-page .purchases-panel{padding:16px}.purchases-page .purchases-panel-heading{margin-bottom:15px;padding-bottom:14px}.purchases-page .purchases-panel-heading h2{font-size:16px}.purchases-page .purchases-item-fields{grid-template-columns:1fr 1fr}.purchases-page .purchases-item-fields>div:first-child{grid-column:1/-1}.purchases-page .purchases-draft-item{padding:13px}.purchases-page .purchases-checkout{margin:0 -16px -16px;padding:18px 16px}.purchases-page .purchases-checkout-total>strong{font-size:23px}.purchases-page .purchases-checkout-total,.purchases-page .purchases-submit{width:100%}.purchases-page .purchases-notice{align-items:flex-start;gap:9px;padding:13px}.purchases-page .purchases-notice strong{font-size:12px}.purchases-page .purchases-audit-label{display:none}.purchases-page .purchases-history summary{gap:9px;padding:12px}.purchases-page .purchases-history-main{gap:9px}.purchases-page .purchases-history-icon{display:none}.purchases-page .purchases-history-main strong,.purchases-page .purchases-history-main span:not(.purchases-history-icon){font-size:11px}.purchases-page .purchases-history-amount{gap:3px;font-size:13px}.purchases-page .purchases-history-body{padding:12px}.purchases-page .purchases-remove,.purchases-page .purchases-dismiss{width:44px;height:44px}.purchases-page .purchases-add,.purchases-page .purchases-pagination button{min-height:44px}.purchases-page .purchases-search-field button{width:44px;height:44px;top:1px;left:1px}.purchases-page .purchases-search-field input{padding-left:49px}}@media (prefers-reduced-motion:reduce){.purchases-page *,.purchases-page :before,.purchases-page :after{transition:none!important;animation:none!important}}.purchases-page .purchases-invoice-fields{border-bottom:1px solid var(--purchase-border);margin-bottom:22px;padding-bottom:20px}.purchases-page .purchases-price-note label{align-items:center;gap:9px;margin:0;display:flex}.purchases-page .purchases-price-note input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--purchase-blue);flex-shrink:0;padding:0}.purchases-page .purchases-draft-item>p{color:var(--purchase-muted);margin-top:12px;font-size:11px;line-height:1.9}.purchases-page .purchases-history-main strong .erp-badge{color:inherit;margin-inline-start:8px;font-size:10px}.purchases-page .purchases-history-body>details{border:1px solid #e4eaf3;border-radius:9px;margin:16px 0}.purchases-page .purchases-history-body>details>summary{color:#a34350;background:#fff9f9}.purchases-page .purchases-history-body>details form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;display:grid}.purchases-page .purchases-history-body>details form>.btn{justify-self:start}@media (width>=1151px){.purchases-page .erp-dialog .purchases-workspace{grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:16px}}@media (width<=600px){.purchases-page .purchases-history-body>details form{grid-template-columns:1fr}}.purchases-page .purchase-invoice-form .form-group{min-width:0;margin:0}.purchases-page .purchase-invoice-form .erp-form-grid{gap:14px}.purchases-page .purchase-invoice-form label{color:#5f6d83;margin-bottom:6px;font-size:11px;font-weight:750}.purchases-page .purchase-invoice-form input,.purchases-page .purchase-invoice-form select,.purchases-page .purchase-invoice-form textarea{color:#26334a;background:#fff;border:1px solid #e1e7f1;border-radius:10px;min-height:42px;padding:10px 12px;font-size:12px}.purchases-page .purchase-subheading{color:#26334a;margin:23px 0 12px;font-size:12px;font-weight:800}.purchases-page .purchase-subheading>span{color:#8b9aaf;font-size:11px;font-weight:400}.purchases-page .purchase-invoice-lines{gap:14px;display:grid}.purchases-page .purchase-line-fields{grid-template-columns:2.15fr .7fr .85fr .85fr 1fr 40px;align-items:end;gap:9px;display:grid}.purchases-page .purchase-line-fields label{white-space:nowrap}.purchases-page .purchase-line-total{color:#566681;white-space:nowrap;justify-content:center;align-items:baseline;gap:4px;min-height:42px;padding:10px 0;font-size:12px;display:flex}.purchases-page .purchase-line-total small{font-size:10px}.purchases-page .purchase-line-remove{color:#da5766;cursor:pointer;background:#fff2f4;border:1px solid #ffdce1;border-radius:9px;place-items:center;width:40px;height:42px;display:grid}.purchases-page .purchase-line-remove:disabled{opacity:.45}.purchases-page .purchase-line-remove svg{width:17px;height:17px}.purchases-page .purchase-line-meta{color:#8290a5;padding-top:6px;font-size:10px;line-height:1.9}.purchases-page .purchase-add-line{min-height:31px;margin-top:10px;padding:4px 10px;font-size:10.5px}.purchases-page .purchase-amount-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0 8px;display:grid}.purchases-page .purchase-amount-strip>div{background:#f5f7fd;border-radius:10px;min-width:0;padding:12px}.purchases-page .purchase-amount-strip span{color:#8d9ab0;font-size:10px;display:block}.purchases-page .purchase-amount-strip strong{color:#26334a;overflow-wrap:anywhere;margin-top:7px;font-size:17px;display:block}.purchases-page .purchase-amount-strip strong.erp-negative{color:#d94f67}.purchases-page .purchase-amount-strip small{font-size:10px}.purchases-page .purchases-footer-actions{flex-wrap:wrap;gap:9px;display:flex}.purchases-page .purchases-footer-actions .btn{min-height:40px;padding:9px 14px;font-size:12px}.purchases-page .purchase-invoice-form .purchases-price-note{padding:11px 0 0}.purchases-page .purchase-invoice-form .purchases-notes{margin-top:14px}@media (width<=720px){.purchases-page .purchase-line-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.purchases-page .purchase-product-field{grid-column:1/-1}.purchases-page .purchase-line-total{grid-column:1/3;justify-content:flex-start}.purchases-page .purchase-line-remove{justify-self:end}.purchases-page .purchase-invoice-line{border:1px solid #e9edf4;border-radius:12px;padding:13px}.purchases-page .purchase-amount-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.purchases-page .purchases-footer-actions{justify-content:flex-end;width:100%}}.purchases-page .purchase-invoice-form .purchases-price-note input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0}.staff-accounts .page-header{flex-wrap:wrap;gap:12px}.staff-form h2{margin-bottom:18px;font-size:18px}.staff-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:0 18px;display:grid}.staff-hint{color:var(--text-secondary);margin-bottom:14px;font-size:13px;line-height:1.8}.staff-permissions{border:1px solid var(--border);border-radius:var(--radius);min-width:0;margin-bottom:18px;padding:16px}.staff-permissions legend{padding:0 8px;font-weight:700}.staff-permission-group+.staff-permission-group{margin-top:4px}.staff-permission-group h3{color:var(--text-secondary);margin:0 0 8px;font-size:13px}.staff-permission-grid{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin-bottom:16px;display:grid}.staff-checkbox{cursor:pointer;align-items:center;gap:9px;margin-bottom:12px;font-size:14px;display:flex}.staff-checkbox input{width:18px;height:18px;accent-color:var(--primary);flex-shrink:0;padding:0}.staff-checkbox input:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.staff-grants{flex-wrap:wrap;gap:6px;display:flex}.staff-grants .badge{white-space:normal}.staff-search{gap:8px;display:flex}.staff-table{overflow-x:auto}.staff-table table{min-width:680px}.staff-form .row-actions{margin-top:16px}.driver-shell{min-height:100dvh}.driver-header{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:14px;padding:16px 24px;display:flex}.driver-home{color:var(--primary-dark);margin-inline-end:auto;font-weight:800;text-decoration:none}.driver-content{max-width:1200px;margin:0 auto;padding:24px}.driver-content .table-container{overflow-x:auto}.driver-content table{min-width:620px}.order-driver-control{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.order-driver-control .form-group{flex:240px;margin-bottom:0}.order-driver-control select{flex:160px;min-width:160px}.orders-staff-table{overflow-x:auto}.orders-staff-table table{min-width:950px}@media (width<=600px){.driver-header{padding:12px 16px}.driver-content{padding:16px}.driver-content .page-header{flex-wrap:wrap;gap:12px}}.driver-profile-page{max-width:1440px;color:var(--text,#0f172a);margin:0 auto;padding:24px}.driver-breadcrumb{color:#64748b;align-items:center;gap:8px;margin-bottom:20px;font-size:13px;display:flex}.driver-breadcrumb a{color:#0284c7;font-weight:600;text-decoration:none}.driver-breadcrumb a:hover{text-decoration:underline}.driver-hero{background:#fff;border:1px solid #e2e8f0;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:28px;display:flex;box-shadow:0 1px 3px #0000000a}.driver-hero__main{align-items:center;gap:20px;display:flex}.driver-hero__avatar{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0284c7,#0369a1);border:0;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:72px;height:72px;padding:0;display:flex;overflow:hidden}.driver-hero__avatar img{object-fit:cover;width:100%;height:100%}.driver-hero__avatar svg{width:36px;height:36px}.driver-hero__info{flex-direction:column;gap:4px;display:flex}.driver-hero__name{color:#0f172a;margin:0;font-size:24px;font-weight:800}.driver-hero__meta{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.driver-hero__username{color:#64748b;direction:ltr;font-family:monospace;font-size:13px}.driver-hero__badges{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.driver-hero__actions{flex-wrap:wrap;gap:10px;display:flex}.driver-kpis{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px;display:grid}.driver-kpi{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:16px;padding:20px;display:flex;box-shadow:0 1px 3px #0000000a}.driver-kpi__icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.driver-kpi__icon svg{width:24px;height:24px}.driver-kpi__icon--total{color:#0284c7;background:#e0f2fe}.driver-kpi__icon--delivered{color:#16a34a;background:#dcfce7}.driver-kpi__icon--out{color:#7c3aed;background:#ede9fe}.driver-kpi__icon--money{color:#d97706;background:#fef3c7}.driver-kpi__val{color:#0f172a;font-size:22px;font-weight:800}.driver-kpi__lbl{color:#64748b;margin-top:2px;font-size:13px;font-weight:600}.driver-workspace{grid-template-columns:1fr 340px;align-items:start;gap:24px;display:grid}@media (width<=1024px){.driver-workspace{grid-template-columns:1fr}}.driver-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;margin-bottom:24px;padding:24px;box-shadow:0 1px 3px #0000000a}.driver-card__header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:18px;padding-bottom:14px;display:flex}.driver-card__title{color:#0f172a;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:800;display:flex}.driver-card__title svg{color:#0284c7;width:22px;height:22px}.driver-orders-table{border-collapse:collapse;text-align:right;width:100%;font-size:13px}.driver-orders-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 14px;font-weight:700}.driver-orders-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:14px}.driver-orders-table tr:hover{background:#f8fafc}.driver-order-link{color:#0284c7;font-family:monospace;font-size:14px;font-weight:800;text-decoration:none}.driver-order-link:hover{text-decoration:underline}.driver-details-list{flex-direction:column;gap:14px;display:flex}.driver-detail-row{border-bottom:1px dashed #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;font-size:13px;display:flex}.driver-detail-row:last-child{border-bottom:none;padding-bottom:0}.driver-detail-label{color:#64748b;flex-shrink:0;font-weight:600}.driver-detail-val{color:#0f172a;font-weight:700}.chat-page{grid-template-columns:320px minmax(0,1fr) 260px;gap:12px;height:calc(100vh - 140px);min-height:520px;font-family:Cairo,inherit;display:grid}.chat-page:not(:has(.chat-customer)){grid-template-columns:320px minmax(0,1fr)}.chat-inbox,.chat-thread,.chat-customer{background:#fff;border:1px solid #e3e8ef;border-radius:14px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.chat-inbox-head{border-bottom:1px solid #eef1f5;gap:8px;padding:12px;display:grid}.chat-inbox-head h1{color:#0265b5;margin:0;font-size:18px}.chat-inbox-head input,.chat-products input{width:100%;font:inherit;border:1px solid #d6dde6;border-radius:10px;padding:8px 10px}.chat-tabs{flex-wrap:wrap;gap:4px;display:flex}.chat-tabs button{font:inherit;cursor:pointer;background:#fff;border:1px solid #d6dde6;border-radius:999px;padding:4px 10px;font-size:13px}.chat-tabs button.is-active{color:#fff;background:#0265b5;border-color:#0265b5}.chat-inbox-list{flex:1;overflow-y:auto}.chat-inbox-item{text-align:right;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #f1f4f8;align-items:center;gap:10px;padding:10px 12px;display:flex}.chat-inbox-item:hover{background:#f5f9fd}.chat-inbox-item.is-active{background:#e8f2fb}.chat-inbox-item.is-unread strong{color:#0265b5}.chat-avatar{color:#0265b5;background:#e8f2fb;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.chat-inbox-text{flex:1;min-width:0;display:grid}.chat-inbox-text strong,.chat-inbox-text small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-inbox-text small{color:#6b7785}.chat-inbox-meta{color:#8a96a3;justify-items:end;gap:4px;font-size:11px;display:grid}.chat-inbox-meta em{color:#8a96a3;font-style:normal}.chat-count{color:#fff;text-align:center;background:#0265b5;border-radius:999px;min-width:20px;padding:0 6px;font-size:11px;line-height:20px}.chat-empty,.chat-placeholder{text-align:center;color:#6b7785;padding:24px}.chat-placeholder{margin:auto}.chat-thread-head{border-bottom:1px solid #eef1f5;align-items:center;gap:10px;padding:10px 14px;display:flex}.chat-thread-head>div{flex:1;display:grid}.chat-thread-head small{color:#6b7785}.chat-back{display:none}.chat-messages{background:#f6f8fb;flex-direction:column;flex:1;gap:6px;padding:14px;display:flex;overflow-y:auto}.chat-older{align-self:center}.chat-bubble-row{justify-content:flex-start;display:flex}.chat-bubble-row.is-mine{justify-content:flex-end}.chat-bubble{background:#fff;border:1px solid #e3e8ef;border-radius:14px;max-width:min(70%,520px);padding:8px 12px}.chat-bubble.is-admin{color:#fff;background:#0265b5;border-color:#0265b5}.chat-bubble.is-bot{background:#eef6ff}.chat-bubble p{white-space:pre-wrap;word-break:break-word;margin:2px 0;line-height:1.6}.chat-sender{opacity:.8;font-size:11px;font-weight:700;display:block}.chat-meta{opacity:.8;justify-content:flex-end;gap:6px;font-size:10px;display:flex}.chat-ticks.is-read{color:#7dd3fc;opacity:1}.chat-system{color:#4b5866;background:#eef1f5;border-radius:999px;align-self:center;padding:4px 12px;font-size:12px}.chat-typing{color:#6b7785;font-size:13px}.chat-typing span{animation:1s infinite chat-blink}@keyframes chat-blink{50%{opacity:.2}}.chat-error{color:#b42318;margin:6px 14px}.chat-closed-bar{text-align:center;color:#8a5a00;background:#fff7e6;border-top:1px solid #f1e3c2;padding:14px}.chat-composer{border-top:1px solid #eef1f5;gap:8px;padding:10px;display:grid}.chat-canned{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.chat-canned button{white-space:nowrap;text-overflow:ellipsis;color:#0265b5;max-width:220px;font:inherit;cursor:pointer;background:#f3f8fd;border:1px solid #cfe1f3;border-radius:999px;flex:none;padding:4px 10px;font-size:12px;overflow:hidden}.chat-attached{flex-wrap:wrap;gap:6px;display:flex}.chat-attached span{color:#0265b5;background:#e8f2fb;border-radius:999px;padding:2px 4px 2px 10px;font-size:12px}.chat-attached button{cursor:pointer;color:inherit;background:0 0;border:0;font-size:14px}.chat-products{border:1px solid #e3e8ef;border-radius:10px;gap:6px;padding:8px;display:grid}.chat-products>div{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;max-height:180px;display:grid;overflow-y:auto}.chat-products button{font:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #e3e8ef;border-radius:8px;align-items:center;gap:6px;padding:4px;font-size:12px;display:flex}.chat-products button:disabled{opacity:.5;cursor:default}.chat-products img{object-fit:contain;width:32px;height:32px}.chat-input-row{align-items:flex-end;gap:8px;display:flex}.chat-input-row textarea{resize:none;font:inherit;border:1px solid #d6dde6;border-radius:10px;flex:1;padding:8px}.chat-customer{padding:14px;overflow-y:auto}.chat-customer h2{color:#0265b5;margin:0 0 10px;font-size:15px}.chat-customer dl{gap:2px;margin:0;display:grid}.chat-customer dt{color:#6b7785;margin-top:6px;font-size:12px}.chat-customer dd{word-break:break-word;margin:0;font-weight:600}.chat-customer-links{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}@media (width<=1200px){:is(.chat-page,.chat-page:not(:has(.chat-customer))){grid-template-columns:280px minmax(0,1fr)}.chat-customer{display:none}}@media (width<=760px){:is(.chat-page,.chat-page:not(:has(.chat-customer))){grid-template-columns:1fr;height:calc(100vh - 120px)}.chat-page:has(.chat-thread-head) .chat-inbox{display:none}.chat-page:not(:has(.chat-thread-head)) .chat-thread{display:none}.chat-back{display:inline-flex}}
