/* ══════════════════════════════════
   THEMATIC SHIFT PANEL
   ══════════════════════════════════ */

.theme-shift-panel {
    margin-bottom: 28px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.theme-shift-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.theme-shift-title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.theme-shift-icon {
    width: 3px;
    height: 36px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--cyan));
    flex-shrink: 0;
    margin-top: 2px;
}

.theme-shift-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}

.theme-shift-sub {
    font-size: .72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: .03em;
    line-height: 1.4;
}

.theme-shift-period {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: .02em;
    margin-top: 3px;
}

.theme-shift-controls {
    flex-shrink: 0;
}

.theme-shift-toggle {
    display: flex;
    gap: 1px;
    background: rgba(10,18,30,.8);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 2px;
}

.ts-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .15s ease;
}

.ts-toggle-btn:hover {
    color: var(--text-secondary);
}

.ts-toggle-btn.active {
    background: rgba(59,123,255,.12);
    color: var(--accent);
    border: 1px solid rgba(59,123,255,.2);
}

.theme-shift-chart-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px 12px;
    height: 320px;
    position: relative;
}

.theme-shift-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Trends sub-chart */
.theme-shift-trends-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-shift-trends-label {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.theme-shift-trends-sub {
    font-size: .68rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: .02em;
}

.theme-shift-trends-container {
    height: 240px;
}
