   :root {
            --bg-color: #070a0f;
            --surface-color: #101722;
            --surface-hover: #162231;
            --border-color: #243244;
            --text-main: #f4f8fb;
            --text-muted: #93a4b7;
            --accent-green: #18d18f;
            --accent-green-hover: #12b77c;
            --accent-blue: #5aa7ff;
            --accent-gold: #f0c76a;
            --accent-red: #ff6b6b;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            background:
                linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
                radial-gradient(circle at 20% 10%, rgba(90, 167, 255, 0.14), transparent 25%),
                radial-gradient(circle at 82% 20%, rgba(24, 209, 143, 0.1), transparent 22%),
                linear-gradient(180deg, #05070b 0%, #0a0f16 42%, #070a0f 100%);
            background-size: 42px 42px, 42px 42px, auto, auto, auto;
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a { color: inherit; }

        .container {
            max-width: 1560px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 11px 20px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .btn-outline {
            color: var(--text-main);
            border: 1px solid var(--border-color);
            background-color: transparent;
        }

        .btn-outline:hover {
            background-color: var(--surface-hover);
            border-color: var(--text-muted);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-green), #7de7b7);
            color: #0b0e14;
            font-weight: 700;
            border: 1px solid transparent;
        }

        .btn-primary:hover {
            background-color: var(--accent-green-hover);
            transform: translateY(-1px);
        }

        .tag {
            display: inline-block;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--accent-blue);
            font-weight: 600;
            margin-bottom: 16px;
        }

        header {
            border-bottom: 1px solid var(--border-color);
            padding: 16px 0;
            background-color: rgba(11, 14, 20, 0.8);
            position: sticky;
            top: 0;
            backdrop-filter: blur(12px);
            z-index: 100;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .logo a {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.32rem 0.9rem 0.32rem 0.42rem;
            border: 1px solid rgba(96, 168, 255, 0.22);
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(96, 168, 255, 0.035));
            box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            color: var(--text-main);
            text-decoration: none;
        }

        .logo img {
            width: 2.35rem;
            height: 2.35rem;
            object-fit: contain;
            filter: drop-shadow(0 0 0.45rem rgba(35, 224, 241, 0.28));
        }

        .logo span {
            font-weight: 800;
            font-size: 1.08rem;
            letter-spacing: 0;
        }

        .nav-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .ai-future-banner {
            position: relative;
            width: 100vw;
            margin: 0 calc(50% - 50vw) 42px;
            overflow: hidden;
            border-top: 1px solid rgba(30, 216, 235, 0.18);
            border-bottom: 1px solid rgba(30, 216, 235, 0.18);
            background: #03101a;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .ai-future-banner__image {
            display: block;
            width: 100%;
            height: auto;
            max-height: min(52vw, 620px);
            object-fit: contain;
            background: #03101a;
        }

        .hero-section {
            padding: 78px 0 64px;
            display: grid;
            grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
            gap: 48px;
            align-items: start;
        }

        @media (max-width: 968px) {
            .ai-future-banner {
                margin-bottom: 24px;
            }

            .hero-section {
                grid-template-columns: 1fr;
                gap: 48px;
            }
        }

        .hero-title {
            font-size: clamp(2.25rem, 4vw, 4rem);
            font-weight: 800;
            line-height: 1.02;
            margin-bottom: 18px;
            letter-spacing: -1.6px;
            max-width: 14ch;
        }

        .hero-desc {
            color: var(--text-muted);
            font-size: 1.03rem;
            margin-bottom: 28px;
            max-width: 530px;
        }

        .hero-btns {
            display: flex;
            gap: 16px;
            margin-bottom: 26px;
            flex-wrap: wrap;
        }

        .badge-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            max-width: 620px;
            margin-top: 10px;
        }

        .market-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            max-width: 720px;
            margin: 26px 0 22px;
        }

        .market-tile {
            border: 1px solid rgba(90, 167, 255, 0.16);
            background: rgba(9, 15, 24, 0.72);
            border-radius: 8px;
            padding: 14px;
        }

        .market-label {
            color: var(--text-muted);
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 6px;
        }

        .market-value {
            font-size: 1.08rem;
            font-weight: 800;
            color: var(--text-main);
        }

        .market-value.up { color: var(--accent-green); }
        .market-value.hot { color: var(--accent-gold); }

        .badge-item {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
                var(--surface-color);
            border: 1px solid var(--border-color);
            padding: 20px;
            border-radius: 8px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
        }

        .badge-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }

        .badge-desc {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .confidence-panel {
            position: relative;
            overflow: hidden;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
                var(--surface-color);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 28px;
            box-shadow: 0 28px 68px rgba(0, 0, 0, 0.38);
        }

        .confidence-panel::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                linear-gradient(90deg, transparent 0, rgba(90, 167, 255, 0.08) 50%, transparent 100%),
                repeating-linear-gradient(0deg, transparent 0 36px, rgba(255, 255, 255, 0.025) 37px);
        }

        .panel-header {
            position: relative;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .status-indicator {
            font-size: 0.75rem;
            color: var(--accent-green);
            background: rgba(16, 185, 129, 0.1);
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 500;
            white-space: nowrap;
        }

        .panel-steps {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .terminal-grid {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-bottom: 22px;
        }

        .terminal-cell {
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(4, 8, 13, 0.5);
            border-radius: 8px;
            padding: 14px;
        }

        .terminal-label {
            color: var(--text-muted);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 6px;
        }

        .terminal-value {
            font-size: 1rem;
            font-weight: 800;
        }

        .terminal-value.green { color: var(--accent-green); }
        .terminal-value.blue { color: #9ecbff; }

        .panel-step {
            position: relative;
            padding-left: 34px;
        }

        .step-num {
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 0.75rem;
            font-weight: 700;
            background: rgba(90, 167, 255, 0.14);
            color: #cfe4ff;
            border: 1px solid rgba(90, 167, 255, 0.2);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .step-heading {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 6px;
        }

        .step-body {
            color: var(--text-muted);
            font-size: 0.82rem;
            line-height: 1.5;
        }

        section {
            padding: 90px 0;
        }

        .section-header {
            text-align: center;
            max-width: 760px;
            margin: 0 auto 56px auto;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            color: var(--text-muted);
            font-size: 1.05rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }

        .download-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
            align-items: stretch;
        }

        .download-card,
        .setup-panel {
            background-color: var(--surface-color);
            border: 1px solid var(--border-color);
            border-radius: 12px;
        }

        .download-card {
            padding: 34px;
            display: flex;
            min-height: 100%;
            flex-direction: column;
            gap: 14px;
        }

        .download-card-hot {
            border-color: rgba(37, 211, 102, 0.38);
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.11), rgba(59, 130, 246, 0.06)), var(--surface-color);
        }

        .download-kicker {
            color: var(--accent-gold);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .download-card h3,
        .setup-panel h3 {
            margin: 0;
            font-size: 1.28rem;
        }

        .download-card p,
        .risk-note {
            color: var(--text-muted);
            line-height: 1.65;
        }

        .download-meta {
            color: #9ecbff;
            font-size: 0.88rem;
            font-weight: 700;
            word-break: break-word;
        }

        .download-action {
            width: fit-content;
            margin-top: auto;
        }

        .setup-panel {
            margin-top: 24px;
            padding: 30px 34px;
        }

        .setup-steps {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 14px;
            margin-top: 20px;
        }

        .setup-steps div {
            padding: 16px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(255, 255, 255, 0.07);
            color: var(--text-main);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .setup-steps span {
            display: block;
            margin-bottom: 8px;
            color: var(--accent-green);
            font-weight: 800;
        }

        .risk-note {
            margin: 20px 0 0;
            padding-top: 18px;
            border-top: 1px solid var(--border-color);
        }

        .feature-card {
            background-color: var(--surface-color);
            border: 1px solid var(--border-color);
            padding: 36px;
            border-radius: 12px;
            transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            border-color: var(--text-muted);
            background-color: var(--surface-hover);
        }

        .feature-icon {
            font-size: 1.6rem;
            margin-bottom: 20px;
            display: inline-block;
        }

        .feature-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .feature-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .tier-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 18px;
            width: 100%;
        }

        .tier-card {
            position: relative;
            overflow: hidden;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
                #0d141f;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 24px;
            box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
            transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
        }

        .tier-card::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
            opacity: 0.65;
        }

        .tier-card:hover {
            transform: translateY(-4px);
            border-color: rgba(90, 167, 255, 0.46);
            background: linear-gradient(180deg, rgba(90, 167, 255, 0.1), rgba(255, 255, 255, 0.02));
        }

        .tier-card.current {
            border-color: rgba(43, 216, 143, 0.5);
            box-shadow: 0 20px 60px rgba(43, 216, 143, 0.08);
        }

        .tier-topline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 22px;
        }

        .tier-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 12px;
            border-radius: 999px;
            font-size: 0.76rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid transparent;
        }

        .tier-badge-basic {
            background: rgba(148, 163, 184, 0.12);
            border-color: rgba(148, 163, 184, 0.2);
            color: #cbd5e1;
        }

        .tier-badge-bronze {
            background: rgba(205, 127, 50, 0.12);
            border-color: rgba(205, 127, 50, 0.22);
            color: #f1c38e;
        }

        .tier-badge-silver {
            background: rgba(192, 192, 192, 0.12);
            border-color: rgba(192, 192, 192, 0.22);
            color: #dbe4f0;
        }

        .tier-badge-gold {
            background: rgba(234, 179, 8, 0.12);
            border-color: rgba(234, 179, 8, 0.22);
            color: #f8d66d;
        }

        .tier-badge-platinum {
            background: rgba(96, 168, 255, 0.12);
            border-color: rgba(96, 168, 255, 0.22);
            color: #b9dcff;
        }

        .tier-current-pill {
            font-size: 0.72rem;
            color: #2bd88f;
            border: 1px solid rgba(43, 216, 143, 0.22);
            background: rgba(43, 216, 143, 0.08);
            border-radius: 999px;
            padding: 5px 10px;
            white-space: nowrap;
        }

        .tier-access-pill {
            font-size: 0.72rem;
            color: #cfe4ff;
            border: 1px solid rgba(90, 167, 255, 0.2);
            background: rgba(90, 167, 255, 0.08);
            border-radius: 999px;
            padding: 5px 10px;
            white-space: nowrap;
        }

        .tier-price {
            font-size: 1.55rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 6px;
        }

        .tier-caption {
            color: var(--text-muted);
            font-size: 0.92rem;
            margin-bottom: 20px;
        }

        .tier-note {
            max-width: 980px;
            margin: 0 auto 26px auto;
            padding: 16px 18px;
            border: 1px solid rgba(96, 168, 255, 0.18);
            border-radius: 10px;
            background:
                linear-gradient(90deg, rgba(90, 167, 255, 0.08), rgba(24, 209, 143, 0.055));
            color: #cfe4ff;
            font-size: 0.95rem;
            line-height: 1.55;
        }

        .tier-note strong {
            color: #ffffff;
        }

        .tier-perks {
            list-style: none;
            padding: 0;
            margin: 0 0 22px 0;
            display: grid;
            gap: 10px;
        }

        .tier-perks li {
            position: relative;
            padding-left: 18px;
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.5;
        }

        .tier-perks li::before {
            content: "";
            position: absolute;
            left: 1px;
            top: 9px;
            width: 7px;
            height: 7px;
            border-radius: 999px;
            background: var(--accent-green);
        }

        .tier-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-top: 18px;
            border-top: 1px solid var(--border-color);
        }

        .tier-link {
            color: var(--text-main);
            text-decoration: none;
            font-weight: 700;
            font-size: 0.92rem;
        }

        .tier-link:hover {
            color: var(--accent-green);
        }

        .tier-download {
            color: #9ecbff;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.86rem;
        }

        .tier-download:hover {
            color: var(--accent-gold);
        }

        .flow-wrapper {
            max-width: 850px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .flow-block {
            display: flex;
            align-items: center;
            background-color: var(--surface-color);
            border: 1px solid var(--border-color);
            padding: 24px 32px;
            border-radius: 12px;
            gap: 28px;
        }

        .flow-index {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--accent-blue);
            background: rgba(59, 130, 246, 0.1);
            padding: 8px 14px;
            border-radius: 8px;
            min-width: 48px;
            text-align: center;
        }

        .flow-content h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .flow-content p {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        footer {
            background-color: #070a0f;
            border-top: 1px solid var(--border-color);
            padding: 80px 0 40px 0;
            margin-top: 40px;
        }

        .footer-main {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 48px;
            margin-bottom: 48px;
        }

        .footer-logo-zone h3 {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .footer-logo-zone h3 img {
            width: 2.15rem;
            height: 2.15rem;
            object-fit: contain;
            filter: drop-shadow(0 0 0.38rem rgba(35, 224, 241, 0.22));
        }

        .footer-logo-zone p {
            color: var(--text-muted);
            font-size: 0.95rem;
            max-width: 320px;
        }

        .footer-nav {
            display: flex;
            gap: 80px;
            flex-wrap: wrap;
        }

        .footer-col h4 {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-main);
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        .footer-col ul li a:hover {
            color: var(--text-main);
        }

        .footer-meta {
            border-top: 1px solid var(--border-color);
            padding-top: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .legal-links {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .legal-links a {
            color: var(--text-muted);
            text-decoration: none;
        }

        .legal-links a:hover {
            color: var(--text-main);
        }

        .risk-text {
            font-size: 0.8rem;
            color: #4b5a6a;
            line-height: 1.6;
            margin-top: 24px;
            max-width: 100%;
        }

        .topnote {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 18px;
            padding: 0.45rem 0.7rem;
            border-radius: 999px;
            border: 1px solid rgba(59, 130, 246, 0.18);
            background: rgba(59, 130, 246, 0.06);
            color: #cfe1ff;
            font-size: 0.78rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .container { padding: 0 18px; }
            .nav-container, .footer-meta { align-items: flex-start; }
            .hero-section { padding: 56px 0; }
            section { padding: 70px 0; }
            .hero-title { font-size: 2.25rem; max-width: none; }
            .hero-btns { flex-direction: column; }
            .hero-btns .btn { width: 100%; }
            .market-strip { grid-template-columns: 1fr; }
            .flow-block { flex-direction: column; align-items: flex-start; }
            .footer-main { gap: 32px; }
            .footer-nav { gap: 40px; }
            .badge-grid { grid-template-columns: 1fr; max-width: none; }
            .tier-footer { flex-direction: column; align-items: flex-start; }
            .download-grid { grid-template-columns: 1fr; }
            .download-action { width: 100%; }
            .setup-steps { grid-template-columns: 1fr; }
        }

        @media (max-width: 1400px) {
            .tier-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width: 1080px) {
            .tier-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .setup-steps {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .setup-steps {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 720px) {
            .tier-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 1200px) {
            .tier-grid {
                gap: 28px;
            }
        }

        .tier-section-wide {
            max-width: none;
            margin: 0 auto;
        }

        .content-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(3, 6, 12, 0.78);
            backdrop-filter: blur(10px);
            z-index: 1200;
        }

        .content-modal.open {
            display: flex;
        }

        .content-modal__dialog {
            width: min(920px, 100%);
            max-height: min(84vh, 920px);
            overflow: auto;
            border: 1px solid rgba(96, 168, 255, 0.24);
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(10, 14, 22, 0.98), rgba(7, 10, 15, 0.98));
            box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
            position: relative;
        }

        .content-modal__header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            padding: 24px 24px 16px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        }

        .content-modal__eyebrow {
            color: var(--accent-green);
            font-size: 0.74rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .content-modal__title {
            font-size: 1.5rem;
            font-weight: 800;
            line-height: 1.1;
            margin: 0 0 8px;
        }

        .content-modal__subtitle {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.5;
            max-width: 60ch;
        }

        .content-modal__close {
            border: 1px solid rgba(148, 163, 184, 0.18);
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-main);
            border-radius: 999px;
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            cursor: pointer;
        }

        .content-modal__body {
            padding: 24px;
            display: grid;
            gap: 16px;
        }

        .content-modal__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .content-modal__card {
            border: 1px solid rgba(148, 163, 184, 0.14);
            background: rgba(255, 255, 255, 0.03);
            border-radius: 18px;
            padding: 18px;
        }

        .content-modal__card h4 {
            margin: 0 0 10px;
            font-size: 1rem;
            font-weight: 800;
        }

        .content-modal__card p {
            margin: 0;
            color: var(--text-muted);
            line-height: 1.55;
            font-size: 0.94rem;
        }

        .content-modal__list {
            display: grid;
            gap: 10px;
        }

        .content-modal__list-item {
            border: 1px solid rgba(96, 168, 255, 0.16);
            background: rgba(96, 168, 255, 0.04);
            border-radius: 14px;
            padding: 14px 16px;
        }

        .content-modal__list-item strong {
            display: block;
            margin-bottom: 4px;
            font-size: 0.95rem;
        }

        .content-modal__list-item span {
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.5;
        }

        body.modal-open {
            overflow: hidden;
        }

        @media (max-width: 720px) {
            .content-modal {
                padding: 14px;
            }

            .content-modal__header,
            .content-modal__body {
                padding: 18px;
            }

            .content-modal__grid {
                grid-template-columns: 1fr;
            }
        }


        /* Dashboard-specific styles */
        h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        line-height: 1.15;
      }

      .app-header,
      .content-wrapper,
      .app-footer {
        backdrop-filter: blur(18px);
      }

      .app-wrapper {
        grid-template-areas:
          "lte-app-header"
          "lte-app-main"
          "lte-app-footer" !important;
        grid-template-columns: 1fr !important;
        margin-left: 0 !important;
      }

      .app-main,
      .content-wrapper,
      .app-header,
      .app-footer {
        margin-left: 0 !important;
        width: 100%;
      }

      .app-header,
      .app-footer {
        background: rgba(7, 13, 24, 0.84) !important;
        border-color: rgba(148, 163, 184, 0.14) !important;
      }

      .app-header {
        min-height: 68px;
      }

      .topbar-brand {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.3rem 0.86rem 0.3rem 0.4rem;
        border: 1px solid rgba(97, 176, 255, 0.2);
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(97, 176, 255, 0.035));
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
        color: #eff6ff;
        font-weight: 800;
      }

      .topbar-brand .brand-mark {
        width: 2.1rem;
        height: 2.1rem;
        object-fit: contain;
        filter: drop-shadow(0 0 0.36rem rgba(35, 224, 241, 0.26));
      }

      .topbar-status {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.42rem 0.7rem;
        border-radius: 999px;
        border: 1px solid rgba(37, 211, 102, 0.24);
        background: rgba(37, 211, 102, 0.06);
        color: #90f0b4;
        font-size: 0.76rem;
        font-weight: 700;
      }

      .topbar-chip {
        border: 1px solid var(--trading-line);
        background: rgba(255, 255, 255, 0.03);
        color: var(--trading-text);
        border-radius: 999px;
        padding: 0.42rem 0.72rem;
      }

      .topnav-tabs {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        flex-wrap: wrap;
        justify-content: center;
        flex: 1 1 auto;
      }

      .topnav-tabs a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 0.38rem 0.68rem;
        text-decoration: none;
        color: #a8b7cc;
        font-size: 0.76rem;
        font-weight: 700;
        border: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(255, 255, 255, 0.02);
        transition: 160ms ease;
      }

      .topnav-tabs a:hover,
      .topnav-tabs a.active {
        color: #fff;
        background: rgba(97, 176, 255, 0.12);
        border-color: rgba(97, 176, 255, 0.28);
      }

      .app-main {
        background: transparent;
      }

      .content-wrapper {
        background: transparent;
      }

      .card,
      .small-box {
        background: var(--trading-panel) !important;
        color: var(--trading-text);
        border: 1px solid rgba(148, 163, 184, 0.14);
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
      }

      .card-header,
      .card-footer,
      .table,
      .table > :not(caption) > * > * {
        border-color: var(--trading-line) !important;
      }

      .card-title,
      .text-muted,
      .nav-link,
      .breadcrumb-item,
      .form-label {
        color: var(--trading-muted) !important;
      }

      .text-bright {
        color: var(--trading-text) !important;
      }

      .hero-surface {
        background:
          linear-gradient(135deg, rgba(17, 27, 46, 0.98), rgba(8, 16, 29, 0.9)),
          radial-gradient(circle at top right, rgba(217, 180, 92, 0.12), transparent 24%);
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 1.15rem;
        box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
        position: relative;
        overflow: hidden;
        padding-bottom: 0.65rem !important;
      }

      .hero-surface::after {
        content: "";
        position: absolute;
        inset: auto -7rem -7rem auto;
        width: 14rem;
        height: 14rem;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(97, 176, 255, 0.11), transparent 65%);
        pointer-events: none;
      }

      .metric-card {
        background: linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(9, 15, 27, 0.92));
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 0.96rem;
        min-height: 98px;
      }

      .metric-label {
        font-size: 0.74rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--trading-muted);
      }

      .metric-value {
        font-size: 1.45rem;
        line-height: 1.05;
        font-weight: 700;
        color: #fff;
      }

      .metric-sub {
        font-size: 0.82rem;
        color: var(--trading-muted);
      }

      .badge-live {
        background: rgba(37, 211, 102, 0.15);
        border: 1px solid rgba(37, 211, 102, 0.35);
        color: #91f1b6;
      }

      .badge-warn {
        background: rgba(245, 196, 81, 0.15);
        border: 1px solid rgba(245, 196, 81, 0.35);
        color: #ffe3a3;
      }

      .badge-dim {
        background: rgba(97, 176, 255, 0.12);
        border: 1px solid rgba(97, 176, 255, 0.28);
        color: #b4dcff;
      }

      .symbol-chip {
        border: 1px solid var(--trading-line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--trading-muted);
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1;
        padding: 0.3rem 0.7rem;
        transition: all 0.18s ease;
      }

      .symbol-chip.active {
        border-color: rgba(97, 176, 255, 0.45);
        background: rgba(97, 176, 255, 0.12);
        color: #d7ebff;
        box-shadow: inset 0 0 0 1px rgba(97, 176, 255, 0.18);
      }

      #symbol-switcher,
      #timeframe-switcher {
        gap: 0.35rem !important;
      }

      #timeframe-switcher .symbol-chip {
        border-radius: 0.5rem;
        min-width: 2.45rem;
        padding: 0.22rem 0.5rem;
      }

      #timeframe-switcher .symbol-chip.active {
        background: linear-gradient(180deg, rgba(45, 144, 255, 0.24), rgba(45, 144, 255, 0.1));
        border-color: rgba(45, 144, 255, 0.52);
        color: #eef7ff;
      }

      .btn-primary {
        background: linear-gradient(135deg, #d9b45c, #2bd88f);
        border: 0;
        color: #07100c;
        font-weight: 800;
      }

      .btn-primary:hover,
      .btn-primary:focus {
        color: #07100c;
        filter: brightness(1.03);
      }

      .btn-outline-light {
        border-color: rgba(217, 180, 92, 0.28);
        color: #f4e6c5;
      }

      .btn-outline-light:hover,
      .btn-outline-light:focus {
        background: rgba(217, 180, 92, 0.08);
        border-color: rgba(217, 180, 92, 0.42);
        color: #fff;
      }

      .table-darkish > :not(caption) > * > * {
        background: transparent;
        color: var(--trading-text);
      }

      .table-darkish tbody tr:hover {
        background: rgba(255, 255, 255, 0.03);
      }

      .status-dot {
        display: inline-block;
        width: 0.55rem;
        height: 0.55rem;
        border-radius: 50%;
        margin-right: 0.45rem;
        background: var(--trading-green);
        box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.12);
      }

      .mono {
        font-variant-numeric: tabular-nums;
        font-feature-settings: "tnum";
      }

      .chart-panel {
        min-height: 400px;
      }

      .bridge-stats .bridge-stat {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(148, 163, 184, 0.12);
        border-radius: 0.9rem;
        padding: 0.72rem 0.82rem;
        height: 100%;
      }

      .bridge-stats .bridge-stat span {
        display: block;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--trading-muted);
        margin-bottom: 0.25rem;
      }

      .bridge-stats .bridge-stat strong {
        font-size: 0.92rem;
        color: #fff;
      }

      .mini-track {
        height: 6px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        overflow: hidden;
      }

      .mini-track > span {
        display: block;
        height: 100%;
        border-radius: inherit;
      }

      .section-label {
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.74rem;
        color: var(--trading-muted);
      }

      .form-control,
      .form-select {
        background-color: rgba(9, 16, 29, 0.95) !important;
        border-color: var(--trading-line) !important;
        color: var(--trading-text) !important;
      }

      .form-control::placeholder {
        color: rgba(214, 225, 242, 0.45);
      }

      #market-watch .text-success,
      #market-watch .text-danger,
      #positions-table .text-success,
      #positions-table .text-danger {
        font-weight: 700;
      }

      .journal-item {
        border-bottom: 1px solid var(--trading-line);
        padding: 0.8rem 0;
      }

      .journal-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
      }

      .section-shell {
        background: rgba(7, 13, 24, 0.5);
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 0.98rem;
        padding: 0.78rem;
      }

      .quick-glance {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
      }

      .quick-glance .glance {
        border-radius: 0.92rem;
        border: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(255, 255, 255, 0.03);
        padding: 0.7rem 0.76rem;
      }

      .quick-glance .glance .label {
        display: block;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--trading-muted);
        margin-bottom: 0.3rem;
      }

      .quick-glance .glance .value {
        display: block;
        color: #fff;
        font-weight: 700;
        font-size: 0.92rem;
      }

      .calculator-panel {
        min-height: 100%;
        overflow: hidden;
      }

      .calculator-panel .card-header {
        padding-bottom: 1rem;
      }

      .calculator-title {
        text-align: center;
      }

      .calculator-title .card-title {
        display: block;
        font-size: 1.12rem;
        margin-bottom: 0.2rem;
      }

      .calculator-title .text-secondary {
        line-height: 1.25;
      }

      .calculator-body {
        display: grid;
        gap: 1rem;
      }

      .calculator-field .form-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 0.45rem;
      }

      .calculator-field .form-label span {
        color: var(--trading-muted);
      }

      .calculator-switch {
        display: flex;
        gap: 0.6rem;
        align-items: end;
      }

      .calculator-switch .form-control {
        min-width: 0;
      }

      .calculator-switch .btn {
        white-space: nowrap;
      }

      .calculator-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        justify-content: space-between;
        align-items: center;
      }

      .calculator-actions .btn {
        min-width: 7rem;
      }

      .calculator-results {
        border: 1px solid rgba(148, 163, 184, 0.12);
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.03);
        padding: 0.9rem 1rem;
      }

      .calculator-results .results-title {
        text-align: center;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--trading-muted);
        margin-bottom: 0.2rem;
      }

      .calculator-result {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.7rem 0;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
      }

      .calculator-result:first-of-type {
        border-top: 0;
        padding-top: 0.45rem;
      }

      .calculator-result:last-child {
        padding-bottom: 0.45rem;
      }

      .calculator-result span {
        color: var(--trading-muted);
        font-size: 0.82rem;
      }

      .calculator-result strong {
        color: #fff;
        text-align: right;
        font-size: 0.95rem;
      }

      .calculator-result small {
        display: block;
        color: var(--trading-muted);
        font-size: 0.74rem;
        line-height: 1.2;
        text-align: right;
        margin-top: 0.15rem;
      }

      .calculator-note {
        font-size: 0.74rem;
        color: var(--trading-muted);
        line-height: 1.35;
      }

      .chat-panel {
        min-height: 520px;
        position: relative;
        isolation: isolate;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(10, 15, 24, 0.98), rgba(7, 11, 18, 0.99)) !important;
        border-color: rgba(97, 176, 255, 0.18) !important;
        box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
        z-index: 2;
      }

      .chat-sidebar {
        display: flex;
        flex-direction: column;
      }

      .chat-sidebar-panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
      }

      .dashboard-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
      }

      .dashboard-main {
        min-width: 0;
      }

      .dashboard-rail {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        min-width: 0;
      }

      .chat-panel .card-header {
        background: rgba(255, 255, 255, 0.015);
      }

      .chat-panel .card-title,
      .chat-panel .text-secondary {
        color: #eef5ff !important;
      }

      .chat-panel .card-body {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        min-height: 0;
        position: relative;
        z-index: 1;
        flex: 1 1 auto;
      }

      .chat-panel .card-header {
        padding-bottom: 0.95rem;
      }

      .chat-title-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.85rem;
      }

      .chat-title-copy {
        min-width: 0;
      }

      .chat-title-copy .card-title {
        display: block;
      }

      .chat-title-copy .text-secondary {
        display: block;
        margin-top: 0.15rem;
        line-height: 1.2;
      }

      .chat-top-actions {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        flex: 0 0 auto;
      }

      .chat-icon-btn {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        border: 1px solid rgba(148, 163, 184, 0.16);
        background: rgba(255, 255, 255, 0.04);
        color: #cddaf0;
        display: inline-grid;
        place-items: center;
        padding: 0;
      }

      .chat-search {
        position: relative;
      }

      .chat-search .form-control {
        min-height: 2.6rem;
        padding-left: 2.25rem;
        border-radius: 999px;
      }

      .chat-search .bi-search {
        position: absolute;
        left: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        color: #8ea0b8;
        pointer-events: none;
      }

      .chat-filter-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
      }

      .chat-filter-pill {
        border: 1px solid rgba(148, 163, 184, 0.16);
        background: rgba(255, 255, 255, 0.04);
        color: #c3d3e8;
        border-radius: 999px;
        padding: 0.35rem 0.7rem;
        font-size: 0.76rem;
        font-weight: 700;
      }

      .chat-filter-pill.active {
        background: rgba(97, 176, 255, 0.14);
        border-color: rgba(97, 176, 255, 0.3);
        color: #eaf4ff;
      }

      .chat-shell {
        position: relative;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 0.85rem;
        min-height: 0;
        height: 100%;
        background: linear-gradient(180deg, rgba(10, 17, 30, 0.98), rgba(5, 9, 16, 1));
        border: 0;
        border-radius: 0.98rem;
        padding: 0.85rem;
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.03),
          0 18px 36px rgba(0, 0, 0, 0.18);
      }

      .chat-thread-list {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 0.3rem;
        min-height: 0;
        overflow-y: auto;
        padding: 0.1rem 0.15rem 0.1rem 0;
      }

      .chat-empty {
        display: grid;
        place-items: center;
        min-height: 180px;
        border: 1px dashed rgba(148, 163, 184, 0.12);
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.02);
        color: #9fb0c8;
        text-align: center;
        padding: 0.8rem;
        font-size: 0.95rem;
      }

      .chat-message {
        display: flex;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.36rem 0.4rem;
        border-radius: 0.7rem;
        border: 0;
        cursor: pointer;
        transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
      }

      .chat-message:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.03);
      }

      .chat-message.mine {
        flex-direction: row-reverse;
        background: rgba(97, 176, 255, 0.05);
      }

      .chat-message.other {
        background: transparent;
      }

      .chat-avatar {
        width: 2rem;
        height: 2rem;
        flex: 0 0 auto;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        color: #07100c;
        background: linear-gradient(135deg, #d9b45c, #2bd88f);
        box-shadow: 0 0 0 0.12rem rgba(97, 176, 255, 0.08);
      }

      .chat-message.mine .chat-avatar {
        background: linear-gradient(135deg, #61b0ff, #25d366);
      }

      .chat-bubble {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        padding: 0;
        border: 0;
        background: transparent;
        color: #f3f7ff;
        box-shadow: none;
      }

      .chat-message.mine .chat-bubble {
        color: #f8fffb;
      }

      .chat-message.demo .chat-bubble {
        opacity: 0.98;
      }

      .chat-message.demo .chat-avatar {
        background: linear-gradient(135deg, #f5c451, #61b0ff);
      }

      .chat-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 0.45rem;
        margin-bottom: 0.18rem;
        font-size: 0.7rem;
        color: #97a7be;
      }

      .chat-meta strong {
        color: #edf4ff;
        font-size: 0.9rem;
      }

      .chat-role {
        display: inline-flex;
        align-items: center;
        padding: 0.14rem 0.45rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(255, 255, 255, 0.06);
        color: #c6d7ee;
        font-size: 0.67rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      .chat-message.mine .chat-role {
        background: rgba(7, 16, 12, 0.12);
        color: #c7f8de;
      }

      .chat-demo-tag {
        display: inline-flex;
        align-items: center;
        padding: 0.12rem 0.42rem;
        border-radius: 999px;
        border: 1px solid rgba(245, 196, 81, 0.24);
        background: rgba(245, 196, 81, 0.08);
        color: #ffe3a3;
        font-size: 0.64rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      .chat-text {
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
        font-size: 0.82rem;
        line-height: 1.2;
        color: inherit;
      }

      .chat-message.active {
        background: rgba(97, 176, 255, 0.10);
        box-shadow: 0 10px 30px rgba(97, 176, 255, 0.05);
        transform: translateY(-2px);
      }

      .chat-preview-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        min-width: 0;
      }

      .chat-preview-main {
        min-width: 0;
        flex: 1 1 auto;
      }

      .chat-preview-meta {
        flex: 0 0 auto;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
      }

      .chat-delete-btn {
        appearance: none;
        border: 1px solid rgba(255, 107, 107, 0.22);
        background: rgba(255, 107, 107, 0.08);
        color: #ffb6b6;
        border-radius: 999px;
        padding: 0.18rem 0.55rem;
        font-size: 0.66rem;
        font-weight: 700;
        line-height: 1.2;
        cursor: pointer;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
      }

      .chat-delete-btn:hover {
        background: rgba(255, 107, 107, 0.14);
        border-color: rgba(255, 107, 107, 0.35);
        color: #ffd8d8;
      }

      .chat-preview-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background: #2bd88f;
        box-shadow: 0 0 0 0.2rem rgba(43, 216, 143, 0.12);
      }

      .chat-preview-dot.away {
        background: #f5c451;
        box-shadow: 0 0 0 0.2rem rgba(245, 196, 81, 0.12);
      }

      .chat-preview-dot.offline {
        background: #7688a4;
        box-shadow: none;
      }

      .chat-message.system {
        background: rgba(255, 255, 255, 0.015);
      }

      .chat-message.system .chat-avatar {
        background: linear-gradient(135deg, #61b0ff, #8ea0b8);
        color: #09111c;
      }

      .chat-floating-composer {
        position: relative;
        width: 100%;
        border: 0;
        border-radius: 1rem;
        background: rgba(10, 17, 30, 0.88);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
        padding: 0.7rem 0.75rem 0.8rem;
      }

      .chat-thread-panel {
        position: absolute;
        inset: 0.75rem;
        z-index: 5;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        border: 0;
        border-radius: 1.1rem;
        background: linear-gradient(180deg, rgba(10, 17, 30, 0.99), rgba(5, 9, 16, 0.99));
        box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
        padding: 0.8rem;
      }

      .chat-thread-panel.active {
        outline: 2px solid rgba(97,176,255,0.12);
        box-shadow: 0 40px 90px rgba(97,176,255,0.08), 0 28px 56px rgba(0,0,0,0.45);
        transform: translateY(-4px);
      }

      .chat-thread-panel .chat-thread-list {
        padding: 0.2rem 0.15rem 0.1rem 0;
        max-height: none;
      }

      .chat-thread-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding-bottom: 0.45rem;
        border-bottom: 0;
      }

      .chat-thread-title {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
      }

      .chat-thread-name {
        color: #f2f7ff;
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.2;
      }

      .chat-thread-sub {
        color: #94a4ba;
        font-size: 0.74rem;
        line-height: 1.2;
      }

      .chat-thread-status {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: #b6c6d8;
        font-size: 0.72rem;
        white-space: nowrap;
      }

      .chat-thread-status .dot {
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 50%;
        background: #2bd88f;
        box-shadow: 0 0 0 0.2rem rgba(43, 216, 143, 0.12);
      }

      .chat-thread-close {
        width: 2rem;
        height: 2rem;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        color: #d9e5f5;
        display: inline-grid;
        place-items: center;
        padding: 0;
      }

      .chat-thread-close:hover {
        background: rgba(255, 255, 255, 0.08);
      }

      .chat-thread-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 0.65rem;
        min-height: 0;
      }

      .chat-compose-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.7rem;
      }

      .chat-compose-label {
        color: #8ea0b8;
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
      }

      .chat-compose-target {
        color: #f2f7ff;
        font-size: 0.98rem;
        font-weight: 800;
        margin-top: 0.12rem;
      }

      .chat-compose-close {
        width: 2rem;
        height: 2rem;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        color: #d9e5f5;
        display: inline-grid;
        place-items: center;
        padding: 0;
      }

      .chat-compose-close:hover {
        background: rgba(255, 255, 255, 0.08);
      }

      .chat-floating-composer .form-control {
        min-height: 96px;
      }

      .chat-composer .form-control {
        min-height: 88px;
        resize: none;
      }

      .chat-status {
        font-size: 0.76rem;
        color: #aab7cb;
        padding-top: 0.18rem;
      }

      @media (min-width: 1200px) {
        .dashboard-grid {
          grid-template-columns: minmax(0, 1fr) 390px;
          align-items: start;
        }

        .dashboard-rail {
          position: sticky;
          top: 5.25rem;
          align-self: start;
          height: calc(100vh - 6.5rem);
          overflow: hidden;
          padding-right: 0.1rem;
        }

        .chat-sidebar {
          height: auto;
        }

        .chat-sidebar-panel {
          height: 100%;
        }

        .dashboard-rail > .card {
          flex: 0 0 auto;
        }

        .dashboard-rail > .chat-panel {
          flex: 1 1 auto;
          min-height: 0;
        }

        .dashboard-rail > .card .card-header {
          padding-top: 0.8rem;
          padding-bottom: 0.7rem;
        }

        .dashboard-rail .metric-card {
          min-height: 0;
          padding: 0.95rem !important;
        }

        .dashboard-rail .card-body {
          padding: 0.85rem;
        }

        .dashboard-rail .chat-panel .card-body {
          padding-top: 0.65rem;
        }
      }

      @media (max-width: 1199.98px) {
        .chat-sidebar {
          height: auto;
        }
      }

      .app-header {
        position: sticky;
        top: 0;
        z-index: 1035;
      }

      .app-header .container-fluid {
        gap: 1rem;
      }

      .brand-row {
        align-items: center;
        gap: 0.65rem;
        padding: 0.28rem 0.86rem 0.28rem 0.38rem;
        border: 1px solid rgba(97, 176, 255, 0.2);
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(97, 176, 255, 0.035));
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
      }

      .brand-row .brand-mark {
        width: 2.1rem;
        height: 2.1rem;
        object-fit: contain;
        filter: drop-shadow(0 0 0.36rem rgba(35, 224, 241, 0.26));
      }

      .brand-row .brand-name {
        color: #f5f8ff;
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1;
      }

      .topnav-tabs {
        margin-inline: 0.4rem;
      }

      .profile-menu {
        min-width: 24rem;
        padding: 0;
        border: 1px solid rgba(97, 176, 255, 0.18);
        border-radius: 1.15rem;
        background:
          radial-gradient(circle at top left, rgba(97, 176, 255, 0.16), transparent 34%),
          linear-gradient(180deg, rgba(10, 17, 30, 0.98), rgba(5, 9, 16, 0.99));
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
        overflow: hidden;
      }

      .profile-menu .dropdown-item,
      .profile-menu .dropdown-item-text {
        color: #dbe6f6;
      }

      .profile-menu .dropdown-item:hover {
        background: rgba(97, 176, 255, 0.08);
        color: #f4f8ff;
      }

      .profile-menu .dropdown-divider {
        border-top-color: rgba(148, 163, 184, 0.14);
        margin: 0.2rem 0;
      }

      .profile-menu-header {
        padding: 0.95rem 1rem 0.85rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12);
        background: rgba(255, 255, 255, 0.02);
      }

      .profile-menu-title {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #8ea0b8;
        margin-bottom: 0.45rem;
      }

      .profile-menu-name {
        color: #f5f8ff;
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.2;
      }

      .profile-menu-email {
        color: #9fb0c8;
        font-size: 0.84rem;
        margin-top: 0.15rem;
        word-break: break-word;
      }

      .profile-menu-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.22rem 0.55rem;
        border-radius: 999px;
        background: rgba(37, 211, 102, 0.12);
        border: 1px solid rgba(37, 211, 102, 0.24);
        color: #c7f8de;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }

      .profile-section {
        padding: 0.9rem 1rem;
      }

      .profile-section + .profile-section {
        border-top: 1px solid rgba(148, 163, 184, 0.12);
      }

      .profile-section-label {
        color: #8ea0b8;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin-bottom: 0.5rem;
      }

      .profile-tier {
        color: #f6fbff;
        font-size: 1.15rem;
        font-weight: 900;
        letter-spacing: 0.02em;
      }

      .profile-key {
        margin-top: 0.6rem;
        padding: 0.75rem 0.8rem;
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(148, 163, 184, 0.12);
        color: #e7f0ff;
        font-size: 0.82rem;
        line-height: 1.45;
        word-break: break-word;
      }

      .profile-endpoint {
        margin-top: 0.55rem;
        padding: 0.65rem 0.75rem;
        border-radius: 0.8rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(148, 163, 184, 0.1);
      }

      .profile-endpoint .label {
        display: block;
        color: #8ea0b8;
        font-size: 0.67rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin-bottom: 0.18rem;
      }

      .profile-endpoint code {
        color: #ff79b0;
        background: transparent;
        padding: 0;
        font-size: 0.75rem;
        word-break: break-all;
      }

      .app-content-header {
        padding-top: 1.1rem !important;
      }

      .hero-surface h1 {
        letter-spacing: 0;
        max-width: 17ch;
      }

      .hero-surface p {
        max-width: 56rem;
      }

      .metric-card {
        border-radius: 0.92rem;
      }

      .card {
        border-radius: 0.95rem;
      }

      .card-header {
        padding-top: 0.92rem;
        padding-bottom: 0.8rem;
      }

      .table {
        font-size: 0.9rem;
      }

      .badge,
      .btn {
        letter-spacing: 0;
      }
