.dashboard-page{padding:20px;background:#f8fafc;min-height:100vh;width:100%;max-width:100%}.dashboard-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px;gap:20px}.dashboard-title h1{margin:0 0 6px;font-size:28px;font-weight:700;color:var(--text)}.dashboard-title p{margin:0;color:var(--muted);font-size:14px}.dashboard-controls{display:flex;gap:12px}.control-btn{height:40px;padding:0 16px;background:#fff;border:1px solid var(--divider);border-radius:8px;color:var(--text);font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.control-btn:hover{background:#f1f5f9;border-color:var(--focus)}.control-btn.active{background:var(--focus);color:#fff;border-color:var(--focus)}.dashboard-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:20px;grid-auto-rows:120px}.dashboard-grid.edit-mode .dashboard-widget{position:relative}.dashboard-grid.edit-mode .dashboard-widget:before{content:"";position:absolute;inset:-2px;border:2px dashed var(--focus);border-radius:14px;opacity:.5;z-index:1}.dashboard-widget{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0c121c0f;border:1px solid var(--divider);overflow:hidden;transition:all .2s ease;position:relative}.dashboard-widget:hover{box-shadow:0 4px 16px #0c121c1a;border-color:#5b8def33}.dashboard-widget[data-widget-id=deals-summary]{grid-column:span 4;grid-row:span 2}.dashboard-widget[data-widget-id=revenue-chart]{grid-column:span 8;grid-row:span 4}.dashboard-widget[data-widget-id=team-tasks]{grid-column:span 4;grid-row:span 4}.dashboard-widget[data-widget-id=quick-actions]{grid-column:span 12;grid-row:span 2}.widget-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 12px;border-bottom:1px solid var(--divider)}.widget-title{margin:0;font-size:16px;font-weight:600;color:var(--text)}.widget-controls{display:flex;gap:4px;opacity:0;transition:opacity .2s ease}.dashboard-widget:hover .widget-controls,.dashboard-grid.edit-mode .widget-controls{opacity:1}.widget-control-btn{width:28px;height:28px;background:none;border:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:background .2s ease}.widget-control-btn:hover{background:var(--divider)}.widget-content{padding:16px 20px 20px;height:calc(100% - 60px);display:flex;flex-direction:column}.widget-deals-summary{height:100%}.widget-stats{display:flex;gap:24px;height:100%}.stat-item{flex:1;display:flex;flex-direction:column;justify-content:center}.stat-value{font-size:24px;font-weight:700;color:var(--text);margin-bottom:4px}.stat-label{font-size:13px;color:var(--muted)}.widget-chart{height:100%;display:flex;align-items:center;justify-content:center}.chart-placeholder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.chart-bars{display:flex;align-items:flex-end;justify-content:space-between;height:calc(100% - 30px);gap:8px;padding:0 10px}.bar{flex:1;background:linear-gradient(180deg,var(--focus) 0%,#3b82f6 100%);border-radius:4px 4px 0 0;min-height:20px;transition:all .3s ease}.bar:hover{opacity:.8;transform:scaleY(1.05)}.chart-labels{display:flex;justify-content:space-between;padding:8px 10px 0;font-size:11px;color:var(--muted)}.widget-tasks{height:100%}.task-list{display:flex;flex-direction:column;gap:12px;height:100%;overflow-y:auto}.task-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.task-title{font-weight:500;color:var(--text);font-size:13px}.task-assignee{font-size:12px;color:var(--muted);background:#e2e8f0;padding:2px 8px;border-radius:12px}.widget-actions{display:flex;gap:12px;align-items:center;justify-content:center;height:100%;flex-wrap:wrap}.action-btn{height:40px;padding:0 20px;background:#fff;border:1px solid var(--divider);border-radius:8px;color:var(--text);font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-size:14px}.action-btn:hover{background:#f1f5f9;border-color:var(--focus);transform:translateY(-1px)}.action-btn.primary{background:var(--focus);color:#fff;border-color:var(--focus)}.action-btn.primary:hover{background:#4f46e5;transform:translateY(-1px)}.widget-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-style:italic}.dashboard-help{margin-top:20px;padding:16px;background:#fef3c7;border:1px solid #fbbf24;border-radius:8px}.help-text{color:#92400e;font-size:14px;text-align:center}@media(max-width:1024px){.dashboard-grid{grid-template-columns:repeat(8,1fr);gap:16px}.dashboard-widget[data-widget-id=deals-summary]{grid-column:span 4}.dashboard-widget[data-widget-id=revenue-chart]{grid-column:span 8}.dashboard-widget[data-widget-id=team-tasks]{grid-column:span 4}.dashboard-widget[data-widget-id=quick-actions]{grid-column:span 8}}@media(max-width:768px){.dashboard-page{padding:12px}.dashboard-header{flex-direction:column;align-items:flex-start;gap:16px}.dashboard-controls{align-self:stretch}.control-btn{flex:1;justify-content:center}.dashboard-grid{grid-template-columns:1fr;gap:12px;grid-auto-rows:160px}.dashboard-widget[data-widget-id=deals-summary],.dashboard-widget[data-widget-id=revenue-chart],.dashboard-widget[data-widget-id=team-tasks],.dashboard-widget[data-widget-id=quick-actions]{grid-column:span 1}.widget-stats{flex-direction:column;gap:16px}.widget-actions{flex-direction:column;gap:8px}.action-btn{width:100%}}.deals-page{display:flex;flex-direction:column;height:100%;overflow:hidden}.deals-header{flex-shrink:0;padding:16px 20px;background:linear-gradient(to bottom,#fff,#f9fafb);border-bottom:1px solid #e5e7eb}.deals-tabs{display:flex;gap:4px;margin-bottom:16px;padding-bottom:2px;border-bottom:2px solid #f3f4f6}.deals-tab{padding:8px 16px;border:none;background:transparent;color:#6b7280;font-size:13px;font-weight:600;cursor:pointer;border-radius:8px 8px 0 0;transition:all .2s;position:relative;bottom:-2px}.deals-tab:hover{color:#374151;background:#f9fafb}.deals-tab.active{color:#2563eb;background:#fff;border-bottom:2px solid #2563eb}.deals-section-title{font-size:18px;font-weight:700;color:#111827;margin-bottom:12px}.deals-kpi-panel{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.deals-kpi-pill{display:flex;align-items:center;gap:8px;padding:6px 12px;background:linear-gradient(135deg,#f9fafb,#fff);border:1px solid #e5e7eb;border-radius:10px;font-size:12px;box-shadow:0 1px 2px #0000000a;transition:all .2s}.deals-kpi-pill:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #00000014;transform:translateY(-1px)}.deals-kpi-icon{font-size:16px;line-height:1}.deals-kpi-label{color:#6b7280;font-weight:500}.deals-kpi-value{color:#111827;font-weight:700;margin-left:auto}.deals-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.deals-search{position:relative;flex:1;min-width:240px;max-width:400px}.deals-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:14px}.deals-search-input{width:100%;padding:8px 12px 8px 36px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;transition:all .2s}.deals-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.deals-filter-select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;background:#fff;cursor:pointer;transition:all .2s}.deals-filter-select:hover{border-color:#cbd5e1}.deals-filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.deals-board{flex:1;display:flex;gap:16px;padding:20px;overflow-x:auto;overflow-y:hidden;min-height:0}.deals-board::-webkit-scrollbar{height:8px}.deals-board::-webkit-scrollbar-track{background:#f3f4f6;border-radius:4px}.deals-board::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.deals-board::-webkit-scrollbar-thumb:hover{background:#94a3b8}.deals-column{flex-shrink:0;width:320px;min-width:300px;max-width:360px;display:flex;flex-direction:column;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;max-height:100%}.deals-column-header{padding:12px 16px;background:linear-gradient(135deg,#fff,#f9fafb);border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0}.deals-column-title{font-size:13px;font-weight:700;color:#111827;margin-bottom:4px}.deals-column-sum{font-size:12px;color:#10b981;font-weight:600}.deals-column-cards{flex:1;padding:12px;overflow-y:auto;overflow-x:hidden;list-style:none;margin:0}.deals-column-cards::-webkit-scrollbar{width:6px}.deals-column-cards::-webkit-scrollbar-track{background:transparent}.deals-column-cards::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.deals-column-cards::-webkit-scrollbar-thumb:hover{background:#94a3b8}.deals-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px;margin-bottom:8px;cursor:pointer;transition:all .2s;box-shadow:0 1px 2px #0000000a;overflow:hidden;word-wrap:break-word}.deals-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.deals-card-title{font-size:13px;font-weight:600;color:#111827;margin-bottom:6px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.deals-card-meta{font-size:11px;color:#6b7280;line-height:1.5;overflow:hidden;word-wrap:break-word;max-height:80px;overflow-y:auto}.deals-card-meta::-webkit-scrollbar{width:4px}.deals-card-meta::-webkit-scrollbar-track{background:transparent}.deals-card-meta::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.deals-card-row{display:flex;align-items:center;gap:6px;margin-top:6px}.deals-card-actions{display:flex;gap:4px;margin-top:8px;flex-wrap:wrap;width:100%}.deals-card-btn{padding:4px 8px;font-size:10px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;border-radius:6px;cursor:pointer;transition:all .15s;font-weight:500;white-space:nowrap;flex-shrink:0}.deals-card-btn:hover{background:#f9fafb;border-color:#cbd5e1;color:#374151}.deals-card-select{padding:4px 8px;font-size:11px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;cursor:pointer;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}.deals-table-container{margin-top:16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.deals-table-header{padding:16px 20px;background:linear-gradient(to bottom,#f9fafb,#fff);border-bottom:1px solid #e5e7eb}.deals-table-title{font-size:16px;font-weight:700;color:#111827;margin-bottom:4px}.deals-table-subtitle{font-size:12px;color:#6b7280}.deals-table-scroll{overflow-x:auto;max-height:500px;overflow-y:auto}.deals-table{width:100%;border-collapse:collapse;font-size:13px}.deals-table thead th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;background:#f9fafb;border-bottom:2px solid #e5e7eb;position:sticky;top:0;z-index:1}.deals-table tbody td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#6b7280}.deals-table tbody tr:hover{background:#f9fafb}.deals-table tbody tr:last-child td{border-bottom:none}.deals-table-empty{padding:32px;text-align:center;color:#9ca3af;font-size:13px}.deals-summary{margin-top:20px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.deals-summary-header{padding:16px 20px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.deals-summary-title{font-size:15px;font-weight:700;margin:0}.deals-summary-grid{padding:16px}.deals-summary-row{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:16px;padding:12px 16px;border-radius:8px;transition:background .15s}.deals-summary-row:hover{background:#f9fafb}.deals-summary-row.header{font-weight:700;color:#374151;background:#f9fafb;border-bottom:2px solid #e5e7eb}.deals-summary-row.header:hover{background:#f9fafb}.deals-summary-cell{font-size:13px;color:#6b7280}.deals-summary-row.header .deals-summary-cell{color:#374151}@media(max-width:768px){.deals-board{padding:12px;gap:12px}.deals-column{width:240px}.deals-kpi-panel{gap:6px}.deals-kpi-pill{padding:4px 8px;font-size:11px}}.toast-container{position:fixed;top:16px;right:16px;z-index:9999;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{background:#fff;border-radius:10px;box-shadow:0 8px 24px #0000001f,0 2px 6px #00000014;overflow:hidden;animation:toastSlideIn .3s ease-out;border:1px solid #e5e7eb}.toast-exit{animation:toastSlideOut .3s ease-in forwards}@keyframes toastSlideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes toastSlideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}.toast-content{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;position:relative}.toast-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;margin-top:2px}.toast-success .toast-icon{background:#10b981;color:#fff}.toast-error .toast-icon{background:#ef4444;color:#fff}.toast-info .toast-icon{background:#3b82f6;color:#fff}.toast-text{flex:1;min-width:0}.toast-title{font-size:14px;font-weight:600;color:#111827;margin:0;line-height:1.5;padding-right:24px}.toast-message{font-size:12px;color:#6b7280;margin:4px 0 0;line-height:1.5;padding-right:24px}.toast-close{position:absolute;top:12px;right:12px;background:#f3f4f6;border:none;color:#6b7280;font-size:18px;line-height:1;cursor:pointer;padding:0;width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.toast-close:hover{background:#e5e7eb;color:#374151}.toast-action{background:#f9fafb;border:none;border-top:1px solid #e5e7eb;color:#2563eb;font-size:13px;font-weight:600;padding:12px 16px;width:100%;text-align:center;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center;gap:6px}.toast-action:hover{background:#eff6ff;color:#1d4ed8}.toast-action:after{content:"→";font-size:14px}.settings-page{padding:2rem;max-width:1000px;margin:0 auto;background:transparent;min-height:100%}.settings-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.settings-tabs{display:flex;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:2rem;position:sticky;top:0;background:#fff;z-index:10;overflow-x:auto}.settings-tab{padding:10px 16px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-size:13px;font-weight:500;color:#6b7280;transition:all .15s;white-space:nowrap}.settings-tab:hover{color:#374151;background:#f9fafb}.settings-tab.active{color:#2563eb;border-bottom-color:#2563eb}.settings-title h1{margin:0 0 .5rem;font-size:2rem;font-weight:600;color:var(--text-primary)}.settings-title p{margin:0;color:var(--text-secondary);font-size:.875rem}.settings-actions{display:flex;gap:.75rem}.save-notification{background:var(--success-bg);color:var(--success-color);padding:1rem;border-radius:8px;margin-bottom:2rem;border:1px solid var(--success-border);animation:slideDown .3s ease-out}.welcome-notification{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;border:none;position:relative;animation:slideDown .3s ease-out;box-shadow:0 4px 20px #667eea4d}.welcome-content{display:flex;align-items:flex-start;gap:1rem}.welcome-icon{font-size:2rem;flex-shrink:0}.welcome-text h3{margin:0 0 .5rem;font-size:1.25rem;font-weight:600}.welcome-text p{margin:0;opacity:.9;font-size:.875rem;line-height:1.5}.welcome-close{position:absolute;top:1rem;right:1rem;background:#fff3;border:none;color:#fff;font-size:1.25rem;width:2rem;height:2rem;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease}.welcome-close:hover{background:#ffffff4d}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.settings-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:2rem;box-shadow:0 2px 10px #0c121c1a}.section-title{margin:0 0 1.5rem;font-size:1.25rem;font-weight:600;color:var(--text-primary);padding-bottom:.75rem;border-bottom:1px solid var(--border-light)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.form-row:last-child{margin-bottom:0}.form-group:last-child{margin-bottom:0}.form-input,.form-select{padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;background:var(--input-bg);color:var(--text-primary);font-size:.875rem;transition:all .2s ease;outline:none}.form-input::placeholder{color:var(--text-tertiary)}.form-input[required]+.form-label:after{content:" *";color:var(--error-color)}.logo-group{margin-bottom:2rem}.logo-upload{display:flex;gap:1.5rem;align-items:flex-start}.logo-preview{flex-shrink:0;width:80px;height:80px;border-radius:12px;overflow:hidden;border:1px solid var(--border-color);background:var(--bg-tertiary)}.logo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;background:var(--bg-quaternary)}.logo-icon{font-size:1.5rem;opacity:.6}.logo-text{font-size:.75rem;color:var(--text-tertiary);text-align:center}.btn-outline:hover{background:var(--primary-color-10)}.btn-text:hover{color:var(--text-secondary);background:var(--bg-tertiary)}@media(max-width:768px){.settings-page{padding:1rem;max-width:100%;width:100%;margin:0}.settings-header{flex-direction:column;gap:1rem;align-items:stretch}.settings-actions{justify-content:flex-end}.form-section{padding:1.5rem}.form-row{grid-template-columns:1fr;gap:1rem}.logo-upload{flex-direction:column;align-items:center;text-align:center}.logo-actions{flex-direction:row;justify-content:center}.settings-title h1{font-size:1.75rem}}@media(max-width:480px){.settings-page{padding:.75rem}.form-section{padding:1rem}.settings-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}@media(prefers-color-scheme:dark){.settings-page{background:var(--bg-primary-dark)}.form-section{background:var(--bg-secondary-dark);border-color:var(--border-color-dark)}.form-input,.form-select{background:var(--input-bg-dark);border-color:var(--border-color-dark);color:var(--text-primary-dark)}.settings-title h1{color:var(--text-primary-dark)}.settings-title p{color:var(--text-secondary-dark)}.section-title{color:var(--text-primary-dark);border-color:var(--border-light-dark)}.form-label{color:var(--text-primary-dark)}}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:500px;max-height:90vh;overflow:hidden;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{padding:2rem 2rem 1rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.5rem;font-weight:600;color:var(--text-primary)}.modal-close-btn{background:none;border:none;font-size:1.5rem;color:var(--text-tertiary);cursor:pointer;padding:.25rem;line-height:1;border-radius:4px;transition:all .2s ease;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.modal-close-btn:hover:not(:disabled){color:var(--text-secondary);background:var(--bg-tertiary)}.modal-close-btn:disabled{opacity:.5;cursor:not-allowed}.create-company-form{padding:2rem;display:flex;flex-direction:column;gap:1.5rem;max-height:calc(90vh - 140px);overflow-y:auto}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-size:.875rem;font-weight:500;color:var(--text-primary);margin:0}.form-input,.form-textarea{padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;background:var(--input-bg);color:var(--text-primary);font-size:.875rem;transition:all .2s ease;outline:none;font-family:inherit}.form-input:focus,.form-textarea:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px var(--primary-color-10)}.form-input.error,.form-textarea.error{border-color:var(--error-color)}.form-input.error:focus,.form-textarea.error:focus{box-shadow:0 0 0 3px #dc26261a}.form-input::placeholder,.form-textarea::placeholder{color:var(--text-tertiary)}.form-textarea{resize:vertical;min-height:80px}.textarea-counter{font-size:.75rem;color:var(--text-tertiary);text-align:right;margin-top:-.25rem}.logo-upload-section{display:flex;gap:1rem;align-items:flex-start}.logo-preview{flex-shrink:0;width:60px;height:60px;border-radius:8px;overflow:hidden;border:1px solid var(--border-color);background:var(--bg-tertiary)}.logo-image{width:100%;height:100%;object-fit:cover;display:block}.logo-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.125rem;background:var(--bg-quaternary)}.logo-icon{font-size:1.25rem;opacity:.6}.logo-text{font-size:.625rem;color:var(--text-tertiary);text-align:center}.logo-actions{display:flex;flex-direction:column;gap:.5rem}.form-error{color:var(--error-color);font-size:.75rem;margin-top:.25rem}.form-error-general{background:#fef2f2;color:var(--error-color);padding:.75rem;border-radius:8px;border:1px solid #fecaca;font-size:.875rem}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end;padding-top:1rem;border-top:1px solid var(--border-color);margin-top:1rem}.btn-primary,.btn-secondary,.btn-outline,.btn-text{padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;outline:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary:hover:not(:disabled){background:var(--bg-quaternary);color:var(--text-primary)}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.btn-outline{background:transparent;color:var(--primary-color);border:1px solid var(--primary-color)}.btn-outline:hover:not(:disabled){background:var(--primary-color-10)}.btn-outline:disabled{opacity:.6;cursor:not-allowed}.btn-text{background:transparent;color:var(--text-tertiary);padding:.5rem .75rem}.btn-text:hover:not(:disabled){color:var(--text-secondary);background:var(--bg-tertiary)}.btn-text:disabled{opacity:.6;cursor:not-allowed}@media(max-width:640px){.modal-content{max-width:calc(100vw - 2rem);margin:1rem}.modal-header{padding:1.5rem 1.5rem 1rem}.modal-header h2{font-size:1.25rem}.create-company-form{padding:1.5rem}.logo-upload-section{flex-direction:column;align-items:center;text-align:center}.logo-actions{flex-direction:row;justify-content:center}.modal-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}.modal-content:focus{outline:none}.tasks-context-dock{padding:4px 0 8px}.tasks-context-dock.collapsed{padding:2px 0 6px}.tasks-context-dock-wrapper{display:flex;justify-content:center}.tasks-context-dock-container{display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid #e5e7eb;background:linear-gradient(90deg,#f9fafbdd,#f3f4ffdd);box-shadow:0 10px 24px #0f172a29;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);max-width:520px;width:100%;justify-content:space-between}.tasks-context-dock-buttons{display:flex;align-items:center;justify-content:center;gap:8px;flex:1}.tasks-context-dock-collapse{border-radius:999px;border:1px solid #e5e7eb;background:#fffd;width:26px;height:22px;display:flex;align-items:center;justify-content:center;font-size:10px;cursor:pointer;transition:all .2s}.tasks-context-dock-collapse:hover{background:#f3f4f6dd;border-color:#cbd5e1}.tasks-context-dock-expand{border-radius:999px;border:1px solid #e5e7eb;background:#fffe;padding:2px 12px;font-size:11px;cursor:pointer;box-shadow:0 6px 18px #0f172a1f;transition:all .2s}.tasks-context-dock-expand:hover{background:#fff;box-shadow:0 8px 22px #0f172a2e}.dock-chip{display:flex;align-items:center;justify-content:center;gap:4px;padding:6px;border-radius:999px;border:1px solid transparent;background:transparent;color:#374151;font-size:16px;cursor:pointer;white-space:nowrap;width:32px;height:32px;transition:all .2s}.dock-chip:hover{background:#f3f4f6;border-color:#e5e7eb}.dock-chip.active{border-color:#ec4899;background:#fdf2ff;color:#be185d;box-shadow:0 0 0 1px #ec48994d}.dock-chip.active:hover{background:#fce7f3;box-shadow:0 0 0 2px #ec489966}.executor-workspace-page{display:flex;flex-direction:column;height:100%}.executor-workspace-container{display:flex;flex:1;min-height:0;max-height:calc(100vh - 100px);padding:16px;gap:16px;overflow:hidden}.executor-list-panel{width:260px;min-width:220px;max-width:320px;max-height:fit-content;border-radius:16px;border:1px solid #e5e7eb;background:#f9fafb;display:flex;flex-direction:column;align-self:flex-start}.executor-list-header{padding:10px 12px 0;font-size:14px;font-weight:600;color:#111827}.executor-list-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px 8px 0}.executor-tab{flex:1;min-width:fit-content;padding:8px 10px;border:none;background:transparent;color:#6b7280;font-size:10px;font-weight:700;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px}.executor-tab:hover{color:#374151;background:#f9fafb99;border-bottom-color:#cbd5e1}.executor-tab.active{color:#2563eb;border-bottom-color:#2563eb;background:linear-gradient(to bottom,#eff6ff,#dbeafe)}.executor-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;background:#e5e7eb;color:#6b7280;border-radius:10px;font-size:10px;font-weight:700}.executor-tab.active .executor-tab-count{background:#3b82f6;color:#fff}.executor-tab-badge{width:6px;height:6px;background:#ef4444;border-radius:50%;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.executor-list-description{padding:4px 8px;font-size:12px;color:#6b7280}.executor-list-body{padding:8px 8px 10px;overflow-y:auto;overflow-x:hidden;max-height:380px}.executor-list-body::-webkit-scrollbar{width:6px}.executor-list-body::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.executor-list-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.executor-list-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.executor-list-empty{font-size:13px;color:#9ca3af}.executor-task-item{width:100%;text-align:left;margin-bottom:4px;padding:6px 8px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;transition:all .2s}.executor-task-item:hover{border-color:#cbd5e1;background:#f8fafc}.executor-task-item.active{border-color:#4a6cf7;background:#eef2ff}.executor-task-item-header{display:flex;justify-content:space-between;align-items:center}.executor-task-item-meta{font-size:12px;color:#6b7280}.executor-task-item-timer{font-size:10px;color:#b91c1c;display:flex;align-items:center;gap:4px}.executor-task-item-timer-dot{width:6px;height:6px;border-radius:50%;background:#ef4444;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.executor-task-item-title{font-size:13px;font-weight:500;margin-top:2px}.executor-task-item-info{font-size:11px;color:#9ca3af;margin-top:2px}.executor-card-panel{flex:1;min-width:0}.executor-card-empty{font-size:14px;color:#9ca3af}.executor-card{border-radius:18px;border:1px solid #e5e7eb;background:#fff;padding:16px;box-shadow:0 8px 24px #0f172a0f;max-height:calc(100vh - 150px);overflow-y:auto;display:flex;flex-direction:column}.executor-card::-webkit-scrollbar{width:6px}.executor-card::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.executor-card::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.executor-card::-webkit-scrollbar-thumb:hover{background:#94a3b8}.executor-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.executor-card-title-section{flex:1}.executor-card-meta{font-size:12px;color:#6b7280}.executor-card-title{margin:4px 0 0;font-size:20px;font-weight:600;color:#111827}.executor-card-controls{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.executor-status-group label{font-size:11px;color:#6b7280;display:flex;flex-direction:column;gap:4px}.executor-status-select{margin-top:4px;padding:4px 8px;border-radius:999px;border:1px solid #e5e7eb;font-size:12px}.executor-priority{font-size:11px;color:#9ca3af}.executor-time-row{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}.executor-time-card{flex:0 0 180px;border-radius:14px;border:1px solid #e5e7eb;background:linear-gradient(135deg,#f9fafb,#fff);padding:12px;transition:all .2s}.executor-time-card:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.executor-time-card.highlight{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:0 4px 12px #3b82f633}.executor-time-label{font-size:11px;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.executor-time-value{margin-top:6px;font-size:20px;font-weight:700;color:#111827}.executor-time-updated{margin-top:4px;font-size:11px;color:#9ca3af}.executor-timer-buttons{display:flex;gap:6px;margin-top:6px}.executor-timer-button{padding:6px 14px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.executor-timer-button:hover:not(:disabled){background:#f9fafb;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.executor-timer-button:disabled{opacity:.5;cursor:not-allowed}.executor-timer-button.start{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-color:#059669}.executor-timer-button.start:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 12px #0596694d}.executor-timer-button.finish{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-color:#dc2626}.executor-timer-button.finish:hover:not(:disabled){background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 12px #dc26264d}.executor-section{margin-top:16px}.executor-section-title{font-size:14px;color:#374151;margin-bottom:8px;font-weight:600}.executor-description-box{padding:12px;border-radius:12px;border:1px dashed #e5e7eb;background:#f9fafb;font-size:13px;color:#9ca3af}.executor-worklog-form{display:flex;gap:8px;align-items:flex-end;margin-bottom:8px;flex-wrap:wrap}.executor-worklog-field{display:flex;flex-direction:column;gap:2px}.executor-worklog-field label{font-size:11px;color:#6b7280}.executor-worklog-hours{width:80px}.executor-worklog-comment{flex:1;min-width:160px}.executor-worklog-list{max-height:160px;overflow-y:auto;border-radius:12px;border:1px solid #e5e7eb;background:#f9fafb;padding:8px;font-size:12px}.executor-worklog-list ul{list-style:none;margin:0;padding:0}.executor-worklog-item{padding:4px 0;border-bottom:1px dashed #e5e7eb}.executor-worklog-item:last-child{border-bottom:none}.executor-worklog-item-header{display:flex;justify-content:space-between;gap:8px}.executor-worklog-item-comment{margin-top:2px;color:#6b7280}.executor-worklog-empty,.executor-worklog-loading{font-size:12px;color:#9ca3af}.executor-description-textarea{width:100%;padding:12px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;font-family:inherit;line-height:1.5;resize:vertical;transition:border-color .2s}.executor-description-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.executor-links-form{display:flex;gap:8px;margin-bottom:12px}.executor-links-form input{flex:1}.executor-links-list{display:flex;flex-direction:column;gap:6px}.executor-link-item{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;gap:12px}.executor-link-item a{flex:1;font-size:12px;color:#3b82f6;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.executor-link-item a:hover{text-decoration:underline}.executor-link-remove{flex-shrink:0;width:24px;height:24px;border:none;background:#fee2e2;color:#dc2626;border-radius:4px;cursor:pointer;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;transition:all .2s}.executor-link-remove:hover{background:#fecaca;transform:scale(1.1)}.executor-comment-form{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.executor-comment-textarea{width:100%;padding:12px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;font-family:inherit;line-height:1.5;resize:vertical;transition:border-color .2s}.executor-comment-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.executor-comment-form button{align-self:flex-start}.executor-comment-placeholder{padding:16px;background:#f9fafb;border:1px dashed #e5e7eb;border-radius:8px;font-size:12px;color:#9ca3af;text-align:center}.executor-subtasks-form{display:flex;gap:8px;margin-bottom:12px}.executor-subtasks-form input{flex:1}.executor-subtasks-list{display:flex;flex-direction:column;gap:6px}.executor-subtask-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s}.executor-subtask-item:hover{background:#f9fafb;border-color:#cbd5e1}.executor-subtask-checkbox{width:18px;height:18px;cursor:pointer;flex-shrink:0;accent-color:#10b981}.executor-subtask-text{flex:1;font-size:13px;color:#374151;line-height:1.5;transition:all .2s}.executor-subtask-text.completed{color:#9ca3af;text-decoration:line-through}.executor-subtask-remove{flex-shrink:0;width:24px;height:24px;border:none;background:transparent;color:#9ca3af;border-radius:4px;cursor:pointer;font-size:20px;font-weight:600;display:flex;align-items:center;justify-content:center;transition:all .2s;opacity:0}.executor-subtask-item:hover .executor-subtask-remove{opacity:1}.executor-subtask-remove:hover{background:#fee2e2;color:#dc2626}.executor-content-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0;margin:16px 0 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;background:linear-gradient(to bottom,#fafbfc,#fff)}.executor-content-tab{flex-shrink:0;padding:10px 16px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;font-size:13px;font-weight:600;cursor:pointer;border-radius:10px;transition:all .2s;display:flex;align-items:center;gap:8px;white-space:nowrap;box-shadow:0 1px 2px #0000000a}.executor-content-tab:hover{color:#374151;background:#f9fafb;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 4px #00000014}.executor-content-tab.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#2563eb;box-shadow:0 4px 12px #3b82f666;transform:translateY(-2px)}.executor-content-tab .executor-tab-count{background:#e5e7eb;color:#6b7280;font-size:9px}.executor-content-tab.active .executor-tab-count{background:#ffffff4d;color:#fff}.tasks-monitor-page{padding:16px}.tasks-monitor-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:16px}.tasks-monitor-title-section h2{margin:0 0 4px;font-size:20px;font-weight:600;color:#111827}.tasks-monitor-title-section p{margin:0;font-size:12px;color:#6b7280;line-height:1.4}.tasks-monitor-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.tasks-monitor-filter-group{display:flex;flex-direction:column;gap:4px}.tasks-monitor-filter-group label{font-size:11px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.tasks-monitor-filter-select{font-size:12px;padding:6px 10px;border-radius:8px;border:1px solid #e5e7eb;min-width:160px}.tasks-monitor-count{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;font-size:12px;font-weight:600;color:#0369a1}.tasks-monitor-count-label{color:#0284c7}.tasks-monitor-table-wrapper{overflow-x:auto;border-radius:12px;border:1px solid #e5e7eb;background:#fff}.tasks-monitor-table{width:100%;border-collapse:collapse;font-size:12px}.tasks-monitor-table thead th{text-align:left;padding:10px 12px;border-bottom:2px solid #e5e7eb;background:#f9fafb;font-weight:600;font-size:11px;color:#374151;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px}.tasks-monitor-table tbody td{padding:10px 12px;border-bottom:1px solid #f3f4f6;font-size:12px;vertical-align:middle}.tasks-monitor-table tbody tr:hover{background:#f9fafb}.tasks-monitor-table tbody tr:last-child td{border-bottom:none}.tasks-monitor-empty{padding:24px;text-align:center;color:#9ca3af;font-size:13px}.monitor-status{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.monitor-status-todo{background:#f3f4f6;color:#6b7280}.monitor-status-in_progress{background:#dbeafe;color:#1e40af}.monitor-status-review{background:#fef3c7;color:#92400e}.monitor-status-completed{background:#d1fae5;color:#065f46}.monitor-status-blocked{background:#fee2e2;color:#991b1b}.monitor-priority{display:inline-block;padding:2px 8px;border-radius:6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.monitor-priority-low{background:#f3f4f6;color:#6b7280}.monitor-priority-medium{background:#dbeafe;color:#1e40af}.monitor-priority-high{background:#fed7aa;color:#9a3412}.monitor-priority-urgent{background:#fecaca;color:#991b1b}.monitor-norm-input{width:70px;font-size:12px;padding:4px 8px;border-radius:6px;border:1px solid #e5e7eb;text-align:center}.monitor-norm-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.monitor-cell-assignee{font-size:11px;color:#6b7280}.monitor-cell-hours{font-weight:600;color:#374151}:root{--dept-gap: 16px;--panel-bg: #fff;--panel-border: var(--divider);--panel-radius: 12px}.departments-page{display:grid;grid-template-columns:240px 1fr;gap:var(--dept-gap);align-items:start}.dept-mobile-selector{display:none;margin-bottom:10px}.dept-sidebar{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);padding:12px;position:sticky;top:16px;height:200px;max-height:200px;display:flex;flex-direction:column;overflow:hidden}.dept-sidebar .sidebar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-shrink:0}.dept-sidebar .sidebar-head h2{font-size:14px;font-weight:600}.dept-sidebar .sidebar-head button{font-size:12px;padding:6px 10px}.dept-list{list-style:none;margin:0;padding:0 4px 0 0;display:flex;flex-direction:column;gap:6px;overflow-y:auto;flex:1;min-height:0}.dept-list::-webkit-scrollbar{width:6px}.dept-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.dept-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.dept-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.dept-item{width:100%;text-align:left;padding:6px 8px;border-radius:6px;border:1px solid var(--divider);background:#fff;cursor:pointer;font-size:12px;transition:all .15s ease}.dept-item:hover{background:#f8fafc;border-color:#94a3b8}.dept-item.active{border-color:var(--focus);background:#f0f4ff}.dept-content{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);padding:12px;height:200px;max-height:200px;display:flex;flex-direction:column;overflow:hidden}.dept-sections-full-width{grid-column:1 / -1;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);padding:16px;margin-top:16px}.dept-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;flex-shrink:0}.dept-header .title-input{font-size:18px;font-weight:700;padding:8px;max-width:480px}.panel{border:1px solid var(--panel-border);border-radius:var(--panel-radius);padding:16px;background:#fff}.panel+.panel{margin-top:12px}.panel h3{margin:0 0 12px;font-size:16px;font-weight:600;color:#1f2937}.panel h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#374151}.panel{overflow:hidden}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.function-list{display:flex;flex-direction:column;gap:16px}.function-card{padding:16px;border-left:3px solid #3b82f6;background:#fafbfc}.function-header{display:grid;grid-template-columns:1fr 280px auto;gap:12px;align-items:center}.function-title{font-size:17px;font-weight:600;margin-bottom:6px;color:#1f2937}.function-meta{font-size:13px;color:#6b7280;line-height:1.5}.section-actions{display:flex;gap:8px}.section-title{font-size:18px;font-weight:600;color:#111827;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid #e5e7eb}.section-subtitle{font-size:15px;font-weight:600;color:#374151;margin:16px 0 12px}.kanban-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.kanban-col{background:#fafbfc;border:1px solid #e5e7eb;border-radius:8px;padding:10px;min-height:120px}.kanban-col-header{font-weight:600;font-size:13px;color:#374151;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #e5e7eb}.kanban-col.drag-over{background:#f8fafc;border-color:var(--focus)}.kanban-empty{color:#6b7280;font-size:12px;padding:8px;border:1px dashed var(--divider);border-radius:8px;text-align:center}.kanban-tip{font-size:12px;color:#64748b;background:#f1f5f9;border:1px solid var(--divider);border-radius:8px;padding:8px;margin-bottom:10px}.task-card{border:1px solid #e5e7eb;border-radius:8px;padding:12px;cursor:grab;-webkit-user-select:none;user-select:none;background:#fff;line-height:1.5}.task-card:active{cursor:grabbing}.task-card>div:first-child{font-weight:600;color:#1f2937;margin-bottom:6px}.op-card{border:1px solid var(--divider);border-radius:8px;padding:8px;cursor:grab;-webkit-user-select:none;user-select:none}.task-meta{font-size:12px;color:#6b7280;margin-top:4px}.status-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.3px}.status-todo{background:#f3f4f6;color:#4b5563}.status-in-progress{background:#dbeafe;color:#1e40af}.status-review{background:#fef3c7;color:#92400e}.status-completed{background:#d1fae5;color:#065f46}.status-blocked{background:#fee2e2;color:#991b1b}.priority-low{color:#6b7280}.priority-medium{color:#2563eb}.priority-high{color:#ea580c;font-weight:600}.priority-urgent{color:#dc2626;font-weight:600}.import-box{border:1px dashed var(--divider);border-radius:8px;padding:12px;flex-shrink:0}.import-head{display:flex;justify-content:space-between;align-items:center}.dept-create-form{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;min-width:400px;max-width:500px}.dept-create-overlay{position:fixed;inset:0;background:#00000080;z-index:9998}.dept-create-form h3{font-size:18px;font-weight:700;color:#111827;margin:0 0 16px}.summary-step{grid-template-columns:minmax(0,1fr)}.summary-block{min-width:0}@media(min-width:1100px){.summary-step{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:flex-start}.summary-step>.summary-block:nth-of-type(1),.summary-step>.summary-block:nth-of-type(2),.summary-step>.summary-block:nth-of-type(3){grid-column:1 / 2}.summary-step>.summary-block:nth-of-type(4),.summary-step>.summary-block:nth-of-type(5),.summary-step>.summary-block:nth-of-type(6){grid-column:2 / 3}}.summary-table{border-collapse:collapse;table-layout:fixed!important}.summary-table th,.summary-table td{padding:8px;border:1px solid #e5e7eb;vertical-align:top;overflow-wrap:break-word}.summary-table thead th{background:#f9fafb;font-weight:600;color:#374151;text-align:left}.summary-table tbody tr:hover{background:#f9fafb}@media(max-width:900px){.departments-page{grid-template-columns:1fr}.dept-mobile-selector{display:block}.dept-sidebar{display:none}.grid-2,.function-header,.kanban-grid{grid-template-columns:1fr}}.analytics-page{padding:16px;max-width:100%}.ana-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:16px}.ana-header-left{flex:1}.ana-header h1{margin:0 0 4px;font-size:22px;font-weight:600;color:#1f2937}.ana-header p{margin:0;font-size:13px;color:#6b7280}.ana-header-filters{display:flex;gap:8px;align-items:center;flex-shrink:0}.ana-header-filters .form-label{margin:0;font-size:12px;font-weight:500;color:#6b7280}.ana-header-filters .form-select,.ana-header-filters .form-input{font-size:13px;padding:5px 8px}.ana-header-filters .form-select{max-width:180px}.ana-header-filters .form-input{max-width:130px}.ana-tabs{display:flex;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:16px;position:sticky;top:0;background:#fff;z-index:10;padding:4px 0}.ana-tab{padding:8px 14px;background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:13px;font-weight:500;color:#6b7280;transition:color .15s,border-color .15s;white-space:nowrap}.ana-tab:hover{color:#374151}.ana-tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.ana-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.ana-actions .btn-secondary{font-size:12px;padding:5px 10px}.ana-empty{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:32px;text-align:center;color:#6b7280;font-size:14px;margin-top:12px}.ana-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:12px 0}.kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;box-shadow:0 1px 2px #0000000a}.kpi-value{font-size:18px;font-weight:600;color:#1f2937;margin-bottom:2px}.kpi-label{font-size:11px;color:#6b7280;line-height:1.3}.ana-sla,.ana-priorities,.ana-trend,.ana-timeline,.ana-summary,.ana-projects,.ana-employees,.ana-functions{margin-bottom:20px}.ana-sla h3,.ana-priorities h3,.ana-trend h3,.ana-timeline h3,.ana-summary h3,.ana-projects h3,.ana-employees h3,.ana-functions h3{margin:0 0 10px;font-size:15px;font-weight:600;color:#1f2937}.ana-employees h4{margin:12px 0 8px;font-size:14px;font-weight:600;color:#1f2937}.fn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.fn-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;cursor:pointer;transition:all .15s}.fn-card:hover{border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a}.fn-card.open{border-color:#3b82f6;background:#f0f9ff}.fn-title{font-weight:600;font-size:13px;color:#1f2937;margin-bottom:6px}.fn-metrics{display:flex;flex-direction:column;gap:3px;color:#6b7280;font-size:12px}.fn-metrics span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fn-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:6px;margin-top:8px}.fn-status-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;padding:6px 8px;text-align:center}.fn-status-title{font-weight:600;font-size:10px;color:#6b7280;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fn-status-count{font-size:14px;font-weight:600;color:#1f2937}.prio-list{display:flex;flex-direction:column;gap:8px}.prio-row{display:grid;grid-template-columns:90px 1fr 100px;align-items:center;gap:12px;padding:6px 8px;background:#f9fafb;border-radius:6px}.prio-label{font-size:12px;font-weight:500;color:#374151}.prio-bar{height:16px;background:#e5e7eb;border-radius:8px;overflow:hidden;position:relative}.prio-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .3s;border-radius:8px}.prio-meta{font-size:11px;color:#6b7280;text-align:right;white-space:nowrap}.trend-bars{display:flex;gap:6px;align-items:flex-end;height:100px;padding:12px 8px 8px;background:#f9fafb;border-radius:8px}.trend-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.trend-bar{width:100%;background:linear-gradient(180deg,#3b82f6,#60a5fa);border-radius:3px 3px 0 0;min-height:3px;transition:height .3s}.trend-label{font-size:10px;color:#6b7280;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.timeline{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:12px}.timeline-controls{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.tl-chip{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:16px;font-size:12px;cursor:pointer;transition:all .15s}.tl-chip:hover{background:#e5e7eb}.tl-chip input[type=checkbox]{margin:0}.tl-chip span{color:#374151}.tl-header{position:relative;height:16px;margin-bottom:6px}.tl-mark{position:absolute;top:0;transform:translate(-50%);font-size:10px;color:#6b7280}.tl-rows{display:flex;flex-direction:column;gap:4px}.tl-row{position:relative;height:22px;border:1px solid #e5e7eb;border-radius:6px;background:#fafbfc}.tl-bar{position:absolute;top:1px;bottom:1px;border-radius:5px;opacity:.8}.tl-label{position:absolute;top:50%;left:6px;transform:translateY(-50%);font-size:11px;color:#1f2937;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50%;z-index:1;pointer-events:none}.summary-table{border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto;background:#fff;font-size:12px}.sum-row{display:grid;grid-template-columns:2fr repeat(7,1fr);gap:0;min-width:900px}.sum-row>div{padding:8px 10px;border-bottom:1px solid #f3f4f6;font-size:12px}.sum-row:last-child>div{border-bottom:none}.sum-row.header{background:#f9fafb;font-weight:600;color:#374151;font-size:11px}.sum-row.footer{background:#f9fafb;font-weight:600;border-top:2px solid #e5e7eb;font-size:12px}.sum-row.footer>div{white-space:normal;line-height:1.4}@media(max-width:900px){.ana-kpis{grid-template-columns:repeat(2,1fr)}.fn-grid{grid-template-columns:1fr}.sum-row{grid-template-columns:1.2fr repeat(7,.8fr);font-size:12px}.ana-filters{flex-direction:column;align-items:stretch}.ana-filters .form-select{max-width:none}}.views-page{padding:16px}.views-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.views-header h2{margin:0;font-size:20px;font-weight:600}.views-tabs{display:flex;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:16px;position:sticky;top:0;background:#fff;z-index:10}.views-tab{padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-size:13px;font-weight:500;color:#6b7280;transition:all .15s}.views-tab:hover{color:#374151;background:#f9fafb}.views-tab.active{color:#2563eb;border-bottom-color:#2563eb}.views-info{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:12px;background:#f9fafb;border-radius:8px;font-size:12px;color:#6b7280}.views-stat{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#fff;border-radius:6px;font-weight:500;color:#374151}.views-stat-label{color:#9ca3af}.views-stat-value{color:#111827;font-weight:600}.tabs-container{display:flex;flex-direction:column;width:100%}.tabs-header{display:flex;gap:4px;border-bottom:1px solid var(--divider);margin-bottom:16px;overflow-x:auto;scrollbar-width:thin}.tab-button{background:none;border:none;padding:12px 16px;font-size:14px;font-weight:500;color:var(--muted);cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent;transition:all .2s}.tab-button:hover{color:var(--text);background:#5b8def0d}.tab-button.active{color:var(--focus);border-bottom-color:var(--focus)}.tabs-content{flex:1}.chart-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e7eb;transition:box-shadow .2s}.chart-card:hover{box-shadow:0 4px 12px #0000001f}.chart-card.full-width{grid-column:1 / -1}.chart-card-header{margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #f3f4f6}.chart-title{margin:0;font-size:16px;font-weight:600;color:#1f2937}.chart-subtitle{margin:4px 0 0;font-size:13px;color:#6b7280}.chart-card-body{min-height:300px;display:flex;align-items:center;justify-content:center}@media(max-width:768px){.chart-card{padding:16px}.chart-card-body{min-height:250px}.chart-title{font-size:14px}.chart-subtitle{font-size:12px}}.budget-assignment{display:flex;flex-direction:column;gap:24px}.ba-header{display:flex;flex-direction:column;gap:8px}.ba-header h2{margin:0;font-size:24px;font-weight:600}.ba-office{color:var(--muted);font-size:14px}.ba-periods{display:flex;gap:16px;font-size:14px}.ba-periods .period{padding:4px 12px;background:#f8fafc;border-radius:6px;color:var(--muted)}.ba-periods .period.current{background:#5b8def1a;color:var(--focus);font-weight:500}.ba-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.kpi-card{background:#fff;border:1px solid var(--divider);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px}.kpi-label{font-size:12px;color:var(--muted);font-weight:500;text-transform:uppercase}.kpi-value{font-size:24px;font-weight:600;color:var(--text)}.kpi-change{font-size:14px;font-weight:500}.kpi-change.positive{color:#10b981}.kpi-change.negative{color:#ef4444}.ba-section{background:#fff;border:1px solid var(--divider);border-radius:12px;padding:20px}.ba-section h3{margin:0 0 16px;font-size:18px;font-weight:600}.ba-table{width:100%;border-collapse:collapse;font-size:14px}.ba-table thead{background:#f8fafc}.ba-table th{text-align:left;padding:12px;font-weight:600;color:var(--text);border-bottom:2px solid var(--divider)}.ba-table td{padding:12px;border-bottom:1px solid var(--divider)}.ba-table tbody tr:last-child td{border-bottom:none}.ba-table tbody tr:hover{background-color:#f9fafb}.ba-table td.positive{color:#10b981;font-weight:500}.ba-table td.negative{color:#ef4444;font-weight:500}@media(max-width:768px){.ba-kpis{grid-template-columns:1fr}.ba-table{font-size:12px}.ba-table th,.ba-table td{padding:8px}.kpi-value{font-size:20px}}.personnel{display:flex;flex-direction:column;gap:24px}.personnel-header{display:flex;flex-direction:column;gap:12px}.personnel-header h2{margin:0;font-size:24px;font-weight:600}.personnel-summary{display:flex;gap:24px;flex-wrap:wrap}.summary-item{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f8fafc;border-radius:8px}.summary-label{font-size:14px;color:var(--muted)}.summary-value{font-size:16px;font-weight:600;color:var(--text)}.summary-value.warning{color:#f59e0b}.summary-value.success{color:#10b981}.personnel-section{background:#fff;border:1px solid var(--divider);border-radius:12px;padding:20px}.personnel-section h3{margin:0 0 16px;font-size:18px;font-weight:600}.wtf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.wtf-card{background:#f8fafc;border:1px solid var(--divider);border-radius:8px;padding:16px}.wtf-title{font-weight:600;margin-bottom:12px;color:var(--text)}.wtf-items{display:flex;flex-direction:column;gap:8px}.wtf-item{display:flex;justify-content:space-between;font-size:14px;padding:6px 0;border-bottom:1px solid #e5e7eb}.wtf-item:last-child{border-bottom:none}.wtf-item.total{margin-top:8px;padding-top:12px;border-top:2px solid var(--divider);font-weight:600}.wtf-item span{color:var(--muted)}.wtf-item strong{color:var(--text)}.table-wrapper{overflow-x:auto}.personnel-table{width:100%;border-collapse:collapse;font-size:14px}.personnel-table thead{background:#f8fafc}.personnel-table th{text-align:left;padding:12px;font-weight:600;color:var(--text);border-bottom:2px solid var(--divider);white-space:nowrap}.personnel-table td{padding:12px;border-bottom:1px solid var(--divider)}.personnel-table tbody tr:last-child td{border-bottom:none}.personnel-table tbody tr:hover{background:#f8fafc}.personnel-table td.positive{color:#10b981;font-weight:500}.personnel-table td.negative{color:#ef4444;font-weight:500}.status-badge.idle{background:#fef3c7;color:#92400e}.status-badge.normal{background:#d1fae5;color:#065f46}.status-badge.overload{background-color:#fee2e2;color:#991b1b}.status-badge.available{background:#d1fae5;color:#065f46}.status-badge.unavailable{background:#e5e7eb;color:#374151}.status-badge.terminated{background:#e5e7eb;color:#6b7280}.status-badge.secondary{background:#dbeafe;color:#1e40af}@media(max-width:768px){.wtf-grid{grid-template-columns:1fr}.personnel-summary{flex-direction:column;gap:8px}.personnel-table{font-size:12px}.personnel-table th,.personnel-table td{padding:8px}}.sales-journal{display:flex;flex-direction:column;gap:20px}.sj-header h2{margin:0 0 16px;font-size:24px;font-weight:600}.sj-summary{display:flex;gap:24px;flex-wrap:wrap}.sj-stat{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f8fafc;border-radius:8px}.stat-label{font-size:14px;color:var(--muted)}.stat-value{font-size:16px;font-weight:600;color:var(--text)}.sj-filters{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#fff;border:1px solid var(--divider);border-radius:8px;flex-wrap:wrap}.filter-label{font-weight:500;color:var(--text)}.filter-checkbox{display:flex;align-items:center;gap:6px;cursor:pointer;-webkit-user-select:none;user-select:none}.filter-checkbox input[type=checkbox]{cursor:pointer}.filter-results{margin-left:auto;font-size:14px;color:var(--muted)}.sj-table-wrapper{overflow-x:auto;background:#fff;border:1px solid var(--divider);border-radius:12px}.sj-table{width:100%;border-collapse:collapse;font-size:14px}.sj-table thead{background:#f8fafc;position:sticky;top:0}.sj-table th{text-align:left;padding:12px;font-weight:600;color:var(--text);border-bottom:2px solid var(--divider);white-space:nowrap}.sj-table td{padding:12px;border-bottom:1px solid var(--divider)}.sj-table tbody tr:last-child td{border-bottom:none}.sj-table tbody tr:hover{background:#f8fafc}.sj-table td.project-name{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sj-table td.price{font-weight:500;text-align:right}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;white-space:nowrap}.status-badge.закрыт{background:#d1fae5;color:#065f46}.status-badge.в.работе,.status-badge.в{background:#dbeafe;color:#1e40af}.status-badge.планируется{background:#fef3c7;color:#92400e}.status-badge.отменен{background:#fee2e2;color:#991b1b}.sj-empty{padding:40px;text-align:center;color:var(--muted);background:#f8fafc;border-radius:8px}.charts-section{margin-bottom:32px}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:20px}@media(max-width:768px){.sj-summary{flex-direction:column;gap:8px}.sj-filters{flex-direction:column;align-items:flex-start}.filter-results{margin-left:0}.sj-table{font-size:12px}.sj-table th,.sj-table td{padding:8px}}.sales-analytics{padding:24px}.sales-analytics-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.sales-analytics-header h2{margin:0;font-size:24px;font-weight:600;color:#1a1a1a}.analytics-section,.charts-section{margin-bottom:32px}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:20px;margin-bottom:24px}@media(max-width:1024px){.charts-grid{grid-template-columns:1fr}}.analytics-section h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#374151}.analytics-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.analytics-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.analytics-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;white-space:nowrap}.analytics-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#1f2937}.analytics-table tbody tr:hover{background:#f9fafb}.analytics-table tbody tr:last-child td{border-bottom:none}.group-row{background:#fef3c7!important;font-weight:600}.group-row:hover{background:#fde68a!important}.group-name{color:#92400e;font-weight:600}.currency{text-align:right;font-family:Courier New,monospace;color:#1f2937}.percent{text-align:center;color:#6b7280}.percent.positive{color:#059669;font-weight:600}.kpi-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:24px}.kpi-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:20px;color:#fff;box-shadow:0 4px 6px #0000001a}.kpi-label{font-size:14px;opacity:.9;margin-bottom:8px}.kpi-value{font-size:24px;font-weight:700}@media(max-width:768px){.sales-analytics{padding:16px}.sales-analytics-header{flex-direction:column;align-items:flex-start;gap:12px}.office-info{flex-direction:column;gap:8px;align-items:flex-start}.analytics-table{font-size:12px}.analytics-table th,.analytics-table td{padding:8px 12px}.kpi-cards{grid-template-columns:1fr 1fr}.kpi-value{font-size:20px}}.sales-volume{padding:24px}.sales-volume-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.sales-volume-header h2{margin:0;font-size:24px;font-weight:600;color:#1a1a1a}.period-info{display:flex;gap:16px;align-items:center}.volume-section,.charts-section{margin-bottom:32px}.volume-section h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#374151}.volume-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.volume-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.volume-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;white-space:nowrap}.volume-table .sub-header th{background:#f3f4f6;font-size:12px;padding:8px 16px;border-top:1px solid #e5e7eb}.volume-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#1f2937}.volume-table tbody tr:hover{background:#f9fafb}.volume-table tbody tr:last-child td{border-bottom:none}.group-row{background:#dbeafe!important;font-weight:600}.group-row:hover{background:#bfdbfe!important}.group-name{color:#1e40af;font-weight:600}.service-name{color:#1f2937;max-width:300px}.roi{text-align:center;color:#6b7280;font-weight:500}.value{text-align:center;font-family:Courier New,monospace;color:#1f2937;font-weight:500}.volume{text-align:center;color:#6b7280;font-size:13px}.change{text-align:center;font-weight:600;font-size:15px}.change.positive{color:#059669}.change.negative{color:#dc2626}.change.neutral{color:#6b7280}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:24px}.summary-card{background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:12px;padding:20px;color:#fff;box-shadow:0 4px 6px #0000001a}.summary-card.highlight{background:linear-gradient(135deg,#10b981,#059669)}@media(max-width:768px){.sales-volume{padding:16px}.sales-volume-header{flex-direction:column;align-items:flex-start;gap:12px}.period-info{flex-direction:column;gap:8px;align-items:flex-start}.volume-table{font-size:12px}.volume-table th,.volume-table td{padding:8px 12px}.summary-cards{grid-template-columns:1fr}.summary-value{font-size:24px}}.placeholder-section{padding:24px;background:linear-gradient(135deg,#f9fafb,#fff);min-height:400px}.placeholder-header{position:relative;margin-bottom:32px;padding-bottom:20px;border-bottom:2px solid #e5e7eb}.placeholder-header h2{margin:0 0 12px;font-size:28px;font-weight:700;color:#1f2937}.placeholder-description{margin:0;font-size:16px;color:#6b7280;line-height:1.6}.placeholder-badge{display:inline-block;margin-top:12px;padding:6px 16px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;font-size:13px;font-weight:600;border-radius:20px;box-shadow:0 2px 4px #f59e0b4d}.data-preview{margin-bottom:32px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000d}.data-preview h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#374151}.preview-table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.preview-table{width:100%;border-collapse:collapse;font-size:14px}.preview-table thead{background:#f3f4f6;border-bottom:2px solid #d1d5db}.preview-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;white-space:nowrap}.preview-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#1f2937}.preview-table tbody tr:hover{background:#fafafa}.preview-table tbody tr:last-child td{border-bottom:none}.future-features{margin-bottom:32px;background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000d}.future-features h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#374151}.future-features ul{margin:0;padding-left:24px}.future-features li{margin-bottom:10px;color:#4b5563;line-height:1.6}.future-features li:last-child{margin-bottom:0}.placeholder-note{background:#eff6ff;border-left:4px solid #3b82f6;border-radius:8px;padding:16px 20px}.placeholder-note p{margin:0;font-size:14px;color:#1e40af;line-height:1.6}.placeholder-note strong{color:#1e3a8a}@media(max-width:768px){.placeholder-section{padding:16px}.placeholder-header h2{font-size:22px}.placeholder-description{font-size:14px}.preview-table{font-size:12px}.preview-table th,.preview-table td{padding:8px 12px}.data-preview,.future-features{padding:16px}}.labor-costs{padding:24px}.labor-costs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.labor-costs-header h2{margin:0;font-size:24px;font-weight:600;color:#1a1a1a}.office-info{display:flex;gap:16px;align-items:center}.office-name{font-size:16px;font-weight:500;color:#4b5563}.year{font-size:14px;color:#6b7280;background:#f3f4f6;padding:4px 12px;border-radius:12px}.labor-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:32px}.summary-card{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-radius:12px;padding:20px;color:#fff;box-shadow:0 4px 6px #8b5cf633}.summary-label{font-size:14px;opacity:.9;margin-bottom:8px}.summary-value{font-size:28px;font-weight:700}.labor-section,.charts-section{margin-bottom:32px}.charts-section h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#374151}.labor-section h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#374151}.table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.labor-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}.labor-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.labor-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;white-space:nowrap}.labor-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#1f2937}.labor-table tbody tr:last-child td{border-bottom:none}.labor-table tfoot{background:#fef3c7;font-weight:600;border-top:2px solid #fbbf24}.labor-table tfoot td{border-bottom:none}.position-name{font-weight:500;color:#1f2937}.service-group{color:#6b7280}.product{color:#4b5563}.hours{text-align:right;font-family:Courier New,monospace;font-weight:500;color:#7c3aed}.percent{text-align:center;font-weight:500;color:#059669}.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.service-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e7eb;transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.service-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.service-card-header h4{margin:0;font-size:16px;font-weight:600;color:#1f2937}.service-badge{font-size:11px;padding:4px 10px;background:#dbeafe;color:#1e40af;border-radius:12px;font-weight:600}.service-card-body{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.service-stat{display:flex;justify-content:space-between;align-items:center}.stat-label{font-size:13px;color:#6b7280}.stat-value{font-size:16px;font-weight:600;color:#1f2937}.service-card-progress{height:8px;background:#f3f4f6;border-radius:4px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#8b5cf6,#7c3aed);transition:width .3s ease}@media(max-width:768px){.labor-costs{padding:16px}.labor-costs-header{flex-direction:column;align-items:flex-start;gap:12px}.office-info{flex-direction:column;gap:8px;align-items:flex-start}.labor-summary{grid-template-columns:1fr}.summary-value{font-size:24px}.labor-table{font-size:12px}.labor-table th,.labor-table td{padding:8px 12px}.services-grid{grid-template-columns:1fr}}.budget-page{padding:16px}.budget-header{margin-bottom:16px}.budget-header h1{margin:0 0 4px}.budget-header p{margin:0;color:var(--muted);font-size:14px}.section-panel{padding:16px}.section-header h2{margin:0 0 8px}.section-desc{color:var(--muted);margin:0 0 16px;font-size:14px}.section-body{display:grid;grid-template-columns:1fr 1fr;gap:16px}.todo-block{background:#f8fafc;border:1px dashed var(--divider);border-radius:8px;padding:16px}.todo-title{font-weight:600;margin-bottom:8px}.placeholder{display:flex;align-items:center;justify-content:center;border:1px dashed var(--divider);border-radius:8px;min-height:200px;color:var(--muted);text-align:center;padding:20px}@media(max-width:900px){.section-body{grid-template-columns:1fr}}.labor-page{padding:16px}.labor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.labor-header h2{margin:0;font-size:20px;font-weight:600}.labor-header p{margin:4px 0 0;color:#6b7280;font-size:12px}.labor-filters{display:flex;gap:12px;margin-bottom:12px;flex-wrap:wrap;align-items:flex-end}.labor-filter-item{display:flex;flex-direction:column;gap:4px}.labor-filter-item label{font-size:11px;font-weight:500;color:#374151}.labor-tabs{display:flex;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:16px;position:sticky;top:0;background:#fff;z-index:10}.labor-tab{padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-size:13px;font-weight:500;color:#6b7280;transition:all .15s}.labor-tab:hover{color:#374151;background:#f9fafb}.labor-tab.active{color:#2563eb;border-bottom-color:#2563eb}.labor-section{margin-bottom:20px}.labor-section-header{margin:0 0 8px;font-size:15px;font-weight:600;color:#111827}.labor-section-desc{margin:0 0 12px;font-size:12px;color:#6b7280;line-height:1.4}.labor-section-controls{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.labor-section-label{font-size:12px;color:#6b7280;font-weight:500}.labor-table-wrapper{overflow-x:auto;margin-bottom:16px}.labor-table{width:100%;border-collapse:collapse;font-size:12px}.labor-table thead th{text-align:left;padding:8px 10px;border-bottom:1px solid #e5e7eb;background:#f9fafb;font-weight:600;font-size:11px;color:#374151;white-space:nowrap}.labor-table tbody td{padding:6px 8px;border-bottom:1px solid #f3f4f6;font-size:12px;vertical-align:middle}.labor-table tbody tr:hover{background:#f9fafb}.labor-table input.form-input,.labor-table select.form-select{font-size:11px;padding:4px 6px;min-width:80px}.labor-table button{font-size:11px;padding:4px 8px}.labor-empty{padding:16px;text-align:center;color:#9ca3af;font-size:12px;background:#f9fafb;border-radius:6px}.labor-add-btn{margin-top:8px}.methodology-page{padding:16px}.methodology-header{margin-bottom:16px}.methodology-header h2{margin:0 0 4px;font-size:20px;font-weight:600}.methodology-header p{margin:0;color:#6b7280;font-size:12px;line-height:1.5}.methodology-tabs{display:flex;gap:4px;border-bottom:2px solid #e5e7eb;margin-bottom:16px;position:sticky;top:0;background:#fff;z-index:10}.methodology-tab{padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-size:13px;font-weight:500;color:#6b7280;transition:all .15s}.methodology-tab:hover{color:#374151;background:#f9fafb}.methodology-tab.active{color:#2563eb;border-bottom-color:#2563eb}.methodology-section{margin-bottom:20px}.methodology-section-header{margin:0 0 8px;font-size:15px;font-weight:600;color:#111827}.methodology-section-desc{margin:0 0 12px;font-size:12px;color:#6b7280;line-height:1.5}.methodology-table-wrapper{overflow-x:auto;margin-top:12px}.methodology-table{width:100%;border-collapse:collapse;font-size:12px}.methodology-table thead th{text-align:left;padding:8px 10px;border-bottom:1px solid #e5e7eb;background:#f9fafb;font-weight:600;font-size:11px;color:#374151;white-space:nowrap}.methodology-table tbody td{padding:6px 8px;border-bottom:1px solid #f3f4f6;font-size:12px;vertical-align:middle}.methodology-table tbody tr:hover{background:#f9fafb}.methodology-badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.methodology-badge-yes{background:#d1fae5;color:#065f46}.methodology-badge-no{background:#f3f4f6;color:#6b7280}.methodology-stat{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 6px;background:#eff6ff;color:#1e40af;border-radius:6px;font-size:11px;font-weight:600}.methodology-stat-zero{background:#f3f4f6;color:#9ca3af}.finance-container{padding:16px;max-width:100%}.finance-header{margin-bottom:20px}.finance-title{margin:0 0 6px;font-size:22px;font-weight:600;color:#1f2937}.finance-subtitle{margin:0;font-size:13px;color:#6b7280;line-height:1.5}.finance-tabs{display:flex;gap:4px;border-bottom:1px solid #e5e7eb;margin-bottom:20px}.finance-tab{padding:10px 16px;background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:14px;font-weight:500;color:#6b7280;transition:color .15s,border-color .15s}.finance-tab:hover{color:#374151}.finance-tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.finance-section{margin-bottom:28px}.finance-section-title{margin:0 0 10px;font-size:17px;font-weight:600;color:#1f2937;padding-bottom:8px;border-bottom:1px solid #e5e7eb}.finance-section-description{margin:0 0 12px;font-size:12px;color:#6b7280;line-height:1.5}.finance-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.finance-card{padding:14px 16px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 1px 2px #0000000a}.finance-card-title{font-size:13px;font-weight:600;color:#4b5563;margin-bottom:10px}.finance-card-row{font-size:13px;color:#374151;line-height:1.6;margin-bottom:4px}.finance-card-row:last-child{margin-bottom:0}.finance-card-row b{font-weight:600;color:#1f2937}.finance-card-note{margin-top:8px;padding-top:8px;border-top:1px solid #f3f4f6;font-size:12px;color:#6b7280}.finance-table-wrapper{overflow-x:auto;margin-top:12px;border-radius:8px;border:1px solid #e5e7eb}.finance-table{width:100%;border-collapse:collapse;font-size:13px}.finance-table thead{background:#f9fafb}.finance-table th{text-align:left;padding:10px 12px;border-bottom:2px solid #e5e7eb;font-weight:600;color:#374151;font-size:12px;white-space:nowrap}.finance-table td{padding:10px 12px;border-bottom:1px solid #f3f4f6;color:#374151;white-space:nowrap}.finance-table tbody tr:last-child td{border-bottom:none}.finance-table tbody tr:hover{background:#fafbfc}.finance-table tfoot td{padding:10px 12px;border-top:2px solid #e5e7eb;font-weight:600;background:#f9fafb}.deal-status{display:inline-block;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:500}.deal-status.new{background:#e0f2fe;color:#0369a1}.deal-status.in-progress{background:#fef3c7;color:#d97706}.deal-status.prepay{background:#dbeafe;color:#1e40af}.deal-status.docs{background:#e0e7ff;color:#4338ca}.value-positive{color:#059669;font-weight:600}.value-negative{color:#dc2626;font-weight:600}.finance-nav-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.finance-header .finance-nav-buttons{margin-top:0}.finance-nav-links{display:flex;gap:16px;align-items:center}.finance-nav-link{font-size:13px;color:#6b7280;text-decoration:none;padding:6px 12px;border-radius:6px;transition:all .15s;white-space:nowrap;border:1px solid transparent}.finance-nav-link:hover{color:#3b82f6;background:#f0f9ff;border-color:#bfdbfe}.finance-value-compact{display:inline-block;min-width:100px;text-align:right}.project-sidebar{position:relative;width:300px;background:#fff;border-radius:16px;box-shadow:0 8px 24px #0c121c1f;transition:width .3s ease;overflow:visible;display:flex;flex-direction:column;z-index:10}.project-sidebar.collapsed{width:80px}.collapse-toggle{position:absolute;top:16px;right:-12px;width:24px;height:24px;background:var(--focus);border:2px solid #fff;border-radius:50%;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #5b8def4d;transition:all .2s ease;z-index:20}.collapse-toggle:hover{transform:scale(1.1);box-shadow:0 6px 16px #5b8def66}.create-avatar{background:linear-gradient(135deg,var(--focus) 0%,#4f46e5 100%)!important;border-radius:50%!important}.create-icon{font-size:20px;line-height:1;font-weight:300}.projects-list{padding:16px 16px 16px 12px;display:flex;flex-direction:column;gap:12px}.project-item{position:relative;display:flex;align-items:center;gap:12px;transition:all .2s ease}.project-item.active .project-icon .project-avatar{background:var(--focus);color:#fff;box-shadow:0 0 0 3px #5b8def33}.project-icon{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.project-icon:hover{transform:scale(1.05)}.project-avatar{width:48px;height:48px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px;transition:all .2s ease}.project-info{flex:1;opacity:1;transition:opacity .2s ease}.collapsed .project-info{opacity:0;pointer-events:none}.project-name{font-weight:600;color:var(--text);margin-bottom:4px}.project-desc{font-size:12px;color:var(--muted)}.project-tooltip{position:absolute;left:100%;top:50%;transform:translateY(-50%);margin-left:16px;background:#1a1a1a;color:#fff;padding:12px 16px;border-radius:8px;box-shadow:0 8px 24px #0000004d;z-index:100;white-space:nowrap;animation:tooltipFadeIn .2s ease}.project-tooltip:before{content:"";position:absolute;right:100%;top:50%;transform:translateY(-50%);border:6px solid transparent;border-right-color:#1a1a1a}.tooltip-title{font-weight:600;margin-bottom:4px}.tooltip-desc{font-size:12px;opacity:.8;margin-bottom:8px}.tooltip-stats{font-size:11px;color:#60a5fa}@keyframes tooltipFadeIn{0%{opacity:0;transform:translateY(-50%) translate(-8px)}to{opacity:1;transform:translateY(-50%) translate(0)}}.project-menu-overlay{position:absolute;left:100%;top:0;width:280px;height:100%;z-index:1000;animation:slideInFromLeft .3s ease;pointer-events:auto}.project-menu{background:#fff;border-radius:16px;box-shadow:0 12px 32px #0c121c26;height:100%;display:flex;flex-direction:column;margin-left:12px;border:1px solid var(--divider)}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.menu-header{padding:20px 24px 16px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between}.menu-project-name{font-weight:600;font-size:16px;color:var(--text)}.menu-close{width:28px;height:28px;background:none;border:none;border-radius:6px;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .2s ease}.menu-close:hover{background:var(--divider);color:var(--text)}.menu-items{padding:12px;display:flex;flex-direction:column;gap:4px;flex:1}.menu-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:none;border:none;border-radius:10px;cursor:pointer;transition:all .2s ease;text-align:left;width:100%;position:relative;z-index:10;pointer-events:auto}.menu-item:hover{background:#5b8def14;color:var(--focus)}.menu-item.active{background:#5b8def1f;color:var(--focus)}.menu-item.active .menu-label{color:var(--focus);font-weight:600}.menu-icon{font-size:16px;width:20px;text-align:center}.menu-label{font-weight:500;color:var(--text);transition:color .2s ease}.menu-item:hover .menu-label{color:var(--focus)}.current-project-info{padding:16px;border-top:1px solid var(--divider);margin-top:auto}.current-project-header{margin-bottom:16px}.current-project-header h3{margin:0 0 8px;font-size:16px;font-weight:600;color:var(--text)}.project-stats{font-size:12px;color:var(--muted)}.project-navigation{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background:none;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;text-align:left}.nav-item:hover{background:#5b8def0f}.nav-item.active{background:#5b8def1a}.nav-item.active .nav-label{color:var(--focus);font-weight:600}.nav-icon{font-size:14px;width:16px;text-align:center}.nav-label{font-size:13px;font-weight:500;color:var(--text)}@media(max-width:1200px){.project-sidebar{width:250px}.project-sidebar.collapsed{width:70px}.project-menu-overlay{width:240px}}.chat-panel{position:fixed;right:0;top:50%;transform:translateY(-50%);width:380px;height:600px;z-index:100;transition:transform .3s ease}.chat-panel:not(.visible){transform:translateY(-50%) translate(340px)}.chat-toggle{position:absolute;left:-48px;top:50%;transform:translateY(-50%);width:48px;height:48px;background:var(--focus);border:2px solid #fff;border-radius:12px;color:#fff;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #5b8def4d;transition:all .2s ease;z-index:110}.chat-toggle:hover{transform:translateY(-50%) scale(1.05);box-shadow:0 12px 32px #5b8def66}.chat-badge{position:absolute;top:-6px;right:-6px;background:#ef4444;color:#fff;font-size:11px;line-height:1;padding:3px 6px;border-radius:10px;min-width:18px;text-align:center;font-weight:600}.chat-content{width:100%;height:100%;background:#fff;border-radius:16px;box-shadow:0 16px 48px #0c121c33;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--divider)}.chat-users{height:100%;display:flex;flex-direction:column}.chat-header{padding:20px 24px 16px;border-bottom:1px solid var(--divider);display:flex;align-items:center;justify-content:space-between}.chat-header h3{margin:0;font-size:16px;font-weight:600;color:var(--text)}.online-count{font-size:12px;color:var(--muted);background:#4ade801a;padding:4px 8px;border-radius:12px}.users-list{flex:1;overflow-y:auto;padding:8px 12px}.user-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px;background:none;border:none;border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:left}.user-item:hover{background:#5b8def0f}.user-avatar{position:relative;flex-shrink:0}.avatar-circle{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;background:linear-gradient(135deg,#667eea,#764ba2)}.user-avatar.small .avatar-circle{width:32px;height:32px;font-size:12px}.status-dot{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border-radius:50%;border:2px solid #fff}.user-info{flex:1;min-width:0}.user-name{font-weight:600;color:var(--text);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-last-message{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.typing{color:var(--focus);font-style:italic;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.user-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.message-time{font-size:11px;color:var(--muted)}.unread-badge{background:#ef4444;color:#fff;font-size:10px;font-weight:600;padding:2px 6px;border-radius:10px;min-width:16px;text-align:center}.chat-conversation{height:100%;display:flex;flex-direction:column}.conversation-header{padding:16px 20px;border-bottom:1px solid var(--divider);display:flex;align-items:center;gap:12px}.back-button{width:32px;height:32px;background:none;border:none;border-radius:8px;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .2s ease}.back-button:hover{background:var(--divider);color:var(--text)}.conversation-user{display:flex;align-items:center;gap:10px;flex:1}.user-details{flex:1}.user-details .user-name{margin-bottom:2px}.user-status{font-size:12px;color:var(--muted)}.messages-container{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.message{display:flex;flex-direction:column;max-width:70%}.message.own{align-self:flex-end;align-items:flex-end}.message.other{align-self:flex-start;align-items:flex-start}.message-content{background:#f8fafc;padding:10px 14px;border-radius:16px;color:var(--text);font-size:14px;line-height:1.4;word-wrap:break-word}.message.own .message-content{background:var(--focus);color:#fff}.message-time{font-size:11px;color:var(--muted);margin-top:4px;padding:0 4px}.message-input{padding:16px 20px;border-top:1px solid var(--divider);display:flex;gap:12px;align-items:center}.input-field{flex:1;height:40px;padding:0 16px;border:1px solid var(--divider);border-radius:20px;background:#f8fafc;color:var(--text);font-size:14px;outline:none;transition:all .2s ease}.input-field:focus{border-color:var(--focus);background:#fff;box-shadow:0 0 0 3px #5b8def1a}.send-button{width:40px;height:40px;background:var(--focus);border:none;border-radius:50%;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.send-button:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px #5b8def4d}.send-button:disabled{background:var(--muted);cursor:not-allowed;opacity:.6}@media(max-width:1400px){.chat-panel{width:340px;height:550px}.chat-panel:not(.visible){transform:translateY(-50%) translate(300px)}}@media(max-width:1200px){.chat-panel{width:320px;height:500px}.chat-panel:not(.visible){transform:translateY(-50%) translate(280px)}}@media(max-width:768px){.chat-panel{display:none}}@media(max-width:768px){:root{--left-rail-w: 0px;--project-list-w: 100%;--col-w: 280px;--col-gap: 12px}.project-sidebar{display:none!important}.mobile-companies-view{position:fixed;inset:60px 0 0;display:flex!important;flex-direction:column;background:#fff;overflow:hidden;z-index:100}.mobile-header{display:flex;align-items:stretch;padding:12px 16px;gap:12px;border-bottom:1px solid #f0f0f0;background:#fff;flex-shrink:0}.mobile-search{flex:1;padding:0 16px;height:44px;border:1px solid #e0e0e0;border-radius:22px;background:#f8f9fa;font-size:14px;outline:none;margin:0;display:flex;align-items:center}.mobile-add-btn{width:44px;height:44px;background:var(--focus);border:none;border-radius:50%;color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;margin:0}.mobile-companies-list{flex:1;overflow-y:auto}.mobile-company-item{display:flex;align-items:center;padding:12px 16px;border-bottom:1px solid #f5f5f5;cursor:pointer;transition:background .2s}.mobile-company-item:hover{background:#f8f9fa}.mobile-company-avatar{width:50px;height:50px;border-radius:25px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:18px;margin-right:12px;flex-shrink:0}.mobile-company-info{flex:1;min-width:0}.mobile-company-name{font-weight:600;font-size:16px;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-company-desc{font-size:13px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-company-meta{font-size:12px;color:#999;text-align:right}.app-root{padding:0}.global-header{position:fixed!important;top:0!important;left:0!important;right:0!important;height:60px!important;padding:8px 16px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;background:#fff!important;z-index:2000!important;box-shadow:0 2px 8px #0000001a!important;border-bottom:1px solid #e0e0e0!important}.gh-search{display:none!important}.gh-center{display:flex!important;align-items:center;justify-content:center;gap:8px;flex:1}.gh-time{font-size:16px!important;font-weight:600!important;color:#333!important;margin:0!important}.gh-status{font-size:12px!important;color:#666!important;font-weight:500!important;margin:0!important}.dot{display:inline-block!important;width:6px!important;height:6px!important;background:#22c55e!important;border-radius:50%!important;margin-right:4px!important}.gh-profile{display:flex!important;align-items:center;justify-content:center}.gh-name{display:none!important}.avatar{display:block!important;width:36px!important;height:36px!important;border-radius:50%!important;background:linear-gradient(135deg,#667eea,#764ba2)!important}.workspace{padding:8px}.content-area,.board-area,.dashboard-page{width:100%;max-width:100%}.workspace-grid{display:block;height:100%;position:relative}.project-sidebar{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1000;border-radius:0;transform:translate(-100%);transition:transform .3s ease;box-shadow:none}.project-sidebar.mobile-open{transform:translate(0);box-shadow:0 0 20px #0000004d}.project-sidebar.collapsed{width:100vw}.mobile-sidebar-toggle{position:fixed;top:16px;left:16px;width:40px;height:40px;background:var(--focus);border:none;border-radius:8px;color:#fff;font-size:16px;cursor:pointer;z-index:1001;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #5b8def4d}.board-area{width:100%;max-width:100%;margin-top:60px;padding:0 8px}.mobile-company-container{padding-bottom:64px;width:100vw;max-width:100vw;min-height:calc(100vh - 60px);background:#fff}.mobile-company-container .dashboard-grid{grid-template-columns:1fr!important;gap:12px!important;grid-auto-rows:160px!important}.project-header{margin-bottom:8px}.tabs-bar{padding:8px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.tabs-bar::-webkit-scrollbar{display:none}.ph-tabs{gap:12px;min-width:max-content}.tab{padding:6px 12px;font-size:13px;white-space:nowrap}.section-title{font-size:18px;padding-left:8px}.filters-bar{flex-wrap:wrap;gap:8px;padding:0 8px}.search-wrap{min-width:0;flex:1 1 200px}.ph-search{height:36px}.chip{height:36px;font-size:13px}.btn-primary.large{height:36px;padding:0 12px;font-size:13px;white-space:nowrap}.board{padding:8px;gap:12px;overflow-x:auto;scrollbar-width:thin}.column{min-width:280px;flex-shrink:0}.col-header{height:56px;padding:8px 12px}.col-title{font-size:14px}.cards{padding:8px;gap:8px}.card{padding:10px}.card-title{font-size:14px}.card-meta{font-size:11px}.projects-list{padding:16px 12px;gap:8px}.project-item{padding:12px 8px;border-radius:12px;background:#5b8def05;border:1px solid transparent}.project-item.active{background:#5b8def14;border-color:#5b8def33}.project-avatar{width:40px;height:40px;font-size:16px}.project-name{font-size:15px}.project-desc{font-size:11px}.collapse-toggle,.project-menu-overlay{display:none}.mobile-sidebar-close{position:absolute;top:16px;right:16px;width:32px;height:32px;background:var(--muted);border:none;border-radius:6px;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center}}@media(min-width:769px)and (max-width:1024px){:root{--col-w: 300px;--col-gap: 16px}.workspace-grid{grid-template-columns:280px 1fr}.workspace-grid.sidebar-collapsed{grid-template-columns:70px 1fr}.project-sidebar{width:280px}.project-sidebar.collapsed{width:70px}.gh-search{width:300px}.filters-bar{flex-wrap:wrap;gap:8px}.btn-primary.large{padding:0 12px}}@media(max-width:480px){.app-root{padding:4px}.gh-time{font-size:18px}.column{min-width:260px}.section-title{font-size:16px}.btn-primary.large{font-size:12px;padding:0 8px}.filters-bar{padding:0 4px}.board{padding:4px}}@media(max-width:768px)and (orientation:landscape){.board-area{margin-top:50px}.global-header{height:44px}.mobile-sidebar-toggle{top:12px;left:12px;width:36px;height:36px}}:root{--bg1:#6FA5D9;--bg2:#9FD7C7;--bg3:#F2C6D8;--surface:#FFFFFF;--text:#0B0F1A;--muted:#98A2B3;--divider:#E6EBF3;--focus:#5B8DEF;--shadow: 12,18,28;--left-rail-w:88px;--panel-r:16px;--workspace-r:16px;--project-list-w:300px;--col-gap:20px;--col-w:344px;--bg-primary: #f8fafc;--bg-secondary: #ffffff;--bg-tertiary: #f1f5f9;--bg-quaternary: #e2e8f0;--text-primary: #0f172a;--text-secondary: #64748b;--text-tertiary: #94a3b8;--border-color: #e2e8f0;--border-light: #f1f5f9;--input-bg: #ffffff;--primary-color: #3b82f6;--primary-hover: #2563eb;--primary-color-10: rgba(59, 130, 246, .1);--success-bg: #dcfce7;--success-color: #166534;--success-border: #bbf7d0;--error-color: #dc2626}@media(max-width:1439px){:root{--col-w:320px}}@media(min-width:1600px){:root{--col-w:368px}}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;line-height:1.5;color:var(--text);background:linear-gradient(180deg,var(--bg1) 0%,var(--bg2) 55%,var(--bg3) 100%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-text{display:inline-flex;align-items:center;gap:6px}.icon-text svg{flex-shrink:0;vertical-align:middle}.icon-xs svg{width:12px;height:12px}.icon-sm svg{width:14px;height:14px}.icon-md svg{width:16px;height:16px}.icon-lg svg{width:20px;height:20px}.icon-xl svg{width:24px;height:24px}.icon-2xl svg{width:32px;height:32px}.icon-primary svg{color:var(--primary-color)}.icon-secondary svg{color:var(--text-secondary)}.icon-muted svg{color:var(--muted)}.icon-success svg{color:#10b981}.icon-warning svg{color:#f59e0b}.icon-error svg{color:#ef4444}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:8px;border:none;background:transparent;cursor:pointer;border-radius:6px;transition:background .2s}.icon-button:hover{background:var(--bg-tertiary)}.icon-button svg{color:var(--text-secondary);transition:color .2s}.icon-button:hover svg{color:var(--primary-color)}.emoji,.icon-emoji{font-size:1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}.app-root{height:100%;display:flex;flex-direction:column;gap:12px;padding:16px}.global-header{height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff}.gh-search{position:relative;width:420px;max-width:40vw}.gh-search-input{width:100%;height:36px;padding:0 14px 0 36px;border-radius:18px;border:1px solid rgba(255,255,255,.35);background:#ffffff2e;color:#fff;outline:none}.gh-search-input::placeholder{color:#ffffffd9}.gh-center{display:flex;align-items:baseline;gap:14px;color:#fff}.gh-time{font-size:28px;font-weight:700;letter-spacing:.5px}.gh-status{opacity:.95;font-weight:600;display:flex;align-items:center;gap:6px}.gh-status .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 2px #4ade8059}.gh-profile{display:flex;align-items:center;gap:10px;color:#fff}.avatar{width:36px;height:36px;background:#cbd5e1;border-radius:50%;box-shadow:0 4px 14px rgba(var(--shadow),.14)}.avatar.sm{width:32px;height:32px}.gh-name{font-weight:600}.content-area{flex:1;display:flex}.workspace{flex:1;background:#fff;border-radius:var(--workspace-r);box-shadow:0 8px 24px rgba(var(--shadow),.12),0 2px 8px rgba(var(--shadow),.06);padding:12px}.workspace-grid{height:100%;display:grid;grid-template-columns:300px 1fr;gap:12px;transition:grid-template-columns .3s ease}.workspace-grid.sidebar-collapsed{grid-template-columns:80px 1fr}.project-list{display:flex;flex-direction:column;overflow:auto}.mobile-search{height:40px;margin:0 0 8px;border:1px solid var(--divider);border-radius:10px}.mobile-items{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px;overflow:auto}.mobile-row{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:8px;border-radius:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.mobile-row:hover{background:#e6ebf399}.mobile-row.is-active{background:#5b8def1f;box-shadow:inset 0 0 0 1px #5b8def59}.m-col{display:flex;flex-direction:column}.m-title{font-weight:600}.m-sub,.m-time{color:var(--muted);font-size:12px}.project-header{display:flex;flex-direction:column;gap:10px;margin-bottom:4px}.tabs-bar{background:#fff;border-radius:12px;padding:10px 12px;display:flex;align-items:center;box-shadow:0 1px 0 var(--divider) inset}.ph-tabs{display:flex;gap:20px;flex-wrap:wrap}.tab{position:relative;background:transparent;border:0;padding:8px 12px;border-radius:8px;color:var(--muted);cursor:pointer;transition:background .16s ease,color .16s ease}.tab.active{color:var(--text);box-shadow:inset 0 -2px 0 var(--focus)}.tab-badge{position:absolute;top:-6px;right:-8px;background:#ef4444;color:#fff;font-size:10px;line-height:1;padding:2px 5px;border-radius:10px}.badge{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:11px;color:#fff;background:#ef4444;border-radius:9px}.section-title{font-size:20px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:6px;padding-left:2px}.star{color:var(--muted)}.filters-bar{display:flex;align-items:center;gap:10px}.search-wrap{position:relative;flex:1}.icon-search{position:absolute;left:10px;top:50%;transform:translateY(-50%);opacity:.6}.ph-search{width:100%;height:38px;padding:0 12px 0 30px;border:1px solid var(--divider);border-radius:8px}.chip{height:38px;padding:0 12px;border:1px solid var(--divider);border-radius:10px;background:#eef2f7;color:#334155}.chip.ghost{background:#fff}.ph-select{height:34px;border:1px solid var(--divider);border-radius:8px;background:#fff;padding:0 8px}.btn-primary.large{height:40px;padding:0 16px;border-radius:10px;background:#60a5fa}.board-area{display:flex;flex-direction:column;min-width:0;overflow:hidden}.board{display:flex;gap:var(--col-gap);overflow:auto;padding:12px;background:transparent}.column{min-width:var(--col-w);background:#ffffffeb;border-radius:12px;box-shadow:0 6px 20px rgba(var(--shadow),.1);display:flex;flex-direction:column}.col-header{height:64px;padding:10px 12px;color:#fff;border-top-left-radius:12px;border-top-right-radius:12px;display:flex;flex-direction:column;justify-content:center;gap:6px}.col-title{font-weight:600}.col-sum{opacity:.95}.cards{list-style:none;margin:0;padding:12px;display:flex;flex-direction:column;gap:10px}.card{background:#fff;border:1px solid var(--divider);border-radius:12px;padding:12px;box-shadow:0 2px 10px rgba(var(--shadow),.1);transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(var(--shadow),.12)}.card-title{font-weight:600;color:var(--text)}.card-meta{color:var(--muted);font-size:12px}.status-new .col-header{background:#3ba4f6;color:#fff}.status-inProgress .col-header{background:#f59e0b;color:#0b0f1a}.status-prepay .col-header{background:#06b6d4;color:#fff}.status-docs .col-header{background:#ec4899;color:#fff}.status-done .col-header{background:#10b981;color:#0b0f1a}.status-stalled .col-header{background:#94a3b8;color:#0b0f1a}.page-placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:400px;color:var(--muted);font-size:18px;font-weight:500;background:#f8fafc;border-radius:12px;border:2px dashed var(--divider);margin:20px}.form-label{font-size:.875rem;font-weight:500;color:var(--text-primary);margin:0 0 6px}.form-input,.form-select{width:100%;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;background:var(--input-bg);color:var(--text-primary);font-size:.875rem;transition:all .2s ease;outline:none}.form-input:focus,.form-select:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px var(--primary-color-10)}.btn-primary,.btn-secondary{padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;outline:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-secondary{background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--bg-quaternary);color:var(--text-primary)}
