.modal-overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}.modal-overlay .modal-box,.modal-overlay .modal-content{position:relative;width:100%;max-width:540px;max-height:calc(100vh - 40px);overflow-y:auto;padding:24px;margin:0 auto}.role-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:2000;display:none;align-items:center;justify-content:center;padding:24px}.role-modal-backdrop.open,.role-modal-backdrop.show{display:flex}.role-modal-card{background:var(--bg-elevated,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:var(--radius-lg,12px);box-shadow:0 25px 50px -12px rgba(0,0,0,.25);width:100%;max-width:600px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden;color:var(--text-primary,#111);animation:claseoModalIn .2s ease-out}.role-modal-card .modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color,#e5e7eb);flex-shrink:0}.role-modal-card .modal-body{padding:20px;overflow-y:auto;flex:1}.role-modal-card .modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--border-color,#e5e7eb);background:var(--bg-gray,#f9fafb);flex-shrink:0}@keyframes claseoModalIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.icon-picker{display:flex;flex-direction:column;gap:6px}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:4px;padding:6px;background:var(--bg-gray,#f9fafb);border:1px solid var(--border-color,#e5e7eb);border-radius:var(--radius,6px);max-height:120px;overflow-y:auto}.icon-option{width:100%;aspect-ratio:1;background:0 0;border:1px solid transparent;border-radius:4px;color:var(--text-secondary,#4b5563);cursor:pointer;display:grid;place-items:center;transition:all .1s ease-out;font-size:14px;padding:0}.icon-option:hover{background:var(--bg-elevated,#fff);border-color:var(--border-color,#e5e7eb);color:var(--text-primary,#111)}.icon-option.active{background:var(--primary,#4f46e5);border-color:var(--primary,#4f46e5);color:var(--text-on-primary,#fff)}.icon-option:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(0,0,0,.1)}.empty-state .btn i,.empty-state .btn svg{font-size:14px;width:auto;height:auto;margin-bottom:0;color:inherit}body.has-people-sidebar:not(.people-sidebar-collapsed) .app-main,body.has-people-sidebar:not(.people-sidebar-collapsed) .main-content{margin-right:0!important}body.has-people-sidebar:not(.people-sidebar-collapsed) .page-content{margin-right:220px;padding-right:32px}body.has-people-sidebar.people-sidebar-collapsed .page-content{padding-right:40px}body.has-people-sidebar .topbar{z-index:95}body.has-people-sidebar:not(.people-sidebar-collapsed) .chat-dock{right:240px}@media (max-width:1100px){body.has-people-sidebar:not(.people-sidebar-collapsed) .chat-dock{right:20px}body.has-people-sidebar:not(.people-sidebar-collapsed) .page-content{margin-right:0;padding-right:0}body.has-people-sidebar.people-sidebar-collapsed .page-content{padding-right:0}}.ref-category-tab{background:var(--bg-elevated,#fff)!important;color:var(--text-secondary,#475569)!important;border:1px solid var(--border-color,#e2e8f0)!important;font-weight:500!important;transition:all .15s ease!important}.ref-category-tab:hover{background:var(--bg-hover,#f1f5f9)!important;border-color:var(--border-strong,#cbd5e1)!important;color:var(--text-primary,#0f172a)!important}.ref-category-tab.active{background:var(--text-primary,#0f172a)!important;color:var(--bg-elevated,#fff)!important;border-color:var(--text-primary,#0f172a)!important}body.auth-body.auth-glass{display:block!important;margin:0!important;padding:0!important;min-height:100vh;max-height:none!important;overflow-x:hidden;overflow-y:auto;position:relative;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.auth-glass-bg{position:fixed;inset:0;z-index:0;pointer-events:none}.auth-glass-bg::before{content:'';position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}.auth-glass-shell{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:32px 20px;box-sizing:border-box}.auth-glass-card{width:100%;max-width:440px;background:rgba(255,255,255,.12);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.22);border-radius:20px;box-shadow:0 20px 50px -12px rgba(0,0,0,.5),0 4px 12px -2px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.15);padding:40px 36px;color:#fff;animation:authGlassIn .6s cubic-bezier(.16,1,.3,1) both}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.auth-glass-card{background:rgba(15,23,42,.78)}}@keyframes authGlassIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.auth-glass-brand{text-align:center;margin-bottom:32px}.auth-glass-logo{width:64px;height:64px;margin:0 auto 18px;background:linear-gradient(135deg,#5b6cff 0,#7b8aff 100%);border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;box-shadow:0 10px 24px -8px rgba(91,108,255,.6),inset 0 1px 0 rgba(255,255,255,.2)}.auth-glass-title{font-size:26px;font-weight:700;color:#fff;margin:0 0 6px 0;letter-spacing:-.02em;text-shadow:0 2px 12px rgba(0,0,0,.25)}.auth-glass-subtitle{font-size:14px;color:rgba(255,255,255,.78);margin:0;font-weight:400}.auth-glass-card .auth-form{background:0 0;padding:0;box-shadow:none}.auth-glass-card .form-group{margin-bottom:18px}.auth-glass-card .form-label{color:rgba(255,255,255,.92);font-weight:500;font-size:13px;margin-bottom:8px;display:block}.auth-glass-card .form-control,.auth-glass-card input[type=email],.auth-glass-card input[type=password],.auth-glass-card input[type=text]{width:100%;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:10px!important;padding:12px 14px!important;color:#fff!important;font-size:14px;transition:all .2s ease;box-shadow:none!important}.auth-glass-card .form-control::placeholder,.auth-glass-card input::placeholder{color:rgba(255,255,255,.45)}.auth-glass-card .form-control:focus,.auth-glass-card input:focus{background:rgba(255,255,255,.18)!important;border-color:rgba(165,180,252,.7)!important;box-shadow:0 0 0 3px rgba(165,180,252,.15)!important;outline:0}.auth-glass-card input:-webkit-autofill,.auth-glass-card input:-webkit-autofill:focus,.auth-glass-card input:-webkit-autofill:hover{-webkit-text-fill-color:#fff!important;-webkit-box-shadow:0 0 0 1000px rgba(40,35,80,.95) inset!important;transition:background-color 9999s ease-in-out 0s;caret-color:#fff}.auth-glass-card .form-check{color:rgba(255,255,255,.85);font-size:13px;cursor:pointer;user-select:none}.auth-glass-card .form-check input[type=checkbox]{width:16px;height:16px;accent-color:#5B6CFF;margin-right:8px;cursor:pointer}.auth-glass-card .btn-primary,.auth-glass-card .btn.btn-lg{width:100%;padding:13px 20px!important;font-size:15px!important;font-weight:600;border-radius:10px!important;background:linear-gradient(135deg,#5b6cff 0,#7b8aff 100%)!important;border:none!important;color:#fff!important;cursor:pointer;transition:all .2s ease;box-shadow:0 8px 20px -6px rgba(91,108,255,.55),inset 0 1px 0 rgba(255,255,255,.15)!important}.auth-glass-card .btn-primary:hover{transform:translateY(-1px);box-shadow:0 12px 28px -8px rgba(91,108,255,.7),inset 0 1px 0 rgba(255,255,255,.2)!important;filter:brightness(1.08)}.auth-glass-card .btn-primary:active{transform:translateY(0)}.auth-glass-card .auth-links{text-align:center;margin-top:20px;font-size:14px}.auth-glass-card .auth-links a{color:rgba(255,255,255,.85);text-decoration:none;font-weight:500;transition:color .2s ease}.auth-glass-card .auth-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}.auth-glass-card .privacy-notice{margin-top:28px!important;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:12px!important;color:rgba(255,255,255,.65)!important;text-align:center}.auth-glass-card .privacy-notice a{color:rgba(255,255,255,.85);text-decoration:none}.auth-glass-card .privacy-notice a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}.auth-glass-card .alert{border-radius:10px;padding:12px 14px;font-size:13px;margin-bottom:18px;border:1px solid transparent;display:flex;align-items:flex-start;gap:10px}.auth-glass-card .alert-danger{background:rgba(239,68,68,.18);border-color:rgba(239,68,68,.4);color:#fecaca}.auth-glass-card .alert-success{background:rgba(16,185,129,.18);border-color:rgba(16,185,129,.4);color:#a7f3d0}.auth-glass-footer{margin:0;color:rgba(255,255,255,.7);font-size:13px;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.2)}@media (max-width:480px){.auth-glass-card{padding:32px 24px;max-width:100%;border-radius:16px}.auth-glass-title{font-size:22px}.auth-glass-shell{padding:16px 12px}}.client-card,.dash-widget,.entity-card,.family-card,.user-card{min-width:0;overflow:hidden}.client-name,.dash-widget-row-title,.entity-card-title,.family-name,.info-card-title,.user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%}.client-email,.entity-card-info-row span,.info-value,.user-email{overflow-wrap:anywhere;word-break:break-word}.data-table td.cell-ellipsis,.table td.cell-ellipsis{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge,.request-type-badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}[title]:not([title=""]):hover{cursor:help}html[data-theme=dark]{--primary:#818cf8;--primary-dark:#6366f1;--primary-darker:#4f46e5;--primary-light:#a5b4fc;--primary-lighter:rgba(129, 140, 248, 0.15);--primary-rgb:129,140,248;--primary-gradient:linear-gradient(135deg, #6366f1 0%, #818cf8 100%);--primary-gradient-soft:linear-gradient(135deg, rgba(129, 140, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);--accent:#fb923c;--accent-dark:#f97316;--accent-light:rgba(251, 146, 60, 0.2);--accent-lighter:rgba(251, 146, 60, 0.1);--warning:#fbbf24;--warning-dark:#f59e0b;--warning-light:rgba(251, 191, 36, 0.2);--warning-lighter:rgba(251, 191, 36, 0.1);--danger:#f87171;--danger-dark:#ef4444;--danger-light:rgba(248, 113, 113, 0.2);--danger-lighter:rgba(248, 113, 113, 0.1);--info:#38bdf8;--info-dark:#0ea5e9;--info-light:rgba(56, 189, 248, 0.2);--info-lighter:rgba(56, 189, 248, 0.1);--success:#4ade80;--success-dark:#22c55e;--success-light:rgba(74, 222, 128, 0.2);--success-lighter:rgba(74, 222, 128, 0.1);--bg-body:#0a1525;--bg-white:#152135;--bg-gray:#0f1929;--bg-dark:#050b16;--bg-elevated:#152135;--bg-hover:#1d2c44;--bg-input:#0f1929;--bg-secondary:#1d2c44;--bg-sidebar:#0d1729;--bg-sidebar-active:rgba(129, 140, 248, 0.15);--bg-overlay:rgba(0, 0, 0, 0.7);--text-primary:#e2e8f0;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--text-faint:#64748b;--text-on-primary:#ffffff;--text-link:#a5b4fc;--border-color:#2a3a5a;--border-light:#1e2d47;--border-strong:#3d5174;--border-focus:#818cf8;--gray-50:#152135;--gray-100:#1d2c44;--gray-200:#2a3a5a;--gray-300:#3d5174;--gray-400:#6b7ba0;--gray-500:#8b97b9;--gray-600:#a5b0cc;--gray-700:#c2c9dc;--gray-800:#dfe3ed;--gray-900:#f1f3f9;--white:#152135;--shadow-xs:0 1px 2px 0 rgba(0, 0, 0, 0.4);--shadow-sm:0 1px 3px 0 rgba(0, 0, 0, 0.5);--shadow:0 4px 6px -1px rgba(0, 0, 0, 0.5);--shadow-md:0 10px 15px -3px rgba(0, 0, 0, 0.5);--shadow-lg:0 20px 25px -5px rgba(0, 0, 0, 0.6);--shadow-xl:0 25px 50px -12px rgba(0, 0, 0, 0.7);--shadow-primary:0 4px 14px 0 rgba(129, 140, 248, 0.4);color-scheme:dark}html[data-theme=dark] body{background:#0a1525!important;color:#e2e8f0!important}html[data-theme=dark] .app-main,html[data-theme=dark] .main-content,html[data-theme=dark] .page-content{background:#0a1525!important;color:#e2e8f0}html[data-theme=dark] .topbar{background:#152135!important;border-bottom-color:#2a3a5a!important;color:#e2e8f0}html[data-theme=dark] #globalSearch,html[data-theme=dark] .search-box input,html[data-theme=dark] .topbar input{background:#0f1929!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .search-box i{color:#94a3b8}html[data-theme=dark] .sidebar{background:#0d1729!important;border-right-color:#2a3a5a!important}html[data-theme=dark] .sidebar-header{background:#0d1729!important;border-bottom-color:#2a3a5a!important}html[data-theme=dark] .sidebar-logo{color:#e2e8f0!important}html[data-theme=dark] .sidebar-footer{border-top-color:#2a3a5a!important}html[data-theme=dark] .sidebar-footer .user-name{color:#e2e8f0!important}html[data-theme=dark] .sidebar-footer .user-role{color:#94a3b8!important}html[data-theme=dark] .nav-link{color:#cbd5e1!important}html[data-theme=dark] .nav-link:hover{background:#1d2c44!important;color:#e2e8f0!important}html[data-theme=dark] .nav-link.active{background:rgba(129,140,248,.15)!important;color:#a5b4fc!important}html[data-theme=dark] .nav-section{color:#64748b!important}html[data-theme=dark] .auth-card,html[data-theme=dark] .card,html[data-theme=dark] .chart-card,html[data-theme=dark] .client-header,html[data-theme=dark] .client-tasks-section,html[data-theme=dark] .dash-widget,html[data-theme=dark] .data-table-container,html[data-theme=dark] .entity-card,html[data-theme=dark] .family-card,html[data-theme=dark] .filter-bar,html[data-theme=dark] .form-section,html[data-theme=dark] .info-card,html[data-theme=dark] .kpi-card,html[data-theme=dark] .stat-card,html[data-theme=dark] .table-container,html[data-theme=dark] .user-card,html[data-theme=dark] .vac-card{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .stat-card{padding:24px}html[data-theme=dark] .kpi-value,html[data-theme=dark] .stat-card .stat-value,html[data-theme=dark] .stat-card-value,html[data-theme=dark] .stat-value{color:#f1f5f9!important}html[data-theme=dark] .kpi-label,html[data-theme=dark] .stat-card .stat-label,html[data-theme=dark] .stat-card-label,html[data-theme=dark] .stat-label{color:#94a3b8!important}html[data-theme=dark] .stats-row{background:0 0!important}html[data-theme=dark] .dash-widget{background:#152135!important;border-color:#2a3a5a!important}html[data-theme=dark] .dash-widget-header{background:#1d2c44!important;border-bottom-color:#2a3a5a!important}html[data-theme=dark] .dash-widget-title{color:#e2e8f0!important}html[data-theme=dark] .dash-widget-body{background:#152135!important}html[data-theme=dark] .dash-widget-row{color:#e2e8f0!important}html[data-theme=dark] .dash-widget-row:hover{background:#1d2c44!important}html[data-theme=dark] .dash-widget-row-title{color:#e2e8f0!important}html[data-theme=dark] .dash-widget-row-sub{color:#94a3b8!important}html[data-theme=dark] .dash-widget-empty{color:#94a3b8!important}html[data-theme=dark] .dash-widget-count,html[data-theme=dark] .dwc-info,html[data-theme=dark] .dwc-primary,html[data-theme=dark] .dwc-success,html[data-theme=dark] .dwc-warning{background:rgba(129,140,248,.15)!important;color:#a5b4fc!important}html[data-theme=dark] .dwc-warning{background:rgba(251,191,36,.15)!important;color:#fbbf24!important}html[data-theme=dark] .dwc-success,html[data-theme=dark] .dwp-success{background:rgba(74,222,128,.15)!important;color:#4ade80!important}html[data-theme=dark] .dwc-info{background:rgba(56,189,248,.15)!important;color:#38bdf8!important}html[data-theme=dark] .dash-widget-row-pill,html[data-theme=dark] .dwp-success{background:rgba(74,222,128,.15)!important;color:#4ade80!important}html[data-theme=dark] .dash-widget-btn{background:0 0!important;color:#94a3b8!important}html[data-theme=dark] .dash-widget-btn:hover{background:#1d2c44!important;color:#e2e8f0!important}html[data-theme=dark] .dash-type-bar{background:#2a3a5a!important}html[data-theme=dark] .dash-type-stat strong{color:#f1f5f9!important}html[data-theme=dark] .dash-type-stat span{color:#94a3b8!important}html[data-theme=dark] .filter-bar{background:#152135!important;border-color:#2a3a5a!important}html[data-theme=dark] .filter-group label{color:#94a3b8!important}html[data-theme=dark] .filter-group input,html[data-theme=dark] .filter-group select{background:#0f1929!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .data-table,html[data-theme=dark] .table{background:#152135!important;color:#e2e8f0!important}html[data-theme=dark] .data-table th,html[data-theme=dark] .table th{background:#0f1929!important;color:#94a3b8!important;border-bottom-color:#2a3a5a!important}html[data-theme=dark] .data-table td,html[data-theme=dark] .table td{color:#e2e8f0!important;border-bottom-color:#1e2d47!important;background:0 0!important}html[data-theme=dark] .data-table tbody tr:hover,html[data-theme=dark] .table tbody tr:hover td{background:#1d2c44!important}html[data-theme=dark] .client-name,html[data-theme=dark] .data-table .client-name{color:#e2e8f0!important}html[data-theme=dark] .data-table .client-name strong{color:#f1f5f9!important}html[data-theme=dark] .pagination-btn{background:#152135!important;border-color:#2a3a5a!important;color:#cbd5e1!important}html[data-theme=dark] .pagination-btn:hover{background:#1d2c44!important;border-color:#3d5174!important}html[data-theme=dark] .pagination-btn.active{background:#818cf8!important;border-color:#818cf8!important;color:#fff!important}html[data-theme=dark] .pagination-input{background:#0f1929!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .pagination-info{color:#94a3b8!important}html[data-theme=dark] .form-control,html[data-theme=dark] input[type=date],html[data-theme=dark] input[type=email],html[data-theme=dark] input[type=number],html[data-theme=dark] input[type=password],html[data-theme=dark] input[type=search],html[data-theme=dark] input[type=tel],html[data-theme=dark] input[type=text],html[data-theme=dark] input[type=url],html[data-theme=dark] select,html[data-theme=dark] textarea{background:#0f1929!important;color:#e2e8f0!important;border-color:#2a3a5a!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#64748b!important}html[data-theme=dark] .form-label,html[data-theme=dark] label{color:#cbd5e1}html[data-theme=dark] .form-help,html[data-theme=dark] .form-text,html[data-theme=dark] small.text-muted{color:#94a3b8!important}html[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator,html[data-theme=dark] input[type=time]::-webkit-calendar-picker-indicator{filter:invert(.85)}html[data-theme=dark] .btn-secondary{background:#1d2c44!important;color:#e2e8f0!important;border-color:#3d5174!important}html[data-theme=dark] .btn-secondary:hover{background:#2a3a5a!important;border-color:#818cf8!important;color:#a5b4fc!important}html[data-theme=dark] .btn-outline{background:0 0!important;color:#a5b4fc!important;border-color:#818cf8!important}html[data-theme=dark] .btn-outline:hover{background:#818cf8!important;color:#fff!important}html[data-theme=dark] .btn-ghost{color:#cbd5e1!important}html[data-theme=dark] .btn-ghost:hover{background:#1d2c44!important;color:#e2e8f0!important}html[data-theme=dark] .dropdown-menu,html[data-theme=dark] .modal-box,html[data-theme=dark] .modal-content,html[data-theme=dark] .notif-menu,html[data-theme=dark] .theme-switcher-menu{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .dropdown-item{color:#cbd5e1!important}html[data-theme=dark] .dropdown-item:hover{background:#1d2c44!important;color:#e2e8f0!important}html[data-theme=dark] .dropdown-divider{background:#2a3a5a!important}html[data-theme=dark] .notif-bell{background:0 0!important;border-color:#2a3a5a!important;color:#cbd5e1!important}html[data-theme=dark] .notif-bell:hover{background:#1d2c44!important;color:#a5b4fc!important}html[data-theme=dark] .notif-header{border-bottom-color:#1e2d47!important}html[data-theme=dark] .notif-header h4{color:#e2e8f0!important}html[data-theme=dark] .notif-item{color:#e2e8f0}html[data-theme=dark] .notif-item:hover{background:#1d2c44!important}html[data-theme=dark] .notif-item.unread{background:rgba(129,140,248,.08)!important}html[data-theme=dark] .notif-title{color:#e2e8f0!important}html[data-theme=dark] .notif-message{color:#94a3b8!important}html[data-theme=dark] .notif-time{color:#64748b!important}html[data-theme=dark] .alert-info{background:rgba(56,189,248,.1)!important;color:#38bdf8!important;border-left-color:#38bdf8!important}html[data-theme=dark] .alert-success{background:rgba(74,222,128,.1)!important;color:#4ade80!important;border-left-color:#4ade80!important}html[data-theme=dark] .alert-warning{background:rgba(251,191,36,.1)!important;color:#fbbf24!important;border-left-color:#fbbf24!important}html[data-theme=dark] .alert-danger{background:rgba(248,113,113,.1)!important;color:#f87171!important;border-left-color:#f87171!important}html[data-theme=dark] .board-card,html[data-theme=dark] .kanban-card,html[data-theme=dark] .kanban-col{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .kanban-col-body{background:#0f1929!important}html[data-theme=dark] .board-card-title{color:#e2e8f0!important}html[data-theme=dark] .board-card-desc,html[data-theme=dark] .board-card-meta{color:#94a3b8!important}html[data-theme=dark] .board-card.add-new{background:0 0!important;border:2px dashed #3d5174!important;color:#94a3b8!important}html[data-theme=dark] .board-card.add-new:hover{background:rgba(129,140,248,.08)!important;border-color:#818cf8!important;color:#a5b4fc!important}html[data-theme=dark] .progress-section{background:#1d2c44!important}html[data-theme=dark] .progress-bar-large,html[data-theme=dark] .progress-bar-mini{background:#2a3a5a!important}html[data-theme=dark] .client-tabs,html[data-theme=dark] .tabs-bar,html[data-theme=dark] .task-tabs{background:#152135!important;border-bottom-color:#2a3a5a!important}html[data-theme=dark] .client-tab,html[data-theme=dark] .tab-link,html[data-theme=dark] .task-tab{color:#94a3b8!important}html[data-theme=dark] .client-tab:hover,html[data-theme=dark] .tab-link:hover,html[data-theme=dark] .task-tab:hover{color:#e2e8f0!important}html[data-theme=dark] .client-tab.active,html[data-theme=dark] .tab-link.active,html[data-theme=dark] .task-tab.active{color:#a5b4fc!important}html[data-theme=dark] .client-tab-count{color:#64748b!important}html[data-theme=dark] .info-row{border-bottom-color:#1e2d47!important}html[data-theme=dark] .info-icon{background:#1d2c44!important;color:#94a3b8!important}html[data-theme=dark] .info-label{color:#94a3b8!important}html[data-theme=dark] .info-value{color:#e2e8f0!important}html[data-theme=dark] .info-card-header{border-bottom-color:#1e2d47!important}html[data-theme=dark] .info-card-title{color:#e2e8f0!important}html[data-theme=dark] .document-item{background:#1d2c44!important}html[data-theme=dark] .document-name{color:#e2e8f0!important}html[data-theme=dark] .document-date{color:#94a3b8!important}html[data-theme=dark] .badge-primary{background:rgba(129,140,248,.18)!important;color:#a5b4fc!important}html[data-theme=dark] .badge-success{background:rgba(74,222,128,.15)!important;color:#4ade80!important}html[data-theme=dark] .badge-warning{background:rgba(251,191,36,.15)!important;color:#fbbf24!important}html[data-theme=dark] .badge-danger{background:rgba(248,113,113,.15)!important;color:#f87171!important}html[data-theme=dark] .badge-info{background:rgba(56,189,248,.15)!important;color:#38bdf8!important}html[data-theme=dark] .badge-gray,html[data-theme=dark] .badge-secondary{background:#1d2c44!important;color:#cbd5e1!important}html[data-theme=dark] .text-muted{color:#94a3b8!important}html[data-theme=dark] .text-danger{color:#f87171!important}html[data-theme=dark] .text-success{color:#4ade80!important}html[data-theme=dark] .text-warning{color:#fbbf24!important}html[data-theme=dark] .page-header h1,html[data-theme=dark] .page-header h2,html[data-theme=dark] .page-title,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:#f1f5f9!important}html[data-theme=dark] .page-subtitle{color:#94a3b8!important}html[data-theme=dark] code,html[data-theme=dark] pre{background:#0f1929!important;color:#e2e8f0!important;border-color:#2a3a5a!important}html[data-theme=dark] .toast-stack .toast{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .toast-title{color:#e2e8f0!important}html[data-theme=dark] .toast-message{color:#cbd5e1!important}html[data-theme=dark] .chat-list-panel,html[data-theme=dark] .chat-window{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .chat-window-body{background:#0f1929!important}html[data-theme=dark] .chat-message.from-other{background:#1d2c44!important;color:#e2e8f0!important;border-color:#2a3a5a!important}html[data-theme=dark] .chat-list-item:hover{background:#1d2c44!important}html[data-theme=dark] .chat-list-item-name{color:#e2e8f0!important}html[data-theme=dark] .chat-list-item-last{color:#94a3b8!important}html[data-theme=dark] .chat-list-search input,html[data-theme=dark] .chat-window-input textarea{background:#0f1929!important;color:#e2e8f0!important;border-color:#2a3a5a!important}html[data-theme=dark] .vac-status-pill{background:#152135!important;border-color:#2a3a5a!important;color:#cbd5e1!important}html[data-theme=dark] .vac-status-pill.active{background:rgba(74,222,128,.1)!important;border-color:rgba(74,222,128,.3)!important;color:#4ade80!important}html[data-theme=dark] .vac-status-pill.scheduled{background:rgba(251,191,36,.1)!important;border-color:rgba(251,191,36,.3)!important;color:#fbbf24!important}html[data-theme=dark] .vac-master-toggle{background:#1d2c44!important}html[data-theme=dark] .vac-preview-card{background:#1d2c44!important}html[data-theme=dark] .vac-footer{background:#1d2c44!important}html[data-theme=dark] .vac-section-label{color:#94a3b8!important}html[data-theme=dark] .vac-section-desc{color:#94a3b8!important}html[data-theme=dark] .vti-icon{background:rgba(129,140,248,.15)!important;color:#a5b4fc!important}html[data-theme=dark] .auth-card{background:#152135!important;border-color:#2a3a5a!important}html[data-theme=dark] .auth-title{color:#f1f5f9!important}html[data-theme=dark] .auth-subtitle{color:#94a3b8!important}html[data-theme=dark] .theme-switcher-toggle{background:0 0!important;border-color:#2a3a5a!important;color:#cbd5e1!important}html[data-theme=dark] .theme-switcher-toggle:hover{background:#1d2c44!important;color:#a5b4fc!important;border-color:#818cf8!important}html[data-theme=dark] .theme-option{background:#152135!important;border-color:#2a3a5a!important;color:#e2e8f0!important}html[data-theme=dark] .theme-option:hover{border-color:#818cf8!important}html[data-theme=dark] .theme-option.active{background:rgba(129,140,248,.1)!important;border-color:#818cf8!important}html[data-theme=dark] .people-sidebar{background:#152135!important;border-left-color:#2a3a5a!important}html[data-theme=dark] .people-sidebar-section{background:#1d2c44!important;color:#94a3b8!important;border-top-color:#1e2d47!important;border-bottom-color:#1e2d47!important}html[data-theme=dark] .people-item:hover{background:#1d2c44!important}html[data-theme=dark] .people-item-name{color:#e2e8f0!important}html[data-theme=dark] .people-item-status{color:#94a3b8!important}html[data-theme=dark] hr{border-color:#2a3a5a!important}html[data-theme=dark] .bg-gray-100,html[data-theme=dark] .bg-gray-50,html[data-theme=dark] .bg-white{background:#152135!important}html[data-theme=dark] .border,html[data-theme=dark] .border-gray-200,html[data-theme=dark] .border-gray-300{border-color:#2a3a5a!important}html[data-theme=dark] a{color:#a5b4fc}html[data-theme=dark] a:hover{color:#c7d2fe}html[data-theme=dark] ::-webkit-scrollbar{background:#0a1525}html[data-theme=dark] ::-webkit-scrollbar-track{background:#0a1525}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#2a3a5a;border-radius:4px}html[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#3d5174}.topbar .search-box{width:320px;max-width:100%;position:relative}.topbar .search-box i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-muted,#94a3b8);pointer-events:none;font-size:13px;z-index:1}.topbar .search-box #globalSearch,.topbar .search-box input,.topbar .search-box input[type=text]{width:100%;height:38px;padding:8px 14px 8px 40px!important;border:1px solid var(--border-color,#e2e8f0);border-radius:999px;background:var(--bg-input,#f8fafc);font-size:13.5px;transition:all .18s cubic-bezier(.4, 0, .2, 1)}.topbar .search-box input:focus{outline:0;border-color:var(--primary,#4f46e5);background:var(--bg-elevated,#fff);box-shadow:0 0 0 3px rgba(79,70,229,.12)}.topbar .search-box input::placeholder{color:var(--text-muted,#94a3b8)}.settings-form .form-control,.settings-form input,.settings-form select,.settings-form textarea,form.client-edit-form .form-control,form.client-edit-form input,form.client-edit-form select,form.client-edit-form textarea{max-width:100%;height:auto;padding:9px 12px;font-size:13.5px}.settings-form .form-grid,.settings-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-form .form-grid-3col{grid-template-columns:1fr 1fr 1fr}.settings-form .form-grid-full{grid-column:1/-1}.settings-form .form-group{margin-bottom:12px}.settings-form .form-label,.settings-form label{font-size:12px;font-weight:600;color:var(--text-secondary,#475569);margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}.settings-form .card,form.client-edit-form .card{max-width:980px;margin-left:auto;margin-right:auto}@media (max-width:720px){.settings-form .form-grid,.settings-form .form-grid-3col,.settings-form .form-row{grid-template-columns:1fr}}.settings-card{background:var(--bg-elevated,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:12px;padding:22px 24px;box-shadow:0 1px 2px rgba(15,23,42,.04);margin-bottom:20px}.settings-card-header{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-light,#f1f5f9)}.settings-card-title{font-size:15px;font-weight:600;color:var(--text-primary,#0f172a);margin:0}.alert.alert-dismissible{position:relative;padding-right:44px}.alert .alert-dismiss{position:absolute;top:50%;right:12px;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;border:none;background:rgba(0,0,0,.06);color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:11px;opacity:.65;transition:all .15s ease}.alert .alert-dismiss:hover{opacity:1;background:rgba(0,0,0,.12)}html[data-theme=dark] .alert .alert-dismiss{background:rgba(255,255,255,.1)}html[data-theme=dark] .alert .alert-dismiss:hover{background:rgba(255,255,255,.18)}.vacation-page,.vacation-wrapper{max-width:640px;margin:40px auto;padding:0 20px}.vacation-card{background:var(--bg-elevated,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:14px;padding:32px;box-shadow:0 1px 3px rgba(15,23,42,.06)}.vacation-icon{width:64px;height:64px;margin:0 auto 16px;background:linear-gradient(135deg,#f59e0b 0,#fb923c 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;box-shadow:0 6px 14px rgba(245,158,11,.35)}.vacation-title{text-align:center;font-size:22px;font-weight:700;margin:0 0 8px;color:var(--text-primary,#0f172a)}.vacation-subtitle{text-align:center;font-size:14px;color:var(--text-muted,#64748b);margin:0 0 24px}.lang-simple-list{max-width:520px;margin:24px auto;background:var(--bg-elevated,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:12px;overflow:hidden}.lang-simple-item{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--border-light,#f1f5f9);cursor:pointer;transition:background .15s ease;text-decoration:none;color:inherit}.lang-simple-item:last-child{border-bottom:none}.lang-simple-item:hover{background:var(--bg-hover,#f8fafc)}.lang-simple-item.is-active{background:var(--primary-lighter,#eef2ff)}.lang-simple-flag{font-size:26px;flex-shrink:0}.lang-simple-info{flex:1}.lang-simple-name{font-size:15px;font-weight:600;color:var(--text-primary,#0f172a)}.lang-simple-native{font-size:12px;color:var(--text-muted,#64748b);margin-top:2px}.lang-simple-check{color:var(--primary,#4f46e5);font-size:18px;opacity:0}.lang-simple-item.is-active .lang-simple-check{opacity:1}html[data-theme=dark] .lang-simple-item.is-active{background:rgba(129,140,248,.12)}.settings-form .card,form.client-edit-form,form.client-edit-form .card,form.settings-form{max-width:880px!important;margin-left:auto!important;margin-right:auto!important}form.client-edit-form input[type=date],form.client-edit-form input[type=email],form.client-edit-form input[type=number],form.client-edit-form input[type=tel],form.client-edit-form input[type=text],form.client-edit-form select,form.client-edit-form textarea{max-width:100%;padding:8px 12px!important;font-size:13.5px!important;height:38px}form.client-edit-form textarea{height:auto;min-height:70px}.refs-toolbar-search input,.refs-toolbar-search input[type=search]{background-image:none!important;padding-left:40px!important}.refs-toolbar-search{position:relative!important}.refs-toolbar-search>i.fas{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;color:var(--text-muted,#94a3b8)!important;font-size:14px!important;pointer-events:none!important;z-index:2!important}.refs-toolbar-search input[type=search]::-webkit-search-cancel-button,.refs-toolbar-search input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.stat-card.stat-card-clickable,a.stat-card{cursor:pointer;transition:all .2s cubic-bezier(.4, 0, .2, 1);text-decoration:none;color:inherit;position:relative;display:flex!important;align-items:center;gap:16px}.stat-card.stat-card-clickable:hover,a.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md,0 10px 15px -3px rgba(15,23,42,.08));border-color:var(--primary-light,#a5b4fc)}.stat-card-clickable .stat-arrow{margin-left:auto;color:var(--text-muted,#94a3b8);opacity:0;transform:translateX(-4px);transition:all .2s ease}.stat-card-clickable:hover .stat-arrow{opacity:1;transform:translateX(0);color:var(--primary,#4f46e5)}.chat-input-area textarea,.chat-window-input textarea,textarea.chat-input{overflow:hidden!important;overflow-y:hidden!important;resize:none!important}.chat-window-input textarea[data-needs-scroll="1"],textarea.chat-input[data-needs-scroll="1"]{overflow-y:auto!important}.chat-window-input textarea::-webkit-scrollbar{width:3px!important}.chat-window-input textarea::-webkit-scrollbar-thumb{background:var(--border-color,#e2e8f0)!important;border-radius:2px!important}.chat-window-input textarea::-webkit-scrollbar-track{background:0 0!important}body,html{overflow-x:hidden}body{min-height:100vh;overflow-y:auto}.app-body,.main-content{min-height:100vh;overflow:visible}.page-content{overflow:visible}.tab-content{overflow:visible!important;max-height:none!important}@media (min-width:1601px){.page-content{max-width:1500px;margin-left:auto;margin-right:auto}}@media (max-width:1280px){body.has-people-sidebar .app-main,body.has-people-sidebar .main-content{margin-right:0!important}.settings-form .form-grid{gap:12px}}@media (max-width:900px){.sidebar:not(.mobile-open){transform:translateX(-100%)}.app-main,.main-content{margin-left:0!important}.sidebar-toggle-mobile{display:inline-flex!important}.people-sidebar,.people-sidebar-toggle{display:none!important}.stats-grid,.stats-row{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}.data-table td,.data-table th,.table td,.table th{padding:10px 8px!important;font-size:13px!important}.settings-form .form-grid,.settings-form .form-grid-3col,form.client-edit-form .form-grid{grid-template-columns:1fr!important}.card-body{padding:16px!important}.card-header{padding:12px 16px!important}.page-header{flex-direction:column;align-items:stretch!important;gap:12px}.page-actions{width:100%;flex-wrap:wrap}.modal,.modal-box,.modal-content{width:95%!important;max-width:95%!important}}@media (max-width:640px){.page-content{padding:12px 12px!important}.stats-grid,.stats-row{grid-template-columns:1fr!important}.page-actions .btn,.page-actions a.btn{width:100%!important;justify-content:center}.topbar{padding:0 12px!important}.topbar-right .topbar-btn{width:36px;height:36px;padding:0}.user-btn .user-name,.user-name-sm{display:none!important}.client-tabs,.tabs,.tabs-bar,.task-tabs{overflow-x:auto;overflow-y:hidden;white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:2px}.client-tab,.tab-btn,.tab-link,.task-tab{padding:10px 14px!important;font-size:13px!important;flex-shrink:0!important}.page-title{font-size:22px!important}.form-control,input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],select,textarea{font-size:16px!important;padding:10px 12px!important}.data-table-container,.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.modal,.modal-box,.modal-content,.modal-dialog{width:100%!important;max-width:100%!important;max-height:100vh!important;margin:0!important;border-radius:0!important}.modal-body{padding:16px!important}.chat-dock{right:8px!important;bottom:0}.ai-launcher,.chat-launcher{width:48px!important;height:48px!important}.toast-stack{right:8px!important;left:8px!important;top:60px!important}.toast-stack .toast{min-width:0!important;max-width:100%!important}}@media (max-width:480px){.page-content{padding:10px 8px!important}.card-body{padding:14px 12px!important}.card-header{padding:10px 12px!important}.card-footer,.page-actions{flex-direction:column!important;align-items:stretch!important}.card-footer>*,.page-actions>*{width:100%}.page-title{font-size:20px!important}.card-title{font-size:14px!important}.stat-card{padding:14px!important;gap:12px!important}.kpi-value,.stat-card-value,.stat-value{font-size:20px!important}.kpi-icon,.stat-card-icon,.stat-icon{width:36px!important;height:36px!important;font-size:14px!important}.sidebar{width:100%!important;max-width:280px}.topbar{padding:0 8px 0 56px!important;height:56px!important}.ai-window,.chat-list-panel,.chat-window{width:100vw!important;height:80vh!important;left:0!important;right:0!important;border-radius:16px 16px 0 0!important}.hide-mobile,.hide-on-mobile{display:none!important}}@media (min-width:1281px){.settings-form,.settings-form .card,form.client-edit-form,form.client-edit-form .card{max-width:920px!important}}.data-table-container,.table-container,table{max-width:100%}@media (max-width:900px){table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}}.modal-box,.modal-content,.modal-dialog{max-width:min(600px,calc(100vw - 32px));width:100%}img,video{max-width:100%;height:auto}.message-body,.note-content,.recent-title,.user-email{overflow-wrap:anywhere;word-break:break-word}.workflow-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px}@media (max-width:1024px){.workflow-layout{grid-template-columns:1fr;gap:16px}}.client-header-top{flex-wrap:wrap;gap:12px}.client-header-top .page-actions{flex-wrap:wrap;width:auto}.client-header-top .page-actions .btn,.client-header-top .page-actions a.btn{flex:0 0 auto!important;width:auto!important}.page-actions{flex-wrap:wrap!important;width:auto!important}.page-actions .btn,.page-actions a.btn{flex:0 0 auto!important;width:auto!important;max-width:100%}@media (max-width:640px){.page-actions{width:100%!important;flex-direction:column!important;align-items:stretch!important}.page-actions .btn,.page-actions a.btn{width:100%!important;justify-content:center}.page-actions .btn-ghost,.page-actions .btn-sm{width:auto!important;flex:0 0 auto!important}.badge-outcome{flex:0 0 auto}}@media (max-width:768px){.client-header,.client-header-top{flex-direction:column;align-items:flex-start!important;gap:12px}.client-title-section{width:100%}.client-title-section h1{font-size:22px!important;flex-wrap:wrap}.client-number{font-size:14px!important}}@media (max-width:768px){.client-tabs{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;white-space:nowrap;-webkit-overflow-scrolling:touch;margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.client-tab{flex-shrink:0!important;padding:12px 14px!important;font-size:13px!important}}.info-card,.stage-card{min-width:0;overflow:hidden}.info-card *,.stage-card *{min-width:0}.document-item,.entity-card,.info-card,.note-card,.recent-item,.stage-card{overflow-wrap:anywhere;word-break:break-word}.info-card code,.info-card pre,.stage-card code,.stage-card pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all}.info-card input,.info-card textarea,.stage-card input,.stage-card textarea{max-width:100%;box-sizing:border-box}.copyable-url,.portal-link-display,input[readonly][value*=http]{word-break:break-all;overflow-wrap:anywhere;max-width:100%}.docs-status-summary,.document-status-banner{flex-wrap:wrap!important}@media (max-width:640px){.chat-dock{right:0!important;bottom:0!important;left:0!important;width:100%!important;justify-content:flex-end;padding-right:8px;flex-wrap:wrap}.ai-launcher,.chat-launcher{margin-bottom:8px!important}.ai-window.open,.chat-list-panel.open,.chat-window.open,.chat-window:not(.minimized){position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100vh!important;max-height:100vh!important;border-radius:0!important;margin:0!important;z-index:9999!important}.ai-window-header,.chat-list-header,.chat-window-header{position:sticky;top:0;z-index:10}.ai-window-input,.chat-window-input{position:sticky;bottom:0;padding-bottom:max(10px,env(safe-area-inset-bottom))}}.notif-menu{max-height:min(600px,calc(100vh - 80px))!important;display:flex!important;flex-direction:column!important}.notif-menu .notif-footer,.notif-menu .notif-header,.notif-menu .notif-tabs{flex-shrink:0}.notif-menu #notificationsList,.notif-menu .notif-body{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;max-height:100%;min-height:0;-webkit-overflow-scrolling:touch}.notif-menu #notificationsList::-webkit-scrollbar,.notif-menu .notif-body::-webkit-scrollbar{width:6px}.notif-menu #notificationsList::-webkit-scrollbar-thumb,.notif-menu .notif-body::-webkit-scrollbar-thumb{background:var(--border-color,#e2e8f0);border-radius:3px}.notif-menu #notificationsList::-webkit-scrollbar-track,.notif-menu .notif-body::-webkit-scrollbar-track{background:0 0}@media (min-width:1601px){.page-content{max-width:1600px!important;margin-left:auto;margin-right:auto}}.page-content{padding:24px 28px}@media (min-width:1281px){.page-content{padding:28px 36px}}.card,.dashboard-card,.info-card{padding-top:0}.card-body{padding:20px 24px}.card-header{padding:16px 24px}.client-tabs,.tabs-bar,.task-tabs{min-height:50px;align-items:stretch}.client-tab,.tab-btn,.tab-link,.task-tab{padding:14px 20px;font-size:14px}.stat-card{padding:22px 24px!important;min-height:100px}.stat-card-value,.stat-value{font-size:28px}.page-actions .btn,.page-header .btn{min-height:40px}html{overflow-y:auto}body{overflow-x:hidden;overflow-y:auto}.app-body{min-height:100vh}.main-content{min-height:100vh;overflow:visible}.page-content{overflow:visible;min-height:0}.tab-content,.tab-pane{overflow:visible;min-height:0}@media (min-width:1281px) and (max-width:1600px){.stats-row{gap:18px}.page-title{font-size:28px}}.main-content{display:flex;flex-direction:column}.page-content{flex:1 1 auto}.page-content{max-width:none!important;width:auto;padding:24px 28px;margin-left:0;margin-right:0}@media (min-width:1281px){.page-content{padding:28px 40px}}@media (min-width:1601px){.page-content{padding:32px 48px;max-width:none!important}}@media (min-width:1921px){.page-content{padding:36px 64px}}.page-content>.card,.page-content>.info-card,.page-content>section>.card{width:100%;max-width:none}.stats-grid,.stats-row{width:100%}.data-table,.table{width:100%}.client-edit-form,.settings-form,form.client-edit-form,form.entity-form,form.lead-form,form.settings-form,form.user-form{max-width:920px!important;width:100%}.client-edit-form>.card,.settings-form>.card,form.client-edit-form .card,form.settings-form .card{max-width:920px!important;width:100%}form.client-edit-form,form.settings-form{margin-left:auto;margin-right:auto}.dashboard-grid,.dashboard-row,.kanban-board,.kanban-columns,.kanban-wrapper{width:100%;max-width:none}.page-header{width:100%;max-width:none}.data-table-card,.list-card,.task-list-card,.tasks-container{width:100%}.tab-content{width:100%}.tab-content form.settings-form,.tab-content>form.settings-form{max-width:920px;margin:0 auto}.modal-box,.modal-content,.modal-dialog{max-width:min(640px,calc(100vw - 32px))!important}.modal-content.modal-lg,.modal-dialog.modal-lg{max-width:min(900px,calc(100vw - 32px))!important}.contact-fieldset{border:1px solid var(--border-color,#e8e7e2);border-radius:10px;padding:16px 18px 14px;background:var(--bg-subtle,#fafaf8)}.contact-legend{font-size:13.5px;font-weight:600;padding:0 8px;color:var(--text-primary,#18181b);display:flex;align-items:center;gap:6px}.contact-fieldset .form-row{margin-bottom:4px}.official-dates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.official-date-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border-color,#e8e7e2);border-radius:10px;background:var(--bg-subtle,#fafaf8)}.official-date-item.official-date-expired{border-color:rgba(220,38,38,.35);background:rgba(220,38,38,.04)}.official-date-item.official-date-soon{border-color:rgba(217,119,6,.35);background:rgba(217,119,6,.04)}.official-date-icon{font-size:22px;flex-shrink:0;width:28px;text-align:center}.official-date-info{min-width:0}.official-date-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#6b7280)}.official-date-value{font-size:15px;font-weight:600;color:var(--text-primary,#18181b);margin-top:2px}.official-date-value.official-date-muted{font-size:13px;font-weight:400;color:var(--text-muted,#9ca3af)}.official-date-badge{font-size:11.5px;font-weight:600;margin-top:1px}.assignee-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.assignee-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;background:var(--bg-secondary,#f1f1ef);border:1px solid var(--border-light,#e2e2dd);border-radius:999px;font-size:12px;font-weight:500;color:var(--text-primary,#2a2a28)}.assignee-chip-lead{background:#fef3c7;border-color:#fcd34d;color:#92400e}.assignee-chip-lead .fa-star{font-size:10px;color:#d97706}.btn-link-sm{background:0 0;border:none;cursor:pointer;color:var(--text-muted,#6b7280);font-size:12px;padding:2px 6px;border-radius:4px;transition:background .15s,color .15s}.btn-link-sm:hover{background:var(--bg-secondary,#f1f1ef);color:var(--text-primary,#2a2a28)}.btn-link-sm.danger:hover{background:#fee2e2;color:#b91c1c}.assignee-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--border-light,#e2e2dd);border-radius:8px;margin-bottom:8px}.assignee-row-info{display:flex;flex-direction:column;gap:2px}.assignee-row-name{font-size:13.5px;font-weight:600;color:var(--text-primary,#2a2a28)}.assignee-row-role{font-size:11.5px;color:var(--text-muted,#6b7280)}.assignee-row-actions{display:flex;gap:4px}.chat-list-item{position:relative}.chat-conv-delete{position:absolute;right:10px;bottom:8px;width:26px;height:26px;border:none;background:0 0;color:var(--text-faint);border-radius:var(--radius-sm);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:12px;opacity:0;transition:opacity .15s ease,background .15s ease,color .15s ease}.chat-list-item:hover .chat-conv-delete{opacity:1}.chat-conv-delete:hover{background:var(--danger-lighter);color:var(--danger)}.chat-confirm-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:4000;padding:20px;animation:chatConfirmFade .16s ease}@keyframes chatConfirmFade{from{opacity:0}to{opacity:1}}.chat-confirm-box{background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);width:100%;max-width:380px;padding:26px 24px 20px;text-align:center;animation:chatConfirmRise .2s cubic-bezier(.22,1,.36,1)}@keyframes chatConfirmRise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.chat-confirm-icon{width:48px;height:48px;margin:0 auto 14px;border-radius:50%;background:var(--danger-lighter);color:var(--danger);display:flex;align-items:center;justify-content:center;font-size:19px}.chat-confirm-title{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 6px}.chat-confirm-body{font-size:13px;color:var(--text-muted);line-height:1.55;margin:0 0 10px}.chat-confirm-target{font-size:13px;font-weight:600;color:var(--text-primary);background:var(--bg-gray);border-radius:var(--radius);padding:7px 12px;margin:0 0 14px;word-break:break-word}.chat-confirm-check{display:flex;align-items:center;gap:9px;justify-content:center;font-size:12.5px;color:var(--text-secondary);cursor:pointer;margin-bottom:18px;user-select:none}.chat-confirm-check input{width:16px;height:16px;cursor:pointer;accent-color:var(--primary);flex-shrink:0}.chat-confirm-actions{display:flex;gap:10px}.chat-confirm-btn{flex:1;height:40px;border-radius:var(--radius);font-size:13.5px;font-weight:600;cursor:pointer;transition:var(--transition-fast);border:1px solid transparent}.chat-confirm-btn.cancel{background:var(--bg-elevated);border-color:var(--border-strong);color:var(--text-primary)}.chat-confirm-btn.cancel:hover{background:var(--bg-hover)}.chat-confirm-btn.danger{background:linear-gradient(135deg,var(--danger-dark) 0,var(--danger) 100%);color:#fff;box-shadow:0 4px 14px 0 rgba(239,68,68,.28)}.chat-confirm-btn.danger:hover{transform:translateY(-1px);filter:brightness(1.05)}.notif-action-btn.is-muted{color:var(--text-faint)}.extfold-panel{background:#fbfaf8;border:1px solid #e3e1da;border-left:3px solid #2563a8;border-radius:8px;padding:14px 16px;margin:14px 0}.extfold-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.extfold-header h3{font-size:14px;font-weight:700;margin:0;color:#1c2b46;display:flex;align-items:center;gap:8px}.extfold-header .btn-icon{background:0 0;border:1px solid #e3e1da;width:30px;height:30px;border-radius:5px;cursor:pointer;color:#5d6678;transition:all .15s}.extfold-header .btn-icon:hover{background:#fff;color:#2563a8;border-color:#2563a8}.extfold-state{padding:10px 12px;font-size:13px;color:#5d6678;display:flex;align-items:center;gap:9px;margin-bottom:10px;border-radius:5px}.extfold-state-warn{background:#fdf6e7;color:#8a6510}.extfold-state-empty{background:#fff;border:1px dashed #d4d2cc}.extfold-info{font-size:13px;line-height:1.6}.extfold-name{display:flex;align-items:center;gap:8px;margin-bottom:4px}.extfold-path{color:#5d6678;font-family:'SF Mono',Consolas,monospace;font-size:11.5px;margin-bottom:6px;word-break:break-all}.extfold-meta{color:#939aab;font-size:11.5px;margin-top:4px;display:flex;align-items:center;gap:6px}.extfold-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #e3e1da}.extfold-btn-configure{margin-top:6px}.extfold-modal-overlay{position:fixed;inset:0;background:rgba(20,31,51,.5);z-index:9000;display:flex;align-items:center;justify-content:center;padding:20px}.extfold-modal{background:#fff;border-radius:10px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}.extfold-modal-header{padding:18px 22px;border-bottom:1px solid #e3e1da;display:flex;align-items:center;justify-content:space-between}.extfold-modal-header h3{margin:0;font-size:16px;font-weight:700;color:#1c2b46}.extfold-modal-close{background:0 0;border:none;cursor:pointer;font-size:20px;color:#5d6678;line-height:1}.extfold-modal-body{padding:20px 22px}.extfold-modal-footer{padding:14px 22px;border-top:1px solid #e3e1da;display:flex;justify-content:flex-end;gap:8px;background:#fbfaf8;border-radius:0 0 10px 10px}.extfold-mode-tabs{display:flex;gap:8px;margin-bottom:18px}.extfold-mode-tab{flex:1;padding:12px;border:1px solid #e3e1da;border-radius:6px;background:#fbfaf8;cursor:pointer;text-align:center;font-size:13px;transition:all .15s}.extfold-mode-tab.active{background:#1c2b46;color:#fff;border-color:#1c2b46}.extfold-mode-tab i{display:block;font-size:18px;margin-bottom:4px}.extfold-mode-pane{display:none}.extfold-mode-pane.active{display:block}.extfold-field{margin-bottom:14px}.extfold-field label{display:block;font-size:12.5px;font-weight:600;color:#1c2b46;margin-bottom:6px}.extfold-field input[type=text]{width:100%;height:40px;padding:0 12px;border:1px solid #e3e1da;border-radius:5px;font-size:14px}.extfold-field input[type=text]:focus{outline:0;border-color:#1c2b46;box-shadow:0 0 0 3px rgba(28,43,70,.08)}.extfold-hint{font-size:11.5px;color:#939aab;margin-top:4px}.extfold-check{display:flex;align-items:flex-start;gap:8px;font-size:13px}.extfold-check input{margin-top:3px}.extfold-browser{border:1px solid #e3e1da;border-radius:5px;max-height:280px;overflow-y:auto;background:#fff}.extfold-browser-item{display:flex;align-items:center;gap:10px;padding:8px 12px;cursor:pointer;border-bottom:1px solid #eceae3;font-size:13px}.extfold-browser-item:hover{background:#fbfaf8}.extfold-browser-item.selected{background:#eaf1f9}.extfold-browser-item i{color:#b08d4f}.extfold-browser-loading{padding:20px;text-align:center;color:#939aab;font-size:13px}.extfold-browser-breadcrumb{padding:8px 12px;background:#fbfaf8;font-size:12px;color:#5d6678;border-bottom:1px solid #e3e1da;font-family:'SF Mono',Consolas,monospace}.app-main,.main-content{min-width:0}.timeline-page{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0;max-width:100%}.timeline-page__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:16px 20px;box-shadow:var(--shadow-xs)}.timeline-page__title-block{flex:1 1 280px;min-width:0}.timeline-page__title{font-size:17px;font-weight:700;color:var(--text-primary);margin:0 0 4px;display:flex;align-items:center;gap:10px;letter-spacing:-.01em}.timeline-page__title i{color:var(--primary);font-size:15px}.timeline-page__subtitle{font-size:13px;color:var(--text-muted);margin:0;line-height:1.5}.timeline-page__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.timeline-page__zoom-group{display:inline-flex;border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;background:var(--bg-elevated)}.timeline-person-filter{height:34px;padding:0 30px 0 12px;border:1px solid var(--border-color);border-radius:var(--radius);background:var(--bg-elevated);color:var(--text-primary);font-size:12.5px;font-weight:600;cursor:pointer;max-width:200px;transition:var(--transition-fast)}.timeline-person-filter:hover{border-color:var(--primary-light)}.timeline-person-filter:focus{outline:0;border-color:var(--border-focus);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.15)}.timeline-persons{display:flex;flex-wrap:wrap;gap:8px}.timeline-person{display:inline-flex;align-items:center;gap:9px;padding:6px 12px 6px 6px;background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-pill);cursor:pointer;transition:var(--transition-fast);text-align:left}.timeline-person:hover{border-color:var(--primary-light);background:var(--bg-hover)}.timeline-person--active{border-color:var(--primary);background:var(--primary-lighter);box-shadow:0 0 0 1px var(--primary)}.timeline-person__avatar{width:28px;height:28px;border-radius:50%;background:var(--primary-gradient);color:var(--text-on-primary);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.timeline-person__info{display:flex;flex-direction:column;line-height:1.2;min-width:0}.timeline-person__name{font-size:12.5px;font-weight:600;color:var(--text-primary);white-space:nowrap}.timeline-person--active .timeline-person__name{color:var(--primary-darker)}.timeline-person__sub{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-weight:600}.timeline-person__count{font-size:11px;font-weight:700;color:var(--text-muted);background:var(--bg-gray);border-radius:var(--radius-pill);padding:1px 8px;min-width:20px;text-align:center;flex-shrink:0}.timeline-person--active .timeline-person__count{background:var(--primary);color:#fff}.timeline-btn{padding:7px 13px;background:var(--bg-elevated);border:1px solid var(--border-color);color:var(--text-secondary);font-size:12.5px;font-weight:600;cursor:pointer;border-radius:var(--radius);transition:var(--transition-fast);display:inline-flex;align-items:center;gap:6px;line-height:1}.timeline-btn:hover{background:var(--bg-hover);color:var(--primary);border-color:var(--primary-light)}.timeline-btn i{font-size:11px}.timeline-page__zoom-group .timeline-btn{border-radius:0;border:0;border-right:1px solid var(--border-color)}.timeline-page__zoom-group .timeline-btn:last-child{border-right:0}.timeline-btn--active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}.timeline-legend{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-lg);min-height:44px;align-items:center;box-shadow:var(--shadow-xs)}.timeline-legend__chip{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;background:var(--bg-gray);border:1px solid var(--border-light);border-radius:var(--radius-pill);font-size:11.5px;font-weight:600;color:var(--text-secondary)}.timeline-legend__dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.timeline-legend__loading{font-size:12.5px;color:var(--text-muted)}.timeline-viewport{position:relative;background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:20px 0 12px;min-height:150px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;box-shadow:var(--shadow-xs)}.timeline-viewport::-webkit-scrollbar{height:8px}.timeline-viewport::-webkit-scrollbar-track{background:var(--bg-gray);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.timeline-viewport::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:4px}.timeline-viewport__loading{text-align:center;color:var(--text-muted);padding:32px;font-size:13px}.timeline-viewport__inner{position:relative;height:120px;min-width:100%}.timeline-axis{position:absolute;left:0;right:0;top:54px;height:2px;background:linear-gradient(to right,var(--border-light),var(--border-strong) 50%,var(--border-light))}.timeline-axis__tick{position:absolute;top:-5px;width:1px;height:12px;background:var(--border-strong)}.timeline-axis__tick-label{position:absolute;top:16px;transform:translateX(-50%);font-size:10.5px;color:var(--text-muted);white-space:nowrap;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.timeline-today-line{position:absolute;top:20px;bottom:14px;width:2px;background:var(--accent);z-index:3;pointer-events:none}.timeline-today-line::before{content:'';position:absolute;top:-4px;left:-4px;width:10px;height:10px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 4px rgba(var(--accent-rgb),.18)}.timeline-today-line::after{content:attr(data-label);position:absolute;top:-17px;left:50%;transform:translateX(-50%);background:var(--accent);color:#fff;padding:2px 8px;font-size:9.5px;font-weight:700;border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;box-shadow:var(--shadow-accent)}.timeline-event{position:absolute;top:41px;transform:translateX(-50%);cursor:pointer;z-index:2}.timeline-event__dot{width:13px;height:13px;border-radius:50%;background:var(--primary);border:3px solid var(--bg-elevated);box-shadow:0 0 0 1px var(--border-strong),0 2px 6px rgba(15,23,42,.1);transition:transform .15s ease,box-shadow .15s ease}.timeline-event:focus .timeline-event__dot,.timeline-event:hover .timeline-event__dot{transform:scale(1.3);box-shadow:0 0 0 2px var(--primary-light),0 4px 8px rgba(15,23,42,.15)}.timeline-event--milestone .timeline-event__dot{width:18px;height:18px;border-width:3px;transform:rotate(45deg);border-radius:3px}.timeline-event--milestone:focus .timeline-event__dot,.timeline-event--milestone:hover .timeline-event__dot{transform:rotate(45deg) scale(1.2)}.timeline-event__label{position:absolute;top:24px;left:50%;transform:translateX(-50%);background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:4px 9px;font-size:11px;font-weight:600;color:var(--text-primary);white-space:nowrap;box-shadow:var(--shadow-xs);max-width:150px;overflow:hidden;text-overflow:ellipsis}.timeline-event--past .timeline-event__dot{opacity:.55}.timeline-event--past .timeline-event__label{opacity:.75;color:var(--text-muted)}.timeline-list-section{background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:18px 20px 20px;box-shadow:var(--shadow-xs)}.timeline-list-section__title{font-size:12px;font-weight:700;color:var(--text-secondary);margin:0 0 14px;text-transform:uppercase;letter-spacing:.06em}.timeline-list{display:flex;flex-direction:column;gap:8px}.timeline-list-item{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px;background:var(--bg-elevated);border:1px solid var(--border-light);border-radius:var(--radius);transition:var(--transition-fast)}.timeline-list-item:hover{border-color:var(--primary-light);background:var(--bg-hover)}.timeline-list-item--past{opacity:.72}.timeline-list-item__date{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;border-left:3px solid var(--primary);padding-left:10px;line-height:1.3}.timeline-list-item--past .timeline-list-item__date{border-left-color:var(--border-strong)}.timeline-list-item__date-day{font-size:18px;font-weight:700;color:var(--text-primary);display:block;text-transform:lowercase;letter-spacing:-.01em}.timeline-list-item__body{min-width:0}.timeline-list-item__title{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.timeline-list-item__cat{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:var(--radius-pill);color:#fff;text-transform:uppercase;letter-spacing:.04em}.timeline-list-item__desc{font-size:12.5px;color:var(--text-secondary);line-height:1.55;margin:0;overflow-wrap:anywhere;word-break:break-word}.timeline-list-item__desc p{margin:0 0 4px;overflow-wrap:anywhere;word-break:break-word}.timeline-list-item__desc strong{color:var(--text-primary)}.timeline-list-item__desc ul{margin:4px 0;padding-left:18px}.timeline-list-item__desc a{color:var(--primary);text-decoration:none;font-weight:500;word-break:break-all}.timeline-list-item__desc a:hover{text-decoration:underline}.timeline-list-item__sub{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11.5px;color:var(--text-muted);font-weight:500;margin:0 0 5px}.timeline-list-item__sub i{font-size:10px}.timeline-list-item__sep{color:var(--border-strong)}.timeline-list-item__hidden{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:700;padding:2px 8px;border-radius:var(--radius-pill);background:var(--bg-gray);color:var(--text-muted);border:1px solid var(--border-color);text-transform:uppercase;letter-spacing:.03em}.timeline-list-item__hidden i{font-size:9px}.timeline-list-item__person{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:var(--radius-pill);background:var(--primary-lighter);color:var(--primary-darker);text-transform:uppercase;letter-spacing:.03em}.timeline-list-item__person i{font-size:9px}.timeline-list-item__exp{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:var(--radius-pill);background:var(--danger-lighter);color:var(--danger-dark);text-transform:uppercase;letter-spacing:.03em}.timeline-list-item__exp i{font-size:9px}.timeline-list-item--virtual{background:repeating-linear-gradient(45deg,var(--bg-elevated),var(--bg-elevated) 10px,var(--danger-lighter) 10px,var(--danger-lighter) 11px);border-style:dashed}.timeline-list-item--virtual .timeline-list-item__date{border-left-color:var(--danger)}.timeline-list-item__actions{display:flex;gap:6px;align-items:center}.timeline-list-item__actions .timeline-btn{padding:5px 9px;font-size:12px}.timeline-list-item__actions .timeline-btn:hover{background:var(--primary-lighter);color:var(--primary);border-color:var(--primary)}.timeline-list__empty{text-align:center;padding:36px 20px;color:var(--text-muted);background:var(--bg-gray);border:1px dashed var(--border-color);border-radius:var(--radius);font-size:13px}.timeline-list__empty i{display:block;font-size:22px;color:var(--primary);opacity:.4;margin-bottom:10px}.timeline-preview{font-size:13px}.timeline-preview__empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 16px;color:var(--text-muted);font-size:13px;text-align:center}.timeline-preview__empty i{font-size:22px;color:var(--primary);opacity:.4}.timeline-preview__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.timeline-preview__item{display:grid;grid-template-columns:12px 52px minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--border-light);position:relative}.timeline-preview__item:last-child{border-bottom:0}.timeline-preview__item--past{opacity:.7}.timeline-preview__bullet{width:10px;height:10px;border-radius:50%;background:var(--ev-color,var(--primary));box-shadow:0 0 0 3px rgba(var(--primary-rgb),.12);justify-self:center}.timeline-preview__item--past .timeline-preview__bullet{background:var(--border-strong);box-shadow:none}.timeline-preview__day{text-align:center;border-left:2px solid var(--ev-color,var(--primary));padding-left:8px;line-height:1.1}.timeline-preview__day strong{display:block;font-size:18px;font-weight:700;color:var(--text-primary);letter-spacing:-.02em}.timeline-preview__day span{font-size:10.5px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.timeline-preview__body{min-width:0}.timeline-preview__title{font-size:13.5px;font-weight:600;color:var(--text-primary);line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:6px;overflow-wrap:anywhere;word-break:break-word}.timeline-preview__star{color:var(--accent);font-size:10px}.timeline-preview__today-badge{background:var(--accent);color:#fff;padding:1px 8px;border-radius:var(--radius-pill);font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.timeline-preview__meta{margin-top:4px}.timeline-preview__cat{display:inline-flex;align-items:center;font-size:10px;font-weight:700;padding:2px 8px;border-radius:var(--radius-pill);color:#fff;text-transform:uppercase;letter-spacing:.04em}@media (max-width:900px){.timeline-page__header{padding:14px 16px}.timeline-page__actions{width:100%;justify-content:flex-start}.timeline-list-item{grid-template-columns:80px 1fr;grid-template-areas:"date body" "actions actions"}.timeline-list-item__actions{grid-area:actions;justify-content:flex-end;padding-top:4px}}@media (max-width:600px){.timeline-viewport{padding:16px 0 8px}.timeline-viewport__inner{height:110px}.timeline-event__label{max-width:100px;font-size:10px}.timeline-list-section{padding:14px 16px 16px}.timeline-list-item{grid-template-columns:1fr;grid-template-areas:"date" "body" "actions";gap:8px}.timeline-list-item__date{border-left:0;border-bottom:2px solid var(--primary);padding:0 0 5px;display:inline-block;width:auto}.timeline-list-item__date-day{display:inline;font-size:14px;margin-right:6px}.timeline-preview__item{grid-template-columns:8px 44px 1fr;gap:10px}}.stage-note{margin:10px 0 4px;padding:10px 12px;background:var(--bg-gray);border:1px solid var(--border-light);border-left:3px solid var(--primary);border-radius:var(--radius)}.stage-note--blocked{background:var(--warning-lighter);border-color:var(--warning-light);border-left-color:var(--warning)}.stage-note-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.stage-note-label{font-size:11px;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;display:inline-flex;align-items:center;gap:6px}.stage-note--blocked .stage-note-label{color:var(--warning-dark)}.stage-note-head-right{display:inline-flex;align-items:center;gap:8px}.stage-note-vis{font-size:10px;font-weight:600;color:var(--primary);display:inline-flex;align-items:center;gap:4px;text-transform:uppercase;letter-spacing:.03em}.stage-note-vis.muted{color:var(--text-muted)}.stage-note-vis i{font-size:9px}.stage-note-edit{background:0 0;border:1px solid var(--border-color);color:var(--text-muted);width:26px;height:26px;border-radius:var(--radius-sm);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:var(--transition-fast);font-size:11px;flex-shrink:0}.stage-note-edit:hover{background:var(--primary-lighter);color:var(--primary);border-color:var(--primary)}.stage-note-body{font-size:13px;color:var(--text-primary);line-height:1.55;overflow-wrap:anywhere;word-break:break-word}.stage-note-body p{margin:0 0 5px}.stage-note-body p:last-child{margin-bottom:0}.stage-note-body strong{font-weight:700}.stage-note-body ul{margin:4px 0;padding-left:18px}.stage-note-body a{color:var(--primary);text-decoration:none;font-weight:500}.stage-note-body a:hover{text-decoration:underline}.stage-note-body code{background:var(--bg-elevated);border:1px solid var(--border-light);border-radius:4px;padding:1px 5px;font-size:.9em}.stage-note-add{margin:8px 0 4px;background:0 0;border:1px dashed var(--border-strong);color:var(--text-muted);padding:7px 12px;border-radius:var(--radius);cursor:pointer;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;transition:var(--transition-fast)}.stage-note-add:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-lighter)}.stage-note-modal-vishint{margin-top:10px;padding:8px 12px;background:var(--bg-gray);border-radius:var(--radius);font-size:12px;color:var(--text-secondary);display:flex;align-items:center;gap:8px}.stage-note-modal-vishint i{color:var(--primary)}.tl-prefiches{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow-y:auto;padding-right:4px}.tl-prefiche-group{border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;background:var(--bg-elevated)}.tl-prefiche-group__head{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;background:var(--bg-gray);border:0;cursor:pointer;font-size:13px;font-weight:700;color:var(--text-primary);text-align:left;transition:var(--transition-fast)}.tl-prefiche-group__head:hover{background:var(--bg-hover)}.tl-prefiche-group__icon{color:var(--primary);font-size:13px;width:16px;text-align:center}.tl-prefiche-group__label{flex:1;min-width:0}.tl-prefiche-group__count{font-size:11px;font-weight:700;color:var(--text-muted);background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:var(--radius-pill);padding:1px 8px}.tl-prefiche-group__chev{font-size:11px;color:var(--text-muted);transition:transform .18s ease}.tl-prefiche-group.open .tl-prefiche-group__chev{transform:rotate(180deg)}.tl-prefiche-group__body{display:none;flex-direction:column;padding:6px;gap:4px}.tl-prefiche-group.open .tl-prefiche-group__body{display:flex}.tl-prefiche{display:flex;align-items:center;gap:10px;width:100%;padding:9px 11px;background:var(--bg-elevated);border:1px solid var(--border-light);border-radius:var(--radius-sm);cursor:pointer;font-size:13px;color:var(--text-primary);text-align:left;transition:var(--transition-fast)}.tl-prefiche:hover{border-color:var(--primary);background:var(--primary-lighter)}.tl-prefiche__plus{color:var(--primary);font-size:11px;width:16px;height:16px;border:1px solid var(--primary-light);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.tl-prefiche:hover .tl-prefiche__plus{background:var(--primary);color:#fff;border-color:var(--primary)}.tl-prefiche__title{flex:1;min-width:0}.tl-prefiche__star{color:var(--accent);font-size:10px;flex-shrink:0}.stage-card-v15{display:flex;background:var(--bg-elevated);border:1px solid var(--border-light);border-left:4px solid var(--stage-color,var(--primary));border-radius:var(--radius-lg);margin-bottom:12px;overflow:hidden;transition:var(--transition-fast)}.stage-card-v15:hover{box-shadow:var(--shadow-sm);border-color:var(--border-color);border-left-color:var(--stage-color,var(--primary))}.stage-card-v15.stage-status-completed{background:var(--stage-bg,var(--success-lighter))}.stage-card-v15 .stage-card-rail-num{width:30px;height:30px;border-radius:50%;background:var(--stage-color,var(--primary));color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;flex-shrink:0}.stage-card-v15 .stage-card-statebar{margin-top:12px;padding-top:12px;border-top:1px solid var(--border-light)}.stage-card-v15 .stage-state-pills{display:flex;flex-wrap:wrap;gap:6px}.stage-card-v15 .state-pill{padding:6px 13px;border:1px solid var(--border-color);border-radius:var(--radius-pill);background:var(--bg-elevated);color:var(--text-secondary);font-size:12px;font-weight:600;cursor:pointer;transition:var(--transition-fast);line-height:1.2}.stage-card-v15 .state-pill:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-lighter)}.stage-card-v15 .state-pill.active{background:var(--stage-color,var(--primary));border-color:var(--stage-color,var(--primary));color:#fff}.tl-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--border-light)}.tl-pagination__size{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-muted);margin:0}.tl-pagination__select{width:auto;min-width:64px;padding:6px 28px 6px 10px;font-size:13px}.tl-pagination__nav{display:inline-flex;align-items:center;gap:8px}.tl-pagination__info{font-size:12.5px;color:var(--text-secondary);font-weight:600;min-width:84px;text-align:center}.tl-pagination__btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:var(--radius);background:var(--bg-elevated);color:var(--text-secondary);cursor:pointer;transition:var(--transition-fast)}.tl-pagination__btn:hover:not(:disabled){border-color:var(--primary);color:var(--primary);background:var(--primary-lighter)}.tl-pagination__btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width:480px){.tl-pagination{justify-content:center}.tl-pagination__nav{width:100%;justify-content:center}}.tl-swim{display:flex;align-items:stretch;border:1px solid var(--border-color);border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-elevated)}.tl-swim__labels{flex-shrink:0;border-right:1px solid var(--border-color);background:var(--bg-gray);z-index:2}.tl-swim__corner{border-bottom:1px solid var(--border-color);background:var(--bg-gray)}.tl-swim__lane-label{display:flex;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid var(--border-light);color:var(--text-secondary);overflow:hidden}.tl-swim__lane-label:last-child{border-bottom:none}.tl-swim__lane-label i{color:var(--text-faint);font-size:12px;flex-shrink:0}.tl-swim__lane-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.tl-swim__lane-name{font-size:12.5px;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tl-swim__lane-rel{font-size:10px;font-weight:700;color:var(--text-faint);text-transform:uppercase;letter-spacing:.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tl-swim__scroll{flex:1;overflow-x:auto;overflow-y:hidden;position:relative}.tl-swim__inner{position:relative}.tl-swim__axis{position:relative;border-bottom:1px solid var(--border-color);background:var(--bg-gray)}.tl-swim__tick{position:absolute;top:0;bottom:0;width:1px;background:var(--border-light)}.tl-swim__tick-label{position:absolute;top:7px;transform:translateX(6px);font-size:11px;color:var(--text-muted);white-space:nowrap;font-weight:600}.tl-swim__today{position:absolute;width:2px;background:var(--danger);z-index:1;pointer-events:none}.tl-swim__today::before{content:attr(data-label);position:absolute;top:-22px;left:50%;transform:translateX(-50%);background:var(--danger);color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:var(--radius-pill);white-space:nowrap}.tl-swim__lane{position:relative;border-bottom:1px solid var(--border-light)}.tl-swim__lane:last-child{border-bottom:none}.tl-swim__lane--alt{background:rgba(127,127,127,.035)}.tl-swim__point{position:absolute;display:inline-flex;align-items:center;gap:6px;height:28px;cursor:pointer;max-width:220px}.tl-swim__dot{width:13px;height:13px;border-radius:50%;background:var(--ev-color,var(--primary));border:2px solid var(--bg-elevated);box-shadow:0 0 0 1px var(--ev-color,var(--primary));flex-shrink:0}.tl-swim__point-label{font-size:12.5px;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border-color);border-left:3px solid var(--ev-color,var(--primary));padding:2px 8px;border-radius:var(--radius-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.tl-swim__point:hover .tl-swim__point-label{border-color:var(--ev-color,var(--primary));box-shadow:var(--shadow-sm)}.tl-swim__bar{position:absolute;height:28px;display:flex;align-items:center;gap:5px;padding:0 8px;background:var(--ev-color,var(--primary));color:#fff;border-radius:var(--radius-sm);cursor:pointer;overflow:hidden;box-shadow:var(--shadow-xs)}.tl-swim__bar:hover{filter:brightness(1.06);box-shadow:var(--shadow-sm)}.tl-swim__bar-label{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tl-swim__star{color:#fbbf24;font-size:10px;flex-shrink:0}.tl-swim__bar .tl-swim__star{color:#fff}.tl-swim__item--past{opacity:.55}.tl-swim__item--past:hover{opacity:.85}@media (max-width:768px){.tl-swim__labels{width:140px!important}.tl-swim__point,.tl-swim__point-label{max-width:150px}}.timeline-viewport{padding:0;border:none;min-height:0;overflow:visible;background:0 0;box-shadow:none}.timeline-select{width:auto;min-width:188px;height:auto!important;padding:8px 32px 8px 12px!important;font-size:13px!important;line-height:1.4!important;font-weight:600;color:var(--text-primary)!important;border:1px solid var(--border-color)!important;border-radius:var(--radius)!important;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:var(--bg-elevated)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 11px center!important;background-size:11px!important;cursor:pointer}.timeline-export-group{display:inline-flex;gap:6px}.timeline-export-group .timeline-btn i{margin-right:2px}@media (max-width:768px){.timeline-select{flex:1;min-width:0}.timeline-export-group{width:100%}.timeline-export-group .timeline-btn{flex:1}}.tl-color-picker{display:flex;flex-wrap:wrap;gap:8px}.tl-color-swatch{width:30px;height:30px;border-radius:var(--radius-sm);border:2px solid transparent;cursor:pointer;padding:0;position:relative;display:flex;align-items:center;justify-content:center;transition:transform 80ms ease,outline 80ms ease}.tl-color-swatch:hover{transform:scale(1.08)}.tl-color-swatch.is-selected{outline:2px solid var(--text-primary);outline-offset:2px}.tl-color-swatch--none{background:var(--bg-elevated);border:2px dashed var(--border-strong);color:var(--text-muted);font-size:12px}.tl-color-swatch--custom{background:conic-gradient(#ef4444,#f59e0b,#84cc16,#06b6d4,#3b82f6,#a855f7,#ef4444);color:#fff;overflow:hidden;font-size:12px;text-shadow:0 1px 2px rgba(0,0,0,.5)}.tl-color-swatch--custom input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0}.tl-list-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.tl-list-toolbar__count{font-size:13px;font-weight:600;color:var(--text-muted)}.tl-list-toolbar__sort{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary)}.tl-list-toolbar__sort>span{font-weight:600;white-space:nowrap}.timeline-list__items{display:flex;flex-direction:column;gap:10px}.tl-list-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.tl-list-pagination__info{font-size:13px;font-weight:600;color:var(--text-secondary);min-width:90px;text-align:center}@media (max-width:600px){.tl-list-toolbar{flex-direction:column;align-items:stretch}.tl-list-toolbar__sort{justify-content:space-between}.tl-list-toolbar__sort .timeline-select{flex:1;min-width:0}}.lang-toggle{display:inline-flex;align-items:stretch;height:40px;border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;background:var(--bg-elevated)}.lang-toggle__btn{display:inline-flex;align-items:center;padding:0 11px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--text-muted);text-decoration:none;transition:var(--transition-fast);user-select:none}.lang-toggle__btn:hover{background:var(--bg-hover);color:var(--text-primary)}.lang-toggle__btn.is-active{background:var(--primary);color:var(--text-on-primary)}.lang-toggle__btn+.lang-toggle__btn{border-left:1px solid var(--border-color)}.chat-dock{max-width:calc(100vw - 24px);max-height:100vh;flex-wrap:nowrap}.chat-window{height:440px;max-height:calc(100vh - 24px);flex-shrink:0}.chat-window.minimized{height:48px}.chat-window-body{flex:1 1 auto;min-height:0;overflow-y:auto}