/* ═══════════════════════════════════════════════════════════════════════════
   НЕО — Компоненты разделов
   Наследие V6, переведённое на токены. Шапка, навигация, hero, док и
   примитивы вынесены в layout.css / components.css.
   ═══════════════════════════════════════════════════════════════════════════ */

        /* ── PREMIUM CARD ── */
        .contact-card {
            background: var(--surface); /* Solid carbon/obsidian dark */
            border-radius: 12px;
            padding: 0;
            position: relative;
            display: flex;
            flex-direction: column;
            transition: all 0.22s cubic-bezier(.4,0,.2,1);
            border: 1px solid var(--border);
            overflow: hidden;
        }
        .contact-card:hover {
            transform: translateY(-3px);
            background: #151926;
            border-color: rgba(255,255,255,0.12);
            box-shadow: 0 10px 30px rgba(0,0,0,0.35);
        }

        .card-inner { padding: 24px 28px 20px; display: flex; flex-direction: column; gap: 0; flex: 1; }

        /* Top section: identity only (no avatars) */
        .card-top {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 16px;
        }
        .card-identity { flex: 1; min-width: 0; }
        .card-name {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-strong);
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-name-orig {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card-role {
            font-size: 0.9rem;
            color: var(--accent);
            margin-top: 4px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Info rows */
        .card-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
            flex: 1;
        }
        .info-row {
            display: flex;
            flex-direction: row;
            align-items: baseline;
            gap: 12px;
        }
        .info-key {
            width: 85px;
            flex-shrink: 0;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--text-muted);
            font-weight: 600;
            padding-top: 1px;
        }
        .info-val {
            font-size: 0.9rem;
            color: #e2e8f0;
            word-break: break-word;
            line-height: 1.4;
        }
        .info-val a {
            color: inherit;
            text-decoration: none;
            transition: color 0.15s;
        }
        .info-val a:hover { color: var(--text-strong); text-decoration: underline; }
        .info-divider {
            height: 1px;
            background: var(--border);
            margin: 4px 0;
        }

        /* Action buttons row */
        .card-actions {
            display: flex;
            gap: 8px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }
        .cta-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 9px 12px;
            border-radius: 10px;
            font-size: 0.82rem;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            border: 1px solid var(--border-strong);
            background: var(--border);
            color: var(--text-muted);
            transition: all 0.2s;
        }
        .cta-btn:hover { background: var(--border-strong); color: var(--text-strong); border-color: rgba(255,255,255,0.15); }
        .cta-btn.primary-cta { background: rgba(59,130,246,0.15); color: var(--accent-text); border-color: rgba(59,130,246,0.25); }
        .cta-btn.primary-cta:hover { background: rgba(59,130,246,0.3); color: var(--text-strong); }
        .cta-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

        .ai-panel {
            position: fixed;
            top: 0;
            right: 0;
            z-index: var(--z-panel);
            display: flex;
            flex-direction: column;
            width: min(480px, 100vw);
            height: 100dvh;
            background: var(--g-850);
            border-left: 1px solid var(--border-strong);
            box-shadow: var(--sh-4);
            transform: translateX(100%);
            transition: transform var(--d-slow) var(--e-out);
        }
        .ai-panel.open { transform: translateX(0); }

        .ai-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--s-3);
            padding: var(--s-5) var(--s-6);
            border-bottom: 1px solid var(--border);
        }
        .ai-header h3 {
            display: flex;
            align-items: center;
            gap: var(--s-3);
            font-size: var(--t-md);
            font-weight: 600;
        }
        .ai-header h3 svg { width: 18px; height: 18px; stroke: var(--accent); }
        .ai-header-actions { display: flex; align-items: center; gap: var(--s-1); }

        .ai-close-btn {
            display: grid;
            place-items: center;
            width: 34px;
            height: 34px;
            border-radius: var(--r-sm);
            color: var(--text-muted);
            transition: background var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out);
        }
        .ai-close-btn:hover { background: var(--surface-2); color: var(--text); }
        .ai-close-btn svg { width: 17px; height: 17px; stroke: currentColor; }

        .ai-mode-selector {
            display: flex;
            gap: var(--s-1);
            padding: var(--s-3) var(--s-6);
            border-bottom: 1px solid var(--border);
        }
        .ai-mode-btn {
            flex: 1;
            min-height: 34px;
            border-radius: var(--r-sm);
            background: transparent;
            color: var(--text-muted);
            font-size: var(--t-xs);
            font-weight: 500;
            transition: background var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out);
        }
        .ai-mode-btn:hover { background: var(--surface-2); color: var(--text); }
        .ai-mode-btn.active { background: var(--accent-weak); color: var(--accent-text); }

        .ai-settings {
            padding: var(--s-5) var(--s-6);
            border-bottom: 1px solid var(--border);
            background: var(--surface-2);
            overflow-y: auto;
        }
        .ai-settings-title {
            margin-bottom: var(--s-4);
            font-size: var(--t-2xs);
            font-weight: 600;
            letter-spacing: var(--tr-caps);
            text-transform: uppercase;
            color: var(--text-faint);
        }
        .ai-settings-title--divided {
            margin-top: var(--s-5);
            padding-top: var(--s-5);
            border-top: 1px solid var(--border);
        }
        .ai-settings-fields {
            display: flex;
            flex-direction: column;
            gap: var(--s-3);
            margin-bottom: var(--s-5);
        }
        .ai-field label {
            display: block;
            margin-bottom: var(--s-1);
            font-size: var(--t-xs);
            color: var(--text-muted);
        }
        .ai-field input, .ai-field select { min-height: 38px; font-size: var(--t-xs); }

        .ai-messages {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: var(--s-4);
            padding: var(--s-6);
        }
        .ai-message {
            max-width: 88%;
            padding: var(--s-3) var(--s-4);
            font-size: var(--t-sm);
            line-height: var(--lh-normal);
            border-radius: var(--r-md);
        }
        .ai-message.user {
            align-self: flex-end;
            background: var(--accent);
            color: #fff;
            border-bottom-right-radius: var(--r-xs);
        }
        .ai-message.bot {
            align-self: flex-start;
            background: var(--surface-2);
            border: 1px solid var(--border);
            color: var(--text);
            border-bottom-left-radius: var(--r-xs);
        }

        .ai-chips {
            display: flex;
            flex-wrap: wrap;
            gap: var(--s-2);
            padding: var(--s-3) var(--s-6);
            border-top: 1px solid var(--border);
        }
        .ai-chip {
            padding: var(--s-2) var(--s-3);
            border: 1px solid var(--border);
            border-radius: var(--r-sm);
            background: transparent;
            color: var(--text-muted);
            font-size: var(--t-xs);
            transition: all var(--d-fast) var(--e-out);
        }
        .ai-chip:hover { border-color: var(--border-strong); color: var(--text); }

        .ai-input-area {
            display: flex;
            align-items: center;
            gap: var(--s-3);
            padding: var(--s-4) var(--s-6) calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
            border-top: 1px solid var(--border);
        }
        .ai-input-area input { flex: 1; }
        .ai-send-btn {
            display: grid;
            place-items: center;
            width: 42px;
            height: 42px;
            flex: none;
            border-radius: var(--r-md);
            background: var(--accent);
            color: #fff;
            transition: background var(--d-fast) var(--e-out);
        }
        .ai-send-btn:hover { background: var(--accent-hi); }
        .ai-send-btn svg { width: 17px; height: 17px; stroke: currentColor; }


        /* ── COMPANIES AND MODAL STYLES ── */
        .company-logo-circle {
            width: 44px;
            height: 44px;
            border-radius: var(--r-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-strong);
            background: var(--accent-lo);
            box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
            flex-shrink: 0;
            border: 1px solid var(--border-strong);
        }
        .company-contacts-badge {
            font-size: 0.75rem;
            background: rgba(59, 130, 246, 0.08);
            border: 1px solid rgba(59, 130, 246, 0.2);
            color: var(--accent-text);
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.2s ease;
        }
        .company-detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 24px;
        }
        @media (max-width: 768px) {
            .company-detail-grid {
                grid-template-columns: 1fr;
            }
        }
        .company-section {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
        }
        .company-section:hover {
            background: var(--border);
            border-color: var(--border-strong);
        }
        .company-section-title {
            font-size: var(--t-sm);
            font-weight: 600;
            letter-spacing: var(--tr-snug);
            color: var(--text-strong);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .company-section-content {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .company-help-card {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(30, 64, 175, 0.03) 100%);
            border: 1px solid rgba(59, 130, 246, 0.25);
            border-radius: 12px;
            padding: 22px;
            box-shadow: 0 8px 32px rgba(59, 130, 246, 0.06);
        }
        .company-contact-pill {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .company-contact-pill:hover {
            background: rgba(59, 130, 246, 0.08);
            border-color: rgba(59, 130, 246, 0.2);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        }
        
        /* Interactive Highlight Animation */
        @keyframes contactHighlight {
            0% { box-shadow: 0 0 0 rgba(59, 130, 246, 0); border-color: var(--border); }
            15% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.6); border-color: var(--accent); transform: scale(1.02); }
            85% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.6); border-color: var(--accent); transform: scale(1.02); }
            100% { box-shadow: 0 0 0 rgba(59, 130, 246, 0); border-color: var(--border); }
        }
        .highlight-contact {
            animation: contactHighlight 3s ease-in-out;
        }
        

        /* Bloomberg-style Premium Wide Card & Tag Styles */
        .wide-card {
            background: var(--surface); /* Pure carbon dark */
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            display: grid;
            grid-template-columns: 240px 1fr 280px;
            gap: 28px;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
        }
        .wide-card:hover {
            border-color: rgba(59, 130, 246, 0.2);
            background: #121522;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
        }
        .wide-card-left {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
            padding-right: 12px;
            border-right: 1px solid var(--border);
        }
        .wide-card-middle {
            display: flex;
            flex-direction: column;
            gap: 14px;
            min-width: 0;
        }
        .wide-card-right {
            border-left: 1px solid var(--border);
            padding-left: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 18px;
            min-width: 0;
        }
        
        .card-tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 4px;
        }
        .card-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.68rem;
            font-weight: 500;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .tag-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            display: inline-block;
        }
        
        
        .brief-section {
            border-left: 2px solid var(--border);
            padding-left: 12px;
        }
        .brief-label {
            font-size: var(--t-xs);
            font-weight: 600;
            letter-spacing: var(--tr-snug);
            color: var(--text-muted);
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .brief-text {
            font-size: 0.85rem;
            color: #e5e7eb;
            line-height: 1.45;
        }
        
        .inline-contact-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .inline-contact-item {
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid rgba(255, 255, 255, 0.03);
            border-radius: 6px;
            padding: 8px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            transition: all 0.15s ease;
        }
        .inline-contact-item:hover {
            background: rgba(255, 255, 255, 0.03);
            border-color: var(--border);
        }
        
        .inline-contact-actions {
            display: flex;
            gap: 4px;
        }
        .inline-action-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            width: 26px;
            height: 26px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s ease;
            outline: none;
        }
        .inline-action-btn:hover {
            background: var(--border);
            color: var(--text-strong);
        }
        
        .pitch-action-btn {
            background: var(--surface);
            border: 1px solid var(--border-strong);
            color: var(--accent-text);
            border-radius: 6px;
            padding: 10px 14px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            outline: none;
            width: 100%;
            text-align: center;
        }
        .pitch-action-btn:hover {
            background: rgba(59, 130, 246, 0.08);
            border-color: rgba(59, 130, 246, 0.4);
            color: var(--text-strong);
        }
        
        /* Sleek buttons styling */
        .dashboard-detail-btn {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
            border-radius: 6px;
            padding: 9px 14px;
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
            text-align: center;
        }
        .dashboard-detail-btn:hover {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.15);
            color: var(--text-strong);
        }
        
        /* Mobile and Tablet adjustment for wide cards */
        @media (max-width: 980px) {
            .wide-card {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 20px;
            }
            .wide-card-left {
                border-right: none;
                padding-right: 0;
                border-bottom: 1px solid var(--border);
                padding-bottom: 16px;
            }
            .wide-card-right {
                border-left: none;
                padding-left: 0;
                border-top: 1px solid var(--border);
                padding-top: 16px;
                min-width: 0;
            }
        }

        /* ── TIZILIM REGISTRY SPECIFIC CSS (V3.5 Premium Layout) ── */

        /* Tizilim Local Content Progress Bars */
        .tizilim-progress-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 10px;
        }
        .tizilim-progress-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .tizilim-progress-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
        }
        .tizilim-progress-bar-wrapper {
            flex: 1;
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
            margin: 0 10px;
            position: relative;
        }
        .tizilim-progress-bar {
            height: 100%;
            border-radius: 3px;
            transition: width 0.4s ease;
        }
        .tizilim-progress-bar.goods {
            background: var(--dv-1);
        }
        .tizilim-progress-bar.services {
            background: var(--dv-5);
        }
        .tizilim-progress-bar.works {
            background: var(--dv-4);
        }
        .tizilim-progress-val {
            font-weight: 600;
            color: var(--text-strong);
            min-width: 36px;
            text-align: right;
        }
        
        /* KPI cards for Tizilim statistics block */
        
        /* Specialized Tender pitch generator styles */
        .pitch-container {
            background: rgba(59, 130, 246, 0.03);
            border: 1px dashed rgba(59, 130, 246, 0.2);
            border-radius: 8px;
            padding: 14px 16px;
            margin-top: 10px;
            position: relative;
        }
        .pitch-text {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.45;
            font-style: italic;
        }
        .pitch-copy-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--border);
            border: 1px solid var(--border-strong);
            color: var(--text-muted);
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.15s;
        }
        .pitch-copy-btn:hover {
            background: var(--accent);
            color: var(--text-strong);
            border-color: var(--accent);
        }

        /* --- BITRIX24 TASKS STYLES --- */
        
        /* Team load styles */
        .team-load-member-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px;
            transition: all 0.25s ease;
        }
        .team-load-member-card:hover {
            background: var(--border);
            border-color: var(--border-strong);
        }
        .team-load-member-card.overloaded {
            border-color: rgba(239, 68, 68, 0.2);
            background: rgba(239, 68, 68, 0.02);
        }
        .team-load-member-card.overloaded:hover {
            border-color: rgba(239, 68, 68, 0.4);
            background: rgba(239, 68, 68, 0.04);
        }
        .team-member-name {
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-strong);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .team-load-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid var(--border-strong);
        }
        .team-load-avatar.fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent);
            color: var(--text-strong);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        /* Task card styling */
        .task-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            min-height: 280px;
        }
        .task-card:hover {
            border-color: rgba(96, 165, 250, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
            background: var(--surface-2);
        }
        .task-title {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-strong);
            margin: 0;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 2.9em;
        }
        .task-progress-bg {
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
            margin-top: 4px;
        }
        .task-progress-fill {
            height: 100%;
            background: var(--dv-1);
            border-radius: 3px;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Participant Avatars */
        .task-user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            border: 1.5px solid var(--surface);
            margin-left: -8px;
            transition: all 0.2s ease;
            position: relative;
            cursor: pointer;
        }
        .task-user-avatar:first-child {
            margin-left: 0;
        }
        .task-user-avatar:hover {
            z-index: 10;
            transform: scale(1.18) translateY(-1px);
            border-color: var(--accent-hi);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        }
        .task-user-avatar.fallback {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #4b5563;
            color: var(--text-strong);
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        .avatar-stack {
            display: flex;
            align-items: center;
            padding-left: 8px;
        }
        
        /* Status Badges */
        .status-badge {
            font-size: 0.75rem;
            font-weight: 500;
            padding: 4px 10px;
            border-radius: 9999px;
            line-height: 1.2;
            text-align: center;
            display: inline-block;
        }
        .status-badge.status-completed {
            background: rgba(16, 185, 129, 0.12);
            color: var(--ok);
            border: 1px solid rgba(16, 185, 129, 0.25);
        }
        .status-badge.status-overdue {
            background: rgba(239, 68, 68, 0.12);
            color: var(--danger);
            border: 1px solid rgba(239, 68, 68, 0.25);
        }
        .status-badge.status-inprogress {
            background: rgba(59, 130, 246, 0.12);
            color: var(--accent-hi);
            border: 1px solid rgba(59, 130, 246, 0.25);
        }
        .status-badge.status-control {
            background: rgba(251, 191, 36, 0.12);
            color: var(--warn);
            border: 1px solid rgba(251, 191, 36, 0.25);
        }
        .status-badge.status-deferred {
            background: rgba(148, 163, 184, 0.12);
            color: #94a3b8;
            border: 1px solid rgba(148, 163, 184, 0.25);
        }
        .status-badge.status-pending {
            background: rgba(148, 163, 184, 0.08);
            color: #cbd5e1;
            border: 1px solid rgba(148, 163, 184, 0.15);
        }
        
        /* Roadmap View Styles */
        .roadmap-lane {
            background: rgba(17, 20, 29, 0.4);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            backdrop-filter: blur(10px);
        }
        .roadmap-lane-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border);
            padding-bottom: 16px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .roadmap-lane-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-strong);
            margin: 0;
        }
        .roadmap-lane-progress-container {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 180px;
        }
        .roadmap-lane-progress-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: right;
            font-weight: 500;
        }
        .roadmap-lane-progress-bg {
            height: 4px;
            background: var(--border);
            border-radius: 2px;
            overflow: hidden;
        }
        .roadmap-lane-progress-fill {
            height: 100%;
            background: var(--ok);
            border-radius: 2px;
            transition: width 0.5s ease;
        }
        .roadmap-task-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            align-items: center;
            padding: 14px 18px;
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        .roadmap-task-item:hover {
            background: rgba(255, 255, 255, 0.02);
            border-color: var(--border);
        }
        .roadmap-task-meta {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .roadmap-task-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-strong);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .roadmap-task-bar-container {
            width: 100%;
        }
        .roadmap-task-bar-bg {
            height: 28px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            border-radius: 6px;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
        }
        .roadmap-task-bar-fill {
            height: 100%;
            transition: width 0.4s ease;
        }
        .roadmap-task-bar-text {
            position: absolute;
            left: 12px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-strong);
            z-index: 2;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        }
        .roadmap-overlap-badge {
            font-size: 0.72rem;
            padding: 2px 6px;
            border-radius: 4px;
            background: rgba(251, 191, 36, 0.12);
            color: var(--warn);
            border: 1px solid rgba(251, 191, 36, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 2px;
            margin-left: 8px;
            font-weight: 500;
        }

        /* Animations & Keyframes */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /* Mobile adjustment for tasks view */
        @media (max-width: 768px) {
            .roadmap-task-item {
                grid-template-columns: 1fr;
                gap: 14px;
            }
        }

        /* --- NEWS / MARKET INTELLIGENCE --- */
        .news-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
            gap: 0;
            width: 100%;
            background: transparent;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            align-items: stretch;
            transition: background 0.18s ease;
        }
        .news-item:hover {
            background: rgba(255, 255, 255, 0.018);
        }
        .news-storyline {
            min-width: 0;
            padding: 24px 26px 24px 0;
        }
        .news-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 12px;
            align-items: center;
            color: #7d8ca3;
            font-size: 0.72rem;
            font-weight: 720;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .news-meta-row time {
            color: #cbd5e1;
        }
        .news-meta-row em {
            color: #aab3c2;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 3px;
            padding: 3px 7px;
            font-style: normal;
            font-weight: 780;
        }
        .news-item--high .news-meta-row em {
            color: #bbf7d0;
            border-color: rgba(34, 197, 94, 0.34);
            background: rgba(34, 197, 94, 0.08);
        }
        .news-item--watch .news-meta-row em {
            border-style: dashed;
        }
        .news-storyline h3 {
            max-width: 900px;
            color: #f5f7fb;
            font-size: clamp(1.22rem, 1.65vw, 1.88rem);
            font-weight: 700;
            line-height: 1.14;
            letter-spacing: -0.026em;
            margin: 0 0 10px;
        }
        .news-lead {
            max-width: 860px;
            color: #aab3c2;
            font-size: 0.96rem;
            line-height: 1.52;
            margin: 0;
        }
        .news-why {
            margin-top: 14px;
        }
        .news-why b {
            display: block;
            color: #d8dee9;
            font-size: 0.64rem;
            font-weight: 780;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .news-why p {
            color: #9ca6b5;
            font-size: 0.85rem;
            line-height: 1.5;
            margin: 0;
        }
        .news-source-line {
            display: flex;
            flex-wrap: wrap;
            gap: 7px 10px;
            align-items: center;
            margin-top: 16px;
        }
        .news-source-line span {
            color: #6f7b8e;
            font-size: 0.66rem;
            font-weight: 780;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .news-source-line a {
            color: #7da2ff;
            font-size: 0.8rem;
            font-weight: 660;
            text-decoration: none;
            border-bottom: 1px solid rgba(125, 162, 255, 0.32);
        }
        .news-source-line a:hover {
            color: #dbeafe;
            border-color: #dbeafe;
        }
        .news-source-missing {
            color: #fca5a5;
        }
        .news-opportunity {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 22px 0 24px 24px;
            border-left: 1px solid rgba(255, 255, 255, 0.09);
        }
        .news-opportunity h4 {
            color: #e5e7eb;
            font-size: 0.78rem;
            font-weight: 820;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin: 0;
        }
        .news-opportunity .news-why {
            margin-top: 0;
        }
        .news-product-line {
            display: block;
            color: #7da2ff;
            font-size: 0.76rem;
            line-height: 1.38;
        }
        .news-contact-box > b,
        .news-next-step > b {
            display: block;
            color: #d8dee9;
            font-size: 0.64rem;
            font-weight: 780;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .news-contact-list {
            list-style: none;
            display: grid;
            gap: 5px;
            margin: 0;
            padding: 0;
        }
        .news-contact-list li {
            color: #9ca6b5;
            font-size: 0.76rem;
            line-height: 1.38;
            overflow-wrap: anywhere;
            padding-left: 9px;
            border-left: 1px solid rgba(255, 255, 255, 0.14);
        }
        .news-next-step p {
            color: #9ca6b5;
            font-size: 0.82rem;
            line-height: 1.46;
            margin: 0;
        }
        .news-primary-action {
            width: fit-content;
            margin-top: 2px;
            background: var(--border);
            color: #e5e7eb;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 7px;
            padding: 9px 12px;
            text-decoration: none;
            font-size: 0.72rem;
            font-weight: 760;
            line-height: 1;
        }
        .news-primary-action:hover {
            background: rgba(125, 162, 255, 0.14);
            border-color: rgba(125, 162, 255, 0.32);
            color: var(--text-strong);
        }
        .news-primary-action--disabled {
            opacity: 0.55;
            cursor: default;
        }

        /* --- LEADS & OUTREACH STYLES --- */
        .lead-card {
            background: rgba(17, 20, 29, 0.4);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            backdrop-filter: blur(10px);
        }
        .lead-card:hover {
            border-color: rgba(96, 165, 250, 0.25);
            background: var(--surface);
        }
        .lead-card.active {
            border-color: rgba(96, 165, 250, 0.4);
            background: rgba(17, 20, 29, 0.75);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        }
        .lead-card-header {
            padding: 18px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            user-select: none;
        }
        .lead-card-body {
            padding: 0 24px 24px 24px;
            cursor: default;
            animation: cardSlideDown 0.3s ease-out;
        }
        .lead-avatar-initials {
            width: 42px;
            height: 42px;
            border-radius: var(--r-md);
            background: rgba(96, 165, 250, 0.1);
            border: 1px solid rgba(96, 165, 250, 0.25);
            color: var(--accent-hi);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .lead-name-text {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-strong);
            margin: 0;
        }
        .lead-section-title {
            font-size: var(--t-sm);
            font-weight: 600;
            color: var(--text-strong);
            text-transform: uppercase;
            margin: 0 0 8px 0;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .leads-copy-action-btn {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-strong);
            border-radius: 4px;
            padding: 4px 10px;
            font-size: 0.72rem;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.15s ease;
            outline: none;
            font-family: inherit;
        }
        .leads-copy-action-btn:hover {
            background: var(--border-strong);
            color: var(--text-strong);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        /* Transition animations */
        @keyframes cardSlideDown {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .chevron-icon.open {
            transform: rotate(180deg);
            color: var(--accent-hi);
        }
        
        /* Mobile adjust for leads */
        @media (max-width: 768px) {
            .lead-card-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
            .lead-card-header > div:last-child {
                width: 100%;
                justify-content: space-between;
                border-top: 1px solid var(--border);
                padding-top: 10px;
            }
            .lead-grid-details {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }
            .lead-card-body {
                padding: 0 16px 16px 16px;
            }
            .news-statline {
                gap: 14px;
                font-size: 0.75rem;
            }
            .news-item {
                grid-template-columns: 1fr;
            }
            .news-storyline {
                padding: 18px 0;
            }
            .news-opportunity {
                padding: 18px 0 20px;
                border-left: none;
                border-top: 1px solid rgba(255, 255, 255, 0.09);
            }
        }

        /* Заголовки секций профиля компании. Смысл несёт иконка и позиция,
           цвет только подсказывает регистр: риск / сейчас / потом. */
        .company-section-title--risk { color: var(--danger-text); }
        .company-section-title--now  { color: var(--accent-text); }
        .company-section-title--next { color: var(--text-muted); }
        .company-section-title svg { width: 14px; height: 14px; flex: none; stroke: currentColor; }
