/* ==========================================================================
   HEALTH ONE CO. | WALLBOARD TV COMERCIAL (DISPLAY CORPORATIVO)
   Estilo Executivo de Alta Visibilidade para Telas e Televisores 4K / 1080p
   ========================================================================== */

:root {
    --bg-tv: #0A0807;
    --bg-card: rgba(24, 20, 18, 0.85);
    --bg-card-elevated: #1F1916;
    --bg-subtle: rgba(255, 255, 255, 0.03);

    /* Ouro Nobre Metálico & Bronze */
    --gold: #C5A059;
    --gold-light: #DFC282;
    --gold-dark: #A37E36;
    --gold-glow: rgba(197, 160, 89, 0.35);

    --bronze: #B87333;
    --bronze-light: #CD7F32;

    /* Textos & Contraste Alto para TV */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #8E8A83;

    /* Bordas */
    --border-card: rgba(197, 160, 89, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Cores de Status */
    --status-success: #10B981;
    --status-warning: #F59E0B;
    --status-info: #3B82F6;

    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.wallboard-body {
    background-color: var(--bg-tv);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(184, 115, 51, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #100C0A 0%, #0A0807 100%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Linha Superior com Brilho Dourado */
.top-glow-bar {
    height: 3px;
    background: linear-gradient(90deg, #0A0807 0%, var(--bronze) 20%, var(--gold-light) 50%, var(--gold-dark) 80%, #0A0807 100%);
    box-shadow: 0 0 16px var(--gold-glow);
    width: 100%;
    flex-shrink: 0;
}

/* Layout Geral para TV (100vh) */
.tv-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 3px);
    padding: 20px 28px 16px 28px;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Header da TV
   -------------------------------------------------------------------------- */
.tv-header {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr 1fr;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 14px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.tv-brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tv-logo {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.3));
}

.tv-brand-info {
    display: flex;
    flex-direction: column;
}

.tv-badge-live {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 800;
}

.tv-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Meta Central */
.tv-meta-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}

.meta-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.meta-numbers {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.realizado-number {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    letter-spacing: 0.5px;
}

.meta-divisor {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 300;
}

.meta-total {
    font-size: 19px;
    color: var(--text-secondary);
    font-weight: 600;
}

.meta-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-top: 4px;
}

.meta-progress-track {
    flex: 1;
    height: 9px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.meta-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bronze) 0%, var(--gold) 50%, var(--gold-light) 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px var(--gold-glow);
    transition: width 0.8s ease;
}

.meta-percent-text {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold-light);
    font-family: var(--font-mono);
    white-space: nowrap;
}

/* Relógio & Status */
.tv-clock-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.tv-clock {
    font-family: var(--font-mono);
    font-size: 27px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: 1px;
}

.tv-date {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.tv-pulse-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-success);
    box-shadow: 0 0 8px var(--status-success);
    animation: tvPulse 1.8s infinite ease-in-out;
}

@keyframes tvPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.pulse-text {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Grade Principal (3 Colunas)
   -------------------------------------------------------------------------- */
.tv-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 18px;
    flex: 1;
    min-height: 0;
}

.tv-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.panel-header {
    margin-bottom: 14px;
    flex-shrink: 0;
}

.panel-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.panel-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Coluna 1: 4 Semanas de Metas
   -------------------------------------------------------------------------- */
.weeks-container {
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
    justify-content: space-between;
}

.week-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.week-card.active {
    background: rgba(197, 160, 89, 0.06);
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(197, 160, 89, 0.15);
}

.week-card.completed {
    border-left: 3px solid var(--status-success);
}

.week-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.week-badge {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.week-badge.badge-active {
    color: var(--gold-light);
    font-weight: 800;
}

.week-status-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.tag-success {
    background: rgba(16, 185, 129, 0.18);
    color: var(--status-success);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.tag-warning {
    background: rgba(245, 158, 11, 0.18);
    color: var(--status-warning);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.tag-neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.week-values {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.week-realizado {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.week-meta {
    font-size: 11.5px;
    color: var(--text-muted);
}

.week-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
}

.week-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.6s ease;
}

.fill-gold {
    background: linear-gradient(90deg, var(--bronze) 0%, var(--gold) 100%);
}

.pulse-bar {
    animation: barPulse 2.5s infinite alternate;
}

@keyframes barPulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.week-footer-info {
    font-size: 10.5px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Coluna 2: Os 5 Funis & Conversão Vanessa
   -------------------------------------------------------------------------- */
.funnels-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.funnel-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    padding: 9px 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.funnel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.funnel-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.funnel-leads {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--gold-light);
    font-weight: 600;
}

.funnel-value {
    font-family: var(--font-mono);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gold);
}

.funnel-rate-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
}

.funnel-rate-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6 0%, var(--gold) 100%);
    border-radius: 999px;
}

.funnel-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: var(--text-muted);
}

/* Card Conversão Vanessa */
.vanessa-conversion-card {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(184, 115, 51, 0.08) 100%);
    border: 1px solid var(--gold);
    border-radius: 11px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    box-shadow: 0 4px 18px rgba(197, 160, 89, 0.15);
    flex-shrink: 0;
}

.vc-tag {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    font-weight: 800;
}

.vc-title {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-primary);
    margin: 2px 0;
}

.vc-desc {
    font-size: 10.5px;
    color: var(--text-secondary);
}

.vc-numbers {
    text-align: right;
}

.vc-rate {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    text-shadow: 0 0 14px var(--gold-glow);
}

.vc-sub {
    font-size: 10px;
    color: var(--status-success);
    font-weight: 700;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Coluna 3: Ranking MLS & Sub KPIs
   -------------------------------------------------------------------------- */
.btn-tv-admin {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tv-admin:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.mls-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.mls-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.mls-row:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.35);
    transform: translateX(2px);
}

.mls-row.top-1 {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
}

.mls-row.top-1:hover {
    background: rgba(197, 160, 89, 0.15);
}

.mls-row.active-person {
    background: rgba(197, 160, 89, 0.18) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 16px rgba(197, 160, 89, 0.35) !important;
    transform: translateX(4px);
}

.active-badge-tag {
    font-size: 9px;
    font-weight: 800;
    color: #0A0807;
    background: var(--gold);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}

.click-hint-tag {
    font-size: 8.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.mls-row:hover .click-hint-tag {
    opacity: 1;
    color: var(--gold-light);
    background: rgba(197, 160, 89, 0.2);
}

.mls-pos {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 800;
    color: var(--gold);
    width: 24px;
    text-align: center;
}

.mls-info {
    flex: 1;
}

.mls-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.mls-role {
    font-size: 10.5px;
    color: var(--text-muted);
}

.mls-score-block {
    text-align: right;
}

.mls-score {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-light);
}

.mls-deals {
    font-size: 10px;
    color: var(--text-muted);
}

.tv-subkpi-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    padding: 10px;
    margin-top: 10px;
    flex-shrink: 0;
}

.subkpi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subkpi-label {
    font-size: 9.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subkpi-val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

.text-gold {
    color: var(--gold);
}

.text-success {
    color: var(--status-success);
}

/* --------------------------------------------------------------------------
   Barra Inferior (Ticker de Notícias e Fechamentos)
   -------------------------------------------------------------------------- */
.tv-ticker-bar {
    background: #0E0B09;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.ticker-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
    letter-spacing: 1px;
}

.ticker-content {
    flex: 1;
    display: flex;
    gap: 28px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
    color: var(--text-secondary);
}

.tv-meta-status {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.tv-meta-status strong {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Modal Administrativo
   -------------------------------------------------------------------------- */
.tv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.tv-modal-content {
    background: #181412;
    border: 1px solid var(--gold);
    border-radius: 14px;
    width: 90%;
    max-width: 520px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.tv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

.tv-modal-header h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--gold-light);
}

.tv-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
}

.btn-save-mls {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0A0807;
    font-weight: 800;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    margin-top: 16px;
    transition: filter 0.2s ease;
}

.btn-save-mls:hover {
    filter: brightness(1.1);
}

/* ==========================================================================
   Curva Dinâmica de Crescimento & Evolução de Nível (Display TV)
   ========================================================================== */
.panel-center-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-header-with-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.tv-tab-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.tv-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tv-tab-btn.active {
    background: var(--gold);
    color: #0A0807;
    font-weight: 800;
    box-shadow: 0 2px 8px var(--gold-glow);
}

.tv-tab-auto {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--status-success);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.tv-tab-auto.off {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.center-tab-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Card do Gráfico */
.growth-chart-card-tv {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 12px;
}

.growth-card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.growth-card-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-title-icon {
    color: var(--gold-light);
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

.chart-legend-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.gold {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.legend-dot.dashed {
    background: rgba(255, 255, 255, 0.4);
}

.legend-dot.cyan {
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.legend-dot.bronze {
    background: #B87333;
    box-shadow: 0 0 8px rgba(184, 115, 51, 0.6);
}

.legend-dot.green {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.dataset-switcher {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    margin-left: 6px;
}

.btn-dataset {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-dataset.active {
    background: rgba(197, 160, 89, 0.2);
    color: var(--gold-light);
    border: 1px solid rgba(197, 160, 89, 0.35);
}

.individual-mode-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
}

.individual-badge-indicator {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.btn-back-general {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-back-general:hover {
    background: var(--gold);
    color: #0A0807;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* Área SVG */
.tv-svg-chart-wrapper {
    width: 100%;
    flex: 1;
    min-height: 220px;
    max-height: 270px;
    position: relative;
    margin: 4px 0;
}

.tv-svg-chart-wrapper svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.growth-svg-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: dashStroke 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dashStroke {
    to {
        stroke-dashoffset: 0;
    }
}



/* Métricas do Rodapé do Gráfico */
.tv-chart-foot-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

.tv-foot-metric-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tv-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    font-weight: 600;
}

.tv-metric-val {
    font-family: var(--font-mono);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.text-gold {
    color: var(--gold-light) !important;
}

.text-bronze {
    color: var(--bronze-light) !important;
}

.text-success {
    color: var(--status-success) !important;
}

