:root{--bg-primary:#f8fafc;--bg-surface:#fff;--bg-surface-subtle:#f1f5f9;--bg-surface-elevated:#fff;--border-subtle:#e2e8f0;--border-medium:#cbd5e1;--border-focus:#3b82f6;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--text-inverse:#fff;--brand-primary:#1e3a8a;--brand-primary-light:#eff6ff;--brand-accent:#2563eb;--status-new:#0284c7;--status-new-bg:#e0f2fe;--status-planning:#6366f1;--status-planning-bg:#eef2ff;--status-waiting:#d97706;--status-waiting-bg:#fef3c7;--status-scheduled:#7c3aed;--status-scheduled-bg:#f5f3ff;--status-completed:#16a34a;--status-completed-bg:#dcfce7;--status-lost:#64748b;--status-lost-bg:#f1f5f9;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #00000012, 0 2px 4px -2px #0000000d;--shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -4px #0000000a;--shadow-sheet:0 -4px 20px #0000001a;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-full:9999px;--font-sans:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--header-height:60px;--bottom-nav-height:64px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body{font-family:var(--font-sans);background-color:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100%}body{padding-bottom:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom,16px));overflow-x:hidden}@media (width>=768px){body{padding-bottom:0}}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit;font-size:1rem}.app-container,.app-layout{flex-direction:column;width:100%;min-height:100vh;display:flex}@media (width>=768px){.app-container,.app-layout{flex-direction:row}}.desktop-sidebar{display:none}@media (width>=768px){.desktop-sidebar{background:var(--bg-surface);border-right:1px solid var(--border-subtle);z-index:40;flex-direction:column;width:260px;height:100vh;padding:1.5rem 1rem;display:flex;position:sticky;top:0}.sidebar-logo{align-items:center;gap:.75rem;margin-bottom:2rem;padding:.5rem;display:flex}.sidebar-logo h1{letter-spacing:-.02em;color:var(--brand-primary);font-size:1.25rem;font-weight:800}.sidebar-nav{flex-direction:column;flex:1;gap:.35rem;display:flex}.sidebar-item{border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.85rem;padding:.75rem 1rem;font-size:.95rem;font-weight:600;transition:all .15s;display:flex}.sidebar-item:hover{background:var(--bg-surface-subtle);color:var(--text-primary)}.sidebar-item.active{background:var(--brand-primary-light);color:var(--brand-accent)}.main-content{flex:1;min-width:0;max-width:1280px;padding:2rem 2.5rem}}@media (width<=767px){.main-content{padding:1rem 1rem 2rem}}.app-header{background:var(--bg-surface);border-bottom:1px solid var(--border-subtle);z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex;position:sticky;top:0}.brand-badge{align-items:center;gap:.5rem;display:flex}.brand-badge-icon{color:#fff;background:linear-gradient(135deg,#1e3a8a,#2563eb);border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.9rem;font-weight:800;display:flex}.brand-badge-text{color:var(--brand-primary);letter-spacing:-.01em;font-size:1.1rem;font-weight:800}.header-actions{align-items:center;gap:.5rem;display:flex}.bottom-nav{height:var(--bottom-nav-height);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border-subtle);z-index:50;padding-bottom:env(safe-area-inset-bottom,0);background:#fffffff5;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}@media (width>=768px){.bottom-nav{display:none}}.nav-tab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:8px 0;font-size:.75rem;font-weight:600;transition:all .15s;display:flex}.nav-tab.active{color:var(--brand-accent)}.nav-tab:active{transform:scale(.95)}.btn{border-radius:var(--radius-md);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:.65rem 1.1rem;font-size:.92rem;font-weight:600;transition:all .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn-primary{background:var(--brand-accent);color:#fff;box-shadow:0 2px 4px #2563eb33}.btn-primary:hover{background:#1d4ed8}.btn-secondary{background:var(--bg-surface);border-color:var(--border-medium);color:var(--text-secondary)}.btn-secondary:hover{background:var(--bg-surface-subtle);color:var(--text-primary)}.btn-success{background:var(--status-completed);color:#fff}.btn-sm{min-height:36px;padding:.4rem .75rem;font-size:.85rem}.btn-icon{border-radius:var(--radius-md);width:44px;height:44px;padding:0}.input-field{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-md);width:100%;min-height:44px;color:var(--text-primary);padding:.65rem .9rem;font-size:.95rem;transition:border-color .15s}.input-field:focus{border-color:var(--brand-accent);outline:none;box-shadow:0 0 0 3px #2563eb1a}.card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.1rem;transition:transform .15s,box-shadow .15s}.card:hover{box-shadow:var(--shadow-md)}.ticket-card{cursor:pointer;flex-direction:column;gap:.75rem;display:flex;position:relative}.ticket-card:active{transform:scale(.99)}.ticket-header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.ticket-number{color:var(--text-muted);letter-spacing:.03em;font-size:.82rem;font-weight:700}.ticket-title{color:var(--text-primary);font-size:1.05rem;font-weight:700;line-height:1.3}.car-badge{border-radius:var(--radius-sm);color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;align-items:center;gap:.35rem;padding:.25rem .6rem;font-size:.85rem;font-weight:600;display:inline-flex}.status-badge{border-radius:var(--radius-full);white-space:nowrap;align-items:center;gap:.35rem;padding:.3rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.status-new{background:var(--status-new-bg);color:var(--status-new)}.status-planning{background:var(--status-planning-bg);color:var(--status-planning)}.status-waiting{background:var(--status-waiting-bg);color:var(--status-waiting)}.status-scheduled{background:var(--status-scheduled-bg);color:var(--status-scheduled)}.status-completed{background:var(--status-completed-bg);color:var(--status-completed)}.status-lost{background:var(--status-lost-bg);color:var(--status-lost)}.quick-contact-bar{align-items:center;gap:.5rem;margin-top:.25rem;display:flex}.contact-action-btn{border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:var(--bg-surface);min-height:42px;color:var(--text-secondary);flex:1;justify-content:center;align-items:center;gap:.35rem;font-size:.82rem;font-weight:600;transition:all .15s;display:inline-flex}.contact-action-btn:hover{background:var(--bg-surface-subtle);color:var(--text-primary)}.contact-action-btn.call{color:#059669;background:#f0fdf4;border-color:#bbf7d0}.contact-action-btn.sms{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.contact-action-btn.email{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.workflow-tabs{scrollbar-width:none;gap:.5rem;margin-bottom:1.25rem;padding-bottom:.5rem;display:flex;overflow-x:auto}.workflow-tabs::-webkit-scrollbar{display:none}.workflow-tab-btn{border-radius:var(--radius-full);background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary);white-space:nowrap;cursor:pointer;align-items:center;gap:.5rem;padding:.5rem .9rem;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.workflow-tab-btn.active{background:var(--text-primary);color:#fff;border-color:var(--text-primary)}.workflow-tab-count{border-radius:var(--radius-full);background:#00000014;justify-content:center;align-items:center;padding:.15rem .45rem;font-size:.75rem;display:inline-flex}.workflow-tab-btn.active .workflow-tab-count{color:#fff;background:#ffffff40}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0f172a73;align-items:flex-end;display:flex;position:fixed;inset:0}@media (width>=768px){.modal-backdrop{justify-content:center;align-items:center;padding:2rem}}.modal-sheet{background:var(--bg-surface);width:100%;max-height:90vh;box-shadow:var(--shadow-sheet);border-radius:20px 20px 0 0;flex-direction:column;animation:.25s cubic-bezier(.16,1,.3,1) slideUp;display:flex;overflow-y:auto}@media (width>=768px){.modal-sheet{border-radius:var(--radius-lg);max-width:650px;max-height:85vh;animation:.2s fadeIn}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.sheet-handle{border-radius:var(--radius-full);background:#cbd5e1;width:40px;height:5px;margin:10px auto 4px}@media (width>=768px){.sheet-handle{display:none}}.sheet-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.sheet-body{flex-direction:column;gap:1.25rem;padding:1.25rem;display:flex;overflow-y:auto}.sheet-footer{border-top:1px solid var(--border-subtle);background:var(--bg-surface-subtle);gap:.75rem;padding:1rem 1.25rem;display:flex}.photo-compare-grid{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.photo-box{aspect-ratio:4/3;border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:#f1f5f9;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.photo-box img{object-fit:cover;width:100%;height:100%}.photo-tag{letter-spacing:.02em;border-radius:4px;padding:3px 8px;font-size:.72rem;font-weight:700;position:absolute;top:8px;left:8px}.photo-tag.before{color:#fff;background:#ef4444}.photo-tag.after{color:#fff;background:#10b981}.photo-delete-btn{color:#fff;cursor:pointer;z-index:2;background:#0f172abf;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .2s;display:flex;position:absolute;top:6px;right:6px}.photo-delete-btn:hover{background:#ef4444;transform:scale(1.1)}.photo-btn-group{grid-template-columns:1fr 1fr;gap:8px;display:grid}.photo-upload-label{cursor:pointer;color:#334155;text-align:center;background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 8px;font-size:.78rem;font-weight:600;transition:all .15s;display:flex}.photo-upload-label:hover{background:#f1f5f9;border-color:#94a3b8}.suggestion-card{border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:var(--bg-surface);cursor:pointer;flex-direction:column;gap:.4rem;padding:.9rem;transition:all .15s;display:flex}.suggestion-card:hover{border-color:var(--brand-accent);background:var(--brand-primary-light)}.suggestion-card.selected{border-color:var(--brand-accent);background:#eff6ff;box-shadow:0 0 0 2px #2563eb33}.cluster-pill{border-radius:var(--radius-full);align-items:center;gap:.35rem;padding:.2rem .5rem;font-size:.75rem;font-weight:600;display:inline-flex}.cluster-pill.perfect{color:#15803d;background:#dcfce7}.cluster-pill.good{color:#0369a1;background:#e0f2fe}.cluster-pill.moderate{color:#b45309;background:#fef3c7}.print-only{display:none!important}.screen-only{display:block}@media print{html,body{color:#000!important;background:#fff!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}.app-header,.desktop-sidebar,.bottom-nav,.no-print,.sheet-header,.sheet-footer,.sheet-handle,.main-content{display:none!important}.modal-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.modal-sheet{width:100%!important;max-width:100%!important;box-shadow:none!important;background:#fff!important;border:none!important;border-radius:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.sheet-body{max-height:none!important;padding:0!important;overflow:visible!important}.quote-print-document{color:#000!important;box-sizing:border-box!important;background:#fff!important;width:100%!important;padding:10mm 15mm!important;display:block!important}.print-only{display:block!important}.screen-only{display:none!important}}.status-select-wrap{align-items:center;display:inline-flex;position:relative}.status-select{appearance:none;border-radius:var(--radius-full);cursor:pointer;border:1.5px solid #0000;outline:none;padding:5px 28px 5px 12px;font-family:inherit;font-size:.82rem;font-weight:700;line-height:1.2;transition:all .15s}.status-select.new{background:var(--status-new-bg);color:var(--status-new);border-color:#bae6fd}.status-select.planning{background:var(--status-planning-bg);color:var(--status-planning);border-color:#c7d2fe}.status-select.waiting_customer{background:var(--status-waiting-bg);color:var(--status-waiting);border-color:#fde68a}.status-select.scheduled{background:var(--status-scheduled-bg);color:var(--status-scheduled);border-color:#ddd6fe}.status-select.completed{background:var(--status-completed-bg);color:var(--status-completed);border-color:#bbf7d0}.status-select.lost{background:var(--status-lost-bg);color:var(--status-lost);border-color:#cbd5e1}.btn-lost{background:var(--bg-surface);color:var(--text-secondary);border:1px solid var(--border-medium);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:5px;padding:4px 9px;font-size:.78rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-lost:hover{color:#ef4444;background:#fef2f2;border-color:#fca5a5}.wizard-stepper{background:var(--bg-surface-subtle);border-bottom:1px solid var(--border-subtle);justify-content:center;align-items:center;gap:12px;padding:10px 16px;display:flex}.wizard-step-item{color:var(--text-muted);align-items:center;gap:6px;font-size:.82rem;font-weight:700;display:flex}.wizard-step-item.active{color:var(--brand-accent)}.wizard-step-badge{background:var(--border-medium);width:22px;height:22px;color:var(--text-secondary);border-radius:50%;justify-content:center;align-items:center;font-size:.75rem;font-weight:800;display:flex}.wizard-step-item.active .wizard-step-badge{background:var(--brand-accent);color:#fff}.ticket-compact-customer{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-md);flex-direction:column;gap:8px;padding:10px 14px;display:flex}.ticket-compact-customer-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.ticket-compact-pills{color:var(--text-secondary);flex-wrap:wrap;gap:6px 14px;font-size:.8rem;display:flex}.ticket-compact-pill{align-items:center;gap:5px;display:inline-flex}.status-select-arrow{pointer-events:none;align-items:center;display:flex;position:absolute;right:8px}.sheet-nav-segmented{border-radius:var(--radius-md);scrollbar-width:none;background:#f1f5f9;gap:4px;padding:4px;display:flex;overflow-x:auto}.sheet-nav-segmented::-webkit-scrollbar{display:none}.sheet-nav-tab-btn{color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:7px 10px;font-size:.84rem;font-weight:600;transition:all .15s;display:inline-flex}.sheet-nav-tab-btn.active{color:var(--brand-accent);background:#fff;font-weight:700;box-shadow:0 1px 3px #00000014}.view-mode-toggle{border-radius:var(--radius-md);background:#e2e8f0;gap:2px;padding:3px;display:inline-flex}.view-mode-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:6px;padding:6px 14px;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.view-mode-btn.active{color:var(--text-primary);background:#fff;font-weight:700;box-shadow:0 1px 3px #0000001a}@media (width>=768px){.app-header{display:none!important}}.maps-nav-btn{color:#fff;border-radius:var(--radius-md);background:#16a34a;border:none;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 14px;font-size:.85rem;font-weight:700;text-decoration:none;transition:all .15s;display:inline-flex;box-shadow:0 2px 4px #16a34a40}.maps-nav-btn:hover{color:#fff;background:#15803d}.maps-nav-btn:active{transform:scale(.97)}.badge-incomplete{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:4px;align-items:center;gap:4px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.badge-rescheduled{color:#c2410c;background:#fff7ed;border:1px solid #ffedd5;border-radius:4px;align-items:center;gap:4px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.month-calendar-grid{box-sizing:border-box;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;width:100%;display:grid}.calendar-weekday{text-align:center;color:#64748b;text-transform:uppercase;padding:6px 0;font-size:.75rem;font-weight:700}.calendar-day-cell{aspect-ratio:1;cursor:pointer;color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:4px;font-size:.88rem;font-weight:700;transition:all .15s;display:flex;position:relative}.calendar-day-cell:hover:not(:disabled){border-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 10px #0000000d}.calendar-day-cell.is-open{color:#166534;background:#f0fdf4;border-color:#86efac}.calendar-day-cell.is-closed{color:#94a3b8;background:#f8fafc;border-color:#e2e8f0}.calendar-day-cell.is-booked{color:#1e40af;background:#eff6ff;border-color:#93c5fd}.calendar-day-cell.is-other-month{opacity:.3;pointer-events:none}.calendar-day-cell.is-today{box-shadow:inset 0 0 0 2px #2563eb}.calendar-day-badge{color:#fff;background:#2563eb;border-radius:999px;margin-top:2px;padding:1px 5px;font-size:.65rem;font-weight:800}@media (width<=767px){.month-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%}.calendar-weekday{padding:3px 0;font-size:.62rem;font-weight:800}.calendar-day-cell{aspect-ratio:auto;border-radius:6px;min-height:42px;padding:2px 1px;font-size:.72rem}.calendar-day-num{font-size:.72rem;line-height:1.1}.calendar-day-badge{white-space:nowrap;border-radius:3px;margin-top:1px;padding:1px 2px;font-size:.52rem;line-height:1}.calendar-day-open-text{margin-top:1px;line-height:1;font-size:.52rem!important}}.customer-search-container{position:relative}.customer-dropdown{z-index:50;background:#fff;border:1px solid #cbd5e1;border-radius:8px;max-height:220px;margin-top:4px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 10px 25px #0000001f}.customer-dropdown-item{cursor:pointer;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:8px 12px;transition:background .12s;display:flex}.customer-dropdown-item:last-child{border-bottom:none}.customer-dropdown-item:hover{background:#eff6ff}.planning-layout-container{grid-template-columns:360px 1fr;align-items:start;gap:1.25rem;display:grid}.planning-list-pane{flex-direction:column;gap:12px;display:flex}.planning-detail-pane{flex-direction:column;gap:14px;display:flex}.mobile-back-btn{display:none!important}@media (width<=767px){.planning-layout-container{flex-direction:column;gap:1rem;display:flex}.planning-layout-container:not(.has-selected) .planning-detail-pane{display:none!important}.planning-layout-container:not(.has-selected) .planning-list-pane{width:100%;display:flex!important}.planning-layout-container.has-selected .planning-list-pane{display:none!important}.planning-layout-container.has-selected .planning-detail-pane{width:100%;display:flex!important}.mobile-back-btn{align-self:flex-start;align-items:center;gap:6px;margin-bottom:.25rem;display:inline-flex!important}}.settings-accordion-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);transition:border-color .2s,box-shadow .2s;overflow:hidden}.settings-accordion-card.open{border-color:#93c5fd;box-shadow:0 4px 14px #2563eb14}.settings-accordion-header{cursor:pointer;text-align:left;-webkit-user-select:none;user-select:none;background:#fff;border:none;justify-content:space-between;align-items:center;width:100%;padding:1.1rem 1.25rem;transition:background-color .15s;display:flex}.settings-accordion-header:hover{background:#f8fafc}.settings-accordion-chevron{color:#475569;background:#f1f5f9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:transform .2s,background .2s,color .2s;display:flex}.settings-accordion-card.open .settings-accordion-chevron{color:#2563eb;background:#eff6ff;transform:rotate(180deg)}.settings-accordion-body{background:#fff;border-top:1px solid #f1f5f9;flex-direction:column;gap:1.1rem;padding:1.25rem;animation:.2s ease-out accordionSlideDown;display:flex}@keyframes accordionSlideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (width<=767px){.desktop-only{display:none!important}}@media (width>=768px){.mobile-only{display:none!important}}.unified-contact-wrapper{width:100%;margin-top:.25rem;position:relative}.btn-unified-contact{border-radius:var(--radius-md);border:1px solid var(--border-subtle);background:var(--bg-surface);width:100%;min-height:40px;color:var(--text-primary);cursor:pointer;box-shadow:var(--shadow-sm);justify-content:center;align-items:center;gap:.5rem;padding:.5rem .85rem;font-size:.84rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-unified-contact:hover{background:var(--bg-surface-subtle);border-color:var(--border-medium)}.contact-dropdown-menu{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-md);z-index:60;flex-direction:column;gap:3px;padding:6px;animation:.15s fadeIn;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;box-shadow:0 10px 25px -5px #00000029,0 8px 10px -6px #0000001a}@media (width>=768px){.contact-dropdown-menu{top:calc(100% + 6px);bottom:auto}}.contact-menu-item{border-radius:var(--radius-sm);color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.65rem;width:100%;padding:8px 10px;font-size:.84rem;transition:background .12s;display:flex}.contact-menu-item:hover{background:var(--bg-surface-subtle)}.contact-menu-icon-wrap{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.contact-menu-icon-wrap.call{color:#16a34a;background:#f0fdf4}.contact-menu-icon-wrap.sms{color:#2563eb;background:#eff6ff}.contact-menu-icon-wrap.email{color:#7c3aed;background:#f5f3ff}.user-avatar-menu-wrapper{position:relative}.user-avatar-btn{color:#fff;border:2px solid var(--bg-surface);letter-spacing:.02em;cursor:pointer;background:linear-gradient(135deg,#1e3a8a,#2563eb);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:.88rem;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 2px 6px #0000001f}.user-avatar-btn:active{transform:scale(.95)}.user-dropdown-menu{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);z-index:100;width:260px;padding:12px;animation:.15s fadeIn;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #0003}.user-dropdown-header{padding:4px 6px 8px}.user-dropdown-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.92rem;font-weight:700;overflow:hidden}.user-dropdown-email{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:.78rem;overflow:hidden}.user-dropdown-divider{background:var(--border-subtle);height:1px;margin:8px 0}.user-dropdown-section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:2px 6px 6px;font-size:.72rem;font-weight:700}.theme-toggle-group{background:var(--bg-surface-subtle);border-radius:var(--radius-md);gap:3px;padding:3px;display:flex}.theme-toggle-btn{border-radius:var(--radius-sm);color:var(--text-secondary);cursor:pointer;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:4px;padding:6px 4px;font-size:.75rem;font-weight:600;transition:all .12s;display:flex}.theme-toggle-btn.active{background:var(--bg-surface);color:var(--text-primary);box-shadow:0 1px 3px #0000001a}.user-dropdown-item{border-radius:var(--radius-md);width:100%;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:10px;padding:8px 10px;font-size:.86rem;font-weight:600;transition:background .12s;display:flex}.user-dropdown-item:hover{background:var(--bg-surface-subtle)}.user-dropdown-item.logout-item{color:#ef4444}.user-dropdown-item.logout-item:hover{background:#fef2f2}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-primary:#090d16;--bg-surface:#111827;--bg-surface-subtle:#1f293d;--bg-surface-elevated:#1a2234;--border-subtle:#1f2937;--border-medium:#374151;--border-focus:#38bdf8;--text-primary:#f9fafb;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--text-inverse:#090d16;--brand-primary:#60a5fa;--brand-primary-light:#1e293b;--brand-accent:#38bdf8;--status-new:#38bdf8;--status-new-bg:#38bdf826;--status-planning:#818cf8;--status-planning-bg:#818cf826;--status-waiting:#fbbf24;--status-waiting-bg:#fbbf2426;--status-scheduled:#a78bfa;--status-scheduled-bg:#a78bfa26;--status-completed:#34d399;--status-completed-bg:#34d39926;--shadow-sm:0 1px 2px 0 #0006;--shadow-md:0 4px 6px -1px #00000080, 0 2px 4px -2px #0006;--shadow-lg:0 10px 15px -3px #0009, 0 4px 6px -4px #00000080;--shadow-sheet:0 -4px 20px #000000b3}[data-theme=dark] body{background-color:var(--bg-primary);color:var(--text-primary)}[data-theme=dark] .app-header{border-bottom:1px solid var(--border-subtle);background:#111827f2}[data-theme=dark] .bottom-nav{border-top:1px solid var(--border-subtle);background:#111827f2}[data-theme=dark] .bottom-nav-item{color:#94a3b8}[data-theme=dark] .bottom-nav-item.active{color:#38bdf8}[data-theme=dark] .btn-primary{background:#38bdf8;font-weight:700;box-shadow:0 2px 8px #38bdf84d;color:#090d16!important}[data-theme=dark] .btn-primary:hover{background:#7dd3fc;color:#090d16!important}[data-theme=dark] .btn-secondary{color:#f1f5f9;background:#1f293d;border-color:#334155}[data-theme=dark] .btn-secondary:hover{color:#fff;background:#28354c}[data-theme=dark] .workflow-tab-btn{color:#cbd5e1;background:#111827;border:1px solid #1f293d}[data-theme=dark] .workflow-tab-btn:hover{color:#fff;background:#1f293d}[data-theme=dark] .workflow-tab-btn.active{color:#090d16!important;background:#f8fafc!important;border-color:#f8fafc!important;font-weight:700!important;box-shadow:0 2px 8px #0006!important}[data-theme=dark] .workflow-tab-btn.active span{color:#090d16!important}[data-theme=dark] .workflow-tab-btn.active .workflow-tab-count{color:#090d16!important;background:#090d1626!important}[data-theme=dark] .workflow-tab-btn.tab-uninvoiced.active{color:#fff!important;background:#ea580c!important;border-color:#ea580c!important}[data-theme=dark] .workflow-tab-btn.tab-uninvoiced.active span{color:#fff!important}[data-theme=dark] .view-mode-toggle{background:#0d131f!important;border:1px solid #1f293d!important}[data-theme=dark] .view-mode-btn{color:#94a3b8!important;background:0 0!important}[data-theme=dark] .view-mode-btn:hover{color:#f9fafb!important}[data-theme=dark] .view-mode-btn.active{color:#090d16!important;background:#f8fafc!important;font-weight:700!important;box-shadow:0 1px 4px #0006!important}[data-theme=dark] .view-mode-btn.active span,[data-theme=dark] .view-mode-btn.active svg{color:#090d16!important}[data-theme=dark] .card,[data-theme=dark] .ticket-card,[data-theme=dark] .settings-accordion-card,[data-theme=dark] .modal-sheet,[data-theme=dark] .modal-content-panel,[data-theme=dark] .modal-content-wrap{background:var(--bg-surface);border-color:var(--border-subtle);color:var(--text-primary)}[data-theme=dark] .settings-accordion-header{background:var(--bg-surface)!important;border-color:var(--border-subtle)!important;color:var(--text-primary)!important}[data-theme=dark] .settings-accordion-header:hover{background:var(--bg-surface-subtle)!important}[data-theme=dark] .settings-accordion-header h2{color:var(--text-primary)!important}[data-theme=dark] .settings-accordion-header p,[data-theme=dark] .settings-accordion-header div[style*="color: #64748b"]{color:var(--text-muted)!important}[data-theme=dark] .settings-accordion-chevron{color:#cbd5e1!important;background:#1e293b!important}[data-theme=dark] .settings-accordion-card.open .settings-accordion-chevron{color:#38bdf8!important;background:#38bdf833!important}[data-theme=dark] .settings-accordion-card.open{border-color:#38bdf8}[data-theme=dark] .settings-accordion-body{background:var(--bg-surface)!important;border-top-color:var(--border-subtle)!important;color:var(--text-primary)!important}[data-theme=dark] .settings-db-banner{background:#111827!important;border-color:#1f293d!important;box-shadow:0 2px 8px #0000004d!important}[data-theme=dark] .settings-db-banner strong{color:#f9fafb!important}[data-theme=dark] .settings-db-banner div{color:#cbd5e1!important}[data-theme=dark] .settings-db-icon-wrap{color:#34d399!important;background:#10b98126!important}[data-theme=dark] .settings-status-chip.configured,[data-theme=dark] .settings-accordion-header span[style*="background: #dcfce7"],[data-theme=dark] .settings-accordion-header span[style*="background: rgb(220, 252, 231)"]{color:#6ee7b7!important;background:#10b98133!important}[data-theme=dark] .settings-status-chip.unconfigured,[data-theme=dark] .settings-accordion-header span[style*="background: #fef3c7"],[data-theme=dark] .settings-accordion-header span[style*="background: rgb(254, 243, 199)"]{color:#fcd34d!important;background:#f59e0b33!important}[data-theme=dark] .settings-accordion-header span[style*="background: #f1f5f9"],[data-theme=dark] .settings-accordion-header span[style*="background: rgb(241, 245, 249)"]{color:#e2e8f0!important;background:#94a3b826!important}[data-theme=dark] .settings-accordion-header span[style*="background: #f3e8ff"],[data-theme=dark] .settings-accordion-header span[style*="background: rgb(243, 232, 255)"]{color:#d8b4fe!important;background:#a855f733!important}[data-theme=dark] .settings-accordion-header span[style*="background: #dbeafe"],[data-theme=dark] .settings-accordion-header span[style*="background: rgb(219, 234, 254)"]{color:#93c5fd!important;background:#3b82f633!important}[data-theme=dark] .input-field,[data-theme=dark] input[type=text],[data-theme=dark] input[type=date],[data-theme=dark] select,[data-theme=dark] textarea{color:#f9fafb;background:#0d131f;border-color:#2a374d}[data-theme=dark] .input-field:focus,[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus{border-color:#38bdf8}[data-theme=dark] h1[style*="color: #0f172a"],[data-theme=dark] h2[style*="color: #0f172a"],[data-theme=dark] h3[style*="color: #0f172a"],[data-theme=dark] [style*="color: #0f172a"]{color:#f9fafb!important}[data-theme=dark] [style*="color: #1e293b"]{color:#f1f5f9!important}[data-theme=dark] [style*="color: #334155"]{color:#e2e8f0!important}[data-theme=dark] [style*="color: #475569"]{color:#cbd5e1!important}[data-theme=dark] [style*="color: #64748b"]{color:#94a3b8!important}[data-theme=dark] [style*="background: #f0fdf4"],[data-theme=dark] [style*="background: rgb(240, 253, 244)"]{background:#10b9811f!important;border-color:#10b9814d!important}[data-theme=dark] [style*="background: #f8fafc"],[data-theme=dark] [style*="background: rgb(248, 250, 252)"]{background:#182235!important;border-color:#2a374d!important}[data-theme=dark] [style*="background: #f1f5f9"],[data-theme=dark] [style*="background: rgb(241, 245, 249)"]{background:#1f293d!important;border-color:#334155!important}[data-theme=dark] [style*="background: #eff6ff"],[data-theme=dark] [style*="background: rgb(239, 246, 255)"]{background:#3b82f626!important;border-color:#3b82f64d!important}[data-theme=dark] .car-badge{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .ticket-card span[style*="letter-spacing: 0.05em"],[data-theme=dark] .ticket-card span[style*="letterSpacing: 0.05em"]{color:#f9fafb!important;background:#1e293b!important;border-color:#38bdf8!important}[data-theme=dark] [style*="border-top: 1px solid #f1f5f9"],[data-theme=dark] [style*="borderTop: 1px solid #f1f5f9"],[data-theme=dark] [style*="border-bottom: 1px solid #e2e8f0"],[data-theme=dark] [style*="borderBottom: 1px solid #e2e8f0"]{border-color:#1f293d!important}[data-theme=dark] .user-dropdown-item.logout-item:hover{background:#ef444426}[data-theme=dark] .contact-menu-icon-wrap.call{color:#4ade80;background:#22c55e33}[data-theme=dark] .contact-menu-icon-wrap.sms{color:#60a5fa;background:#3b82f633}[data-theme=dark] .contact-menu-icon-wrap.email{color:#c084fc;background:#a855f733}[data-theme=monochrome]{--bg-primary:#f4f4f5;--bg-surface:#fff;--bg-surface-subtle:#eaeaea;--bg-surface-elevated:#fff;--border-subtle:#e4e4e7;--border-medium:#a1a1aa;--border-focus:#18181b;--text-primary:#09090b;--text-secondary:#3f3f46;--text-muted:#71717a;--text-inverse:#fff;--brand-primary:#18181b;--brand-primary-light:#f4f4f5;--brand-accent:#09090b;--status-new:#18181b;--status-new-bg:#f4f4f5;--status-planning:#27272a;--status-planning-bg:#f4f4f5;--status-waiting:#3f3f46;--status-waiting-bg:#f4f4f5;--status-scheduled:#18181b;--status-scheduled-bg:#f4f4f5;--status-completed:#09090b;--status-completed-bg:#e4e4e7}[data-theme=monochrome] body{background-color:var(--bg-primary);color:var(--text-primary)}[data-theme=monochrome] .btn-primary{color:#fff;background:#09090b;border:1px solid #09090b}[data-theme=monochrome] .btn-primary:hover{background:#27272a}[data-theme=monochrome] .btn-secondary{color:#18181b;background:#fff;border:1px solid #d4d4d8}[data-theme=monochrome] .brand-badge-icon{color:#fff;background:#09090b}[data-theme=monochrome] .workflow-tab-btn.active{color:#fff;background:#09090b;border-color:#09090b}[data-theme=monochrome] .workflow-tab-btn.active .workflow-tab-count{color:#09090b;background:#fff}[data-theme=monochrome] .bottom-nav-item.active{color:#09090b}[data-theme=monochrome] .user-avatar-btn{color:#fff;background:#09090b;border-color:#27272a}[data-theme=monochrome] .cluster-pill.perfect,[data-theme=monochrome] .cluster-pill.good,[data-theme=monochrome] .cluster-pill.moderate,[data-theme=monochrome] .cluster-pill{color:#18181b!important;background:#e4e4e7!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .badge-rescheduled{color:#18181b!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .route-stop-card{border-left-color:#18181b!important}[data-theme=monochrome] .route-stop-card.is-completed{border-left-color:#71717a!important}[data-theme=monochrome] .route-stop-badge{color:#fff!important;background:#18181b!important}[data-theme=monochrome] .route-stop-card.is-completed .route-stop-badge{color:#fff!important;background:#71717a!important}[data-theme=monochrome] .btn-reschedule{color:#18181b!important;background:#fff!important;border-color:#d4d4d8!important}[data-theme=monochrome] .btn-reschedule:hover{background:#f4f4f5!important}[data-theme=monochrome] .btn-complete{color:#18181b!important;background:#fff!important;border-color:#a1a1aa!important}[data-theme=monochrome] .btn-complete:hover{color:#fff!important;background:#09090b!important}[data-theme=monochrome] .calendar-day-cell.is-open{color:#18181b!important;background:#f4f4f5!important;border-color:#d4d4d8!important}[data-theme=monochrome] .calendar-day-cell.is-booked{color:#09090b!important;background:#e4e4e7!important;border-color:#a1a1aa!important}[data-theme=monochrome] .calendar-day-cell.is-today{box-shadow:inset 0 0 0 2px #18181b!important}[data-theme=monochrome] .calendar-day-badge{color:#fff!important;background:#18181b!important}[data-theme=monochrome] .calendar-day-open-text{color:#71717a!important}.route-timeslot-text{color:#7c3aed}[data-theme=dark] .route-timeslot-text{color:#a78bfa}[data-theme=monochrome] .route-timeslot-text{color:#18181b!important}.ticket-scheduled-indicator{color:#7c3aed}[data-theme=dark] .ticket-scheduled-indicator{color:#c084fc}[data-theme=monochrome] .ticket-scheduled-indicator{color:#18181b!important}.ticket-photo-pill{color:#0284c7;background:#f0f9ff}[data-theme=dark] .ticket-photo-pill{color:#38bdf8;background:#082f49}[data-theme=monochrome] .ticket-photo-pill{color:#18181b!important;background:#f4f4f5!important;border-color:#d4d4d8!important}.custom-map-marker{background:0 0!important;border:none!important}.map-marker-pin{cursor:pointer;border:2px solid #fff;border-radius:50% 50% 50% 0;justify-content:center;align-items:center;width:30px;height:30px;transition:transform .15s cubic-bezier(.4,0,.2,1);display:flex;transform:rotate(-45deg);box-shadow:0 4px 10px #00000047}.map-marker-pin:hover{transform:rotate(-45deg)scale(1.18)}.map-marker-pin>span{color:#fff;font-size:.8rem;font-weight:800;line-height:1;transform:rotate(45deg)}.map-marker-pin.scheduled{background:#2563eb}.map-marker-pin.completed{background:#16a34a}.map-marker-pin.depot{background:#0f172a;border:2px solid #fff;border-radius:50%;transform:none}.map-marker-pin.depot:hover{transform:scale(1.15)}.map-marker-pin.depot>span{justify-content:center;align-items:center;display:flex;transform:none}[data-theme=monochrome] .leaflet-tile-pane{filter:grayscale()contrast(105%)brightness(96%)}[data-theme=monochrome] .map-marker-pin.scheduled{background:#18181b!important;border-color:#fff!important}[data-theme=monochrome] .map-marker-pin.completed{background:#71717a!important;border-color:#fff!important}[data-theme=monochrome] .map-marker-pin.depot{background:#09090b!important;border-color:#fff!important}[data-theme=monochrome] .contact-menu-icon-wrap.call,[data-theme=monochrome] .contact-menu-icon-wrap.sms,[data-theme=monochrome] .contact-menu-icon-wrap.email{color:#18181b!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .sidebar-count-badge,[data-theme=monochrome] .route-stop-badge{color:#fff!important;background:#18181b!important}[data-theme=monochrome] .route-stop-badge.completed{color:#fff!important;background:#71717a!important}[data-theme=monochrome] svg[color=\#7c3aed],[data-theme=monochrome] svg[color=\#16a34a],[data-theme=monochrome] svg[color=\#2563eb],[data-theme=monochrome] svg[color=\#0284c7],[data-theme=monochrome] svg[color=\#ef4444],[data-theme=monochrome] svg[color=\#dc2626],[data-theme=monochrome] svg[color=\#d97706]{color:inherit!important;stroke:currentColor!important}[data-theme=monochrome] [style*="color: #7c3aed"],[data-theme=monochrome] [style*="color: rgb(124, 58, 237)"],[data-theme=monochrome] [style*="color: #2563eb"],[data-theme=monochrome] [style*="color: rgb(37, 99, 235)"],[data-theme=monochrome] [style*="color: #16a34a"],[data-theme=monochrome] [style*="color: rgb(22, 163, 74)"]{color:#18181b!important}[data-theme=monochrome] [style*="border-color: #2563eb"],[data-theme=monochrome] [style*="border-color: #7c3aed"],[data-theme=monochrome] [style*="border-color: #16a34a"],[data-theme=monochrome] [style*="border-color: #bbf7d0"],[data-theme=monochrome] [style*="border-color: rgb(37, 99, 235)"]{border-color:#a1a1aa!important}[data-theme=monochrome] [style*="background: #2563eb"],[data-theme=monochrome] [style*="background: #7c3aed"]{color:#fff!important;background:#18181b!important}[data-theme=monochrome] [style*="background: #16a34a"]{color:#fff!important;background:#71717a!important}.billing-batch-btn{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.workflow-tab-btn.tab-uninvoiced.active{color:#fff!important;background:#f97316!important;border-color:#f97316!important}.billing-row.is-pending{background:#fffbeb}.billing-row.is-invoiced.even{background:#fff}.billing-row.is-invoiced.odd{background:#f8fafc}.billing-reg-badge{letter-spacing:.04em;color:var(--text-secondary);background:#f1f5f9;border:1px solid #cbd5e1;border-radius:3px;padding:1px 5px;font-size:.72rem}.billing-toggle-btn.is-invoiced{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.billing-toggle-btn.is-pending{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.billing-payment-pill{border-radius:4px;padding:2px 7px;font-size:.74rem;font-weight:600;display:inline-block}.billing-payment-pill.invoice{color:#1d4ed8;background:#eff6ff}.billing-payment-pill.direct{color:#15803d;background:#f0fdf4}.billing-email-link{color:#2563eb;text-decoration:none}.billing-email-link:hover{text-decoration:underline}.billing-invoiced-date{color:#16a34a}.billing-item-icon{color:var(--brand-accent)}[data-theme=monochrome] .workflow-tab-btn.tab-uninvoiced.active{color:#fff!important;background:#18181b!important;border-color:#18181b!important}[data-theme=monochrome] .billing-row.is-pending{background:#f4f4f5!important}[data-theme=monochrome] .billing-row.is-invoiced.even{background:#fff!important}[data-theme=monochrome] .billing-row.is-invoiced.odd{background:#fafafa!important}[data-theme=monochrome] .billing-row:hover{background:#e4e4e7!important}[data-theme=monochrome] .billing-reg-badge{color:#18181b!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .billing-batch-btn{color:#09090b!important;background:#fff!important;border-color:#a1a1aa!important}[data-theme=monochrome] .billing-toggle-btn.is-invoiced{color:#09090b!important;background:#e4e4e7!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .billing-toggle-btn.is-pending{color:#3f3f46!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .billing-payment-pill{color:#18181b!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] .billing-email-link{color:#18181b!important;text-decoration:underline!important}[data-theme=monochrome] .billing-invoiced-date{color:#71717a!important}[data-theme=monochrome] .billing-item-icon{color:#18181b!important;stroke:currentColor!important}[data-theme=dark] .billing-row.is-pending{background:#f59e0b14}[data-theme=dark] .billing-row.is-invoiced.even{background:var(--bg-surface)}[data-theme=dark] .billing-row.is-invoiced.odd{background:var(--bg-surface-subtle)}[data-theme=dark] .billing-reg-badge{color:#94a3b8;background:#1e293b;border-color:#334155}.billing-filter-toggle-btn{position:relative;display:none!important}.billing-filter-active-dot{background:var(--brand-accent);border-radius:50%;flex-shrink:0;width:7px;height:7px;display:inline-block}.billing-advanced-filters{flex-direction:column;gap:12px;display:flex}@media (width<=767px){.billing-filter-toggle-btn{display:inline-flex!important}.billing-advanced-filters.mobile-collapsed{display:none!important}.billing-advanced-filters.mobile-expanded{border-top:1px solid var(--border-subtle);padding-top:10px;animation:.2s fadeIn;display:flex!important}}[data-theme=monochrome] .billing-filter-toggle-btn{color:#18181b!important;background:#fff!important;border-color:#d4d4d8!important}[data-theme=monochrome] .billing-filter-toggle-btn.active{color:#fff!important;background:#18181b!important;border-color:#18181b!important}[data-theme=monochrome] .billing-filter-active-dot{background:#18181b!important}.sms-template-item{transition:all .12s}.sms-template-item:hover{background:var(--bg-surface-subtle)!important;border-color:var(--border-medium)!important}.sms-template-icon{color:var(--brand-accent)}[data-theme=monochrome] .sms-template-item{color:#18181b!important;background:#fff!important;border-color:#d4d4d8!important}[data-theme=monochrome] .sms-template-item:hover{background:#f4f4f5!important;border-color:#a1a1aa!important}[data-theme=monochrome] .sms-template-icon{color:#18181b!important}[data-theme=dark] .sms-template-item{color:#f1f5f9!important;background:#1e293b!important;border-color:#334155!important}[data-theme=dark] .sms-template-item:hover{background:#273549!important}[data-theme=monochrome] .settings-db-banner{color:#09090b!important;background:#fff!important;border:1.5px solid #d4d4d8!important}[data-theme=monochrome] .settings-db-icon-wrap{color:#18181b!important;background:#f4f4f5!important}[data-theme=monochrome] .settings-section-badge,[data-theme=monochrome] .settings-status-chip{color:#18181b!important;background:#f4f4f5!important;border:1px solid #d4d4d8!important}[data-theme=monochrome] [style*="background: #f0fdf4"],[data-theme=monochrome] [style*="background: #dcfce7"],[data-theme=monochrome] [style*="background: #eff6ff"],[data-theme=monochrome] [style*="background: #dbeafe"],[data-theme=monochrome] [style*="background: #e0e7ff"],[data-theme=monochrome] [style*="background: #fdf4ff"],[data-theme=monochrome] [style*="background: #f3e8ff"],[data-theme=monochrome] [style*="background: #fef3c7"],[data-theme=monochrome] [style*="background: #fffbeb"],[data-theme=monochrome] [style*="background: #fff7ed"],[data-theme=monochrome] [style*="background: #fee2e2"],[data-theme=monochrome] [style*="background: #fef2f2"]{color:#18181b!important;background:#f4f4f5!important;border-color:#d4d4d8!important}[data-theme=monochrome] [style*="color: #15803d"],[data-theme=monochrome] [style*="color: #166534"],[data-theme=monochrome] [style*="color: #1d4ed8"],[data-theme=monochrome] [style*="color: #1e40af"],[data-theme=monochrome] [style*="color: #6b21a8"],[data-theme=monochrome] [style*="color: #a855f7"],[data-theme=monochrome] [style*="color: #b45309"],[data-theme=monochrome] [style*="color: #c2410c"],[data-theme=monochrome] [style*="color: #d97706"],[data-theme=monochrome] [style*="color: #dc2626"],[data-theme=monochrome] [style*="color: #b91c1c"],[data-theme=monochrome] [style*="color: #991b1b"],[data-theme=monochrome] [style*="color: #f97316"],[data-theme=monochrome] [style*="color: #854d0e"],[data-theme=monochrome] [style*="color: #0284c7"],[data-theme=monochrome] [style*="color: #38bdf8"]{color:#18181b!important}[data-theme=monochrome] [style*="border-color: #86efac"],[data-theme=monochrome] [style*="border-color: #bbf7d0"],[data-theme=monochrome] [style*="border-color: #fed7aa"],[data-theme=monochrome] [style*="border-color: #ea580c"],[data-theme=monochrome] [style*="border-color: #bfdbfe"],[data-theme=monochrome] [style*="border-color: #fed7aa"]{border-color:#a1a1aa!important}[data-theme=monochrome] [style*="background: #f97316"]{color:#fff!important;background:#18181b!important;border-color:#18181b!important}.custom-map-tooltip{color:#09090b!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:8px!important;box-shadow:0 4px 14px #00000029!important}[data-theme=monochrome] .custom-map-tooltip{color:#09090b!important;background:#fff!important;border:1px solid #18181b!important}.obs-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid}.obs-kpi-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);flex-direction:column;gap:.6rem;padding:1rem 1.1rem;transition:transform .15s,box-shadow .15s;display:flex}.obs-kpi-card:hover{box-shadow:0 4px 12px #0000000d}.obs-kpi-header{justify-content:space-between;align-items:center;display:flex}.obs-kpi-title{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem;font-weight:700}.obs-kpi-val{color:var(--text-primary);font-size:1.45rem;font-weight:800;line-height:1.15}.obs-kpi-sub{color:var(--text-muted);font-size:.76rem;line-height:1.35}.obs-progress-bg{background:var(--bg-surface-subtle);border-radius:999px;width:100%;height:6px;margin-top:4px;overflow:hidden}.obs-progress-fill{border-radius:999px;height:100%;transition:width .3s}.obs-pulse-dot{border-radius:50%;width:9px;height:9px;animation:2s infinite obsPulse;display:inline-block}@keyframes obsPulse{0%{transform:scale(.95);box-shadow:0 0 #10b98199}70%{transform:scale(1.05);box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.obs-services-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;display:grid}.obs-service-box{background:var(--bg-surface-subtle);border:1px solid var(--border-color);border-radius:var(--radius-sm);align-items:center;gap:.75rem;padding:.75rem .9rem;display:flex}.obs-log-toolbar{background:var(--bg-surface-subtle);border:1px solid var(--border-color);border-radius:var(--radius-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding:.65rem .85rem;display:flex}.obs-log-list{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface);flex-direction:column;gap:.45rem;max-height:480px;padding:.5rem;display:flex;overflow-y:auto}.obs-log-item{border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-surface);cursor:pointer;padding:.6rem .75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.8rem;transition:background-color .15s,border-color .15s}.obs-log-item:hover{background:var(--bg-surface-subtle);border-color:#93c5fd}.obs-log-item.level-error{background:#ef444408;border-left:4px solid #ef4444}.obs-log-item.level-warn{background:#f59e0b08;border-left:4px solid #f59e0b}.obs-log-item.level-info{border-left:4px solid #3b82f6}.obs-badge{text-transform:uppercase;letter-spacing:.02em;border-radius:999px;align-items:center;gap:4px;padding:2px 7px;font-size:.68rem;font-weight:700;display:inline-flex}.obs-badge-error{color:#b91c1c;background:#fee2e2}.obs-badge-warn{color:#92400e;background:#fef3c7}.obs-badge-info{color:#1e40af;background:#dbeafe}.obs-badge-cat{background:var(--bg-surface-subtle);color:var(--text-secondary);border:1px solid var(--border-color)}.obs-log-expanded{border-top:1px dashed var(--border-color);margin-top:.6rem;padding-top:.6rem}.obs-code-block{color:#e2e8f0;background:#0f172a;border-radius:6px;margin:.4rem 0;padding:.75rem .9rem;font-size:.75rem;line-height:1.45;overflow-x:auto}[data-theme=dark] .obs-kpi-card{background:#18181b;border-color:#27272a}[data-theme=dark] .obs-service-box{background:#27272a;border-color:#3f3f46}[data-theme=dark] .obs-log-toolbar{background:#18181b;border-color:#27272a}[data-theme=dark] .obs-log-list{background:#09090b;border-color:#27272a}[data-theme=dark] .obs-log-item{background:#18181b;border-color:#27272a}[data-theme=dark] .obs-log-item:hover{background:#27272a;border-color:#3b82f6}
