/* VIP Chart Terminal — analytics panels (AI, risk, harmonic, SMC) */
.td-vip-ai-desk-band {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.92) 52%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 20px 40px -28px rgba(15, 23, 42, 0.34);
}

.td-vip-ai-desk-band-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.td-vip-ai-desk-band-main strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #08111f;
}

.td-vip-ai-desk-band-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #526176;
    max-width: 30ch;
}

.td-vip-ai-desk-band-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.td-vip-ai-desk-band-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(186, 230, 253, 0.96);
    background: rgba(239, 246, 255, 0.92);
    color: #0f4c81;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.td-vip-ai-desk-band-status.is-busy {
    border-color: rgba(253, 224, 71, 0.95);
    background: rgba(254, 249, 195, 0.95);
    color: #854d0e;
}

.td-vip-ai-desk-band-status.is-ready {
    border-color: rgba(167, 243, 208, 0.95);
    background: rgba(236, 253, 245, 0.95);
    color: #166534;
}

.td-vip-ai-desk-band-status.is-error {
    border-color: rgba(252, 165, 165, 0.95);
    background: rgba(254, 242, 242, 0.95);
    color: #b91c1c;
}

.td-vip-ai-desk-band-status.is-locked {
    border-color: rgba(191, 219, 254, 0.96);
    background: rgba(239, 246, 255, 0.94);
    color: #1d4ed8;
}

.td-vip-ai-content {
    min-height: 260px;
    max-height: min(56vh, 620px);
    overflow: auto;
    padding: 18px 18px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f8fbff 100%);
}

.td-vip-ai-panel {
    gap: 14px;
}

.td-vip-ai-access-state {
    display: grid;
    gap: 10px;
}

.td-vip-ai-access-state strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.td-vip-ai-access-state p {
    margin: 0;
    color: #526176;
    font-size: 13px;
    line-height: 1.65;
}

.td-vip-ai-access-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-vip-ai-access-link {
    text-decoration: none;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-panel {
    gap: 16px;
}

#tdVipPanel_aiSummary .td-vip-ai-panel {
    gap: 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.td-vip-ext-panel--smc-drawer .td-vip-ext-panel-dialog,
#tdVipPanel_smcStructure .td-vip-ext-panel-dialog {
    width: min(500px, calc(100vw - 24px));
    max-height: calc(100vh - 48px);
    height: calc(100vh - 48px);
    margin-left: auto;
    display: flex;
    flex-direction: column;
    border-radius: 22px 0 0 22px;
    border: 1px solid rgba(219, 227, 238, 0.72);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 255, 0.88) 100%);
    box-shadow: -28px 0 60px -38px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.td-vip-ext-panel--smc-drawer .td-vip-ext-panel-head,
#tdVipPanel_smcStructure .td-vip-ext-panel-head {
    padding: 18px 20px 12px;
    border-bottom-color: rgba(226, 232, 240, 0.72);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.16) 100%);
}

.td-vip-ext-panel--smc-drawer .td-vip-ext-panel-body,
#tdVipPanel_smcStructure .td-vip-ext-panel-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 18px 18px 18px;
    border-color: rgba(226, 232, 240, 0.82);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(246, 249, 253, 0.84) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.td-vip-ext-panel--smc-drawer .td-vip-smc-panel,
#tdVipPanel_smcStructure .td-vip-smc-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 14px;
}

.td-vip-indicator-list--smc {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.td-vip-indicator-list--smc .td-vip-indicator-item {
    gap: 6px;
    padding: 10px 11px;
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -1px 0 rgba(148, 163, 184, 0.06),
        0 18px 34px -30px rgba(15, 23, 42, 0.22);
}

.td-vip-indicator-list--smc .td-vip-indicator-head {
    gap: 6px;
}

.td-vip-indicator-list--smc .td-vip-indicator-title-wrap {
    gap: 2px;
}

.td-vip-indicator-list--smc .td-vip-indicator-title {
    font-size: 13px;
    line-height: 1.16;
}

.td-vip-indicator-list--smc .td-vip-indicator-subtitle {
    font-size: 10px;
    letter-spacing: 0.12em;
}

.td-vip-indicator-list--smc .td-vip-indicator-head-actions {
    gap: 4px;
}

.td-vip-indicator-list--smc .td-vip-indicator-status {
    min-height: 24px;
    min-width: 64px;
    padding: 0 9px;
    font-size: 11px;
}

.td-vip-indicator-list--smc .td-vip-indicator-guide {
    gap: 5px;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 12px;
}

.td-vip-indicator-list--smc .td-vip-indicator-guide-row {
    gap: 2px;
}

.td-vip-indicator-list--smc .td-vip-indicator-guide-label {
    font-size: 9px;
    letter-spacing: 0.12em;
}

.td-vip-indicator-list--smc .td-vip-indicator-guide-text {
    font-size: 11px;
    line-height: 1.45;
}

.td-vip-indicator-list--smc .td-vip-indicator-toggle {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 11px;
}

.td-vip-indicator-list--smc .td-vip-indicator-actions .td-vip-indicator-toggle--secondary {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.td-vip-smc-indicator-card--hero,
.td-vip-smc-indicator-card--controls {
    grid-column: 1 / -1;
}

.td-vip-smc-indicator-card--hero {
    border-color: rgba(125, 211, 252, 0.48);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(238, 248, 255, 0.97)),
        linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(186, 230, 253, 0.04));
}

.td-vip-smc-indicator-card--controls {
    gap: 9px;
}

.td-vip-smc-indicator-hero-copy {
    gap: 7px;
    margin-top: 0;
}

.td-vip-smc-indicator-hero-copy strong {
    font-size: 15px;
}

.td-vip-smc-indicator-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.td-vip-smc-indicator-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(186, 230, 253, 0.88);
    background: rgba(239, 246, 255, 0.92);
    color: #0f4c81;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.td-vip-smc-indicator-actions {
    margin-top: 0;
}

.td-vip-smc-indicator-mode-row,
.td-vip-smc-indicator-preset-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.td-vip-smc-indicator-preset-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.td-vip-smc-indicator-mode-btn,
.td-vip-smc-indicator-preset-btn {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(191, 205, 221, 0.92);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    color: #475569;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.td-vip-smc-indicator-mode-btn:hover,
.td-vip-smc-indicator-mode-btn:focus-visible,
.td-vip-smc-indicator-preset-btn:hover,
.td-vip-smc-indicator-preset-btn:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 14px 24px -20px rgba(14, 165, 233, 0.28);
}

.td-vip-smc-indicator-mode-btn.is-active {
    border-color: rgba(56, 189, 248, 0.42);
    background:
        linear-gradient(180deg, rgba(240, 249, 255, 0.98), rgba(224, 242, 254, 0.96));
    color: #0f172a;
}

.td-vip-smc-indicator-mode-btn.is-locked,
.td-vip-smc-indicator-preset-btn.is-locked {
    cursor: pointer;
    color: #64748b;
    border-color: rgba(203, 213, 225, 0.94);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.96));
}

.td-vip-smc-indicator-caption {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.td-vip-ai-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 2px;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-topline {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 0;
}

#tdVipPanel_aiSummary .td-vip-ai-topline {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 0;
}

.td-vip-ai-topline-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.td-vip-ai-topline-copy {
    font-size: 12px;
    color: #607084;
}

.td-vip-ai-desk-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.td-vip-ai-desk-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.76);
    color: #607084;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.td-vip-ai-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-kicker {
    color: #7c8da1;
    letter-spacing: 0.14em;
}

#tdVipPanel_aiSummary .td-vip-ai-kicker {
    color: #7c8da1;
    letter-spacing: 0.14em;
}

.td-vip-ai-topline-main strong {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-topline-main strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}

#tdVipPanel_aiSummary .td-vip-ai-topline-main strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}

.td-vip-ai-context {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #d9e4ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-context {
    padding: 7px 11px;
    border-color: rgba(217, 228, 239, 0.88);
    background: rgba(255, 255, 255, 0.72);
}

#tdVipPanel_aiSummary .td-vip-ai-context {
    padding: 7px 11px;
    border-color: rgba(217, 228, 239, 0.88);
    background: rgba(255, 255, 255, 0.72);
}

.td-vip-ai-actions {
    justify-content: flex-end;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-actions {
    justify-content: flex-start;
}

#tdVipPanel_aiSummary .td-vip-ai-actions {
    justify-content: flex-start;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-actions .td-vip-primary-btn {
    min-width: 132px;
}

#tdVipPanel_aiSummary .td-vip-ai-actions .td-vip-primary-btn {
    min-width: 132px;
}

.td-vip-ai-loading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.td-vip-ai-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.td-vip-ai-skeleton-card {
    display: block;
    min-height: 96px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e8eef5 0%, #f8fbff 45%, #e8eef5 100%);
    background-size: 200% 100%;
    animation: td-vip-ai-loading 1.3s ease-in-out infinite;
}

.td-vip-ai-skeleton-card--wide {
    grid-column: 1 / -1;
    min-height: 120px;
}

.td-vip-ai-loading-bar {
    display: block;
    height: 10px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 45%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: td-vip-ai-loading 1.3s ease-in-out infinite;
}

.td-vip-ai-loading-bar--short {
    width: 58%;
}

@keyframes td-vip-ai-loading {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Risk Calculator */
.td-vip-risk-info-strip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.92);
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
}

.td-vip-risk-result {
    display: grid;
    gap: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 0;
    background: transparent;
}

.td-vip-risk-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    font-size: 12px;
}

.td-vip-risk-row:first-child {
    border-top: 0;
}

.td-vip-risk-row span {
    color: #64748b;
    font-size: 11px;
}

.td-vip-risk-row strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

/* Harmonic Scanner */
.td-vip-harmonic-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.td-vip-harmonic-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.td-vip-harmonic-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
}

.td-vip-harmonic-badge--forming {
    background: #fef3c7;
    color: #92400e;
}

.td-vip-harmonic-ratios,
.td-vip-harmonic-dzone,
.td-vip-harmonic-quality {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* SMC Structure */
.td-vip-smc-panel {
    gap: 12px;
}

.td-vip-smc-overlay-toolbar-btn {
    min-width: 92px;
    color: #0f766e;
}

.td-vip-smc-overlay-toolbar-btn.is-off {
    color: #64748b;
}

.td-vip-smc-overlay-check {
    flex: 1 1 auto;
    margin-right: auto;
}

.td-vip-smc-bias-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #dbe8f4;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.td-vip-smc-bias-card.is-bullish {
    border-color: rgba(16, 185, 129, 0.38);
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.td-vip-smc-bias-card.is-bearish {
    border-color: rgba(249, 115, 22, 0.34);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.94) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.td-vip-smc-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.td-vip-smc-bias-card strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.td-vip-smc-bias-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
}

.td-vip-smc-exec-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #dbe8f4;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.22);
}

.td-vip-smc-exec-card.is-bullish {
    border-color: rgba(16, 185, 129, 0.36);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.td-vip-smc-exec-card.is-bearish {
    border-color: rgba(249, 115, 22, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 247, 237, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.td-vip-smc-exec-card.is-neutral {
    border-color: rgba(148, 163, 184, 0.32);
}

.td-vip-smc-exec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.td-vip-smc-exec-score {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(203, 213, 225, 0.88);
    font-size: 11px;
    font-weight: 700;
    color: #334155;
}

.td-vip-smc-exec-card strong {
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.td-vip-smc-exec-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

.td-vip-smc-exec-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.td-vip-smc-exec-chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(203, 213, 225, 0.9);
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.td-vip-smc-exec-chip.is-muted {
    color: #94a3b8;
}

.td-vip-smc-level-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.td-vip-smc-level-card,
.td-vip-smc-event-card,
.td-vip-smc-section-shell {
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.88);
}

.td-vip-smc-level-card strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.td-vip-smc-level-card small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

.td-vip-smc-level-card p {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: #475569;
}

.td-vip-smc-level-label,
.td-vip-smc-subhead {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.td-vip-smc-subsection {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.td-vip-smc-events,
.td-vip-smc-swings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.td-vip-smc-event-card {
    box-shadow: 0 16px 30px -28px rgba(15, 23, 42, 0.28);
}

.td-vip-smc-event-card.is-bullish {
    border-color: rgba(16, 185, 129, 0.28);
}

.td-vip-smc-event-card.is-bearish {
    border-color: rgba(249, 115, 22, 0.28);
}

.td-vip-smc-flow-card,
.td-vip-smc-ob-card {
    box-shadow: 0 16px 30px -28px rgba(15, 23, 42, 0.22);
}

.td-vip-smc-event-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.td-vip-smc-event-type,
.td-vip-smc-event-zone {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.td-vip-smc-event-head strong {
    font-size: 14px;
    color: #0f172a;
}

.td-vip-smc-event-meta {
    font-size: 12px;
    color: #64748b;
}

.td-vip-smc-event-card p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
}

.td-vip-smc-swing-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.td-vip-smc-swing-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 96px 98px;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
}

.td-vip-smc-swing-row strong {
    font-size: 13px;
    color: #0f172a;
}

.td-vip-smc-swing-row span,
.td-vip-smc-swing-row em {
    color: #64748b;
    font-style: normal;
}

.td-vip-smc-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
}

.td-vip-smc-overlay.is-hidden {
    display: none;
}

.td-vip-smc-overlay-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.td-vip-smc-zigzag {
    fill: none;
    stroke: rgba(14, 165, 233, 0.88);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 12px rgba(14, 165, 233, 0.18));
}

.td-vip-smc-swing-dot {
    fill: #ffffff;
    stroke: rgba(14, 165, 233, 0.95);
    stroke-width: 2;
}

.td-vip-smc-swing-label {
    fill: #0f172a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.td-vip-smc-zigzag.is-muted {
    stroke: rgba(14, 165, 233, 0.38);
    stroke-width: 1.7;
    filter: none;
}

.td-vip-smc-swing-dot.is-muted {
    opacity: 0.45;
    stroke-width: 1.6;
}

.td-vip-smc-swing-dot.is-focus {
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.18));
}

.td-vip-smc-swing-label.is-focus {
    fill: #0f172a;
}

.td-vip-smc-event-chip rect {
    stroke-width: 1;
}

.td-vip-smc-event-chip text {
    fill: #0f172a;
    font-size: 11px;
    font-weight: 700;
    text-anchor: middle;
}

.td-vip-smc-event-chip.is-bullish rect {
    fill: rgba(220, 252, 231, 0.94);
    stroke: rgba(16, 185, 129, 0.48);
}

.td-vip-smc-event-chip.is-bearish rect {
    fill: rgba(255, 237, 213, 0.94);
    stroke: rgba(249, 115, 22, 0.46);
}

.td-vip-smc-event-chip.is-focus rect {
    stroke-width: 1.2;
    box-shadow: 0 10px 26px -18px rgba(15, 23, 42, 0.3);
}

.td-vip-smc-event-chip.is-muted rect {
    opacity: 0.76;
    stroke-width: 1;
}

.td-vip-smc-sweep-chip rect {
    fill: rgba(255, 255, 255, 0.96);
    stroke: rgba(14, 165, 233, 0.54);
}

.td-vip-smc-fvg-band,
.td-vip-smc-ob-band {
    stroke-width: 1.2;
}

.td-vip-smc-fvg-band.is-bullish {
    fill: rgba(16, 185, 129, 0.12);
    stroke: rgba(16, 185, 129, 0.34);
}

.td-vip-smc-fvg-band.is-bearish {
    fill: rgba(249, 115, 22, 0.12);
    stroke: rgba(249, 115, 22, 0.34);
}

.td-vip-smc-ob-band.is-bullish {
    fill: rgba(14, 165, 233, 0.08);
    stroke: rgba(14, 165, 233, 0.52);
    stroke-dasharray: 5 4;
}

.td-vip-smc-ob-band.is-bearish {
    fill: rgba(239, 68, 68, 0.08);
    stroke: rgba(239, 68, 68, 0.48);
    stroke-dasharray: 5 4;
}

.td-vip-smc-fvg-band.is-focus,
.td-vip-smc-ob-band.is-focus {
    stroke-width: 1.5;
}

.td-vip-smc-fvg-band.is-muted,
.td-vip-smc-ob-band.is-muted {
    opacity: 0.68;
}

.td-vip-smc-focus-anchor {
    fill: #ffffff;
    stroke-width: 2;
}

.td-vip-smc-focus-anchor.is-bullish {
    stroke: rgba(16, 185, 129, 0.95);
}

.td-vip-smc-focus-anchor.is-bearish {
    stroke: rgba(249, 115, 22, 0.92);
}

.td-vip-smc-overlay-bias {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 124px;
    max-width: min(220px, calc(100% - 28px));
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(186, 230, 253, 0.92);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 42px -28px rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(10px);
}

.td-vip-smc-overlay-bias.is-bullish {
    border-color: rgba(16, 185, 129, 0.38);
    background: rgba(236, 253, 245, 0.88);
}

.td-vip-smc-overlay-bias.is-bearish {
    border-color: rgba(249, 115, 22, 0.32);
    background: rgba(255, 247, 237, 0.88);
}

.td-vip-smc-overlay-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.td-vip-smc-overlay-bias strong {
    font-size: 15px;
    line-height: 1.1;
    color: #0f172a;
}

.td-vip-smc-overlay-bias small {
    font-size: 11px;
    color: #475569;
}

body.td-vip-body.is-night-mode .td-vip-smc-bias-card,
body.td-vip-body.is-night-mode .td-vip-smc-exec-card,
body.td-vip-body.is-night-mode .td-vip-smc-level-card,
body.td-vip-body.is-night-mode .td-vip-smc-event-card,
body.td-vip-body.is-night-mode .td-vip-smc-swing-row {
    border-color: rgba(71, 85, 105, 0.9);
    background: rgba(15, 23, 42, 0.78);
}

body.td-vip-body.is-night-mode .td-vip-smc-bias-card strong,
body.td-vip-body.is-night-mode .td-vip-smc-exec-card strong,
body.td-vip-body.is-night-mode .td-vip-smc-event-head strong,
body.td-vip-body.is-night-mode .td-vip-smc-level-card strong,
body.td-vip-body.is-night-mode .td-vip-smc-swing-row strong {
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-smc-kicker,
body.td-vip-body.is-night-mode .td-vip-smc-level-label,
body.td-vip-body.is-night-mode .td-vip-smc-subhead,
body.td-vip-body.is-night-mode .td-vip-smc-bias-card p,
body.td-vip-body.is-night-mode .td-vip-smc-exec-card p,
body.td-vip-body.is-night-mode .td-vip-smc-level-card small,
body.td-vip-body.is-night-mode .td-vip-smc-level-card p,
body.td-vip-body.is-night-mode .td-vip-smc-event-meta,
body.td-vip-body.is-night-mode .td-vip-smc-event-card p,
body.td-vip-body.is-night-mode .td-vip-smc-swing-row span,
body.td-vip-body.is-night-mode .td-vip-smc-swing-row em {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode .td-vip-smc-exec-score,
body.td-vip-body.is-night-mode .td-vip-smc-exec-chip {
    border-color: rgba(71, 85, 105, 0.9);
    background: rgba(30, 41, 59, 0.86);
    color: #cbd5e1;
}

body.td-vip-body.is-night-mode .td-vip-smc-event-type,
body.td-vip-body.is-night-mode .td-vip-smc-event-zone {
    border-color: rgba(71, 85, 105, 0.9);
    background: rgba(30, 41, 59, 0.86);
    color: #cbd5e1;
}

body.td-vip-body.is-night-mode .td-vip-smc-overlay-toolbar-btn {
    color: #67e8f9;
}

body.td-vip-body.is-night-mode .td-vip-smc-overlay-toolbar-btn.is-off {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode .td-vip-smc-zigzag {
    stroke: rgba(56, 189, 248, 0.86);
}

body.td-vip-body.is-night-mode .td-vip-smc-zigzag.is-muted {
    stroke: rgba(56, 189, 248, 0.34);
}

body.td-vip-body.is-night-mode .td-vip-smc-swing-dot {
    fill: rgba(15, 23, 42, 0.94);
    stroke: rgba(56, 189, 248, 0.9);
}

body.td-vip-body.is-night-mode .td-vip-smc-swing-dot.is-muted {
    opacity: 0.4;
}

body.td-vip-body.is-night-mode .td-vip-smc-swing-label,
body.td-vip-body.is-night-mode .td-vip-smc-event-chip text,
body.td-vip-body.is-night-mode .td-vip-smc-overlay-bias strong {
    fill: #e2e8f0;
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-smc-event-chip.is-bullish rect {
    fill: rgba(6, 78, 59, 0.92);
    stroke: rgba(16, 185, 129, 0.48);
}

body.td-vip-body.is-night-mode .td-vip-smc-event-chip.is-bearish rect {
    fill: rgba(124, 45, 18, 0.92);
    stroke: rgba(251, 146, 60, 0.48);
}

body.td-vip-body.is-night-mode .td-vip-smc-event-chip.is-muted rect {
    opacity: 0.72;
}

body.td-vip-body.is-night-mode .td-vip-smc-sweep-chip rect {
    fill: rgba(15, 23, 42, 0.94);
    stroke: rgba(56, 189, 248, 0.42);
}

body.td-vip-body.is-night-mode .td-vip-smc-focus-anchor {
    fill: rgba(15, 23, 42, 0.95);
}

body.td-vip-body.is-night-mode .td-vip-smc-fvg-band.is-bullish {
    fill: rgba(6, 78, 59, 0.22);
    stroke: rgba(16, 185, 129, 0.42);
}

body.td-vip-body.is-night-mode .td-vip-smc-fvg-band.is-bearish {
    fill: rgba(124, 45, 18, 0.22);
    stroke: rgba(251, 146, 60, 0.42);
}

body.td-vip-body.is-night-mode .td-vip-smc-ob-band.is-bullish {
    fill: rgba(8, 47, 73, 0.26);
    stroke: rgba(56, 189, 248, 0.46);
}

body.td-vip-body.is-night-mode .td-vip-smc-ob-band.is-bearish {
    fill: rgba(69, 10, 10, 0.26);
    stroke: rgba(248, 113, 113, 0.42);
}

body.td-vip-body.is-night-mode .td-vip-smc-fvg-band.is-muted,
body.td-vip-body.is-night-mode .td-vip-smc-ob-band.is-muted {
    opacity: 0.64;
}

body.td-vip-body.is-night-mode .td-vip-smc-indicator-card--hero {
    border-color: rgba(56, 189, 248, 0.24);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(12, 18, 34, 0.98)),
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(15, 23, 42, 0.04));
}

body.td-vip-body.is-night-mode .td-vip-smc-indicator-chip {
    border-color: rgba(56, 189, 248, 0.22);
    background: rgba(14, 25, 46, 0.84);
    color: #bae6fd;
}

body.td-vip-body.is-night-mode .td-vip-smc-indicator-mode-btn,
body.td-vip-body.is-night-mode .td-vip-smc-indicator-preset-btn {
    border-color: rgba(71, 85, 105, 0.84);
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    color: #dbeafe;
}

body.td-vip-body.is-night-mode .td-vip-smc-indicator-mode-btn.is-active {
    border-color: rgba(56, 189, 248, 0.34);
    background:
        linear-gradient(180deg, rgba(14, 116, 144, 0.32), rgba(12, 18, 34, 0.98));
    color: #f8fafc;
}

body.td-vip-body.is-night-mode .td-vip-smc-indicator-caption {
    color: #8ea3bc;
}

body.td-vip-body.is-night-mode .td-vip-smc-overlay-bias {
    border-color: rgba(71, 85, 105, 0.88);
    background: rgba(15, 23, 42, 0.82);
}

body.td-vip-body.is-night-mode .td-vip-smc-overlay-kicker,
body.td-vip-body.is-night-mode .td-vip-smc-overlay-bias small {
    color: #94a3b8;
}

@media (max-width: 640px) {
    .td-vip-smc-level-grid {
        grid-template-columns: 1fr;
    }

    .td-vip-smc-exec-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .td-vip-smc-swing-row {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .td-vip-smc-overlay-bias {
        top: 10px;
        left: 10px;
        min-width: 0;
        max-width: calc(100% - 20px);
    }
}

/* AI Summary */
.td-vip-ai-markdown {
    font-size: 14px;
    line-height: 1.8;
    color: #1e293b;
    max-width: 76ch;
}

.td-vip-ai-insights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.td-vip-ai-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.td-vip-ai-insight-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(223, 231, 240, 0.92);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.26);
}

.td-vip-ai-insight-card--conclusion {
    grid-column: 1 / -1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.96) 55%, rgba(248, 250, 252, 0.98) 100%);
    border-color: rgba(186, 230, 253, 0.98);
}

.td-vip-ai-insight-card--levels {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 253, 250, 0.94) 100%);
    border-color: rgba(167, 243, 208, 0.94);
}

.td-vip-ai-insight-card--risk {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 247, 237, 0.95) 100%);
    border-color: rgba(253, 186, 116, 0.92);
}

.td-vip-ai-insight-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7b8f;
}

.td-vip-ai-smc-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 15px 15px;
    border-radius: 18px;
    border: 1px solid rgba(186, 230, 253, 0.9);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.95) 54%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 18px 36px -30px rgba(15, 23, 42, 0.24);
}

.td-vip-ai-smc-summary-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.td-vip-ai-smc-summary-head strong {
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.td-vip-ai-smc-summary-head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
}

.td-vip-ai-smc-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.td-vip-ai-smc-pill {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.78);
}

.td-vip-ai-smc-pill span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.td-vip-ai-smc-pill strong {
    font-size: 13px;
    line-height: 1.45;
    color: #0f172a;
}

.td-vip-ai-smc-pill--wide {
    grid-column: 1 / -1;
}

.td-vip-ai-smc-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.td-vip-ai-insight-card h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.td-vip-ai-insight-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #223247;
}

.td-vip-ai-sections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.td-vip-ai-section-card {
    padding: 14px 14px 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px -28px rgba(15, 23, 42, 0.24);
}

.td-vip-ai-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.td-vip-ai-section-bar {
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.td-vip-ai-section-head h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-content {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    padding: 18px 18px 18px;
    border-color: rgba(226, 232, 240, 0.82);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(246, 249, 253, 0.84) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

#tdVipPanel_aiSummary .td-vip-ai-content {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 18px 18px;
    border-color: rgba(226, 232, 240, 0.82);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(246, 249, 253, 0.84) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-markdown {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.78;
    color: #223247;
}

#tdVipPanel_aiSummary .td-vip-ai-markdown {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.78;
    color: #223247;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.td-vip-ai-markdown h2,
.td-vip-ai-markdown h3,
.td-vip-ai-markdown h4 {
    margin: 20px 0 10px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

.td-vip-ai-markdown h2 {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-markdown h2 {
    margin-top: 10px;
    font-size: 18px;
}

#tdVipPanel_aiSummary .td-vip-ai-markdown h2 {
    margin-top: 10px;
    font-size: 18px;
}

.td-vip-ai-markdown h3 {
    font-size: 16px;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-markdown h3 {
    font-size: 15px;
}

#tdVipPanel_aiSummary .td-vip-ai-markdown h3 {
    font-size: 15px;
}

.td-vip-ai-markdown h4 {
    font-size: 14px;
    color: #334155;
}

.td-vip-ai-markdown ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.td-vip-ai-markdown li + li {
    margin-top: 6px;
}

.td-vip-ai-markdown p {
    margin: 0;
}

.td-vip-ai-markdown p + p {
    margin-top: 12px;
}

.td-vip-ai-markdown strong {
    color: #0f172a;
    font-weight: 600;
}

.td-vip-ai-markdown em {
    color: #475569;
}

.td-vip-ai-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 11px;
    color: #94a3b8;
}

.td-vip-ai-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top-color: rgba(226, 232, 240, 0.84);
}

#tdVipPanel_aiSummary .td-vip-ai-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top-color: rgba(226, 232, 240, 0.84);
}

.td-vip-ext-panel--ai-drawer .td-vip-ai-meta span {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(226, 232, 240, 0.86);
    color: #7b8a9b;
}

#tdVipPanel_aiSummary .td-vip-ai-meta span {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(226, 232, 240, 0.86);
    color: #7b8a9b;
}

body.td-vip-body.td-vip-ai-drawer-open .td-vip-rightbar,
body.td-vip-body.td-vip-ai-drawer-open .td-vip-right-tools,
body.td-vip-body.td-vip-ai-drawer-open .td-vip-side-panel--watchlist,
body.td-vip-body.td-vip-smc-drawer-open .td-vip-rightbar,
body.td-vip-body.td-vip-smc-drawer-open .td-vip-right-tools,
body.td-vip-body.td-vip-smc-drawer-open .td-vip-side-panel--watchlist {
    transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
    opacity: 0.6;
    filter: saturate(0.72) blur(0.4px);
    transform: translateX(6px);
}

body.td-vip-body.td-vip-ai-drawer-open .td-vip-watch-item:not(.is-active),
body.td-vip-body.td-vip-smc-drawer-open .td-vip-watch-item:not(.is-active) {
    opacity: 0.7;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band {
    border-color: rgba(71, 85, 105, 0.9);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(17, 24, 39, 0.95) 52%, rgba(30, 41, 59, 0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(148, 163, 184, 0.08),
        0 20px 40px -28px rgba(2, 6, 23, 0.72);
}

body.td-vip-body.is-night-mode .td-vip-ext-panel--smc-drawer .td-vip-ext-panel-dialog,
body.td-vip-body.is-night-mode #tdVipPanel_smcStructure .td-vip-ext-panel-dialog {
    border-color: rgba(71, 85, 105, 0.9);
    background: linear-gradient(180deg, rgba(10, 18, 30, 0.94) 0%, rgba(8, 14, 24, 0.96) 100%);
    box-shadow: -28px 0 60px -38px rgba(2, 6, 23, 0.58);
}

body.td-vip-body.is-night-mode .td-vip-ext-panel--smc-drawer .td-vip-ext-panel-head,
body.td-vip-body.is-night-mode #tdVipPanel_smcStructure .td-vip-ext-panel-head {
    border-bottom-color: rgba(71, 85, 105, 0.86);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0.18) 100%);
}

body.td-vip-body.is-night-mode .td-vip-ext-panel--smc-drawer .td-vip-ext-panel-body,
body.td-vip-body.is-night-mode #tdVipPanel_smcStructure .td-vip-ext-panel-body {
    background: linear-gradient(180deg, rgba(12, 20, 34, 0.84) 0%, rgba(8, 14, 24, 0.9) 100%);
    border-color: rgba(71, 85, 105, 0.82);
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-main strong,
body.td-vip-body.is-night-mode .td-vip-ai-smc-summary-head strong,
body.td-vip-body.is-night-mode .td-vip-ai-smc-pill strong,
body.td-vip-body.is-night-mode .td-vip-ai-insight-card h3,
body.td-vip-body.is-night-mode .td-vip-ai-section-head h4 {
    color: #e5eef8;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-note,
body.td-vip-body.is-night-mode .td-vip-ai-topline-copy,
body.td-vip-body.is-night-mode .td-vip-ai-smc-summary-head p,
body.td-vip-body.is-night-mode .td-vip-ai-desk-chip,
body.td-vip-body.is-night-mode .td-vip-ai-insight-eyebrow,
body.td-vip-body.is-night-mode .td-vip-ai-smc-pill span {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-chip,
body.td-vip-body.is-night-mode .td-vip-ai-smc-summary,
body.td-vip-body.is-night-mode .td-vip-ai-smc-pill,
body.td-vip-body.is-night-mode .td-vip-ai-section-card,
body.td-vip-body.is-night-mode .td-vip-ai-insight-card {
    border-color: rgba(71, 85, 105, 0.88);
    background: rgba(15, 23, 42, 0.78);
}

body.td-vip-body.is-night-mode .td-vip-ai-insight-card--conclusion {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(12, 74, 110, 0.42) 100%);
}

body.td-vip-body.is-night-mode .td-vip-ai-insight-card--levels {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 95, 70, 0.38) 100%);
}

body.td-vip-body.is-night-mode .td-vip-ai-insight-card--risk {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(154, 52, 18, 0.24) 100%);
}

body.td-vip-body.is-night-mode .td-vip-ai-insight-card p,
body.td-vip-body.is-night-mode #tdVipPanel_aiSummary .td-vip-ai-markdown {
    color: #c9d8e7;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-status {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(125, 211, 252, 0.46);
    color: #d8efff;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-status.is-busy {
    border-color: rgba(250, 204, 21, 0.45);
    color: #fde68a;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-status.is-ready {
    border-color: rgba(74, 222, 128, 0.42);
    color: #bbf7d0;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-status.is-error {
    border-color: rgba(248, 113, 113, 0.46);
    color: #fecaca;
}

body.td-vip-body.is-night-mode .td-vip-ai-desk-band-status.is-locked {
    border-color: rgba(96, 165, 250, 0.46);
    background: rgba(30, 41, 59, 0.82);
    color: #bfdbfe;
}

body.td-vip-body.is-night-mode .td-vip-ai-access-state strong {
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-ai-access-state p {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode .td-vip-alerts-topline,
body.td-vip-body.is-night-mode .td-vip-alerts-form,
body.td-vip-body.is-night-mode .td-vip-alerts-list-shell,
body.td-vip-body.is-night-mode .td-vip-alert-item,
body.td-vip-body.is-night-mode .td-vip-ext-panel--alerts-drawer .td-vip-ext-panel-head {
    border-color: rgba(71, 85, 105, 0.88);
    background: rgba(15, 23, 42, 0.78);
}

body.td-vip-body.is-night-mode .td-vip-alerts-topline-main strong,
body.td-vip-body.is-night-mode .td-vip-alerts-list-head strong,
body.td-vip-body.is-night-mode .td-vip-alert-group-head strong,
body.td-vip-body.is-night-mode .td-vip-alert-price {
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode .td-vip-alerts-topline-main p,
body.td-vip-body.is-night-mode .td-vip-alerts-list-head span,
body.td-vip-body.is-night-mode .td-vip-alert-group-head span,
body.td-vip-body.is-night-mode .td-vip-alert-type,
body.td-vip-body.is-night-mode .td-vip-alert-msg,
body.td-vip-body.is-night-mode .td-vip-alert-item small {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode .td-vip-alert-triggered {
    background: rgba(69, 10, 10, 0.45);
    border-color: rgba(248, 113, 113, 0.34);
}

body.td-vip-body.is-night-mode .td-vip-alert-active {
    background: rgba(6, 78, 59, 0.38);
    border-color: rgba(74, 222, 128, 0.32);
}

@media (max-width: 640px) {
    .td-vip-ai-desk-band,
    .td-vip-ai-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .td-vip-ai-desk-band-side {
        align-items: flex-start;
    }

    .td-vip-ai-desk-meta,
    .td-vip-ai-actions {
        justify-content: flex-start;
    }

    .td-vip-ai-insights-grid,
    .td-vip-ai-skeleton-grid {
        grid-template-columns: 1fr;
    }

    .td-vip-ai-smc-summary-grid {
        grid-template-columns: 1fr;
    }

    .td-vip-ai-insight-card--conclusion,
    .td-vip-ai-skeleton-card--wide {
        grid-column: auto;
    }

    .td-vip-alert-item {
        flex-direction: column;
    }

    .td-vip-alert-actions,
    .td-vip-alert-group-head,
    .td-vip-alerts-list-head {
        width: 100%;
        justify-content: space-between;
    }
}

#tdVipRightPanel_ai .td-vip-ai-panel,
.td-vip-right-panel--ai .td-vip-ai-panel,
#tdVipRightPanel_smc .td-vip-smc-panel,
.td-vip-right-panel--smc .td-vip-smc-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
}

#tdVipRightPanel_ai .td-vip-right-panel-body,
.td-vip-right-panel--ai .td-vip-right-panel-body,
#tdVipRightPanel_smc .td-vip-right-panel-body,
.td-vip-right-panel--smc .td-vip-right-panel-body {
    padding: 0;
}

#tdVipRightPanel_ai .td-vip-ai-panel,
.td-vip-right-panel--ai .td-vip-ai-panel {
    padding: 18px 18px 24px;
}

#tdVipRightPanel_ai .td-vip-ai-desk-band,
.td-vip-right-panel--ai .td-vip-ai-desk-band,
#tdVipRightPanel_ai .td-vip-ai-topline,
.td-vip-right-panel--ai .td-vip-ai-topline {
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#tdVipRightPanel_ai .td-vip-ai-desk-band-main strong,
.td-vip-right-panel--ai .td-vip-ai-desk-band-main strong {
    font-size: 22px;
}

#tdVipRightPanel_ai .td-vip-ai-content,
.td-vip-right-panel--ai .td-vip-ai-content {
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#tdVipRightPanel_ai .td-vip-ai-insights,
.td-vip-right-panel--ai .td-vip-ai-insights {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#tdVipRightPanel_ai .td-vip-ai-insights-grid,
.td-vip-right-panel--ai .td-vip-ai-insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

#tdVipRightPanel_ai .td-vip-ai-insight-card,
.td-vip-right-panel--ai .td-vip-ai-insight-card,
#tdVipRightPanel_ai .td-vip-ai-smc-summary,
.td-vip-right-panel--ai .td-vip-ai-smc-summary,
#tdVipRightPanel_ai .td-vip-ai-section-card,
.td-vip-right-panel--ai .td-vip-ai-section-card {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#tdVipRightPanel_ai .td-vip-ai-insight-card:first-child,
.td-vip-right-panel--ai .td-vip-ai-insight-card:first-child,
#tdVipRightPanel_ai .td-vip-ai-section-card:first-child,
.td-vip-right-panel--ai .td-vip-ai-section-card:first-child {
    padding-top: 0;
}

#tdVipRightPanel_ai .td-vip-ai-smc-summary-head,
.td-vip-right-panel--ai .td-vip-ai-smc-summary-head,
#tdVipRightPanel_ai .td-vip-ai-section-head,
.td-vip-right-panel--ai .td-vip-ai-section-head {
    margin-bottom: 10px;
}

#tdVipRightPanel_ai .td-vip-ai-smc-summary-grid,
.td-vip-right-panel--ai .td-vip-ai-smc-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#tdVipRightPanel_ai .td-vip-ai-smc-pill,
.td-vip-right-panel--ai .td-vip-ai-smc-pill {
    padding: 12px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 0;
    background: transparent;
}

#tdVipRightPanel_ai .td-vip-ai-smc-pill--wide,
.td-vip-right-panel--ai .td-vip-ai-smc-pill--wide {
    grid-column: span 2;
}

#tdVipRightPanel_ai .td-vip-ai-tabs,
.td-vip-right-panel--ai .td-vip-ai-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#tdVipRightPanel_ai .td-vip-ai-tab-list,
.td-vip-right-panel--ai .td-vip-ai-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#tdVipRightPanel_ai .td-vip-ai-tab-btn,
.td-vip-right-panel--ai .td-vip-ai-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.78);
    color: #475569;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

#tdVipRightPanel_ai .td-vip-ai-tab-btn:hover,
.td-vip-right-panel--ai .td-vip-ai-tab-btn:hover,
#tdVipRightPanel_ai .td-vip-ai-tab-btn:focus-visible,
.td-vip-right-panel--ai .td-vip-ai-tab-btn:focus-visible,
#tdVipRightPanel_ai .td-vip-ai-tab-btn.is-active,
.td-vip-right-panel--ai .td-vip-ai-tab-btn.is-active {
    border-color: rgba(14, 165, 233, 0.34);
    background: rgba(239, 246, 255, 0.88);
    color: #0f4c81;
    transform: translateY(-1px);
    outline: none;
}

#tdVipRightPanel_ai .td-vip-ai-tab-label,
.td-vip-right-panel--ai .td-vip-ai-tab-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

#tdVipRightPanel_ai .td-vip-ai-tab-note,
.td-vip-right-panel--ai .td-vip-ai-tab-note {
    font-size: 11px;
    line-height: 1.5;
    color: #64748b;
}

#tdVipRightPanel_ai .td-vip-ai-markdown,
.td-vip-right-panel--ai .td-vip-ai-markdown {
    color: #334155;
    font-size: 13px;
    line-height: 1.75;
}

#tdVipRightPanel_ai .td-vip-ai-markdown h2,
.td-vip-right-panel--ai .td-vip-ai-markdown h2,
#tdVipRightPanel_ai .td-vip-ai-markdown h3,
.td-vip-right-panel--ai .td-vip-ai-markdown h3,
#tdVipRightPanel_ai .td-vip-ai-markdown h4,
.td-vip-right-panel--ai .td-vip-ai-markdown h4 {
    margin: 0 0 8px;
    color: #0f172a;
}

#tdVipRightPanel_ai .td-vip-ai-markdown p,
.td-vip-right-panel--ai .td-vip-ai-markdown p,
#tdVipRightPanel_ai .td-vip-ai-markdown ul,
.td-vip-right-panel--ai .td-vip-ai-markdown ul {
    margin: 0 0 10px;
}

#tdVipRightPanel_ai .td-vip-ai-meta,
.td-vip-right-panel--ai .td-vip-ai-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
    color: #64748b;
    font-size: 11px;
}

#tdVipRightPanel_ai .td-vip-ai-meta span,
.td-vip-right-panel--ai .td-vip-ai-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.92);
}

#tdVipRightPanel_smc .td-vip-smc-panel,
.td-vip-right-panel--smc .td-vip-smc-panel {
    position: relative;
    padding: 8px 18px 22px;
    gap: 14px;
}

#tdVipRightPanel_smc .td-vip-side-head,
.td-vip-right-panel--smc .td-vip-side-head {
    display: none;
}

#tdVipRightPanel_smc .td-vip-side-head-main,
.td-vip-right-panel--smc .td-vip-side-head-main {
    display: none;
}

#tdVipRightPanel_smc .td-vip-smc-tab-list,
.td-vip-right-panel--smc .td-vip-smc-tab-list {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 4;
    gap: 16px;
    min-height: 36px;
    padding: 4px 0 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

#tdVipRightPanel_smc .td-vip-smc-tab-list::-webkit-scrollbar,
.td-vip-right-panel--smc .td-vip-smc-tab-list::-webkit-scrollbar {
    display: none;
}

#tdVipRightPanel_smc .td-vip-smc-tab-btn,
.td-vip-right-panel--smc .td-vip-smc-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    flex: 0 0 auto;
    min-height: 24px;
    padding: 0 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #7b8796;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: color 0.18s ease, opacity 0.18s ease;
}

#tdVipRightPanel_smc .td-vip-smc-tab-btn::after,
.td-vip-right-panel--smc .td-vip-smc-tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

#tdVipRightPanel_smc .td-vip-smc-tab-btn:hover,
.td-vip-right-panel--smc .td-vip-smc-tab-btn:hover,
#tdVipRightPanel_smc .td-vip-smc-tab-btn:focus-visible,
.td-vip-right-panel--smc .td-vip-smc-tab-btn:focus-visible,
#tdVipRightPanel_smc .td-vip-smc-tab-btn.is-active,
.td-vip-right-panel--smc .td-vip-smc-tab-btn.is-active {
    background: transparent;
    color: #0f172a;
    outline: none;
}

#tdVipRightPanel_smc .td-vip-smc-tab-btn.is-active::after,
.td-vip-right-panel--smc .td-vip-smc-tab-btn.is-active::after {
    background: #2563eb;
}

#tdVipRightPanel_smc .td-vip-smc-tab-pane,
.td-vip-right-panel--smc .td-vip-smc-tab-pane {
    display: none;
    gap: 13px;
    align-content: start;
}

#tdVipRightPanel_smc .td-vip-smc-tab-pane.is-active,
.td-vip-right-panel--smc .td-vip-smc-tab-pane.is-active {
    display: grid;
}

#tdVipRightPanel_smc .td-vip-smc-level-grid--overview,
.td-vip-right-panel--smc .td-vip-smc-level-grid--overview,
#tdVipRightPanel_smc .td-vip-smc-level-grid--levels,
.td-vip-right-panel--smc .td-vip-smc-level-grid--levels {
    gap: 12px;
}

#tdVipRightPanel_smc .td-vip-smc-level-card--wide,
.td-vip-right-panel--smc .td-vip-smc-level-card--wide {
    grid-column: 1 / -1;
}

#tdVipRightPanel_smc .td-vip-smc-bias-card,
.td-vip-right-panel--smc .td-vip-smc-bias-card,
#tdVipRightPanel_smc .td-vip-smc-exec-card,
.td-vip-right-panel--smc .td-vip-smc-exec-card,
#tdVipRightPanel_smc .td-vip-smc-subsection,
.td-vip-right-panel--smc .td-vip-smc-subsection {
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#tdVipRightPanel_smc .td-vip-smc-level-grid,
.td-vip-right-panel--smc .td-vip-smc-level-grid {
    gap: 12px;
}

#tdVipRightPanel_smc .td-vip-smc-level-card,
.td-vip-right-panel--smc .td-vip-smc-level-card {
    padding: 14px 0 10px;
    border: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#tdVipRightPanel_smc .td-vip-smc-exec-chip,
.td-vip-right-panel--smc .td-vip-smc-exec-chip {
    background: rgba(241, 245, 249, 0.92);
}

#tdVipRightPanel_smc .td-vip-ext-actions,
.td-vip-right-panel--smc .td-vip-ext-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

#tdVipRightPanel_smc .td-vip-ext-actions .td-vip-primary-btn,
.td-vip-right-panel--smc .td-vip-ext-actions .td-vip-primary-btn {
    justify-self: start;
    min-width: 88px;
    min-height: 34px;
    padding: 0 12px;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    line-height: 1;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-desk-band,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-desk-band,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-topline,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-topline,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-insight-card,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-insight-card,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-smc-summary,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-smc-summary,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-section-card,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-section-card,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-bias-card,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-bias-card,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-exec-card,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-exec-card,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-subsection,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-subsection,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-level-card,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-level-card,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-smc-pill,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-smc-pill {
    border-color: rgba(30, 41, 59, 0.92);
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-btn,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-btn {
    border-color: rgba(30, 41, 59, 0.92);
    background: rgba(15, 23, 42, 0.7);
    color: #cbd5e1;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-btn:hover,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-btn:hover,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-btn:focus-visible,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-btn:focus-visible,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-btn.is-active,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-btn.is-active {
    border-color: rgba(56, 189, 248, 0.36);
    background: rgba(8, 47, 73, 0.42);
    color: #7dd3fc;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-label,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-label,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-markdown h2,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-markdown h2,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-markdown h3,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-markdown h3,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-markdown h4,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-markdown h4 {
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-tab-note,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-tab-note,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-markdown,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-markdown,
body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-meta,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-meta {
    color: #94a3b8;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-btn,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-btn {
    color: #9fb2c8;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-list,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-list {
    border-bottom-color: rgba(51, 65, 85, 0.88);
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(11, 18, 32, 0.94));
}

body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-btn:hover,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-btn:hover,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-btn:focus-visible,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-btn:focus-visible,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-btn.is-active,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-btn.is-active {
    background: transparent;
    color: #e2e8f0;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-tab-btn.is-active::after,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-tab-btn.is-active::after {
    background: #38bdf8;
}

body.td-vip-body.is-night-mode #tdVipRightPanel_ai .td-vip-ai-meta span,
body.td-vip-body.is-night-mode .td-vip-right-panel--ai .td-vip-ai-meta span,
body.td-vip-body.is-night-mode #tdVipRightPanel_smc .td-vip-smc-exec-chip,
body.td-vip-body.is-night-mode .td-vip-right-panel--smc .td-vip-smc-exec-chip {
    background: rgba(15, 23, 42, 0.86);
    color: #cbd5e1;
}

@media (max-width: 640px) {
    #tdVipRightPanel_ai .td-vip-ai-tab-list,
    .td-vip-right-panel--ai .td-vip-ai-tab-list,
    #tdVipRightPanel_ai .td-vip-ai-smc-summary-grid,
    .td-vip-right-panel--ai .td-vip-ai-smc-summary-grid {
        grid-template-columns: 1fr;
    }

    #tdVipRightPanel_ai .td-vip-ai-smc-pill--wide,
    .td-vip-right-panel--ai .td-vip-ai-smc-pill--wide {
        grid-column: auto;
    }
}

@keyframes td-vip-drawer-in {
    0% {
        opacity: 0;
        transform: translateX(22px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
