:root{--teal:#0d9488;--teal-light:#14b8a6;--teal-dark:#0f766e;--teal-50:#f0fdfa;--teal-100:#ccfbf1;--bg:#f8fafc;--bg-secondary:#fff;--bg-tertiary:#f1f5f9;--sidebar-bg:#0f172a;--sidebar-text:#94a3b8;--sidebar-active:#14b8a6;--sidebar-width:260px;--card:#fff;--card-bg:#fff;--header-bg:#fff;--input-bg:#fff;--table-header-bg:#f8fafc;--table-row-hover:#f8fafc;--border:#e2e8f0;--border-light:#f1f5f9;--text:#1e293b;--text-muted:#64748b;--text-soft:#94a3b8;--danger:#ef4444;--warning:#f59e0b;--success:#10b981;--shadow-sm:0 1px 3px #0000000a;--shadow-md:0 4px 12px #00000014;--font-main:"Cairo", sans-serif}:root[data-theme=dark]{--bg:#0b1220;--bg-secondary:#111827;--bg-tertiary:#1f2937;--sidebar-bg:#050912;--sidebar-text:#94a3b8;--card:#111827;--card-bg:#111827;--header-bg:#0f172a;--input-bg:#1f2937;--table-header-bg:#1f2937;--table-row-hover:#1e293b;--border:#1f2937;--border-light:#1e293b;--text:#f1f5f9;--text-muted:#cbd5e1;--text-soft:#94a3b8;--shadow-sm:0 1px 3px #00000059;--shadow-md:0 4px 14px #0006}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-main);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;direction:rtl;min-height:100dvh;transition:background .25s,color .25s}@media (width<=768px){input,select,textarea{font-size:16px!important}}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.table-wrapper,.modal,.sidebar,.main-content{-webkit-overflow-scrolling:touch}.sidebar{padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}.main-content{padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}.mobile-menu-btn{top:calc(14px + env(safe-area-inset-top,0))}.app-layout{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);z-index:100;flex-direction:column;height:100vh;transition:transform .3s;display:flex;position:fixed;right:0;overflow-y:auto}.sidebar-logo{border-bottom:1px solid #1e293b;padding:28px 24px 20px}.sidebar-logo h1{color:var(--teal-light);letter-spacing:-.5px;font-size:1.4rem;font-weight:900}.sidebar-logo span{color:#475569;font-size:.75rem}.sidebar-nav{flex:1;padding:16px 0}.nav-section-title{color:#334155;letter-spacing:1px;text-transform:uppercase;padding:12px 24px 6px;font-size:.7rem;font-weight:700}.nav-item{color:var(--sidebar-text);cursor:pointer;border-right:3px solid #0000;align-items:center;gap:12px;padding:11px 24px;font-size:.88rem;text-decoration:none;transition:all .2s;display:flex}.nav-item:hover{color:#e2e8f0;background:#1e293b}.nav-item.active{color:var(--sidebar-active);border-right-color:var(--sidebar-active);background:#0d2535}.nav-item .nav-icon{text-align:center;width:20px;font-size:1.1rem}.mobile-menu-btn{z-index:200;background:var(--sidebar-bg);cursor:pointer;border:none;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;display:none;position:fixed;top:14px;right:14px;box-shadow:0 2px 12px #00000026}.hamburger-line{background:var(--teal-light);border-radius:2px;width:22px;height:2.5px;transition:all .3s;display:block}.sidebar-close-btn{color:#94a3b8;cursor:pointer;z-index:10;background:#1e293b;border:1px solid #334155;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;transition:all .2s;display:none;position:absolute;top:16px;left:16px}.sidebar-close-btn:hover{color:#fff;background:#ef4444;border-color:#ef4444}.sidebar-overlay{z-index:99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000080;display:none;position:fixed;inset:0}.main-content{margin-right:var(--sidebar-width);flex-direction:column;flex:1;min-height:100vh;display:flex}.page-header{background:var(--header-bg);border-bottom:1px solid var(--border);z-index:50;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:18px 32px;transition:background .25s,border-color .25s;display:flex;position:sticky;top:0}.page-header h2{color:var(--text);font-size:1.25rem;font-weight:700}.page-header .breadcrumb{color:var(--text-muted);font-size:.8rem}.page-body{flex:1;padding:28px 32px}.card{background:var(--card-bg);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:12px;transition:background .25s,border-color .25s}.card-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:18px 24px;display:flex}.card-header h3{color:var(--text);align-items:center;gap:8px;font-size:1rem;font-weight:700;display:flex}.card-body{padding:24px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.form-grid.col-4{grid-template-columns:repeat(4,1fr)}.form-grid.col-1{grid-template-columns:1fr}.form-group{flex-direction:column;gap:6px;display:flex}.form-group.full-width{grid-column:1/-1}.form-label{color:var(--text);font-size:.82rem;font-weight:600}.form-label .required{color:var(--danger);margin-right:2px}.form-control{border:1.5px solid var(--border);font-family:var(--font-main);color:var(--text);background:var(--input-bg);direction:rtl;border-radius:8px;outline:none;width:100%;padding:10px 14px;font-size:.9rem;transition:border-color .2s,box-shadow .2s,background .25s}.form-control:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0d94881a}.form-control::placeholder{color:#cbd5e1}select.form-control{cursor:pointer}textarea.form-control{resize:vertical;min-height:90px}.radio-group{border:1.5px solid var(--border);border-radius:8px;gap:0;display:flex;overflow:hidden}.radio-option{flex:1;position:relative}.radio-option input{opacity:0;pointer-events:none;position:absolute}.radio-option label{cursor:pointer;color:var(--text-muted);border-left:1px solid var(--border);justify-content:center;align-items:center;gap:6px;padding:10px 16px;font-size:.88rem;font-weight:600;transition:all .2s;display:flex}.radio-option:last-child label{border-left:none}.radio-option input:checked+label{background:var(--teal);color:#fff}.checkbox-row{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.checkbox-item{cursor:pointer;align-items:center;gap:8px;display:flex}.checkbox-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--teal);cursor:pointer}.checkbox-item label{color:var(--text);cursor:pointer;font-size:.88rem;font-weight:500}.days-grid{flex-wrap:wrap;gap:8px;display:flex}.day-chip{position:relative}.day-chip input{opacity:0;pointer-events:none;position:absolute}.day-chip label{border:1.5px solid var(--border);cursor:pointer;width:42px;height:42px;color:var(--text-muted);border-radius:10px;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;transition:all .2s;display:flex}.day-chip input:checked+label{background:var(--teal);color:#fff;border-color:var(--teal)}.btn{font-family:var(--font-main);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{background:var(--teal);color:#fff}.btn-primary:hover{background:var(--teal-dark);transform:translateY(-1px);box-shadow:0 4px 12px #0d94884d}.btn-full{border-radius:10px;justify-content:center;width:100%;margin-top:8px;padding:14px 24px;font-size:1rem}.btn-danger{color:var(--danger);background:#fee2e2}.btn-danger:hover{background:var(--danger);color:#fff}.btn-outline{color:var(--teal);border:1.5px solid var(--teal);background:#fff}.btn-outline:hover{background:var(--teal-50)}.btn-sm{padding:6px 12px;font-size:.8rem}.btn-ghost{color:var(--text-muted);border:1.5px solid var(--border);background:0 0}.btn-ghost:hover{background:var(--bg);color:var(--text)}.section-title{color:var(--teal-dark);border-bottom:2px solid var(--teal-100);align-items:center;gap:8px;margin-bottom:18px;padding:12px 0 8px;font-size:.9rem;font-weight:700;display:flex}.table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:600px}th{background:var(--table-header-bg);text-align:right;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border);white-space:nowrap;padding:12px 16px;font-size:.78rem;font-weight:700}td{border-bottom:1px solid var(--border-light);color:var(--text);padding:14px 16px;font-size:.88rem}tr:hover td{background:var(--table-row-hover)}tr:last-child td{border-bottom:none}.badge{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.badge-green{color:#16a34a;background:#dcfce7}.badge-teal{background:var(--teal-100);color:var(--teal-dark)}.badge-orange{color:#ea580c;background:#fff7ed}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;display:grid}.stat-card{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;align-items:center;gap:16px;padding:20px;transition:background .25s,border-color .25s;display:flex}.stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.4rem;display:flex}.stat-icon.teal{background:var(--teal-100)}.stat-icon.blue{background:#dbeafe}.stat-icon.purple{background:#ede9fe}.stat-icon.orange{background:#fff7ed}.stat-info h3{color:var(--text);font-size:1.6rem;font-weight:800;line-height:1}.stat-info p{color:var(--text-muted);margin-top:4px;font-size:.8rem}.alert{border-radius:8px;align-items:center;gap:8px;margin-bottom:16px;padding:12px 16px;font-size:.88rem;display:flex}.alert-success{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0}.alert-error{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}@media print{.no-print{display:none!important}.print-only{display:block!important}body{background:#fff}.sidebar,.mobile-menu-btn{display:none!important}.main-content{margin-right:0!important}}.sticker-container{width:100mm;height:80mm;min-height:unset;font-family:var(--font-main);direction:rtl;background:#fff;border:2px solid #e2e8f0;border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.sticker-header{background:var(--teal-dark);color:#fff;flex-shrink:0;justify-content:space-between;align-items:center;padding:5px 10px;display:flex}.sticker-header .brand{letter-spacing:-.5px;font-size:.85rem;font-weight:900}.sticker-header .sort-code{color:#14b8a6;background:#000;border-radius:4px;padding:2px 8px;font-size:.8rem;font-weight:800}.sticker-body{flex:1;padding:5px 10px;overflow:hidden}.sticker-client-row{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;margin-bottom:4px;padding-bottom:4px;display:flex}.sticker-name{color:#0f172a;font-size:.88rem;font-weight:800}.sticker-id{background:var(--teal);color:#fff;border-radius:4px;padding:2px 7px;font-size:.75rem;font-weight:800}.sticker-row{color:#475569;justify-content:space-between;margin-bottom:3px;font-size:.7rem;display:flex}.sticker-row strong{color:#1e293b}.sticker-section{border-top:1px dashed #e2e8f0;margin-top:4px;padding-top:4px}.sticker-section-title{color:var(--teal-dark);text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px;font-size:.65rem;font-weight:700}.sticker-meals-list{color:#374151;font-size:.7rem;line-height:1.4}.sticker-address{background:#f8fafc;border-radius:4px;margin-top:4px;padding:4px 8px;font-size:.7rem}.sticker-address-row{gap:8px;margin-bottom:2px;display:flex}.sticker-address-item{align-items:center;gap:2px;display:flex}.sticker-address-item span:first-child{color:var(--teal-dark);font-size:.68rem;font-weight:800}.sticker-dislikes{color:#b91c1c;background:#fee2e2;border-radius:4px;margin-top:3px;padding:3px 8px;font-size:.7rem;font-weight:600}.sticker-days-left{background:var(--teal-dark);color:#fff;text-align:center;border-radius:4px;margin-top:4px;padding:3px;font-size:.75rem;font-weight:800}.sticker-footer{color:var(--text-muted);background:#f1f5f9;flex-shrink:0;justify-content:space-between;padding:3px 10px;font-size:.65rem;display:flex}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--card-bg);color:var(--text);border-radius:16px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h3{font-size:1.1rem;font-weight:700}.modal-close{cursor:pointer;color:var(--text-muted);background:0 0;border:none;border-radius:4px;padding:4px;font-size:1.2rem}.modal-close:hover{background:#f1f5f9}.modal-body{padding:24px}.loading{color:var(--text-muted);justify-content:center;align-items:center;gap:10px;padding:40px;font-size:.9rem;display:flex}.spinner{border:2px solid var(--border);border-top-color:var(--teal);border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;color:var(--text-muted);padding:48px 24px}.empty-state .empty-icon{opacity:.4;margin-bottom:12px;font-size:3rem}.empty-state h3{color:var(--text);margin-bottom:6px;font-size:1rem;font-weight:700}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:.3s fadeIn}.number-input{border:1.5px solid var(--border);border-radius:8px;align-items:center;display:flex;overflow:hidden}.number-input button{cursor:pointer;width:36px;height:40px;color:var(--teal);background:#f8fafc;border:none;font-size:1rem;font-weight:700;transition:background .15s}.number-input button:hover{background:var(--teal-100)}.number-input input{text-align:center;font-family:var(--font-main);color:var(--text);border:none;outline:none;flex:1;height:40px;font-size:.95rem;font-weight:700}@media (width<=1024px){.stats-grid,.form-grid.col-4{grid-template-columns:repeat(2,1fr)}.stat-info h3{font-size:1.3rem}}@media (width<=768px){.sidebar{width:280px;transform:translate(100%);box-shadow:-4px 0 24px #0000004d}.sidebar.sidebar-open{transform:translate(0)}.mobile-menu-btn,.sidebar-close-btn{display:flex}.sidebar-overlay{display:block}.main-content{margin-right:0}.page-header{padding:60px 16px 14px}.page-header h2{font-size:1.05rem}.page-body{padding:16px 12px}.form-grid{grid-template-columns:1fr}.form-grid.col-4{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{gap:10px;padding:14px}.stat-icon{width:40px;height:40px;font-size:1.1rem}.stat-info h3{font-size:1.2rem}.stat-info p{font-size:.72rem}.card-header{padding:14px 16px}.card-body{padding:16px}.table-wrapper{margin:0 -12px;padding:0 12px}th,td{padding:10px 12px;font-size:.8rem}.modal-overlay{align-items:flex-end;padding:12px}.modal{border-radius:16px 16px 0 0;max-height:85vh}.modal-header{padding:16px 18px}.modal-body{padding:18px}.btn{padding:10px 16px;font-size:.85rem}.btn-full{padding:12px 20px}}@media (width<=480px){.stats-grid{grid-template-columns:1fr;gap:8px}.stat-card{padding:12px}.form-grid.col-4{grid-template-columns:1fr}.page-header h2{font-size:.95rem}.page-body{padding:12px 10px}.radio-group{flex-direction:column}.radio-option label{border-left:none;border-bottom:1px solid var(--border);padding:12px 16px}.radio-option:last-child label{border-bottom:none}.modal-overlay{padding:0}.modal{border-radius:16px 16px 0 0;max-height:90vh}.checkbox-row{gap:12px}.days-grid{gap:6px}.day-chip label{width:38px;height:38px;font-size:.72rem}}.data-table{border-collapse:collapse;width:100%;font-size:.9rem}.data-table thead th{color:#475569;text-align:start;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:10px 12px;font-size:.85rem;font-weight:600}.data-table tbody td{border-bottom:1px solid #f1f5f9;padding:10px 12px}.data-table tbody tr:hover{background:#f8fafc}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.stat-label{color:#64748b;margin-bottom:4px;font-size:.85rem}.stat-value{color:#1e293b;font-size:1.5rem;font-weight:700}.modal-backdrop{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-backdrop .modal{background:#fff;border-radius:8px;width:100%;max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 20px 50px #0003}.modal-backdrop .modal h3{margin:0 0 16px}.modal-backdrop .modal label{color:#475569;margin-bottom:4px;font-size:.85rem;display:block}.modal-backdrop .modal input,.modal-backdrop .modal select,.modal-backdrop .modal textarea{border:1px solid #d1d5db;border-radius:6px;width:100%;margin-bottom:4px;padding:8px 10px;font-family:Cairo,sans-serif;font-size:.9rem}.modal-backdrop .modal input:focus,.modal-backdrop .modal select:focus,.modal-backdrop .modal textarea:focus{border-color:#0d9488;outline:none}.alert-info{color:#1e3a8a;background:#dbeafe;border-inline-start:4px solid #3b82f6;border-radius:6px;padding:10px 14px;font-size:.9rem}.material-picker input:focus{border-color:#0d9488;outline:none}.pill-tabs{background:var(--bg-tertiary);border:1px solid var(--border);scrollbar-width:thin;border-radius:999px;flex-wrap:wrap;gap:2px;max-width:100%;margin-bottom:20px;padding:4px;display:inline-flex;overflow-x:auto}.pill-tabs::-webkit-scrollbar{height:4px}.pill-tabs::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}.pill-tab{font-family:var(--font-main);color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:8px 18px;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex}.pill-tab:hover{color:var(--text);background:var(--bg-secondary)}.pill-tab.active{background:linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);color:#fff;box-shadow:0 2px 10px #0d948859}.pill-tab .count{background:#ffffff40;border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:700}.pill-tab:not(.active) .count{background:var(--bg-secondary);color:var(--text-muted);border:1px solid var(--border)}.underline-tabs{border-bottom:2px solid var(--border);flex-wrap:wrap;gap:4px;margin-bottom:20px;display:flex;overflow-x:auto}.underline-tab{font-family:var(--font-main);cursor:pointer;color:var(--text-muted);white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 18px;font-size:.88rem;font-weight:600;transition:color .2s,border-color .2s;display:inline-flex}.underline-tab:hover{color:var(--text)}.underline-tab.active{color:var(--teal);border-bottom-color:var(--teal)}.collapsible-card .collapsible-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s}.collapsible-card .collapsible-header:hover{background:var(--bg-tertiary)}.collapse-arrow{color:var(--text-soft);font-size:.75rem;transition:transform .25s;display:inline-block}.collapse-arrow.open{color:var(--teal);transform:rotate(180deg)}.chip-group{background:var(--card-bg);border:1.5px solid var(--border);border-radius:8px;align-items:stretch;display:inline-flex;overflow:hidden}.chip-btn{font-family:var(--font-main);cursor:pointer;color:var(--text);border:none;border-left:1px solid var(--border);border-right:1px solid var(--border);background:0 0;border-top:none;border-bottom:none;padding:6px 14px;font-size:.85rem;font-weight:700;transition:all .15s}.chip-btn:hover{background:var(--bg-tertiary)}.chip-btn.chip-active{color:#fff}.chip-btn.chip-active.chip-teal{background:#0d9488}.chip-btn.chip-active.chip-purple{background:#7c3aed}.chip-btn.chip-active.chip-amber{background:#f59e0b}.chip-action{background:var(--bg-tertiary);color:var(--text-muted);cursor:pointer;border:none;padding:0 8px;font-size:.78rem;transition:all .15s}.chip-action.chip-edit:hover{color:#d97706;background:#fef3c7}.chip-action.chip-delete:hover{color:#dc2626;background:#fee2e2}.theme-toggle{color:#94a3b8;cursor:pointer;width:100%;font-family:var(--font-main);background:#1e293b;border:1px solid #334155;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px;font-size:.85rem;transition:all .2s;display:flex}.theme-toggle:hover{color:#fff;background:#0d9488;border-color:#0d9488}.theme-segmented{background:#1e293b;border:1px solid #334155;border-radius:8px;gap:2px;padding:3px;display:flex}.theme-segmented button{color:#94a3b8;cursor:pointer;font-family:var(--font-main);background:0 0;border:none;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:5px;padding:7px 6px;font-size:.78rem;font-weight:600;transition:all .18s;display:flex}.theme-segmented button.active{color:#fff;background:linear-gradient(135deg,#0d9488 0%,#14b8a6 100%);box-shadow:0 2px 6px #0d948866}[data-theme=dark] .badge-teal{color:#5eead4;background:#14b8a62e}[data-theme=dark] .badge-green{color:#86efac;background:#22c55e2e}[data-theme=dark] .badge-orange{color:#fdba74;background:#f973162e}[data-theme=dark] .alert-success{color:#86efac;background:#22c55e1f;border-color:#22c55e40}[data-theme=dark] .alert-error{color:#fca5a5;background:#ef44441f;border-color:#ef444440}[data-theme=dark] .stat-icon.teal{background:#14b8a62e}[data-theme=dark] .stat-icon.blue{background:#3b82f62e}[data-theme=dark] .stat-icon.purple{background:#7c3aed2e}[data-theme=dark] .stat-icon.orange{background:#f973162e}[data-theme=dark] .btn-ghost{background:0 0}[data-theme=dark] .btn-ghost:hover{background:var(--bg-tertiary);color:var(--text)}[data-theme=dark] .btn-danger{color:#fca5a5;background:#ef444426}[data-theme=dark] .btn-danger:hover{color:#fff;background:#ef4444}[data-theme=dark] .btn-outline{background:0 0}[data-theme=dark] .form-control::placeholder{color:#475569}[data-theme=dark] .number-input{background:var(--input-bg)}[data-theme=dark] .number-input button{background:var(--bg-tertiary);color:#5eead4}[data-theme=dark] .number-input button:hover{background:var(--teal);color:#fff}[data-theme=dark] .number-input input{background:var(--input-bg);color:var(--text)}[data-theme=dark] .modal-close:hover{background:var(--bg-tertiary);color:var(--text)}[data-theme=dark] .chip-action.chip-edit:hover{color:#fcd34d;background:#f59e0b33}[data-theme=dark] .chip-action.chip-delete:hover{color:#fca5a5;background:#ef444433}[data-theme=dark] [style*="background: white"],[data-theme=dark] [style*=background\:white],[data-theme=dark] [style*="background: #fff"],[data-theme=dark] [style*="background:#fff"],[data-theme=dark] [style*="background: #FFF"],[data-theme=dark] [style*="background-color: white"],[data-theme=dark] [style*=background-color\:white],[data-theme=dark] [style*="background-color: #fff"],[data-theme=dark] [style*="background-color:#fff"]{background-color:var(--card-bg)!important}[data-theme=dark] [style*="background: #f8fafc"],[data-theme=dark] [style*="background:#f8fafc"],[data-theme=dark] [style*="background: #f1f5f9"],[data-theme=dark] [style*="background:#f1f5f9"],[data-theme=dark] [style*="background: #fafafa"],[data-theme=dark] [style*="background:#fafafa"]{background-color:var(--bg-tertiary)!important}[data-theme=dark] [style*="background: #f0fdfa"],[data-theme=dark] [style*="background:#f0fdfa"]{background-color:#14b8a61a!important}[data-theme=dark] [style*="background: #fffbeb"],[data-theme=dark] [style*="background:#fffbeb"],[data-theme=dark] [style*="background: #fff7ed"],[data-theme=dark] [style*="background:#fff7ed"],[data-theme=dark] [style*="background: #fef3c7"],[data-theme=dark] [style*="background:#fef3c7"]{background-color:#fbbf241a!important}[data-theme=dark] [style*="background: #eff6ff"],[data-theme=dark] [style*="background:#eff6ff"],[data-theme=dark] [style*="background: #dbeafe"],[data-theme=dark] [style*="background:#dbeafe"]{background-color:#3b82f61a!important}[data-theme=dark] [style*="background: #fee2e2"],[data-theme=dark] [style*="background:#fee2e2"]{background-color:#ef44441f!important}[data-theme=dark] [style*="color: #0f172a"],[data-theme=dark] [style*="color:#0f172a"],[data-theme=dark] [style*="color: #1e293b"],[data-theme=dark] [style*="color:#1e293b"],[data-theme=dark] [style*="color: #1f2937"],[data-theme=dark] [style*="color:#1f2937"],[data-theme=dark] [style*="color: #111827"],[data-theme=dark] [style*="color:#111827"]{color:var(--text)!important}[data-theme=dark] [style*="color: #374151"],[data-theme=dark] [style*="color:#374151"],[data-theme=dark] [style*="color: #475569"],[data-theme=dark] [style*="color:#475569"],[data-theme=dark] [style*="color: #4b5563"],[data-theme=dark] [style*="color:#4b5563"],[data-theme=dark] [style*="color: #64748b"],[data-theme=dark] [style*="color:#64748b"],[data-theme=dark] [style*="color: #6b7280"],[data-theme=dark] [style*="color:#6b7280"]{color:var(--text-muted)!important}[data-theme=dark] [style*="color: #94a3b8"],[data-theme=dark] [style*="color:#94a3b8"],[data-theme=dark] [style*="color: #9ca3af"],[data-theme=dark] [style*="color:#9ca3af"]{color:var(--text-soft)!important}[data-theme=dark] [style*="border: 1px solid #e2e8f0"],[data-theme=dark] [style*="border:1px solid #e2e8f0"],[data-theme=dark] [style*="border: 1.5px solid #e2e8f0"],[data-theme=dark] [style*="border:1.5px solid #e2e8f0"],[data-theme=dark] [style*="border: 2px solid #e2e8f0"],[data-theme=dark] [style*="border:2px solid #e2e8f0"],[data-theme=dark] [style*="border-color: #e2e8f0"],[data-theme=dark] [style*="border-color:#e2e8f0"]{border-color:var(--border)!important}[data-theme=dark] [style*="border: 1px solid #f1f5f9"],[data-theme=dark] [style*="border:1px solid #f1f5f9"],[data-theme=dark] [style*="border-bottom: 1px solid #f1f5f9"],[data-theme=dark] [style*="border-bottom:1px solid #f1f5f9"],[data-theme=dark] [style*="border-top: 1px solid #f1f5f9"],[data-theme=dark] [style*="border-top:1px solid #f1f5f9"]{border-color:var(--border-light)!important}[data-theme=dark] [style*="border: 1px solid #cbd5e1"],[data-theme=dark] [style*="border:1px solid #cbd5e1"],[data-theme=dark] [style*="border: 1.5px solid #cbd5e1"],[data-theme=dark] [style*="border:1.5px solid #cbd5e1"]{border-color:var(--border)!important}[data-theme=dark] input[type=color]{background:var(--input-bg)!important;border-color:var(--border)!important}[data-theme=dark] .empty-state h3,[data-theme=dark] .empty-state p{color:var(--text-muted)}[data-theme=dark] .card-header h3,[data-theme=dark] tbody strong,[data-theme=dark] td strong{color:var(--text)}[data-theme=dark] .modal-backdrop .modal{color:var(--text);background:var(--card-bg)!important}[data-theme=dark] .modal-backdrop .modal input,[data-theme=dark] .modal-backdrop .modal select,[data-theme=dark] .modal-backdrop .modal textarea{background:var(--input-bg)!important;color:var(--text)!important;border-color:var(--border)!important}[data-theme=dark] .data-table thead th,[data-theme=dark] .data-table tbody tr:hover{background:var(--bg-tertiary)}[data-theme=dark] .data-table tbody td{border-color:var(--border-light)}[data-theme=dark] .stat-value{color:var(--text)}[data-theme=dark] .stat-label{color:var(--text-muted)}[data-theme=dark] img{filter:brightness(.92)}.nav-group-btn{cursor:pointer;width:100%;font-family:var(--font-main);color:#94a3b8;text-align:right;background:0 0;border:none;border-right:3px solid #0000;align-items:center;gap:12px;padding:11px 24px;font-size:.88rem;font-weight:600;transition:all .2s;display:flex}[dir=ltr] .nav-group-btn{text-align:left;border-left:3px solid #0000;border-right:none}.nav-group-btn.is-active{color:#14b8a6;background:#0d2535;border-right-color:#14b8a6}[dir=ltr] .nav-group-btn.is-active{border-left-color:#14b8a6;border-right-color:#0000}.nav-group-btn.is-open:not(.is-active){color:#14b8a6}.nav-group-btn .nav-group-icon{text-align:center;width:20px;font-size:1.1rem}.nav-group-btn .nav-group-label{flex:1}.nav-group-btn .nav-group-caret{color:#475569;font-size:.65rem;transition:transform .25s;display:inline-block}.nav-group-btn.is-open .nav-group-caret{transform:rotate(180deg)}.nav-submenu{border-bottom:1px solid #1e293b;margin-bottom:2px}.nav-sub-item{border-left:none;border-right:2px solid #1e4a5f;margin-left:0;margin-right:10px;padding:8px 44px 8px 16px;font-size:.8rem}[dir=ltr] .nav-sub-item{border-left:2px solid #1e4a5f;border-right:none;margin-left:10px;margin-right:0;padding:8px 16px 8px 44px}.nav-sub-arrow{color:#0d9488;margin-left:0;margin-right:6px}[dir=ltr] .nav-sub-arrow{margin-left:6px;margin-right:0}.sidebar-user-card{border-top:1px solid #1e293b;padding:12px 16px}.sidebar-user-row{align-items:center;gap:10px;margin-bottom:10px;display:flex}.sidebar-user-avatar{color:#fff;background:#0d9488;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:1rem;font-weight:700;display:flex}.sidebar-user-info{flex:1;overflow:hidden}.sidebar-user-name{color:#e2e8f0;white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.sidebar-user-role{color:#475569;font-size:.7rem}.sidebar-logout-btn{color:#f87171;cursor:pointer;width:100%;font-family:var(--font-main);background:#1e293b;border:1px solid #334155;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px;font-size:.82rem;font-weight:600;transition:all .2s;display:flex}.sidebar-logout-btn:hover{color:#fff;background:#ef4444;border-color:#ef4444}.sidebar-footer{border-top:1px solid #1e293b;flex-direction:column;gap:8px;padding:12px 16px;display:flex}.sidebar-tagline{color:#334155;text-align:center;margin-top:4px;font-size:.72rem}.theme-toggle-globe{font-size:1.1rem}.page-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-header-back{margin-bottom:4px;font-size:.85rem}.page-header-back a{color:var(--text-muted);text-decoration:none}.page-header-back a:hover{color:var(--teal)}.page-loader{justify-content:center;align-items:center;min-height:60vh;display:flex}.page-loader__inner{text-align:center}.page-loader__text{color:var(--text-muted);font-size:.85rem}.app-boot{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;display:flex}.app-boot__inner{text-align:center}.app-boot__text{color:var(--text-muted);font-size:.9rem}.account-disabled{background:var(--bg);min-height:100vh;font-family:var(--font-main);justify-content:center;align-items:center;display:flex}.account-disabled__inner{text-align:center;padding:40px}.account-disabled__icon{margin-bottom:16px;font-size:4rem}.account-disabled__title{color:var(--danger);margin-bottom:8px}.account-disabled__hint{color:var(--text-muted);margin-bottom:24px}.account-disabled__btn{background:var(--teal);color:#fff;cursor:pointer;font-family:var(--font-main);border:none;border-radius:8px;padding:10px 24px;font-size:.9rem}.driver-header__user{align-items:center;gap:10px;display:flex}.driver-header__icon{font-size:1.5rem}.driver-header__name{font-size:1rem;font-weight:700;line-height:1.2}.driver-header__sub{opacity:.85;font-size:.72rem}.driver-header__badge{opacity:.85;background:#ffffff26;border-radius:999px;padding:4px 10px;font-size:.7rem}.spinner--md{border-width:3px;width:32px;height:32px;margin:0 auto 12px}.spinner--sm{border-width:3px;width:28px;height:28px;margin:0 auto 10px}.driver-app{color:#0f172a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain;background:#f8fafc;min-height:100dvh;font-family:Cairo,sans-serif}.driver-header{color:#fff;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 14px;z-index:50;background:linear-gradient(135deg,#0d9488,#0f766e);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0;box-shadow:0 2px 10px #0000001a}.driver-content{padding:14px 14px calc(env(safe-area-inset-bottom,0px) + 80px);max-width:720px;margin:0 auto}.driver-bottom-nav{padding:8px 4px calc(env(safe-area-inset-bottom,0px) + 6px);z-index:50;background:#fff;border-top:1px solid #e2e8f0;grid-template-columns:repeat(3,1fr);gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 10px #0000000a}.driver-bottom-nav a,.driver-bottom-nav button{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:52px;padding:8px 4px;font-family:inherit;font-size:.7rem;font-weight:600;text-decoration:none;transition:all .15s;display:flex}.driver-bottom-nav a.active,.driver-bottom-nav button.active{color:#0d9488;background:#f0fdfa}.driver-bottom-nav .nav-icon{font-size:1.3rem;line-height:1}.driver-app button,.driver-app a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.driver-app button:active{transform:scale(.97)}.driver-app input,.driver-app select,.driver-app textarea{appearance:none;font-family:inherit;font-size:16px!important}.driver-app *{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.driver-app .no-select,.driver-bottom-nav,.driver-header{-webkit-user-select:none;user-select:none}html,body{overscroll-behavior-y:contain}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.driver-app .fade-in{animation:.2s fadeIn}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.driver-toast{bottom:calc(env(safe-area-inset-bottom,0px) + 80px);color:#fff;z-index:9999;direction:rtl;background:#0f172af2;border-radius:999px;padding:10px 20px;font-size:.85rem;font-weight:700;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0003}.driver-spinner{border:3px solid #e2e8f0;border-top-color:#0d9488;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@media (width>=768px){.driver-bottom-nav{border-radius:14px 14px 0 0;max-width:720px;margin:0 auto}}@supports (padding:env(safe-area-inset-top)){.driver-header{padding-top:calc(env(safe-area-inset-top) + 12px)}}
