/* Tema claro do painel (passo 1): variaveis e fundos. Sobrepoe o que o tema escuro/neutro fixou. */
body.light-theme{
  --bg-surface:#ffffff;
  --bg-elevated:#f1f4f9;
  --divider:rgba(15,23,42,.10);
  --text-primary:#1a1f2b;
  --text-muted:#5b6b85;
  --a-rgb:15,23,42;
  color-scheme:light;
}
body.light-theme,
body.light-theme .app-main,
body.light-theme .app-main>header{background:#f4f6fa!important;color:#1a1f2b}
body.light-theme .app-main>header{border-bottom:1px solid rgba(15,23,42,.08)!important}
body.light-theme #appTopTitle{color:#1a1f2b!important}
body.light-theme #appTopSub{color:#5b6b85!important}

/* passo 2: Inicio, Seletivas, Metricas e Pipeline */
body.light-theme #homeFollowup .fu-actions>button:not(.fu-dismiss){background:rgba(15,23,42,.05)!important;color:#3b475c!important}
body.light-theme #homeFollowup .fu-actions>button:not(.fu-dismiss):hover{background:rgba(15,23,42,.1)!important;color:#1a1f2b!important}
body.light-theme #homeFollowup .fu-actions .fu-dismiss{color:#c4473e!important}
body.light-theme #planilhaView .ses-mode-toggle{background:#eceff5!important;border:1px solid rgba(15,23,42,.08)!important;box-shadow:none!important}
body.light-theme #planilhaView .ses-mode-btn{color:#5b6b85!important;background:transparent!important}
body.light-theme #planilhaView .ses-mode-btn.on{background:#fff!important;color:#1a1f2b!important;box-shadow:0 1px 2px rgba(15,23,42,.12)!important}
body.light-theme #planilhaView .ses-mode-btn.on b{color:#1a1f2b!important}
body.light-theme #planilhaView .ses-btn{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.14)!important;box-shadow:none!important}
body.light-theme #planilhaView .ses-btn:hover{background:#f1f4f9!important}
body.light-theme #planilhaView .ses-r-dir{background:transparent!important;box-shadow:none!important;border:0!important}
body.light-theme #planilhaView .ses-toggle.ses-toggle-sel{background:#eceff5!important;border-color:rgba(15,23,42,.1)!important}
body.light-theme #planilhaView .ses-grp-dia,body.light-theme #planilhaView #sesOverviewLabel,body.light-theme #planilhaView #sesOverviewLabel *{color:#1a1f2b!important}
body.light-theme #planilhaView .ses-time-tab-v75{color:#5b6b85!important}
body.light-theme #planilhaView .ses-time-tab-v75[aria-pressed=true]{background:#e8ecf4!important;color:#1a1f2b!important}
body.light-theme #planilhaView .ses-time-tab-v75 .ses-time-count-v75{background:rgba(15,23,42,.07)!important;color:#3b475c!important}
body.light-theme #planilhaView .ses-time-tab-v75[aria-pressed=true] .ses-time-count-v75{background:#4d83e8!important;color:#fff!important}
body.light-theme #planilhaView .ses-overview.ses-online .ses-time-tab-v75[aria-pressed=true]{background:rgba(103,108,245,.12)!important}
body.light-theme #planilhaView .ses-overview.ses-online .ses-time-tab-v75[aria-pressed=true] .ses-time-count-v75{background:#676cf5!important;color:#fff!important}
body.light-theme #planilhaView .ses-mode-btn.on[data-ses-modalidade="online"]{background:rgba(103,108,245,.12)!important;color:#4047d6!important}
body.light-theme #planilhaView .ses-mode-btn.on[data-ses-modalidade="online"] b{color:#4047d6!important}
body.light-theme #planilhaView .ses-fil{color:#5b6b85!important}
body.light-theme #planilhaView .ses-fil.on{color:rgb(var(--a))!important}
body.light-theme #planilhaView .ses-fil:hover{color:#1a1f2b!important}
body.light-theme #vgPeriodoTrigger,body.light-theme .vg-psel{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.14)!important}
body.light-theme .vg-period-menu{background:#fff!important;border:1px solid rgba(15,23,42,.12)!important;box-shadow:0 8px 24px rgba(15,23,42,.12)!important}
body.light-theme .vg-period-option{color:#1a1f2b!important}
body.light-theme .vg-period-option:hover{background:#f1f4f9!important}
body.light-theme #funilPrincipalDados .mt-fbar,body.light-theme #funilPrincipalDados .mt-barra,body.light-theme #funilHistorico .mt-barra{background:rgba(15,23,42,.08)!important}
body.light-theme #funilPrincipalDados .mt-rt1{fill:#1a1f2b}
body.light-theme #funilHistorico .mt-det th,body.light-theme #funilHistorico .mt-det-panel th{background:#eef1f6!important}
body.light-theme #funilHistorico .mt-det .mt-seg{background:#f1f4f9}
body.light-theme #funilHistorico .mt-det .mt-seg button[aria-selected=true]{background:#fff;color:#1a1f2b;box-shadow:0 1px 2px rgba(15,23,42,.12)}
body.light-theme [data-pj-view] .pj-matrix th{background:#eef1f6!important}
body.light-theme [data-pj-view] .pj-matrix .pj-mx-now{border-color:rgba(15,23,42,.3)!important;color:#1a1f2b!important}
body.light-theme [data-pj-view] .pj-matrix .pj-send{background:rgba(31,157,89,.12)!important;color:#1a7f47!important}
body.light-theme [data-pj-view] .pj-matrix .pj-send:disabled{background:rgba(15,23,42,.05)!important;color:#8793a8!important}
body.light-theme [data-pj-view] .pj-matrix .pj-mx-ok{color:#1f9d59}

/* passo 3: Seletivas online e modal de inclusao manual */
body.light-theme #planilhaView table.ses-tab.ses-online,
body.light-theme #planilhaView table.ses-tab.ses-online tbody td{background:#fff!important;border-color:rgba(15,23,42,.08)!important}
body.light-theme #planilhaView table.ses-tab.ses-online thead th{background:#eef1f6!important;color:#3b475c!important;border-color:rgba(15,23,42,.08)!important}
body.light-theme #planilhaView table.ses-tab.ses-online .ses-nome,
body.light-theme #planilhaView table.ses-tab.ses-online td{color:#1a1f2b!important}
body.light-theme #planilhaView table.ses-tab.ses-online .ses-mut,body.light-theme #planilhaView table.ses-tab.ses-online .ses-phone-cell{color:#5b6b85!important}
body.light-theme #planilhaView .ses-pb,body.light-theme #planilhaView .ses-ac{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.14)!important}
body.light-theme #planilhaView .ses-pb-ok.on,body.light-theme #planilhaView .ses-ac-tg.on{background:rgba(31,157,89,.12)!important;color:#1a7f47!important;border-color:rgba(31,157,89,.4)!important}
body.light-theme #planilhaView .ses-pb-no.on{background:rgba(196,71,62,.1)!important;color:#c4473e!important;border-color:rgba(196,71,62,.4)!important}
body.light-theme .ses-manual .ses-form{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.1)!important;box-shadow:0 18px 50px rgba(15,23,42,.22)!important}
body.light-theme .ses-manual .ses-form h2,body.light-theme .ses-manual .ses-form h3,body.light-theme .ses-manual .ses-form legend{color:#1a1f2b!important}
body.light-theme .ses-manual .ses-form label,body.light-theme .ses-manual .ses-form small,body.light-theme .ses-manual .ses-form p{color:#5b6b85!important}
body.light-theme .ses-manual .ses-form input,body.light-theme .ses-manual .ses-form select,body.light-theme .ses-manual .ses-form textarea,body.light-theme .ses-manual .ses-form .rp-select-trigger{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.18)!important}
body.light-theme .ses-manual .ses-form input::placeholder{color:#8793a8!important}
body.light-theme .ses-manual .ses-form button{color:#1a1f2b}
body.light-theme .ses-manual{background:rgba(15,23,42,.35)!important}

/* passo 4: especificidade da tabela online e textos do modal */
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online,
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online tbody td{background:#fff!important;border-color:rgba(15,23,42,.08)!important;color:#1a1f2b!important}
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online thead th{background:#eef1f6!important;color:#3b475c!important;border-color:rgba(15,23,42,.08)!important}
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online .ses-nome{color:#1a1f2b!important}
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online .ses-phone-cell,body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView table.ses-tab.ses-online .ses-mut{color:#5b6b85!important}
body.light-theme #planilhaView#planilhaView#planilhaView#planilhaView#planilhaView .ses-overview.ses-online{background:#fff!important}
body.light-theme .ses-manual .ses-form .ses-form-title{color:#1a1f2b!important}
body.light-theme .ses-manual .ses-form .ses-form-sub,body.light-theme .ses-manual .ses-form .ses-cap{color:#5b6b85!important}
body.light-theme .ses-manual .ses-form .ses-form-close{color:#5b6b85!important}
body.light-theme .ses-manual .ses-form .ses-btn{background:#fff!important;color:#1a1f2b!important;border:1px solid rgba(15,23,42,.16)!important}
body.light-theme .ses-manual .ses-form .ses-btn.ses-pri{background:#3461d1!important;color:#fff!important;border-color:#3461d1!important}

/* passo 5: botao primario do modal de inclusao */
body.light-theme .ses-manual .ses-form .ses-btn.ses-pri#sesManualSalvar{background:#3461d1!important;color:#fff!important;border-color:#3461d1!important}

/* seletivas: gestor em contorno azul no tema claro */
body.light-theme #sesLista#sesLista#sesLista#sesLista#sesLista .ses-tag.ses-tag-gestor{color:#2c4fa3!important;border-color:#3461d1!important;background:transparent!important}

/* TEMA_CLARO_SELOS_V1 (01/12/2026): selo "Conferir telefone" (amarelo ilegivel no fundo claro) e bloco de e-mails da ficha (ficava escuro) */
body.light-theme .chat-phone-check-badge,body.light-theme [data-selo-conferir]{color:#8a5a00 !important;background:rgba(238,176,72,.22) !important}
body.light-theme .ef-form input{background:#f4f6fa !important;color:#1a1f2b !important;border-color:#cbd5e1 !important}
body.light-theme .ef-action,body.light-theme .ef-item{border-color:#dbe1ec !important}
