.notification-bell-container{position:relative}.notification-bell{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;background:transparent;border:none;border-radius:8px;cursor:pointer;transition:background-color .2s ease}.notification-bell:hover{background-color:#0000000d}.notification-bell:active{background-color:#0000001a}.notification-bell-icon{width:24px;height:24px;color:#4b5563}.notification-badge{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background-color:#ef4444;color:#fff;font-size:11px;font-weight:600;border-radius:9px;border:2px solid white}@keyframes bellRing{0%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0)}to{transform:rotate(0)}}.notification-bell-animate{animation:bellRing .8s ease-in-out}.notification-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:auto;width:min(420px,calc(100vw - 48px));max-height:min(600px,calc(100vh - 120px));background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px #0000001a;display:flex;flex-direction:column;z-index:1000}.notification-dropdown-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb}.notification-dropdown-title{font-size:18px;font-weight:600;color:#111827;margin:0;display:flex;align-items:center;gap:8px}.notification-dropdown-count{color:#6b7280;font-size:14px;font-weight:400}.notification-dropdown-action{padding:6px 12px;background:transparent;border:none;color:#3b82f6;font-size:14px;font-weight:500;cursor:pointer;border-radius:6px;transition:background-color .2s ease}.notification-dropdown-action:hover{background-color:#3b82f61a}.notification-dropdown-content{flex:1;overflow-y:auto;max-height:480px}.notification-dropdown-footer{padding:12px 20px;border-top:1px solid #e5e7eb}.notification-view-all-btn{width:100%;padding:10px;background:transparent;border:1px solid #e5e7eb;border-radius:8px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.notification-view-all-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.notification-dropdown-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.notification-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.notification-dropdown-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.notification-empty-icon{width:64px;height:64px;color:#d1d5db;margin-bottom:16px}.notification-empty-text{font-size:16px;font-weight:600;color:#374151;margin:0 0 8px}.notification-empty-subtext{font-size:14px;color:#6b7280;margin:0}.notification-group{padding:12px 0}.notification-group-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:8px 20px;margin:0;color:#6b7280}.notification-group-overdue{color:#dc2626}.notification-group-today{color:#f59e0b}.notification-group-upcoming{color:#3b82f6}.task-reminder-card{position:relative;padding:16px 20px 16px 40px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background-color .2s ease}.task-reminder-card:hover{background-color:#f9fafb}.task-reminder-card:last-child{border-bottom:none}.task-reminder-unread{background-color:#eff6ff}.task-reminder-unread:hover{background-color:#dbeafe}.unread-indicator{position:absolute;left:20px;top:24px;width:8px;height:8px;background-color:#3b82f6;border-radius:50%}.task-reminder-content{display:flex;flex-direction:column;gap:8px}.task-reminder-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.task-reminder-title{font-size:14px;font-weight:600;color:#111827;margin:0;flex:1}.task-reminder-badge{font-size:12px;font-weight:500;padding:2px 8px;border-radius:12px;white-space:nowrap}.task-reminder-badge.reminder-overdue{background-color:#fee2e2;color:#dc2626}.task-reminder-badge.reminder-due-today{background-color:#fef3c7;color:#f59e0b}.task-reminder-badge.reminder-upcoming{background-color:#dbeafe;color:#3b82f6}.task-reminder-entity{font-size:13px;color:#6b7280;margin:0}.task-reminder-actions{display:flex;gap:8px;margin-top:4px}.task-reminder-action-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:transparent;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.task-reminder-action-btn:hover{background-color:#fff;border-color:#d1d5db}.task-reminder-action-icon{width:14px;height:14px}.task-reminder-complete-btn{color:#059669}.task-reminder-complete-btn:hover{background-color:#ecfdf5;border-color:#059669}.task-reminder-dismiss-btn{color:#6b7280}.task-reminder-dismiss-btn:hover{background-color:#f9fafb;border-color:#6b7280}.task-reminder-card.reminder-overdue{border-left:3px solid #dc2626}.task-reminder-card.reminder-due-today{border-left:3px solid #f59e0b}.task-reminder-card.reminder-upcoming{border-left:3px solid #3b82f6}@media(max-width:640px){.notification-dropdown{left:0;right:0;margin:0 12px;width:auto;max-height:calc(100vh - 160px)}.notification-dropdown-content{max-height:calc(100vh - 220px)}}.notification-preferences-container{padding:24px;background:#fff}.notification-preferences-header{margin-bottom:24px}.notification-preferences-title{font-size:20px;font-weight:600;color:#111827;margin:0 0 8px}.notification-preferences-description{font-size:14px;color:#6b7280;margin:0}.notification-preferences-content{display:flex;flex-direction:column;gap:24px;margin-bottom:32px}.preference-item{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid #f3f4f6}.preference-item:last-child{border-bottom:none}.preference-label-group{flex:1}.preference-label{display:block;font-size:15px;font-weight:500;color:#111827;margin-bottom:4px}.preference-description{font-size:13px;color:#6b7280;margin:0}.preference-toggle{position:relative;display:inline-block;width:48px;height:24px;flex-shrink:0;cursor:pointer}.preference-toggle-input{opacity:0;width:0;height:0}.preference-toggle-slider{position:absolute;inset:0;background-color:#d1d5db;border-radius:24px;transition:background-color .2s ease}.preference-toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.preference-toggle-input:checked+.preference-toggle-slider{background-color:#3b82f6}.preference-toggle-input:checked+.preference-toggle-slider:before{transform:translate(24px)}.preference-toggle-input:disabled+.preference-toggle-slider{opacity:.5;cursor:not-allowed}.preference-select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;color:#111827;background-color:#fff;cursor:pointer;transition:all .2s ease}.preference-select:hover:not(:disabled){border-color:#d1d5db}.preference-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.preference-select:disabled{opacity:.5;cursor:not-allowed;background-color:#f9fafb}.notification-preferences-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid #e5e7eb}.preference-reset-btn{padding:10px 20px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.preference-reset-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.preference-save-message{font-size:14px;color:#059669;font-weight:500;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.notification-list-container{display:flex;flex-direction:column;height:100%;background:#fff}.notification-list-header{padding:24px;border-bottom:1px solid #e5e7eb}.notification-list-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.notification-list-title{font-size:24px;font-weight:600;color:#111827;margin:0;display:flex;align-items:center;gap:12px}.notification-list-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;background-color:#3b82f6;color:#fff;font-size:13px;font-weight:600;border-radius:12px}.notification-list-action-btn{padding:8px 16px;background:transparent;border:1px solid #e5e7eb;border-radius:6px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.notification-list-action-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.notification-list-filters{display:flex;flex-wrap:wrap;gap:8px}.notification-filter-btn{padding:6px 12px;background:transparent;border:1px solid #e5e7eb;border-radius:20px;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.notification-filter-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.notification-filter-btn.active{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.notification-list-content{flex:1;overflow-y:auto}.notification-list-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px;color:#6b7280}.notification-list-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center}.notification-list-group{padding:16px 0}.notification-list-group-title{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;padding:8px 24px;margin:0;background-color:#f9fafb}.notification-list-load-more{padding:24px;text-align:center}.notification-load-more-btn{padding:10px 24px;background:transparent;border:1px solid #e5e7eb;border-radius:6px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.notification-load-more-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.notification-item{position:relative;display:flex;align-items:flex-start;gap:12px;padding:16px 24px 16px 32px;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:background-color .2s ease}.notification-item:hover{background-color:#f9fafb}.notification-item-unread{background-color:#eff6ff}.notification-item-unread:hover{background-color:#dbeafe}.notification-unread-dot{position:absolute;left:16px;top:24px;width:8px;height:8px;background-color:#3b82f6;border-radius:50%}.notification-priority-urgent{border-left:3px solid #dc2626}.notification-priority-high{border-left:3px solid #f59e0b}.notification-item-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background-color:#f3f4f6;flex-shrink:0}.notification-item-icon svg{width:20px;height:20px;color:#6b7280}.notification-item-content{flex:1;min-width:0}.notification-item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:4px}.notification-item-title{font-size:14px;font-weight:600;color:#111827;margin:0}.notification-item-time{font-size:12px;color:#9ca3af;flex-shrink:0}.notification-item-body{font-size:14px;color:#4b5563;margin:0;line-height:1.5}.notification-item-actor{font-size:12px;color:#9ca3af;margin-top:4px}.notification-item-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s ease}.notification-item:hover .notification-item-actions{opacity:1}.notification-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .2s ease}.notification-action-btn svg{width:16px;height:16px;color:#6b7280}.notification-action-btn:hover{background-color:#f3f4f6;border-color:#d1d5db}.notification-action-read:hover{background-color:#ecfdf5;border-color:#059669}.notification-action-read:hover svg{color:#059669}.notification-action-archive:hover{background-color:#fef3c7;border-color:#f59e0b}.notification-action-archive:hover svg{color:#f59e0b}.notifications-page{height:100%;display:flex;flex-direction:column}.notifications-page-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid #e5e7eb;background:#fff}.notifications-page-title{font-size:20px;font-weight:600;color:#111827;margin:0}.notifications-page-content{flex:1;overflow:hidden}:root{--demo-banner-height: 58px}.demo-banner{position:fixed;top:0;right:0;left:0;z-index:240;border-bottom:1px solid rgba(148,163,184,.25);background:linear-gradient(90deg,#0f172af7,#1e293bf0),linear-gradient(135deg,#38bdf829,#f9731624);color:#f8fafc;box-shadow:0 8px 24px #0f172a29}.demo-banner__content{min-height:var(--demo-banner-height);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px}.demo-banner__copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.demo-banner__eyebrow{border:1px solid rgba(125,211,252,.45);border-radius:999px;padding:2px 10px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#bae6fd}.demo-banner__message{font-size:13px;font-weight:500}.demo-banner__actions{display:flex;align-items:center;gap:10px}.demo-banner__notice{border:1px solid rgba(251,191,36,.45);border-radius:999px;background:#fbbf241f;color:#fde68a;padding:6px 12px;font-size:12px;cursor:pointer}.demo-banner__link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f8fafc;color:#0f172a;padding:7px 14px;font-size:12px;font-weight:700;text-decoration:none}.app-layout--demo .sidebar{top:var(--demo-banner-height)}.app-layout--demo .main-content{padding-top:calc(24px + var(--demo-banner-height))}.app-layout--demo .skip-link:focus{top:var(--demo-banner-height)}.sidebar-footer .sign-out-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}@media(max-width:900px){.demo-banner__content{flex-direction:column;align-items:flex-start}.demo-banner__actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.app-layout--demo .main-content{padding-top:calc(40px + var(--demo-banner-height))}}.error-banner{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:var(--radius-md);border:1px solid;margin-bottom:16px;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.error-banner--error{background:#ef44441a;border-color:#ef44444d;color:#991b1b}.error-banner--error .error-banner__icon{color:#dc2626}.error-banner--warning{background:#f59e0b1a;border-color:#f59e0b4d;color:#92400e}.error-banner--warning .error-banner__icon{color:#f59e0b}.error-banner--info{background:#3b82f61a;border-color:#3b82f64d;color:#1e40af}.error-banner--info .error-banner__icon{color:#3b82f6}.error-banner__icon{flex-shrink:0;margin-top:2px}.error-banner__content{flex:1;min-width:0}.error-banner__message{margin:0;font-size:14px;line-height:1.5;font-weight:500}.error-banner__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.error-banner__button{display:flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;cursor:pointer;transition:opacity .15s}.error-banner__button:hover{opacity:.7}.error-banner__button--retry{padding:4px 12px;font-size:13px;font-weight:500;border-radius:var(--radius-sm);background:#0000000d}.error-banner--error .error-banner__button--retry{color:#991b1b}.error-banner--error .error-banner__button--retry:hover{background:#0000001a;opacity:1}.error-banner--warning .error-banner__button--retry{color:#92400e}.error-banner--warning .error-banner__button--retry:hover{background:#0000001a;opacity:1}.error-banner--info .error-banner__button--retry{color:#1e40af}.error-banner--info .error-banner__button--retry:hover{background:#0000001a;opacity:1}.error-banner__button--dismiss{width:24px;height:24px;border-radius:var(--radius-sm)}.offline-notice{position:fixed;left:0;right:0;display:flex;justify-content:center;padding:12px 16px;background:linear-gradient(135deg,#ef4444f2,#dc2626f2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 12px #00000026;z-index:9999;animation:slideIn .3s ease-out}.offline-notice--top{top:0}.offline-notice--bottom{bottom:0}@keyframes slideIn{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.offline-notice--reconnected{background:linear-gradient(135deg,#22c55ef2,#16a34af2);animation:slideIn .3s ease-out}.offline-notice__content{display:flex;align-items:center;gap:8px;max-width:1200px;width:100%}.offline-notice__icon{flex-shrink:0;color:#fff}.offline-notice__text{flex:1;font-size:14px;font-weight:500;color:#fff;text-align:center}@media(max-width:640px){.offline-notice{padding:10px 12px}.offline-notice__text{font-size:13px}.error-banner{padding:10px 12px;gap:10px}.error-banner__message{font-size:13px}}@media(prefers-color-scheme:dark){.error-banner--error{background:#ef444426;border-color:#ef444466;color:#fecaca}.error-banner--error .error-banner__icon{color:#ef4444}.error-banner--warning{background:#f59e0b26;border-color:#f59e0b66;color:#fde68a}.error-banner--warning .error-banner__icon{color:#fbbf24}.error-banner--info{background:#3b82f626;border-color:#3b82f666;color:#bfdbfe}.error-banner--info .error-banner__icon{color:#60a5fa}.error-banner__button--retry{background:#ffffff1a}.error-banner__button--retry:hover{background:#ffffff26}}.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center}.error-boundary__card{width:min(100%,760px);display:flex;flex-direction:column;gap:var(--space-lg)}.error-boundary__dev-panel{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md);border:1px solid rgba(179,58,58,.18);border-radius:var(--radius-md);background:#fff1f1f5}.error-boundary__dev-header{display:flex;flex-direction:column;gap:4px}.error-boundary__dev-eyebrow{margin:0;color:var(--color-danger);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.error-boundary__dev-title{margin:0;color:var(--color-danger);font-size:14px;font-weight:700;line-height:1.5}.error-boundary__stack{margin:0;max-height:260px;overflow:auto;padding:12px 14px;border-radius:var(--radius-md);background:#480f0f0f;color:#7f1d1d;font-size:12px;line-height:1.6;white-space:pre-wrap}@media(max-width:720px){.error-boundary{min-height:auto;padding-top:48px;padding-bottom:48px}.error-boundary__stack{max-height:200px}}:root{--color-primary: #6366f1;--color-primary-hover: #4f46e5;--color-success: #22c55e;--color-danger: #ef4444;--color-warning: #f59e0b;--color-bg: #f8fafc;--color-bg-card: #ffffff;--color-border: #e2e8f0;--color-text: #1e293b;--color-text-secondary: #64748b;--color-text-muted: #94a3b8;--sidebar-width: 240px;--header-height: 60px;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--color-text);background:var(--color-bg)}.skip-link{position:absolute;top:-40px;left:0;background:var(--color-primary);color:#fff;padding:8px 16px;text-decoration:none;border-radius:0 0 var(--radius-md) 0;font-weight:500;z-index:9999}.skip-link:focus{top:0;outline:2px solid var(--color-primary-hover);outline-offset:2px}.app-layout{display:flex;min-height:100vh;position:relative}.sidebar{width:var(--sidebar-width);background:var(--color-bg-card);border-right:1px solid var(--color-border);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100;transition:width .2s ease}.app-layout--collapsed{--sidebar-width: 64px}.sidebar--collapsed{overflow:visible}.sidebar--collapsed .sidebar-brand,.sidebar--collapsed .sidebar-user,.sidebar--collapsed .notification-bell-container{display:none}.sidebar--collapsed .sidebar-footer{overflow:hidden}.sidebar-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.sidebar-collapse-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg);color:var(--color-text-secondary);cursor:pointer;transition:color .15s ease,border-color .15s ease;flex-shrink:0}.sidebar-collapse-btn:hover{color:var(--color-text);border-color:var(--color-text-secondary)}.sidebar--collapsed .sidebar-header{padding:16px 0}.sidebar--collapsed .sidebar-header-top{justify-content:center}.sidebar--collapsed .sidebar-nav{padding:8px;overflow:visible}.sidebar--collapsed .nav-item{justify-content:center;padding:10px;position:relative}.sidebar--collapsed .nav-label{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);padding:6px 12px;background:var(--color-text);color:var(--color-bg-card);font-size:13px;font-weight:600;border-radius:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease;z-index:200;box-shadow:0 2px 8px #00000026}.sidebar--collapsed .nav-label:before{content:"";position:absolute;top:0;bottom:0;right:100%;width:12px}.sidebar--collapsed .nav-item:hover .nav-label{opacity:1;pointer-events:auto}.sidebar--collapsed .sidebar-footer{padding:12px 8px;text-align:center}.sidebar-header{padding:20px;border-bottom:1px solid var(--color-border)}.sidebar-header-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-title{font-size:20px;font-weight:700;color:var(--color-primary)}.sidebar-user{margin-top:12px;display:flex;flex-direction:column;gap:2px}.user-name{font-weight:500;font-size:13px}.user-role{font-size:12px;color:var(--color-text-muted);text-transform:capitalize}.sidebar-nav{flex:1;padding:12px;overflow-y:auto}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--radius-md);color:var(--color-text-secondary);text-decoration:none;transition:all .15s ease}.nav-item:hover{background:var(--color-bg);color:var(--color-text)}.nav-item-active{background:var(--color-primary);color:#fff}.nav-item-active:hover{background:var(--color-primary-hover);color:#fff}.nav-icon{font-size:16px}.nav-label{font-size:14px;font-weight:500}.sidebar-footer{padding:16px;border-top:1px solid var(--color-border)}.sign-out-btn{width:100%;padding:8px 16px;background:transparent;border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text-secondary);cursor:pointer;font-size:13px;transition:all .15s ease}.sign-out-btn:hover{background:var(--color-bg);color:var(--color-danger);border-color:var(--color-danger)}.main-content{flex:1;margin-left:var(--sidebar-width);padding:24px;min-height:100vh;transition:margin-left .2s ease}.page{max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.page-header h1{font-size:24px;font-weight:600}.page-subtitle{color:var(--color-text-secondary);margin-top:4px}.page-actions{display:flex;gap:12px}.page-filters{display:flex;gap:12px;margin-bottom:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border-radius:var(--radius-md);font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;border:none}.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:hover{background:var(--color-primary-hover)}.btn-secondary{background:var(--color-bg);color:var(--color-text);border:1px solid var(--color-border)}.btn-secondary:hover{background:var(--color-border)}.btn-ghost{background:transparent;color:var(--color-text-secondary)}.btn-ghost:hover{background:var(--color-bg);color:var(--color-text)}.btn-sm{padding:4px 8px;font-size:12px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:13px;font-weight:500;margin-bottom:6px;color:var(--color-text)}input[type=text],input[type=email],input[type=password],input[type=number],select,textarea{width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:14px;transition:border-color .15s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--color-primary)}.search-input{width:300px}.filter-select{width:auto;min-width:150px}.data-table-container{background:var(--color-bg-card);border-radius:var(--radius-lg);border:1px solid var(--color-border);overflow:hidden}.data-table th,.data-table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--color-border)}.data-table th{background:var(--color-bg);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-secondary)}.data-table th.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--color-text);transition:color .15s ease}.data-table th.sortable-th:hover{color:var(--color-primary)}.data-table tbody tr:hover{background:var(--color-bg)}.data-table tbody tr:last-child td{border-bottom:none}.empty-state{text-align:center;padding:48px 24px;color:var(--color-text-muted)}.empty-state p{margin-bottom:16px}.empty-state-content{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:400px;margin:0 auto}.empty-state-icon{font-size:48px;line-height:1;margin-bottom:8px}.empty-state-content h3{font-size:18px;font-weight:600;color:var(--color-text);margin:0}.empty-state-description{font-size:14px;color:var(--color-text-secondary);margin:0}.empty-state-hint{font-size:13px;color:var(--color-text-muted);margin:0;font-style:italic}.empty-state-actions{display:flex;gap:12px;margin-top:16px}.page-empty .empty-state-content{padding:40px 24px}.lead-status-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:500}.lead-status-badge.lead-status-new{background:#dbeafe;color:#1d4ed8}.lead-status-badge.lead-status-working{background:#fef3c7;color:#b45309}.lead-status-badge.lead-status-qualified{background:#d1fae5;color:#047857}.lead-status-badge.lead-status-unqualified{background:#fee2e2;color:#b91c1c}.lead-status-badge.lead-status-nurturing{background:#e0e7ff;color:#4338ca}.lead-status-control{display:flex;align-items:center;gap:12px}.lead-status-control .form-select{flex:1;max-width:200px}.assigned-rep-info{margin-top:8px;font-size:13px;color:var(--color-text-secondary)}.opportunities-empty{padding:16px;background:var(--color-bg);border-radius:var(--radius-md);text-align:center}.opportunities-empty .text-hint{font-size:12px;color:var(--color-text-muted);margin-top:4px}.opportunities-list{margin-top:12px}.opportunities-summary{display:flex;justify-content:space-between;padding:12px 0;margin-top:12px;border-top:1px solid var(--color-border);font-size:13px;color:var(--color-text-secondary)}.mini-table{width:100%;border-collapse:collapse;font-size:13px}.mini-table th,.mini-table td{padding:8px;text-align:left;border-bottom:1px solid var(--color-border)}.mini-table th{font-weight:600;color:var(--color-text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:.05em}.mini-table tbody tr:hover{background:var(--color-bg)}.status-badge{display:inline-block;padding:4px 8px;border-radius:9999px;font-size:12px;font-weight:500;text-transform:capitalize}.status-new{background:#dbeafe;color:#1d4ed8}.status-contacted{background:#fef3c7;color:#b45309}.status-qualified{background:#d1fae5;color:#047857}.status-unqualified{background:#fee2e2;color:#b91c1c}.status-converted{background:#e0e7ff;color:#4338ca}.status-open{background:#dbeafe;color:#1d4ed8}.status-won{background:#d1fae5;color:#047857}.status-lost{background:#fee2e2;color:#b91c1c}.kpi-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.kpi-card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:20px;display:flex;flex-direction:column;gap:8px}.kpi-label{font-size:13px;color:var(--color-text-secondary)}.kpi-value{font-size:28px;font-weight:600}.dashboard-grid{display:grid;gap:24px}.dashboard-section{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:20px}.dashboard-section h2{font-size:16px;font-weight:600;margin-bottom:16px}.pipeline-section .empty-message{color:var(--color-text-muted);text-align:center;padding:24px}.pipeline-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.pipeline-stage-card{position:relative;background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:16px;overflow:hidden;transition:border-color .2s,box-shadow .2s}.pipeline-stage-card:hover{border-color:var(--color-primary);box-shadow:0 2px 8px #00000014}.pipeline-stage-card .stage-indicator{position:absolute;top:0;left:0;right:0;height:3px;background:var(--color-primary)}.pipeline-stage-card.stage-won .stage-indicator{background:var(--color-success);opacity:1!important}.pipeline-stage-card.stage-lost .stage-indicator{background:var(--color-error);opacity:1!important}.pipeline-stage-card .stage-content{display:flex;flex-direction:column;gap:4px}.pipeline-stage-card .stage-label{font-size:13px;font-weight:600;color:var(--color-text)}.pipeline-stage-card .stage-deal-count{font-size:12px;color:var(--color-text-muted)}.pipeline-stage-card .stage-deal-value{font-size:15px;font-weight:600;color:var(--color-text);margin-top:4px}.pipeline-stage-card.stage-won .stage-deal-value{color:var(--color-success)}.pipeline-stage-card.stage-lost .stage-deal-value{color:var(--color-text-muted)}.placeholder-chart,.placeholder-list{background:var(--color-bg);border-radius:var(--radius-md);padding:40px;text-align:center;color:var(--color-text-muted)}.pipeline-board{display:flex;gap:16px;overflow-x:auto;padding-bottom:16px}.pipeline-column{flex:0 0 280px;background:var(--color-bg);border-radius:var(--radius-lg);display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.pipeline-column-header{padding:16px;border-top:3px solid var(--color-primary);border-radius:var(--radius-lg) var(--radius-lg) 0 0;display:flex;justify-content:space-between;align-items:center}.pipeline-column-header h3{font-size:14px;font-weight:600}.deal-count{font-size:12px;color:var(--color-text-muted)}.pipeline-column-body{flex:1;padding:12px;overflow-y:auto}.empty-column{text-align:center;padding:24px;color:var(--color-text-muted)}.empty-column p{margin-bottom:12px;font-size:13px}.activities-timeline{display:flex;flex-direction:column;gap:16px}.activity-item{display:flex;gap:16px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:16px}.activity-icon{font-size:20px}.activity-content{flex:1}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.activity-title{font-weight:500}.activity-time{font-size:12px;color:var(--color-text-muted)}.activity-description{color:var(--color-text-secondary);font-size:13px;margin-bottom:8px}.activity-meta{display:flex;gap:12px;font-size:12px;color:var(--color-text-muted)}.filter-tabs{display:flex;gap:8px;flex-wrap:wrap}.filter-tab{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;font-size:13px;color:var(--color-text-secondary);transition:all .15s ease}.filter-tab:hover{background:var(--color-bg)}.filter-tab.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.report-section{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:20px}.report-section h2{font-size:16px;font-weight:600;margin-bottom:16px}.report-stats{display:flex;gap:24px}.stat-item{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:12px;color:var(--color-text-muted)}.stat-value{font-size:24px;font-weight:600}.stat-success{color:var(--color-success)}.stat-danger{color:var(--color-danger)}.settings-layout{display:flex;gap:24px}.settings-nav{flex:0 0 200px;display:flex;flex-direction:column;gap:4px}.settings-nav-item{padding:10px 16px;text-align:left;background:transparent;border:none;border-radius:var(--radius-md);font-size:14px;color:var(--color-text-secondary);cursor:pointer;transition:all .15s ease}.settings-nav-item:hover{background:var(--color-bg);color:var(--color-text)}.settings-nav-item.active{background:var(--color-primary);color:#fff}.settings-content{flex:1;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:24px}.settings-section h2{font-size:18px;font-weight:600;margin-bottom:8px}.section-description{color:var(--color-text-secondary);margin-bottom:24px}.stages-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.stage-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--color-bg);border-radius:var(--radius-md)}.stage-color{width:12px;height:12px;border-radius:50%}.stage-name{flex:1;font-weight:500}.stage-probability{font-size:12px;color:var(--color-text-muted)}.integrations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.integration-card{padding:20px;background:var(--color-bg);border-radius:var(--radius-lg)}.integration-card h3{font-size:16px;font-weight:600;margin-bottom:8px}.integration-card p{font-size:13px;color:var(--color-text-secondary);margin-bottom:12px}.integration-status{display:inline-block;padding:4px 8px;border-radius:9999px;font-size:11px;font-weight:500;margin-bottom:12px}.status-inactive{background:var(--color-bg-card);color:var(--color-text-muted)}.status-active{background:#d1fae5;color:#047857}.settings-form{max-width:400px}.custom-fields-tabs{display:flex;gap:8px;margin-bottom:16px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--color-bg)}.login-card{width:100%;max-width:400px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow-md)}.login-card h1{font-size:24px;font-weight:600;margin-bottom:8px}.login-subtitle{color:var(--color-text-secondary);margin-bottom:24px}.login-form{display:flex;flex-direction:column;gap:16px}.login-btn{width:100%;padding:12px;margin-top:8px}.error-message{background:#fee2e2;color:#b91c1c;padding:12px;border-radius:var(--radius-md);font-size:13px}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--color-text-muted)}.loading-spinner{width:32px;height:32px;border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:768px){.sidebar{transform:translate(-100%)}.main-content{margin-left:0}.pipeline-board{flex-direction:column}.pipeline-column{flex:none;width:100%;max-height:none}.settings-layout{flex-direction:column}.settings-nav{flex:none;flex-direction:row;overflow-x:auto}.reports-grid{grid-template-columns:1fr}}.error-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem}.error-container{max-width:600px;text-align:center;background:var(--color-bg-card);padding:3rem 2rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.error-icon{font-size:4rem;margin-bottom:1rem}.error-container h1{font-size:2rem;color:var(--color-text);margin-bottom:1rem}.error-message{font-size:1.1rem;color:var(--color-text-secondary);margin-bottom:1.5rem}.error-details{background:var(--color-bg);padding:1rem;border-radius:var(--radius-md);margin-bottom:1.5rem;font-family:monospace;font-size:.9rem;text-align:left}.error-details p{margin:.25rem 0;color:var(--color-text-secondary)}.error-actions{text-align:left;margin:1.5rem 0;padding:1rem;background:var(--color-bg);border-radius:var(--radius-md)}.error-actions p{margin-bottom:.5rem;font-weight:500}.error-actions ul{list-style:disc;padding-left:1.5rem;margin:.5rem 0}.error-actions li{margin:.25rem 0;color:var(--color-text-secondary)}.error-footer{margin-top:1.5rem;font-size:.9rem;color:var(--color-text-muted);font-style:italic}.input-readonly{background-color:var(--color-bg)!important;cursor:not-allowed;opacity:.7}.input-with-copy{display:flex;gap:.5rem;align-items:center}.input-with-copy input{flex:1}.input-with-copy .btn-sm{white-space:nowrap}.security-badges{display:flex;gap:.5rem;flex-wrap:wrap}.badge{display:inline-block;padding:.25rem .75rem;border-radius:var(--radius-sm);font-size:.875rem;font-weight:500}.badge-info{background-color:#dbeafe;color:#1e40af}.badge-success{background-color:#dcfce7;color:#166534}.badge-secondary{background-color:#f1f5f9;color:#475569}.form-help{margin-top:.25rem;font-size:.875rem;color:var(--color-text-muted)}.loading-message,.error-message{padding:1rem;border-radius:var(--radius-md);margin:1rem 0}.loading-message{background:var(--color-bg);color:var(--color-text-secondary)}.error-message{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.error-detail{margin-top:.5rem;font-size:.875rem;opacity:.8}.route-planning-page{padding:0}.route-planning-page .page-header{padding:1rem 1.5rem;background:var(--color-bg-card);border-bottom:1px solid var(--color-border)}.route-planning-layout{display:grid;grid-template-columns:1fr 350px;height:calc(100vh - 80px)}.route-map-section{position:relative;background:var(--color-bg)}.route-map-container{width:100%;height:100%}.map-empty-state{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:var(--color-text-secondary);background:var(--color-bg-card);padding:2rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.route-sidebar{background:var(--color-bg-card);border-left:1px solid var(--color-border);overflow-y:auto;display:flex;flex-direction:column}.sidebar-section{padding:1rem;border-bottom:1px solid var(--color-border)}.sidebar-section h3{font-size:.875rem;font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem}.route-name-input{margin-bottom:.75rem}.route-stops-list{list-style:none;margin:0;padding:0}.route-stop-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:var(--radius-sm);margin-bottom:.25rem;background:var(--color-bg)}.route-stop-item:hover{background:#e2e8f0}.route-stop-item--dragging{background:#dbeafe;box-shadow:var(--shadow-md);z-index:10}.route-stop-drag-handle{cursor:grab;color:var(--color-text-muted);padding:.25rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.route-stop-drag-handle:hover{color:var(--color-text-secondary)}.route-stop-drag-handle:active{cursor:grabbing}.stop-number{width:24px;height:24px;border-radius:50%;background:var(--color-success);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem;flex-shrink:0}.stop-info{flex:1;min-width:0}.stop-info strong{display:block;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stop-info .company{display:block;font-size:.75rem;color:var(--color-text-secondary)}.route-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.route-actions .btn{flex:1;min-width:80px}.saved-routes-list{list-style:none;margin:0;padding:0}.saved-route-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;border-radius:var(--radius-sm);margin-bottom:.25rem;background:var(--color-bg);cursor:pointer}.saved-route-item:hover{background:#e2e8f0}.saved-route-item.active{background:#dbeafe;border:1px solid var(--color-primary)}.saved-route-item .route-info{flex:1}.saved-route-item .route-info strong{display:block;font-size:.875rem}.saved-route-item .stop-count,.saved-route-item .distance{font-size:.75rem;color:var(--color-text-secondary);margin-right:.5rem}.ungeocoded-list{list-style:none;margin:0;padding:0}.ungeocoded-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem;border-radius:var(--radius-sm);margin-bottom:.25rem;background:#fef3c7;font-size:.875rem}.more-count{padding:.5rem;color:var(--color-text-secondary);font-size:.75rem}.empty-text{color:var(--color-text-muted);font-size:.875rem;padding:.5rem 0}.contact-popup{padding:.25rem}.contact-popup strong{display:block;margin-bottom:.25rem}.popup-company,.popup-address,.popup-phone{font-size:.75rem;color:#64748b;margin-bottom:.25rem}.popup-action{margin-top:.5rem;width:100%}.date-input{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.875rem}@media(max-width:1024px){.route-planning-layout{grid-template-columns:1fr;grid-template-rows:1fr auto}.route-sidebar{border-left:none;border-top:1px solid var(--color-border);max-height:300px}.route-map-section{min-height:400px}}.timesheet-page{padding:1.5rem}.timesheet-page .page-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.tab{padding:.5rem 1rem;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:.875rem;color:var(--color-text-secondary)}.tab:hover{background:var(--color-bg)}.tab--active{background:var(--color-primary);color:#fff}.timesheet-section{margin-bottom:2rem}.timesheet-actions{margin-bottom:1rem}.week-navigation{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.week-label{font-weight:600;font-size:1rem}.weekly-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem}.summary-card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem;text-align:center}.summary-card--overtime{background:#fef3c7;border-color:#f59e0b}.summary-label{display:block;font-size:.75rem;color:var(--color-text-secondary);text-transform:uppercase;margin-bottom:.25rem}.summary-value{display:block;font-size:1.5rem;font-weight:700;color:var(--color-text)}.summary-decimal{display:block;font-size:.75rem;color:var(--color-text-secondary)}.timesheet-table-wrapper{overflow-x:auto}.timesheet-table{width:100%;border-collapse:collapse;font-size:.875rem}.timesheet-table th,.timesheet-table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--color-border)}.timesheet-table th{background:var(--color-bg);font-weight:600;color:var(--color-text-secondary)}.timesheet-table tr:hover{background:var(--color-bg)}.timesheet-table tr.row--warning{background:#fef3c7}.action-buttons{display:flex;gap:.5rem}.location-text{font-size:.75rem;color:var(--color-text-secondary)}.daily-entries{display:flex;flex-direction:column;gap:1.5rem}.day-section{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:hidden}.day-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:var(--color-bg);font-size:.875rem;font-weight:600;margin:0}.day-total{font-weight:700;color:var(--color-primary)}.rejection-input{width:100%;margin-top:.5rem;padding:.5rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.875rem;resize:vertical}.badge{display:inline-block;padding:.25rem .5rem;font-size:.75rem;font-weight:600;border-radius:var(--radius-sm);text-transform:capitalize}.badge--info{background:#dbeafe;color:#1d4ed8}.badge--warning{background:#fef3c7;color:#b45309}.badge--success{background:#d1fae5;color:#059669}.badge--danger{background:#fee2e2;color:#dc2626}@media(max-width:768px){.weekly-summary{grid-template-columns:repeat(2,1fr)}.week-navigation{flex-wrap:wrap}.timesheet-table{font-size:.75rem}.timesheet-table th,.timesheet-table td{padding:.5rem}}.team-route-planning-page{min-height:100%}.team-route-planning-page .page-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.team-route-planning-page .page-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.team-route-planning-page .date-input{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.team-route-layout{display:grid;grid-template-columns:300px 1fr;gap:1.5rem;min-height:calc(100vh - 200px)}.unassigned-pool{background:var(--color-bg-card);border-radius:var(--radius-lg);border:1px solid var(--color-border);display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.unassigned-pool__header{padding:1rem;border-bottom:1px solid var(--color-border)}.unassigned-pool__header h3{font-size:1rem;font-weight:600;margin-bottom:.75rem;color:var(--color-text)}.unassigned-pool__header .search-input{width:100%;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.unassigned-pool__list{flex:1;overflow-y:auto;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.unassigned-pool__empty{text-align:center;color:var(--color-text-muted);padding:2rem 1rem;font-size:.875rem}.contact-card{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.75rem;cursor:grab;transition:box-shadow .15s,border-color .15s}.contact-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-sm)}.contact-card--dragging{box-shadow:var(--shadow-md);border-color:var(--color-primary)}.contact-card__name{font-weight:600;font-size:.875rem;color:var(--color-text)}.contact-card__company{font-size:.75rem;color:var(--color-text-secondary);margin-top:.125rem}.contact-card__location{font-size:.75rem;color:var(--color-text-muted);margin-top:.25rem}.staff-columns{display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem}.no-staff-message{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:3rem 2rem;text-align:center;color:var(--color-text-secondary);flex:1}.no-staff-message p{margin-bottom:.5rem}.staff-column{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);min-width:280px;max-width:320px;display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.staff-column--conflict{border-color:var(--color-warning)}.staff-column__header{padding:1rem;border-bottom:1px solid var(--color-border);display:flex;align-items:flex-start;gap:.75rem}.staff-column__avatar{width:40px;height:40px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;flex-shrink:0}.staff-column__info{flex:1;min-width:0}.staff-column__name{font-weight:600;font-size:.9375rem;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-column__meta{font-size:.75rem;color:var(--color-text-secondary);margin-top:.125rem}.staff-column__territories{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.5rem}.territory-badge{font-size:.625rem;padding:.125rem .375rem;border-radius:999px;color:#fff;font-weight:500}.conflict-badge{width:20px;height:20px;border-radius:50%;background:var(--color-warning);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.75rem;flex-shrink:0}.staff-column__drop-zone{flex:1;overflow-y:auto;padding:.75rem;min-height:200px;display:flex;flex-direction:column;gap:.5rem}.staff-column__empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--color-text-muted);font-size:.875rem;border:2px dashed var(--color-border);border-radius:var(--radius-md);padding:2rem;text-align:center}.route-stop-card{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:.625rem .75rem;display:flex;align-items:center;gap:.625rem;cursor:grab;transition:box-shadow .15s,border-color .15s}.route-stop-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-sm)}.route-stop-card__number{width:24px;height:24px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;flex-shrink:0}.route-stop-card__content{flex:1;min-width:0}.route-stop-card__name{font-weight:500;font-size:.8125rem;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-stop-card__company{font-size:.6875rem;color:var(--color-text-secondary)}.route-stop-card__remove{width:24px;height:24px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.25rem;border-radius:var(--radius-sm);flex-shrink:0;transition:background-color .15s,color .15s}.route-stop-card__remove:hover{background:var(--color-danger);color:#fff}.staff-column__actions{padding:.75rem 1rem;border-top:1px solid var(--color-border);display:flex;gap:.5rem;justify-content:flex-end}.error-banner,.conflicts-banner{padding:1rem;border-radius:var(--radius-md);margin-bottom:1rem;display:flex;align-items:flex-start;gap:.75rem}.error-banner{background:#fee2e2;border:1px solid #fecaca;color:#dc2626}.error-banner button{margin-left:auto;padding:.375rem .75rem;background:#fff;border:1px solid #fecaca;border-radius:var(--radius-sm);color:#dc2626;font-size:.8125rem;cursor:pointer}.conflicts-banner{background:#fef3c7;border:1px solid #fde68a;color:#b45309}.conflicts-banner strong{display:block;margin-bottom:.375rem}.conflicts-banner ul{margin:0;padding-left:1.25rem;font-size:.875rem}.conflicts-banner li{margin-bottom:.25rem}@media(max-width:1024px){.team-route-layout{grid-template-columns:1fr}.unassigned-pool{max-height:300px}.staff-columns{flex-wrap:nowrap;overflow-x:auto}}@media(max-width:640px){.team-route-planning-page .page-header{flex-direction:column;align-items:stretch}.team-route-planning-page .page-actions{justify-content:flex-start;overflow-x:auto}.staff-column{min-width:260px}}.admin-dashboard-page .kpi-card-primary{border-left:4px solid var(--color-primary)}.admin-dashboard-page .kpi-card-success{border-left:4px solid var(--color-success)}.quick-stats-row{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.quick-stat{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:12px 20px;display:flex;flex-direction:column;align-items:center;min-width:120px}.quick-stat-value{font-size:24px;font-weight:600;color:var(--color-primary)}.quick-stat-label{font-size:12px;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.5px}.quick-actions-section{margin-bottom:24px}.quick-actions-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.quick-action-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);cursor:pointer;transition:all .2s;text-align:left}.quick-action-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.quick-action-card .quick-action-icon{font-size:28px}.quick-action-card .quick-action-text{display:flex;flex-direction:column}.quick-action-card .quick-action-label{font-weight:600;color:var(--color-text)}.quick-action-card .quick-action-count{font-size:12px;color:var(--color-text-secondary)}.quick-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.quick-action-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s}.quick-action-btn:hover{background:var(--color-bg-card);border-color:var(--color-primary)}.quick-action-btn .quick-action-icon{font-size:24px}.quick-action-btn .quick-action-label{font-size:13px;color:var(--color-text-secondary)}.alert-section{padding:0!important;background:transparent!important;border:none!important}.alert-card{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:var(--radius-lg)}.alert-card.alert-warning{background:#fef3c7;border:1px solid #f59e0b}.alert-card.alert-error{background:#fee2e2;border:1px solid #ef4444}.alert-card.alert-info{background:#dbeafe;border:1px solid #3b82f6}.alert-icon{font-size:24px}.alert-content{flex:1}.alert-card .btn-sm{padding:6px 12px;font-size:13px}.activity-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--color-border)}.activity-item:last-child{border-bottom:none}.activity-icon{font-size:18px;flex-shrink:0}.activity-content{flex:1;min-width:0}.activity-title{font-weight:500;color:var(--color-text);text-transform:capitalize}.activity-meta{font-size:12px;color:var(--color-text-muted);margin-top:2px}@media(max-width:768px){.quick-actions-bar{grid-template-columns:repeat(2,1fr)}.quick-stats-row{justify-content:center}.quick-stat{flex:1;min-width:100px}}@media(max-width:480px){.quick-actions-bar{grid-template-columns:1fr}.quick-action-card{justify-content:center}}.staff-schedules-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.staff-schedules-layout{display:grid;grid-template-columns:320px 1fr;gap:1.5rem;min-height:calc(100vh - 200px)}.staff-list-panel{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.staff-list-header{padding:1rem;border-bottom:1px solid var(--color-border)}.staff-list-header .search-input{width:100%;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.staff-list{flex:1;overflow-y:auto}.staff-list-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid var(--color-border);transition:background-color .15s}.staff-list-item:hover{background:var(--color-bg)}.staff-list-item--selected{background:#eef2ff;border-left:3px solid var(--color-primary)}.staff-list-item__avatar{width:36px;height:36px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem;flex-shrink:0}.staff-list-item__info{flex:1;min-width:0}.staff-list-item__name{font-weight:500;font-size:.875rem;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-list-item__email{font-size:.75rem;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-list-item__status{flex-shrink:0}.status-badge{font-size:.625rem;padding:.125rem .5rem;border-radius:999px;font-weight:500;text-transform:uppercase}.status-badge--success{background:#d1fae5;color:#059669}.status-badge--muted{background:var(--color-bg);color:var(--color-text-muted)}.staff-list-empty{padding:2rem 1rem;text-align:center;color:var(--color-text-muted);font-size:.875rem}.schedule-editor-panel{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow-y:auto;max-height:calc(100vh - 200px)}.schedule-editor-empty,.schedule-editor-no-schedule{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:3rem;text-align:center;color:var(--color-text-secondary)}.schedule-editor-no-schedule h3{margin-bottom:.5rem;color:var(--color-text)}.schedule-editor-no-schedule .btn{margin-top:1rem}.schedule-editor{padding:1.5rem}.schedule-editor__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.schedule-editor__header h2{font-size:1.25rem;font-weight:600}.btn-danger-ghost{color:var(--color-danger);background:transparent;border:1px solid var(--color-danger)}.btn-danger-ghost:hover{background:var(--color-danger);color:#fff}.schedule-section{margin-bottom:2rem}.schedule-section h3{font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--color-text)}.schedule-settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.schedule-settings-grid .form-group{display:flex;flex-direction:column;gap:.375rem}.schedule-settings-grid .form-group label{font-size:.75rem;font-weight:500;color:var(--color-text-secondary);text-transform:uppercase}.schedule-settings-grid .form-group input,.schedule-settings-grid .form-group select{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.weekly-pattern-editor{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:hidden}.weekly-pattern-header{padding:.75rem 1rem;background:var(--color-bg-card);border-bottom:1px solid var(--color-border)}.weekly-pattern-title{font-weight:600;font-size:.875rem}.weekly-pattern-grid{display:flex;flex-direction:column}.day-pattern{padding:.75rem 1rem;border-bottom:1px solid var(--color-border)}.day-pattern:last-child{border-bottom:none}.day-pattern--working{background:var(--color-bg-card)}.day-pattern__header{display:flex;align-items:center;justify-content:space-between}.day-pattern__toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer}.day-pattern__toggle input[type=checkbox]{width:16px;height:16px}.day-pattern__label{font-weight:500;font-size:.875rem}.day-pattern__label-short{display:none}.day-pattern__expand-btn{width:24px;height:24px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-bg);cursor:pointer;font-size:1rem;line-height:1}.day-pattern__off{font-size:.75rem;color:var(--color-text-muted);margin-top:.25rem}.day-pattern__shifts{margin-top:.5rem}.shift-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.375rem}.shift-input{padding:.375rem .5rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.8125rem;width:100px}.shift-separator{font-size:.75rem;color:var(--color-text-muted)}.shift-remove-btn{width:20px;height:20px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:1rem;line-height:1;border-radius:var(--radius-sm)}.shift-remove-btn:hover{background:var(--color-danger);color:#fff}.day-pattern__actions{display:flex;gap:.5rem;margin-top:.5rem}.exception-list{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem}.exception-list__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.exception-list__header h4{font-size:.875rem;font-weight:600}.exception-list__empty{text-align:center;color:var(--color-text-muted);font-size:.875rem;padding:1rem}.exception-form{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem;margin-bottom:1rem}.exception-form__row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:.75rem}.exception-form .form-group{display:flex;flex-direction:column;gap:.25rem}.exception-form .form-group label{font-size:.75rem;font-weight:500;color:var(--color-text-secondary)}.exception-form .form-group input,.exception-form .form-group select{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.875rem}.exception-form__shifts{margin-bottom:.75rem}.exception-form__shifts label{display:block;font-size:.75rem;font-weight:500;color:var(--color-text-secondary);margin-bottom:.375rem}.exception-form__actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.exception-section{margin-bottom:1rem}.exception-section__title{font-size:.75rem;font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;margin-bottom:.5rem}.exception-section--past{opacity:.7}.exception-items{display:flex;flex-direction:column;gap:.5rem}.exception-item{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.exception-item--past{opacity:.6}.exception-item__type-indicator{width:4px;height:32px;border-radius:2px;flex-shrink:0}.exception-item__content{flex:1;min-width:0}.exception-item__date{font-weight:500;font-size:.8125rem;color:var(--color-text)}.exception-item__details{font-size:.75rem;color:var(--color-text-secondary)}.exception-item__type{font-weight:500}.exception-item__reason{color:var(--color-text-muted)}.exception-item__shifts{display:block;color:var(--color-text-muted)}.exception-item__remove{width:24px;height:24px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:1.25rem;line-height:1;border-radius:var(--radius-sm);flex-shrink:0}.exception-item__remove:hover{background:var(--color-danger);color:#fff}.exception-item__more{font-size:.75rem;color:var(--color-text-muted);text-align:center;padding:.5rem}@media(max-width:1024px){.staff-schedules-layout{grid-template-columns:1fr}.staff-list-panel{max-height:300px}.schedule-editor-panel{max-height:none}}@media(max-width:640px){.schedule-settings-grid,.exception-form__row{grid-template-columns:1fr}.day-pattern__label-full{display:none}.day-pattern__label-short{display:inline}}.territories-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.territories-layout{display:grid;grid-template-columns:300px 1fr;gap:1.5rem;min-height:calc(100vh - 200px)}.territory-list-panel{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow-y:auto;max-height:calc(100vh - 200px)}.territory-section{padding:.75rem 0}.territory-section--inactive{opacity:.7;border-top:1px solid var(--color-border)}.territory-section-title{font-size:.75rem;font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;padding:.5rem 1rem}.territory-list{display:flex;flex-direction:column}.territory-list-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid var(--color-border);transition:background-color .15s}.territory-list-item:last-child{border-bottom:none}.territory-list-item:hover{background:var(--color-bg)}.territory-list-item--selected{background:#eef2ff}.territory-list-item--inactive{opacity:.6}.territory-color-bar{width:4px;height:36px;border-radius:2px;flex-shrink:0}.territory-list-item__info{flex:1;min-width:0}.territory-list-item__name{font-weight:500;font-size:.875rem;color:var(--color-text)}.territory-list-item__meta{font-size:.75rem;color:var(--color-text-muted)}.territory-list-empty{padding:2rem 1rem;text-align:center;color:var(--color-text-secondary);font-size:.875rem}.territory-list-empty p{margin-bottom:.5rem}.territory-editor-panel{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);overflow-y:auto;max-height:calc(100vh - 200px)}.territory-editor-empty{display:flex;align-items:center;justify-content:center;height:100%;padding:3rem;color:var(--color-text-secondary)}.territory-editor{padding:1.5rem}.territory-editor__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.territory-editor__header h2{font-size:1.25rem;font-weight:600}.territory-section-form{margin-bottom:2rem}.territory-section-form h3{font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--color-text)}.territory-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.territory-form-grid .form-group--full{grid-column:1 / -1}.territory-form-grid .form-group{display:flex;flex-direction:column;gap:.375rem}.territory-form-grid .form-group label{font-size:.75rem;font-weight:500;color:var(--color-text-secondary);text-transform:uppercase}.territory-form-grid .form-group input[type=text],.territory-form-grid .form-group textarea{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.territory-form-grid .form-group textarea{resize:vertical}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;text-transform:none!important}.checkbox-label input[type=checkbox]{width:16px;height:16px}.form-hint{font-size:.75rem;color:var(--color-text-muted);font-weight:400}.color-picker-row{display:flex;align-items:center;gap:.75rem}.color-input{width:40px;height:32px;padding:0;border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer}.color-presets{display:flex;gap:.375rem;flex-wrap:wrap}.color-preset{width:24px;height:24px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s}.color-preset:hover{transform:scale(1.1)}.color-preset--active{border-color:var(--color-text)}.territory-editor__actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1.5rem;border-top:1px solid var(--color-border);margin-top:1.5rem}.boundary-editor{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem}.boundary-editor__type-selector{margin-bottom:1rem}.boundary-editor__type-selector label{display:block;font-size:.75rem;font-weight:500;color:var(--color-text-secondary);text-transform:uppercase;margin-bottom:.5rem}.boundary-type-buttons{display:flex;gap:.5rem}.boundary-type-btn{padding:.5rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-bg-card);cursor:pointer;font-size:.875rem;transition:all .15s}.boundary-type-btn:hover{border-color:var(--color-primary)}.boundary-type-btn--active{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.boundary-zip-editor{margin-top:1rem}.zip-input-row{display:flex;gap:.5rem;margin-bottom:.5rem}.zip-input{flex:1;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.zip-error{color:var(--color-danger);font-size:.75rem;margin-bottom:.5rem}.zip-codes-list{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.75rem;min-height:32px}.zip-codes-empty{color:var(--color-text-muted);font-size:.875rem;padding:.5rem 0}.zip-code-tag{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.8125rem;font-family:monospace}.zip-code-remove{width:16px;height:16px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:1rem;line-height:1;padding:0}.zip-code-remove:hover{color:var(--color-danger)}.zip-count{font-size:.75rem;color:var(--color-text-muted);margin-top:.5rem}.boundary-radius-editor{margin-top:1rem}.radius-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.radius-fields .form-group{display:flex;flex-direction:column;gap:.25rem}.radius-fields .form-group label{font-size:.75rem;font-weight:500;color:var(--color-text-secondary)}.radius-fields .form-group input{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:.875rem}.boundary-hint{font-size:.75rem;color:var(--color-text-muted);margin-top:.75rem}.boundary-polygon-editor{margin-top:1rem}.polygon-info{font-size:.875rem;color:var(--color-text-secondary);margin-top:.5rem}.staff-assignment-panel{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1rem}.staff-assignment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.staff-assignment-header h4{font-size:.875rem;font-weight:600}.assignment-count{font-size:.75rem;color:var(--color-text-muted)}.add-assignment-row{display:flex;gap:.5rem;margin-bottom:1rem}.staff-select{flex:1;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:.875rem}.all-assigned-note{font-size:.75rem;color:var(--color-text-muted);margin-bottom:1rem}.assignment-list{display:flex;flex-direction:column;gap:.5rem}.assignment-list-empty{text-align:center;color:var(--color-text-muted);font-size:.875rem;padding:1rem}.assignment-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.assignment-priority{display:flex;flex-direction:column;align-items:center;gap:2px}.priority-btn{width:20px;height:16px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:.75rem;padding:0;line-height:1}.priority-btn:hover:not(:disabled){color:var(--color-primary)}.priority-btn:disabled{opacity:.3;cursor:default}.priority-number{font-size:.75rem;font-weight:600;color:var(--color-text-secondary)}.assignment-info{flex:1;min-width:0}.assignment-name{font-weight:500;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.primary-badge{font-size:.625rem;padding:.125rem .375rem;background:var(--color-primary);color:#fff;border-radius:999px;font-weight:500}.assignment-actions{display:flex;align-items:center;gap:.5rem}.btn-xs{padding:.25rem .5rem;font-size:.75rem}.assignment-remove{width:24px;height:24px;border:none;background:transparent;color:var(--color-text-muted);cursor:pointer;font-size:1.25rem;line-height:1}.assignment-remove:hover{color:var(--color-danger)}.assignment-hint{font-size:.75rem;color:var(--color-text-muted);margin-top:1rem}@media(max-width:1024px){.territories-layout{grid-template-columns:1fr}.territory-list-panel{max-height:300px}.territory-editor-panel{max-height:none}}@media(max-width:640px){.territory-form-grid,.radius-fields{grid-template-columns:1fr}.boundary-type-buttons{flex-wrap:wrap}}.client-notes-section,.job-notes-section{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:20px}.client-notes-section .section-header,.job-notes-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.client-notes-section .section-header h3,.job-notes-section .section-header h3{font-size:16px;font-weight:600;margin:0}.section-badge{background:var(--color-bg);padding:4px 8px;border-radius:var(--radius-sm);font-size:12px;color:var(--color-text-secondary)}.client-notes-list{display:flex;flex-direction:column;gap:12px}.client-note-item{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:16px}.note-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;flex-wrap:wrap;gap:8px}.note-type-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:500;color:#fff}.note-type-badge .note-type-icon{font-size:14px}.note-meta{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--color-text-secondary)}.note-separator{opacity:.5}.note-content{color:var(--color-text);line-height:1.6;white-space:pre-wrap;word-break:break-word}.note-actions{display:flex;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--color-border)}.note-actions .btn-danger{color:var(--color-danger)}.note-type-selector{display:flex;flex-wrap:wrap;gap:8px}.note-type-option{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 16px;background:var(--color-bg);border:2px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:all .2s;min-width:80px}.note-type-option:hover{border-color:var(--type-color, var(--color-primary))}.note-type-option.selected{border-color:var(--type-color, var(--color-primary));background:color-mix(in srgb,var(--type-color, var(--color-primary)) 10%,white)}.note-type-option .note-type-icon{font-size:20px}.note-type-option .note-type-label{font-size:12px;color:var(--color-text-secondary)}.char-count{display:block;text-align:right;font-size:12px;color:var(--color-text-muted);margin-top:4px}.delete-confirm{background:#fee2e2;border:1px solid #ef4444;border-radius:var(--radius-md);padding:16px;text-align:center}.delete-confirm p{margin-bottom:12px;color:#b91c1c;font-weight:500}.delete-confirm-actions{display:flex;justify-content:center;gap:8px}.job-notes-list{display:flex;flex-direction:column;gap:16px}.job-note-item{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:16px}.job-note-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.job-note-service{display:flex;align-items:center;gap:8px;font-weight:600}.job-note-icon{font-size:18px}.job-note-date{font-size:13px;color:var(--color-text-secondary)}.job-note-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:8px}.job-note-provider{font-size:13px;color:var(--color-text-secondary)}.job-note-type-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:500;color:#fff}.job-note-location{font-size:13px;color:var(--color-text-secondary);margin-bottom:12px}.job-note-content{color:var(--color-text);line-height:1.6;padding:12px;background:var(--color-bg-card);border-radius:var(--radius-sm);margin-bottom:12px}.job-note-checklist{margin-bottom:12px}.checklist-header{font-size:13px;font-weight:500;color:var(--color-text-secondary);margin-bottom:8px}.checklist-items{display:flex;flex-wrap:wrap;gap:8px}.checklist-item{padding:4px 10px;border-radius:var(--radius-sm);font-size:12px}.checklist-item.completed{background:#d1fae5;color:#047857}.checklist-item.incomplete{background:var(--color-bg);color:var(--color-text-muted)}.job-note-photos-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);font-size:13px;color:var(--color-text-secondary);cursor:pointer;transition:all .2s}.job-note-photos-btn:hover{border-color:var(--color-primary);color:var(--color-primary)}.lightbox-overlay{position:fixed;inset:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:1000}.lightbox-content{position:relative;max-width:90vw;max-height:90vh}.lightbox-close{position:absolute;top:-40px;right:0;background:none;border:none;color:#fff;font-size:32px;cursor:pointer;z-index:1001}.lightbox-image-container{display:flex;align-items:center;justify-content:center}.lightbox-image{max-width:100%;max-height:80vh;object-fit:contain;border-radius:var(--radius-md)}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);background:#fff3;border:none;color:#fff;font-size:48px;padding:20px 15px;cursor:pointer;transition:background .2s}.lightbox-nav:hover{background:#ffffff4d}.lightbox-prev{left:-60px;border-radius:var(--radius-md) 0 0 var(--radius-md)}.lightbox-next{right:-60px;border-radius:0 var(--radius-md) var(--radius-md) 0}.lightbox-counter{position:absolute;bottom:-30px;left:50%;transform:translate(-50%);color:#fff;font-size:14px}.empty-hint{display:block;font-size:12px;color:var(--color-text-muted);margin-top:4px}:root{color-scheme:light;--font-family-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;--font-family-mono: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", monospace;--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 48px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 18px;--radius-pill: 999px;--shadow-sm: 0 10px 28px rgba(15, 23, 42, .06);--shadow-md: 0 18px 40px rgba(15, 23, 42, .1);--shadow-lg: 0 28px 64px rgba(15, 23, 42, .16);--color-brand-500: #2857e7;--color-brand-600: #1f46bf;--color-brand-050: #eef3ff;--color-brand-100: #dbe6ff;--color-surface-canvas: #edf2f8;--color-surface-subtle: #f6f9fc;--color-surface-card: rgba(255, 255, 255, .88);--color-surface-card-strong: #ffffff;--color-surface-border: #d5deea;--color-surface-border-strong: #c0cad9;--color-text: #162033;--color-text-secondary: #51607a;--color-text-muted: #72819a;--color-text-inverse: #f8fbff;--color-success: #16794f;--color-success-soft: #eefaf3;--color-warning: #946200;--color-warning-soft: #fff7e7;--color-danger: #b33a3a;--color-danger-soft: #fff1f1;--color-info: #1d5fd4;--color-info-soft: #eef5ff;--color-focus-ring: rgba(40, 87, 231, .18);--color-overlay: rgba(12, 18, 28, .14);--sidebar-width: 280px;--header-height: 64px;--page-max-width: 1360px;--surface-app-gradient: radial-gradient(circle at top left, rgba(40, 87, 231, .08), transparent 28%), radial-gradient(circle at top right, rgba(14, 165, 233, .08), transparent 24%), linear-gradient(180deg, #f6f9fc 0%, #edf2f8 52%, #eef2f7 100%);--color-primary: var(--color-brand-500);--color-primary-hover: var(--color-brand-600);--color-bg: var(--color-surface-canvas);--color-bg-card: var(--color-surface-card-strong);--color-border: var(--color-surface-border)}body{min-height:100vh;font-family:var(--font-family-sans);font-size:14px;line-height:1.5;color:var(--color-text);background:var(--surface-app-gradient)}#root{min-height:100vh}a{color:inherit}button,input,select,textarea{font:inherit}.ui-page,.page{width:100%;max-width:var(--page-max-width);margin:0 auto}.ui-page{display:flex;flex-direction:column;gap:var(--space-lg)}.ui-page--wide{max-width:1440px}.ui-page-header,.page-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-sm) var(--space-lg);align-items:end;margin-bottom:var(--space-lg)}.ui-page-header__copy{display:flex;flex-direction:column;gap:var(--space-xs)}.ui-page-header__eyebrow,.sidebar-eyebrow,.ui-empty-state__eyebrow,.ui-auth__eyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted)}.ui-page-header__title,.page-header h1{margin:0;color:var(--color-text);font-size:clamp(28px,3vw,38px);font-weight:700;letter-spacing:-.045em;line-height:1.05}.ui-page-header__subtitle,.page-subtitle{margin:0;max-width:72ch;color:var(--color-text-secondary);font-size:15px;line-height:1.6}.page-subtitle{grid-column:1}.ui-page-header__actions,.page-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-sm);flex-wrap:wrap}.ui-page-header__actions{align-self:start}.page-actions{grid-column:2;grid-row:1 / span 2}.ui-card,.dashboard-section,.data-table-container,.loading-state,.error-state,.login-card,.mfa-card,.error-container{position:relative;overflow:hidden;border:1px solid rgba(192,202,217,.72);border-radius:var(--radius-lg);background:var(--color-surface-card);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.ui-card:before,.dashboard-section:before,.data-table-container:before,.loading-state:before,.error-state:before,.login-card:before,.mfa-card:before,.error-container:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#ffffff8f,#fff0);pointer-events:none}.ui-card--padding-sm{padding:var(--space-sm)}.ui-card--padding-md{padding:var(--space-md)}.ui-card--padding-lg,.login-card,.mfa-card,.error-container{padding:var(--space-xl)}.ui-card--subtle{background:#f8fbffd6}.ui-card--accent{background:linear-gradient(180deg,#2857e714,#fffffff0)}.ui-button,.btn,.login-btn,.primary-btn,.secondary-btn,.btn-icon{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs);min-height:42px;padding:0 16px;border-radius:999px;border:1px solid transparent;font-size:14px;font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;text-decoration:none}.ui-button:hover,.btn:hover,.login-btn:hover,.primary-btn:hover,.secondary-btn:hover,.btn-icon:hover{transform:translateY(-1px)}.ui-button:disabled,.btn:disabled,.login-btn:disabled,.primary-btn:disabled,.secondary-btn:disabled,.btn-icon:disabled{opacity:.56;cursor:not-allowed;transform:none}.ui-button--full-width,.login-btn{width:100%}.ui-button--sm,.btn-sm,.btn-icon,.btn-xs{min-height:34px;padding:0 12px;font-size:12px}.ui-button--primary,.btn-primary,.login-btn,.primary-btn{background:linear-gradient(180deg,#3466fb 0%,var(--color-brand-500) 100%);color:var(--color-text-inverse);box-shadow:0 10px 18px #2857e733}.ui-button--primary:hover,.btn-primary:hover,.login-btn:hover,.primary-btn:hover{background:linear-gradient(180deg,#2759ef 0%,var(--color-brand-600) 100%)}.ui-button--secondary,.btn-secondary,.secondary-btn{background:#ffffffc2;border-color:#c0cad9eb;color:var(--color-text)}.ui-button--secondary:hover,.btn-secondary:hover,.secondary-btn:hover{background:#f6f9fcf5;border-color:#a7b4c6eb}.ui-button--ghost,.btn-ghost,.text-btn,.btn-link{background:transparent;color:var(--color-text-secondary)}.ui-button--ghost:hover,.btn-ghost:hover,.text-btn:hover,.btn-link:hover{background:#fff9;color:var(--color-text)}.ui-button--danger,.btn-danger{background:linear-gradient(180deg,#d55151,#b33a3a);color:#fff}.btn-danger-ghost{border-color:#d751513d;background:#fff1f1e6;color:var(--color-danger)}.btn-danger-ghost:hover{background:#ffe8e8f5}.btn-link{padding:0;border:0;min-height:auto;font-weight:600}input[type=text],input[type=email],input[type=password],input[type=number],input[type=tel],select,textarea{min-height:44px;border-radius:var(--radius-md);border:1px solid rgba(192,202,217,.92);background:#fffffff5;box-shadow:inset 0 1px #fff9;color:var(--color-text)}input::placeholder,textarea::placeholder{color:var(--color-text-muted)}input:focus,select:focus,textarea:focus{outline:none;border-color:#2857e77a;box-shadow:0 0 0 4px var(--color-focus-ring)}.page-filters{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap;margin-bottom:var(--space-lg);padding:var(--space-md);border:1px solid rgba(192,202,217,.72);border-radius:var(--radius-lg);background:#ffffffb3;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.ui-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.ui-toolbar__start,.ui-toolbar__end{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap}.ui-results-count{color:var(--color-text-muted);font-size:13px;font-weight:600}.page-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;padding:14px 16px;border-radius:var(--radius-md)}.page-banner--success{border:1px solid rgba(22,121,79,.18);background:var(--color-success-soft);color:var(--color-success)}.page-banner__content{display:flex;flex-direction:column;gap:4px}.page-banner__title{font-weight:700}.search-input{flex:1 1 280px;width:auto}.filter-select{min-width:170px}.data-table-container{overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:14px 16px;border-bottom:1px solid rgba(213,222,234,.92)}.data-table th{background:#f0f4f9eb;color:var(--color-text-muted);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.data-table tbody tr:hover{background:#f6f9fcf5}.link-button{padding:0;border:0;background:transparent;color:var(--color-text);font-weight:600;text-align:left;cursor:pointer}.link-button:hover{color:var(--color-brand-600)}.table-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.load-more{display:flex;justify-content:center;padding:var(--space-md)}.status-badge,.lead-status-badge,.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--radius-pill);border:1px solid transparent;font-size:12px;font-weight:600;letter-spacing:.01em}.empty-state,.ui-empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-sm);padding:56px 24px;text-align:center;color:var(--color-text-secondary)}.ui-empty-state{padding:0}.ui-empty-state__title,.empty-state-content h3{margin:0;color:var(--color-text);font-size:24px;font-weight:700;letter-spacing:-.035em}.ui-empty-state__description,.empty-state-description{margin:0;max-width:56ch;font-size:15px;line-height:1.6}.ui-empty-state__details{width:100%;display:grid;gap:var(--space-sm)}.ui-empty-state__actions,.empty-state-actions{display:flex;justify-content:center;gap:var(--space-sm);flex-wrap:wrap;margin-top:var(--space-xs)}.alert,.info-banner,.error-message,.loading-message,.loading-state,.error-state{display:flex;flex-direction:column;gap:var(--space-sm);color:var(--color-text-secondary)}.alert,.info-banner{padding:14px 16px;border:1px solid rgba(148,98,0,.24);border-radius:var(--radius-md);background:var(--color-warning-soft);color:var(--color-warning)}.alert-success{border-color:#16794f2e;background:var(--color-success-soft);color:var(--color-success)}.alert-error,.error-message,.error-state{border:1px solid rgba(179,58,58,.18);border-radius:var(--radius-md);background:var(--color-danger-soft);color:var(--color-danger)}.loading-state,.error-state{width:min(100%,760px);align-self:flex-start;align-items:flex-start;padding:var(--space-xl)}.page-status-title,.page-status-detail{margin:0}.page-status-title{font-weight:700}@media(max-width:960px){.ui-page-header,.page-header{grid-template-columns:1fr}.ui-page-header__actions,.page-actions{grid-column:1;grid-row:auto;justify-content:flex-start}.ui-toolbar{align-items:stretch}.ui-toolbar__start,.ui-toolbar__end{width:100%}}@media(max-width:640px){.ui-button,.btn,.login-btn,.primary-btn,.secondary-btn,.ui-empty-state__actions,.empty-state-actions,.page-actions{width:100%}}.app-layout{position:relative;min-height:100vh;background:transparent}.sidebar{width:var(--sidebar-width);padding:0;background:#f8fbffcc;border-right:1px solid rgba(192,202,217,.7);box-shadow:24px 0 60px #0f172a0f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar-header{padding:28px 24px 20px}.sidebar-header-top{align-items:flex-start}.sidebar-brand{display:flex;flex-direction:column;gap:6px}.sidebar-title{font-size:22px;font-weight:700;letter-spacing:-.04em;color:var(--color-text)}.sidebar-user{margin-top:18px;gap:4px}.user-name{font-size:14px;font-weight:600;color:var(--color-text)}.user-role{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted)}.sidebar-nav{display:flex;flex-direction:column;gap:4px;padding:12px}.nav-item{min-height:48px;padding:10px 12px;border-radius:14px;border:1px solid transparent;color:var(--color-text-secondary)}.nav-item:hover{background:#ffffffbd;border-color:#c0cad9b8;color:var(--color-text)}.nav-item-active{background:linear-gradient(180deg,#2857e71f,#2857e714);border-color:#2857e733;color:var(--color-brand-600);box-shadow:inset 0 1px #ffffff8f}.nav-item-active:hover{color:var(--color-brand-600)}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#ffffffd1;color:currentColor}.nav-item-active .nav-icon{background:#fffffff0}.nav-icon svg{width:16px;height:16px}.nav-label{font-size:14px;font-weight:600}.sidebar-footer{padding:16px 20px 24px}.sign-out-btn{border-radius:999px}.main-content{margin-left:var(--sidebar-width);padding:32px;min-height:100vh}.kpi-cards{gap:18px}.kpi-card{position:relative;overflow:hidden;border:1px solid rgba(192,202,217,.72);border-radius:16px;padding:20px;background:#ffffffe0;box-shadow:var(--shadow-sm)}.kpi-card-primary{background:linear-gradient(180deg,#2857e71f,#fffffff5)}.kpi-card-success{background:linear-gradient(180deg,#16794f1c,#fffffff5)}.kpi-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted)}.kpi-value{font-size:clamp(28px,3vw,36px);font-weight:700;letter-spacing:-.05em}.kpi-sublabel{color:var(--color-text-secondary);font-size:14px}.login-page,.mfa-page,.error-page,.ui-auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:var(--surface-app-gradient)}.ui-auth__panel,.login-card,.mfa-card,.error-container{width:min(100%,560px)}.ui-auth__panel--wide,.error-container{width:min(100%,680px)}.ui-auth__header,.mfa-card__header{display:flex;flex-direction:column;gap:var(--space-xs);margin-bottom:var(--space-lg)}.ui-auth__title,.login-card h1,.mfa-card__header h1,.error-container h1{margin:0;color:var(--color-text);font-size:clamp(30px,4vw,40px);font-weight:700;letter-spacing:-.05em;line-height:1.05}.ui-auth__subtitle,.login-subtitle,.mfa-card__subtitle{margin:0;color:var(--color-text-secondary);font-size:15px;line-height:1.6}.ui-auth__footer{margin-top:var(--space-md);color:var(--color-text-muted);font-size:13px;line-height:1.6}.ui-auth__actions{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap}.mfa-form{display:grid;gap:var(--space-md)}.ui-auth__verification{margin-top:var(--space-lg);padding-top:var(--space-lg);border-top:1px solid rgba(192,202,217,.62)}.ui-meta-grid{display:grid;gap:var(--space-sm);text-align:left}.ui-meta-row{display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(192,202,217,.62);border-radius:var(--radius-md);background:#ffffffb8}.ui-meta-row__label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted)}.ui-meta-row__value{color:var(--color-text);font-family:var(--font-family-mono);font-size:13px;word-break:break-word}.ui-list-note{margin:0;padding-left:18px;text-align:left;color:var(--color-text-secondary)}.ui-list-note li+li{margin-top:6px}.loading-screen{background:var(--surface-app-gradient);color:var(--color-text-secondary)}@media(max-width:960px){.app-layout{flex-direction:column}.sidebar{position:relative;top:0!important;width:100%;box-shadow:0 18px 40px #0f172a0f}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:12px 20px 20px}.sidebar-footer{padding:0 20px 20px}.main-content{margin-left:0;padding:24px}}@media(max-width:640px){.main-content,.login-page,.mfa-page,.error-page,.ui-auth{padding:20px}.ui-card--padding-lg,.login-card,.mfa-card,.error-container{padding:24px}.ui-auth__actions{width:100%}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
