
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 100vh;
}

body.wgz-editorial-theme .metric-card,
body.wgz-editorial-theme .chart-lab-ring-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(207, 219, 228, 0.94);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .metric-card::before,
body.wgz-editorial-theme .chart-lab-ring-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
    pointer-events: none;
}

body.wgz-editorial-theme .metric-card {
    text-align: left;
    gap: 10px;
}

body.wgz-editorial-theme .metric-value {
    color: #13212b;
}

body.wgz-editorial-theme .metric-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .progress-bar {
    height: 10px;
    background: rgba(226, 232, 240, 0.88);
}

body.wgz-editorial-theme .progress-fill {
    background: linear-gradient(90deg, #0f766e 0%, #1f3c47 62%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-sidebar-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(207, 219, 228, 0.94);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand {
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 159, 103, 0.16), transparent 24%),
        linear-gradient(160deg, #17303b 0%, #1d3b47 58%, #243137 100%);
    border-color: rgba(25, 44, 52, 0.92);
    color: #f8fafc;
    transform-style: preserve-3d;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::before,
body.wgz-editorial-theme .chart-lab-sidebar-card--brand::after {
    content: "";
    position: absolute;
    border-radius: 40%;
    opacity: 0.18;
    pointer-events: none;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::before {
    width: 260px;
    height: 340px;
    right: -34%;
    top: -26%;
    background: linear-gradient(744deg, rgba(189, 159, 103, 0.76), rgba(255,255,255,0.06) 64%, rgba(15, 118, 110, 0.32));
    animation: loginBrandWave 18s linear infinite;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::after {
    width: 220px;
    height: 320px;
    left: -28%;
    bottom: -36%;
    background: linear-gradient(744deg, rgba(193, 122, 58, 0.34), rgba(15, 118, 110, 0.20) 60%, rgba(255,255,255,0.06));
    animation: loginBrandWave 24s linear infinite reverse;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand:hover {
    transform: perspective(900px) rotateX(3deg) rotateY(-4deg) translateY(-2px);
    box-shadow: 0 22px 34px rgba(15, 23, 42, 0.16);
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__crest,
body.wgz-editorial-theme .chart-lab-sidebar-brand__copy,
body.wgz-editorial-theme .chart-lab-sidebar-brand__stats {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__crest {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #e9d3aa;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(233, 211, 170, 0.22);
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__copy strong {
    color: #fffaf4;
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    line-height: 1.35;
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__copy p {
    color: rgba(248, 250, 252, 0.78);
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__stats span {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: #f4e7cd;
}

body.wgz-editorial-theme .chart-lab-switch {
    width: 66px;
    height: 36px;
}

body.wgz-editorial-theme .chart-lab-switch__slider {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(213, 220, 228, 0.84), rgba(190, 200, 210, 0.8));
    border: 1px solid rgba(190, 200, 210, 0.94);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.wgz-editorial-theme .chart-lab-switch__slider::before {
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease;
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 64%, #c17a3a 100%);
    border-color: rgba(23, 48, 59, 0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 20px rgba(15, 118, 110, 0.18);
    transform: scaleX(0.98);
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider::before {
    transform: translateX(30px) scale(0.96);
}

body.wgz-editorial-theme .history-filter-chip,
body.wgz-editorial-theme .workbench-filter-chip {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(207, 219, 228, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,249,252,0.94) 100%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

body.wgz-editorial-theme .history-filter-chip::after,
body.wgz-editorial-theme .workbench-filter-chip::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
    pointer-events: none;
}

body.wgz-editorial-theme .history-filter-chip.active,
body.wgz-editorial-theme .history-filter-chip:hover,
body.wgz-editorial-theme .workbench-filter-chip.is-active,
body.wgz-editorial-theme .workbench-filter-chip:hover {
    border-color: rgba(15, 118, 110, 0.28);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(193, 122, 58, 0.07));
    color: #17303b;
}

body.wgz-editorial-theme .chart-lab-ring-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
}

body.wgz-editorial-theme .chart-lab-ring-card__ring {
    width: 68px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 18px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .chart-lab-ring-card__copy {
    gap: 5px;
}

body.wgz-editorial-theme .chart-lab-ring-card span {
    font-size: 13px;
}

body.wgz-editorial-theme .chart-lab-ring-card small {
    font-size: 11px;
}

body.wgz-editorial-theme .workbench-matrix-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 236, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body.wgz-editorial-theme .workbench-matrix-card--empty {
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.98) 0%, rgba(243, 244, 246, 0.98) 100%);
}

body.wgz-editorial-theme .workbench-matrix-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.wgz-editorial-theme .workbench-matrix-card__eyebrow,
body.wgz-editorial-theme .workbench-matrix-detail__eyebrow {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-matrix-card__title {
    margin: 4px 0 0;
    color: #13212b;
    font-size: 20px;
    line-height: 1.25;
}

body.wgz-editorial-theme .workbench-matrix-card__desc {
    margin: 0;
    color: #5f6774;
    font-size: 13px;
    line-height: 1.8;
}

body.wgz-editorial-theme .workbench-matrix-card__legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7b8794;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

body.wgz-editorial-theme .workbench-matrix-card__legend-bar {
    width: 92px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 234, 255, 0.82) 0%, rgba(187, 210, 255, 0.88) 48%, rgba(45, 212, 191, 0.92) 100%);
}

body.wgz-editorial-theme .workbench-matrix-grid {
    display: grid;
    grid-template-columns: 86px repeat(var(--matrix-column-count), minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

body.wgz-editorial-theme .workbench-matrix-grid__corner,
body.wgz-editorial-theme .workbench-matrix-grid__column,
body.wgz-editorial-theme .workbench-matrix-grid__row-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .workbench-matrix-grid__corner,
body.wgz-editorial-theme .workbench-matrix-grid__row-label {
    justify-content: flex-start;
}

body.wgz-editorial-theme .workbench-matrix-grid__cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(218, 223, 231, 0.92);
    background: rgba(252, 249, 244, 0.92);
    color: #13212b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
    cursor: pointer;
}

body.wgz-editorial-theme .workbench-matrix-grid__cell:hover,
body.wgz-editorial-theme .workbench-matrix-grid__cell:focus-visible,
body.wgz-editorial-theme .workbench-matrix-grid__cell.is-active {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.wgz-editorial-theme .workbench-matrix-grid__cell-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-0 { background: rgba(251, 248, 243, 0.96); }
body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-1 { background: rgba(244, 236, 252, 0.84); }
body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-2 { background: rgba(228, 236, 255, 0.88); }
body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-3 { background: rgba(202, 227, 255, 0.94); }
body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-4 { background: rgba(139, 182, 249, 0.96); }
body.wgz-editorial-theme .workbench-matrix-grid__cell.tone-5 { background: rgba(45, 212, 191, 0.96); }

body.wgz-editorial-theme .workbench-matrix-detail {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(253, 252, 250, 0.96) 0%, rgba(246, 241, 233, 0.96) 100%);
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .workbench-matrix-detail__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

body.wgz-editorial-theme .workbench-matrix-detail__head strong {
    color: #13212b;
    font-size: 16px;
    line-height: 1.35;
}

body.wgz-editorial-theme .workbench-matrix-detail__head span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

body.wgz-editorial-theme .workbench-matrix-detail__summary,
body.wgz-editorial-theme .workbench-matrix-detail__note {
    margin: 0;
    color: #54606f;
    font-size: 13px;
    line-height: 1.75;
}

body.wgz-editorial-theme .workbench-matrix-detail__note {
    color: #6b7280;
}

@media (max-width: 900px) {
    body.wgz-editorial-theme .workbench-matrix-card__head {
        display: grid;
    }

    body.wgz-editorial-theme .workbench-matrix-grid {
        grid-template-columns: 72px repeat(var(--matrix-column-count), minmax(0, 1fr));
    }

    body.wgz-editorial-theme .workbench-matrix-grid__cell {
        min-height: 64px;
    }

    body.wgz-editorial-theme .workbench-matrix-grid__cell-value {
        font-size: 18px;
    }
}
        .wgz-icon-slot {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
            flex-shrink: 0;
        }
        .wgz-icon-slot svg,
        .wgz-icon-svg {
            width: 1em;
            height: 1em;
            stroke: currentColor;
            display: block;
            line-height: 1;
        }
        .nav-tab,
        .btn,
        .send-btn,
        .quick-action,
        .company-search-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .nav-tab-icon,
        .btn-icon,
        .quick-action-icon,
        .inline-heading-icon,
        .message-header-icon,
        .info-icon {
            font-size: 18px;
            line-height: 1;
            transform: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.15em;
            height: 1.15em;
            flex-shrink: 0;
            vertical-align: middle;
        }
        .inline-heading-icon,
        .message-header-icon,
        .info-icon {
            color: currentColor;
        }
        .section-heading {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .info-with-icon {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            flex-wrap: nowrap;
        }
        .container { max-width: 1400px; margin: 0 auto; padding: 20px; }
header {
    padding: 28px;
    margin-bottom: 28px;
}
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
        .header-top { align-items: flex-start; gap: 24px; }
        .logo-section { display: flex; align-items: center; gap: 18px; min-width: 0; }
        .title-section { min-width: 0; }
.logo {
    width: 74px; height: 74px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700; color: white;
}
        .logo .wgz-icon-svg,
        .panel-title .icon .wgz-icon-svg {
            width: 1em;
            height: 1em;
        }
        .logo .wgz-icon-svg {
            width: 34px;
            height: 34px;
            transform: none;
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.03); }
        }
.title-section h1 {
    font-size: 30px; font-weight: 700;
}
        .title-section p { color: #666; font-size: 14px; margin-top: 6px; }
        .info-section {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
            text-align: right;
            font-size: 14px;
            color: #666;
            line-height: 1.55;
        }
        .info-section p {
            margin: 0;
            color: #4b5563;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            flex-wrap: nowrap;
            white-space: nowrap;
        }
        .info-section strong {
            display: inline-flex;
            align-items: center;
            flex-shrink: 0;
        }
        .info-section .info-with-icon {
            vertical-align: middle;
        }

        /* New Login Info Section */
        .login-info {
            margin: 0;
            color: #4b5563;
            font-size: 14px;
            font-weight: 400;
        }
        .top-login-info {
            margin-top: 4px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            flex-wrap: wrap;
        }

        .logout-btn {
            height: 22px;
            padding: 0 8px;
            margin-left: 8px;
            font-size: 12px;
            color: white;
            background-color: var(--theme-primary, #667eea);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: opacity 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .logout-btn:hover {
            background-color: var(--theme-hover, #764ba2);
            opacity: 0.9;
        }
        .input-prefix-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            color: #fff;
            opacity: 0.95;
            pointer-events: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel {
    padding: 28px;
}
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .panel.full-width { grid-column: 1 / -1; }
        .panel-title {
            font-size: 22px; font-weight: 600; margin-bottom: 24px;
            display: flex; align-items: center; gap: 12px;
        }
        .module-collapse-toggle {
            margin-left: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            padding: 0 16px;
            border: 1px solid rgba(102,126,234,0.18);
            border-radius: 999px;
            background: rgba(255,255,255,0.9);
            color: #475569;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }
        .module-collapse-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
            border-color: rgba(102,126,234,0.3);
        }
.panel-title .icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
}
        .panel-title .icon .wgz-icon-svg {
            width: 20px;
            height: 20px;
            transform: none;
        }
        .chat-container { height: 520px; display: flex; flex-direction: column; }
.chat-messages {
    flex: 1; overflow-y: auto; padding: 20px;
    border-radius: 16px; margin-bottom: 18px;
}
        .chat-messages::-webkit-scrollbar { width: 8px; }
        .chat-messages::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 4px; }
        .chat-messages::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 4px;
        }
        .message {
            margin-bottom: 18px; padding: 16px 20px;
            border-radius: 16px; max-width: 85%;
            animation: slideIn 0.4s cubic-bezier(0.4,0,0.2,1);
            line-height: 1.6;
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
.message.user {
    color: white; margin-left: auto;
    border-bottom-right-radius: 6px;
}
.message.agent {
    border-bottom-left-radius: 6px;
}
        .message-header { font-size: 12px; margin-bottom: 8px; opacity: 0.85; }
        .typing-indicator {
            display: inline-flex; gap: 4px; padding: 12px 16px;
            background: white; border-radius: 12px;
        }
        .typing-dot {
            width: 8px; height: 8px; background: #667eea; border-radius: 50%;
            animation: typingBounce 1.4s infinite ease-in-out;
        }
        .typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .typing-dot:nth-child(2) { animation-delay: -0.16s; }
        @keyframes typingBounce {
            0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
            40% { transform: scale(1); opacity: 1; }
        }
        .chat-input-container { display: flex; gap: 14px; }
        .chat-input {
            flex: 1; padding: 16px 20px;
            border: 2px solid #e8e8e8; border-radius: 14px;
            font-size: 15px; transition: all 0.3s ease;
        }
        .chat-input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 4px rgba(102,126,234,0.1); }
.send-btn {
    padding: 16px 32px;
    color: white; border: none; border-radius: 14px;
    cursor: pointer; font-size: 15px; font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.send-btn:hover { transform: translateY(-2px); }
        .send-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.chat-context-clear-btn {
    flex: 0 0 48px;
    width: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    background: #f8fafc;
    border: 1px solid #d8dee8;
}
.chat-context-clear-btn:hover {
    color: #1f2937;
    background: #eef2f7;
}
        .quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.quick-action {
    padding: 10px 18px; border: none;
    border-radius: 24px; cursor: pointer; font-size: 13px;
    transition: all 0.3s ease;
}
.quick-action:hover { transform: translateY(-1px); }
        .company-search {
            display: flex; gap: 10px; margin-bottom: 18px;
        }
        .company-search input {
            flex: 1; padding: 12px 16px;
            border: 2px solid #e8e8e8; border-radius: 10px;
            font-size: 15px;
        }
        .company-search input:focus { outline: none; border-color: #667eea; }
        .company-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: -8px 0 18px 0;
        }
        .company-filter-select {
            min-width: 140px;
            padding: 10px 12px;
            border: 2px solid #e8e8e8;
            border-radius: 10px;
            font-size: 14px;
            background: #fff;
        }
        .company-filter-select:focus {
            outline: none;
            border-color: #667eea;
        }
        .company-filter-check {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 12px;
            border: 2px solid #e8e8e8;
            border-radius: 10px;
            background: #fff;
            font-size: 13px;
            color: #4b5563;
        }
        .company-filter-check input {
            margin: 0;
        }
        .company-suggestions {
            display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
        }
        .company-tag {
            padding: 8px 14px; background: #f0f0f0; border-radius: 18px;
            cursor: pointer; font-size: 13px; transition: all 0.2s;
        }
        .company-tag:hover { background: #667eea; color: white; }
        .api-config {
            background: #fffbeb; border: 1px solid #fcd34d;
            border-radius: 12px; padding: 16px; margin-bottom: 18px;
        }
        .api-config input {
            width: 100%; padding: 12px 16px;
            border: 2px solid #e8e8e8; border-radius: 10px;
            font-size: 14px; margin-top: 10px;
        }
        .metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric-card {
    padding: 24px; border-radius: 16px; text-align: center;
    transition: all 0.3s ease;
}
.metric-card:hover { transform: translateY(-4px); }
.metric-value {
    font-size: 36px; font-weight: 700;
}
        .metric-label { font-size: 14px; color: #666; margin-top: 10px; }
        .progress-bar {
            width: 100%; height: 12px; background: #e0e0e0;
            border-radius: 6px; overflow: hidden; margin-top: 14px;
        }
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            border-radius: 6px;
            transition: width 1s cubic-bezier(0.4,0,0.2,1);
        }
        .risk-list, .opportunity-list { display: flex; flex-direction: column; gap: 14px; }
        .risk-item, .opportunity-item {
            padding: 20px; background: #fff5f5;
            border-left: 5px solid #ef4444; border-radius: 12px;
            transition: all 0.3s ease;
        }
        .risk-item:hover, .opportunity-item:hover { transform: translateX(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
        .opportunity-item { background: #f0fdf4; border-left-color: #22c55e; }
        .risk-header, .opportunity-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 10px;
        }
        .risk-level { font-weight: 600; }
        .risk-level.high { color: #dc2626; }
        .risk-level.medium { color: #f59e0b; }
.btn {
    padding: 14px 28px;
    color: white; border: none; border-radius: 12px;
    cursor: pointer; font-size: 15px; font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn:hover { transform: translateY(-2px); }
        .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.report-section {
    padding: 24px; border-radius: 16px; margin-top: 18px;
}
        .report-section-card {
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 18px 30px rgba(148, 163, 184, 0.08);
        }
        .report-section-kicker {
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(99,102,241,0.08);
            color: #4f46e5;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            margin-bottom: 12px;
        }
        .report-section-title {
            margin: 0 0 12px 0;
            font-size: 22px;
            color: #1f2937;
        }
        .report-section-summary {
            background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
        }
        .insight-prose {
            color: #475569;
            line-height: 1.9;
            font-size: 15px;
        }
        .insight-empty {
            color: #94a3b8;
            line-height: 1.8;
        }
        .insight-list {
            display: grid;
            gap: 14px;
        }
        .insight-list-item {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 12px;
            align-items: start;
            padding: 16px 18px;
            border-radius: 14px;
            background: rgba(255,255,255,0.82);
            border: 1px solid rgba(226,232,240,0.9);
        }
        .insight-list-index {
            min-width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
            color: #4338ca;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
        }
        .insight-list-content {
            color: #475569;
            line-height: 1.8;
            font-size: 14px;
        }
        .eval-insight-grid {
            display: grid;
            gap: 16px;
        }
        .eval-selection-summary {
            display: grid;
            gap: 8px;
            min-width: min(100%, 420px);
            padding: 12px 14px;
            border-radius: 18px;
            background: rgba(255,255,255,0.86);
            border: 1px solid rgba(226,232,240,0.92);
        }
        .eval-selection-summary.hidden {
            display: none;
        }
        .eval-selection-summary__label {
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .eval-selection-summary__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .eval-selection-summary__chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(15,118,110,0.08);
            color: #0f172a;
            border: 1px solid rgba(15,118,110,0.14);
            font-size: 12px;
            font-weight: 700;
        }
        .eval-selection-summary__chip span {
            color: #64748b;
        }
        .eval-selection-summary__chip strong {
            color: #0f172a;
            font-weight: 800;
        }
        .eval-selection-summary__chip--soft {
            background: rgba(71,85,105,0.08);
            border-color: rgba(71,85,105,0.14);
        }
        .eval-selection-summary__chip--score {
            background: rgba(249,115,22,0.10);
            border-color: rgba(249,115,22,0.16);
        }
        .eval-insight-card {
            position: relative;
            display: grid;
            gap: 14px;
            padding: 20px 22px;
            border-radius: 22px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.94) 100%);
            border: 1px solid rgba(148, 163, 184, 0.18);
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,0.75),
                0 16px 30px rgba(15, 23, 42, 0.06);
            overflow: hidden;
        }
        .eval-insight-card::before {
            content: '';
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(15,118,110,0.95) 0%, rgba(30,41,59,0.88) 100%);
        }
        .eval-insight-card[data-priority="high"]::before {
            background: linear-gradient(180deg, rgba(220,38,38,0.92) 0%, rgba(249,115,22,0.88) 100%);
        }
        .eval-insight-card[data-priority="medium"]::before {
            background: linear-gradient(180deg, rgba(217,119,6,0.92) 0%, rgba(15,118,110,0.88) 100%);
        }
        .eval-insight-card__topline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }
        .eval-insight-card__eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(15,118,110,0.08);
            color: #0f766e;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .eval-insight-card__priority {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 11px;
            border-radius: 999px;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(148,163,184,0.24);
            color: #334155;
            font-size: 12px;
            font-weight: 700;
        }
        .eval-insight-card[data-priority="high"] .eval-insight-card__priority {
            background: rgba(254, 242, 242, 0.96);
            border-color: rgba(248, 113, 113, 0.28);
            color: #b91c1c;
        }
        .eval-insight-card[data-priority="medium"] .eval-insight-card__priority {
            background: rgba(255, 247, 237, 0.96);
            border-color: rgba(251, 146, 60, 0.24);
            color: #c2410c;
        }
        .eval-insight-card__title {
            color: #0f172a;
            font-size: 22px;
            font-weight: 800;
            line-height: 1.32;
            letter-spacing: -0.02em;
        }
        .eval-insight-card__lead {
            color: #334155;
            font-size: 15px;
            line-height: 1.88;
        }
        .eval-insight-card__stack {
            display: grid;
            gap: 12px;
        }
        .eval-insight-card__verify {
            display: grid;
            gap: 12px;
        }
        .eval-insight-card__block {
            display: grid;
            gap: 8px;
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(247,250,252,0.9);
            border: 1px solid rgba(226,232,240,0.95);
        }
        .eval-insight-card__block--verify {
            background: rgba(241,245,249,0.88);
        }
        .eval-insight-card__label {
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .eval-insight-card__text {
            color: #334155;
            font-size: 14px;
            line-height: 1.82;
        }
        .eval-insight-card__meta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 10px;
        }
        .eval-insight-card__meta-item {
            display: grid;
            gap: 6px;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(255,255,255,0.84);
            border: 1px solid rgba(226,232,240,0.92);
        }
        .eval-insight-card__meta-item span {
            color: #64748b;
            font-size: 12px;
            font-weight: 700;
        }
        .eval-insight-card__meta-item strong {
            color: #1e293b;
            font-size: 14px;
            line-height: 1.72;
            font-weight: 700;
        }
        .eval-insight-card__meta-item--signal {
            background: rgba(255,255,255,0.96);
        }
        .eval-insight-card__checklist {
            display: grid;
            gap: 8px;
        }
        .eval-insight-card__check {
            display: grid;
            grid-template-columns: 16px 1fr;
            gap: 10px;
            align-items: start;
            color: #334155;
            font-size: 14px;
            line-height: 1.76;
        }
        .eval-insight-card__check-index {
            width: 16px;
            height: 16px;
            border-radius: 999px;
            margin-top: 4px;
            background: linear-gradient(135deg, rgba(37,99,235,0.92) 0%, rgba(15,118,110,0.9) 100%);
            box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
        }
        .eval-insight-grid-recommendation .eval-insight-card__eyebrow {
            background: rgba(30,64,175,0.08);
            color: #1d4ed8;
        }
        .eval-insight-grid-recommendation .eval-insight-card__title {
            font-size: 21px;
        }
        .evidence-overview {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(238,244,255,0.98) 0%, rgba(247,243,255,0.98) 100%);
            border: 1px solid rgba(99,102,241,0.12);
            box-shadow: 0 18px 34px rgba(99,102,241,0.10);
        }
        .evidence-overview::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(56,189,248,0.12), transparent 38%);
            pointer-events: none;
        }
        .evidence-overview-header {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: flex-start;
            margin-bottom: 14px;
            position: relative;
            z-index: 1;
        }
        .evidence-overview-badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.88);
            color: #4338ca;
            font-size: 12px;
            font-weight: 700;
            border: 1px solid rgba(99,102,241,0.14);
            margin-bottom: 10px;
        }
        .evidence-overview-title {
            margin: 0;
            font-size: 24px;
            color: #1f2937;
        }
        .evidence-overview-link {
            color: #4338ca;
            text-decoration: none;
            font-weight: 600;
            white-space: nowrap;
            padding-top: 4px;
        }
        .evidence-overview-link:hover {
            text-decoration: underline;
        }
        .evidence-overview-summary {
            position: relative;
            z-index: 1;
            margin: 0 0 16px 0;
            color: #5b6475;
            line-height: 1.8;
        }
        .evidence-overview-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            position: relative;
            z-index: 1;
        }
        .evidence-stat-card {
            padding: 14px 16px;
            border-radius: 14px;
            background: rgba(255,255,255,0.82);
            border: 1px solid rgba(226,232,240,0.86);
        }
        .evidence-stat-label {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 8px;
        }
        .evidence-stat-value {
            font-size: 24px;
            line-height: 1;
            font-weight: 700;
            color: #312e81;
        }
        .evidence-chip-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
            position: relative;
            z-index: 1;
        }
        .trend-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }
        .trend-card {
            padding: 18px;
            border-radius: 16px;
            background: rgba(255,255,255,0.84);
            border: 1px solid rgba(226,232,240,0.84);
            overflow: visible;
        }
        .trend-card-label {
            font-size: 12px;
            font-weight: 700;
            color: #6366f1;
            margin-bottom: 8px;
            letter-spacing: 0.04em;
        }
        .trend-card-value {
            color: #475569;
            line-height: 1.8;
            font-size: 14px;
            white-space: normal;
            word-break: break-word;
            overflow: visible;
        }
        .risk-trend-panel {
            display: grid;
            gap: 16px;
        }
        .risk-trend-brief,
        .risk-turning-points {
            padding: 18px;
            border-radius: 18px;
            background: rgba(255,255,255,0.86);
            border: 1px solid rgba(226,232,240,0.86);
        }
        .risk-trend-brief {
            display: grid;
            gap: 16px;
        }
        .risk-trend-brief__header {
            display: grid;
            grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
            gap: 16px;
            align-items: start;
        }
        .risk-trend-brief__summary {
            color: #334155;
            font-size: 15px;
            line-height: 1.9;
        }
        .risk-trend-brief__stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
        .risk-trend-stat {
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(245,248,255,0.92);
            border: 1px solid rgba(196,208,201,0.72);
            display: grid;
            gap: 6px;
        }
        .risk-trend-stat span {
            font-size: 12px;
            color: #64748b;
        }
        .risk-trend-stat strong {
            font-size: 22px;
            color: #13212b;
            line-height: 1;
        }
        .risk-trend-brief__footer {
            display: grid;
            gap: 12px;
        }
        .risk-trend-brief__clusters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 12px;
        }
        .risk-trend-cluster {
            padding: 14px;
            border-radius: 16px;
            background: rgba(248,250,252,0.92);
            border: 1px solid rgba(226,232,240,0.9);
        }
        .risk-trend-cluster__name {
            font-size: 13px;
            font-weight: 800;
            color: #0f766e;
        }
        .risk-trend-cluster__meta {
            margin-top: 4px;
            font-size: 12px;
            color: #64748b;
        }
        .risk-trend-cluster__summary {
            margin-top: 8px;
            font-size: 13px;
            line-height: 1.7;
            color: #475569;
        }
        .risk-trend-coverage {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            color: #64748b;
            font-size: 12px;
        }
        .risk-trend-coverage span {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(241,245,249,0.92);
            border: 1px solid rgba(226,232,240,0.88);
        }
        .risk-turning-points__header {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 12px;
        }
        .risk-turning-points__note {
            max-width: 34ch;
            color: #64748b;
            font-size: 12px;
            line-height: 1.6;
            text-align: right;
        }
        .risk-turning-points__list {
            display: grid;
            gap: 14px;
        }
        .risk-turning-point {
            display: grid;
            grid-template-columns: 46px minmax(0, 1fr);
            gap: 14px;
            padding: 16px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.96) 100%);
            border: 1px solid rgba(226,232,240,0.92);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
        }
        .risk-turning-point--high {
            border-color: rgba(220, 38, 38, 0.22);
            box-shadow: 0 16px 28px rgba(220, 38, 38, 0.08);
        }
        .risk-turning-point--medium {
            border-color: rgba(217, 119, 6, 0.22);
        }
        .risk-turning-point__rail {
            display: grid;
            justify-items: center;
            grid-template-rows: auto 1fr;
            gap: 8px;
        }
        .risk-turning-point__index {
            width: 42px;
            height: 42px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(219,234,254,0.92) 0%, rgba(224,231,255,0.92) 100%);
            color: #3730a3;
            font-size: 14px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .risk-turning-point__line {
            width: 2px;
            min-height: 100%;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(15,118,110,0.28) 0%, rgba(193,122,58,0.08) 100%);
        }
        .risk-turning-point__content {
            display: grid;
            gap: 10px;
            min-width: 0;
        }
        .risk-turning-point__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }
        .risk-turning-point__badge,
        .risk-turning-point__date,
        .risk-turning-point__category {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }
        .risk-turning-point__badge {
            background: rgba(15,118,110,0.1);
            color: #0f766e;
        }
        .risk-turning-point__badge--high {
            background: rgba(254,226,226,0.92);
            color: #b91c1c;
        }
        .risk-turning-point__badge--medium {
            background: rgba(255,237,213,0.96);
            color: #b45309;
        }
        .risk-turning-point__badge--low {
            background: rgba(219,234,254,0.92);
            color: #1d4ed8;
        }
        .risk-turning-point__date,
        .risk-turning-point__category {
            background: rgba(241,245,249,0.92);
            color: #475569;
        }
        .risk-turning-point__title {
            margin: 0;
            color: #13212b;
            font-size: 18px;
            line-height: 1.5;
        }
        .risk-turning-point__body {
            margin: 0;
            color: #475569;
            font-size: 14px;
            line-height: 1.85;
            white-space: normal;
            word-break: break-word;
        }
        @media (max-width: 900px) {
            .risk-trend-brief__header {
                grid-template-columns: 1fr;
            }
            .risk-turning-points__header {
                flex-direction: column;
                align-items: flex-start;
            }
            .risk-turning-points__note {
                max-width: none;
                text-align: left;
            }
        }
        @media (max-width: 640px) {
            .risk-trend-brief__stats,
            .risk-trend-brief__clusters {
                grid-template-columns: 1fr;
            }
            .risk-turning-point {
                grid-template-columns: 1fr;
            }
            .risk-turning-point__rail {
                grid-template-columns: auto 1fr;
                grid-template-rows: auto;
            }
            .risk-turning-point__line {
                width: 100%;
                min-height: 2px;
                height: 2px;
            }
        }
        .citation-sup {
            vertical-align: super;
            line-height: 0;
            margin-left: 2px;
        }
        .citation-link-paper {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            border-radius: 999px;
            background: rgba(99,102,241,0.08);
            color: #4338ca;
            text-decoration: none;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid rgba(99,102,241,0.16);
            transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
        }
        .citation-link-paper:hover {
            background: rgba(99,102,241,0.16);
            box-shadow: 0 6px 16px rgba(99,102,241,0.18);
            transform: translateY(-1px);
            text-decoration: none;
        }
        .sources-chain-section {
            margin-top: 22px;
        }
        .sources-chain {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 14px 16px;
        }
        .sources-chain-summary {
            cursor: pointer;
            font-weight: 700;
            color: #334155;
            outline: none;
        }
        .sources-list {
            margin-top: 14px;
            display: grid;
            gap: 12px;
        }
        .sources-chain:not([open]) > .sources-list,
        .sources-chain:not([open]) > .source-audit-summary {
            display: none !important;
        }
        .source-entry {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 14px;
            align-items: start;
            padding: 16px;
            border-radius: 20px;
            background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,252,0.98) 100%);
            border: 1px solid rgba(226,232,240,0.96);
            box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
            scroll-margin-top: 120px;
            transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
        }
        .source-entry:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
            border-color: rgba(203, 213, 225, 0.98);
        }
        .source-entry-index {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 13px;
            color: #4338ca;
            background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
        }
        .source-entry-body {
            min-width: 0;
            display: grid;
            gap: 14px;
        }
        .source-entry-header {
            margin-bottom: 0;
        }
        .source-entry-intel-head {
            display: grid;
            gap: 10px;
            padding: 14px 16px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
            border: 1px solid rgba(226,232,240,0.82);
        }
        .source-entry-title-row {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
        }
        .source-entry-title {
            display: block;
            font-size: 15px;
            line-height: 1.55;
            font-weight: 700;
            color: #0f172a;
        }
        .source-entry-date,
        .source-entry-status {
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
        }
        .source-entry-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .source-entry-meta-chip {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 5px 10px;
            border-radius: 999px;
            border: 1px solid rgba(203,213,225,0.84);
            background: rgba(255,255,255,0.88);
            color: #475569;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.4;
        }
        .source-entry-meta-chip.is-status.is-success {
            color: #166534;
            background: rgba(220, 252, 231, 0.8);
            border-color: rgba(134, 239, 172, 0.9);
        }
        .source-entry-meta-chip.is-status.is-failed {
            color: #991b1b;
            background: rgba(254, 226, 226, 0.88);
            border-color: rgba(252, 165, 165, 0.9);
        }
        .source-entry-meta-chip.is-quality-high {
            color: #14532d;
            background: rgba(220, 252, 231, 0.76);
            border-color: rgba(34, 197, 94, 0.24);
        }
        .source-entry-meta-chip.is-quality-medium,
        .source-entry-meta-chip.is-audit {
            color: #854d0e;
            background: rgba(254, 249, 195, 0.82);
            border-color: rgba(234, 179, 8, 0.24);
        }
        .source-entry-meta-chip.is-quality-low {
            color: #991b1b;
            background: rgba(254, 226, 226, 0.82);
            border-color: rgba(248, 113, 113, 0.26);
        }
        .source-warning-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .source-warning-chip {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 3px 8px;
            border-radius: 999px;
            background: rgba(255, 247, 237, 0.9);
            border: 1px solid rgba(251, 146, 60, 0.24);
            color: #9a3412;
            font-size: 12px;
            font-weight: 700;
        }
        .source-audit-summary {
            margin: 12px 0;
            padding: 12px;
            border: 1px solid rgba(203, 213, 225, 0.72);
            border-radius: 8px;
            background: rgba(248, 250, 252, 0.92);
        }
        .source-audit-summary__stats {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .source-audit-summary__notes {
            display: grid;
            gap: 4px;
            margin-top: 8px;
            color: #64748b;
            font-size: 12px;
            line-height: 1.6;
        }
        .source-entry-desc {
            color: #64748b;
            font-size: 13px;
            line-height: 1.75;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
        .source-entry-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .source-entry-link,
        .source-entry-link-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.34);
            background: rgba(255,255,255,0.94);
            color: #334155;
            font-size: 12px;
            font-weight: 700;
            text-decoration: none;
            transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
        }
        .source-entry-link:hover,
        .source-entry-link-btn:hover {
            transform: translateY(-1px);
            background: rgba(248,250,252,0.98);
            border-color: rgba(99,102,241,0.28);
            color: #1f2937;
        }
        .source-evidence {
            margin-top: 0;
            background: rgba(248, 250, 252, 0.72);
            border: 1px solid rgba(226, 232, 240, 0.84);
            border-radius: 18px;
            overflow: hidden;
            transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
        }
        .source-evidence[open] {
            border-color: rgba(148, 163, 184, 0.34);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
        }
        .source-evidence summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            cursor: pointer;
            padding: 13px 15px;
            font-weight: 700;
            color: #334155;
            list-style: none;
        }
        .source-evidence summary::-webkit-details-marker {
            display: none;
        }
        .source-evidence summary::after {
            content: '展开';
            flex-shrink: 0;
            padding: 5px 10px;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.14);
            color: #475569;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.04em;
        }
        .source-evidence[open] summary::after {
            content: '收起';
            background: rgba(148, 163, 184, 0.2);
            color: #334155;
        }
        .source-evidence--supplemental {
            background: rgba(248,250,252,0.52);
            border-style: solid;
        }
        .source-evidence-summary {
            display: grid;
            gap: 4px;
            min-width: 0;
        }
        .source-evidence-summary__label {
            font-size: 14px;
            line-height: 1.35;
            color: #0f172a;
        }
        .source-evidence-summary__hint {
            font-size: 12px;
            line-height: 1.6;
            color: #64748b;
            font-weight: 600;
        }
        .source-evidence-content {
            display: grid;
            gap: 10px;
            padding: 0 15px 15px;
        }
        .source-evidence:not([open]) > .source-evidence-content {
            display: none !important;
        }
        .source-evidence-reading-card,
        .source-evidence-raw-card {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            border: 1px solid rgba(203, 213, 225, 0.94);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 252, 0.98) 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
        }
        .source-evidence-reading-card {
            padding: 16px;
            border-color: rgba(191, 219, 254, 0.95);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.84), 0 14px 34px rgba(59, 130, 246, 0.06);
        }
        .source-evidence-reading-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }
        .source-evidence-reading-copy {
            min-width: 0;
        }
        .source-evidence-kicker {
            display: inline-flex;
            align-items: center;
            padding: 5px 10px;
            border-radius: 999px;
            background: rgba(15, 118, 110, 0.08);
            color: #0f766e;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        .source-evidence-title {
            margin-top: 10px;
            font-size: 15px;
            line-height: 1.7;
            font-weight: 800;
            color: #111827;
        }
        .source-evidence-reading-note {
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(193, 122, 58, 0.1);
            color: #9a5b24;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.04em;
            white-space: nowrap;
        }
        .source-evidence-text {
            white-space: pre-wrap;
            line-height: 1.92;
            color: #334155;
            font-size: 14px;
            letter-spacing: 0.01em;
            padding: 15px 16px;
            border-radius: 16px;
            background: rgba(248, 250, 252, 0.82);
            border: 1px solid rgba(226, 232, 240, 0.82);
            border-left: 3px solid rgba(15, 118, 110, 0.28);
        }
        .source-evidence-metric-list {
            display: grid;
            gap: 10px;
            padding: 6px 2px 2px;
        }
        .source-evidence-metric-item {
            display: grid;
            gap: 6px;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(248, 250, 252, 0.88);
            border: 1px solid rgba(226, 232, 240, 0.9);
            border-left: 3px solid rgba(15, 118, 110, 0.26);
        }
        .source-evidence-metric-label {
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.04em;
            color: #0f766e;
        }
        .source-evidence-metric-detail {
            font-size: 14px;
            line-height: 1.9;
            color: #334155;
            word-break: break-word;
        }
        .source-evidence-raw {
            border-radius: 16px;
            border: 1px dashed rgba(148, 163, 184, 0.4);
            background: rgba(255, 255, 255, 0.72);
            overflow: hidden;
        }
        .source-evidence-raw > summary {
            padding: 12px 14px;
            font-size: 13px;
            color: #475467;
        }
        .source-evidence-raw > summary::after {
            content: '更多上下文';
        }
        .source-evidence-raw[open] > summary::after {
            content: '收起';
        }
        .source-evidence-raw-card {
            margin: 0;
            padding: 12px;
            border-radius: 16px;
            background: rgba(255,255,255,0.84);
        }
        .source-evidence-raw-card--data {
            background: linear-gradient(180deg, rgba(239, 246, 255, 0.48) 0%, rgba(255,255,255,0.92) 100%);
            border: 1px solid rgba(191, 219, 254, 0.88);
        }
        .source-evidence-raw-card .source-evidence-text {
            background: rgba(255, 255, 255, 0.88);
            border-left-color: rgba(148, 163, 184, 0.3);
        }
        .source-context-pdf-shell {
            display: grid;
            gap: 12px;
        }
        .source-context-pdf-preview {
            overflow: auto;
            padding: 10px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(226, 232, 240, 0.96);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
        }
        .source-context-pdf-preview canvas {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 8px;
            background: #ffffff;
        }
        .source-context-pdf-status {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 96px;
            padding: 12px;
            color: #64748b;
            font-size: 13px;
            line-height: 1.7;
            text-align: center;
        }
        .source-context-pdf-status--error {
            color: #9f1239;
        }
        .source-context-pdf-fallback {
            display: grid;
            gap: 12px;
        }
        .pdf-preview-modal {
            position: fixed;
            inset: 0;
            z-index: 1100;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 28px;
            background: rgba(15, 23, 42, 0.42);
        }
        .pdf-preview-modal.is-open {
            display: flex;
        }
        .pdf-preview-modal__panel {
            display: grid;
            grid-template-rows: auto auto minmax(0, 1fr);
            gap: 12px;
            width: min(980px, 96vw);
            height: min(860px, 92vh);
            padding: 16px;
            border-radius: 18px;
            background: #fffefa;
            border: 1px solid rgba(214, 221, 230, 0.96);
            box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
        }
        .pdf-preview-modal__head,
        .pdf-preview-modal__toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        .pdf-preview-modal__head span {
            display: block;
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
        }
        .pdf-preview-modal__toolbar {
            justify-content: flex-start;
            flex-wrap: wrap;
        }
        .pdf-preview-modal__toolbar input {
            width: 88px;
            height: 36px;
            border-radius: 10px;
            border: 1px solid rgba(203, 213, 225, 0.95);
            padding: 0 10px;
        }
        .pdf-preview-modal__body {
            min-height: 0;
            overflow: auto;
            border-radius: 14px;
            background: #eef2f7;
            border: 1px solid rgba(203, 213, 225, 0.92);
        }
        .pdf-preview-modal__page {
            position: relative;
            min-height: 640px;
            transform-origin: top left;
            background: #ffffff;
        }
        .pdf-preview-modal__canvas {
            display: grid;
            place-items: start center;
            min-height: 760px;
            padding: 18px;
            background: #ffffff;
        }
        .pdf-preview-modal__canvas canvas {
            display: block;
            max-width: 100%;
            height: auto;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
            background: #ffffff;
        }
        .pdf-preview-modal__page > span {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 5px 8px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.72);
            color: #ffffff;
            font-size: 12px;
        }
        .pdf-preview-modal__highlight {
            position: absolute;
            z-index: 2;
            display: none;
            border: 2px solid #f59e0b;
            background: rgba(245, 158, 11, 0.16);
            pointer-events: none;
        }
        .source-evidence-content > .source-evidence-table-card,
        .source-evidence-content > .source-evidence-chart-card {
            margin-bottom: 0;
        }
        .source-evidence-table-card {
            margin-bottom: 12px;
            max-width: 100%;
            border: 1px solid rgba(226,232,240,0.96);
            border-radius: 14px;
            background: rgba(255,255,255,0.98);
            overflow: hidden;
        }
        .source-evidence-chart-card {
            margin-bottom: 12px;
            border: 1px solid rgba(191,219,254,0.96);
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(239,246,255,0.98) 0%, rgba(255,255,255,0.98) 100%);
            padding: 12px 14px;
        }
        .source-evidence-chart-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }
        .source-evidence-chart-title {
            font-size: 14px;
            font-weight: 800;
            color: #0f172a;
        }
        .source-evidence-chart-badge {
            flex: 0 0 auto;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(59,130,246,0.12);
            color: #1d4ed8;
            font-size: 11px;
            font-weight: 700;
        }
        .source-evidence-chart-bars {
            display: grid;
            gap: 8px;
        }
        .source-evidence-chart-row {
            display: grid;
            grid-template-columns: minmax(88px, 1.4fr) minmax(120px, 3fr) auto;
            gap: 10px;
            align-items: center;
        }
        .source-evidence-chart-label,
        .source-evidence-chart-value {
            font-size: 12px;
            color: #334155;
            line-height: 1.6;
        }
        .source-evidence-chart-track {
            position: relative;
            height: 10px;
            border-radius: 999px;
            background: rgba(191,219,254,0.55);
            overflow: hidden;
        }
        .source-evidence-chart-fill {
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, #2563eb 0%, #0f766e 100%);
        }
        .source-evidence-table-head {
            display: grid;
            gap: 6px;
            padding: 12px 14px 8px;
        }
        .source-evidence-table-title {
            font-size: 14px;
            font-weight: 800;
            color: #111827;
        }
        .source-evidence-table-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            color: #64748b;
            font-size: 12px;
        }
        .source-evidence-table-wrap {
            overflow-x: auto;
            max-width: 100%;
            padding: 0 14px 14px;
        }
        .source-evidence-table {
            width: 100%;
            min-width: 640px;
            border-collapse: collapse;
            font-size: 12px;
            color: #334155;
        }
        .source-evidence-table th,
        .source-evidence-table td {
            border: 1px solid rgba(203,213,225,0.96);
            padding: 8px 10px;
            vertical-align: top;
            text-align: left;
            line-height: 1.7;
            white-space: normal;
            overflow-wrap: anywhere;
            word-break: normal;
        }
        .source-evidence-table th {
            background: rgba(241,245,249,0.96);
            color: #0f172a;
            font-weight: 800;
        }
        .source-evidence-table .source-evidence-cell--numeric {
            white-space: nowrap;
            word-break: keep-all;
            font-variant-numeric: tabular-nums;
        }
        .source-jump-target {
            animation: sourceTargetPulse 1.4s ease;
            box-shadow: 0 0 0 4px rgba(99,102,241,0.12), 0 18px 30px rgba(99,102,241,0.16);
            transform: translateY(-2px);
        }
        @keyframes sourceTargetPulse {
            0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.28); }
            100% { box-shadow: 0 0 0 12px rgba(99,102,241,0); }
        }
        .report-progress {
            position: relative;
            overflow: visible;
            display: grid;
            gap: 16px;
            padding: 22px 24px;
            padding-bottom: 28px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(238,244,255,0.96) 0%, rgba(247,243,255,0.96) 100%);
            border: 1px solid rgba(99,102,241,0.12);
            box-shadow: 0 18px 36px rgba(99,102,241,0.12);
        }
        .report-progress::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 45%, transparent 100%);
            transform: translateX(-100%);
            animation: reportShimmer 2.6s linear infinite;
            pointer-events: none;
        }
        .report-progress-hero {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 16px;
            align-items: center;
            margin-bottom: 18px;
            position: relative;
            z-index: 1;
        }
        .report-progress-orb {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            background: radial-gradient(circle at 30% 30%, #7dd3fc 0%, #6366f1 55%, #7c3aed 100%);
            box-shadow: 0 0 0 0 rgba(99,102,241,0.28);
            animation: reportPulse 1.8s ease-out infinite;
        }
        .report-progress h3 {
            margin: 0 0 6px 0;
            font-size: 20px;
            color: #1f2937;
        }
        .report-progress-badge-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }
        .report-progress-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            color: #4338ca;
            background: rgba(255,255,255,0.84);
            border: 1px solid rgba(99,102,241,0.14);
            box-shadow: 0 8px 22px rgba(99,102,241,0.08);
        }
        .report-progress p {
            margin: 0;
            color: #5b6475;
            line-height: 1.7;
            font-size: 14px;
        }
        .report-progress-percent {
            min-width: 72px;
            text-align: right;
            font-size: 28px;
            font-weight: 700;
            color: #4338ca;
            letter-spacing: -0.02em;
        }
        .report-progress-bar {
            position: relative;
            height: 12px;
            border-radius: 999px;
            background: rgba(99,102,241,0.12);
            overflow: hidden;
            z-index: 1;
        }
        .report-progress-fill {
            height: 100%;
            width: 0%;
            border-radius: inherit;
            background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #8b5cf6 100%);
            box-shadow: 0 10px 30px rgba(99,102,241,0.35);
            transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
            position: relative;
        }
        .report-progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 86px;
            height: 100%;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 100%);
        }
        .report-progress-steps {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
            margin-top: 0;
            position: relative;
            z-index: 1;
            align-items: stretch;
        }
        .report-progress-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            margin-top: 0;
            position: relative;
            z-index: 1;
            align-items: stretch;
        }
        .report-progress-sources {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 0;
            position: relative;
            z-index: 1;
            align-items: flex-start;
        }
        .report-progress-source-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(99,102,241,0.14);
            color: #334155;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 10px 22px rgba(99,102,241,0.06);
        }
        .report-progress-source-chip.active {
            background: linear-gradient(135deg, rgba(224,231,255,0.98) 0%, rgba(219,234,254,0.98) 100%);
            color: #1d4ed8;
            border-color: rgba(59,130,246,0.18);
        }
        .report-progress-source-count {
            min-width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 6px;
            border-radius: 999px;
            background: rgba(99,102,241,0.12);
            color: #4338ca;
            font-size: 11px;
        }
        .report-progress-observability {
            position: relative;
            z-index: 1;
        }
        .observability-panel {
            display: grid;
            gap: 12px;
            padding: 14px;
            border-radius: 16px;
            border: 1px solid rgba(15, 118, 110, 0.14);
            background: rgba(255, 255, 255, 0.74);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
        }
        .observability-panel__header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
        }
        .observability-panel__header strong {
            display: block;
            margin-top: 4px;
            color: #17303b;
            font-size: 15px;
        }
        .observability-panel__eyebrow {
            color: #0f766e;
            font-size: 11px;
            font-weight: 800;
        }
        .observability-panel__status {
            flex: 0 0 auto;
            padding: 5px 10px;
            border-radius: 999px;
            color: #155e75;
            background: rgba(224, 242, 254, 0.88);
            border: 1px solid rgba(14, 116, 144, 0.12);
            font-size: 12px;
            font-weight: 800;
        }
        .observability-panel__grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 10px;
        }
        .observability-panel__metric {
            min-width: 0;
            padding: 10px;
            border-radius: 12px;
            background: rgba(248, 250, 252, 0.86);
            border: 1px solid rgba(148, 163, 184, 0.14);
        }
        .observability-panel__metric span {
            display: block;
            color: #64748b;
            font-size: 11px;
            font-weight: 700;
        }
        .observability-panel__metric strong {
            display: block;
            margin-top: 4px;
            color: #0f172a;
            font-size: 16px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .observability-panel__metric small {
            margin-left: 3px;
            color: #64748b;
            font-size: 11px;
        }
        .observability-panel__messages {
            padding: 10px 12px;
            border-radius: 12px;
            color: #334155;
            background: rgba(255, 251, 235, 0.82);
            border: 1px solid rgba(245, 158, 11, 0.14);
        }
        .observability-panel__messages--error {
            color: #7f1d1d;
            background: rgba(254, 242, 242, 0.84);
            border-color: rgba(239, 68, 68, 0.14);
        }
        .observability-panel__messages strong {
            display: block;
            margin-bottom: 6px;
            font-size: 12px;
        }
        .observability-panel__messages ul {
            display: grid;
            gap: 4px;
            margin: 0;
            padding-left: 18px;
            font-size: 12px;
            line-height: 1.5;
        }
        .capability-panel {
            display: grid;
            gap: 18px;
            padding: 22px;
            border-radius: 8px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: #ffffff;
            box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
        }
        .capability-panel__hero {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.92);
        }
        .capability-panel__eyebrow {
            color: #0f766e;
            font-size: 12px;
            font-weight: 800;
        }
        .capability-panel__hero h3 {
            margin: 6px 0 8px;
            color: #0f172a;
            font-size: 26px;
            line-height: 1.2;
        }
        .capability-panel__hero p {
            margin: 0;
            color: #475569;
            font-size: 14px;
            line-height: 1.65;
        }
        .capability-panel__state {
            flex: 0 0 auto;
            padding: 8px 12px;
            border-radius: 999px;
            border: 1px solid rgba(15, 118, 110, 0.16);
            background: rgba(240, 253, 250, 0.92);
            color: #0f766e;
            font-size: 12px;
            font-weight: 800;
        }
        .capability-panel__diff {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }
        .capability-panel__diff div,
        .capability-panel__section {
            min-width: 0;
            border: 1px solid rgba(203, 213, 225, 0.7);
            border-radius: 8px;
            background: #f8fafc;
        }
        .capability-panel__diff div {
            padding: 14px 16px;
        }
        .capability-panel__diff strong,
        .capability-panel__section h4 {
            display: block;
            margin: 0 0 8px;
            color: #172033;
            font-size: 14px;
            font-weight: 800;
        }
        .capability-panel__diff span {
            display: block;
            color: #475569;
            font-size: 13px;
            line-height: 1.65;
        }
        .capability-panel__grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }
        .capability-panel__section {
            display: grid;
            gap: 12px;
            padding: 16px;
        }
        .capability-panel__metrics {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }
        .capability-panel__metric {
            min-width: 0;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid rgba(226, 232, 240, 0.94);
            background: #ffffff;
        }
        .capability-panel__metric span,
        .capability-panel__metric small {
            display: block;
            color: #64748b;
            font-size: 11px;
            font-weight: 700;
            line-height: 1.4;
        }
        .capability-panel__metric strong {
            display: block;
            margin-top: 4px;
            color: #0f172a;
            font-size: 17px;
            overflow-wrap: anywhere;
        }
        .capability-panel__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .capability-panel__chips span {
            padding: 6px 9px;
            border-radius: 999px;
            border: 1px solid rgba(15, 118, 110, 0.13);
            background: rgba(240, 253, 250, 0.82);
            color: #115e59;
            font-size: 12px;
            font-weight: 800;
        }
        .capability-panel__empty {
            color: #64748b;
            font-size: 12px;
        }
        .capability-panel__summary-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }
        .capability-panel__summary-card {
            min-width: 0;
            padding: 14px;
            border: 1px solid rgba(203, 213, 225, 0.74);
            border-radius: 8px;
            background: #f8fafc;
        }
        .capability-panel__summary-card span {
            display: block;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.4;
        }
        .capability-panel__summary-card strong {
            display: block;
            margin-top: 6px;
            color: #0f172a;
            font-size: 18px;
            overflow-wrap: anywhere;
        }
        .capability-panel__summary-card small {
            display: block;
            margin-top: 4px;
            color: #475569;
            font-size: 12px;
            line-height: 1.5;
        }
        .capability-panel__user-issues {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .capability-panel__user-issues span {
            padding: 7px 10px;
            border-radius: 999px;
            border: 1px solid rgba(245, 158, 11, 0.22);
            background: rgba(255, 251, 235, 0.88);
            color: #92400e;
            font-size: 12px;
            font-weight: 800;
        }
        .capability-panel__details {
            min-width: 0;
            border: 1px solid rgba(203, 213, 225, 0.72);
            border-radius: 8px;
            background: #ffffff;
        }
        .capability-panel__details summary {
            cursor: pointer;
            padding: 13px 15px;
            color: #172033;
            font-size: 14px;
            font-weight: 800;
        }
        .capability-panel__details > .capability-panel__grid,
        .capability-panel__details > .capability-panel__debug-list {
            padding: 0 15px 15px;
        }
        .capability-panel__debug-list {
            display: grid;
            gap: 10px;
        }
        .capability-panel__debug-list div {
            display: grid;
            grid-template-columns: 130px minmax(0, 1fr);
            gap: 10px;
            padding: 10px;
            border-radius: 8px;
            background: #f8fafc;
            color: #475569;
            font-size: 12px;
            line-height: 1.55;
        }
        .capability-panel__debug-list strong {
            color: #0f172a;
        }
        .history-card__revision-timeline {
            display: grid;
            gap: 8px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(226, 232, 240, 0.9);
        }
        .history-card__revision-title {
            color: #475569;
            font-size: 12px;
            font-weight: 800;
        }
        .history-card__revision-item {
            display: grid;
            gap: 6px;
            padding: 8px 10px;
            border-radius: 8px;
            background: rgba(248, 250, 252, 0.92);
            border: 1px solid rgba(226, 232, 240, 0.92);
        }
        .history-card__revision-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: #64748b;
            font-size: 12px;
        }
        .history-card__revision-meta strong {
            color: #0f172a;
        }
        .history-card__revision-changes {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .history-card__revision-changes span {
            padding: 4px 7px;
            border-radius: 999px;
            background: rgba(219, 234, 254, 0.75);
            color: #1d4ed8;
            font-size: 11px;
            font-weight: 800;
        }
        .report-progress-stat {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255,255,255,0.7);
            border: 1px solid rgba(148,163,184,0.16);
            box-shadow: 0 12px 24px rgba(15,23,42,0.04);
            backdrop-filter: blur(8px);
        }
        .report-progress-stat-label {
            color: #64748b;
            font-size: 12px;
            margin-bottom: 6px;
        }
        .report-progress-stat-value {
            color: #0f172a;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.02em;
        }
        .report-progress-step {
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255,255,255,0.55);
            color: #677286;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .report-progress-step.active {
            transform: translateY(-2px);
            background: rgba(255,255,255,0.92);
            color: #312e81;
            border-color: rgba(99,102,241,0.18);
            box-shadow: 0 10px 24px rgba(99,102,241,0.12);
        }
        .report-progress-step.done {
            background: linear-gradient(135deg, rgba(219,234,254,0.96) 0%, rgba(224,231,255,0.96) 100%);
            color: #1d4ed8;
            border-color: rgba(59,130,246,0.18);
        }
        @keyframes reportPulse {
            0% {
                transform: scale(0.96);
                box-shadow: 0 0 0 0 rgba(99,102,241,0.25);
            }
            70% {
                transform: scale(1);
                box-shadow: 0 0 0 14px rgba(99,102,241,0);
            }
            100% {
                transform: scale(0.96);
                box-shadow: 0 0 0 0 rgba(99,102,241,0);
            }
        }
        @keyframes reportShimmer {
            from { transform: translateX(-100%); }
            to { transform: translateX(120%); }
        }
        @media (max-width: 900px) {
            .report-progress-hero {
                grid-template-columns: auto 1fr;
            }
            .report-progress-percent {
                grid-column: 1 / -1;
                text-align: left;
            }
            .report-progress-stats,
            .observability-panel__grid,
            .capability-panel__grid,
            .capability-panel__summary-grid,
            .capability-panel__diff,
            .report-progress-steps,
            .evidence-overview-grid,
            .trend-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .evidence-overview-header {
                flex-direction: column;
            }
        }
        @media (max-width: 1180px) {
            .report-progress-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (max-width: 640px) {
            .report-progress {
                padding: 18px;
            }
            .report-progress-stats,
            .capability-panel__grid,
            .capability-panel__summary-grid,
            .capability-panel__diff,
            .capability-panel__metrics,
            .report-progress-steps,
            .evidence-overview-grid,
            .trend-grid {
                grid-template-columns: 1fr;
            }
            .capability-panel__hero {
                flex-direction: column;
            }
            .source-entry,
            .insight-list-item {
                grid-template-columns: 1fr;
            }
            .source-entry-index,
            .insight-list-index {
                width: fit-content;
                min-width: 38px;
            }
            .eval-insight-card {
                padding: 18px;
                border-radius: 18px;
            }
            .eval-insight-card__title {
                font-size: 19px;
            }
            .eval-insight-card__meta {
                grid-template-columns: 1fr;
            }
        }
/* Base resets if hidden class is used */
.hidden { display: none !important; }
        .company-select {
            width: 100%; padding: 14px 18px;
            border: 2px solid #e8e8e8; border-radius: 12px;
            font-size: 15px; margin-bottom: 18px;
            transition: all 0.3s ease;
        }
        .company-select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 4px rgba(102,126,234,0.1); }
        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            text-align: center;
        }
        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid #f0f0f0;
            border-top-color: #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .loading-text {
            color: #666;
            font-size: 16px;
            margin-bottom: 10px;
        }
        .loading-steps {
            color: #999;
            font-size: 14px;
            margin-top: 10px;
        }
        .loading-steps .step {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 6px 0;
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }
        .loading-steps .step.active {
            opacity: 1;
        }
        .loading-steps .step-dot {
            width: 8px;
            height: 8px;
            background: #667eea;
            border-radius: 50%;
            animation: pulse 1.5s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.7; }
        }
        .company-search-btn {
            padding: 12px 20px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .company-search-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35); }
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            animation: fadeIn 0.2s ease-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .modal-content {
            background: white;
            border-radius: 20px;
            padding: 32px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease-out;
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        .modal-title {
            font-size: 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .modal-close {
            width: 40px;
            height: 40px;
            border: none;
            background: #f0f0f0;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .modal-close:hover { background: #e0e0e0; transform: rotate(90deg); }
        body.evidence-table-modal-open {
            overflow: hidden;
        }
        .evidence-table-modal-content {
            max-width: min(1120px, 92vw);
            width: min(1120px, 92vw);
            padding: 24px 24px 20px;
        }
        .evidence-table-modal-meta {
            margin-top: 6px;
            font-size: 13px;
            color: #64748b;
        }
        .evidence-table-modal-body {
            display: grid;
            gap: 14px;
        }
        .evidence-table-modal-wrap {
            overflow: auto;
            max-height: calc(80vh - 140px);
            padding-bottom: 6px;
        }
        .evidence-table-modal-table {
            width: max-content;
            min-width: 100%;
        }
        .evidence-table-modal-table thead th {
            position: sticky;
            top: 0;
            z-index: 3;
        }
        .evidence-table-modal-table th:first-child,
        .evidence-table-modal-table td:first-child {
            position: sticky;
            left: 0;
            z-index: 2;
            min-width: 180px;
            background: #ffffff;
            box-shadow: 1px 0 0 rgba(203,213,225,0.96);
        }
        .evidence-table-modal-table thead th:first-child {
            z-index: 4;
            background: rgba(241,245,249,0.98);
        }
        .source-evidence-table-card--compact .source-evidence-table td:first-child,
        .source-evidence-table-card--compact .source-evidence-table th:first-child,
        .source-evidence-table-card--compact .source-evidence-cell--numeric {
            overflow: visible;
            text-overflow: clip;
        }
        .evidence-table-modal-link {
            font-size: 12px;
            word-break: break-all;
        }
        .source-evidence-table-card--compact .source-evidence-table-wrap {
            overflow-x: auto;
            overflow-y: hidden;
        }
        .source-evidence-table-card--compact .source-evidence-table {
            width: 100%;
            min-width: 100%;
            table-layout: fixed;
        }
        .source-evidence-table-card--compact .source-evidence-table th,
        .source-evidence-table-card--compact .source-evidence-table td {
            padding: 7px 8px;
            overflow-wrap: anywhere;
        }
        .source-evidence-table-card--compact .source-evidence-cell--numeric {
            white-space: normal;
            word-break: break-word;
        }
        .source-evidence-table-preview-meta {
            font-size: 12px;
            color: #64748b;
        }
        .source-context-pdf-page-note {
            margin-top: 8px;
            color: #64748b;
            font-size: 12px;
            font-weight: 700;
        }
        .source-evidence-table-open-btn {
            margin: 0 14px 14px;
            align-self: flex-start;
            border: 1px solid rgba(37, 99, 235, 0.2);
            background: rgba(239, 246, 255, 0.96);
            color: #1d4ed8;
            border-radius: 999px;
            padding: 7px 12px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }
        .source-evidence-table-open-btn:hover {
            background: rgba(219, 234, 254, 0.98);
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14);
        }
        .source-evidence-pdf-jump-btn {
            border: 1px solid rgba(37, 99, 235, 0.22);
            background: rgba(239, 246, 255, 0.96);
            color: #1d4ed8;
            border-radius: 999px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
        }
        .source-evidence-pdf-jump-btn:hover {
            background: rgba(219, 234, 254, 0.98);
        }
        .source-evidence-pdf-page-unknown {
            color: #64748b;
            font-size: 12px;
            font-weight: 700;
        }
        .evidence-table-modal-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 8px 0 12px;
        }
        .search-results {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
        }
        .search-result-item {
            padding: 16px 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        .search-result-item:hover {
            transform: translateX(4px);
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102,126,234,0.15);
        }
        .search-result-name {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }
        .search-result-info {
            font-size: 13px;
            color: #888;
        }
        .search-result-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 8px;
        }
        .search-result-chip {
            font-size: 12px;
            color: #4f46e5;
            background: #eef2ff;
            border-radius: 999px;
            padding: 4px 10px;
        }
        .search-result-note {
            margin-top: 8px;
            font-size: 12px;
            color: #6b7280;
            line-height: 1.6;
        }
        .search-results-summary {
            margin-bottom: 14px;
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid rgba(15, 118, 110, 0.14);
            background:
                linear-gradient(135deg, rgba(240, 253, 250, 0.95) 0%, rgba(236, 253, 245, 0.88) 52%, rgba(255, 247, 237, 0.92) 100%);
            box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
        }
        .search-results-summary__eyebrow {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #0f766e;
        }
        .search-results-summary__title {
            margin-top: 8px;
            font-size: 17px;
            font-weight: 700;
            color: #0f172a;
        }
        .search-results-summary__note {
            margin-top: 6px;
            font-size: 13px;
            line-height: 1.7;
            color: #475569;
        }
        .search-results-container--network {
            padding-right: 4px;
        }
        .search-result-item--network {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.96) 100%);
            border: 1px solid rgba(148, 163, 184, 0.22);
            box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
        }
        .search-result-item--network:hover {
            transform: translateY(-2px);
            border-color: rgba(15, 118, 110, 0.28);
            box-shadow: 0 24px 36px rgba(15, 23, 42, 0.10);
        }
        .search-result-rank {
            flex: 0 0 40px;
            height: 40px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(15, 118, 110, 0.14) 0%, rgba(193, 122, 58, 0.18) 100%);
            color: #0f766e;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.08em;
        }
        .search-result-copy {
            flex: 1;
            min-width: 0;
        }
        .search-result-url {
            font-size: 12px;
            color: #0f766e;
            letter-spacing: 0.02em;
            margin-bottom: 6px;
        }
        .search-result-title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .search-result-item--network .search-result-name {
            margin-bottom: 0;
        }
        .search-result-cta {
            flex-shrink: 0;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(15, 118, 110, 0.08);
            color: #0f766e;
            font-size: 12px;
            font-weight: 600;
        }
        .download-btn {
            padding: 14px 28px;
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35); }
        .download-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .search-results-container {
            max-height: 400px;
            overflow-y: auto;
        }
        .search-results-container::-webkit-scrollbar { width: 8px; }
        .search-results-container::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 4px; }
        .search-results-container::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 4px;
        }
        .load-more-indicator {
            text-align: center;
            padding: 20px;
            color: #999;
        }
        .report-section {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.5s ease forwards;
        }
        .report-section:nth-child(1) { animation-delay: 0.1s; }
        .report-section:nth-child(2) { animation-delay: 0.2s; }
        .report-section:nth-child(3) { animation-delay: 0.3s; }
        .report-section:nth-child(4) { animation-delay: 0.4s; }
        .report-section:nth-child(5) { animation-delay: 0.5s; }
        .report-section h4 {
            opacity: 0;
            transform: translateX(-20px);
            animation: slideInLeft 0.4s ease forwards;
            animation-delay: 0.3s;
        }
        .report-section p {
            opacity: 0;
            animation: fadeIn 0.4s ease forwards;
            animation-delay: 0.5s;
        }
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .risk-selected-indicator {
            display: none;
            padding: 10px 16px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            border-radius: 10px;
            margin-bottom: 18px;
            font-weight: 500;
        }
        .risk-selected-indicator.show { display: inline-flex; align-items: center; gap: 8px; }
    

/* ================== CSS 动画优化 ================== */

/* 1. 顶部标签切换动画 (淡入淡出) */
.panel {
    transition: none;
}
.panel.hidden {
    display: none;
    opacity: 0;
}

body.wgz-editorial-theme .module-panel.panel-switch-enter {
    animation: none;
}

body.wgz-editorial-theme .module-section-enter {
    animation: none;
}

@keyframes editorialPanelEnter {
    0% {
        opacity: 0.72;
    }
    100% {
        opacity: 1;
    }
}

@keyframes editorialSectionEnter {
    0% {
        opacity: 0.82;
    }
    100% {
        opacity: 1;
    }
}
.panel:not(.hidden) {
    display: block;
}
.panel.module-panel:not(.hidden) {
    display: flex;
}

/* 2. 按钮交互动画 */
.btn, .send-btn, .nav-tab, .quick-action, .company-search-btn {
    transition: all 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.btn:hover, .send-btn:hover, .quick-action:hover, .company-search-btn:hover {
    transform: translateY(-2px);
}
.btn:active, .send-btn:active, .quick-action:active, .nav-tab:active, .company-search-btn:active {
    transform: scale(0.95);
}

/* 3. 加载状态按钮动画 (方案B: 跳动小圆点) */
@keyframes bounce-dot {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}
.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.loading-dots span {
    display: inline-block;
    animation: bounce-dot 1s infinite ease-in-out;
}
.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* 4. 企业标签弹入动画 */
@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.risk-selected-indicator.show {
    animation: popIn 0.4s ease-out forwards;
    display: inline-flex;
}

/* 5. 输入框聚焦动画 */
input[type="text"], input[type="password"], select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    outline: none;
}

/* 6. 主卡片入场动画 */
@keyframes slideUpFade {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.main-content .panel {
    animation: none;
}

/* 7. 下拉框展开动画 */
.company-select {
    transition: all 0.3s ease;
}
.company-select option {
    animation: fadeInOption 0.3s ease-in;
}
@keyframes fadeInOption {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Citation Link Styles */
.citation-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8em;
    padding: 0 2px;
    transition: color 0.2s;
}
.citation-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ================== Editorial dashboard theme ================== */
body.wgz-editorial-theme {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', sans-serif;
    color: #1f2937;
    caret-color: transparent;
    background:
        radial-gradient(circle at 15% 10%, rgba(15, 118, 110, 0.18), transparent 24%),
        radial-gradient(circle at 84% 8%, rgba(193, 122, 58, 0.20), transparent 23%),
        radial-gradient(circle at 75% 88%, rgba(14, 165, 233, 0.10), transparent 26%),
        linear-gradient(180deg, #f8f3e8 0%, #efe5d5 48%, #e9ddca 100%);
    position: relative;
    overflow-x: hidden;
}

body.wgz-editorial-theme input,
body.wgz-editorial-theme textarea,
body.wgz-editorial-theme [contenteditable="true"] {
    caret-color: auto;
}

body.wgz-editorial-theme::before,
body.wgz-editorial-theme::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body.wgz-editorial-theme::before {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 30%, rgba(255,255,255,0.0) 100%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 72px);
    mix-blend-mode: soft-light;
    opacity: 0.35;
}

body.wgz-editorial-theme::after {
    background:
        radial-gradient(circle at 12% 82%, rgba(255,255,255,0.22), transparent 28%),
        radial-gradient(circle at 92% 22%, rgba(255,255,255,0.16), transparent 22%);
    opacity: 0.7;
}

body.wgz-editorial-theme .container {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    padding: 26px 22px 48px;
}

body.wgz-editorial-theme header,
body.wgz-editorial-theme .panel,
body.wgz-editorial-theme .layout-rail-card,
body.wgz-editorial-theme .tab-split-layout__surface,
body.wgz-editorial-theme .cr-dashboard-card,
body.wgz-editorial-theme .cr-metric-card,
body.wgz-editorial-theme .metric-card,
body.wgz-editorial-theme .trend-card,
body.wgz-editorial-theme .report-section,
body.wgz-editorial-theme .search-result-item,
body.wgz-editorial-theme .source-entry,
body.wgz-editorial-theme .modal-content,
body.wgz-editorial-theme .chat-messages,
body.wgz-editorial-theme .company-select,
body.wgz-editorial-theme .company-filter-select,
body.wgz-editorial-theme .company-filter-check,
body.wgz-editorial-theme .loading-container,
body.wgz-editorial-theme .report-progress,
body.wgz-editorial-theme .evidence-overview,
body.wgz-editorial-theme .sources-chain,
body.wgz-editorial-theme .source-evidence {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.97) 0%, rgba(247, 241, 231, 0.94) 100%);
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.11);
    backdrop-filter: blur(16px);
}

body.wgz-editorial-theme header {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border-top: 4px solid #0f766e;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

body.wgz-editorial-theme header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.05), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(193, 122, 58, 0.12), transparent 26%);
    pointer-events: none;
}

body.wgz-editorial-theme .header-top,
body.wgz-editorial-theme .nav-tabs,
body.wgz-editorial-theme .editorial-banner {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .header-top {
    gap: 20px;
    padding-bottom: 2px;
}

body.wgz-editorial-theme .logo {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 60%, #c17a3a 100%);
    box-shadow: 0 18px 32px rgba(15, 118, 110, 0.20);
}

body.wgz-editorial-theme .title-section h1,
body.wgz-editorial-theme .panel-title,
body.wgz-editorial-theme .section-heading,
body.wgz-editorial-theme .report-section-title,
body.wgz-editorial-theme .layout-rail-card__title,
body.wgz-editorial-theme .evidence-overview-title,
body.wgz-editorial-theme .modal-title {
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    letter-spacing: 0.01em;
}

body.wgz-editorial-theme .title-section h1 {
    background: linear-gradient(135deg, #101828 0%, #0f766e 55%, #c17a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.wgz-editorial-theme .title-section p,
body.wgz-editorial-theme .info-section,
body.wgz-editorial-theme .layout-rail-card__desc,
body.wgz-editorial-theme .evidence-overview-summary,
body.wgz-editorial-theme .search-result-info,
body.wgz-editorial-theme .search-result-note {
    color: #5f6774;
}

body.wgz-editorial-theme .info-section {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.wgz-editorial-theme .editorial-banner {
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.92) 0%, rgba(242, 236, 226, 0.96) 100%);
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .editorial-banner__copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

body.wgz-editorial-theme .editorial-banner__eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .editorial-banner__copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #384152;
}

body.wgz-editorial-theme .editorial-banner__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

body.wgz-editorial-theme .editorial-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 41, 55, 0.08);
    color: #293241;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .editorial-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #c17a3a 100%);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.10);
}

body.wgz-editorial-theme .panel {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border-top: 3px solid rgba(15, 118, 110, 0.84);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.11);
}

body.wgz-editorial-theme .panel::after,
body.wgz-editorial-theme .layout-rail-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.02), transparent 26%, rgba(193, 122, 58, 0.03));
}

body.wgz-editorial-theme .panel > *,
body.wgz-editorial-theme .layout-rail-card > * {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .panel-title {
    color: #111827;
}

body.wgz-editorial-theme .panel-title .icon {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 58%, #c17a3a 100%);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .main-content {
    gap: 24px;
}

body.wgz-editorial-theme .quick-action,
body.wgz-editorial-theme .company-search-btn,
body.wgz-editorial-theme .btn,
body.wgz-editorial-theme .send-btn,
body.wgz-editorial-theme .download-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

body.wgz-editorial-theme .btn,
body.wgz-editorial-theme .send-btn {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 64%, #0f172a 100%);
}

body.wgz-editorial-theme .company-search-btn {
    background: linear-gradient(135deg, #c17a3a 0%, #a16207 100%);
}

body.wgz-editorial-theme .quick-action {
    background: rgba(255, 255, 255, 0.74);
    color: #39414f;
    border: 1px solid rgba(31, 41, 55, 0.06);
}

body.wgz-editorial-theme .quick-action:hover,
body.wgz-editorial-theme .company-search-btn:hover,
body.wgz-editorial-theme .btn:hover,
body.wgz-editorial-theme .send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

body.wgz-editorial-theme .company-search input,
body.wgz-editorial-theme .chat-input,
body.wgz-editorial-theme .company-select,
body.wgz-editorial-theme .company-filter-select {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 41, 55, 0.10);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #1f2937;
}

body.wgz-editorial-theme .chat-container {
    gap: 18px;
}

body.wgz-editorial-theme .chat-messages {
    background:
        linear-gradient(180deg, rgba(252, 249, 243, 0.98) 0%, rgba(244, 237, 226, 0.96) 100%);
    border-radius: 24px;
}

body.wgz-editorial-theme .message.agent {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .message.user {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 68%, #c17a3a 100%);
}

body.wgz-editorial-theme .metrics-grid,
body.wgz-editorial-theme .trend-grid,
body.wgz-editorial-theme .evidence-overview-grid {
    gap: 14px;
}

body.wgz-editorial-theme .metric-card,
body.wgz-editorial-theme .trend-card,
body.wgz-editorial-theme .cr-dashboard-card,
body.wgz-editorial-theme .cr-metric-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border-top: 3px solid rgba(15, 118, 110, 0.40);
}

body.wgz-editorial-theme .risk-trend-brief,
body.wgz-editorial-theme .risk-turning-points,
body.wgz-editorial-theme .risk-turning-point,
body.wgz-editorial-theme .risk-trend-stat,
body.wgz-editorial-theme .risk-trend-cluster {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

body.wgz-editorial-theme .risk-turning-point--high {
    border-top: 3px solid rgba(220, 38, 38, 0.42);
}

body.wgz-editorial-theme .risk-turning-point--medium {
    border-top: 3px solid rgba(217, 119, 6, 0.38);
}

body.wgz-editorial-theme .risk-turning-point--low {
    border-top: 3px solid rgba(37, 99, 235, 0.34);
}

body.wgz-editorial-theme .metric-value,
body.wgz-editorial-theme .cr-metric-value,
body.wgz-editorial-theme .evidence-stat-value {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 58%, #c17a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.wgz-editorial-theme .report-section {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-top: 3px solid rgba(193, 122, 58, 0.42);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .report-section-card,
body.wgz-editorial-theme .report-section-summary {
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(245, 239, 229, 0.96) 100%);
}

body.wgz-editorial-theme .layout-rail-card--focus {
    padding: 0;
    overflow: hidden;
}

body.wgz-editorial-theme .report-financial-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme .report-financial-metric-card {
    display: grid;
    gap: 10px;
    min-height: 152px;
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 246, 239, 0.94) 100%);
    border: 1px solid rgba(31, 41, 55, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.wgz-editorial-theme .report-financial-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .report-financial-metric-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.wgz-editorial-theme .report-financial-metric-card__label {
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .report-financial-metric-card__period {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 41, 55, 0.08);
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

body.wgz-editorial-theme .report-financial-metric-card__value {
    color: #13212b;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.wgz-editorial-theme .report-financial-metric-card__note {
    margin-top: auto;
    color: #5b6472;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .report-financial-metric-card--teal .report-financial-metric-card__value {
    color: #0f766e;
}

body.wgz-editorial-theme .report-financial-metric-card--ink .report-financial-metric-card__value {
    color: #1f2937;
}

body.wgz-editorial-theme .report-financial-metric-card--slate .report-financial-metric-card__value {
    color: #475467;
}

body.wgz-editorial-theme .report-financial-metric-card--amber .report-financial-metric-card__value {
    color: #b45309;
}

body.wgz-editorial-theme .report-financial-metric-card--emerald .report-financial-metric-card__value {
    color: #047857;
}

body.wgz-editorial-theme .report-financial-metric-card--plum .report-financial-metric-card__value {
    color: #7c3aed;
}

body.wgz-editorial-theme .report-financial-metric-card.is-empty {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(243, 244, 246, 0.98) 100%);
}

body.wgz-editorial-theme .report-financial-metric-card.is-empty .report-financial-metric-card__value {
    color: #94a3b8;
    font-size: 24px;
}

body.wgz-editorial-theme .report-financial-metric-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

body.wgz-editorial-theme .report-financial-metric-foot__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .report-financial-metric-foot__text {
    color: #5f6774;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .report-financial-inline-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .report-financial-inline-note__kicker {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .report-financial-inline-note p {
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

body.wgz-editorial-theme .report-financial-trend-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

body.wgz-editorial-theme .report-financial-trend-summary__card {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(248, 251, 247, 0.92) 100%);
    border: 1px solid rgba(191, 214, 207, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.wgz-editorial-theme .report-financial-trend-summary__label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .report-financial-trend-summary__value {
    color: #13212b;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
}

body.wgz-editorial-theme .report-financial-trend-summary__period {
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .report-financial-trend-summary__meta {
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
}

body.wgz-editorial-theme .report-financial-trend-summary__card--teal {
    border-color: rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .report-financial-trend-summary__card--ink {
    border-color: rgba(31, 41, 55, 0.14);
}

body.wgz-editorial-theme .report-financial-trend-summary__card--amber {
    border-color: rgba(193, 122, 58, 0.22);
}

body.wgz-editorial-theme .report-network-toggle {
    margin-top: 12px;
}

body.wgz-editorial-theme #reportFilters.is-network-hidden {
    display: none;
}

body.wgz-editorial-theme #reportFinancialVisualsMount {
    display: grid;
    gap: 14px;
}

body.wgz-editorial-theme .layout-rail-card--financial-trend-hero {
    padding-bottom: 20px;
}

body.wgz-editorial-theme .layout-chart-rail--report-hero {
    min-height: 468px;
}

body.wgz-editorial-theme #reportFinancialTrendChartNote {
    margin-top: 14px;
}

body.wgz-editorial-theme .report-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 26px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background:
        radial-gradient(circle at top right, rgba(193, 122, 58, 0.12), transparent 32%),
        linear-gradient(140deg, rgba(255, 252, 247, 0.98) 0%, rgba(244, 237, 226, 0.98) 100%);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .report-hero-card__main,
body.wgz-editorial-theme .report-hero-card__side {
    min-width: 0;
}

body.wgz-editorial-theme .report-hero-card__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

body.wgz-editorial-theme .report-hero-card__eyebrow,
body.wgz-editorial-theme .report-hero-card__meta,
body.wgz-editorial-theme .report-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .report-hero-card__eyebrow {
    background: rgba(15, 118, 110, 0.11);
    color: #0f766e;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .report-hero-card__meta {
    background: rgba(255, 255, 255, 0.72);
    color: #4b5563;
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .report-hero-card__title {
    margin: 0;
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    font-size: 32px;
    line-height: 1.2;
    color: #111827;
}

body.wgz-editorial-theme .report-hero-card__summary {
    margin: 14px 0 0;
    color: #475467;
    line-height: 1.9;
    font-size: 15px;
}

body.wgz-editorial-theme .report-hero-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

body.wgz-editorial-theme .report-hero-stat {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 41, 55, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.wgz-editorial-theme .report-hero-stat__label {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 6px;
}

body.wgz-editorial-theme .report-hero-stat__value {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.wgz-editorial-theme .report-hero-focus {
    height: 100%;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(160deg, #111827 0%, #1f2937 62%, #0f766e 100%);
    color: rgba(248, 250, 252, 0.94);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.22);
}

body.wgz-editorial-theme .report-hero-focus__title,
body.wgz-editorial-theme .risk-focus-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(236, 253, 245, 0.88);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .report-hero-focus__facts {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

body.wgz-editorial-theme .report-hero-fact {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.wgz-editorial-theme .report-hero-fact--empty {
    color: rgba(226, 232, 240, 0.84);
    line-height: 1.8;
}

body.wgz-editorial-theme .report-hero-fact__label,
body.wgz-editorial-theme .report-hero-fact__note {
    color: rgba(226, 232, 240, 0.78);
    font-size: 12px;
}

body.wgz-editorial-theme .report-hero-fact__value {
    margin: 4px 0 2px;
    font-size: 20px;
    font-weight: 800;
    color: #fff7ed;
}

body.wgz-editorial-theme .report-hero-card__chips,
body.wgz-editorial-theme .risk-focus-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.wgz-editorial-theme .report-hero-chip {
    justify-content: space-between;
    min-width: 108px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.wgz-editorial-theme .report-hero-chip strong,
body.wgz-editorial-theme .risk-focus-chip strong {
    color: #fff;
    font-size: 13px;
}

body.wgz-editorial-theme .report-hero-outline {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.wgz-editorial-theme .report-hero-outline__title {
    color: rgba(255, 247, 237, 0.86);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .report-hero-outline__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

body.wgz-editorial-theme .report-hero-outline__item span:first-child {
    color: rgba(236, 253, 245, 0.72);
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .report-hero-outline__empty {
    margin-top: 10px;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.8;
}

body.wgz-editorial-theme .risk-focus-card {
    padding: 20px;
    background: linear-gradient(160deg, #101828 0%, #1f2937 70%, #0f766e 100%);
    color: rgba(248, 250, 252, 0.94);
}

body.wgz-editorial-theme .risk-focus-card__title {
    margin: 12px 0 0;
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    font-size: 24px;
    line-height: 1.3;
}

body.wgz-editorial-theme .risk-focus-card__headline {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

body.wgz-editorial-theme .risk-focus-card__headline strong {
    font-size: 19px;
    line-height: 1.45;
    color: #fffaf0;
}

body.wgz-editorial-theme .risk-focus-card__badge,
body.wgz-editorial-theme .risk-focus-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .risk-focus-card__badge {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(248, 250, 252, 0.88);
}

body.wgz-editorial-theme .risk-focus-card__badge--high {
    background: rgba(180, 35, 24, 0.18);
    color: #fecaca;
}

body.wgz-editorial-theme .risk-focus-card__badge--medium {
    background: rgba(193, 122, 58, 0.20);
    color: #fde68a;
}

body.wgz-editorial-theme .risk-focus-card__badge--low {
    background: rgba(15, 118, 110, 0.20);
    color: #bbf7d0;
}

body.wgz-editorial-theme .risk-focus-card__body,
body.wgz-editorial-theme .risk-focus-card__section p {
    margin: 14px 0 0;
    color: rgba(226, 232, 240, 0.84);
    line-height: 1.85;
}

body.wgz-editorial-theme .report-hero-card .citation-link,
body.wgz-editorial-theme .risk-focus-card .citation-link {
    color: #fde68a;
}

body.wgz-editorial-theme .report-hero-card .citation-link:hover,
body.wgz-editorial-theme .risk-focus-card .citation-link:hover {
    color: #fdba74;
}

body.wgz-editorial-theme .risk-focus-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

body.wgz-editorial-theme .risk-focus-stat {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .risk-focus-stat span {
    color: rgba(226, 232, 240, 0.76);
    font-size: 12px;
}

body.wgz-editorial-theme .risk-focus-stat strong {
    color: #fffaf0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

body.wgz-editorial-theme .risk-focus-card__section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

body.wgz-editorial-theme .risk-focus-card__section-title {
    color: rgba(236, 253, 245, 0.88);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .risk-focus-chip {
    justify-content: space-between;
    min-width: 112px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.wgz-editorial-theme .report-section-kicker {
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
}

body.wgz-editorial-theme .report-section-title {
    color: #111827;
}

body.wgz-editorial-theme .insight-prose {
    color: #334155;
    line-height: 1.92;
}

body.wgz-editorial-theme .evidence-overview {
    border-top: 3px solid rgba(15, 118, 110, 0.42);
}

body.wgz-editorial-theme .evidence-overview::before {
    background: radial-gradient(circle at top right, rgba(193, 122, 58, 0.12), transparent 38%);
}

body.wgz-editorial-theme .evidence-overview-badge,
body.wgz-editorial-theme .report-progress-badge,
body.wgz-editorial-theme .search-result-chip,
body.wgz-editorial-theme .report-progress-source-chip.active {
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.16);
}

body.wgz-editorial-theme .search-result-item {
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-left: 4px solid rgba(15, 118, 110, 0.44);
}

body.wgz-editorial-theme .search-result-item:hover {
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

body.wgz-editorial-theme .search-result-name {
    color: #111827;
}

body.wgz-editorial-theme .search-result-chip {
    border-radius: 999px;
}

body.wgz-editorial-theme .search-results-summary {
    border-radius: 22px;
    border-color: rgba(15, 118, 110, 0.12);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .search-result-item--network {
    border-radius: 22px;
    border-left: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .search-result-item--network:hover {
    border-color: rgba(15, 118, 110, 0.22);
}

body.wgz-editorial-theme .search-results-container::-webkit-scrollbar-thumb,
body.wgz-editorial-theme .chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0f766e 0%, #c17a3a 100%);
}

body.wgz-editorial-theme .source-entry {
    border-radius: 22px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(247, 241, 231, 0.96) 100%);
}

body.wgz-editorial-theme .source-entry-index {
    background: linear-gradient(135deg, #0f766e 0%, #c17a3a 100%);
    color: #fff;
}

body.wgz-editorial-theme .source-entry-intel-head {
    background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(250,246,239,0.92) 100%);
    border-color: rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .source-entry-title,
body.wgz-editorial-theme .source-evidence-title,
body.wgz-editorial-theme .source-evidence-summary__label {
    color: #111827;
}

body.wgz-editorial-theme .source-entry-meta-chip {
    background: rgba(255,255,255,0.84);
    border-color: rgba(31,41,55,0.12);
    color: #5b4636;
}

body.wgz-editorial-theme .source-entry-meta-chip.is-status.is-success {
    background: rgba(220, 252, 231, 0.76);
    color: #166534;
}

body.wgz-editorial-theme .source-entry-meta-chip.is-status.is-failed {
    background: rgba(254, 226, 226, 0.86);
    color: #991b1b;
}

body.wgz-editorial-theme .source-entry-desc,
body.wgz-editorial-theme .source-evidence-summary__hint,
body.wgz-editorial-theme .source-evidence-raw > summary,
body.wgz-editorial-theme .source-evidence-text {
    color: #4b5563;
}

body.wgz-editorial-theme .source-entry-link,
body.wgz-editorial-theme .source-entry-link-btn,
body.wgz-editorial-theme .citation-link {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .citation-link:hover,
body.wgz-editorial-theme .source-entry-link:hover,
body.wgz-editorial-theme .source-entry-link-btn:hover {
    color: #c17a3a;
    border-color: rgba(193, 122, 58, 0.22);
}

body.wgz-editorial-theme .source-evidence {
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 18px;
    background: rgba(250, 246, 239, 0.78);
}

body.wgz-editorial-theme .source-evidence-reading-card,
body.wgz-editorial-theme .source-evidence-raw-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 246, 239, 0.94) 100%);
    border-color: rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .source-evidence summary::after,
body.wgz-editorial-theme .source-evidence-kicker {
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
}

body.wgz-editorial-theme .source-evidence[open] summary::after,
body.wgz-editorial-theme .source-evidence-reading-note {
    background: rgba(193, 122, 58, 0.12);
    color: #9a5b24;
}

body.wgz-editorial-theme .source-evidence-text {
    background: rgba(255, 255, 255, 0.78);
    border-left-color: rgba(15, 118, 110, 0.28);
}

body.wgz-editorial-theme .source-evidence-raw-card .source-evidence-text {
    border-left-color: rgba(193, 122, 58, 0.22);
}

body.wgz-editorial-theme .report-progress {
    border-top: 4px solid rgba(15, 118, 110, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 252, 247, 0.98) 0%, rgba(244, 237, 226, 0.96) 100%);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.13);
    overflow: visible;
}

body.wgz-editorial-theme .report-progress::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.52) 42%, transparent 100%);
}

body.wgz-editorial-theme .report-progress-orb {
    background: radial-gradient(circle at 28% 28%, #0f766e 0%, #1f2937 58%, #c17a3a 100%);
}

body.wgz-editorial-theme .report-progress h3,
body.wgz-editorial-theme .report-progress-percent {
    color: #111827;
}

body.wgz-editorial-theme .report-progress-step {
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid rgba(31, 41, 55, 0.06);
}

body.wgz-editorial-theme .report-progress-step.active {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.12);
}

body.wgz-editorial-theme .report-progress-step.done {
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.16);
}

body.wgz-editorial-theme .report-progress-fill {
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 48%, #c17a3a 100%);
    box-shadow: 0 10px 26px rgba(15, 118, 110, 0.20);
}

body.wgz-editorial-theme .risk-item {
    background: rgba(255, 247, 247, 0.94);
    border-left-color: #b42318;
}

body.wgz-editorial-theme .opportunity-item {
    background: rgba(240, 253, 244, 0.94);
    border-left-color: #0f766e;
}

body.wgz-editorial-theme .risk-selected-indicator {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 75%, #c17a3a 100%);
}

body.wgz-editorial-theme .download-btn {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 64%, #c17a3a 100%);
}

body.wgz-editorial-theme .company-filter-select,
body.wgz-editorial-theme .company-filter-check,
body.wgz-editorial-theme .company-select,
body.wgz-editorial-theme .company-search input,
body.wgz-editorial-theme .chat-input {
    border-radius: 14px;
}

body.wgz-editorial-theme .company-filter-check {
    color: #445063;
}

body.wgz-editorial-theme .loading-spinner {
    border-top-color: #0f766e;
}

body.wgz-editorial-theme .modal-content {
    border-radius: 26px;
    border-top: 4px solid rgba(15, 118, 110, 0.72);
}

body.wgz-editorial-theme .search-results-container,
body.wgz-editorial-theme .chat-messages {
    scrollbar-color: #0f766e rgba(255, 255, 255, 0.42);
}

body.wgz-editorial-theme .container {
    max-width: 1480px;
    padding: 24px;
}

body.wgz-editorial-theme header {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(216, 204, 184, 0.92);
    box-shadow: 0 18px 40px rgba(19, 33, 43, 0.10);
}

body.wgz-editorial-theme .header-top {
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

body.wgz-editorial-theme .logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.16);
    animation: none;
}

body.wgz-editorial-theme .logo .wgz-icon-svg {
    width: 28px;
    height: 28px;
}

body.wgz-editorial-theme .title-section h1 {
    font-size: 26px;
    line-height: 1.15;
}

body.wgz-editorial-theme .title-section p,
body.wgz-editorial-theme .info-section p:not(#topLoginInfo),
body.wgz-editorial-theme .editorial-banner {
    display: none;
}

body.wgz-editorial-theme .info-section {
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
}

body.wgz-editorial-theme #topLoginInfo {
    margin-top: 0 !important;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f7fbf9;
    border: 1px solid #bfd6cf;
    justify-content: space-between !important;
    gap: 12px;
    min-width: 240px;
}

body.wgz-editorial-theme .main-content {
    gap: 18px;
}

body.wgz-editorial-theme .panel {
    border-radius: 24px;
    padding: 22px;
    border-top: 0;
}

body.wgz-editorial-theme .panel-title {
    margin-bottom: 18px;
    font-size: 18px;
}

body.wgz-editorial-theme .module-collapse-toggle {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(191, 214, 207, 0.92);
    color: #17303b;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .module-collapse-toggle:hover {
    border-color: rgba(15, 118, 110, 0.36);
    box-shadow: 0 14px 22px rgba(15, 23, 42, 0.12);
}

body.wgz-editorial-theme .panel-title .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

body.wgz-editorial-theme .chat-container {
    height: auto;
    min-height: 640px;
    gap: 14px;
}

body.wgz-editorial-theme .chat-messages {
    min-height: 420px;
    padding: 18px;
    border: 1px solid rgba(191, 214, 207, 0.9);
}

body.wgz-editorial-theme .chat-input-container {
    align-items: stretch;
}

body.wgz-editorial-theme .chat-input {
    min-height: 56px;
    border-radius: 18px;
}

body.wgz-editorial-theme .quick-actions {
    gap: 10px;
    align-items: center;
}

body.wgz-editorial-theme .quick-action,
body.wgz-editorial-theme .company-search-btn {
    min-height: 44px;
    padding: 10px 14px;
    align-self: stretch;
}

body.wgz-editorial-theme #tab-evaluation .company-search,
body.wgz-editorial-theme #tab-evaluation .company-filters {
    margin-bottom: 12px;
}

body.wgz-editorial-theme .company-search input,
body.wgz-editorial-theme .company-filter-select {
    min-height: 52px;
    border-radius: 16px;
}

body.wgz-editorial-theme .company-filter-check {
    min-height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(247, 251, 249, 0.9);
    border: 1px solid rgba(191, 214, 207, 0.9);
    display: inline-flex;
    align-items: center;
}

body.wgz-editorial-theme .risk-selected-indicator {
    border-radius: 16px;
}

body.wgz-editorial-theme .risk-selected-indicator.show {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.wgz-editorial-theme .risk-selected-indicator.show > span:first-child {
    flex: 0 0 auto;
    color: rgba(248, 250, 252, 0.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

body.wgz-editorial-theme .risk-selected-indicator.show > span:last-child {
    min-width: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wgz-editorial-theme #tab-evaluation-aux {
    transition: none;
}

body.wgz-editorial-theme[data-active-tab="evaluation"]:not(.has-eval-results) #tab-evaluation-aux {
    opacity: 1;
    transform: none;
}

body.wgz-editorial-theme[data-active-tab="evaluation"]:not(.has-eval-results) #tab-evaluation-aux .layout-rail-card:nth-child(n + 3) {
    display: none;
}

body.wgz-editorial-theme[data-active-tab="evaluation"]:not(.has-eval-results) #tab-evaluation-aux .layout-rail-card--sources,
body.wgz-editorial-theme[data-active-tab="evaluation"]:not(.has-eval-results) #tab-evaluation-aux .layout-rail-card:nth-child(2) {
    opacity: 1;
}

body.wgz-editorial-theme .layout-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

body.wgz-editorial-theme .module-chart-transfer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.9), rgba(255, 250, 245, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

body.wgz-editorial-theme .module-chart-transfer__button {
    flex: 0 0 auto;
}

body.wgz-editorial-theme .module-chart-transfer__meta {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
    text-align: right;
}

body.wgz-editorial-theme .module-chart-return-note {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

body.wgz-editorial-theme .layout-rail-card__desc,
body.wgz-editorial-theme .evidence-overview-summary,
body.wgz-editorial-theme .source-entry-desc,
body.wgz-editorial-theme .source-evidence-text,
body.wgz-editorial-theme .trend-card-value,
body.wgz-editorial-theme .insight-list-content {
    line-height: 1.9;
}

@media (max-width: 900px) {
    body.wgz-editorial-theme .container {
        padding: 14px;
    }

    body.wgz-editorial-theme .header-top {
        align-items: flex-start;
    }

    body.wgz-editorial-theme #topLoginInfo {
        width: 100%;
        min-width: 0;
    }

    body.wgz-editorial-theme .editorial-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    body.wgz-editorial-theme .editorial-banner__chips {
        justify-content: flex-start;
    }

    body.wgz-editorial-theme .report-hero-card {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .report-hero-card__stats,
    body.wgz-editorial-theme .risk-focus-card__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .report-financial-metric-grid,
    body.wgz-editorial-theme .report-financial-trend-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.wgz-editorial-theme .report-hero-card {
        padding: 16px;
    }

    body.wgz-editorial-theme .report-hero-card__title {
        font-size: 26px;
    }

    body.wgz-editorial-theme .report-hero-card__stats,
    body.wgz-editorial-theme .risk-focus-card__stats {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .report-financial-metric-grid,
    body.wgz-editorial-theme .report-financial-trend-summary {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .report-financial-metric-card__value {
        font-size: 26px;
    }
}

body.wgz-editorial-theme .workspace-eyebrow {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .title-section {
    max-width: 560px;
}

body.wgz-editorial-theme .title-section h1 {
    font-size: 34px;
    line-height: 1.12;
    max-width: 520px;
}

body.wgz-editorial-theme .title-section p {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.75;
}

body.wgz-editorial-theme .workspace-subprompt {
    margin-top: 10px;
    color: #536474;
    font-size: 14px;
    line-height: 1.7;
}

body.wgz-editorial-theme #tab-chat.panel {
    padding: 18px;
}

body.wgz-editorial-theme #tab-chat .panel-title {
    margin-bottom: 14px;
}

body.wgz-editorial-theme #tab-chat .chat-container {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.72fr);
    gap: 18px;
    min-height: 0;
}

body.wgz-editorial-theme .chat-workbench-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    min-height: 0;
}

body.wgz-editorial-theme .chat-workbench-aside {
    display: grid;
    gap: 12px;
    align-content: start;
}

body.wgz-editorial-theme .chat-aside-card {
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(247, 251, 249, 0.98) 100%);
    border: 1px solid rgba(216, 204, 184, 0.88);
    box-shadow: 0 16px 30px rgba(19, 33, 43, 0.08);
}

body.wgz-editorial-theme .chat-aside-card--action {
    background: linear-gradient(180deg, rgba(245, 250, 248, 0.98) 0%, rgba(255, 252, 247, 0.98) 100%);
}

body.wgz-editorial-theme .chat-aside-kicker {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chat-aside-title {
    margin-top: 8px;
    color: #13212b;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: 22px;
    line-height: 1.28;
}

body.wgz-editorial-theme .chat-aside-title--compact {
    font-size: 28px;
    line-height: 1.16;
}

body.wgz-editorial-theme .chat-aside-title--small {
    font-size: 18px;
    line-height: 1.4;
}

body.wgz-editorial-theme .chat-aside-body {
    margin-top: 8px;
    color: #536474;
    font-size: 13px;
    line-height: 1.75;
}

body.wgz-editorial-theme .chat-aside-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

body.wgz-editorial-theme .chat-aside-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f5f5a;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chat-aside-meta-pill--soft {
    background: rgba(193, 122, 58, 0.1);
    color: #9a5c20;
}

body.wgz-editorial-theme .chat-aside-action-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

body.wgz-editorial-theme .chat-aside-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 208, 201, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    color: #13212b;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.wgz-editorial-theme .chat-aside-link:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 12px 24px rgba(19, 33, 43, 0.08);
}

body.wgz-editorial-theme .chat-aside-link strong {
    font-size: 14px;
    font-weight: 700;
}

body.wgz-editorial-theme .chat-aside-link span {
    color: #536474;
    font-size: 12px;
    line-height: 1.65;
}

body.wgz-editorial-theme .chat-aside-prompt-preview {
    margin-top: 6px;
    color: #0f766e;
    font-size: 12px;
    line-height: 1.6;
    font-style: normal;
    padding-top: 8px;
    border-top: 1px dashed rgba(196, 208, 201, 0.92);
}

body.wgz-editorial-theme .chat-aside-button {
    margin-top: 14px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #c17a3a 0%, #17303b 56%, #0f766e 100%);
    color: #fffdf8;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(23, 48, 59, 0.16);
}

body.wgz-editorial-theme .chat-aside-button--ghost {
    background: #fffdf8;
    color: #17303b;
    border: 1px solid rgba(197, 181, 156, 0.9);
    box-shadow: none;
}

body.wgz-editorial-theme .chat-messages {
    flex: 0 0 auto;
    height: clamp(420px, 56vh, 620px);
    min-height: 420px;
    max-height: 620px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 14px;
}

body.wgz-editorial-theme .chat-input-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

body.wgz-editorial-theme .quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .company-search-btn {
    grid-column: 1 / -1;
    justify-content: center;
}

body.wgz-editorial-theme #topLoginInfo {
    min-width: 280px;
}

@media (max-width: 980px) {
    body.wgz-editorial-theme #tab-chat .chat-container {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chat-messages {
        height: clamp(360px, 52vh, 520px);
        min-height: 360px;
        max-height: 520px;
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .title-section h1 {
        font-size: 30px;
    }

    body.wgz-editorial-theme .quick-actions {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chat-messages {
        height: clamp(320px, 50vh, 420px);
        min-height: 320px;
        max-height: 420px;
        padding-right: 10px;
    }

    body.wgz-editorial-theme .box .square:nth-child(1) {
        width: 72px;
        height: 72px;
    }

    body.wgz-editorial-theme .box .square:nth-child(2),
    body.wgz-editorial-theme .box .square:nth-child(3) {
        width: 58px;
        height: 58px;
    }
}

body.wgz-editorial-theme .module-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.wgz-editorial-theme .module-toolbar--collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: translateY(-10px) scale(0.992);
    pointer-events: none;
}

body.wgz-editorial-theme .module-toolbar {
    position: relative;
    overflow: visible;
    border-radius: 24px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.96) 0%, rgba(250, 246, 239, 0.98) 100%);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
    max-height: 1400px;
    opacity: 1;
    transform-origin: top center;
    transition: max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), padding 0.32s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.wgz-editorial-theme .module-toolbar::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), transparent 34%, rgba(15,118,110,0.04));
}

body.wgz-editorial-theme .module-toolbar > * {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .module-toolbar__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .module-toolbar__hint {
    margin: 0;
    color: #526071;
    line-height: 1.8;
    font-size: 14px;
}

body.wgz-editorial-theme .module-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: min-content;
    align-content: start;
    gap: 18px;
    padding: 22px 24px 24px;
}

body.wgz-editorial-theme .module-toolbar__group {
    display: grid;
    gap: 12px;
    min-width: 0;
}

body.wgz-editorial-theme .module-toolbar__group--soft {
    padding-top: 18px;
    border-top: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .module-search-row {
    margin-bottom: 0;
}

body.wgz-editorial-theme .module-selection-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    align-items: flex-start;
}

body.wgz-editorial-theme .module-search-results {
    margin-bottom: 0;
    min-width: 0;
}

body.wgz-editorial-theme .module-search-results:empty {
    display: none;
}

body.wgz-editorial-theme .module-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding-top: 6px;
    min-width: 0;
}

body.wgz-editorial-theme .module-toolbar__actions .btn {
    flex-shrink: 0;
    min-width: 188px;
}

body.wgz-editorial-theme #tab-risk .module-search-row,
body.wgz-editorial-theme #tab-report .module-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: stretch;
}

body.wgz-editorial-theme #tab-risk .module-search-row input,
body.wgz-editorial-theme #tab-report .module-search-row input {
    min-width: 0;
    min-height: 56px;
}

body.wgz-editorial-theme #tab-risk .module-search-row .btn,
body.wgz-editorial-theme #tab-report .module-search-row .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding-inline: 24px;
    white-space: nowrap;
}

body.wgz-editorial-theme #tab-risk .risk-selected-indicator.show,
body.wgz-editorial-theme #tab-report .risk-selected-indicator.show {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 560px);
    min-height: 52px;
    padding: 12px 18px;
}

body.wgz-editorial-theme #tab-risk #riskSelectedIndicator.show {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
}

body.wgz-editorial-theme #tab-report #reportSelectedIndicator.show {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

body.wgz-editorial-theme #tab-risk .risk-selected-indicator.show > span:first-child,
body.wgz-editorial-theme #tab-report .risk-selected-indicator.show > span:first-child {
    color: rgba(254, 249, 195, 0.92);
    font-size: 11px;
    letter-spacing: 0.06em;
}

body.wgz-editorial-theme #tab-risk .risk-selected-indicator.show > span:last-child,
body.wgz-editorial-theme #tab-report .risk-selected-indicator.show > span:last-child {
    color: #fffef7;
    font-size: 15px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
}

body.wgz-editorial-theme .module-btn--muted {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

body.wgz-editorial-theme .module-btn--danger {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

body.wgz-editorial-theme .module-btn--info {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

body.wgz-editorial-theme .risk-selected-indicator.module-indicator--compare {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

body.wgz-editorial-theme #tab-evaluation .module-selection-strip {
    gap: 12px;
    flex-wrap: wrap;
}

body.wgz-editorial-theme #tab-evaluation .risk-selected-indicator.show {
    max-width: min(100%, 320px);
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
}

body.wgz-editorial-theme #tab-evaluation #evalSelectedIndicator.show {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

body.wgz-editorial-theme #tab-evaluation #compareSelectedIndicator.show {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

body.wgz-editorial-theme #tab-evaluation .risk-selected-indicator.show > span:first-child {
    color: rgba(239, 246, 255, 0.88);
    font-size: 11px;
    letter-spacing: 0.06em;
}

body.wgz-editorial-theme #tab-evaluation .risk-selected-indicator.show > span:last-child {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

body.wgz-editorial-theme .module-panel--evaluation .panel-title .icon,
body.wgz-editorial-theme .module-panel--evaluation .module-toolbar__label {
    color: #0f766e;
}

body.wgz-editorial-theme .module-panel--risk .panel-title .icon,
body.wgz-editorial-theme .module-panel--risk .module-toolbar__label {
    color: #b45309;
}

body.wgz-editorial-theme .module-panel--report .panel-title .icon,
body.wgz-editorial-theme .module-panel--report .module-toolbar__label {
    color: #1d4ed8;
}

@media (max-width: 1200px) {
    body.wgz-editorial-theme #tab-risk .module-search-row,
    body.wgz-editorial-theme #tab-report .module-search-row {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme #tab-risk .module-search-row .btn,
    body.wgz-editorial-theme #tab-report .module-search-row .btn {
        width: 100%;
    }
}

body.wgz-editorial-theme .aux-panel--evaluation .layout-rail-card {
    border-top: 3px solid rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .aux-panel--risk .layout-rail-card {
    border-top: 3px solid rgba(180, 83, 9, 0.2);
}

body.wgz-editorial-theme .aux-panel--report .layout-rail-card {
    border-top: 3px solid rgba(29, 78, 216, 0.18);
}

body.wgz-editorial-theme .aux-panel--evaluation .layout-rail-card__title {
    color: #0f766e;
}


body.wgz-editorial-theme .aux-panel--risk .layout-rail-card__title {
    color: #9a3412;
}

body.wgz-editorial-theme .aux-panel--report .layout-rail-card__title {
    color: #1d4ed8;
}

body.wgz-editorial-theme .module-panel--chart-lab .panel-title .icon,
body.wgz-editorial-theme .module-panel--chart-lab .module-toolbar__label {
    color: #0f766e;
}

body.wgz-editorial-theme .aux-panel--chart-lab .layout-rail-card {
    border-top: 3px solid rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .aux-panel--chart-lab .layout-rail-card__title {
    color: #0f766e;
}

body.wgz-editorial-theme .chart-lab-shell {
    display: grid;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-studio {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-composer,
body.wgz-editorial-theme .chart-lab-preview-panel {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-preview-panel {
    display: grid;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background:
        radial-gradient(circle at top right, rgba(193, 122, 58, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(247, 251, 249, 0.98) 100%);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-card--composer {
    display: grid;
    gap: 16px;
}

body.wgz-editorial-theme .chart-lab-card--canvas {
    min-height: 520px;
}

body.wgz-editorial-theme .chart-lab-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-card__kicker {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-card__title {
    margin: 8px 0 0;
    color: #111827;
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    font-size: 28px;
    line-height: 1.25;
}

body.wgz-editorial-theme .chart-lab-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    transform-origin: left center;
    will-change: transform, opacity;
    transition:
        background 360ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 360ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        color 280ms ease,
        padding 360ms cubic-bezier(0.22, 1, 0.36, 1),
        min-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
        max-width 360ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease;
}

body.wgz-editorial-theme .chart-lab-status > * {
    transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.wgz-editorial-theme .chart-lab-status.is-morphing {
    animation: chartLabStatusMorph 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.wgz-editorial-theme .chart-lab-status.is-morphing > * {
    animation: chartLabStatusContent 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.wgz-editorial-theme .chart-lab-status__text {
    display: inline-flex;
    align-items: center;
}

body.wgz-editorial-theme .chart-lab-status[data-variant="progress"] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    max-width: 286px;
    padding: 8px 12px 8px 10px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%);
    border-color: rgba(59, 130, 246, 0.14);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.08);
}

body.wgz-editorial-theme .chart-lab-status__spinner {
    display: inline-grid;
    grid-auto-flow: row;
    gap: 4px;
    width: 22px;
    justify-items: center;
}

body.wgz-editorial-theme .chart-lab-status__spinner span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e 0%, #38bdf8 100%);
    opacity: 0.28;
    animation: chartLabStatusDots 1.45s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

body.wgz-editorial-theme .chart-lab-status__spinner span:nth-child(2) {
    animation-delay: 0.16s;
}

body.wgz-editorial-theme .chart-lab-status__spinner span:nth-child(3) {
    animation-delay: 0.32s;
}

body.wgz-editorial-theme .chart-lab-status[data-variant="mode-switch"] {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 56px;
    max-width: 248px;
    padding: 10px 16px 10px 14px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 249, 247, 0.98) 100%);
    border-color: rgba(19, 120, 112, 0.16);
    box-shadow: 0 10px 26px rgba(15, 118, 110, 0.08);
}

body.wgz-editorial-theme .chart-lab-status[data-variant="mode-switch"]::before {
    content: "";
    position: absolute;
    inset: -20% auto -20% -35%;
    width: 46%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: chartLabStatusSweep 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

body.wgz-editorial-theme .chart-lab-status__signal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 36px;
}

body.wgz-editorial-theme .chart-lab-status__signal-line {
    width: 2px;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.18) 0%, rgba(13, 148, 136, 0.78) 50%, rgba(16, 185, 129, 0.14) 100%);
}

body.wgz-editorial-theme .chart-lab-status__signal-dot {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 999px;
    background: #0f766e;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    animation: chartLabStatusPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

body.wgz-editorial-theme .chart-lab-status__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-status__eyebrow {
    color: #0f766e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-status__body {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

body.wgz-editorial-theme .chart-lab-status__body b {
    color: #155e75;
    font-weight: 900;
}

body.wgz-editorial-theme .chart-lab-status__timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

body.wgz-editorial-theme .chart-lab-status[data-mode="restricted"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 238, 0.98) 100%);
    border-color: rgba(180, 83, 9, 0.16);
    box-shadow: 0 10px 26px rgba(180, 83, 9, 0.08);
}

body.wgz-editorial-theme .chart-lab-status[data-mode="restricted"] .chart-lab-status__signal-line {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.76) 50%, rgba(245, 158, 11, 0.12) 100%);
}

body.wgz-editorial-theme .chart-lab-status[data-mode="restricted"] .chart-lab-status__signal-dot {
    background: #b45309;
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12);
}

body.wgz-editorial-theme .chart-lab-status[data-mode="restricted"] .chart-lab-status__eyebrow {
    color: #b45309;
}

body.wgz-editorial-theme .chart-lab-status[data-mode="restricted"] .chart-lab-status__body b {
    color: #9a3412;
}

body.wgz-editorial-theme .chart-lab-status[data-tone="success"] {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(240, 253, 250, 0.88);
}

body.wgz-editorial-theme .chart-lab-status[data-tone="warning"] {
    color: #9a3412;
    border-color: rgba(180, 83, 9, 0.18);
    background: rgba(255, 247, 237, 0.9);
}

body.wgz-editorial-theme .chart-lab-status[data-tone="error"] {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.18);
    background: rgba(254, 242, 242, 0.9);
}

@keyframes chartLabStatusSweep {
    0% {
        transform: translateX(-160%) skewX(-18deg);
        opacity: 0;
    }
    18% {
        opacity: 0.7;
    }
    58%,
    100% {
        transform: translateX(260%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes chartLabStatusPulse {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.62;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.92;
    }
}

@keyframes chartLabStatusDots {
    0%,
    100% {
        transform: translateY(0) scale(0.82);
        opacity: 0.22;
    }
    50% {
        transform: translateY(-1px) scale(1.02);
        opacity: 0.9;
    }
}

@keyframes chartLabStatusMorph {
    0% {
        opacity: 0.72;
        transform: translateY(3px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes chartLabStatusContent {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wgz-editorial-theme .chart-lab-status[data-variant="mode-switch"]::before,
    body.wgz-editorial-theme .chart-lab-status__signal-dot,
    body.wgz-editorial-theme .chart-lab-status__spinner span,
    body.wgz-editorial-theme .chart-lab-status.is-morphing,
    body.wgz-editorial-theme .chart-lab-status.is-morphing > * {
        animation: none;
    }
}

body.wgz-editorial-theme .chart-lab-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-field {
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-field > span {
    color: #526071;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.wgz-editorial-theme .chart-lab-field input,
body.wgz-editorial-theme .chart-lab-field select,
body.wgz-editorial-theme .chart-lab-field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 55, 0.10);
    background: rgba(255, 255, 255, 0.90);
    color: #1f2937;
    font-size: 14px;
    line-height: 1.6;
    padding: 13px 15px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme .chart-lab-field textarea {
    min-height: 240px;
    resize: vertical;
}

body.wgz-editorial-theme .chart-lab-field input:focus,
body.wgz-editorial-theme .chart-lab-field select:focus,
body.wgz-editorial-theme .chart-lab-field textarea:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.36);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.10);
}

body.wgz-editorial-theme .chart-lab-field--wide {
    grid-column: 1 / -1;
}

body.wgz-editorial-theme .chart-lab-field--stacked {
    margin-top: 4px;
}

body.wgz-editorial-theme .chart-lab-metric-multi {
    display: none;
    gap: 8px;
    margin-top: 8px;
}

body.wgz-editorial-theme .chart-lab-metric-multi.is-visible {
    display: grid;
}

body.wgz-editorial-theme .chart-lab-metric-multi__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

body.wgz-editorial-theme .chart-lab-metric-multi__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-metric-multi__chip {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.84);
    color: #475569;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-metric-multi__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-metric-multi__chip.is-active {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 72%, #c17a3a 100%);
    border-color: transparent;
    color: #f8fafc;
}

body.wgz-editorial-theme .chart-lab-metric-multi__hint {
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

body.wgz-editorial-theme .chart-lab-metric-builder {
    display: grid;
    gap: 14px;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

body.wgz-editorial-theme .chart-lab-metric-builder__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

body.wgz-editorial-theme .chart-lab-metric-builder__section {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(214, 223, 229, 0.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

body.wgz-editorial-theme .chart-lab-metric-builder__section-head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-metric-builder__section-label {
    color: #1f2937;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-metric-builder__section-head small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.55;
}

body.wgz-editorial-theme .chart-lab-metric-builder__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

body.wgz-editorial-theme .chart-lab-metric-builder__stack {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-metric-builder__select {
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(208, 216, 226, 0.96);
    background: rgba(255, 255, 255, 0.98);
    color: #13212b;
    font-size: 13px;
    font-weight: 800;
    outline: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme .chart-lab-metric-builder__input {
    display: none;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(208, 216, 226, 0.96);
    background: rgba(255, 255, 255, 0.98);
    color: #13212b;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme .chart-lab-metric-builder__input.is-visible {
    display: block;
}

body.wgz-editorial-theme .chart-lab-metric-builder__select:disabled {
    color: #94a3b8;
    background: rgba(248, 250, 252, 0.94);
    cursor: not-allowed;
    box-shadow: none;
}

body.wgz-editorial-theme .chart-lab-metric-builder__button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    min-height: 46px;
    border-radius: 16px;
}

body.wgz-editorial-theme .chart-lab-metric-builder__summary {
    color: #5b6778;
    font-size: 12px;
    line-height: 1.75;
    padding: 2px 2px 0;
}

@media (max-width: 680px) {
    body.wgz-editorial-theme .chart-lab-metric-builder__row {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme .chart-lab-preset-row,
body.wgz-editorial-theme .chart-lab-recommendations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-preset,
body.wgz-editorial-theme .chart-lab-chip {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-preset:hover,
body.wgz-editorial-theme .chart-lab-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-chip.is-active {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 70%, #c17a3a 100%);
    border-color: transparent;
    color: #f8fafc;
}

body.wgz-editorial-theme .chart-lab-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-editor-state {
    display: none;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(205, 236, 232, 0.4), transparent 26%),
        linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(247, 243, 237, 0.96) 100%);
    border: 1px solid rgba(214, 223, 229, 0.98);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-editor-state.is-visible {
    display: grid;
}

body.wgz-editorial-theme .chart-lab-editor-state__hero {
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-editor-state__hero-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body.wgz-editorial-theme .chart-lab-editor-state__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 72px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(201, 210, 225, 0.92);
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-editor-state__mode {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.05);
    border: 1px solid rgba(214, 223, 229, 0.96);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-editor-state__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-editor-state__copy strong {
    color: #13212b;
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
    letter-spacing: -0.01em;
}

body.wgz-editorial-theme .chart-lab-editor-state__copy span {
    color: #475569;
    font-size: 12px;
    line-height: 1.65;
    word-break: break-word;
}

body.wgz-editorial-theme .chart-lab-editor-state__copy small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
}

body.wgz-editorial-theme .chart-lab-editor-summary-card,
body.wgz-editorial-theme .chart-lab-editor-diff {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(214, 223, 229, 0.96);
}

body.wgz-editorial-theme .chart-lab-editor-summary-card__eyebrow,
body.wgz-editorial-theme .chart-lab-editor-diff__label {
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

body.wgz-editorial-theme .chart-lab-editor-summary-card strong {
    color: #17303b;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-editor-diff__list {
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .chart-lab-editor-diff__item {
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
    padding-left: 14px;
    position: relative;
}

body.wgz-editorial-theme .chart-lab-editor-diff__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e 0%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-editor-state__quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-editor-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(214, 223, 229, 0.96);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

body.wgz-editorial-theme .chart-lab-editor-card--metric {
    align-self: stretch;
}

body.wgz-editorial-theme .chart-lab-editor-card__head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-editor-card__eyebrow {
    color: #0f766e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-editor-card__title {
    color: #13212b;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-editor-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-editor-quick-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-editor-quick-field--wide {
    grid-column: 1 / -1;
}

body.wgz-editorial-theme .chart-lab-editor-quick-field > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-editor-quick-field input,
body.wgz-editorial-theme .chart-lab-editor-quick-field select,
body.wgz-editorial-theme .chart-lab-editor-quick-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(208, 216, 226, 0.96);
    background: rgba(255, 255, 255, 0.98);
    color: #13212b;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme .chart-lab-editor-quick-field input:focus,
body.wgz-editorial-theme .chart-lab-editor-quick-field select:focus,
body.wgz-editorial-theme .chart-lab-editor-quick-field textarea:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.44);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

body.wgz-editorial-theme .chart-lab-editor-quick-field--stacked textarea {
    min-height: 148px;
    padding: 12px 14px;
    border-radius: 16px;
    resize: vertical;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch {
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch__chip {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.88);
    color: #475569;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-editor-metric-switch__chip.is-active {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 70%, #c17a3a 100%);
    border-color: transparent;
    color: #f8fafc;
}

body.wgz-editorial-theme .chart-lab-editor-state__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

body.wgz-editorial-theme .chart-lab-editor-state__action {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    justify-content: center;
}

body.wgz-editorial-theme .chart-lab-editor-state.is-dirty {
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 245, 235, 0.96));
    border-color: rgba(180, 83, 9, 0.18);
}

body.wgz-editorial-theme .chart-lab-editor-state.is-dirty .chart-lab-editor-state__badge {
    color: #b45309;
}

body.wgz-editorial-theme .chart-lab-editor-state.is-imported:not(.is-dirty) {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(240, 253, 250, 0.96), rgba(244, 249, 255, 0.96));
    border-color: rgba(15, 118, 110, 0.16);
}

body.wgz-editorial-theme .chart-lab-form-grid.is-editor-focus,
body.wgz-editorial-theme .chart-lab-field input.is-editor-focus,
body.wgz-editorial-theme .chart-lab-field textarea.is-editor-focus,
body.wgz-editorial-theme .chart-lab-field select.is-editor-focus,
body.wgz-editorial-theme .chart-lab-family-nav.is-editor-focus,
body.wgz-editorial-theme .chart-lab-type-gallery.is-editor-focus {
    border-radius: 20px;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12), 0 16px 34px rgba(15, 118, 110, 0.1);
}

body.wgz-editorial-theme .chart-lab-form-grid.is-editor-focus {
    padding: 10px;
    margin: -10px;
    background: rgba(240, 253, 250, 0.46);
}

body.wgz-editorial-theme .chart-lab-preview-summary {
    margin: 14px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

body.wgz-editorial-theme .chart-lab-telemetry {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

body.wgz-editorial-theme .chart-lab-telemetry-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.92);
}

body.wgz-editorial-theme .chart-lab-telemetry-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-telemetry-card strong {
    color: #13212b;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-canvas {
    min-height: 460px;
    width: 100%;
}

body.wgz-editorial-theme .chart-lab-canvas.is-dense-chart,
body.wgz-editorial-theme .chart-lab-canvas.is-long-label-chart {
    min-height: 540px;
}

body.wgz-editorial-theme .chart-lab-canvas.is-risk-timeline-chart {
    min-height: 620px;
}

body.wgz-editorial-theme .chart-lab-canvas--table {
    display: block;
}

body.wgz-editorial-theme .chart-lab-mapping {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-mapping-row {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(226, 232, 240, 0.92);
}

body.wgz-editorial-theme .chart-lab-mapping-row span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-mapping-row strong {
    color: #13212b;
    font-size: 15px;
    line-height: 1.8;
}

body.wgz-editorial-theme .chart-lab-export-list {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-export-context {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(238, 250, 248, 0.96), rgba(255, 247, 237, 0.94));
    border: 1px solid rgba(15, 118, 110, 0.16);
}

body.wgz-editorial-theme .chart-lab-export-context__eyebrow {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-export-context strong {
    color: #13212b;
    font-size: 15px;
}

body.wgz-editorial-theme .chart-lab-export-context span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

body.wgz-editorial-theme .export-action-btn {
    --export-btn-bg: linear-gradient(135deg, #1875ff 0%, #0f63eb 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(24, 117, 255, 0.72);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(24, 117, 255, 0.78);
    --export-btn-busy-bg: linear-gradient(135deg, #163f7a 0%, #0e2e63 100%);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: var(--export-btn-bg) !important;
    color: #ffffff;
    box-shadow: var(--export-btn-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease, background 0.4s ease;
    isolation: isolate;
}

body.wgz-editorial-theme .export-action-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.16));
    opacity: 0.7;
    pointer-events: none;
}

body.wgz-editorial-theme .export-action-btn .btn-icon,
body.wgz-editorial-theme .export-action-btn .export-busy-glyph {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

body.wgz-editorial-theme .export-action-btn .btn-icon {
    color: currentColor;
}

body.wgz-editorial-theme .export-action-btn .export-action-btn__text,
body.wgz-editorial-theme .export-action-btn .export-action-btn__busy-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.wgz-editorial-theme .export-action-btn .export-action-btn__text {
    cursor: pointer;
    transition: 0.4s;
}

body.wgz-editorial-theme .export-action-btn .export-action-btn__text::after {
    content: attr(data-trail);
    position: absolute;
    top: 50%;
    right: -24px;
    opacity: 0;
    transform: translateY(-50%);
    transition: 0.7s;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .export-action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--export-btn-hover-shadow);
    filter: brightness(1.02);
}

body.wgz-editorial-theme .export-action-btn:hover:not(:disabled) .export-action-btn__text {
    padding-right: 4.2em;
}

body.wgz-editorial-theme .export-action-btn:hover:not(:disabled) .export-action-btn__text::after {
    opacity: 1;
    right: 0;
}

body.wgz-editorial-theme .export-action-btn:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    box-shadow: none;
}

body.wgz-editorial-theme .export-action-btn.is-exporting {
    transform: none;
    filter: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    background: var(--export-btn-busy-bg) !important;
}

body.wgz-editorial-theme .export-action-btn.is-exporting::before {
    opacity: 0.22;
}

body.wgz-editorial-theme .export-action-btn.is-exporting .export-action-btn__busy-label {
    white-space: nowrap;
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="pdf"] {
    --export-btn-bg: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(220, 38, 38, 0.62);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(220, 38, 38, 0.7);
    --export-btn-busy-bg: linear-gradient(135deg, #7f1d1d 0%, #5f1616 100%);
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="word"] {
    --export-btn-bg: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(37, 99, 235, 0.62);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(37, 99, 235, 0.7);
    --export-btn-busy-bg: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="txt"] {
    --export-btn-bg: linear-gradient(135deg, #475569 0%, #1f2937 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(51, 65, 85, 0.56);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(51, 65, 85, 0.64);
    --export-btn-busy-bg: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="png"] {
    --export-btn-bg: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(15, 118, 110, 0.58);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(15, 118, 110, 0.66);
    --export-btn-busy-bg: linear-gradient(135deg, #134e4a 0%, #0f172a 100%);
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="copy-summary"] {
    --export-btn-bg: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(14, 165, 233, 0.58);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(14, 165, 233, 0.66);
    --export-btn-busy-bg: linear-gradient(135deg, #0c4a6e 0%, #1e3a8a 100%);
}

body.wgz-editorial-theme .export-action-btn[data-export-kind="copy-data"] {
    --export-btn-bg: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    --export-btn-shadow: 0 14px 56px -11px rgba(20, 184, 166, 0.56);
    --export-btn-hover-shadow: 0 18px 48px -12px rgba(20, 184, 166, 0.64);
    --export-btn-busy-bg: linear-gradient(135deg, #115e59 0%, #134e4a 100%);
}

body.wgz-editorial-theme .export-busy-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 1.9em;
}

body.wgz-editorial-theme .export-busy-glyph .pl {
    width: 100%;
    height: 100%;
}

body.wgz-editorial-theme .pl__ring {
    animation: ringA 2s linear infinite;
}

body.wgz-editorial-theme .pl__ring--a {
    stroke: #f42f25;
}

body.wgz-editorial-theme .pl__ring--b {
    animation-name: ringB;
    stroke: #f49725;
}

body.wgz-editorial-theme .pl__ring--c {
    animation-name: ringC;
    stroke: #255ff4;
}

body.wgz-editorial-theme .pl__ring--d {
    animation-name: ringD;
    stroke: #f42582;
}

body.wgz-editorial-theme .export-busy-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.wgz-editorial-theme .export-busy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.wgz-editorial-theme .export-busy-toast__card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.24);
    border: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}

body.wgz-editorial-theme .export-busy-toast__card .export-busy-glyph {
    width: 3.1em;
    height: 3.1em;
}

body.wgz-editorial-theme .export-busy-toast__copy {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .export-busy-toast__copy strong {
    font-size: 14px;
    line-height: 1.35;
}

body.wgz-editorial-theme .export-busy-toast__copy span {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.82);
}

@keyframes ringA {
    from, 4% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }

    12% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -335;
    }

    32% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -595;
    }

    40%, 54% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -660;
    }

    62% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -665;
    }

    82% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -925;
    }

    90%, to {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -990;
    }
}

@keyframes ringB {
    from, 12% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -110;
    }

    20% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -115;
    }

    40% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -195;
    }

    48%, 62% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    70% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    90% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -305;
    }

    98%, to {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }
}

@keyframes ringC {
    from {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    8% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    28% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    36%, 58% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    66% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    86% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    94%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

@keyframes ringD {
    from, 8% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    16% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    36% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    44%, 50% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    58% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    78% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    86%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

body.wgz-editorial-theme .chart-lab-warning,
body.wgz-editorial-theme .chart-lab-success {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.75;
}

body.wgz-editorial-theme .chart-lab-warning {
    background: rgba(255, 247, 237, 0.94);
    border: 1px solid rgba(251, 191, 36, 0.24);
    color: #9a3412;
}

body.wgz-editorial-theme .chart-lab-success {
    background: rgba(240, 253, 250, 0.94);
    border: 1px solid rgba(15, 118, 110, 0.18);
    color: #0f766e;
}

body.wgz-editorial-theme .module-panel--chart-lab {
    grid-column: 1 / -1;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.wgz-editorial-theme .chart-lab-board {
    display: grid;
    grid-template-columns: 312px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 18px;
}

body.wgz-editorial-theme .chart-lab-board__main {
    display: grid;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-sidebar-card,
body.wgz-editorial-theme .chart-lab-board-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(224, 231, 227, 0.98);
    border-radius: 26px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-sidebar-card {
    padding: 18px 18px 20px;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand {
    min-height: 116px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(243, 249, 248, 0.98) 100%);
}

body.wgz-editorial-theme .chart-lab-sidebar-brand {
    color: #17303b;
    font-size: 24px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.wgz-editorial-theme .chart-lab-sidebar-subtitle {
    margin-top: 8px;
    color: #66727f;
    font-size: 13px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-sidebar-kicker {
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-sidebar-nav {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

body.wgz-editorial-theme .chart-lab-sidebar-nav__item {
    appearance: none;
    border: 0;
    background: rgba(248, 250, 252, 0.8);
    color: #243443;
    text-align: left;
    padding: 12px 14px 12px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: default;
    border: 1px solid rgba(226, 232, 240, 0.96);
    position: relative;
}

body.wgz-editorial-theme .chart-lab-sidebar-nav__item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 4px;
    height: 26px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
    transform: translateY(-50%);
}

body.wgz-editorial-theme .chart-lab-sidebar-nav__item.is-active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.10) 0%, rgba(27, 48, 59, 0.06) 100%);
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .chart-lab-sidebar-nav__item.is-active::before {
    background: linear-gradient(180deg, #0f766e 0%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-sidebar-card--intake {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(244, 249, 248, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(221, 231, 227, 0.96);
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__head span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__head strong {
    color: #243443;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-company-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-company-search-row--modal {
    grid-template-columns: minmax(0, 1fr);
}

body.wgz-editorial-theme .chart-lab-company-search-row--modal .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
}

body.wgz-editorial-theme .chart-lab-company-search-row input {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.10);
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    padding: 11px 14px;
}

body.wgz-editorial-theme .chart-lab-company-search-note {
    margin: 0;
    color: #66727f;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-company-selected {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(193, 122, 58, 0.08) 100%);
    border: 1px solid rgba(15, 118, 110, 0.16);
}

body.wgz-editorial-theme .chart-lab-company-selected__meta {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-company-selected__meta span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-company-selected__meta strong {
    color: #13212b;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-company-selected__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-company-selected__chips span,
body.wgz-editorial-theme .chart-lab-company-selected__link {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #405060;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

body.wgz-editorial-theme .chart-lab-company-results {
    display: grid;
    gap: 8px;
    max-height: 214px;
    overflow-y: auto;
    padding-right: 4px;
}

body.wgz-editorial-theme .chart-lab-company-results__empty {
    padding: 12px 4px 4px;
    color: #7a8795;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-company-result {
    appearance: none;
    display: grid;
    gap: 6px;
    text-align: left;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: rgba(255, 255, 255, 0.98);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.wgz-editorial-theme .chart-lab-company-result:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-company-result.is-active {
    border-color: rgba(15, 118, 110, 0.24);
    background: linear-gradient(180deg, rgba(241, 250, 248, 0.98) 0%, rgba(255,255,255,0.98) 100%);
}

body.wgz-editorial-theme .chart-lab-company-result__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}

body.wgz-editorial-theme .chart-lab-company-result__head strong {
    color: #13212b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-company-result__head span {
    color: #0f766e;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-company-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.wgz-editorial-theme .chart-lab-company-result__meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.94);
    color: #5f6c79;
    font-size: 10px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-company-result small {
    color: #6d7885;
    font-size: 11px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-source-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-source-switch__item {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(247, 250, 250, 0.96);
    color: #51606f;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-source-switch__item.is-active {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 72%, #c17a3a 100%);
    border-color: transparent;
    color: #f8fafc;
}

body.wgz-editorial-theme .chart-lab-captured-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(247, 250, 250, 0.92);
    border: 1px solid rgba(221, 231, 227, 0.96);
    transition: opacity 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-captured-panel.is-muted {
    opacity: 0.52;
}

body.wgz-editorial-theme .chart-lab-network-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(243, 249, 248, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(221, 231, 227, 0.96);
}

body.wgz-editorial-theme .chart-lab-network-toggle__copy {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-network-toggle__copy span {
    color: #17303b;
    font-size: 14px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-network-toggle__copy small {
    color: #6b7785;
    font-size: 12px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-switch {
    position: relative;
    display: inline-flex;
    width: 58px;
    height: 32px;
    flex: 0 0 auto;
}

body.wgz-editorial-theme .chart-lab-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

body.wgz-editorial-theme .chart-lab-switch__slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.3);
    transition: background 0.22s ease;
}

body.wgz-editorial-theme .chart-lab-switch__slider::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.18);
    transition: transform 0.22s ease;
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 70%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider::before {
    transform: translateX(26px);
}

body.wgz-editorial-theme .chart-lab-captured-panel__head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-captured-panel__head span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-captured-panel__head strong {
    color: #243443;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-captured-list {
    display: grid;
    gap: 10px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

body.wgz-editorial-theme .chart-lab-captured-empty {
    color: #7a8795;
    font-size: 13px;
    line-height: 1.7;
    padding: 10px 4px 0;
}

body.wgz-editorial-theme .chart-lab-captured-item {
    appearance: none;
    border: 1px solid rgba(221, 231, 227, 0.96);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 12px 14px;
    display: grid;
    gap: 6px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-captured-item:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-captured-item.is-active {
    border-color: rgba(15, 118, 110, 0.28);
    background: linear-gradient(180deg, rgba(240, 250, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

body.wgz-editorial-theme .chart-lab-captured-item__type {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-captured-item strong {
    color: #13212b;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-captured-item small {
    color: #66727f;
    font-size: 12px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-captured-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-captured-item__meta span {
    color: #6a7582;
    font-size: 11px;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-chat-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(244, 249, 248, 0.96) 0%, rgba(255, 255, 255, 0.97) 100%);
    border: 1px solid rgba(221, 231, 227, 0.96);
}

body.wgz-editorial-theme .chart-lab-chat-panel__head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-chat-panel__head span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-chat-panel__head strong {
    color: #233443;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-chat-log {
    display: grid;
    gap: 10px;
    max-height: 210px;
    overflow-y: auto;
    padding-right: 4px;
}

body.wgz-editorial-theme .chart-lab-chat-bubble {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.wgz-editorial-theme .chart-lab-chat-bubble--user {
    background: linear-gradient(135deg, #17303b 0%, #0f766e 68%, #c17a3a 100%);
    border-color: transparent;
}

body.wgz-editorial-theme .chart-lab-chat-bubble__label {
    color: #6c7784;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-chat-bubble--user .chart-lab-chat-bubble__label,
body.wgz-editorial-theme .chart-lab-chat-bubble--user .chart-lab-chat-bubble__body {
    color: #f8fafc;
}

body.wgz-editorial-theme .chart-lab-chat-bubble__body {
    color: #233443;
    font-size: 13px;
    line-height: 1.75;
}

body.wgz-editorial-theme .chart-lab-chat-composer {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-chat-composer textarea {
    width: 100%;
    min-height: 110px;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 55, 0.10);
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    font-size: 14px;
    line-height: 1.7;
    padding: 13px 15px;
    resize: vertical;
}

body.wgz-editorial-theme .chart-lab-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-topband {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.28fr;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-topband__item {
    min-height: 84px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #705232 0%, #2b3d49 38%, #14303b 100%);
    color: #f8fafc;
    display: grid;
    align-content: center;
    gap: 8px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

body.wgz-editorial-theme .chart-lab-topband__item:nth-child(2) {
    background: linear-gradient(135deg, #304450 0%, #244150 48%, #234b56 100%);
}

body.wgz-editorial-theme .chart-lab-topband__item:nth-child(3) {
    background: linear-gradient(135deg, #243d49 0%, #254a56 54%, #146b66 100%);
}

body.wgz-editorial-theme .chart-lab-topband__item--command {
    background: linear-gradient(135deg, #204250 0%, #106e6e 100%);
}

body.wgz-editorial-theme .chart-lab-topband__item span {
    color: rgba(241, 245, 249, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-topband__item strong {
    color: #f8fafc;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-topband__item:not(:first-child) strong {
    font-size: 22px;
}

body.wgz-editorial-theme .chart-lab-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.38fr) 312px;
    gap: 16px;
    align-items: stretch;
}

body.wgz-editorial-theme .chart-lab-board-card {
    padding: 20px 20px 22px;
}

body.wgz-editorial-theme .chart-lab-board-card__header {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

body.wgz-editorial-theme .chart-lab-board-card__header h3 {
    margin: 0;
    color: #13212b;
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-board-card__header p {
    margin: 0;
    color: #7d8795;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-board-card__header p:empty,
body.wgz-editorial-theme .layout-rail-card__desc:empty,
body.wgz-editorial-theme .chart-lab-sidebar-subtitle:empty,
body.wgz-editorial-theme .chart-lab-network-toggle__copy small:empty {
    display: none;
}

body.wgz-editorial-theme .chart-lab-ring-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-ring-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(249, 250, 251, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.wgz-editorial-theme .chart-lab-ring-card__ring {
    width: 62px;
    aspect-ratio: 1;
    border-radius: 999px;
    display: grid;
    place-items: center;
    position: relative;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 58%, transparent 59%),
        conic-gradient(#0f766e 0 calc(var(--ring-progress, 0.5) * 1turn), rgba(219, 234, 228, 0.94) calc(var(--ring-progress, 0.5) * 1turn) 1turn);
}

body.wgz-editorial-theme .chart-lab-ring-card:nth-child(2) .chart-lab-ring-card__ring {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 58%, transparent 59%),
        conic-gradient(#ff9548 0 calc(var(--ring-progress, 0.5) * 1turn), rgba(255, 233, 214, 0.94) calc(var(--ring-progress, 0.5) * 1turn) 1turn);
}

body.wgz-editorial-theme .chart-lab-ring-card:nth-child(3) .chart-lab-ring-card__ring {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 58%, transparent 59%),
        conic-gradient(#4f78db 0 calc(var(--ring-progress, 0.5) * 1turn), rgba(224, 233, 251, 0.94) calc(var(--ring-progress, 0.5) * 1turn) 1turn);
}

body.wgz-editorial-theme .chart-lab-ring-card:nth-child(4) .chart-lab-ring-card__ring {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 58%, transparent 59%),
        conic-gradient(#d275da 0 calc(var(--ring-progress, 0.5) * 1turn), rgba(245, 228, 247, 0.94) calc(var(--ring-progress, 0.5) * 1turn) 1turn);
}

body.wgz-editorial-theme .chart-lab-ring-card__ring strong {
    color: #13212b;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-ring-card__copy {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-ring-card span {
    color: #243443;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
}

body.wgz-editorial-theme .chart-lab-ring-card small {
    color: #7a8795;
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

body.wgz-editorial-theme .chart-lab-recommendations--board {
    min-height: 72px;
    align-content: start;
}

body.wgz-editorial-theme .chart-lab-plan-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

body.wgz-editorial-theme .chart-lab-plan-item {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(250, 251, 252, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.wgz-editorial-theme .chart-lab-plan-item strong {
    color: #13212b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-plan-item span {
    color: #66727f;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-score-card {
    display: grid;
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-score-card__hero {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

body.wgz-editorial-theme .chart-lab-score-card__ring {
    width: 132px;
    aspect-ratio: 1;
    border-radius: 999px;
    display: grid;
    place-items: center;
    position: relative;
    background:
        radial-gradient(circle at center, #0f3c46 56%, transparent 57%),
        conic-gradient(rgba(248, 250, 252, 0.45) 0 calc(var(--score-progress, 0.6) * 1turn), rgba(220, 233, 229, 0.20) calc(var(--score-progress, 0.6) * 1turn) 1turn);
}

body.wgz-editorial-theme .chart-lab-score-card__ring::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(10, 77, 86, 0.98) 0%, rgba(17, 92, 95, 0.98) 100%);
}

body.wgz-editorial-theme .chart-lab-score-card__ring span,
body.wgz-editorial-theme .chart-lab-score-card__ring strong {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .chart-lab-score-card__ring span {
    color: rgba(241, 245, 249, 0.7);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-score-card__ring strong {
    margin-top: 6px;
    color: #f8fafc;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-score-card__copy {
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme .chart-lab-score-card__copy b {
    color: #13212b;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-score-card__copy p {
    margin: 0;
    color: #6a7582;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-score-card__signals {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-score-signal {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.wgz-editorial-theme .chart-lab-score-signal--warning {
    background: rgba(255, 249, 243, 0.98);
    border-color: rgba(193, 122, 58, 0.22);
}

body.wgz-editorial-theme .chart-lab-score-signal__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}

body.wgz-editorial-theme .chart-lab-score-signal__head span {
    color: #5f6c79;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-score-signal__head strong {
    color: #13212b;
    font-size: 14px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-score-signal small {
    color: #6d7885;
    font-size: 11px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 272px;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-board-card--hero {
    min-height: 540px;
}

body.wgz-editorial-theme .chart-lab-side-stack {
    display: grid;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-candidate-list {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-candidate-card {
    appearance: none;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(249, 250, 251, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.96);
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.wgz-editorial-theme .chart-lab-candidate-card:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-candidate-card.is-active {
    border-color: rgba(15, 118, 110, 0.24);
    background: linear-gradient(180deg, rgba(241, 250, 248, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

body.wgz-editorial-theme .chart-lab-candidate-card__index {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(221, 231, 255, 0.9);
    color: #4338ca;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-candidate-card__body {
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .chart-lab-candidate-card__body strong {
    color: #13212b;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-candidate-card__body span {
    color: #66727f;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-candidate-card__body em {
    color: #0f766e;
    font-size: 11px;
    line-height: 1.6;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.wgz-editorial-theme .chart-lab-quality-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

body.wgz-editorial-theme .chart-lab-quality-item {
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(220, 230, 226, 0.96);
    background: rgba(250, 252, 251, 0.98);
}

body.wgz-editorial-theme .chart-lab-quality-item--warning {
    border-color: rgba(193, 122, 58, 0.24);
    background: rgba(255, 249, 243, 0.98);
}

body.wgz-editorial-theme .chart-lab-quality-item__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

body.wgz-editorial-theme .chart-lab-quality-item__meta span {
    color: #5f6c79;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-quality-item__meta strong {
    color: #13212b;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-quality-item small {
    color: #6c7784;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .chart-lab-card__title--compact {
    font-size: 22px;
}

body.wgz-editorial-theme #tab-chart-lab-aux {
    display: none !important;
}

@media (max-width: 1380px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-topband {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .chart-lab-overview {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-overview > .chart-lab-board-card--score {
        grid-column: 1 / -1;
    }

    body.wgz-editorial-theme .chart-lab-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-board__aside {
        position: static;
    }

    body.wgz-editorial-theme .chart-lab-overview {
        grid-template-columns: minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-ring-grid,
    body.wgz-editorial-theme .chart-lab-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .chart-lab-topband,
    body.wgz-editorial-theme .chart-lab-ring-grid,
    body.wgz-editorial-theme .chart-lab-bottom-grid,
    body.wgz-editorial-theme .chart-lab-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-sidebar-brand {
        font-size: 24px;
    }

    body.wgz-editorial-theme .chart-lab-topband__item strong {
        font-size: 22px;
    }

    body.wgz-editorial-theme .chart-lab-board-card,
    body.wgz-editorial-theme .chart-lab-sidebar-card {
        padding: 16px;
        border-radius: 22px;
    }

    body.wgz-editorial-theme .chart-lab-score-card__ring {
        width: 144px;
    }
}

body.wgz-editorial-theme .header-top--workbench {
    align-items: flex-start;
}

body.wgz-editorial-theme .workbench-status-panel {
    display: grid;
    gap: 12px;
    min-width: min(320px, 100%);
    justify-items: stretch;
}

body.wgz-editorial-theme .workbench-status-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .workbench-status-card--soft {
    border-color: rgba(193, 122, 58, 0.18);
    background: rgba(255, 251, 244, 0.82);
}

body.wgz-editorial-theme .workbench-status-card__kicker,
body.wgz-editorial-theme .history-toolbar__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}

body.wgz-editorial-theme .workbench-status-card__title,
body.wgz-editorial-theme .history-toolbar__title {
    margin-top: 8px;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

body.wgz-editorial-theme .workbench-status-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

body.wgz-editorial-theme .workbench-status-card .login-info {
    color: #5b6472;
    font-size: 13px;
}

body.wgz-editorial-theme .history-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(250,246,239,0.9) 100%);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .history-list {
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 340px);
    overflow-y: auto;
    padding-right: 8px;
}

body.wgz-editorial-theme .history-card,
body.wgz-editorial-theme .history-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249, 246, 240, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .history-save-warning {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(217, 119, 6, 0.24);
    border-radius: 8px;
    background: rgba(255, 251, 235, 0.92);
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.6;
}

body.wgz-editorial-theme .history-save-warning strong {
    color: #7c2d12;
    font-size: 14px;
}

body.wgz-editorial-theme .history-card__body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme .history-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body.wgz-editorial-theme .history-card__title,
body.wgz-editorial-theme .history-empty__title {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

body.wgz-editorial-theme .history-card__meta,
body.wgz-editorial-theme .history-empty__body {
    color: #5b6472;
    font-size: 14px;
    line-height: 1.75;
}

body.wgz-editorial-theme .history-card__asset-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.wgz-editorial-theme .history-card__asset-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .history-card__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

body.wgz-editorial-theme .history-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

body.wgz-editorial-theme .history-type-badge--evaluation {
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

body.wgz-editorial-theme .history-type-badge--risk {
    background: rgba(180, 83, 9, 0.1);
    color: #b45309;
}

body.wgz-editorial-theme .history-type-badge--report {
    background: rgba(29, 78, 216, 0.1);
    color: #1d4ed8;
}

body.wgz-editorial-theme .history-type-badge--compare {
    background: rgba(71, 85, 105, 0.1);
    color: #475569;
    border-color: rgba(71, 85, 105, 0.14);
}

body.wgz-editorial-theme .history-empty {
    flex-direction: column;
    align-items: flex-start;
}

body.wgz-editorial-theme .history-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.wgz-editorial-theme .history-filter-chip {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.wgz-editorial-theme .history-filter-chip.active,
body.wgz-editorial-theme .history-filter-chip:hover {
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 72%, #c17a3a 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

body.wgz-editorial-theme #tab-evaluation,
body.wgz-editorial-theme #tab-risk,
body.wgz-editorial-theme #tab-report {
    overflow-y: auto;
}

body.wgz-editorial-theme #tab-evaluation .report-section,
body.wgz-editorial-theme #tab-risk .report-section,
body.wgz-editorial-theme #tab-report .report-section {
    margin-top: 0;
}

@media (max-width: 1200px) {
    body.wgz-editorial-theme .module-toolbar__actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.wgz-editorial-theme .module-toolbar__actions .btn {
        width: 100%;
    }

    body.wgz-editorial-theme .history-toolbar,
    body.wgz-editorial-theme .history-card {
        flex-direction: column;
        align-items: stretch;
    }

    body.wgz-editorial-theme .history-card__actions {
        justify-content: flex-start;
    }

    body.wgz-editorial-theme .chart-lab-studio {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-telemetry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .module-toolbar {
        border-radius: 20px;
        padding: 18px;
    }

    body.wgz-editorial-theme .chart-lab-card {
        padding: 18px;
        border-radius: 20px;
    }

    body.wgz-editorial-theme .chart-lab-card__title {
        font-size: 24px;
    }

    body.wgz-editorial-theme .chart-lab-form-grid,
    body.wgz-editorial-theme .chart-lab-telemetry {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-action-row {
        flex-direction: column;
    }

    body.wgz-editorial-theme .chart-lab-action-row .btn {
        width: 100%;
    }

    body.wgz-editorial-theme .chart-lab-editor-state {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-editor-state__quick {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-editor-state__actions {
        width: 100%;
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-editor-state__action {
        width: 100%;
    }

    body.wgz-editorial-theme .module-chart-transfer {
        align-items: stretch;
        flex-direction: column;
    }

    body.wgz-editorial-theme .module-chart-transfer__meta {
        text-align: left;
    }
}

body.wgz-editorial-theme .header-top--workbench {
    align-items: center;
    justify-content: space-between;
}

body.wgz-editorial-theme .title-section--compact {
    max-width: none;
}

body.wgz-editorial-theme .title-section--compact h1 {
    margin: 0;
    color: #13212b;
    font-size: 28px;
    line-height: 1.15;
}

body.wgz-editorial-theme .title-section--compact p,
body.wgz-editorial-theme .workspace-eyebrow,
body.wgz-editorial-theme .workspace-subprompt,
body.wgz-editorial-theme .workbench-status-panel,
body.wgz-editorial-theme .workbench-status-card {
    display: none !important;
}

body.wgz-editorial-theme .workbench-account {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(214, 201, 182, 0.96);
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 12px 24px rgba(19, 33, 43, 0.06);
}

body.wgz-editorial-theme .workbench-account__meta {
    display: grid;
    gap: 2px;
}

body.wgz-editorial-theme .workbench-account__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-account strong {
    color: #13212b;
    font-size: 15px;
    font-weight: 700;
}

body.wgz-editorial-theme .panel--workbench {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 22px 22px 20px;
    border: 1px solid rgba(214, 201, 182, 0.88);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(250, 245, 236, 0.96) 100%);
    box-shadow: 0 22px 44px rgba(19, 33, 43, 0.08);
}

body.wgz-editorial-theme .chat-launchpad {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(201, 214, 206, 0.96);
    background:
        radial-gradient(circle at top right, rgba(193, 122, 58, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(240, 248, 245, 0.98) 0%, rgba(255, 252, 247, 0.98) 62%, rgba(248, 244, 236, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(19, 33, 43, 0.07);
    overflow: hidden;
}

body.wgz-editorial-theme .chat-launchpad::after {
    content: '';
    position: absolute;
    inset: auto -40px -56px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0) 72%);
    pointer-events: none;
}

body.wgz-editorial-theme .chat-launchpad__content,
body.wgz-editorial-theme .chat-launchpad__actions {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .chat-launchpad__kicker {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chat-launchpad__title {
    margin: 8px 0 0;
    color: #13212b;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: 31px;
    line-height: 1.18;
}

body.wgz-editorial-theme .chat-launchpad__body {
    max-width: 56ch;
    margin: 10px 0 0;
    color: #536474;
    font-size: 14px;
    line-height: 1.75;
}

body.wgz-editorial-theme .chat-launchpad__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

body.wgz-editorial-theme .chat-launchpad__meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(201, 214, 206, 0.88);
    color: #355062;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chat-launchpad__actions {
    display: grid;
    gap: 10px;
    min-width: 196px;
}

body.wgz-editorial-theme .chat-launchpad__actions .btn {
    width: 100%;
}

body.wgz-editorial-theme .workbench-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

body.wgz-editorial-theme .workbench-summary-card--recent {
    display: none;
}

body.wgz-editorial-theme .workbench-summary-card {
    display: grid;
    gap: 12px;
    min-height: 164px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(214, 201, 182, 0.96);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 14px 28px rgba(19, 33, 43, 0.05);
}

body.wgz-editorial-theme .workbench-summary-card__label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-summary-card__value {
    color: #13212b;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: 30px;
    line-height: 1.12;
}

body.wgz-editorial-theme .workbench-summary-card__value--small {
    font-size: 22px;
    line-height: 1.26;
}

body.wgz-editorial-theme .workbench-summary-card__meta {
    color: #536474;
    font-size: 14px;
    line-height: 1.65;
    max-width: 42ch;
}

body.wgz-editorial-theme .workbench-summary-card__button {
    width: fit-content;
    min-width: 144px;
    align-self: end;
}

body.wgz-editorial-theme .chat-container--workbench {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(280px, 0.76fr);
    gap: 18px;
    align-items: start;
}

body.wgz-editorial-theme .chat-with-conversation-rail {
    display: grid;
    grid-template-columns: minmax(174px, 204px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body.wgz-editorial-theme .chat-with-conversation-rail--has-aside {
    grid-template-columns: minmax(174px, 204px) minmax(0, 1fr);
}

body.wgz-editorial-theme .chat-with-conversation-rail:has(.chat-conversation-sidebar.is-collapsed),
body.wgz-editorial-theme .chat-with-conversation-rail--conversation-collapsed {
    grid-template-columns: 56px minmax(0, 1fr);
}

body.wgz-editorial-theme .chat-with-conversation-rail--has-aside:has(.chat-conversation-sidebar.is-collapsed),
body.wgz-editorial-theme .chat-with-conversation-rail--has-aside.chat-with-conversation-rail--conversation-collapsed {
    grid-template-columns: 56px minmax(0, 1fr);
}

body.wgz-editorial-theme .chat-original-container {
    min-width: 0;
    width: 100%;
}

body.wgz-editorial-theme .chat-original-container--single-column > .chat-container {
    grid-template-columns: minmax(0, 1fr);
}

body.wgz-editorial-theme .chat-conversation-sidebar,
body.wgz-editorial-theme .chat-conversation-rail {
    display: grid;
    gap: 8px;
    align-content: start;
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

body.wgz-editorial-theme .chat-conversation-drawer-toggle {
    display: none;
}

body.wgz-editorial-theme .chat-conversation-sidebar__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 2px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__head-actions {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-shrink: 0;
}

body.wgz-editorial-theme .chat-conversation-sidebar__head strong {
    display: block;
    color: #15233a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

body.wgz-editorial-theme .chat-conversation-sidebar__head span,
body.wgz-editorial-theme .chat-conversation-sidebar__search span {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body.wgz-editorial-theme .chat-conversation-sidebar__new,
body.wgz-editorial-theme .chat-conversation-sidebar__collapse,
body.wgz-editorial-theme .chat-conversation-sidebar__actions button,
body.wgz-editorial-theme .chat-conversation-item__actions button {
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

body.wgz-editorial-theme .chat-conversation-sidebar__new,
body.wgz-editorial-theme .chat-conversation-sidebar__collapse {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0;
}

body.wgz-editorial-theme .chat-conversation-sidebar__new:hover,
body.wgz-editorial-theme .chat-conversation-sidebar__collapse:hover,
body.wgz-editorial-theme .chat-conversation-item__actions button:hover {
    background: #f1f5f9;
}

body.wgz-editorial-theme .chat-conversation-sidebar.is-collapsed {
    width: 44px;
    min-width: 44px;
    overflow: hidden;
    padding: 10px 8px;
}

body.wgz-editorial-theme .chat-conversation-sidebar.is-collapsed > *:not(.chat-conversation-sidebar__head) {
    display: none;
}

body.wgz-editorial-theme .chat-conversation-sidebar.is-collapsed .chat-conversation-sidebar__head {
    display: grid;
    justify-items: center;
}

body.wgz-editorial-theme .chat-conversation-sidebar.is-collapsed .chat-conversation-sidebar__head > div:first-child,
body.wgz-editorial-theme .chat-conversation-sidebar.is-collapsed .chat-conversation-sidebar__new {
    display: none;
}

body.wgz-editorial-theme .chat-conversation-sidebar__search {
    display: grid;
}

body.wgz-editorial-theme .chat-conversation-sidebar__search input {
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #0f172a;
    background: #f5f5f5;
    font-size: 12px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__search input:focus {
    border-color: rgba(15, 118, 110, 0.28);
    outline: 2px solid rgba(20, 184, 166, 0.12);
    background: #ffffff;
}

body.wgz-editorial-theme .chat-conversation-sidebar__actions {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__actions button {
    min-height: 34px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__list {
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__list section,
body.wgz-editorial-theme .chat-conversation-company {
    display: grid;
    gap: 2px;
}

body.wgz-editorial-theme .chat-conversation-sidebar__list h4,
body.wgz-editorial-theme .chat-conversation-company summary {
    margin: 6px 6px 3px;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
}

body.wgz-editorial-theme .chat-conversation-company summary {
    cursor: pointer;
}

body.wgz-editorial-theme .chat-conversation-item {
    position: relative;
    display: flex;
    gap: 0;
    align-items: center;
    min-height: 32px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
}

body.wgz-editorial-theme .chat-conversation-item:hover {
    background: #f8fafc;
}

body.wgz-editorial-theme .chat-conversation-item.is-active {
    border-color: transparent;
    background: #eeeeee;
}

body.wgz-editorial-theme .chat-conversation-item__main {
    display: grid;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 32px;
    padding: 7px 9px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

body.wgz-editorial-theme .chat-conversation-item__main strong,
body.wgz-editorial-theme .chat-conversation-item__main small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.wgz-editorial-theme .chat-conversation-item__main strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

body.wgz-editorial-theme .chat-conversation-item__main small {
    display: none;
}

body.wgz-editorial-theme .chat-conversation-item__actions {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: flex;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}

body.wgz-editorial-theme .chat-conversation-item:hover .chat-conversation-item__actions,
body.wgz-editorial-theme .chat-conversation-item:focus-within .chat-conversation-item__actions {
    opacity: 1;
    pointer-events: auto;
}

body.wgz-editorial-theme .chat-conversation-item__actions button {
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 6px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.88);
}

body.wgz-editorial-theme .chat-conversation-sidebar__empty {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

body.wgz-editorial-theme .claim-evidence-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

body.wgz-editorial-theme .claim-evidence-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 8px;
    background: #ffffff;
}

body.wgz-editorial-theme .claim-evidence-card--context {
    background: rgba(255, 251, 235, 0.66);
    border-color: rgba(245, 158, 11, 0.22);
}

body.wgz-editorial-theme .claim-evidence-card--empty {
    margin-top: 12px;
    color: #64748b;
}

body.wgz-editorial-theme .claim-evidence-card__claim,
body.wgz-editorial-theme .claim-evidence-card__reason {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .claim-evidence-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.wgz-editorial-theme .claim-evidence-card__grid div {
    min-width: 0;
    padding: 8px;
    border-radius: 8px;
    background: #f8fafc;
}

body.wgz-editorial-theme .claim-evidence-card span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

body.wgz-editorial-theme .claim-evidence-card strong {
    color: #0f172a;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body.wgz-editorial-theme .risk-overview-drilldown,
body.wgz-editorial-theme .eval-structure-insight {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

body.wgz-editorial-theme .risk-overview-drilldown__group,
body.wgz-editorial-theme .risk-overview-drilldown__item,
body.wgz-editorial-theme .eval-structure-insight {
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 8px;
    background: #ffffff;
}

body.wgz-editorial-theme .risk-overview-drilldown__group {
    --risk-level-color: #64748b;
    --risk-level-bg: rgba(248, 250, 252, 0.96);
    overflow: hidden;
    border-left: 4px solid var(--risk-level-color);
    background: linear-gradient(135deg, var(--risk-level-bg), #ffffff 72%);
}

body.wgz-editorial-theme .risk-overview-drilldown__group[data-risk-level="high"] {
    --risk-level-color: #dc2626;
    --risk-level-bg: rgba(254, 242, 242, 0.98);
}

body.wgz-editorial-theme .risk-overview-drilldown__group[data-risk-level="medium"] {
    --risk-level-color: #f59e0b;
    --risk-level-bg: rgba(255, 251, 235, 0.98);
}

body.wgz-editorial-theme .risk-overview-drilldown__group[data-risk-level="low"] {
    --risk-level-color: #10b981;
    --risk-level-bg: rgba(236, 253, 245, 0.98);
}

body.wgz-editorial-theme .risk-overview-drilldown__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

body.wgz-editorial-theme .risk-overview-drilldown__label {
    flex: 1 1 auto;
    min-width: 0;
}

body.wgz-editorial-theme .risk-overview-drilldown__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--risk-level-color) 16%, #ffffff);
    color: var(--risk-level-color);
    font-size: 12px;
    font-weight: 900;
}

body.wgz-editorial-theme .risk-overview-drilldown__chevron {
    color: var(--risk-level-color);
    transition: transform 0.18s ease;
}

body.wgz-editorial-theme .risk-overview-drilldown__toggle.is-open .risk-overview-drilldown__chevron {
    transform: rotate(180deg);
}

body.wgz-editorial-theme .risk-overview-drilldown__list {
    display: grid;
    gap: 8px;
    padding: 0 10px 10px;
}

body.wgz-editorial-theme .risk-overview-drilldown__list[hidden] {
    display: none !important;
}

body.wgz-editorial-theme .risk-overview-drilldown__item {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-color: color-mix(in srgb, var(--risk-level-color) 26%, rgba(203, 213, 225, 0.86));
}

body.wgz-editorial-theme .risk-overview-drilldown__empty,
body.wgz-editorial-theme .risk-overview-drilldown--empty {
    padding: 10px;
    color: #64748b;
    font-size: 12px;
}

body.wgz-editorial-theme .eval-structure-insight {
    padding: 12px;
}

body.wgz-editorial-theme .eval-structure-insight h4 {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
}

body.wgz-editorial-theme .eval-structure-insight p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.7;
}

body.wgz-editorial-theme .eval-structure-insight__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body.wgz-editorial-theme .eval-structure-insight__grid div,
body.wgz-editorial-theme .eval-structure-insight__block {
    min-width: 0;
    padding: 8px;
    border-radius: 8px;
    background: #f8fafc;
}

body.wgz-editorial-theme .eval-structure-insight__grid span,
body.wgz-editorial-theme .eval-structure-insight__block strong,
body.wgz-editorial-theme .eval-structure-insight__basis {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

body.wgz-editorial-theme .eval-structure-insight__grid strong,
body.wgz-editorial-theme .eval-structure-insight__block li,
body.wgz-editorial-theme .eval-structure-insight__block span {
    color: #0f172a;
    font-size: 12px;
    line-height: 1.6;
}

body.wgz-editorial-theme .eval-structure-insight__block ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

body.wgz-editorial-theme .eval-chart-reading {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding-top: 8px;
}

body.wgz-editorial-theme .report-data-tables,
body.wgz-editorial-theme .report-data-table {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .report-data-table {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 8px;
    background: #ffffff;
}

body.wgz-editorial-theme .report-data-table__head,
body.wgz-editorial-theme .report-data-table-modal__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.wgz-editorial-theme .report-data-table__head h5,
body.wgz-editorial-theme .report-data-table-modal__head h4 {
    margin: 0;
    color: #0f172a;
    line-height: 1.35;
}

body.wgz-editorial-theme .report-data-table__scroll,
body.wgz-editorial-theme .report-data-table-modal__scroll {
    overflow-x: auto;
    border: 1px solid rgba(226, 232, 240, 0.94);
    border-radius: 8px;
}

body.wgz-editorial-theme .report-data-table table,
body.wgz-editorial-theme .report-data-table-modal table {
    min-width: 100%;
    border-collapse: collapse;
}

body.wgz-editorial-theme .report-data-table th,
body.wgz-editorial-theme .report-data-table td,
body.wgz-editorial-theme .report-data-table-modal th,
body.wgz-editorial-theme .report-data-table-modal td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.94);
    color: #334155;
    font-size: 12px;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: top;
}

body.wgz-editorial-theme .report-data-table th,
body.wgz-editorial-theme .report-data-table-modal th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 900;
}

body.wgz-editorial-theme .report-data-table th:first-child,
body.wgz-editorial-theme .report-data-table td:first-child,
body.wgz-editorial-theme .report-data-table-modal th:first-child,
body.wgz-editorial-theme .report-data-table-modal td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #ffffff;
    min-width: 160px;
    font-weight: 800;
}

body.wgz-editorial-theme .report-data-table-modal th:first-child {
    background: #f8fafc;
    z-index: 4;
}

body.wgz-editorial-theme .report-data-table__meta {
    color: #64748b;
    font-size: 12px;
}

body.wgz-editorial-theme .report-data-table-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 220;
    padding: 28px;
    background: rgba(15, 23, 42, 0.42);
}

body.wgz-editorial-theme .report-data-table-modal.is-open {
    display: grid;
    place-items: center;
}

body.wgz-editorial-theme .report-data-table-modal__panel {
    display: grid;
    gap: 14px;
    width: min(1040px, calc(100vw - 40px));
    max-height: calc(100vh - 56px);
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

body.wgz-editorial-theme .report-data-table-modal__body {
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow: hidden;
}

body.wgz-editorial-theme .report-data-table-modal__scroll {
    max-height: calc(100vh - 210px);
    overflow: auto;
}

body.wgz-editorial-theme .chat-workbench-main,
body.wgz-editorial-theme .chat-main-original {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

body.wgz-editorial-theme .chat-workbench-aside,
body.wgz-editorial-theme .chat-workbench-aside-original {
    display: grid;
    gap: 12px;
    align-content: start;
    position: sticky;
    top: 18px;
}

body.wgz-editorial-theme .chat-workbench-quick-shell {
    display: block;
    width: 100%;
    margin-top: 8px;
}

body.wgz-editorial-theme .chat-aside-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(214, 201, 182, 0.96);
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 16px 30px rgba(19, 33, 43, 0.06);
}

body.wgz-editorial-theme .chat-aside-kicker {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chat-aside-action-list {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

body.wgz-editorial-theme .chat-aside-suggestion-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 16%, rgba(233, 211, 170, 0.12), transparent 22%),
        linear-gradient(160deg, #17303b 0%, #1f3c47 58%, #2b5a66 100%);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(25, 44, 52, 0.92);
}

body.wgz-editorial-theme .chat-aside-suggestion-card::before {
    content: "";
    position: absolute;
    top: -42%;
    left: -16%;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 32px solid rgba(255, 255, 255, 0.08);
    filter: blur(0.45rem);
    transition: all 0.8s ease;
    pointer-events: none;
}

body.wgz-editorial-theme .chat-aside-suggestion-card:hover::before {
    width: 146px;
    height: 146px;
    top: -28%;
    left: 48%;
    filter: blur(0);
}

body.wgz-editorial-theme .chat-aside-suggestion-card__body {
    width: 100%;
    min-height: 176px;
    padding: 16px 16px 12px;
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #f8fafc;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__eyebrow {
    color: rgba(233, 211, 170, 0.88);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__title {
    font-size: 21px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__desc {
    color: rgba(226, 232, 240, 0.86);
    font-size: 13px;
    line-height: 1.62;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__prompt {
    color: rgba(240, 246, 248, 0.82);
    font-style: normal;
    font-size: 12px;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(247, 234, 234, 0.14);
}

body.wgz-editorial-theme .chat-aside-suggestion-card__action {
    height: 42px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(247, 234, 234, 0.52);
    color: #173d54;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__action:last-child {
    border-right: 0;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__action:hover {
    background: rgba(255, 248, 242, 0.92);
    color: #0f766e;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__action.is-copied {
    background: rgba(209, 250, 229, 0.92);
    color: #0f766e;
}

body.wgz-editorial-theme .chat-aside-suggestion-card__icon {
    width: 20px;
    height: 20px;
}

body.wgz-editorial-theme .chat-aside-ai-note {
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chat-aside-ai-note strong {
    color: #0f766e;
}

body.wgz-editorial-theme .chat-aside-note-meta {
    display: inline-block;
    margin-top: 4px;
    color: #7b8794;
    font-size: 11px;
}


@media (max-width: 1180px) {
    body.wgz-editorial-theme .chat-aside-suggestion-card__title {
        font-size: 18px;
    }
}

body.wgz-editorial-theme .chat-messages {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    padding: 22px 18px 22px 20px;
    border: 1px solid rgba(188, 204, 195, 0.96);
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.99) 0%, rgba(252, 248, 241, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 30px rgba(19, 33, 43, 0.06);
    border-radius: 24px;
}

body.wgz-editorial-theme .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .chat-workbench-quick-shell .quick-actions {
    width: 100%;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(214, 201, 182, 0.92);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 14px 28px rgba(19, 33, 43, 0.05);
}

body.wgz-editorial-theme .chat-workbench-quick-shell .quick-action {
    min-height: 48px;
    border-radius: 999px;
    box-shadow: none;
}

body.wgz-editorial-theme .message {
    max-width: 78%;
    display: grid;
    gap: 12px;
    padding: 18px 20px;
}

body.wgz-editorial-theme .message.agent {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(211, 220, 214, 0.96);
    box-shadow: 0 10px 18px rgba(19, 33, 43, 0.05);
    max-width: min(76%, 760px);
}

body.wgz-editorial-theme .message.user {
    box-shadow: 0 12px 22px rgba(23, 48, 59, 0.14);
    max-width: min(72%, 640px);
}

body.wgz-editorial-theme .message-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.wgz-editorial-theme .message.agent .message-header {
    color: #64727d;
}

body.wgz-editorial-theme .message.user .message-header {
    color: rgba(255, 255, 255, 0.82);
}

body.wgz-editorial-theme .message-body {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .message-content {
    margin: 0;
    font-size: 15px;
    line-height: 1.88;
}

body.wgz-editorial-theme .message-content--plain {
    white-space: pre-wrap;
}

body.wgz-editorial-theme .message-content--streaming {
    min-height: 28px;
    white-space: pre-wrap;
    color: #445564;
}

body.wgz-editorial-theme .message.agent.is-streaming .message-body {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(247, 250, 249, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(203, 218, 211, 0.9);
}

body.wgz-editorial-theme .message.agent.is-streaming .message-content--streaming::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 1.08em;
    margin-left: 6px;
    border-radius: 999px;
    vertical-align: text-bottom;
    background: linear-gradient(180deg, #0f766e 0%, #c17a3a 100%);
    animation: chatStreamingCaret 1s ease-in-out infinite;
}

body.wgz-editorial-theme .chat-rich-content {
    display: grid;
    gap: 14px;
    color: #334155;
}

body.wgz-editorial-theme .chat-rich-content--welcome {
    gap: 12px;
}

body.wgz-editorial-theme .chat-rich-lead,
body.wgz-editorial-theme .chat-rich-paragraph,
body.wgz-editorial-theme .chat-rich-section__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
}

body.wgz-editorial-theme .chat-rich-lead {
    font-size: 16px;
    color: #243746;
    font-weight: 500;
}

body.wgz-editorial-theme .chat-rich-paragraph,
body.wgz-editorial-theme .chat-rich-section__text {
    color: #4b5b69;
}

body.wgz-editorial-theme .chat-rich-note {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(214, 201, 182, 0.86);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.98) 0%, rgba(250, 244, 235, 0.96) 100%);
    color: #5e6772;
    font-size: 14px;
    line-height: 1.78;
}

body.wgz-editorial-theme .chat-rich-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .chat-rich-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(188, 204, 195, 0.96);
    background: rgba(255, 255, 255, 0.96);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.wgz-editorial-theme .chat-rich-section {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body.wgz-editorial-theme .chat-rich-section__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(221, 241, 237, 0.96) 0%, rgba(255, 247, 237, 0.92) 100%);
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

body.wgz-editorial-theme .chat-rich-section__card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(211, 220, 214, 0.96);
    background: linear-gradient(180deg, rgba(248, 251, 249, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.wgz-editorial-theme .chat-rich-section__title {
    margin: 0;
    color: #18313d;
    font-size: 15px;
    line-height: 1.72;
}

body.wgz-editorial-theme .chat-rich-list {
    list-style: none;
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
}

body.wgz-editorial-theme .chat-rich-list li {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: #4b5b69;
    font-size: 15px;
    line-height: 1.85;
}

body.wgz-editorial-theme .chat-rich-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e 0%, #c17a3a 100%);
}

body.wgz-editorial-theme .chat-rich-list--ordered {
    counter-reset: chat-rich-step;
}

body.wgz-editorial-theme .chat-rich-list--ordered li {
    padding-left: 34px;
}

body.wgz-editorial-theme .chat-rich-list--ordered li::before {
    counter-increment: chat-rich-step;
    content: counter(chat-rich-step, decimal-leading-zero);
    top: 0.16em;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

body.wgz-editorial-theme .chat-rich-content strong {
    color: #18313d;
    font-weight: 700;
}

body.wgz-editorial-theme .chat-rich-content code {
    padding: 2px 7px;
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 0.92em;
}

body.wgz-editorial-theme .chat-response-sources {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px dashed rgba(211, 220, 214, 0.96);
}

@keyframes chatStreamingCaret {
    0%, 100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(1px);
    }
}

body.wgz-editorial-theme .chat-input-container {
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(214, 201, 182, 0.92);
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 14px 28px rgba(19, 33, 43, 0.05);
}

body.wgz-editorial-theme .chat-input {
    background: #fffefb;
    border: 1px solid rgba(196, 208, 201, 0.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.94);
}

body.wgz-editorial-theme .chat-input:focus {
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

body.wgz-editorial-theme .quick-actions {
    padding-top: 4px;
}

body.wgz-editorial-theme .quick-action {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(214, 201, 182, 0.92);
    box-shadow: 0 10px 18px rgba(19, 33, 43, 0.04);
}

@media (max-width: 980px) {
    body.wgz-editorial-theme .chat-launchpad,
    body.wgz-editorial-theme .chat-with-conversation-rail,
    body.wgz-editorial-theme .chat-with-conversation-rail--has-aside,
    body.wgz-editorial-theme .chat-with-conversation-rail--conversation-collapsed {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chat-launchpad__actions {
        min-width: 0;
    }

    body.wgz-editorial-theme .chat-workbench-aside {
        position: static;
    }

    body.wgz-editorial-theme .chat-conversation-sidebar,
    body.wgz-editorial-theme .chat-conversation-rail {
        position: fixed;
        left: 12px;
        top: 76px;
        bottom: 12px;
        z-index: 80;
        width: min(320px, calc(100vw - 24px));
        max-height: none;
        transform: translateX(-112%);
        transition: transform 160ms ease;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    }

    body.wgz-editorial-theme .chat-conversation-drawer-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 10px;
        z-index: 75;
        width: max-content;
        min-height: 36px;
        padding: 8px 12px;
        border: 1px solid rgba(214, 201, 182, 0.92);
        border-radius: 8px;
        background: #ffffff;
        color: #334155;
        font-size: 12px;
        font-weight: 800;
    }

    body.wgz-editorial-theme .chat-conversation-sidebar.is-drawer-open,
    body.wgz-editorial-theme .chat-conversation-rail.is-drawer-open {
        transform: translateX(0);
    }

    body.wgz-editorial-theme .chat-workbench-quick-shell {
        padding: 12px;
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .chat-launchpad {
        padding: 18px;
    }

    body.wgz-editorial-theme .chat-launchpad__title {
        font-size: 24px;
    }

    body.wgz-editorial-theme .message {
        max-width: 100%;
    }

    body.wgz-editorial-theme .message.agent,
    body.wgz-editorial-theme .message.user {
        max-width: 100%;
    }

    body.wgz-editorial-theme .chat-rich-section {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chat-rich-section__index {
        width: 40px;
    }
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--focus:has(#riskFocusMount:empty) {
    display: none;
}

body.wgz-editorial-theme #tab-risk-aux #riskEvidenceOverview:empty,
body.wgz-editorial-theme #tab-risk-aux #riskSourcesContainer:empty {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(180, 83, 9, 0.18);
    background: rgba(255, 251, 245, 0.72);
    color: #7c6254;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme #tab-risk-aux #riskEvidenceOverview:empty::before {
    content: "生成风险洞察后，这里会先总结证据覆盖、来源数量和可追溯性。";
}

body.wgz-editorial-theme #tab-risk-aux #riskSourcesContainer:empty::before {
    content: "生成完成后，这里会列出来源、原文片段和跳转入口。";
}

body.wgz-editorial-theme #tab-risk-aux .layout-chart-rail:empty {
    min-height: 88px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(180, 83, 9, 0.18);
    background: rgba(255, 251, 245, 0.72);
    color: #7c6254;
}

body.wgz-editorial-theme #tab-risk-aux .layout-chart-rail--tall:empty {
    min-height: 104px;
}

body.wgz-editorial-theme #tab-risk-aux .layout-chart-rail:empty::before {
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme #tab-risk-aux #riskFinancialOverviewChart:empty::before {
    content: "生成风险洞察后，这里会展示财务联动趋势。";
}

body.wgz-editorial-theme #tab-risk-aux #riskOverviewChart:empty::before {
    content: "生成完成后，这里会展示风险总览分布。";
}

body.wgz-editorial-theme #tab-risk-aux #riskHeatmapChart:empty::before {
    content: "生成完成后，这里会展示风险热力分布。";
}

body.wgz-editorial-theme #tab-risk-aux #riskTimelineChart:empty::before {
    content: "生成完成后，这里会展示事件时间线。";
}

body.wgz-editorial-theme #tab-risk-aux #riskFinancialOverviewNote:empty,
body.wgz-editorial-theme #tab-risk-aux #riskOverviewNote:empty,
body.wgz-editorial-theme #tab-risk-aux #riskHeatmapNote:empty,
body.wgz-editorial-theme #tab-risk-aux #riskTimelineNote:empty {
    display: none;
}

body.wgz-editorial-theme #tab-report-aux #reportSourceExplanationMount:empty,
body.wgz-editorial-theme #tab-report-aux #reportSourcesContainer:empty,
body.wgz-editorial-theme #tab-report-aux #reportMetricCardsMount:empty,
body.wgz-editorial-theme #tab-report-aux #reportQualityReviewMount:empty {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(29, 78, 216, 0.18);
    background: rgba(245, 248, 255, 0.74);
    color: #5e6f9b;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme #tab-report-aux #reportSourceExplanationMount:empty::before {
    content: "生成完成后，这里会展示来源覆盖、用途说明和引用范围。";
}

body.wgz-editorial-theme #tab-report-aux #reportSourcesContainer:empty::before {
    content: "生成完成后，这里会列出来源、证据链和引用入口。";
}

body.wgz-editorial-theme #tab-report-aux #reportMetricCardsMount:empty::before {
    content: "生成完成后，这里会展示核心指标卡和摘要判断。";
}

body.wgz-editorial-theme #tab-report-aux #reportQualityReviewMount:empty::before {
    content: "生成完成后，这里会展示完整度、引用质量和可复述性评审。";
}

body.wgz-editorial-theme #tab-report-aux #reportFinancialTrendChart:empty {
    min-height: 104px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(29, 78, 216, 0.18);
    background: rgba(245, 248, 255, 0.74);
    color: #5e6f9b;
}

body.wgz-editorial-theme #tab-report-aux #reportFinancialTrendChart:empty::before {
    content: "生成完成后，这里会展示财务趋势图。";
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme #tab-report-aux #reportMetricCardsNote:empty,
body.wgz-editorial-theme #tab-report-aux #reportFinancialTrendChartNote:empty {
    display: none;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-card--intake {
    padding: 20px 18px;
}

body.wgz-editorial-theme .chart-lab-card__eyebrow {
    letter-spacing: 0.18em;
}

body.wgz-editorial-theme .chart-lab-card__title {
    margin-bottom: 6px;
}

body.wgz-editorial-theme .chart-lab-card__description {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.65;
}

body.wgz-editorial-theme .chart-lab-card__title--compact {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1.15;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__row .btn {
    flex: 0 0 auto;
}

body.wgz-editorial-theme .chart-lab-company-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 0 0 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #344256;
    line-height: 1.2;
}

body.wgz-editorial-theme .chart-lab-company-selected__label {
    flex: 0 0 auto;
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-company-selected strong {
    min-width: 0;
    color: #13212b;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wgz-editorial-theme .chart-lab-company-selected__meta {
    min-width: 0;
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wgz-editorial-theme .chart-lab-company-selected__link {
    flex: 0 0 auto;
    margin-left: auto;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-captured-panel {
    display: grid;
    gap: 10px;
    padding: 14px 16px 16px;
    border: 1px solid rgba(201, 213, 206, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

body.wgz-editorial-theme .chart-lab-captured-panel__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

body.wgz-editorial-theme .chart-lab-captured-panel__summary::-webkit-details-marker {
    display: none;
}

body.wgz-editorial-theme .chart-lab-captured-panel__head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-captured-panel__toggle {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-captured-list {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-chat-panel {
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.98) 0%, rgba(247, 242, 233, 0.96) 100%);
}

body.wgz-editorial-theme .chart-lab-chat-panel__head strong {
    font-size: 13px;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-chat-log {
    display: none;
}

body.wgz-editorial-theme .chart-lab-chat-composer textarea {
    min-height: 92px;
    resize: vertical;
}

body.wgz-editorial-theme .chart-lab-family-block {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(201, 213, 206, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

body.wgz-editorial-theme .chart-lab-family-block__head {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-family-block__head span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
}

body.wgz-editorial-theme .chart-lab-family-block__head strong {
    font-size: 15px;
    line-height: 1.5;
    color: #13212b;
}

body.wgz-editorial-theme .chart-lab-family-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-family-nav__item {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(207, 216, 228, 0.9);
    background: rgba(248, 250, 252, 0.9);
    color: #344256;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-family-nav__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.44), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-family-nav__item:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-family-nav__item:hover::after,
body.wgz-editorial-theme .chart-lab-family-nav__item:focus-visible::after,
body.wgz-editorial-theme .chart-lab-time-axis__chip:hover::after,
body.wgz-editorial-theme .chart-lab-time-axis__chip:focus-visible::after {
    opacity: 1;
}

body.wgz-editorial-theme .chart-lab-family-nav__item:active,
body.wgz-editorial-theme .chart-lab-time-axis__chip:active {
    transform: translateY(0) scale(0.98);
}

body.wgz-editorial-theme .chart-lab-family-nav__item.is-active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(17, 24, 39, 0.06) 72%, rgba(193, 122, 58, 0.14));
    border-color: rgba(15, 118, 110, 0.28);
    color: #0b3e3a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-type-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

body.wgz-editorial-theme .chart-lab-type-gallery--flat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
}

body.wgz-editorial-theme .chart-lab-type-option {
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(207, 216, 228, 0.95);
    background: rgba(248, 250, 252, 0.9);
    color: #344256;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-type-option:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .chart-lab-type-option.is-active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(255, 255, 255, 0.96) 52%, rgba(193, 122, 58, 0.12));
    border-color: rgba(15, 118, 110, 0.32);
    color: #0b3e3a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-type-option.is-disabled {
    opacity: 0.54;
    cursor: not-allowed;
}

body.wgz-editorial-theme .chart-lab-type-option > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-type-option strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.35;
}

body.wgz-editorial-theme .chart-lab-type-option span {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

body.wgz-editorial-theme .chart-lab-type-option small {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #37605c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

body.wgz-editorial-theme .chart-lab-type-option.is-active span {
    color: #37605c;
}

body.wgz-editorial-theme .chart-lab-board-card,
body.wgz-editorial-theme .chart-lab-type-gallery,
body.wgz-editorial-theme .chart-lab-canvas,
body.wgz-editorial-theme .chart-lab-time-axis,
body.wgz-editorial-theme .chart-lab-telemetry-shell {
    transform-origin: top center;
    will-change: transform, opacity, filter;
}

body.wgz-editorial-theme .chart-lab-board-card.is-switching,
body.wgz-editorial-theme .chart-lab-type-gallery.is-switching,
body.wgz-editorial-theme .chart-lab-canvas.is-switching,
body.wgz-editorial-theme .chart-lab-time-axis.is-switching,
body.wgz-editorial-theme .chart-lab-telemetry-shell.is-switching {
    animation: chartLabSurfaceRefresh 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.wgz-editorial-theme .chart-lab-type-gallery.is-switching-soft {
    animation: chartLabTypeGalleryRefresh 0.22s ease-out;
}

@keyframes chartLabSurfaceRefresh {
    0% {
        opacity: 0.62;
        transform: translateY(10px) scale(0.992);
        filter: saturate(0.86) blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1) blur(0);
    }
}

@keyframes chartLabTypeGalleryRefresh {
    0% {
        filter: blur(7px);
    }
    100% {
        filter: blur(0);
    }
}

body.wgz-editorial-theme .chart-lab-type-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(209, 218, 230, 0.92);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247, 249, 252, 0.95) 100%);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-type-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.24);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-type-card.is-active {
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

body.wgz-editorial-theme .chart-lab-type-card.is-active .chart-lab-type-card__thumb {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 12px 24px rgba(15, 23, 42, 0.12);
}

body.wgz-editorial-theme .chart-lab-type-card__thumb {
    display: grid;
    gap: 12px;
    min-height: 118px;
    padding: 12px 14px;
    border-radius: 16px;
    background: radial-gradient(circle at 18% 20%, rgba(15, 118, 110, 0.16), transparent 36%), linear-gradient(135deg, #143141 0%, #1d3b47 48%, #c17a3a 100%);
    color: #fffaf4;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb span {
    max-width: 72px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb b,
body.wgz-editorial-theme .chart-lab-type-card__thumb i {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-type-card__preview {
    min-height: 76px;
    padding: 6px 4px 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-type-card__preview svg {
    display: block;
    width: 100%;
    height: 76px;
}

body.wgz-editorial-theme .chart-lab-type-card__body {
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .chart-lab-type-card__body strong {
    font-size: 15px;
    color: #13212b;
}

body.wgz-editorial-theme .chart-lab-type-card__body span,
body.wgz-editorial-theme .chart-lab-type-card__body small {
    color: #64748b;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-type-card__body small {
    font-size: 12px;
}

body.wgz-editorial-theme .chart-lab-business-templates {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
}

body.wgz-editorial-theme .chart-lab-business-templates--inline {
    margin-bottom: 2px;
}

body.wgz-editorial-theme .chart-lab-business-templates__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-business-templates__head > div {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-business-templates__head strong {
    color: #13212b;
    font-size: 15px;
}

body.wgz-editorial-theme .chart-lab-business-templates__head span,
body.wgz-editorial-theme .chart-lab-business-templates__head small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

body.wgz-editorial-theme .chart-lab-business-templates__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
}

body.wgz-editorial-theme .chart-lab-business-template-toggle,
body.wgz-editorial-theme .chart-lab-business-template-collapsed {
    border: 1px solid rgba(207, 216, 228, 0.95);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.wgz-editorial-theme .chart-lab-business-template-toggle {
    min-width: 58px;
    padding: 8px 12px;
    border-radius: 999px;
}

body.wgz-editorial-theme .chart-lab-business-template-toggle:hover,
body.wgz-editorial-theme .chart-lab-business-template-collapsed:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .chart-lab-business-template-shell {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-business-template-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-business-template-tab {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(207, 216, 228, 0.95);
    background: rgba(248, 250, 252, 0.9);
    color: #344256;
    text-align: left;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wgz-editorial-theme .chart-lab-business-template-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .chart-lab-business-template-tab.is-active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(255, 255, 255, 0.96) 52%, rgba(193, 122, 58, 0.12));
    border-color: rgba(15, 118, 110, 0.32);
    color: #0b3e3a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-business-template-tab strong {
    font-size: 13px;
    line-height: 1.35;
    color: inherit;
}

body.wgz-editorial-theme .chart-lab-business-template-tab span,
body.wgz-editorial-theme .chart-lab-business-template-tab small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

body.wgz-editorial-theme .chart-lab-business-template-tab.is-active span,
body.wgz-editorial-theme .chart-lab-business-template-tab.is-active small {
    color: #37605c;
}

body.wgz-editorial-theme .chart-lab-business-template-inline-detail {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-business-template-inline-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 8px 10px 8px 12px;
    border: 1px solid rgba(207, 216, 228, 0.8);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.72);
}

body.wgz-editorial-theme .chart-lab-business-template-inline-summary > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-business-template-inline-summary strong {
    color: #13212b;
    font-size: 13px;
    line-height: 1.35;
}

body.wgz-editorial-theme .chart-lab-business-template-inline-summary span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

body.wgz-editorial-theme .chart-lab-business-template-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(207, 216, 228, 0.88);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.82) 100%);
}

body.wgz-editorial-theme .chart-lab-business-template-panel__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__context {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__context span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__context strong {
    color: #13212b;
    font-size: 15px;
    line-height: 1.45;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__context p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 300px;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__stats span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #37605c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

body.wgz-editorial-theme .chart-lab-business-template-panel__stats b {
    margin-right: 3px;
    color: #0f766e;
}

body.wgz-editorial-theme .chart-lab-business-template-collapsed {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 16px;
    text-align: left;
    color: #475569;
}

body.wgz-editorial-theme .chart-lab-business-templates__group {
    display: grid;
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-business-templates__group h4 {
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-business-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-business-template-card {
    align-content: start;
}

body.wgz-editorial-theme .chart-lab-business-template-card.is-warning {
    border-color: rgba(193, 122, 58, 0.3);
}

body.wgz-editorial-theme .chart-lab-business-template-empty {
    padding: 16px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 16px;
    color: #64748b;
    font-size: 13px;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb--business {
    background: radial-gradient(circle at 22% 18%, rgba(30, 212, 199, 0.2), transparent 38%), linear-gradient(135deg, #143141 0%, #285264 52%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-time-axis {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(207, 219, 228, 0.95);
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    position: relative;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.52), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.18s ease;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .chart-lab-time-axis__chip strong {
    color: #13212b;
    font-size: 13px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip span {
    color: #64748b;
    font-size: 12px;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip.is-active {
    border-color: rgba(15, 118, 110, 0.3);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(193, 122, 58, 0.08));
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    color: #0b3e3a;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip.is-active strong {
    color: #0b3e3a;
}

body.wgz-editorial-theme .chart-lab-time-axis__chip.is-active span {
    color: rgba(11, 62, 58, 0.76);
}

body.wgz-editorial-theme #chartLabInsightMount {
    display: grid;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-source-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(180, 193, 207, 0.9);
    color: #64748b;
    background: rgba(248, 250, 252, 0.72);
    line-height: 1.65;
}

body.wgz-editorial-theme .chart-lab-source-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(211, 220, 228, 0.94);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
}

body.wgz-editorial-theme .chart-lab-source-card__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-source-card__head span {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-source-card__head strong {
    flex: 1;
    color: #13212b;
    font-size: 14px;
    line-height: 1.5;
}

body.wgz-editorial-theme .chart-lab-source-card__meta {
    display: grid;
    gap: 6px;
}

body.wgz-editorial-theme .chart-lab-source-card__meta small {
    color: #64748b;
    line-height: 1.6;
}

body.wgz-editorial-theme .chart-lab-source-card__link {
    color: #0f766e;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-source-card__link.is-disabled {
    color: #94a3b8;
}

body.wgz-editorial-theme .chart-lab-source-transparency {
    display: grid;
    gap: 10px;
    margin-top: 2px;
}

body.wgz-editorial-theme .chart-lab-source-panel {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(211, 220, 228, 0.94);
    background: rgba(255, 255, 255, 0.92);
}

body.wgz-editorial-theme .chart-lab-source-panel__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
}

body.wgz-editorial-theme .chart-lab-source-panel__summary::-webkit-details-marker {
    display: none;
}

body.wgz-editorial-theme .chart-lab-source-panel__copy {
    display: grid;
    gap: 4px;
}

body.wgz-editorial-theme .chart-lab-source-panel__copy span {
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .chart-lab-source-panel__copy strong {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

body.wgz-editorial-theme .chart-lab-source-panel__toggle {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .chart-lab-source-panel[open] .chart-lab-source-panel__toggle {
    color: #0f766e;
}

body.wgz-editorial-theme #chartLabWarningsMount {
    display: grid;
    gap: 16px;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-field--wide {
    grid-column: span 3;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-field--stacked textarea {
    min-height: 196px;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-action-row {
    justify-content: flex-start;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-action-row .btn {
    min-width: 164px;
}

body.wgz-editorial-theme .chart-lab-candidate-list {
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-candidate-card {
    border-radius: 20px;
}

body.wgz-editorial-theme .chart-lab-topband__item--command strong {
    line-height: 1.6;
}

@media (max-width: 1320px) {
    body.wgz-editorial-theme .chart-lab-family-nav,
    body.wgz-editorial-theme .chart-lab-business-template-tabs,
    body.wgz-editorial-theme .chart-lab-type-gallery,
    body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-field--wide {
        grid-column: auto;
    }
}

body.wgz-editorial-theme .chart-lab-board {
    grid-template-columns: minmax(228px, 18%) minmax(0, 1fr);
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-topband__item {
    min-height: 72px;
    padding: 14px 16px;
    align-content: start;
}

body.wgz-editorial-theme .chart-lab-topband__item strong {
    font-size: 20px;
    line-height: 1.24;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: block;
    max-width: 100%;
}

body.wgz-editorial-theme .chart-lab-topband__item:nth-child(2) strong,
body.wgz-editorial-theme .chart-lab-topband__item--command strong {
    font-size: 18px;
    line-height: 1.28;
}

body.wgz-editorial-theme .chart-lab-topband__item--command {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-overview {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.72fr) 248px;
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-board-card--rings {
    min-height: 196px;
}

body.wgz-editorial-theme #chartLabTelemetry {
    width: 100%;
    min-height: 196px;
    height: 196px;
}

body.wgz-editorial-theme .chart-lab-main-grid {
    grid-template-columns: minmax(0, 1.72fr) minmax(248px, 0.72fr);
    gap: 16px;
}

body.wgz-editorial-theme .chart-lab-board-card--hero {
    min-height: 680px;
}

body.wgz-editorial-theme .chart-lab-canvas {
    min-height: 680px;
    height: 680px;
}

body.wgz-editorial-theme .chart-lab-side-stack {
    gap: 14px;
}

body.wgz-editorial-theme .chart-lab-side-stack .chart-lab-board-card {
    padding: 16px 16px 18px;
}

body.wgz-editorial-theme .chart-lab-bottom-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.96fr) 220px;
    gap: 16px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-bottom-grid > .chart-lab-board-card:first-child {
    grid-column: span 2;
}

body.wgz-editorial-theme .chart-lab-family-nav {
    grid-template-columns: 1fr;
}

body.wgz-editorial-theme .chart-lab-family-nav__item {
    min-height: 44px;
    font-size: 13px;
}

body.wgz-editorial-theme .chart-lab-type-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wgz-editorial-theme .chart-lab-type-card {
    padding: 12px;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb {
    min-height: 96px;
    align-items: flex-end;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb span {
    max-width: none;
}

body.wgz-editorial-theme .chart-lab-type-card__body strong {
    font-size: 14px;
}

body.wgz-editorial-theme .chart-lab-type-card__body span,
body.wgz-editorial-theme .chart-lab-type-card__body small {
    font-size: 12px;
}

@media (max-width: 1380px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 220px minmax(0, 1fr) 260px;
    }

    body.wgz-editorial-theme .chart-lab-board__right {
        gap: 12px;
    }

    body.wgz-editorial-theme .chart-lab-type-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .chart-lab-business-template-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.wgz-editorial-theme .chart-lab-board {
    grid-template-columns: minmax(220px, 16.5%) minmax(0, 1fr) minmax(272px, 21.5%);
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-board__center,
body.wgz-editorial-theme .chart-lab-board__right {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-board__center {
    display: grid;
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-board__right {
    display: grid;
    gap: 14px;
    align-content: start;
}

body.wgz-editorial-theme .chart-lab-board__right .chart-lab-board-card {
    padding: 16px 16px 18px;
}

body.wgz-editorial-theme .chart-lab-board-card--overview {
    padding: 16px 18px 18px;
}

body.wgz-editorial-theme .chart-lab-board-card--gallery {
    padding: 18px;
}

body.wgz-editorial-theme #chartLabTelemetry {
    width: 100%;
    min-height: 196px;
    height: 196px;
}

body.wgz-editorial-theme .chart-lab-board-card--hero {
    min-height: 820px;
    padding: 18px 18px 20px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-canvas {
    min-height: 680px;
    height: 100%;
    width: 100%;
}

body.wgz-editorial-theme .chart-lab-board {
    grid-template-columns: minmax(240px, 18%) minmax(0, 58%) minmax(300px, 24%);
    gap: 18px;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    position: static;
    top: auto;
    align-content: start;
}

body.wgz-editorial-theme .chart-lab-board__center,
body.wgz-editorial-theme .chart-lab-board__right {
    display: grid;
    gap: 16px;
}

body.wgz-editorial-theme .chart-lab-board-card--overview {
    padding-bottom: 16px;
    display: grid;
    gap: 12px;
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-board-card--selector {
    padding-bottom: 18px;
}

body.wgz-editorial-theme .chart-lab-board-card--hero,
body.wgz-editorial-theme .chart-lab-canvas {
    min-height: 680px;
}

body.wgz-editorial-theme .chart-lab-telemetry-shell {
    min-height: 196px;
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-family-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.wgz-editorial-theme .chart-lab-family-nav__item {
    min-height: 44px;
    font-size: 13px;
}

body.wgz-editorial-theme .chart-lab-type-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-type-gallery--flat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.wgz-editorial-theme .chart-lab-type-card {
    padding: 12px;
}

body.wgz-editorial-theme .chart-lab-type-card__thumb {
    min-height: 92px;
}

body.wgz-editorial-theme .chart-lab-field-audit-shell {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wgz-editorial-theme #chartLabWarningsMount {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-field--wide {
    grid-column: 1 / -1;
}

body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-field--stacked textarea {
    min-height: 128px;
}

@media (max-width: 1280px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-board__right {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .chart-lab-board-card--hero,
    body.wgz-editorial-theme .chart-lab-canvas {
        min-height: 640px;
    }
}

@media (max-width: 980px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-board__aside,
    body.wgz-editorial-theme .chart-lab-board__right {
        position: static;
    }

    body.wgz-editorial-theme .chart-lab-board__right,
    body.wgz-editorial-theme .chart-lab-business-template-grid,
    body.wgz-editorial-theme .chart-lab-business-template-panel__head,
    body.wgz-editorial-theme .chart-lab-business-template-tabs,
    body.wgz-editorial-theme .chart-lab-type-gallery,
    body.wgz-editorial-theme #chartLabWarningsMount .chart-lab-form-grid {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-type-gallery--flat {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-business-templates__head,
    body.wgz-editorial-theme .chart-lab-business-templates__actions {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }

    body.wgz-editorial-theme .chart-lab-business-template-panel__stats {
        justify-content: flex-start;
        max-width: none;
    }

    body.wgz-editorial-theme .chart-lab-board-card--hero,
    body.wgz-editorial-theme .chart-lab-canvas {
        min-height: 520px;
    }
}

.content-doc-summary__body,
.content-doc-section__body {
    display: grid;
    gap: 14px;
}

.content-doc-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.12);
    color: #475569;
    line-height: 1.75;
}

.content-doc-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: #334155;
    line-height: 1.8;
}

.content-doc-list li {
    margin: 0;
}

.content-doc-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.content-doc-metric-card {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.92));
}

.content-doc-metric-label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.content-doc-metric-value {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.content-doc-timeline {
    display: grid;
    gap: 12px;
}

.content-doc-timeline-item {
    padding-left: 14px;
    border-left: 2px solid rgba(59, 130, 246, 0.28);
}

.content-doc-timeline-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
}

.content-doc-timeline-body {
    margin-top: 6px;
    color: #334155;
    line-height: 1.75;
}

.content-doc-risk-grid {
    display: grid;
    gap: 12px;
}

.content-doc-risk-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

.content-doc-risk-card--high {
    border-color: rgba(220, 38, 38, 0.28);
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.96));
}

.content-doc-risk-card--medium {
    border-color: rgba(245, 158, 11, 0.28);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.92), rgba(255, 255, 255, 0.96));
}

.content-doc-risk-card__meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.content-doc-risk-card__title {
    margin: 8px 0 10px;
    font-size: 18px;
    color: #0f172a;
}

.content-doc-risk-card__summary,
.content-doc-risk-card__detail {
    color: #334155;
    line-height: 1.75;
}

.content-doc-risk-card__detail {
    margin-top: 8px;
}

.content-doc-source-digest {
    display: grid;
    gap: 10px;
}

.content-doc-source-digest__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(241, 245, 249, 0.88);
    color: #334155;
}

.content-doc-source-digest__title {
    font-weight: 600;
}

.content-doc-source-digest__meta {
    color: #64748b;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    position: static;
    align-content: start;
    gap: 16px;
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

body.wgz-editorial-theme .chart-lab-board-card--overview,
body.wgz-editorial-theme .chart-lab-board-card--hero {
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-board-card--overview {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
}

body.wgz-editorial-theme .chart-lab-board-card--overview .chart-lab-board-card__header h3 {
    font-size: 18px;
    line-height: 1.25;
}

body.wgz-editorial-theme .chart-lab-board-card--overview .chart-lab-board-card__header p {
    max-width: 58ch;
}

body.wgz-editorial-theme .chart-lab-board-card--hero {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 820px;
    padding: 18px 18px 20px;
}

body.wgz-editorial-theme .chart-lab-board-card--hero .chart-lab-board-card__header h3 {
    font-size: 19px;
    line-height: 1.2;
}

body.wgz-editorial-theme .chart-lab-board-card--hero .chart-lab-board-card__header p {
    max-width: 56ch;
}

body.wgz-editorial-theme .chart-lab-board-card--hero .chart-lab-canvas {
    min-height: 680px;
    height: 100%;
}

body.wgz-editorial-theme .chart-lab-canvas {
    height: 100%;
    min-height: 680px;
}

body.wgz-editorial-theme #chartLabTelemetry {
    overflow: hidden;
}

@media (max-width: 1280px) {
    body.wgz-editorial-theme .chart-lab-board-card--hero {
        min-height: 760px;
    }

    body.wgz-editorial-theme .chart-lab-board-card--hero .chart-lab-canvas {
        min-height: 640px;
    }

    body.wgz-editorial-theme .chart-lab-canvas {
        min-height: 640px;
    }
}

@media (max-width: 980px) {
    body.wgz-editorial-theme .chart-lab-board-card--hero {
        min-height: 620px;
    }

    body.wgz-editorial-theme .chart-lab-board-card--hero .chart-lab-canvas {
        min-height: 520px;
    }

    body.wgz-editorial-theme .chart-lab-canvas {
        min-height: 520px;
    }
}

body.wgz-editorial-theme .chart-lab-enterprise-shell__head strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(240, 247, 246, 0.96);
    border: 1px solid rgba(201, 213, 206, 0.96);
    color: #435466;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-company-search-row--modal .btn {
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 18px;
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-company-search-row--modal .btn > span:last-child {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-company-selected {
    gap: 10px;
    padding: 14px 16px;
}

body.wgz-editorial-theme .chart-lab-company-selected__meta strong {
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

body.wgz-editorial-theme .chart-lab-captured-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-family-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 6px;
}

body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-type-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

@media (max-width: 1280px) {
    body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-type-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.wgz-editorial-theme .chart-lab-company-search-row--modal .btn > span:last-child {
        white-space: normal;
    }

    body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-family-nav,
    body.wgz-editorial-theme .chart-lab-board-card--selector .chart-lab-type-gallery {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme .chart-lab-statement-table {
    margin-top: 14px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 14px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.98);
}

body.wgz-editorial-theme .chart-lab-statement-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

body.wgz-editorial-theme .chart-lab-statement-table th,
body.wgz-editorial-theme .chart-lab-statement-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    color: #243443;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
}

body.wgz-editorial-theme .chart-lab-statement-table th:first-child,
body.wgz-editorial-theme .chart-lab-statement-table td.is-period {
    text-align: left;
    color: #0f766e;
    font-weight: 800;
}

body.wgz-editorial-theme .chart-lab-board {
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
    isolation: isolate;
}

body.wgz-editorial-theme .chart-lab-board > * {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-board__aside,
body.wgz-editorial-theme .chart-lab-board__center,
body.wgz-editorial-theme .chart-lab-board__right {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-sidebar-card,
body.wgz-editorial-theme .chart-lab-board-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
}

body.wgz-editorial-theme .chart-lab-card__head,
body.wgz-editorial-theme .chart-lab-enterprise-shell,
body.wgz-editorial-theme .chart-lab-enterprise-shell__head,
body.wgz-editorial-theme .chart-lab-enterprise-shell__row,
body.wgz-editorial-theme .chart-lab-source-panel__summary,
body.wgz-editorial-theme .chart-lab-captured-panel__summary,
body.wgz-editorial-theme .chart-lab-chat-panel,
body.wgz-editorial-theme .chart-lab-chat-composer,
body.wgz-editorial-theme .chart-lab-chat-actions {
    min-width: 0;
    max-width: 100%;
}

body.wgz-editorial-theme .chart-lab-card__head > *,
body.wgz-editorial-theme .chart-lab-enterprise-shell__head > *,
body.wgz-editorial-theme .chart-lab-enterprise-shell__row > *,
body.wgz-editorial-theme .chart-lab-source-panel__summary > *,
body.wgz-editorial-theme .chart-lab-captured-panel__summary > * {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-board__aside {
    position: relative;
    z-index: 3;
}

body.wgz-editorial-theme .chart-lab-board__center,
body.wgz-editorial-theme .chart-lab-board__right {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .chart-lab-topband {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme .chart-lab-topband__item {
    min-width: 0;
    overflow: hidden;
}

body.wgz-editorial-theme .chart-lab-topband__item strong,
body.wgz-editorial-theme .chart-lab-topband__item span {
    min-width: 0;
}

body.wgz-editorial-theme .chart-lab-network-toggle {
    align-items: flex-start;
}

body.wgz-editorial-theme .chart-lab-network-toggle__copy {
    min-width: 0;
    flex: 1 1 auto;
}

body.wgz-editorial-theme .chart-lab-switch {
    align-self: center;
}

body.wgz-editorial-theme .chart-lab-board-card--overview,
body.wgz-editorial-theme .chart-lab-board-card--selector,
body.wgz-editorial-theme .chart-lab-board-card--statement,
body.wgz-editorial-theme .chart-lab-board-card--hero {
    position: relative;
    z-index: 0;
}

@media (max-width: 1440px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 248px minmax(0, 1fr) 288px;
    }
}

@media (max-width: 1280px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 248px minmax(0, 1fr);
    }

    body.wgz-editorial-theme .chart-lab-board__right {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .chart-lab-topband {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.wgz-editorial-theme .chart-lab-board {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .chart-lab-topband,
    body.wgz-editorial-theme .chart-lab-board__right {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme {
    background:
        radial-gradient(circle at 12% 10%, rgba(172, 204, 196, 0.34), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(209, 173, 137, 0.22), transparent 20%),
        linear-gradient(180deg, #f6f0e6 0%, #efe8dc 100%);
}

body.wgz-editorial-theme::before,
body.wgz-editorial-theme::after {
    opacity: 0.58;
    filter: blur(56px);
}

body.wgz-editorial-theme header,
body.wgz-editorial-theme .panel,
body.wgz-editorial-theme .layout-rail-card,
body.wgz-editorial-theme .report-section,
body.wgz-editorial-theme .search-result-item,
body.wgz-editorial-theme .source-entry,
body.wgz-editorial-theme .report-progress,
body.wgz-editorial-theme .evidence-overview,
body.wgz-editorial-theme .source-evidence {
    background: #fffaf4;
    backdrop-filter: none;
    box-shadow: 0 10px 24px rgba(19, 33, 43, 0.06);
}

body.wgz-editorial-theme header {
    box-shadow: 0 12px 28px rgba(19, 33, 43, 0.07);
}

body.wgz-editorial-theme .title-section h1 {
    background: none;
    -webkit-text-fill-color: initial;
    color: #13212b;
}

body.wgz-editorial-theme .btn,
body.wgz-editorial-theme .send-btn,
body.wgz-editorial-theme .download-btn,
body.wgz-editorial-theme .company-search-btn {
    background: #18343e;
    box-shadow: none;
}

body.wgz-editorial-theme .quick-action,
body.wgz-editorial-theme .company-filter-check,
body.wgz-editorial-theme .company-select,
body.wgz-editorial-theme .company-filter-select,
body.wgz-editorial-theme .company-search input,
body.wgz-editorial-theme .chat-input {
    box-shadow: none;
}

body.wgz-editorial-theme .quick-action:hover,
body.wgz-editorial-theme .company-search-btn:hover,
body.wgz-editorial-theme .btn:hover,
body.wgz-editorial-theme .send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(19, 33, 43, 0.08);
}

body.wgz-editorial-theme .panel,
body.wgz-editorial-theme .layout-rail-card,
body.wgz-editorial-theme .report-section {
    border-radius: 20px;
}

body.wgz-editorial-theme .panel::after,
body.wgz-editorial-theme .layout-rail-card::after {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.015), transparent 24%, rgba(193, 122, 58, 0.02));
}

body.wgz-editorial-theme .module-toolbar {
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(249, 245, 238, 0.94) 100%);
    border: 1px solid rgba(191, 214, 207, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.wgz-editorial-theme .module-toolbar__group {
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(216, 204, 184, 0.72);
}

body.wgz-editorial-theme .module-toolbar__group:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

body.wgz-editorial-theme .module-toolbar__label {
    color: #17303b;
    letter-spacing: 0.08em;
}

body.wgz-editorial-theme .module-selection-strip {
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(247, 251, 249, 0.78);
    border: 1px solid rgba(191, 214, 207, 0.78);
}

body.wgz-editorial-theme .tab-main-panel {
    display: grid;
    gap: 16px;
}

body.wgz-editorial-theme .module-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

body.wgz-editorial-theme .module-search-row input {
    min-width: 0;
}

body.wgz-editorial-theme .module-search-row .btn,
body.wgz-editorial-theme .module-toolbar__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: clamp(144px, 16vw, 196px);
    white-space: nowrap;
}

body.wgz-editorial-theme .module-toolbar__actions {
    justify-content: flex-start;
}

body.wgz-editorial-theme .report-section,
body.wgz-editorial-theme .risk-item,
body.wgz-editorial-theme .opportunity-item {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.wgz-editorial-theme .report-section:hover,
body.wgz-editorial-theme .risk-item:hover,
body.wgz-editorial-theme .opportunity-item:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 10px 18px rgba(19, 33, 43, 0.06);
}

body.wgz-editorial-theme .report-section.is-workbench-focus,
body.wgz-editorial-theme .risk-item.is-workbench-focus,
body.wgz-editorial-theme .opportunity-item.is-workbench-focus,
body.wgz-editorial-theme .source-entry.is-workbench-focus {
    border-color: rgba(15, 118, 110, 0.36);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

body.wgz-editorial-theme .workbench-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 16px;
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(191, 214, 207, 0.9);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(247, 244, 238, 0.96) 100%);
    box-shadow: 0 12px 22px rgba(19, 33, 43, 0.06);
}

body.wgz-editorial-theme .workbench-hero--risk {
    border-color: rgba(222, 200, 184, 0.92);
}

body.wgz-editorial-theme .workbench-hero__eyebrow,
body.wgz-editorial-theme .workbench-hero__block-label,
body.wgz-editorial-theme .workbench-navigator__label {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-hero__title {
    margin: 10px 0 0;
    color: #13212b;
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    font-size: 28px;
    line-height: 1.25;
}

body.wgz-editorial-theme .workbench-hero__summary {
    margin: 12px 0 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.85;
}

body.wgz-editorial-theme .workbench-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

body.wgz-editorial-theme .workbench-stat-card {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 41, 55, 0.06);
}

body.wgz-editorial-theme .workbench-stat-card__label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-stat-card__value {
    margin-top: 6px;
    color: #13212b;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.wgz-editorial-theme .workbench-hero__side {
    display: grid;
    gap: 14px;
    align-self: stretch;
}

body.wgz-editorial-theme .workbench-hero--evaluation {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: stretch;
}

body.wgz-editorial-theme .workbench-hero__stats--eval-tilt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

body.wgz-editorial-theme .workbench-stat-card--tilt {
    perspective: 500px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.wgz-editorial-theme .workbench-stat-card--tilt .workbench-stat-card__panel {
    position: relative;
    min-height: 142px;
    height: 100%;
    padding: 18px 16px;
    border-radius: 16px;
    border: 2px solid rgba(104, 128, 148, 0.38);
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.1), transparent 30%),
        linear-gradient(160deg, #1b2430 0%, #203446 55%, #25485c 100%);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

body.wgz-editorial-theme .workbench-stat-card--tilt:nth-child(2) .workbench-stat-card__panel {
    background: linear-gradient(160deg, #1c2635 0%, #1f3550 55%, #29527a 100%);
}

body.wgz-editorial-theme .workbench-stat-card--tilt:nth-child(3) .workbench-stat-card__panel {
    background: linear-gradient(160deg, #1a2732 0%, #1e4b4f 55%, #2d776f 100%);
}

body.wgz-editorial-theme .workbench-stat-card--tilt:nth-child(4) .workbench-stat-card__panel {
    background: linear-gradient(160deg, #2a211f 0%, #4c3227 55%, #8a5a37 100%);
}

body.wgz-editorial-theme .workbench-stat-card--tilt:hover .workbench-stat-card__panel {
    transform: translateZ(10px) rotateX(12deg) rotateY(12deg);
    border-color: rgba(214, 198, 166, 0.52);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
}

body.wgz-editorial-theme .workbench-stat-card--tilt .workbench-stat-card__label {
    position: relative;
    z-index: 1;
    color: rgba(233, 237, 243, 0.86);
    font: 700 0.88rem "Noto Sans SC", monospace;
    line-height: 1.35;
    letter-spacing: 0.02em;
    max-width: 84px;
}

body.wgz-editorial-theme .workbench-stat-card--tilt .workbench-stat-card__value {
    position: absolute;
    top: auto;
    bottom: 18px;
    right: 18px;
    left: 18px;
    transform: none;
    color: #ffffff;
    transition: transform 0.5s ease;
    font: 800 clamp(1.35rem, 0.7vw + 1rem, 2rem) "Noto Serif SC", "Noto Sans SC", monospace;
    line-height: 1.08;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.7), 1px -1px 0 rgba(0, 0, 0, 0.7), -1px 1px 0 rgba(0, 0, 0, 0.7), 1px 1px 0 rgba(0, 0, 0, 0.7);
    word-break: break-word;
    white-space: normal;
}

body.wgz-editorial-theme .workbench-stat-card--tilt:hover .workbench-stat-card__value {
    transform: translateZ(36px);
}

body.wgz-editorial-theme .workbench-stat-card--tilt:last-child .workbench-stat-card__value {
    font-size: clamp(1.15rem, 0.55vw + 0.95rem, 1.7rem);
    line-height: 1.1;
}

@media (max-width: 1440px) {
    body.wgz-editorial-theme .workbench-hero--evaluation {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 880px) {
    body.wgz-editorial-theme .workbench-hero__stats--eval-tilt {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme .workbench-hero__block,
body.wgz-editorial-theme .workbench-navigator,
body.wgz-editorial-theme .workbench-priority-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 41, 55, 0.06);
}

body.wgz-editorial-theme .workbench-priority-card {
    display: grid;
    gap: 8px;
    background: linear-gradient(180deg, rgba(23, 48, 59, 0.98) 0%, rgba(28, 62, 74, 0.98) 100%);
    border-color: rgba(23, 48, 59, 0.28);
    color: rgba(248, 250, 252, 0.94);
}

body.wgz-editorial-theme .workbench-priority-card--wave {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    min-height: 264px;
    height: 264px;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.18), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme .workbench-priority-card--wave .wave {
    position: absolute;
    z-index: 0;
    width: 168%;
    height: 168%;
    left: -34%;
    top: 48%;
    margin-left: 0;
    margin-top: 0;
    opacity: 0.3;
    background: linear-gradient(744deg, #17303b, #1d605f 60%, #c17a3a);
    border-radius: 40%;
    transform: translateY(-50%);
    animation: workbenchWave 26s infinite linear;
}

body.wgz-editorial-theme .workbench-priority-card--wave .wave:nth-child(2),
body.wgz-editorial-theme .workbench-priority-card--wave .wave:nth-child(3) {
    top: 56%;
}

body.wgz-editorial-theme .workbench-priority-card--wave.playing .wave {
    animation-duration: 18s;
}

body.wgz-editorial-theme .workbench-priority-card--wave .wave:nth-child(2) {
    animation-duration: 22s;
}

body.wgz-editorial-theme .workbench-priority-card--wave.playing .wave:nth-child(2) {
    animation-duration: 20s;
}

body.wgz-editorial-theme .workbench-priority-card--wave .wave:nth-child(3) {
    animation-duration: 18s;
}

body.wgz-editorial-theme .workbench-priority-card--wave.playing .wave:nth-child(3) {
    animation-duration: 16s;
}

body.wgz-editorial-theme .workbench-priority-card--wave .infotop {
    position: absolute;
    top: 1.45rem;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 1;
    text-align: left;
    display: grid;
    gap: 12px;
    align-content: start;
    color: rgb(255, 255, 255);
}

body.wgz-editorial-theme .workbench-priority-card__kicker {
    color: #9bd9cb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-priority-card strong {
    color: #fffaf0;
    font-size: 17px;
    line-height: 1.45;
}

body.wgz-editorial-theme .workbench-priority-card--wave .workbench-priority-card__title {
    display: block;
    color: #fffaf0;
    font-size: 17px;
    line-height: 1.5;
}

body.wgz-editorial-theme .workbench-priority-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.84);
    line-height: 1.8;
}

body.wgz-editorial-theme .workbench-priority-card--wave .workbench-priority-card__body {
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.82;
    font-size: 14px;
}

body.wgz-editorial-theme .workbench-priority-card--wave .workbench-priority-card__body p {
    margin: 0;
}

body.wgz-editorial-theme .workbench-priority-card--wave .citation-link {
    color: #f2dfba;
}

body.wgz-editorial-theme .workbench-priority-card--wave .citation-link:hover {
    color: #fff4d8;
}

@keyframes workbenchWave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.wgz-editorial-theme .workbench-chip-row,
body.wgz-editorial-theme .workbench-filter-row,
body.wgz-editorial-theme .workbench-navigator__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

body.wgz-editorial-theme .workbench-chip,
body.wgz-editorial-theme .workbench-filter-chip,
body.wgz-editorial-theme .workbench-navigator__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

body.wgz-editorial-theme .workbench-chip strong,
body.wgz-editorial-theme .workbench-filter-chip strong {
    color: #13212b;
}

body.wgz-editorial-theme .workbench-filter-chip,
body.wgz-editorial-theme .workbench-navigator__btn {
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

body.wgz-editorial-theme .workbench-filter-chip:hover,
body.wgz-editorial-theme .workbench-navigator__btn:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
}

body.wgz-editorial-theme .workbench-filter-chip.is-active,
body.wgz-editorial-theme .workbench-navigator__btn.is-active {
    background: #18343e;
    color: #f8fafc;
    border-color: #18343e;
}

body.wgz-editorial-theme .workbench-filter-chip.is-active strong {
    color: #f8fafc;
}

body.wgz-editorial-theme .workbench-navigator__btn-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
}

body.wgz-editorial-theme .workbench-navigator__btn.is-active .workbench-navigator__btn-index {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

body.wgz-editorial-theme .aux-panel--evaluation .layout-rail-card,
body.wgz-editorial-theme .aux-panel--risk .layout-rail-card,
body.wgz-editorial-theme .aux-panel--report .layout-rail-card {
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(19, 33, 43, 0.05);
}

body.wgz-editorial-theme #reportWorkbenchNavigatorMount {
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    body.wgz-editorial-theme .workbench-hero {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .workbench-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.wgz-editorial-theme .module-search-row {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .module-search-row .btn,
    body.wgz-editorial-theme .module-toolbar__actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    body.wgz-editorial-theme .workbench-hero {
        padding: 16px;
    }

    body.wgz-editorial-theme .workbench-hero__title {
        font-size: 24px;
    }

    body.wgz-editorial-theme .workbench-hero__stats {
        grid-template-columns: 1fr;
    }
}

/* ================= Professional Workbench Refinement ================= */
body.wgz-editorial-theme::after {
    opacity: 0.24;
}

body.wgz-editorial-theme header,
body.wgz-editorial-theme .panel,
body.wgz-editorial-theme .layout-rail-card,
body.wgz-editorial-theme .report-section,
body.wgz-editorial-theme .chat-messages,
body.wgz-editorial-theme .report-progress,
body.wgz-editorial-theme .company-select,
body.wgz-editorial-theme .company-filter-select,
body.wgz-editorial-theme .company-filter-check {
    backdrop-filter: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.wgz-editorial-theme header {
    border-radius: 24px;
    border-top-width: 3px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

body.wgz-editorial-theme .title-section h1 {
    background: none;
    -webkit-text-fill-color: initial;
    color: #13212b;
}

body.wgz-editorial-theme .title-section p {
    color: #667085;
}

body.wgz-editorial-theme .info-section {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none;
}

body.wgz-editorial-theme .nav-tabs {
    margin-top: 20px;
    padding: 10px 12px 0;
    gap: 10px;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.78) 0%, rgba(255, 252, 247, 0) 100%);
    box-shadow: none;
    backdrop-filter: none;
    align-items: stretch;
    overflow-x: auto;
}

body.wgz-editorial-theme .nav-tab {
    flex: 1 1 0;
    padding: 14px 16px 13px;
    border: 1px solid rgba(214, 201, 182, 0.72);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(251, 247, 241, 0.9) 100%);
    color: #667085;
    box-shadow: none;
    align-items: flex-start;
    min-width: 160px;
    max-width: 212px;
    overflow: hidden;
    cursor: pointer;
}

body.wgz-editorial-theme .nav-tab:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    box-shadow: none;
    border-color: rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .nav-tab.active {
    background: #fffaf4;
    color: #0f172a;
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: none;
    position: relative;
    top: 1px;
}

body.wgz-editorial-theme .nav-tab-icon {
    margin-top: 2px;
}

body.wgz-editorial-theme .nav-tab-copy {
    display: grid;
    gap: 4px;
    text-align: left;
    padding-right: 30px;
}

body.wgz-editorial-theme .nav-tab-label {
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

body.wgz-editorial-theme .nav-tab-desc {
    color: #7b8794;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

body.wgz-editorial-theme .nav-tab.active .nav-tab-desc {
    color: #0f766e;
}

body.wgz-editorial-theme .module-brief {
    display: grid;
    gap: 6px;
    margin: -6px 0 14px;
    padding-left: 56px;
}

body.wgz-editorial-theme .module-brief__eyebrow {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .module-brief p {
    margin: 0;
    color: #5b6472;
    font-size: 14px;
    line-height: 1.75;
}

body.wgz-editorial-theme .module-intake-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px 56px;
}

body.wgz-editorial-theme .module-intake-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    background: rgba(255, 252, 247, 0.9);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.wgz-editorial-theme .module-intake-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.wgz-editorial-theme .module-intake-card {
    display: grid;
    gap: 8px;
    min-height: 156px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(214, 201, 182, 0.86);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(250, 245, 237, 0.98) 100%);
    box-shadow: 0 8px 18px rgba(19, 33, 43, 0.04);
}

body.wgz-editorial-theme .module-intake-card__kicker {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .module-intake-card__title {
    margin: 0;
    color: #13212b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

body.wgz-editorial-theme .module-intake-card__body {
    margin: 0;
    color: #556272;
    font-size: 14px;
    line-height: 1.8;
}

body.wgz-editorial-theme .module-intake-card--protocol {
    margin-bottom: 14px;
    grid-column: 1 / -1;
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
}

body.wgz-editorial-theme .module-intake-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.wgz-editorial-theme .module-intake-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 41, 55, 0.06);
    color: #556272;
    font-size: 13px;
    line-height: 1.7;
}

body.wgz-editorial-theme .module-intake-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme .module-intake-steps li strong {
    display: block;
    color: #13212b;
    font-size: 14px;
    line-height: 1.35;
}

body.wgz-editorial-theme .module-intake-steps li p {
    margin: 4px 0 0;
    color: #556272;
    font-size: 13px;
    line-height: 1.65;
}

body.wgz-editorial-theme .module-toolbar {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: rgba(255, 252, 247, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.wgz-editorial-theme .module-toolbar::after {
    display: none;
}

body.wgz-editorial-theme .module-toolbar__group,
body.wgz-editorial-theme .module-toolbar__group--soft {
    gap: 12px;
}

body.wgz-editorial-theme .module-selection-strip {
    padding: 12px 0 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

body.wgz-editorial-theme .risk-selected-indicator {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

body.wgz-editorial-theme .company-filter-select,
body.wgz-editorial-theme .company-select {
    border-radius: 12px;
    box-shadow: none;
}

body.wgz-editorial-theme .company-filter-check {
    border-radius: 12px;
}

body.wgz-editorial-theme .btn,
body.wgz-editorial-theme .send-btn,
body.wgz-editorial-theme .quick-action,
body.wgz-editorial-theme .company-search-btn {
    border-radius: 12px;
    box-shadow: none;
}

body.wgz-editorial-theme .btn:hover,
body.wgz-editorial-theme .send-btn:hover,
body.wgz-editorial-theme .quick-action:hover,
body.wgz-editorial-theme .company-search-btn:hover,
body.wgz-editorial-theme .metric-card:hover,
body.wgz-editorial-theme .search-result-item:hover,
body.wgz-editorial-theme .risk-item:hover,
body.wgz-editorial-theme .opportunity-item:hover {
    transform: none;
    box-shadow: none;
}

body.wgz-editorial-theme .btn:active,
body.wgz-editorial-theme .send-btn:active,
body.wgz-editorial-theme .quick-action:active,
body.wgz-editorial-theme .nav-tab:active,
body.wgz-editorial-theme .company-search-btn:active {
    transform: none;
}

body.wgz-editorial-theme .report-progress {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.97) 0%, rgba(246, 240, 230, 0.98) 100%);
}

body.wgz-editorial-theme .report-progress::before,
body.wgz-editorial-theme .report-progress-orb {
    display: none;
}

body.wgz-editorial-theme .report-progress-hero {
    align-items: flex-start;
}

body.wgz-editorial-theme .report-progress h3,
body.wgz-editorial-theme .report-progress-percent {
    color: #13212b;
}

body.wgz-editorial-theme .report-progress-step {
    border-radius: 12px;
}

body.wgz-editorial-theme .report-section,
body.wgz-editorial-theme .layout-rail-card {
    border-radius: 16px;
    border-color: rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(249, 245, 238, 0.98) 100%);
}

body.wgz-editorial-theme .layout-rail-card::after {
    display: none;
}

body.wgz-editorial-theme .layout-rail-card__title,
body.wgz-editorial-theme .panel-title,
body.wgz-editorial-theme .report-section-title {
    letter-spacing: 0;
}

body.wgz-editorial-theme .layout-placeholder {
    min-height: 120px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed rgba(148, 163, 184, 0.38);
    background: rgba(255, 255, 255, 0.5);
}

body.wgz-editorial-theme .layout-placeholder__eyebrow {
    color: #0f766e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .layout-placeholder__title {
    display: block;
    margin-top: 8px;
    color: #243443;
    font-size: 16px;
}

body.wgz-editorial-theme .layout-placeholder__body {
    margin-top: 8px;
    color: #64748b;
    line-height: 1.75;
}

body.wgz-editorial-theme .workbench-hero,
body.wgz-editorial-theme .workbench-meta-strip {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(248, 244, 238, 0.98) 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme .workbench-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

body.wgz-editorial-theme .workbench-hero__title {
    font-size: 26px;
}

body.wgz-editorial-theme .workbench-hero__summary {
    color: #526071;
}

body.wgz-editorial-theme .workbench-stat-card,
body.wgz-editorial-theme .workbench-hero__block,
body.wgz-editorial-theme .workbench-navigator {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

body.wgz-editorial-theme .workbench-priority-card {
    border-radius: 12px;
    background: #1d2d35;
    box-shadow: none;
}

body.wgz-editorial-theme .workbench-chip,
body.wgz-editorial-theme .workbench-filter-chip,
body.wgz-editorial-theme .workbench-navigator__btn {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
}

body.wgz-editorial-theme .workbench-filter-chip:hover,
body.wgz-editorial-theme .workbench-navigator__btn:hover {
    transform: none;
    border-color: rgba(15, 118, 110, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

body.wgz-editorial-theme .workbench-filter-chip.is-active,
body.wgz-editorial-theme .workbench-navigator__btn.is-active {
    background: #14323b;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__badges,
body.wgz-editorial-theme .workbench-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__badge,
body.wgz-editorial-theme .workbench-hero__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__stat {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 41, 55, 0.06);
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__stat span {
    display: block;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__stat strong {
    display: block;
    margin-top: 8px;
    color: #13212b;
    font-size: 20px;
    line-height: 1.2;
}

body.wgz-editorial-theme .nav-tab {
    position: relative;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 42px 11px 14px;
}

body.wgz-editorial-theme .nav-tab-copy {
    flex: 1;
    min-width: 0;
    gap: 3px;
}

body.wgz-editorial-theme .nav-tab-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
    line-height: 1;
}

body.wgz-editorial-theme .nav-tab-label {
    font-size: 13px;
    line-height: 1.15;
}

body.wgz-editorial-theme .nav-tab-desc {
    font-size: 10px;
    line-height: 1.15;
}

body.wgz-editorial-theme .workbench-section {
    overflow: hidden;
}

body.wgz-editorial-theme .workbench-section__header {
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
    padding-right: 120px;
}

body.wgz-editorial-theme .workbench-section__meta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .workbench-section__toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

body.wgz-editorial-theme .workbench-section__body {
    margin-top: 14px;
}

body.wgz-editorial-theme .workbench-section.is-collapsed .workbench-section__body {
    display: none;
}

body.wgz-editorial-theme .report-section.is-workbench-focus,
body.wgz-editorial-theme .risk-item.is-workbench-focus,
body.wgz-editorial-theme .opportunity-item.is-workbench-focus,
body.wgz-editorial-theme .source-entry.is-workbench-focus {
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.08);
}

@media (max-width: 1100px) {
    body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__head {
        flex-direction: column;
    }

    body.wgz-editorial-theme .workbench-meta-strip .workbench-hero__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .module-brief {
        padding-left: 0;
    }

    body.wgz-editorial-theme .module-intake-strip {
        margin-left: 0;
    }

    body.wgz-editorial-theme .nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-inline: 0;
    }

    body.wgz-editorial-theme .nav-tab {
        min-width: 148px;
        min-height: 58px;
        padding: 10px 36px 10px 12px;
        max-width: none;
    }

    body.wgz-editorial-theme .nav-tab-desc {
        display: none;
    }

    body.wgz-editorial-theme .nav-tab-icon {
        top: 10px;
        right: 10px;
    }

    body.wgz-editorial-theme .module-intake-grid {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .module-intake-card--protocol {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .module-intake-steps {
        grid-template-columns: 1fr;
    }

    body.wgz-editorial-theme .workbench-section__header {
        padding-right: 0;
        gap: 8px;
    }

    body.wgz-editorial-theme .workbench-section__toggle {
        position: static;
        transform: none;
        margin-left: auto;
    }
}

body.wgz-editorial-theme .metric-card,
body.wgz-editorial-theme .chart-lab-ring-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(207, 219, 228, 0.94);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .metric-card::before,
body.wgz-editorial-theme .chart-lab-ring-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
    pointer-events: none;
}

body.wgz-editorial-theme .metric-card {
    text-align: left;
}

body.wgz-editorial-theme .metric-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .progress-fill {
    background: linear-gradient(90deg, #0f766e 0%, #1f3c47 62%, #c17a3a 100%);
}

body.wgz-editorial-theme .chart-lab-sidebar-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(207, 219, 228, 0.94);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand {
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 159, 103, 0.16), transparent 24%),
        linear-gradient(160deg, #17303b 0%, #1d3b47 58%, #243137 100%);
    border-color: rgba(25, 44, 52, 0.92);
    color: #f8fafc;
    transform-style: preserve-3d;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::before,
body.wgz-editorial-theme .chart-lab-sidebar-card--brand::after {
    content: "";
    position: absolute;
    border-radius: 40%;
    opacity: 0.18;
    pointer-events: none;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::before {
    width: 260px;
    height: 340px;
    right: -34%;
    top: -26%;
    background: linear-gradient(744deg, rgba(189, 159, 103, 0.76), rgba(255,255,255,0.06) 64%, rgba(15, 118, 110, 0.32));
    animation: loginBrandWave 18s linear infinite;
}

body.wgz-editorial-theme .chart-lab-sidebar-card--brand::after {
    width: 220px;
    height: 320px;
    left: -28%;
    bottom: -36%;
    background: linear-gradient(744deg, rgba(193, 122, 58, 0.34), rgba(15, 118, 110, 0.20) 60%, rgba(255,255,255,0.06));
    animation: loginBrandWave 24s linear infinite reverse;
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__copy strong {
    color: #fffaf4;
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    line-height: 1.35;
}

body.wgz-editorial-theme .chart-lab-sidebar-brand__copy p {
    color: rgba(248, 250, 252, 0.78);
}

body.wgz-editorial-theme .chart-lab-switch {
    width: 66px;
    height: 36px;
}

body.wgz-editorial-theme .chart-lab-switch__slider {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(213, 220, 228, 0.84), rgba(190, 200, 210, 0.8));
    border: 1px solid rgba(190, 200, 210, 0.94);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme .chart-lab-switch__slider::before {
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 64%, #c17a3a 100%);
    border-color: rgba(23, 48, 59, 0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 20px rgba(15, 118, 110, 0.18);
}

body.wgz-editorial-theme .chart-lab-switch input:checked + .chart-lab-switch__slider::before {
    transform: translateX(30px) scale(0.96);
}

body.wgz-editorial-theme .history-filter-chip,
body.wgz-editorial-theme .workbench-filter-chip {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(207, 219, 228, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,249,252,0.94) 100%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

body.wgz-editorial-theme .history-filter-chip.active,
body.wgz-editorial-theme .history-filter-chip:hover,
body.wgz-editorial-theme .workbench-filter-chip.is-active,
body.wgz-editorial-theme .workbench-filter-chip:hover {
    border-color: rgba(15, 118, 110, 0.28);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(193, 122, 58, 0.07));
    color: #17303b;
}

body.wgz-editorial-theme .chart-lab-ring-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
}

body.wgz-editorial-theme .chart-lab-ring-card__ring {
    width: 68px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 18px rgba(15, 23, 42, 0.07);
}

/* ================= Auth Login Styles ================= */
body.wgz-editorial-theme .auth-section {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 9999;
    background:
        radial-gradient(circle at 12% 10%, rgba(15, 118, 110, 0.08), transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(193, 122, 58, 0.10), transparent 22%),
        linear-gradient(135deg, #f7f1e7 0%, #efe4d3 52%, #f8f4ed 100%);
}

body.wgz-editorial-theme .auth-stage {
    position: relative;
    width: min(calc(100vw - 88px), 1180px);
    min-height: 860px;
}

body.wgz-editorial-theme .auth-ornament {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.62);
    border: 1px solid rgba(223, 212, 194, 0.92);
    box-shadow: 0 20px 42px rgba(19, 33, 43, 0.10);
    backdrop-filter: blur(10px);
    pointer-events: none;
    transform-origin: center;
    will-change: transform, opacity;
    animation: authOrnamentFloat 14s cubic-bezier(0.37, 0, 0.22, 1) infinite;
    animation-delay: calc(-1.5s * var(--i));
}

@keyframes authOrnamentFloat {
    0% {
        transform: translate3d(0, -12px, 0) rotate(-4deg) scale(0.965);
        opacity: 0.72;
    }
    22% {
        transform: translate3d(7px, -4px, 0) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    48% {
        transform: translate3d(2px, 10px, 0) rotate(4deg) scale(1.045);
        opacity: 0.84;
    }
    74% {
        transform: translate3d(-8px, 4px, 0) rotate(-2deg) scale(0.988);
        opacity: 0.88;
    }
    100% {
        transform: translate3d(0, -12px, 0) rotate(-4deg) scale(0.965);
        opacity: 0.72;
    }
}

body.wgz-editorial-theme .auth-ornament:nth-child(1) {
    top: -50px;
    right: -50px;
    width: 124px;
    height: 124px;
}

body.wgz-editorial-theme .auth-ornament:nth-child(2) {
    top: 92px;
    left: -72px;
    width: 92px;
    height: 92px;
}

body.wgz-editorial-theme .auth-ornament:nth-child(3) {
    right: -60px;
    bottom: 68px;
    width: 104px;
    height: 104px;
}

body.wgz-editorial-theme .auth-ornament:nth-child(4) {
    bottom: -42px;
    left: 8px;
    width: 74px;
    height: 74px;
}

body.wgz-editorial-theme .auth-ornament:nth-child(5) {
    top: -42px;
    left: 36px;
    width: 88px;
    height: 88px;
}

body.wgz-editorial-theme .auth-shell {
    position: relative;
    width: min(100%, 1100px);
    min-height: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
}

body.wgz-editorial-theme .auth-form {
    position: relative;
    z-index: 2;
    width: min(100%, 660px);
    min-height: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding: 56px 58px 50px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 250, 246, 0.96) 100%);
    border-radius: 28px;
    border: 1px solid rgba(232, 228, 221, 0.96);
    box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.10),
        0 10px 24px rgba(193, 154, 102, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body.wgz-editorial-theme .auth-form::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
}

body.wgz-editorial-theme .auth-header {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
}

body.wgz-editorial-theme .auth-title {
    margin: 0;
    color: #151717;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

body.wgz-editorial-theme .auth-field-group,
body.wgz-editorial-theme .auth-remember,
body.wgz-editorial-theme .auth-status {
    width: 100%;
}

body.wgz-editorial-theme .auth-field-group {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
}

body.wgz-editorial-theme .auth-label {
    color: #151717;
    font-size: 15px;
    font-weight: 600;
}

body.wgz-editorial-theme .auth-field {
    border: 1.5px solid #e8e7e4;
    border-radius: 18px;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 16px 0 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 18px rgba(15, 23, 42, 0.045),
        0 2px 4px rgba(193, 154, 102, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

body.wgz-editorial-theme .auth-field:focus-within {
    border-color: #2d79f3;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 0 0 4px rgba(45, 121, 243, 0.08),
        0 8px 18px rgba(45, 121, 243, 0.10);
    transform: translateY(-1px);
}

body.wgz-editorial-theme .auth-field__icon {
    position: static;
    width: 22px;
    height: 22px;
    color: #5b6470;
    flex: 0 0 auto;
    opacity: 1;
    transform: none;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.wgz-editorial-theme .auth-input {
    margin-left: 12px;
    border-radius: 14px;
    border: none;
    width: 100%;
    height: 100%;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    color: #151717;
    font-size: 16px;
}

body.wgz-editorial-theme .auth-input:focus {
    outline: none;
}

body.wgz-editorial-theme .auth-remember {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 10px;
}

body.wgz-editorial-theme .auth-remember > input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
}

body.wgz-editorial-theme .auth-remember__indicator {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cfd6de;
    background: linear-gradient(180deg, #ffffff 0%, #f2f5f9 100%);
    position: relative;
    flex: 0 0 auto;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 6px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme .auth-remember__indicator::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    background: #2d79f3;
    opacity: 0;
}

body.wgz-editorial-theme .auth-remember > input:checked + .auth-remember__indicator::before {
    opacity: 1;
}

body.wgz-editorial-theme .auth-remember__text {
    color: #151717;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

body.wgz-editorial-theme .auth-status {
    position: relative;
    z-index: 1;
    min-height: 18px;
    margin-top: 2px;
    font-size: 13px;
}

body.wgz-editorial-theme .auth-submit {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 62px;
    margin-top: 20px;
    background: linear-gradient(180deg, #232526 0%, #151717 100%);
    box-shadow:
        0 18px 30px rgba(15, 23, 42, 0.18),
        0 4px 10px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body.wgz-editorial-theme .auth-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 34px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.wgz-editorial-theme .auth-submit:active {
    transform: translateY(0);
    box-shadow:
        0 12px 20px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    body.wgz-editorial-theme .auth-stage {
        width: min(calc(100vw - 48px), 450px);
        min-height: auto;
    }

    body.wgz-editorial-theme .auth-ornament {
        display: none;
    }

    body.wgz-editorial-theme .auth-shell,
    body.wgz-editorial-theme .auth-form {
        min-height: auto;
    }

    body.wgz-editorial-theme .auth-form {
        width: 100%;
        margin: 0;
        padding: 30px;
        min-height: auto;
    }
}

/* ================= Module Design Polish ================= */
body.wgz-editorial-theme .nav-tab.active::before {
    display: none;
}

body.wgz-editorial-theme #tab-chat .chat-workbench-aside {
    gap: 14px;
}

body.wgz-editorial-theme #tab-chat .chat-aside-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(208, 220, 228, 0.92);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme #tab-chat .chat-aside-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.26), transparent 44%);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--focus,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources:first-child {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(189, 159, 103, 0.16), transparent 24%),
        linear-gradient(160deg, #17303b 0%, #1d3b47 58%, #243137 100%);
    border-color: rgba(24, 47, 56, 0.94);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--focus::before,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
        radial-gradient(circle at bottom left, rgba(193, 122, 58, 0.18), transparent 38%);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--focus .layout-rail-card__title,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--focus .layout-rail-card__desc,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources:first-child .layout-rail-card__title,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources:first-child .layout-rail-card__desc {
    position: relative;
    z-index: 1;
    color: #f8fafc;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand {
    min-height: 172px;
    padding: 20px 18px;
    border-radius: 26px;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand:hover {
    transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-2px);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--intake {
    border-radius: 26px;
    border: 1px solid rgba(211, 221, 230, 0.96);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,250,252,0.97) 100%);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-network-toggle {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(211, 221, 230, 0.92);
    background: linear-gradient(180deg, rgba(251, 253, 254, 0.98) 0%, rgba(245, 249, 251, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch {
    width: 72px;
    height: 40px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch__slider {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.92), rgba(198, 208, 220, 0.88));
    box-shadow:
        inset 0 2px 5px rgba(15, 23, 42, 0.10),
        0 8px 14px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background 0.24s ease, box-shadow 0.24s ease;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch__slider::before {
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch:hover .chart-lab-switch__slider {
    transform: scaleX(0.985);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch input:checked + .chart-lab-switch__slider {
    background: linear-gradient(135deg, #0f766e 0%, #17303b 68%, #c17a3a 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 22px rgba(15, 118, 110, 0.2);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-switch input:checked + .chart-lab-switch__slider::before {
    transform: translateX(32px) scale(0.96);
}

@media (max-width: 720px) {
    body.wgz-editorial-theme #tab-chat .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ================= Report Download Loader ================= */
body.wgz-editorial-theme .btn--export-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 124px;
    pointer-events: none;
}

body.wgz-editorial-theme .btn--export-loading .export-loader {
    width: 1.6em;
    height: 1.6em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

body.wgz-editorial-theme .btn--export-loading .export-loader__text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

body.wgz-editorial-theme .btn--export-loading .pl {
    width: 1.6em;
    height: 1.6em;
    display: block;
}

body.wgz-editorial-theme .btn--export-loading .pl__ring {
    animation: exportRingA 2s linear infinite;
}

body.wgz-editorial-theme .btn--export-loading .pl__ring--a {
    stroke: #f42f25;
}

body.wgz-editorial-theme .btn--export-loading .pl__ring--b {
    animation-name: exportRingB;
    stroke: #f49725;
}

body.wgz-editorial-theme .btn--export-loading .pl__ring--c {
    animation-name: exportRingC;
    stroke: #255ff4;
}

body.wgz-editorial-theme .btn--export-loading .pl__ring--d {
    animation-name: exportRingD;
    stroke: #f42582;
}

@keyframes exportRingA {
    from, 4% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }

    12% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -335;
    }

    32% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -595;
    }

    40%, 54% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -660;
    }

    62% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -665;
    }

    82% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -925;
    }

    90%, to {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -990;
    }
}

@keyframes exportRingB {
    from, 12% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -110;
    }

    20% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -115;
    }

    40% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -195;
    }

    48%, 62% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    70% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    90% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -305;
    }

    98%, to {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }
}

@keyframes exportRingC {
    from {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    8% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    28% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    36%, 58% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    66% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    86% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    94%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

@keyframes exportRingD {
    from, 8% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    16% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    36% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    44%, 50% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    58% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    78% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    86%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

/* ================= Imported Brand Cards ================= */
body.wgz-editorial-theme .brand-reveal-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(189, 159, 103, 0.16), transparent 22%),
        linear-gradient(160deg, #17303b 0%, #1d3b47 56%, #243137 100%);
    border: 1px solid rgba(25, 44, 52, 0.94);
    color: #f8fafc;
    box-shadow:
        0 22px 40px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.5s ease-in-out, border-radius 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

body.wgz-editorial-theme .brand-reveal-card::before,
body.wgz-editorial-theme .brand-reveal-card::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
    border-radius: 40%;
}

body.wgz-editorial-theme .brand-reveal-card::before {
    width: 240px;
    height: 320px;
    right: -28%;
    top: -24%;
    opacity: 0.2;
    background: linear-gradient(744deg, rgba(189, 159, 103, 0.58), rgba(255, 255, 255, 0.05) 64%, rgba(15, 118, 110, 0.24));
    animation: chartLabBrandPulse 7s ease-in-out infinite;
}

body.wgz-editorial-theme .brand-reveal-card::after {
    width: 210px;
    height: 300px;
    left: -24%;
    bottom: -34%;
    opacity: 0.14;
    background: linear-gradient(744deg, rgba(193, 122, 58, 0.28), rgba(15, 118, 110, 0.18) 60%, rgba(255, 255, 255, 0.05));
    animation: chartLabBrandPulse 8.4s ease-in-out infinite reverse;
}

body.wgz-editorial-theme .brand-reveal-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-radius: 18px;
    box-shadow:
        0 28px 44px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.wgz-editorial-theme .brand-reveal-card > :not(.brand-reveal-card__outline):not(.brand-reveal-card__tag) {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme .brand-reveal-card__outline {
    position: absolute;
    inset: 0;
    border: 2px solid #bd9f67;
    opacity: 0;
    transform: rotate(10deg);
    pointer-events: none;
    transition: inset 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

body.wgz-editorial-theme .brand-reveal-card__tag {
    position: absolute;
    left: 50%;
    bottom: 13px;
    transform: translateX(-50%);
    padding: 0 6px 0 10px;
    background: #243137;
    color: #bd9f67;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    z-index: 1;
    transition: letter-spacing 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

body.wgz-editorial-theme .brand-reveal-card:hover .brand-reveal-card__outline {
    inset: 15px;
    opacity: 1;
    transform: rotate(0deg);
}

body.wgz-editorial-theme .brand-reveal-card:hover .brand-reveal-card__tag {
    opacity: 1;
    letter-spacing: 0.32em;
}

body.wgz-editorial-theme .brand-reveal-card__crest,
body.wgz-editorial-theme .module-brand-card__crest,
body.wgz-editorial-theme .chart-lab-sidebar-brand__crest {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e9d3aa;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(233, 211, 170, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.wgz-editorial-theme .module-brand-card {
    position: relative;
    display: grid;
    align-content: end;
    gap: 10px;
    min-height: 264px;
    margin: 8px 0 16px;
    padding: 92px 26px 44px;
    border-radius: 24px;
}

body.wgz-editorial-theme .module-brand-card .brand-reveal-card__outline {
    border-color: rgba(233, 211, 170, 0.62);
}

body.wgz-editorial-theme .module-brand-card .brand-reveal-card__tag {
    background: rgba(17, 36, 45, 0.96);
    color: #e9d3aa;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__crest {
    display: none;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__copy {
    display: grid;
    gap: 10px;
    max-width: 680px;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__ghost {
    color: rgba(248, 250, 252, 0.18);
    font-size: 30px;
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.05em;
    max-width: 280px;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__copy strong {
    color: #fffaf4;
    font-size: 20px;
    line-height: 1.16;
    font-weight: 800;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__copy p {
    margin: 0;
    color: rgba(240, 246, 248, 0.82);
    font-size: 13px;
    line-height: 1.62;
    max-width: 760px;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

body.wgz-editorial-theme .module-brand-card .module-brand-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(189, 159, 103, 0.18);
    color: #f2dfba;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.wgz-editorial-theme .module-brand-card:hover .brand-reveal-card__outline {
    inset: 12px;
    opacity: 1;
}

body.wgz-editorial-theme .module-brand-card:hover .brand-reveal-card__tag {
    opacity: 1;
    letter-spacing: 0.3em;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand.brand-reveal-card {
    min-height: 240px;
    padding: 88px 24px 68px;
    border-radius: 24px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand .brand-reveal-card__outline,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand:hover .brand-reveal-card__outline {
    border-color: rgba(189, 159, 103, 0.72);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand .brand-reveal-card__tag {
    background: rgba(17, 36, 45, 0.96);
    color: #e9d3aa;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand .chart-lab-sidebar-brand__copy {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand .chart-lab-sidebar-brand {
    color: rgba(255, 250, 244, 0.16);
    text-shadow: none;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-sidebar-card--brand .chart-lab-sidebar-brand__copy strong {
    color: #fffaf4;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ================= Imported Chart Lab Status Cards ================= */
body.wgz-editorial-theme #tab-chart-lab .chart-lab-topband {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card {
    position: relative;
    min-height: 188px;
    perspective: 900px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker {
    display: block;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:hover {
    cursor: pointer;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(189, 159, 103, 0.22);
    background:
        radial-gradient(circle at 14% 18%, rgba(189, 159, 103, 0.14), transparent 18%),
        linear-gradient(145deg, #17303b 0%, #1f3c47 52%, #24414c 100%);
    box-shadow:
        0 18px 30px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 18px rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 220ms ease;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 1px solid rgba(189, 159, 103, 0.22);
    pointer-events: none;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card--source .chart-lab-status-card__panel {
    background:
        radial-gradient(circle at 14% 18%, rgba(189, 159, 103, 0.12), transparent 18%),
        linear-gradient(145deg, #203744 0%, #244555 52%, #28505a 100%);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card--mode .chart-lab-status-card__panel {
    background:
        radial-gradient(circle at 14% 18%, rgba(193, 122, 58, 0.12), transparent 18%),
        linear-gradient(145deg, #1a313d 0%, #21424c 52%, #146b66 100%);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card--command .chart-lab-status-card__panel {
    background:
        radial-gradient(circle at 14% 18%, rgba(233, 211, 170, 0.16), transparent 18%),
        linear-gradient(145deg, #17313b 0%, #16595d 54%, #8e653a 100%);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    height: 100%;
    padding: 18px 18px 16px;
    align-content: start;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__label {
    color: rgba(248, 250, 252, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__ghost {
    color: rgba(255, 250, 244, 0.18);
    font-size: 30px;
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.04em;
    min-height: 50px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__value {
    color: #fffaf4;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
    word-break: break-word;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card--source .chart-lab-status-card__value,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card--command .chart-lab-status-card__value {
    font-size: 20px;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__subtitle {
    margin-top: auto;
    color: rgba(228, 236, 239, 0.68);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glare,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glows,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glows span {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(15, 118, 110, 0.26) 0%, rgba(15, 118, 110, 0) 72%);
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glows span:nth-child(1) { top: -24px; left: -16px; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glows span:nth-child(2) { top: 50%; right: -30px; transform: translateY(-50%); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glows span:nth-child(3) { bottom: -24px; left: 26%; }

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #d8b37d;
    border-radius: 50%;
    opacity: 0;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(1) { --x: 1; --y: -1; top: 40%; left: 20%; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(2) { --x: -1; --y: -1; top: 60%; right: 20%; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(3) { --x: 0.5; --y: 1; top: 22%; left: 42%; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(4) { --x: -0.5; --y: 1; top: 80%; right: 38%; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(5) { --x: 1; --y: 0.5; top: 30%; left: 62%; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__particles span:nth-child(6) { --x: -1; --y: 0.5; top: 70%; right: 60%; }

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines span {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(189, 159, 103, 0.22), transparent);
    transform: scaleX(0);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines span:nth-child(1) { top: 20%; transform-origin: left; animation: chartLabLineGrow 3s linear infinite; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines span:nth-child(2) { top: 40%; transform-origin: right; animation: chartLabLineGrow 3s linear infinite 1s; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines span:nth-child(3) { top: 62%; transform-origin: left; animation: chartLabLineGrow 3s linear infinite 2s; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__lines span:nth-child(4) { top: 82%; transform-origin: right; animation: chartLabLineGrow 3s linear infinite 1.5s; }

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners span {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(189, 159, 103, 0.26);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners span:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners span:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners span:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__corners span:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__scanline {
    background: linear-gradient(to bottom, transparent, rgba(15, 118, 110, 0.08), transparent);
    transform: translateY(-100%);
    animation: chartLabScanMove 2.4s linear infinite;
    opacity: 0.8;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__glare {
    background: linear-gradient(125deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card:hover .chart-lab-status-card__panel {
    filter: brightness(1.06);
    box-shadow:
        0 22px 36px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 0 18px rgba(0, 0, 0, 0.2);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card:hover .chart-lab-status-card__glare,
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card:hover .chart-lab-status-card__glows span {
    opacity: 1;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card:hover .chart-lab-status-card__particles span {
    animation: chartLabParticleFloat 2s infinite;
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card:hover .chart-lab-status-card__corners span {
    border-color: rgba(189, 159, 103, 0.72);
    box-shadow: 0 0 10px rgba(189, 159, 103, 0.18);
}

body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(1):hover ~ .chart-lab-status-card__panel { transform: rotateX(20deg) rotateY(-10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(2):hover ~ .chart-lab-status-card__panel { transform: rotateX(20deg) rotateY(-5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(3):hover ~ .chart-lab-status-card__panel { transform: rotateX(20deg) rotateY(0deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(4):hover ~ .chart-lab-status-card__panel { transform: rotateX(20deg) rotateY(5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(5):hover ~ .chart-lab-status-card__panel { transform: rotateX(20deg) rotateY(10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(6):hover ~ .chart-lab-status-card__panel { transform: rotateX(10deg) rotateY(-10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(7):hover ~ .chart-lab-status-card__panel { transform: rotateX(10deg) rotateY(-5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(8):hover ~ .chart-lab-status-card__panel { transform: rotateX(10deg) rotateY(0deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(9):hover ~ .chart-lab-status-card__panel { transform: rotateX(10deg) rotateY(5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(10):hover ~ .chart-lab-status-card__panel { transform: rotateX(10deg) rotateY(10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(11):hover ~ .chart-lab-status-card__panel { transform: rotateX(0deg) rotateY(-10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(12):hover ~ .chart-lab-status-card__panel { transform: rotateX(0deg) rotateY(-5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(13):hover ~ .chart-lab-status-card__panel { transform: rotateX(0deg) rotateY(0deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(14):hover ~ .chart-lab-status-card__panel { transform: rotateX(0deg) rotateY(5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(15):hover ~ .chart-lab-status-card__panel { transform: rotateX(0deg) rotateY(10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(16):hover ~ .chart-lab-status-card__panel { transform: rotateX(-10deg) rotateY(-10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(17):hover ~ .chart-lab-status-card__panel { transform: rotateX(-10deg) rotateY(-5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(18):hover ~ .chart-lab-status-card__panel { transform: rotateX(-10deg) rotateY(0deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(19):hover ~ .chart-lab-status-card__panel { transform: rotateX(-10deg) rotateY(5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(20):hover ~ .chart-lab-status-card__panel { transform: rotateX(-10deg) rotateY(10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(21):hover ~ .chart-lab-status-card__panel { transform: rotateX(-20deg) rotateY(-10deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(22):hover ~ .chart-lab-status-card__panel { transform: rotateX(-20deg) rotateY(-5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(23):hover ~ .chart-lab-status-card__panel { transform: rotateX(-20deg) rotateY(0deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(24):hover ~ .chart-lab-status-card__panel { transform: rotateX(-20deg) rotateY(5deg); }
body.wgz-editorial-theme #tab-chart-lab .chart-lab-status-card__tracker:nth-child(25):hover ~ .chart-lab-status-card__panel { transform: rotateX(-20deg) rotateY(10deg); }

@keyframes chartLabBrandPulse {
    0%, 100% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.08) brightness(1.06); }
}

@keyframes chartLabParticleFloat {
    0% { transform: translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(calc(var(--x, 0) * 28px), calc(var(--y, 0) * 28px)); opacity: 0; }
}

@keyframes chartLabLineGrow {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes chartLabScanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@media (max-width: 900px) {
    body.wgz-editorial-theme .module-brand-card {
        min-height: 244px;
        padding: 84px 18px 40px;
    }

    body.wgz-editorial-theme #tab-chart-lab .chart-lab-topband {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.wgz-editorial-theme .module-brand-card {
        min-height: 220px;
        padding: 72px 18px 38px;
    }

    body.wgz-editorial-theme .module-brand-card .module-brand-card__ghost {
        font-size: 22px;
        max-width: 100%;
    }

    body.wgz-editorial-theme .module-brand-card .module-brand-card__copy strong {
        font-size: 18px;
    }

    body.wgz-editorial-theme #tab-chart-lab .chart-lab-topband {
        grid-template-columns: 1fr;
    }
}

/* ================= Rebuilt Chart Lab Status Cards ================= */
body.wgz-editorial-theme #tab-chart-lab .chart-lab-topband {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    perspective: 500px;
}

body.wgz-editorial-theme .evaluation-data-card {
    position: relative;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(13, 27, 36, 0.98) 0%, rgba(23, 52, 62, 0.98) 52%, rgba(18, 92, 97, 0.96) 100%);
    border: 1px solid rgba(33, 98, 112, 0.48);
    box-shadow:
        0 20px 32px rgba(13, 27, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.wgz-editorial-theme .evaluation-data-card:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 196, 183, 0.5);
    box-shadow:
        0 24px 38px rgba(13, 27, 36, 0.24),
        0 0 0 1px rgba(88, 196, 183, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.wgz-editorial-theme .evaluation-data-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 14% 18%, rgba(67, 222, 196, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 86% 22%, rgba(79, 70, 229, 0.22) 0%, transparent 36%),
        radial-gradient(circle at 86% 84%, rgba(193, 122, 58, 0.18) 0%, transparent 34%);
    opacity: 0.94;
    pointer-events: none;
}

body.wgz-editorial-theme .evaluation-data-card__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 100%;
    gap: 14px;
    padding: 18px 18px 16px;
    grid-template-rows: auto auto minmax(124px, 1fr) auto;
}

body.wgz-editorial-theme .evaluation-data-card__header,
body.wgz-editorial-theme .evaluation-data-card__title-row,
body.wgz-editorial-theme .evaluation-data-card__footer,
body.wgz-editorial-theme .evaluation-data-card__meta {
    display: flex;
    align-items: center;
}

body.wgz-editorial-theme .evaluation-data-card__header,
body.wgz-editorial-theme .evaluation-data-card__footer {
    justify-content: space-between;
    gap: 14px;
}

body.wgz-editorial-theme .evaluation-data-card__title-row {
    gap: 10px;
    min-width: 0;
}

body.wgz-editorial-theme .evaluation-data-card__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.96) 0%, rgba(31, 167, 181, 0.96) 100%);
    color: #f8fafc;
    box-shadow: 0 10px 18px rgba(67, 56, 202, 0.28);
}

body.wgz-editorial-theme .evaluation-data-card__eyebrow {
    color: rgba(148, 163, 184, 0.84);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.wgz-editorial-theme .evaluation-data-card__title {
    margin: 4px 0 0;
    color: #f8fafc;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

body.wgz-editorial-theme .evaluation-data-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    color: #86efac;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

body.wgz-editorial-theme .evaluation-data-card__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

body.wgz-editorial-theme .evaluation-data-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.wgz-editorial-theme .evaluation-data-card__metric {
    padding: 13px 14px 11px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.wgz-editorial-theme .evaluation-data-card__metric-label {
    color: rgba(203, 213, 225, 0.74);
    font-size: 11px;
    font-weight: 700;
}

body.wgz-editorial-theme .evaluation-data-card__metric-value {
    margin-top: 7px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    word-break: break-word;
}

body.wgz-editorial-theme .evaluation-data-card__metric-note {
    margin-top: 5px;
    color: rgba(203, 213, 225, 0.62);
    font-size: 11px;
    line-height: 1.45;
}

body.wgz-editorial-theme .evaluation-data-card__chart {
    min-height: 126px;
    height: 100%;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
}

body.wgz-editorial-theme .evaluation-data-card__bar-track {
    height: 100%;
    display: flex;
    align-items: end;
    padding: 0 4px;
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.14) 0%, rgba(129, 140, 248, 0.05) 100%);
}

body.wgz-editorial-theme .evaluation-data-card__bar-fill {
    width: 100%;
    min-height: 18%;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.96) 0%, rgba(56, 189, 248, 0.94) 56%, rgba(193, 122, 58, 0.92) 100%);
    box-shadow:
        0 0 14px rgba(56, 189, 248, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.wgz-editorial-theme .evaluation-data-card__footer {
    align-items: flex-end;
    margin-top: 2px;
}

body.wgz-editorial-theme .evaluation-data-card__period {
    max-width: 46%;
    color: rgba(226, 232, 240, 0.76);
    font-size: 12px;
    line-height: 1.5;
}

body.wgz-editorial-theme .evaluation-data-card__meta {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

body.wgz-editorial-theme .evaluation-data-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(241, 245, 249, 0.78);
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 960px) {
    body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "value"
            "bar";
    }

    body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #overallScore,
    body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #profitability,
    body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #growth {
        font-size: 32px;
    }

    body.wgz-editorial-theme .evaluation-data-card__header,
    body.wgz-editorial-theme .evaluation-data-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    body.wgz-editorial-theme .evaluation-data-card__metrics {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme #tab-chat .chat-workbench-quick-shell {
    position: relative;
    overflow: hidden;
    padding: 8px 10px;
    border-radius: 18px;
    border: 1px solid rgba(214, 201, 182, 0.62);
    background: rgba(255, 252, 247, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.wgz-editorial-theme #tab-chat .chat-workbench-quick-shell::before,
body.wgz-editorial-theme #tab-chat .chat-workbench-quick-shell::after {
    display: none;
}

body.wgz-editorial-theme #tab-chat .quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin-top: 0;
}

body.wgz-editorial-theme #tab-chat .quick-action {
    min-height: 44px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(214, 201, 182, 0.74);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

body.wgz-editorial-theme #tab-chat .quick-action:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.04);
}

body.wgz-editorial-theme #tab-chat .quick-action span:last-child {
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

body.wgz-editorial-theme #tab-chat .quick-action-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    flex: 0 0 24px;
}

body.wgz-editorial-theme .report-progress--module {
    margin-top: 18px;
}

body.wgz-editorial-theme .module-panel .section-heading {
    margin-bottom: 14px;
}

body.wgz-editorial-theme .module-panel .section-heading--offset {
    margin: 28px 0 14px;
}

body.wgz-editorial-theme .module-analysis-copy {
    color: #555;
    line-height: 1.8;
}

body.wgz-editorial-theme .module-result-block,
body.wgz-editorial-theme .report-section--spaced {
    margin-top: 22px;
}

body.wgz-editorial-theme .module-report-title {
    margin-bottom: 14px;
}

body.wgz-editorial-theme .module-report-meta {
    margin-bottom: 18px;
    color: #666;
    font-size: 13px;
}

@media (max-width: 1080px) {
    body.wgz-editorial-theme #tab-chat .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.wgz-editorial-theme #tab-chat .chat-workbench-quick-shell {
        padding: 8px;
    }

    body.wgz-editorial-theme #tab-chat .quick-actions {
        grid-template-columns: 1fr;
    }
}

body.wgz-editorial-theme .nav-tabs {
    position: relative;
    isolation: isolate;
    gap: 10px;
}

body.wgz-editorial-theme .nav-tab {
    position: relative;
    transform-origin: center center;
    will-change: transform, filter, opacity, box-shadow, background;
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 260ms ease,
        opacity 260ms ease,
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
    body.wgz-editorial-theme .nav-tabs:hover > .nav-tab:not(:hover) {
        filter: blur(1.6px) saturate(0.92);
        transform: scale(0.965);
        opacity: 0.82;
    }

    body.wgz-editorial-theme .nav-tabs:hover > .nav-tab.active:not(:hover) {
        filter: blur(1.2px) saturate(0.95);
        opacity: 0.9;
    }

    body.wgz-editorial-theme .nav-tab:hover {
        z-index: 3;
        width: auto;
        transform: translateY(-5px) scale(1.045);
        border-color: rgba(15, 118, 110, 0.24);
        box-shadow:
            0 22px 34px rgba(15, 23, 42, 0.12),
            0 10px 18px rgba(193, 122, 58, 0.08);
    }

    body.wgz-editorial-theme .nav-tab.active:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow:
            0 24px 38px rgba(19, 33, 43, 0.18),
            0 12px 22px rgba(193, 122, 58, 0.14);
    }
}

/* ================= Module Motion Refresh ================= */
body.wgz-editorial-theme .main-content {
    position: relative;
}

body.wgz-editorial-theme .panel,
body.wgz-editorial-theme .aux-panel {
    backface-visibility: hidden;
    transform-origin: 50% 18%;
    will-change: transform, opacity;
}

body.wgz-editorial-theme .panel-switch-enter,
body.wgz-editorial-theme .aux-panel.panel-switch-enter {
    z-index: 3;
    animation-duration: 240ms;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.wgz-editorial-theme .panel-switch-enter--forward,
body.wgz-editorial-theme .aux-panel.panel-switch-enter--forward {
    animation-name: modulePanelEnterForward;
}

body.wgz-editorial-theme .panel-switch-enter--backward,
body.wgz-editorial-theme .aux-panel.panel-switch-enter--backward {
    animation-name: modulePanelEnterBackward;
}

body.wgz-editorial-theme .panel-switch-leave,
body.wgz-editorial-theme .aux-panel.panel-switch-leave {
    pointer-events: none;
    z-index: 1;
    animation-duration: 120ms;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

body.wgz-editorial-theme .panel-switch-leave--forward,
body.wgz-editorial-theme .aux-panel.panel-switch-leave--forward {
    animation-name: modulePanelLeaveForward;
}

body.wgz-editorial-theme .panel-switch-leave--backward,
body.wgz-editorial-theme .aux-panel.panel-switch-leave--backward {
    animation-name: modulePanelLeaveBackward;
}

body.wgz-editorial-theme .module-surface-replay {
    animation: moduleSurfaceReplay 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: 50% 60%;
    will-change: transform, opacity;
}

body.wgz-editorial-theme .module-surface-prep {
    opacity: 0 !important;
    transform: translate3d(0, 18px, 0) scale(0.985);
    pointer-events: none;
}

body.wgz-editorial-theme .nav-tab.is-tab-activating {
    animation: none;
}

body.wgz-editorial-theme .nav-tab.is-tab-activating::after {
    content: none;
}

@keyframes modulePanelEnterForward {
    0% {
        opacity: 0;
        transform: translate3d(12px, 6px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes modulePanelEnterBackward {
    0% {
        opacity: 0;
        transform: translate3d(-12px, 6px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes modulePanelLeaveForward {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    100% {
        opacity: 0;
        transform: translate3d(-8px, 0, 0);
    }
}

@keyframes modulePanelLeaveBackward {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    100% {
        opacity: 0;
        transform: translate3d(8px, 0, 0);
    }
}

@keyframes moduleSurfaceReplay {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.985);
    }

    60% {
        opacity: 1;
        transform: translate3d(0, -2px, 0) scale(1.004);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes navTabActivate {
    0% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    32% {
        transform: translateY(-4px) scale(1.04);
        filter: blur(0.2px);
    }

    68% {
        transform: translateY(1px) scale(0.992);
        filter: blur(0);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes navTabUnderline {
    0% {
        opacity: 0;
        transform: scaleX(0.28);
    }

    46% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(0.72);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wgz-editorial-theme .panel-switch-enter,
    body.wgz-editorial-theme .panel-switch-leave,
    body.wgz-editorial-theme .aux-panel.panel-switch-enter,
    body.wgz-editorial-theme .aux-panel.panel-switch-leave,
    body.wgz-editorial-theme .nav-tab.is-tab-activating {
        animation: none !important;
    }
}

/* ================= Evaluation Aux Stable Version ================= */
body.wgz-editorial-theme #tab-evaluation-aux {
    align-content: start;
    gap: 18px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card {
    flex: 0 0 auto;
    min-width: 0;
    height: auto;
    overflow: hidden;
    border-radius: 24px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score {
    position: relative;
    display: grid;
    gap: 16px;
    align-self: stretch;
    padding: 20px 20px 18px;
    border-color: rgba(182, 216, 206, 0.86);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 249, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources::before,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.24), transparent 46%);
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources > *,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score > * {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources {
    min-height: auto;
    height: auto !important;
    align-content: start;
    grid-template-rows: auto auto auto;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score {
    min-height: auto;
    height: auto !important;
    align-content: start;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score {
    overflow: hidden;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card:not(.layout-rail-card--evaluation-sources):not(.layout-rail-card--evaluation-score) {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 20px 20px 18px;
    min-height: auto;
    overflow: visible;
}

body.wgz-editorial-theme #tab-evaluation-aux #evalRadarChart,
body.wgz-editorial-theme #tab-evaluation-aux #evalTrendChart,
body.wgz-editorial-theme #tab-evaluation-aux #evalCompareChart,
body.wgz-editorial-theme #tab-evaluation-aux #evalCompareChartNote {
    display: grid;
    align-content: start;
    gap: 14px;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
}

body.wgz-editorial-theme #tab-evaluation-aux #evalRadarChart {
    min-height: 560px;
}

body.wgz-editorial-theme #tab-evaluation-aux #evalTrendChart,
body.wgz-editorial-theme #tab-evaluation-aux #evalCompareChart {
    min-height: 340px;
}

body.wgz-editorial-theme #tab-evaluation-aux #evalCompareChartNote {
    min-height: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card .cr-eval-radar-shell,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card .cr-note,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card .workbench-matrix-card,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card .evaluation-data-card {
    width: 100%;
    max-width: 100%;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card.layout-rail-card--export {
    min-height: auto;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .layout-rail-card__header,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .layout-rail-card__header {
    display: grid;
    gap: 8px;
    margin-bottom: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalEvidenceOverview,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalSourcesContainer,
body.wgz-editorial-theme #tab-evaluation-aux .eval-score-cards-mount,
body.wgz-editorial-theme #tab-evaluation-aux #evalSupportMatrixMount {
    display: grid;
    gap: 14px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalEvidenceOverview:empty,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalSourcesContainer:empty {
    min-height: 120px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .report-section.sources-chain-section,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .sources-chain {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .report-section.sources-chain-section::after {
    display: none;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .sources-chain-summary {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(31, 41, 55, 0.08);
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .sources-chain[open] {
    display: grid;
    gap: 14px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources {
    height: auto !important;
    max-height: none !important;
    align-content: start;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalSourcesContainer,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .report-section.sources-chain-section,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .sources-chain,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .sources-list {
    height: auto !important;
    max-height: none !important;
    min-height: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources #evalSourcesContainer {
    min-height: 0;
    overflow: visible;
    padding-right: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-entry,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-entry-body,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-evidence,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-evidence-content,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-evidence-reading-card,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-sources .source-evidence-raw-card {
    overflow: visible;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .metrics-grid--eval-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card {
    --metric-base: #0f766e;
    min-height: 174px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    border-radius: 20px;
    border: 1px solid rgba(223, 213, 196, 0.9);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 12px 18px rgba(15, 23, 42, 0.08),
        0 4px 8px rgba(15, 23, 42, 0.04);
}

/* ================= Report Aux Stable Version ================= */
body.wgz-editorial-theme #tab-report-aux {
    align-content: start;
    gap: 18px;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card {
    flex: 0 0 auto;
    height: auto;
    min-height: fit-content;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .layout-rail-card__header {
    display: grid;
    gap: 8px;
    min-width: 0;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .layout-rail-card__header-row {
    align-items: center;
    min-height: 34px;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .layout-rail-card__title {
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .layout-rail-card__toggle {
    position: relative;
    z-index: 1;
    min-width: 54px;
    border-color: rgba(248, 250, 252, 0.18);
    background: rgba(248, 250, 252, 0.12);
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .layout-rail-card__toggle:hover {
    background: rgba(248, 250, 252, 0.18);
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources {
    height: auto !important;
    max-height: none !important;
    align-content: start;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed #reportSourceExplanationMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed #reportCoverageMatrixMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed #reportClaimEvidenceMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed #reportSourcesContainer {
    display: none;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed {
    gap: 12px;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources.is-collapsed .layout-rail-card__header {
    display: grid;
    gap: 8px;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources #reportSourceExplanationMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources #reportCoverageMatrixMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources #reportClaimEvidenceMount,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources #reportSourcesContainer,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .report-section.sources-chain-section,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .sources-chain,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .sources-list {
    height: auto !important;
    max-height: none !important;
    min-height: 0;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources #reportSourcesContainer {
    min-height: 0;
    overflow: visible;
    padding-right: 0;
}

body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-entry,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-entry-body,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-evidence,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-evidence-content,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-evidence-reading-card,
body.wgz-editorial-theme #tab-report-aux .layout-rail-card--sources .source-evidence-raw-card {
    overflow: visible;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card--profit { --metric-base: #3b82f6; }
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card--growth { --metric-base: #c17a3a; }

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources {
    position: relative;
    display: grid;
    gap: 16px;
    align-self: stretch;
    align-content: start;
    height: auto !important;
    max-height: none !important;
    padding: 20px 20px 18px;
    overflow: hidden;
    border-color: rgba(182, 216, 206, 0.86);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 249, 0.98) 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.24), transparent 46%);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources > * {
    position: relative;
    z-index: 1;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .layout-rail-card__header {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .layout-rail-card__title {
    color: #0f766e;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .layout-rail-card__desc {
    color: #526071;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources #riskEvidenceOverview,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources #riskSourcesContainer {
    display: grid;
    gap: 14px;
    min-height: 0;
    overflow: visible;
    padding-right: 0;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources #riskEvidenceOverview:empty,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources #riskSourcesContainer:empty {
    min-height: 120px;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .report-section.sources-chain-section,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .sources-chain {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .report-section.sources-chain-section::after {
    display: none;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .sources-chain-summary {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(31, 41, 55, 0.08);
    text-decoration: none;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .sources-chain[open] {
    display: grid;
    gap: 14px;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources #riskSourcesContainer,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .report-section.sources-chain-section,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .sources-chain,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .sources-list {
    height: auto !important;
    max-height: none !important;
    min-height: 0;
}

body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-entry,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-entry-body,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-evidence,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-evidence-content,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-evidence-reading-card,
body.wgz-editorial-theme #tab-risk-aux .layout-rail-card--risk-sources .source-evidence-raw-card {
    overflow: visible;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #overallScore,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #profitability,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score #growth {
    margin: 0;
    color: #13212b;
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    text-align: left;
    font-family: 'Noto Serif SC', serif;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(180deg, color-mix(in srgb, var(--metric-base) 92%, #ffffff 8%) 0%, color-mix(in srgb, var(--metric-base) 74%, #13212b 26%) 100%);
    box-shadow: 0 10px 16px color-mix(in srgb, var(--metric-base) 24%, transparent);
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__icon svg {
    width: 15px;
    height: 15px;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__title-text {
    color: #526071;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__percent {
    margin-left: auto;
    color: color-mix(in srgb, var(--metric-base) 88%, #13212b 12%);
    font-size: 12px;
    font-weight: 800;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .rangeWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    height: auto;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__range {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__range::before,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__fill,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__fill::before,
body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__fill::after {
    display: none;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__slider.kawaii {
    --base: var(--metric-base);
    --light: color-mix(in srgb, var(--base) 60%, #fff);
    --lighter: color-mix(in srgb, var(--base) 30%, #fff);
    --dark: color-mix(in srgb, var(--base) 95%, #000);
    --transparent: color-mix(in srgb, var(--base) 0%, #0000);
    appearance: none;
    pointer-events: none;
    font-size: 0.84em;
    width: 100%;
    height: 2em;
    border: 0.45em solid rgba(255, 255, 255, 0.98);
    border-radius: 2em;
    background: transparent;
    box-shadow:
        0 0 1em rgba(15, 23, 42, 0.08),
        0 0.25em 0.5em rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__slider.kawaii::-webkit-slider-runnable-track {
    background:
        radial-gradient(circle at 0.75em 0.6em, var(--light) calc(0.2em - 1px), #0000 0.2em),
        radial-gradient(circle at 1.25em 0.6em, var(--light) calc(0.2em - 1px), #0000 0.2em),
        radial-gradient(circle at 5em 0.6em, var(--light) calc(0.2em - 1px), #0000 0.2em),
        linear-gradient(var(--light) 0 0) 1.25em 0.4em / 3.75em calc(0.4em - 0.5px) no-repeat,
        linear-gradient(90deg, var(--base), var(--transparent) 1em),
        linear-gradient(#0000 70%, var(--dark) 80%),
        var(--base);
    border-radius: 2em;
    height: 100%;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__slider.kawaii::-webkit-slider-thumb {
    appearance: none;
    height: 2em;
    width: 2em;
    color: var(--lighter);
    background:
        radial-gradient(circle at 0.75em 0.6em, var(--light) calc(0.2em - 1px), #0000 0.2em),
        linear-gradient(90deg, #0000 0.75em, var(--base) 0) 0 0 / 100% 50% no-repeat;
    border-radius: 50%;
    box-shadow:
        inset -0.5em 0 0.5em -0.25em var(--base),
        1em 0 0 0.25em, 2em 0 0 0.25em, 3em 0 0 0.25em, 4em 0 0 0.25em,
        5em 0 0 0.25em, 6em 0 0 0.25em, 7em 0 0 0.25em, 8em 0 0 0.25em,
        9em 0 0 0.25em, 10em 0 0 0.25em, 11em 0 0 0.25em, 12em 0 0 0.25em,
        13em 0 0 0.25em, 14em 0 0 0.25em, 15em 0 0 0.25em, 16em 0 0 0.25em,
        17em 0 0 0.25em, 18em 0 0 0.25em, 19em 0 0 0.25em;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__slider.kawaii::-moz-range-track {
    background:
        radial-gradient(circle at 0.75em 30%, var(--light) calc(0.2em - 1px), #0000 0.2em),
        radial-gradient(circle at 1.5em 30%, var(--light) calc(0.2em - 1px), #0000 0.2em),
        radial-gradient(circle at 5.5em 30%, var(--light) calc(0.2em - 1px), #0000 0.2em),
        linear-gradient(var(--light) 0 0) 1.5em calc(15% + 0.18em) / 4em calc(0.4em - 0.5px) no-repeat,
        linear-gradient(90deg, var(--base), var(--transparent) 1em),
        linear-gradient(var(--transparent) 70%, var(--dark) 80%),
        var(--base);
    border-radius: 2em;
    height: 100%;
}

body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .eval-kpi-card__slider.kawaii::-moz-range-thumb {
    appearance: none;
    height: 2em;
    width: 2em;
    border: 0;
    color: var(--lighter);
    background:
        radial-gradient(circle at 0.75em 0.6em, var(--light) calc(0.2em - 1px), #0000 0.2em),
        linear-gradient(90deg, var(--transparent) 0.75em, var(--base) 0) 0 0 / 100% 50% no-repeat;
    border-radius: 50% 0 50% 50% 0;
    box-shadow:
        inset -0.5em 0 0.5em -0.25em var(--base),
        1em 0 0 0.25em, 2em 0 0 0.25em, 3em 0 0 0.25em, 4em 0 0 0.25em,
        5em 0 0 0.25em, 6em 0 0 0.25em, 7em 0 0 0.25em, 8em 0 0 0.25em,
        9em 0 0 0.25em, 10em 0 0 0.25em, 11em 0 0 0.25em, 12em 0 0 0.25em,
        13em 0 0 0.25em, 14em 0 0 0.25em, 15em 0 0 0.25em, 16em 0 0 0.25em,
        17em 0 0 0.25em, 18em 0 0 0.25em, 19em 0 0 0.25em;
}

body.wgz-editorial-theme #tab-evaluation-aux .eval-score-cards-mount {
    display: grid;
    gap: 12px;
}

@media (max-width: 1160px) {
    body.wgz-editorial-theme #tab-evaluation-aux .layout-rail-card--evaluation-score .metrics-grid--eval-rail {
        grid-template-columns: 1fr;
    }
}
.report-chart-slots {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.report-chart-slot {
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.report-chart-slot__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.report-chart-slot__head h5 {
    margin: 4px 0 6px;
    font-size: 15px;
    color: #1f2937;
}

.report-chart-slot__head p,
.report-chart-slot__meta {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.report-chart-slot__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.report-chart-slot__meta span {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(248, 250, 252, 0.86);
}

.report-chart-slot__canvas {
    min-height: 340px;
    margin-top: 12px;
}

.report-chart-slot__image {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: #fff;
}

.report-chart-slot__empty {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.78);
    color: #64748b;
    font-size: 12px;
}

.report-chart-slot__empty strong {
    color: #334155;
    font-size: 13px;
}

.report-chart-slot__render-state {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.1);
    color: #0e7490;
    font-size: 12px;
    font-weight: 700;
}

.report-chart-slot[data-render-state="render-failed"] .report-chart-slot__render-state {
    background: rgba(190, 18, 60, 0.1);
    color: #be123c;
}

.report-chart-slot[data-render-state="waiting-visible"] .report-chart-slot__render-state {
    background: rgba(217, 119, 6, 0.12);
    color: #92400e;
}

.report-chart-slot.is-dense-chart .report-chart-slot__canvas,
.report-chart-slot.is-long-label-chart .report-chart-slot__canvas {
    min-height: 460px;
}

.report-chart-slot.is-risk-timeline-chart .report-chart-slot__canvas,
.report-chart-slot__canvas.is-risk-timeline-chart {
    min-height: 520px;
}

.report-chart-slot__canvas.is-dense-chart,
.report-chart-slot__canvas.is-long-label-chart {
    min-height: 460px;
}

@media (max-width: 720px) {
    .report-chart-slot__head {
        flex-direction: column;
    }

    .report-chart-slot__action {
        width: 100%;
        justify-content: center;
    }
}
