/* FrogTech Connect — Frog Light Experience — RC16.30.10j
   Tema claro global, carregado por último para harmonizar módulos legados.
   O tema escuro original permanece disponível via data-theme="dark". */

.theme-toggle{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:7px 11px;
  border:1px solid rgba(78,132,96,.3);
  border-radius:999px;
  background:rgba(18,56,35,.48);
  color:#dff9e7;
  font:800 11px/1 Inter,Arial,sans-serif;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(77,222,118,.55);box-shadow:0 8px 22px rgba(0,0,0,.13)}
.theme-toggle:focus-visible{outline:2px solid #4ade80;outline-offset:2px}
.theme-toggle-icon{font-size:14px;line-height:1}
.theme-toggle-label{white-space:nowrap}

html[data-theme="light"]{
  color-scheme:light;
  --ft-primary:#169447;
  --ft-primary-hover:#117a3a;
  --ft-primary-active:#0c6530;
  --ft-secondary:#14532d;
  --ft-accent:#22c55e;
  --ft-bg:#eef7f1;
  --ft-surface-1:#ffffff;
  --ft-surface-2:#f8fcf9;
  --ft-surface-3:#edf7f0;
  --ft-border:#c8dccf;
  --ft-border-soft:rgba(64,112,78,.16);
  --ft-text:#173727;
  --ft-text-muted:#61766a;
  --ft-text-soft:#355b45;
  --ft-shadow-sm:0 9px 26px rgba(39,78,52,.08);
  --ft-shadow-md:0 20px 55px rgba(39,78,52,.12);
  --ft-focus:0 0 0 3px rgba(22,148,71,.16);
  --green:#169447;
  --green-2:#22c55e;
  --dark:#eaf4ed;
  --bg:#eef7f1;
  --card:#ffffff;
  --card-2:#f8fcf9;
  --line:#c8dccf;
  --text:#173727;
  --muted:#61766a;
  --danger:#dc2626;
  --warning:#d97706;
  --frog-green:#169447;
  --frog-green-strong:#117a3a;
  --frog-surface:#ffffff;
  --frog-border:#c8dccf;
  --frog-muted:#61766a;
  --frog-danger:#dc2626;
}

html[data-theme="light"] body{
  background:
    radial-gradient(circle at 76% 5%,rgba(34,197,94,.10),transparent 30%),
    radial-gradient(circle at 12% 78%,rgba(22,148,71,.06),transparent 28%),
    linear-gradient(145deg,#f6fbf7,#edf6f0 56%,#e9f3ec)!important;
  color:var(--ft-text)!important;
}
html[data-theme="light"] body::selection{background:rgba(34,197,94,.22);color:#123522}
html[data-theme="light"] a{color:#117a3a}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6{color:#153925}
html[data-theme="light"] .subtitle,
html[data-theme="light"] .muted,
html[data-theme="light"] .text-muted,
html[data-theme="light"] .field-hint,
html[data-theme="light"] .field-help{color:#61766a!important}

/* Estrutura principal */
html[data-theme="light"] .sidebar{
  background:rgba(255,255,255,.96)!important;
  border-right-color:#d6e5da!important;
  box-shadow:8px 0 28px rgba(38,78,52,.055);
}
html[data-theme="light"] .platform-brand-subtitle,
html[data-theme="light"] .brand-subtitle{color:#687d70!important}
html[data-theme="light"] .side-menu-section{color:#809287!important}
html[data-theme="light"] .side-menu a{
  color:#345645!important;
  border-color:transparent!important;
}
html[data-theme="light"] .side-menu a:hover{
  color:#0f5f2c!important;
  background:#eef8f1!important;
  border-color:#d4ead9!important;
}
html[data-theme="light"] .side-menu a.active{
  color:#0d5929!important;
  background:linear-gradient(135deg,#e2f6e8,#eefaf2)!important;
  border-color:#9fd6ae!important;
  box-shadow:inset 3px 0 0 #16a34a,0 4px 13px rgba(30,105,53,.08)!important;
}
html[data-theme="light"] .sidebar-version{color:#6a7f72!important;border-color:#d8e6dc!important;background:#f6faf7!important}
html[data-theme="light"] .sidebar-version strong{color:#24583a!important}
html[data-theme="light"] .sidebar-overlay{background:rgba(19,55,34,.28)!important}

html[data-theme="light"] .topbar{
  background:rgba(255,255,255,.88)!important;
  border-bottom-color:#d7e5db!important;
  box-shadow:0 7px 24px rgba(38,78,52,.055);
}
html[data-theme="light"] .mobile-brand strong{color:#183b28!important}
html[data-theme="light"] .mobile-brand span{color:#6b8072!important}
html[data-theme="light"] .user-pill,
html[data-theme="light"] .session-timer{
  color:#315b43!important;
  background:#f5faf6!important;
  border-color:#cfe0d4!important;
}
html[data-theme="light"] .session-timer strong{color:#117a3a!important}
html[data-theme="light"] .logout-link{
  color:#125c2e!important;
  background:#edf8f0!important;
  border:1px solid #b9d9c2!important;
}
html[data-theme="light"] .knowledge-context-button{
  color:#147a38!important;
  background:#edf9f0!important;
  border-color:#a8d7b4!important;
}
html[data-theme="light"] .theme-toggle{
  color:#28543b;
  background:#f4faf6;
  border-color:#c7dbce;
  box-shadow:0 4px 14px rgba(39,78,52,.06);
}
html[data-theme="light"] .theme-toggle:hover{background:#eaf7ee;border-color:#92cda1}
html[data-theme="light"] .content{color:#213e2d}
html[data-theme="light"] .app-footer{color:#6d8074!important;border-top-color:#d7e4da!important;background:rgba(255,255,255,.5)!important}
html[data-theme="light"] .app-version-meta strong{color:#315e43!important}

/* Superfícies globais e módulos legados */
html[data-theme="light"] :where(
  .card,.panel,.settings-section,.form-card,.public-card,
  .integration-card,.status-overview-card,.modal,.frog-dialog,
  .dash-kpi-card,.dash-mini,.dash-chart-card,.dash-list-card,
  .finance-card,.finance-panel,.finance-kpi,.finance-widget,
  .frog-finance-kpi,.frog-finance-panel,.frog-finance-title-card,.frog-finance-list-item,
  .frog-insight-card,.frog-finance-mini-kpi,.frog-report-format-card,.frog-report-module-card,
  .support-card,.portal-card,.knowledge-card,.help-card,.test-card,
  .pc-card,.pc-panel,.pc-form-section,.pc-help,
  .activation-card,.billing-card,.automation-card,.flow-card,
  .proposal-card,.contract-card,.customer-card,.tenant-card,.plan-card
){
  background:#fff!important;
  color:#213f2e!important;
  border-color:#cfe0d4!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] :where(.card,.panel,.settings-section,.form-card):hover{
  border-color:#acd3b6!important;
  box-shadow:0 13px 34px rgba(39,78,52,.10)!important;
}
html[data-theme="light"] :where(.card,.panel,.settings-section,.form-card,.modal,.frog-dialog,.support-card,.pc-card,.pc-panel) :where(h1,h2,h3,h4,strong){color:#183b28}
html[data-theme="light"] :where(.card,.panel,.settings-section,.form-card,.modal,.frog-dialog,.support-card,.pc-card,.pc-panel) :where(p,small,.muted){color:#65796d}

/* Componentes genéricos com nomes compostos */
html[data-theme="light"] .main-area :where(
  [class*="-toolbar"],[class*="-strip"],[class*="-nav"],
  [class*="-filters"],[class*="-summary"],[class*="-hero"],
  [class*="-header"],[class*="-head"]
){border-color:#d0e1d5}
html[data-theme="light"] .main-area :where([class*="-toolbar"],[class*="-strip"]){
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 9px 26px rgba(39,78,52,.07)!important;
}

/* Formulários */
html[data-theme="light"] label{color:#365947!important}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea{
  background:#fff!important;
  color:#183b28!important;
  border-color:#bed4c5!important;
  box-shadow:inset 0 1px 2px rgba(38,78,52,.025);
}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):hover,
html[data-theme="light"] select:hover,
html[data-theme="light"] textarea:hover{border-color:#8fbea0!important}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus{
  background:#fff!important;
  border-color:#169447!important;
  box-shadow:var(--ft-focus)!important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#87998e!important}
html[data-theme="light"] select option{background:#fff;color:#173727}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input:not(:checked){background:#dce8df!important;border-color:#b8cbbf!important}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input::before{box-shadow:0 2px 5px rgba(31,68,43,.22)}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input::after{color:#66796d}

/* Botões */
html[data-theme="light"] .btn{box-shadow:0 8px 20px rgba(22,148,71,.15)}
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .btn.secondary{
  background:#eef7f1!important;
  color:#22513a!important;
  border:1px solid #b9d3c1!important;
  box-shadow:none!important;
}
html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn.secondary:hover{background:#e2f2e7!important;border-color:#91bf9d!important}
html[data-theme="light"] .btn-ghost{color:#355d46!important;border-color:#bfd4c5!important}
html[data-theme="light"] .btn-ghost:hover{background:#edf7f0!important}
html[data-theme="light"] .icon-btn:not(.btn-danger){background:#f2f8f4!important;color:#315b43!important;border-color:#c8dccf!important}

/* Tabelas */
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .frog-finance-table-wrap{background:#fff;border:1px solid #d4e2d8}
html[data-theme="light"] :where(.table,.frog-finance-table,.frog-dre-table,.support-table) th{
  color:#587064!important;
  background:#f2f8f4!important;
  border-bottom-color:#d6e4da!important;
}
html[data-theme="light"] :where(.table,.frog-finance-table,.frog-dre-table,.support-table) td{
  color:#284735!important;
  border-bottom-color:#e0ebe3!important;
}
html[data-theme="light"] :where(.table,.frog-finance-table,.frog-dre-table,.support-table) tbody tr:hover td{background:#f3faf5!important}
html[data-theme="light"] .table th{color:#587064!important;background:#f2f8f4!important}
html[data-theme="light"] .table tbody tr:hover{background:#f3faf5!important}

/* Badges, alertas e modais */
html[data-theme="light"] .badge{background:#e7f6eb!important;color:#126530!important;border-color:#b8dcc2!important}
html[data-theme="light"] .badge-warning{background:#fff4d8!important;color:#8a5600!important}
html[data-theme="light"] .badge-danger{background:#fde8e8!important;color:#a92525!important}
html[data-theme="light"] .notice,
html[data-theme="light"] .alert-success{background:#e9f8ed!important;border-color:#a9d7b5!important;color:#185c30!important}
html[data-theme="light"] .alert-danger,
html[data-theme="light"] .form-alert{background:#fff0f0!important;border-color:#efb3b3!important;color:#9d2424!important}
html[data-theme="light"] .alert-warning{background:#fff8e6!important;border-color:#ebce89!important;color:#78510b!important}
html[data-theme="light"] .alert-info{background:#edf7ff!important;border-color:#a9d4ef!important;color:#245e7d!important}
html[data-theme="light"] .modal-backdrop{background:rgba(21,53,33,.36)!important}
html[data-theme="light"] .modal{background:#fff!important;border-color:#c7d9cc!important;box-shadow:0 28px 85px rgba(29,68,43,.22)!important}

/* Navegações e abas */
html[data-theme="light"] .settings-nav,
html[data-theme="light"] .tabs,
html[data-theme="light"] .frog-finance-nav{
  background:#fff!important;
  border-color:#cfe0d4!important;
  box-shadow:0 7px 22px rgba(39,78,52,.055);
}
html[data-theme="light"] .settings-nav a,
html[data-theme="light"] .tabs a,
html[data-theme="light"] .tab-button,
html[data-theme="light"] .frog-finance-nav a{
  color:#496656!important;
  background:transparent!important;
}
html[data-theme="light"] .settings-nav a:hover,
html[data-theme="light"] .tabs a:hover,
html[data-theme="light"] .tab-button:hover,
html[data-theme="light"] .frog-finance-nav a:hover{background:#edf8f0!important;color:#12672f!important;border-color:#c0ddc8!important}
html[data-theme="light"] .settings-nav a.active,
html[data-theme="light"] .tabs a.active,
html[data-theme="light"] .tab-button.active,
html[data-theme="light"] .frog-finance-nav a.active{
  background:#dff4e5!important;
  color:#0f602d!important;
  border-color:#8fc8a0!important;
  box-shadow:0 5px 15px rgba(30,105,53,.09)!important;
}

/* Dashboard */
html[data-theme="light"] .dash-hero-head,
html[data-theme="light"] .dashboard-hero,
html[data-theme="light"] .dash-goal-card{
  background:linear-gradient(135deg,#e5f7ea,#f9fcfa)!important;
  border-color:#b5d9be!important;
  color:#173727!important;
}
html[data-theme="light"] .dash-kpi-card,
html[data-theme="light"] .dash-mini,
html[data-theme="light"] .dash-chart-card,
html[data-theme="light"] .dash-list-card{
  background:#fff!important;
  border-color:#cfe0d4!important;
}
html[data-theme="light"] .dash-kpi-card strong,
html[data-theme="light"] .dash-mini strong,
html[data-theme="light"] .dash-row-item strong,
html[data-theme="light"] .dash-goal-card strong{color:#193d29!important}
html[data-theme="light"] .dash-kpi-card small,
html[data-theme="light"] .dash-mini small,
html[data-theme="light"] .dash-row-item small,
html[data-theme="light"] .dash-goal-card p{color:#647a6d!important}
html[data-theme="light"] .dash-green{background:linear-gradient(145deg,#effaf2,#fff)!important}
html[data-theme="light"] .dash-blue{background:linear-gradient(145deg,#f0f7ff,#fff)!important}
html[data-theme="light"] .dash-orange{background:linear-gradient(145deg,#fff8ed,#fff)!important}
html[data-theme="light"] .dash-red{background:linear-gradient(145deg,#fff3f2,#fff)!important}
html[data-theme="light"] .dash-pink{background:linear-gradient(145deg,#fff2f8,#fff)!important}
html[data-theme="light"] .dash-purple{background:linear-gradient(145deg,#f7f2ff,#fff)!important}
html[data-theme="light"] .dash-row-item{border-bottom-color:#e1ebe4!important}
html[data-theme="light"] .line-chart-fake{border-bottom-color:#d8e5dc!important}
html[data-theme="light"] .avatar-dot{background:#eef5f0!important}
html[data-theme="light"] .goal-bar{background:#cfe2d5!important}

/* Frog Finance */
html[data-theme="light"] .frog-finance-kpi,
html[data-theme="light"] .frog-finance-panel,
html[data-theme="light"] .frog-insight-card,
html[data-theme="light"] .frog-finance-mini-kpi,
html[data-theme="light"] .frog-finance-alert,
html[data-theme="light"] .frog-finance-report-strip,
html[data-theme="light"] .frog-reports-hero,
html[data-theme="light"] .frog-report-format-card,
html[data-theme="light"] .frog-report-module-card,
html[data-theme="light"] .frog-batch-toolbar,
html[data-theme="light"] .frog-batch-result{
  background:#fff!important;
  border-color:#cfe0d4!important;
  color:#213f2e!important;
  box-shadow:0 8px 24px rgba(39,78,52,.065)!important;
}
html[data-theme="light"] .frog-finance-kpi strong,
html[data-theme="light"] .frog-finance-panel-head h2,
html[data-theme="light"] .frog-finance-panel-head h3,
html[data-theme="light"] .frog-finance-action,
html[data-theme="light"] .frog-finance-table td,
html[data-theme="light"] .frog-insight-head h2,
html[data-theme="light"] .frog-insight-head h3,
html[data-theme="light"] .frog-finance-mini-kpi strong,
html[data-theme="light"] .frog-finance-report-strip-main strong,
html[data-theme="light"] .frog-report-filter-tags strong,
html[data-theme="light"] .frog-reports-hero h2{color:#183b28!important}
html[data-theme="light"] .frog-finance-kpi span,
html[data-theme="light"] .frog-finance-kpi small,
html[data-theme="light"] .frog-finance-panel-head small,
html[data-theme="light"] .frog-finance-action small,
html[data-theme="light"] .frog-insight-head p,
html[data-theme="light"] .frog-insight-head small,
html[data-theme="light"] .frog-finance-mini-kpi span,
html[data-theme="light"] .frog-finance-mini-kpi small,
html[data-theme="light"] .frog-finance-report-strip-main small,
html[data-theme="light"] .frog-reports-hero p,
html[data-theme="light"] .frog-report-module-card p,
html[data-theme="light"] .frog-report-format-card small{color:#647a6d!important}
html[data-theme="light"] .frog-finance-action,
html[data-theme="light"] .frog-finance-title-card,
html[data-theme="light"] .frog-finance-list-item,
html[data-theme="light"] .frog-report-filter-tags span,
html[data-theme="light"] .frog-report-notes>div{
  background:#f7fbf8!important;
  border-color:#d3e2d7!important;
  color:#284735!important;
}
html[data-theme="light"] .frog-finance-action:hover{background:#edf8f0!important;border-color:#a9d4b4!important}
html[data-theme="light"] .frog-finance-form-section,
html[data-theme="light"] .frog-finance-flow-row{border-color:#dde9e1!important}
html[data-theme="light"] .frog-finance-flow-row strong{color:#244632!important}
html[data-theme="light"] .frog-finance-empty,
html[data-theme="light"] .frog-insight-empty{background:#f8fbf9!important;color:#65796d!important;border-color:#bfd8c6!important}
html[data-theme="light"] .frog-finance-empty strong,
html[data-theme="light"] .frog-insight-empty strong{color:#244632!important}
html[data-theme="light"] .frog-batch-all,
html[data-theme="light"] .frog-batch-summary small,
html[data-theme="light"] .frog-batch-result span{color:#5e7567!important}
html[data-theme="light"] .frog-batch-summary strong{color:#183b28!important}

/* CRM, fluxo e automações */
html[data-theme="light"] :where(.kanban-board,.crm-board,.flow-board,.automation-grid){color:#244632}
html[data-theme="light"] :where(.kanban-column,.crm-column,.funnel-stage,.stage-row,.automation-rule,.automation-log,.smart-event){
  background:#fff!important;
  color:#274735!important;
  border-color:#cfe0d4!important;
  box-shadow:0 7px 20px rgba(39,78,52,.055)!important;
}
html[data-theme="light"] :where(.kanban-column,.crm-column) :where(h2,h3,strong){color:#173727!important}
html[data-theme="light"] :where(.kanban-card,.lead-card,.task-card){background:#f8fbf9!important;border-color:#d3e2d7!important;color:#294a37!important}
html[data-theme="light"] .funnel-stage:hover{background:#edf8f0!important}
html[data-theme="light"] .flow-modal-backdrop{background:rgba(21,53,33,.36)!important}
html[data-theme="light"] .flow-modal-card{background:#fff!important;color:#213f2e!important;border-color:#e5b7b7!important;box-shadow:0 24px 70px rgba(39,78,52,.2)!important}

/* Configurações, Platform Control, ajuda e suporte */
html[data-theme="light"] .integration-card{background:#fff!important}
html[data-theme="light"] .integration-type{color:#147a38!important}
html[data-theme="light"] .pc-form-section,
html[data-theme="light"] .pc-help,
html[data-theme="light"] .pc-command,
html[data-theme="light"] .help-sidebar,
html[data-theme="light"] .help-content,
html[data-theme="light"] .help-section,
html[data-theme="light"] .help-stat,
html[data-theme="light"] .test-card,
html[data-theme="light"] .interaction{
  background:#fff!important;
  color:#274735!important;
  border-color:#d1e1d6!important;
}
html[data-theme="light"] .pc-field input,
html[data-theme="light"] .pc-field select,
html[data-theme="light"] .pc-field textarea,
html[data-theme="light"] .pc-domain-input-row input{background:#fff!important;color:#173727!important;border-color:#bfd4c5!important}
html[data-theme="light"] .pc-field label,
html[data-theme="light"] .pc-check{color:#3e5f4d!important}
html[data-theme="light"] .pc-field small,
html[data-theme="light"] .pc-domain-form small{color:#6d8175!important}
html[data-theme="light"] .pc-command{background:#f2f8f4!important;color:#215338!important}
html[data-theme="light"] .article-header{background:linear-gradient(145deg,#eef8f1,#fff)!important;border-color:#d5e4d9!important}
html[data-theme="light"] .article-header h1,
html[data-theme="light"] .section-body h2{color:#173727!important}
html[data-theme="light"] .help-summary,
html[data-theme="light"] .section-body>p,
html[data-theme="light"] .help-list li,
html[data-theme="light"] .help-steps li{color:#5d7466!important}
html[data-theme="light"] .article-index{background:#f6faf7!important;border-color:#d9e6dc!important}
html[data-theme="light"] .article-index a,
html[data-theme="light"] .help-link:hover,
html[data-theme="light"] .help-link.active{background:#e7f5eb!important;color:#146a32!important}
html[data-theme="light"] .help-link{color:#476553!important}
html[data-theme="light"] .help-steps li{background:#f8fbf9!important;border-color:#d5e3d9!important}
html[data-theme="light"] .article-footer{background:linear-gradient(135deg,#eaf7ee,#fff)!important;border-color:#b7d9c0!important}
html[data-theme="light"] .support-form hr,
html[data-theme="light"] .ticket-thread{border-color:#dce8df!important}

/* Platform, billing, trial e ativação */
html[data-theme="light"] :where(.platform-card,.platform-panel,.tenant-card,.plan-card,.trial-card,.billing-card,.activation-card){background:#fff!important;color:#244632!important;border-color:#cfe0d4!important}
html[data-theme="light"] :where(.trial-global-banner,.platform-billing-banner,.activation-global-banner){box-shadow:0 7px 20px rgba(39,78,52,.07)}
html[data-theme="light"] .activation-global-banner{background:#eaf7ee!important;color:#245239!important;border-color:#b7d7bf!important}
html[data-theme="light"] .trial-global-banner{background:#fff8e5!important;color:#6f4b0a!important;border-color:#e7ca83!important}
html[data-theme="light"] .platform-billing-banner{background:#fff3ed!important;color:#793c22!important;border-color:#e7b89f!important}

/* Scrollbar */
html[data-theme="light"]{scrollbar-color:#a8c9b2 #eef5f0}
html[data-theme="light"] *{scrollbar-color:#a8c9b2 #eef5f0}
html[data-theme="light"] *::-webkit-scrollbar-track{background:#eef5f0!important}
html[data-theme="light"] *::-webkit-scrollbar-thumb{background:#a8c9b2!important;border-color:#eef5f0!important}
html[data-theme="light"] *::-webkit-scrollbar-thumb:hover{background:#83af91!important}

/* Ajustes responsivos */
@media(max-width:760px){
  .theme-toggle{width:100%;min-height:40px}
  html[data-theme="light"] .top-actions{background:transparent}
}

/* ========================================================================== 
   RC16.30.10d — Light Theme Polish
   O modo claro deixa de ser uma adaptação do dark e passa a ter superfícies,
   contraste e hierarquia próprios. Esta seção é carregada por último.
   ========================================================================== */

html[data-theme="light"]{
  --ft-primary:#16783d;
  --ft-primary-hover:#116532;
  --ft-primary-active:#0c5429;
  --ft-accent:#22c55e;
  --ft-bg:#f3f7f4;
  --ft-surface-1:#ffffff;
  --ft-surface-2:#f8faf9;
  --ft-surface-3:#eef5f0;
  --ft-border:#d5e2d9;
  --ft-border-soft:#e3ebe6;
  --ft-text:#183428;
  --ft-text-muted:#61756a;
  --ft-text-soft:#3f5c4c;
  --ft-shadow-sm:0 6px 20px rgba(30,67,45,.065);
  --ft-shadow-md:0 18px 46px rgba(30,67,45,.10);
  --frog-card-bg:linear-gradient(135deg,#ffffff 0%,#fbfdfb 58%,#eef8f1 100%);
  --frog-line:#cfe2d5;
  --frog-text:#183428;
  --frog-muted:#61756a;
  --dark:#f3f7f4;
  --bg:#f3f7f4;
  --card:#ffffff;
  --card-2:#f8faf9;
  --line:#d5e2d9;
  --text:#183428;
  --muted:#61756a;
}

html[data-theme="light"] body{
  background:
    radial-gradient(circle at 87% 2%,rgba(34,197,94,.055),transparent 28%),
    radial-gradient(circle at 4% 90%,rgba(22,120,61,.035),transparent 25%),
    linear-gradient(145deg,#f8faf9 0%,#f3f7f4 52%,#eef4f0 100%)!important;
}
html[data-theme="light"] .main-area{background:transparent!important}
html[data-theme="light"] .content{color:var(--ft-text)!important}
html[data-theme="light"] .page-head h1,
html[data-theme="light"] .adaptive-operation-head h2{color:#163526!important}
html[data-theme="light"] .page-head .subtitle,
html[data-theme="light"] .adaptive-operation-head p{color:#5d7366!important}

/* Marca, navegação e ações — menos névoa verde e mais definição */
html[data-theme="light"] .sidebar{
  background:#fff!important;
  border-right:1px solid #dce7df!important;
  box-shadow:6px 0 22px rgba(31,68,44,.045)!important;
}
html[data-theme="light"] .topbar{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #dce7df!important;
  box-shadow:0 4px 18px rgba(31,68,44,.045)!important;
  backdrop-filter:saturate(130%) blur(12px);
}
html[data-theme="light"] .side-menu a{color:#365746!important}
html[data-theme="light"] .side-menu a:hover{background:#f2f7f4!important;color:#145e31!important}
html[data-theme="light"] .side-menu a.active{
  background:#eaf6ee!important;
  color:#105c2e!important;
  border-color:#b7d8c0!important;
  box-shadow:inset 3px 0 0 #1d9b4d!important;
}
html[data-theme="light"] .topbar .topbar-operator-brand strong{color:#183428!important}
html[data-theme="light"] .topbar .topbar-operator-brand span{color:#667b6f!important}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .user-pill,
html[data-theme="light"] .session-timer,
html[data-theme="light"] .knowledge-context-button,
html[data-theme="light"] .logout-link{
  background:#f8faf9!important;
  border-color:#d4e1d8!important;
  color:#355646!important;
  box-shadow:none!important;
}
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .knowledge-context-button:hover,
html[data-theme="light"] .logout-link:hover{background:#edf6f0!important;border-color:#a9ceb4!important}

/* Botões com contraste estável em superfícies claras */
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-ghost):not(.btn-danger){
  background:linear-gradient(180deg,#198846,#146f39)!important;
  border-color:#146f39!important;
  color:#fff!important;
  text-shadow:0 1px 0 rgba(0,0,0,.08);
  box-shadow:0 7px 17px rgba(20,111,57,.17)!important;
}
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-ghost):not(.btn-danger):hover{
  background:linear-gradient(180deg,#167d40,#105e30)!important;
  border-color:#105e30!important;
}
html[data-theme="light"] .btn:disabled,
html[data-theme="light"] .btn[aria-disabled="true"]{opacity:.55!important;box-shadow:none!important}
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .btn.secondary{
  background:#fff!important;
  color:#28513a!important;
  border-color:#c7d9cd!important;
  box-shadow:0 3px 10px rgba(31,68,44,.045)!important;
}
html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn.secondary:hover{background:#f1f7f3!important;border-color:#a8cbb3!important;color:#145e31!important}

/* Frog Message e mensagens contextuais */
html[data-theme="light"] .frog-platform-widget,
html[data-theme="light"] .frog-tip,
html[data-theme="light"] .frog-empty-state{
  background:var(--frog-card-bg)!important;
  color:var(--frog-text)!important;
  border-color:var(--frog-line)!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .frog-platform-widget{
  position:relative;
  overflow:hidden;
  border-left:4px solid #22a653!important;
}
html[data-theme="light"] .frog-platform-widget:after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-95px;
  top:-110px;
  border-radius:50%;
  background:rgba(34,197,94,.07);
  pointer-events:none;
}
html[data-theme="light"] .frog-platform-widget-body h2,
html[data-theme="light"] .frog-empty-state-body h3,
html[data-theme="light"] .frog-tip-content strong{color:#173729!important}
html[data-theme="light"] .frog-platform-widget-body p,
html[data-theme="light"] .frog-empty-state-body p,
html[data-theme="light"] .frog-tip-content p{color:#60756a!important}
html[data-theme="light"] .frog-eyebrow{color:#16783d!important}
html[data-theme="light"] .frog-eyebrow:before{background:linear-gradient(90deg,#1a9b4b,#74d58e)!important;box-shadow:none!important}
html[data-theme="light"] .frog-tip-avatar{background:#edf7f0!important;border:1px solid #d5e6da}
html[data-theme="light"] .frog-tip-close{color:#587065!important}

/* Faixa de licença no Dashboard */
html[data-theme="light"] .dashboard-license-strip{
  background:#fff!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .dashboard-license-strip-main small{color:#648071!important}
html[data-theme="light"] .dashboard-license-strip-main strong{color:#173729!important}
html[data-theme="light"] .dashboard-license-copy p{color:#667a6f!important}
html[data-theme="light"] .dashboard-license-strip-meta span{
  background:#f6f9f7!important;
  border-color:#dfe8e2!important;
  color:#587063!important;
}
html[data-theme="light"] .dashboard-license-strip-meta b{color:#185f34!important}
html[data-theme="light"] .dashboard-license-strip>a{color:#146f39!important}

/* Dashboard CRM 2.0 — superfícies claras nativas */
html[data-theme="light"] .crm2-day-shell{margin-bottom:24px}
html[data-theme="light"] .crm2-day-head{
  background:linear-gradient(135deg,#e8f6ec 0%,#f8fbf9 62%,#eef8f1 100%)!important;
  border:1px solid #bddbc5!important;
  border-radius:20px!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .crm2-day-head h1{color:#173729!important}
html[data-theme="light"] .crm2-day-head p{color:#5c7466!important}
html[data-theme="light"] .crm2-eyebrow,
html[data-theme="light"] .crm2-section-kicker{color:#16813f!important}
html[data-theme="light"] .crm2-kpi-grid{
  grid-gap:10px!important;
  margin-top:10px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
}
html[data-theme="light"] .crm2-kpi{
  position:relative;
  overflow:hidden;
  padding:15px 16px!important;
  background:#fff!important;
  color:#446253!important;
  border:1px solid #d6e3da!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px rgba(31,68,44,.05)!important;
}
html[data-theme="light"] .crm2-kpi:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:#4cbb6b;
}
html[data-theme="light"] .crm2-kpi:hover{
  background:#f8fbf9!important;
  border-color:#a9d0b5!important;
  transform:translateY(-1px)!important;
  box-shadow:0 8px 20px rgba(31,68,44,.08)!important;
}
html[data-theme="light"] .crm2-kpi span{color:#526d5e!important}
html[data-theme="light"] .crm2-kpi strong{color:#173729!important}
html[data-theme="light"] .crm2-kpi small{color:#718479!important}
html[data-theme="light"] .crm2-kpi.danger:before{background:#e05b5b}
html[data-theme="light"] .crm2-kpi.success:before{background:#24a957}
html[data-theme="light"] .crm2-kpi.warn:before{background:#d9a52c}
html[data-theme="light"] .crm2-kpi.blue:before{background:#4f78d8}
html[data-theme="light"] .crm2-kpi.danger strong{color:#b83737!important}
html[data-theme="light"] .crm2-kpi.success strong{color:#16783d!important}
html[data-theme="light"] .crm2-kpi.warn strong{color:#986b0c!important}
html[data-theme="light"] .crm2-kpi.blue strong{color:#315cac!important}
html[data-theme="light"] .crm2-day-grid>.card{
  background:#fff!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .crm2-section-head h2,
html[data-theme="light"] .crm2-task-main strong,
html[data-theme="light"] .crm2-task-time strong,
html[data-theme="light"] .crm2-funnel-row strong,
html[data-theme="light"] .crm2-event strong{color:#173729!important}
html[data-theme="light"] .crm2-section-head a{color:#16783d!important}
html[data-theme="light"] .crm2-task{
  background:#f9fbfa!important;
  border-color:#e0e9e3!important;
  border-left-color:#43b765!important;
}
html[data-theme="light"] .crm2-task:hover{background:#f1f8f3!important}
html[data-theme="light"] .crm2-task-icon{background:#e7f5eb!important;color:#16783d!important}
html[data-theme="light"] .crm2-task-main small,
html[data-theme="light"] .crm2-task-time small,
html[data-theme="light"] .crm2-event small,
html[data-theme="light"] .crm2-event p,
html[data-theme="light"] .crm2-funnel-row>div:first-child{color:#667b6f!important}
html[data-theme="light"] .crm2-funnel-bar{background:#e5ede8!important}
html[data-theme="light"] .crm2-funnel-bar i{background:linear-gradient(90deg,#269b50,#74cf8b)!important}
html[data-theme="light"] .crm2-conversion{background:#edf7f0!important;color:#496556!important;border:1px solid #d6e7db}
html[data-theme="light"] .crm2-conversion strong{color:#16783d!important}
html[data-theme="light"] .crm2-event{border-bottom-color:#e2ebe5!important}
html[data-theme="light"] .crm2-event-dot{background:#3db061!important;box-shadow:0 0 0 4px rgba(61,176,97,.12)!important}
html[data-theme="light"] .crm2-empty>span{background:#e7f5eb!important;color:#16783d!important}
html[data-theme="light"] .crm2-empty p{color:#667b6f!important}

/* Dashboard executivo — remove blocos dark dentro do modo claro */
html[data-theme="light"] .adaptive-operation-head,
html[data-theme="light"] .adaptive-finance-shell{color:#183428!important}
html[data-theme="light"] .adaptive-base-card,
html[data-theme="light"] .dash-kpi-card,
html[data-theme="light"] .dash-mini,
html[data-theme="light"] .dash-chart-card,
html[data-theme="light"] .dash-list-card,
html[data-theme="light"] .dash-summary-card{
  background:#fff!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
  color:#183428!important;
}
html[data-theme="light"] .dash-summary-card{padding:17px!important}
html[data-theme="light"] .dash-summary-item{
  background:#f7faf8!important;
  border-color:#e0e9e3!important;
}
html[data-theme="light"] .dash-summary-item small,
html[data-theme="light"] .dash-mini small,
html[data-theme="light"] .dash-kpi-card small,
html[data-theme="light"] .dash-list-card small{color:#667b6f!important}
html[data-theme="light"] .dash-summary-item strong,
html[data-theme="light"] .dash-summary-head h2,
html[data-theme="light"] .dash-mini strong,
html[data-theme="light"] .dash-kpi-card strong,
html[data-theme="light"] .dash-list-card strong{color:#173729!important}
html[data-theme="light"] .dash-summary-item em,
html[data-theme="light"] .dash-mini em{color:#16783d!important}
html[data-theme="light"] .dash-goal-card{
  background:linear-gradient(135deg,#eef8f1,#fff)!important;
  border-color:#c6decf!important;
}
html[data-theme="light"] .dash-goal-card:after{background:rgba(34,197,94,.07)!important}
html[data-theme="light"] .dash-goal-card h2,
html[data-theme="light"] .dash-goal-card strong{color:#173729!important}
html[data-theme="light"] .dash-goal-card p,
html[data-theme="light"] .dash-goal-card small{color:#60756a!important}
html[data-theme="light"] .dash-row-item{border-bottom-color:#e3ebe6!important}
html[data-theme="light"] .dash-row-item:hover{background:#f8faf9!important}
html[data-theme="light"] .tiny-charge{background:#e7f5eb!important;color:#146f39!important}

/* Contas a Receber — KPIs com cor apenas como acento */
html[data-theme="light"] .finance-kpi{
  background:#fff!important;
  color:#183428!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .finance-kpi:after{background:rgba(34,197,94,.045)!important}
html[data-theme="light"] .finance-kpi strong{color:#173729!important}
html[data-theme="light"] .finance-kpi small{color:#6a7e72!important}
html[data-theme="light"] .finance-kpi span{color:#496656!important}
html[data-theme="light"] .finance-kpi .kpi-icon{box-shadow:none!important}
html[data-theme="light"] .finance-kpi.kpi-green{border-top:3px solid #3db45f!important}
html[data-theme="light"] .finance-kpi.kpi-cyan{border-top:3px solid #35aaa7!important}
html[data-theme="light"] .finance-kpi.kpi-blue{border-top:3px solid #5478d5!important}
html[data-theme="light"] .finance-kpi.kpi-yellow{border-top:3px solid #d6a52d!important}
html[data-theme="light"] .finance-kpi.kpi-red{border-top:3px solid #d75b55!important}
html[data-theme="light"] .finance-kpi.kpi-purple{border-top:3px solid #8d63d5!important}
html[data-theme="light"] .finance-kpi.kpi-green span{color:#16813f!important}
html[data-theme="light"] .finance-kpi.kpi-cyan span{color:#247d7a!important}
html[data-theme="light"] .finance-kpi.kpi-blue span{color:#3d5fae!important}
html[data-theme="light"] .finance-kpi.kpi-yellow span{color:#91650c!important}
html[data-theme="light"] .finance-kpi.kpi-red span{color:#ad3835!important}
html[data-theme="light"] .finance-kpi.kpi-purple span{color:#6743a9!important}

html[data-theme="light"] .finance-mini{
  background:#fff!important;
  color:#183428!important;
  border-color:#d5e2d9!important;
  box-shadow:0 4px 14px rgba(31,68,44,.05)!important;
}
html[data-theme="light"] .finance-mini>span{background:#edf6f0!important}
html[data-theme="light"] .finance-mini small{color:#496656!important}
html[data-theme="light"] .finance-mini strong{color:#173729!important}
html[data-theme="light"] .finance-mini em,
html[data-theme="light"] .finance-mini .mini-meta{color:#6a7e72!important}

/* Gráficos financeiros: cabeçalho integrado ao card, sem tarja escura */
html[data-theme="light"] .finance-chart-card{
  background:#fff!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .finance-chart-card .chart-head,
html[data-theme="light"] .dash-chart-card .chart-head{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:0 0 14px!important;
  margin:0 0 14px!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #e2ebe5!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-theme="light"] .finance-chart-card .chart-head h2,
html[data-theme="light"] .dash-chart-card .chart-head h2,
html[data-theme="light"] .chart-head h2{
  color:#173729!important;
  padding-bottom:0!important;
  text-shadow:none!important;
}
html[data-theme="light"] .chart-head h2:after{display:none!important}
html[data-theme="light"] .finance-chart-card .chart-head span,
html[data-theme="light"] .dash-chart-card .chart-head span,
html[data-theme="light"] .chart-head .chart-meta{color:#6a7e72!important}
html[data-theme="light"] .bar-chart{border-bottom-color:#dce6df!important}
html[data-theme="light"] .bar{box-shadow:none!important}
html[data-theme="light"] .bar-group small{color:#6a7e72!important}
html[data-theme="light"] .finance-legend{color:#526d5e!important}
html[data-theme="light"] .chart-list div{border-bottom-color:#e3ebe6!important}
html[data-theme="light"] .chart-list span{color:#526d5e!important}
html[data-theme="light"] .chart-list strong{color:#173729!important}
html[data-theme="light"] .donut:before{background:#fff!important;border-color:#d9e5dd!important;box-shadow:inset 0 0 0 5px #f6f9f7}
html[data-theme="light"] .donut strong{color:#173729!important}
html[data-theme="light"] .donut small{color:#6a7e72!important}

/* Frog Finance avançado, relatórios e lotes */
html[data-theme="light"] .frog-finance-kpi,
html[data-theme="light"] .frog-finance-panel,
html[data-theme="light"] .frog-insight-card,
html[data-theme="light"] .frog-finance-mini-kpi,
html[data-theme="light"] .frog-finance-alert,
html[data-theme="light"] .frog-finance-report-strip,
html[data-theme="light"] .frog-reports-hero,
html[data-theme="light"] .frog-batch-toolbar,
html[data-theme="light"] .frog-batch-result{
  background:#fff!important;
  border-color:#d5e2d9!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .frog-finance-kpi.warning{background:#fffdf7!important;border-color:#ead8a9!important}
html[data-theme="light"] .frog-finance-kpi.danger{background:#fff9f8!important;border-color:#edc9c6!important}
html[data-theme="light"] .frog-finance-kpi.info{background:#f8fbff!important;border-color:#c9dce9!important}
html[data-theme="light"] .frog-finance-alert h3,
html[data-theme="light"] .frog-batch-result strong,
html[data-theme="light"] .frog-finance-title-card h3{color:#173729!important}
html[data-theme="light"] .frog-finance-alert p,
html[data-theme="light"] .frog-batch-result span,
html[data-theme="light"] .frog-finance-title-card p{color:#61756a!important}
html[data-theme="light"] .frog-finance-alert-media,
html[data-theme="light"] .frog-wink{background:#edf7f0!important;border-color:#d4e5d9!important}
html[data-theme="light"] .frog-batch-toolbar{position:sticky}
html[data-theme="light"] .frog-batch-all,
html[data-theme="light"] .frog-batch-fields label{color:#526d5e!important}
html[data-theme="light"] .frog-batch-result.has-errors{background:#fffaf4!important;border-color:#ead2ad!important}

/* Modais inline legados */
html[data-theme="light"] .system-modal-backdrop{background:rgba(20,48,31,.38)!important}
html[data-theme="light"] .system-modal{
  background:#fff!important;
  color:#183428!important;
  border-color:#cbded1!important;
  box-shadow:0 28px 80px rgba(25,59,39,.22)!important;
}
html[data-theme="light"] .system-modal h2{color:#173729!important}
html[data-theme="light"] .system-modal p{color:#61756a!important}
html[data-theme="light"] .system-modal .warn{background:#fff2f1!important;border-color:#efc6c2!important;color:#9d2f2a!important}

/* Tabelas e filtros ficam neutros para longas jornadas */
html[data-theme="light"] .clients-card,
html[data-theme="light"] .filters-card,
html[data-theme="light"] .table-wrap{background:#fff!important;border-color:#d5e2d9!important}
html[data-theme="light"] .filters-card{box-shadow:none!important}
html[data-theme="light"] .table thead th{background:#f4f7f5!important;color:#506b5c!important}
html[data-theme="light"] .table tbody td{color:#294838!important}
html[data-theme="light"] .table tbody tr:nth-child(even) td{background:#fbfcfb}
html[data-theme="light"] .table tbody tr:hover td{background:#f0f7f2!important}
html[data-theme="light"] .action-btn{background:#f7faf8!important;border-color:#d4e1d8!important;color:#315443!important}
html[data-theme="light"] .action-btn:hover{background:#eaf5ee!important;border-color:#a8cdb3!important}

/* Contraste reduzido sem apagar informações auxiliares */
html[data-theme="light"] :where(.subtitle,.muted,.text-muted,small,.field-hint,.field-help){opacity:1}
html[data-theme="light"] :where(.card,.panel,.finance-card,.dash-chart-card,.dash-list-card,.crm2-day-grid>.card) :where(p,small,.muted){color:#667b6f}

@media(max-width:1100px){
  html[data-theme="light"] .crm2-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html[data-theme="light"] .crm2-day-head{padding:20px 18px!important}
  html[data-theme="light"] .crm2-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-theme="light"] .crm2-kpi{padding:13px!important}
  html[data-theme="light"] .frog-platform-widget{border-left-width:3px!important}
  html[data-theme="light"] .finance-chart-card .chart-head,
  html[data-theme="light"] .dash-chart-card .chart-head{flex-direction:column!important}
}

/* ========================================================================== 
   RC16.30.10e — Light Coverage & Contrast Hardening
   Cobertura transversal do tema claro: remove superfícies dark residuais,
   reforça contraste de ícones e reduz peso tipográfico em módulos legados.
   ========================================================================== */

html[data-theme="light"]{
  --ft-bg:#f3f6f4;
  --ft-surface-1:#ffffff;
  --ft-surface-2:#f7faf8;
  --ft-surface-3:#edf4ef;
  --ft-surface-accent:#e8f4ec;
  --ft-border:#d2dfd6;
  --ft-border-strong:#b9cec0;
  --ft-text:#18372a;
  --ft-text-2:#355747;
  --ft-text-muted:#687c70;
  --ft-green:#168443;
  --ft-green-soft:#e8f5ec;
  --ft-shadow-xs:0 2px 8px rgba(27,63,41,.045);
  --ft-shadow-sm:0 7px 22px rgba(27,63,41,.07);
  --ft-shadow-md:0 18px 44px rgba(27,63,41,.105);
}

/* Tipografia: leitura acima de peso visual */
html[data-theme="light"] body{font-weight:400}
html[data-theme="light"] :where(h1,h2,h3,h4){font-weight:700!important;letter-spacing:-.018em}
html[data-theme="light"] :where(.page-head h1,.impl-head h1,.support-head h1,.bill-head h1,.proposal-editor-head h1){font-weight:700!important}
html[data-theme="light"] :where(
  .kpi-card b,.crm2-kpi strong,.flow-kpis b,.proposal-kpi b,.bill-metrics strong,
  .impl-kpi strong,.support-kpi strong,.frog-finance-kpi strong,.finance-kpi strong,
  .pc-card strong,.acl-grid .card strong,.automation-summary strong
){font-weight:700!important;letter-spacing:-.012em}
html[data-theme="light"] :where(.side-menu a,.btn,.user-pill,.session-timer,.theme-toggle){font-weight:650!important}
html[data-theme="light"] :where(.subtitle,.muted,small,.field-hint,.field-help){font-weight:400!important}

/* Sidebar: clara, mas com presença e navegação perceptível */
html[data-theme="light"] .sidebar{
  background:linear-gradient(180deg,#fbfdfb 0%,#f5f9f6 58%,#f1f7f3 100%)!important;
  border-right:1px solid #cbdcd1!important;
  box-shadow:8px 0 26px rgba(27,63,41,.065)!important;
}
html[data-theme="light"] .sidebar:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,#149044,#4ccc72 72%,transparent);
  pointer-events:none;
}
html[data-theme="light"] .side-menu-section{
  color:#6b8174!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
}
html[data-theme="light"] .side-menu a{
  color:#355747!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
}
html[data-theme="light"] .side-menu a:hover{
  background:#edf6f0!important;
  border-color:#d1e3d6!important;
  color:#145f31!important;
}
html[data-theme="light"] .side-menu a.active{
  background:linear-gradient(90deg,#dff2e5,#edf8f0)!important;
  color:#0f5c2d!important;
  border-color:#a9d2b4!important;
  box-shadow:inset 3px 0 0 #159447,0 4px 12px rgba(24,115,56,.07)!important;
}
html[data-theme="light"] .side-menu .menu-icon{
  opacity:.92!important;
  filter:saturate(1.08) contrast(1.02);
}
html[data-theme="light"] .side-menu a.active .menu-icon{opacity:1!important;filter:saturate(1.2) contrast(1.05)}
html[data-theme="light"] .sidebar-version{background:#edf5ef!important;border-color:#cedfd3!important}

/* Ícones/SVGs claros herdados do dark: passam a seguir currentColor. */
html[data-theme="light"] .content :where(
  .icon-btn,.action-btn,.ft-action-btn,.pc-action,.stage-drag-handle,.stage-save-btn,.stage-add-btn,
  .support-modal-close,.bill-email-source-icon,.impl-project-icon,.module-icon,.permission-item,.icon-action
) :where(svg,[class*="icon"]){color:inherit}
html[data-theme="light"] .content :where(svg [fill="#fff"],svg [fill="#FFF"],svg [fill="#ffffff"],svg [fill="#FFFFFF"],svg [fill="white"]){fill:currentColor!important}
html[data-theme="light"] .content :where(svg [stroke="#fff"],svg [stroke="#FFF"],svg [stroke="#ffffff"],svg [stroke="#FFFFFF"],svg [stroke="white"]){stroke:currentColor!important}
html[data-theme="light"] .content :where(.icon-btn,.action-btn,.ft-action-btn,.pc-action,.stage-drag-handle,.stage-save-btn,.stage-add-btn){color:#315b45!important}
html[data-theme="light"] .content :where(.btn,.btn-primary,.btn-danger,.lead-whatsapp-btn,.lead-ribbon-v3) :where(svg,[class*="icon"]){color:inherit!important}

/* CRM Kanban — nenhuma coluna dark no tema claro */
html[data-theme="light"] .crm-kpi-grid .kpi-card{
  background:#fff!important;
  border:1px solid #d2e0d6!important;
  color:#234635!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .crm-kpi-grid .kpi-card b{color:#17392a!important}
html[data-theme="light"] .crm-kpi-grid .kpi-card span{color:#526e5f!important;opacity:1!important}
html[data-theme="light"] .crm-kpi-grid .kpi-card small{color:#71867a!important}
html[data-theme="light"] .kanban-board{background:transparent!important}
html[data-theme="light"] .kanban-col{
  background:#f4f8f5!important;
  border:1px solid #d3e1d7!important;
  border-radius:16px!important;
  box-shadow:0 5px 18px rgba(27,63,41,.045)!important;
}
html[data-theme="light"] .kanban-col>header{
  color:#294d3b!important;
  background:#edf5ef!important;
  border-bottom:1px solid #d6e3da!important;
  border-radius:15px 15px 0 0!important;
}
html[data-theme="light"] .kanban-col>header strong{color:#244b38!important;font-weight:700!important}
html[data-theme="light"] .kanban-count{background:#dcebe1!important;color:#315b45!important;border-color:#bdd3c4!important}
html[data-theme="light"] .kanban-dropzone{background:transparent!important}
html[data-theme="light"] .kanban-dropzone.is-empty::after{
  border-color:#a9cbb3!important;
  background:#f9fbfa!important;
  color:#668073!important;
}
html[data-theme="light"] .kanban-col.is-drag-over{
  background:#edf8f0!important;
  border-color:#62b77a!important;
  box-shadow:inset 0 0 0 2px rgba(31,151,71,.12),0 12px 28px rgba(27,63,41,.08)!important;
}
html[data-theme="light"] .kanban-col.is-drag-over header{color:#126333!important}
html[data-theme="light"] .lead-card-v3{
  background:#fff!important;
  border-color:#d2e0d6!important;
  box-shadow:0 7px 20px rgba(27,63,41,.08)!important;
}
html[data-theme="light"] .lead-card-v3:hover{box-shadow:0 12px 28px rgba(27,63,41,.12)!important}
html[data-theme="light"] .lead-card-v3 .lead-title{color:#18392a!important;font-weight:750!important}
html[data-theme="light"] .lead-card-v3 .lead-subtitle{color:#60766a!important;font-weight:500!important}
html[data-theme="light"] .lead-location{color:#47705a!important}
html[data-theme="light"] .lead-integration-origin{color:#23824a!important}
html[data-theme="light"] .lead-score-bar{background:#e3ebe6!important}
html[data-theme="light"] .lead-card-v3 .lead-value{border-top-color:#e1e9e4!important}
html[data-theme="light"] .lead-card-v3 .lead-value span{color:#6b8074!important}
html[data-theme="light"] .lead-card-v3 .lead-value b{color:#167d40!important}
html[data-theme="light"] .lead-actions-hover{border-top-color:#e1e9e4!important}
html[data-theme="light"] .lead-actions-hover .icon-btn{
  background:#f5f9f6!important;
  color:#315b45!important;
  border-color:#cbdcd1!important;
  box-shadow:none!important;
}
html[data-theme="light"] .lead-actions-hover .icon-btn:hover{
  background:#e8f5ec!important;
  color:#126333!important;
  border-color:#96c6a3!important;
  box-shadow:0 5px 14px rgba(27,63,41,.08)!important;
}
html[data-theme="light"] .lead-actions-hover .icon-btn.danger{background:#fff5f4!important;color:#b4453e!important;border-color:#ecc8c5!important}
html[data-theme="light"] .ft-modal-box{background:#fff!important;color:#18372a!important;border-color:#c9ddd0!important;box-shadow:var(--ft-shadow-md)!important}
html[data-theme="light"] .ft-modal-box h2{color:#18372a!important}
html[data-theme="light"] .ft-modal-box p{color:#61776b!important}
html[data-theme="light"] .crm-dnd-toast{background:#fff!important;color:#214735!important;border-color:#9ccca8!important;box-shadow:var(--ft-shadow-md)!important}

/* Fluxo Comercial 2.0 */
html[data-theme="light"] .flow-kpis>div,
html[data-theme="light"] .flow-panel{
  background:#fff!important;
  color:#1f4332!important;
  border-color:#cddfd3!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .flow-kpis>div{border-top:3px solid #55b872!important}
html[data-theme="light"] .flow-kpis b{color:#193a2b!important}
html[data-theme="light"] .flow-kpis span,
html[data-theme="light"] .flow-panel small,
html[data-theme="light"] .stage-sort-help{color:#687e72!important}
html[data-theme="light"] .flow-panel h2,
html[data-theme="light"] .stage-sort-help b{color:#214735!important}
html[data-theme="light"] .eyebrow{color:#21864a!important}
html[data-theme="light"] .funnel-stage{
  background:#f7faf8!important;
  color:#284c3a!important;
  border:1px solid #d8e4dc!important;
  border-top:3px solid var(--stage-color)!important;
}
html[data-theme="light"] .funnel-stage:hover{background:#f0f7f2!important;border-color:#b8d1c0!important}
html[data-theme="light"] .funnel-stage strong,
html[data-theme="light"] .funnel-stage b{color:#214735!important}
html[data-theme="light"] .funnel-stage small{color:#6d8276!important}
html[data-theme="light"] .stage-index{background:#e8f0eb!important;color:#516c5d!important}
html[data-theme="light"] .stage-bar{background:#e2ebe5!important}
html[data-theme="light"] .stage-row,
html[data-theme="light"] .rule-list>div{
  background:#f8faf9!important;
  color:#294c3a!important;
  border:1px solid #dce7df!important;
}
html[data-theme="light"] .stage-row.is-dirty{background:#edf8f0!important}
html[data-theme="light"] .pending-tools{background:#edf8f0!important;color:#315d46!important;border-color:#bad8c2!important}
html[data-theme="light"] .stage-drag-handle,
html[data-theme="light"] .icon-btn.stage-save-btn,
html[data-theme="light"] .icon-btn.stage-add-btn{
  background:#fff!important;
  color:#315b45!important;
  border-color:#c8d9ce!important;
  box-shadow:none!important;
}
html[data-theme="light"] .stage-drag-handle:hover,
html[data-theme="light"] .icon-btn.stage-save-btn:hover,
html[data-theme="light"] .icon-btn.stage-add-btn:hover{background:#eaf6ee!important;color:#126333!important;border-color:#90c49e!important}
html[data-theme="light"] .mini-switch span{background:#cbd9cf!important;box-shadow:inset 0 0 0 1px #b6c9bb!important}
html[data-theme="light"] .mini-switch input:checked+span{background:#1b9a4b!important}
html[data-theme="light"] .flow-modal-card{background:#fff!important;color:#234735!important;border-color:#e2b9b5!important;box-shadow:var(--ft-shadow-md)!important}
html[data-theme="light"] .flow-modal-backdrop{background:rgba(21,48,32,.38)!important}

/* Automações */
html[data-theme="light"] .usage-inline,
html[data-theme="light"] .automation-summary .card,
html[data-theme="light"] .automation-rule,
html[data-theme="light"] .automation-template,
html[data-theme="light"] .flow-card,
html[data-theme="light"] .builder-library,
html[data-theme="light"] .automation-log,
html[data-theme="light"] .empty-builder{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .usage-inline small,
html[data-theme="light"] .usage-inline p,
html[data-theme="light"] .automation-template p,
html[data-theme="light"] .flow-card p{color:#687e72!important}
html[data-theme="light"] .usage-inline strong,
html[data-theme="light"] .automation-template strong,
html[data-theme="light"] .flow-card h2{color:#1d4130!important}
html[data-theme="light"] .usage-inline>a{color:#167d40!important}
html[data-theme="light"] .usage-inline-progress,
html[data-theme="light"] .usage-meter-track{background:#e1eae4!important}
html[data-theme="light"] .automation-template:hover{background:#f1f8f3!important;border-color:#acd0b5!important}
html[data-theme="light"] .node{background:#f5f8f6!important;color:#315a45!important;border-color:#cbdcd1!important}
html[data-theme="light"] .node.trigger{background:#edf7f0!important}
html[data-theme="light"] .node.condition{background:#fff9e9!important}
html[data-theme="light"] .node.action{background:#eef4fa!important}
html[data-theme="light"] .builder-overlay{background:rgba(22,49,33,.38)!important}
html[data-theme="light"] .builder-panel,
html[data-theme="light"] .builder-head,
html[data-theme="light"] .builder-footer,
html[data-theme="light"] .builder-steps,
html[data-theme="light"] .builder-section,
html[data-theme="light"] .action-row{
  background:#fff!important;
  color:#234735!important;
  border-color:#d4e2d8!important;
}
html[data-theme="light"] .builder-steps span{background:#f1f6f3!important;color:#60776a!important;border-color:#d6e3da!important}
html[data-theme="light"] .builder-steps .active{background:#e5f4e9!important;color:#126333!important;border-color:#a7cdb1!important}
html[data-theme="light"] .switch-line{background:#f8faf9!important;border-color:#e0e8e3!important}

/* Propostas */
html[data-theme="light"] .proposal-kpi,
html[data-theme="light"] .proposal-editor-card,
html[data-theme="light"] .proposal-preview-box,
html[data-theme="light"] .proposal-preview-card{
  background:#fff!important;
  color:#234735!important;
  border-color:#d2e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .proposal-kpi{border-top:3px solid #6ab780!important}
html[data-theme="light"] .proposal-kpi span{color:#667d70!important}
html[data-theme="light"] .proposal-kpi b{color:#1c4030!important}
html[data-theme="light"] .proposal-upload-grid div,
html[data-theme="light"] .proposal-status-flow div{background:#f7faf8!important;border-color:#dce6df!important;color:#395d49!important}
html[data-theme="light"] .proposal-status-flow .on{background:#eaf7ee!important;border-color:#aad3b5!important}
html[data-theme="light"] .proposal-note{background:#edf8f0!important;color:#315e46!important;border-color:#b7d8bf!important}

/* Billing Center */
html[data-theme="light"] .bill-metrics article,
html[data-theme="light"] .bill-form,
html[data-theme="light"] .bill-panel,
html[data-theme="light"] .bill-engine-panel,
html[data-theme="light"] .bill-email-source-card,
html[data-theme="light"] .bill-independent-toggle{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .bill-metrics article{border-top:3px solid #6ab780!important}
html[data-theme="light"] .bill-metrics small,
html[data-theme="light"] .bill-metrics em,
html[data-theme="light"] .bill-form label small,
html[data-theme="light"] .bill-email-title p,
html[data-theme="light"] .bill-email-source-main p,
html[data-theme="light"] .bill-independent-toggle small,
html[data-theme="light"] .hint{color:#687e72!important}
html[data-theme="light"] .bill-metrics strong,
html[data-theme="light"] .panel-title h2,
html[data-theme="light"] .bill-engine-header h2,
html[data-theme="light"] .bill-email-source-main strong{color:#1d4130!important}
html[data-theme="light"] .bill-tabs{background:#f7faf8!important;border-bottom-color:#d7e4db!important}
html[data-theme="light"] .bill-tabs button{background:#fff!important;color:#3e614f!important;border-color:#ceded3!important}
html[data-theme="light"] .bill-tabs button.active{background:#e7f5eb!important;color:#126333!important;border-color:#8fc39e!important}
html[data-theme="light"] .bill-form input,
html[data-theme="light"] .bill-form select,
html[data-theme="light"] .bill-form textarea,
html[data-theme="light"] .bill-rule-grid input{background:#fff!important;color:#1f4332!important;border-color:#bfd3c5!important}
html[data-theme="light"] .template-vars{background:#f3f8f5!important;color:#3a604c!important;border:1px solid #dbe6df!important}
html[data-theme="light"] .template-vars code{color:#167d40!important}
html[data-theme="light"] .bill-panel details{background:#f8faf9!important;border-color:#d5e2d9!important}
html[data-theme="light"] .status{background:#edf5ef!important;color:#315b45!important}
html[data-theme="light"] .status.erro{background:#fff0ef!important;color:#a13e37!important}
html[data-theme="light"] .bill-save{background:#f5f8f6!important;border-top-color:#d7e4db!important}
html[data-theme="light"] .bill-engine-header,
html[data-theme="light"] .bill-rule-grid,
html[data-theme="light"] .bill-independent-fields{border-color:#dce6df!important}
html[data-theme="light"] .bill-toggle-grid label+label{border-color:#dce6df!important}
html[data-theme="light"] .bill-email-source-icon{background:#e8f5ec!important;color:#167d40!important}
html[data-theme="light"] .bill-manage-general{background:#f1f7f3!important;color:#285641!important;border-color:#c8d9ce!important}
html[data-theme="light"] .bill-alert.ok{background:#edf8f0!important;color:#2b6745!important;border-color:#a8d0b3!important}
html[data-theme="light"] .bill-alert.bad{background:#fff2f1!important;color:#963b35!important;border-color:#ecc3bf!important}

/* Implantação */
html[data-theme="light"] .impl-kpi,
html[data-theme="light"] .impl-card,
html[data-theme="light"] .impl-project,
html[data-theme="light"] .impl-project-card,
html[data-theme="light"] .impl-overview{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .impl-kpi{border-top:3px solid #62b87a!important}
html[data-theme="light"] .impl-kpi span,
html[data-theme="light"] .impl-kpi small,
html[data-theme="light"] .impl-project p,
html[data-theme="light"] .impl-project-main p{color:#6a8074!important}
html[data-theme="light"] .impl-kpi strong,
html[data-theme="light"] .impl-project h3,
html[data-theme="light"] .impl-project-title-row h3{color:#1d4130!important}
html[data-theme="light"] .impl-project-icon{background:#e8f5ec!important;color:#167d40!important;border-color:#c6dccd!important}
html[data-theme="light"] .impl-progress,
html[data-theme="light"] .impl-progress-lg,
html[data-theme="light"] .impl-progress-xl{background:#e2ebe5!important}
html[data-theme="light"] .impl-badge{background:#f0f7f2!important;color:#315e47!important;border-color:#bed6c5!important}
html[data-theme="light"] .impl-badge.done{background:#e8f6ec!important;color:#1b7240!important}
html[data-theme="light"] .impl-count,
html[data-theme="light"] .impl-overview-stats span,
html[data-theme="light"] .impl-client-grid span{background:#f4f8f5!important;color:#385d49!important;border-color:#dbe6df!important}
html[data-theme="light"] .task-row{border-bottom-color:#dfe8e2!important}
html[data-theme="light"] .task-row:hover{background:#f5f9f6!important}

/* Suporte */
html[data-theme="light"] .support-kpi,
html[data-theme="light"] .support-card,
html[data-theme="light"] .portal-card,
html[data-theme="light"] .portal-brand-card{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .support-kpi{border-top:3px solid #68b97f!important}
html[data-theme="light"] .support-kpi span,
html[data-theme="light"] .support-card p{color:#687e72!important}
html[data-theme="light"] .support-kpi strong,
html[data-theme="light"] .support-card h2,
html[data-theme="light"] .support-card h3{color:#1d4130!important}
html[data-theme="light"] .support-form input,
html[data-theme="light"] .support-form select,
html[data-theme="light"] .support-form textarea,
html[data-theme="light"] .support-filters input,
html[data-theme="light"] .support-filters select{background:#fff!important;color:#234735!important;border-color:#bfd3c5!important}
html[data-theme="light"] .interaction,
html[data-theme="light"] .support-file,
html[data-theme="light"] .support-attachments a,
html[data-theme="light"] .support-file-preview figure,
html[data-theme="light"] .support-file-row{background:#f6f9f7!important;color:#3c604d!important;border-color:#dbe6df!important}
html[data-theme="light"] .interaction.internal{background:#fff8ec!important;border-color:#ead6b2!important}
html[data-theme="light"] .link-box{background:#f4f8f5!important;color:#315d46!important;border-color:#d4e2d8!important}
html[data-theme="light"] .support-modal-backdrop{background:rgba(22,49,33,.38)!important}
html[data-theme="light"] .support-modal-panel,
html[data-theme="light"] .support-modal-actions{background:#fff!important;color:#234735!important;border-color:#d1e0d6!important}
html[data-theme="light"] .support-modal-close{background:#f2f7f4!important;color:#315d46!important;border-color:#ceded3!important}

/* ACL — Usuários e Acessos */
html[data-theme="light"] .acl-grid>.card,
html[data-theme="light"] .acl-grid aside>.card,
html[data-theme="light"] .user-card,
html[data-theme="light"] .permission-groups details,
html[data-theme="light"] .permission-item,
html[data-theme="light"] .team-list>div{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .acl-grid input,
html[data-theme="light"] .acl-grid select,
html[data-theme="light"] .acl-grid textarea{background:#fff!important;color:#234735!important;border-color:#bfd3c5!important}
html[data-theme="light"] .acl-grid select option{background:#fff!important;color:#234735!important}
html[data-theme="light"] .user-card{border-left:3px solid #55b872!important}
html[data-theme="light"] .badges>*{background:#edf5ef!important;color:#345e48!important;border-color:#cbded1!important}
html[data-theme="light"] .badges .on{background:#e6f6eb!important;color:#18713f!important}
html[data-theme="light"] .badges .off{background:#fff0ef!important;color:#9e423b!important}
html[data-theme="light"] .icon-action{background:#fff7ec!important;color:#a45d17!important;border-color:#ead0ac!important}
html[data-theme="light"] .permission-groups details>div{background:#f7faf8!important}
html[data-theme="light"] .permission-item:hover{background:#eff7f2!important}

/* Platform Control e SaaS Foundation */
html[data-theme="light"] .pc-card,
html[data-theme="light"] .pc-panel,
html[data-theme="light"] .pc-form-section,
html[data-theme="light"] .pc-help,
html[data-theme="light"] .pc-foundation-health,
html[data-theme="light"] .saas-operations-card,
html[data-theme="light"] .saas-client-link-card{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .pc-foundation-health.is-attention{background:#fffaf0!important;border-color:#ead9ad!important}
html[data-theme="light"] .pc-foundation-health.is-critical{background:#fff3f2!important;border-color:#ecc7c3!important}
html[data-theme="light"] .pc-table thead th{background:#f2f7f4!important;color:#567064!important}
html[data-theme="light"] .pc-table tbody tr:nth-child(even){background:#fbfcfb!important}
html[data-theme="light"] .pc-table tbody tr:hover{background:#f1f8f3!important}
html[data-theme="light"] .pc-table code,
html[data-theme="light"] .pc-code,
html[data-theme="light"] .pc-command{background:#f2f7f4!important;color:#315d46!important;border-color:#dbe6df!important}
html[data-theme="light"] .pc-form-section,
html[data-theme="light"] .pc-health,
html[data-theme="light"] .pc-foundation-summary span,
html[data-theme="light"] .pc-foundation-issue,
html[data-theme="light"] .pc-consumption-card,
html[data-theme="light"] .saas-operations-grid article,
html[data-theme="light"] .saas-client-link-grid div{background:#f7faf8!important;color:#315a45!important;border-color:#dce6df!important}
html[data-theme="light"] .pc-field input,
html[data-theme="light"] .pc-field select,
html[data-theme="light"] .pc-field textarea,
html[data-theme="light"] .pc-domain-input-row input{background:#fff!important;color:#234735!important;border-color:#bfd3c5!important}
html[data-theme="light"] .pc-progress,
html[data-theme="light"] .pc-usage-line>div{background:#e1eae4!important}
html[data-theme="light"] .pc-consumption-card strong,
html[data-theme="light"] .pc-foundation-copy h2,
html[data-theme="light"] .saas-operations-head h3,
html[data-theme="light"] .saas-client-link-head h2{color:#1d4130!important}
html[data-theme="light"] .pc-consumption-card small,
html[data-theme="light"] .pc-foundation-copy p,
html[data-theme="light"] .saas-operations-intro{color:#687e72!important}
html[data-theme="light"] .pc-danger-zone{background:#fff5f4!important;border-color:#ecc8c5!important}

/* Planos, addons e licença */
html[data-theme="light"] .plan-strategy-grid article,
html[data-theme="light"] .commercial-plan-card,
html[data-theme="light"] .addon-catalog-card,
html[data-theme="light"] .internal-plans-shell,
html[data-theme="light"] .dependency-shell,
html[data-theme="light"] .inactive-addons-shell,
html[data-theme="light"] .license-center-hero,
html[data-theme="light"] .license-current-plan,
html[data-theme="light"] .license-summary-grid article,
html[data-theme="light"] .license-center-section,
html[data-theme="light"] .license-next-plan,
html[data-theme="light"] .license-complete-state{
  background:#fff!important;
  color:#234735!important;
  border-color:#d1e0d6!important;
  box-shadow:var(--ft-shadow-sm)!important;
}
html[data-theme="light"] .commercial-plan-card.is-enterprise,
html[data-theme="light"] .plan-strategy-grid article.is-enterprise{background:#f2f8f5!important;border-color:#bad7c3!important}
html[data-theme="light"] .license-center-hero h1,
html[data-theme="light"] .license-current-plan>strong,
html[data-theme="light"] .license-summary-grid strong,
html[data-theme="light"] .license-center-section-head h2,
html[data-theme="light"] .license-next-plan strong,
html[data-theme="light"] .license-complete-state h2{color:#1d4130!important}
html[data-theme="light"] .license-center-hero-copy>p,
html[data-theme="light"] .license-current-plan>small,
html[data-theme="light"] .license-center-section-head p,
html[data-theme="light"] .license-next-plan p,
html[data-theme="light"] .license-complete-state p{color:#687e72!important}
html[data-theme="light"] .plan-price-block,
html[data-theme="light"] .plan-limit-row span,
html[data-theme="light"] .plan-module-summary span,
html[data-theme="light"] .module-accordion,
html[data-theme="light"] .feature-control,
html[data-theme="light"] .plan-commercial-rule{background:#f7faf8!important;color:#315a45!important;border-color:#dce6df!important}
html[data-theme="light"] .plan-reference-price-form input,
html[data-theme="light"] .feature-limit-input,
html[data-theme="light"] .addon-price-row input,
html[data-theme="light"] .addon-price-row select{background:#fff!important;color:#234735!important;border-color:#bfd3c5!important}
html[data-theme="light"] .feature-switch{background:#c9d8ce!important;border-color:#b8cbbb!important}
html[data-theme="light"] .feature-native-input:checked+.feature-switch{background:#1b984a!important}

/* Frog Finance — blindagem adicional de superfícies legadas */
html[data-theme="light"] .frog-finance-nav{
  background:#fff!important;
  border-color:#d2e0d6!important;
  box-shadow:var(--ft-shadow-xs)!important;
}
html[data-theme="light"] .frog-finance-nav a{color:#426250!important}
html[data-theme="light"] .frog-finance-nav a:hover{background:#f0f7f2!important;color:#126333!important}
html[data-theme="light"] .frog-finance-nav a.active{background:#e4f4e9!important;color:#126333!important;border-color:#a6ceb0!important}
html[data-theme="light"] .frog-finance-action,
html[data-theme="light"] .frog-finance-title-card,
html[data-theme="light"] .frog-finance-list-item,
html[data-theme="light"] .frog-report-filter-tags span,
html[data-theme="light"] .frog-report-format-card,
html[data-theme="light"] .frog-report-module-card,
html[data-theme="light"] .frog-report-notes>div{background:#f7faf8!important;color:#315a45!important;border-color:#dce6df!important}
html[data-theme="light"] .frog-finance-action:hover{background:#edf7f0!important;border-color:#b8d6c0!important}
html[data-theme="light"] .frog-finance-action i,
html[data-theme="light"] .frog-report-format-card i{background:#e6f4ea!important;color:#167d40!important}
html[data-theme="light"] .frog-rank-track{background:#e2ebe5!important}
html[data-theme="light"] .frog-insight-donut:after{background:#fff!important;border-color:#d7e4db!important}
html[data-theme="light"] .frog-batch-table tr.is-selected td{background:#edf8f0!important}

/* Estados semânticos: cor com parcimônia, sem regressão para dark */
html[data-theme="light"] :where(.warn,.warning,.is-warning):not(.btn){--semantic-accent:#c88b16}
html[data-theme="light"] :where(.danger,.bad,.is-danger,.is-critical):not(.btn):not(.btn-danger){--semantic-accent:#c44b43}
html[data-theme="light"] :where(.success,.ok,.is-success):not(.btn){--semantic-accent:#1f8f49}

/* Ajuste final de contraste em superfícies claras */
html[data-theme="light"] .content :where(
  .kanban-col,.flow-panel,.automation-template,.proposal-kpi,.bill-form,.bill-metrics article,
  .impl-card,.impl-project-card,.support-card,.support-kpi,.acl-grid .card,.user-card,
  .pc-card,.pc-panel,.commercial-plan-card,.license-center-section,.frog-finance-panel
) :where(p,small,.muted){color:#687e72!important}
html[data-theme="light"] .content :where(
  .kanban-col,.flow-panel,.automation-template,.proposal-kpi,.bill-form,.bill-metrics article,
  .impl-card,.impl-project-card,.support-card,.support-kpi,.acl-grid .card,.user-card,
  .pc-card,.pc-panel,.commercial-plan-card,.license-center-section,.frog-finance-panel
) :where(h1,h2,h3,h4,strong,b){color:#1d4130!important}

@media(max-width:760px){
  html[data-theme="light"] .sidebar{box-shadow:12px 0 34px rgba(27,63,41,.13)!important}
  html[data-theme="light"] .kanban-col{min-width:250px}
  html[data-theme="light"] .flow-kpis{gap:8px}
}

/* ========================================================================== 
   RC16.30.10f — Light Visual Power & UI Rebalance
   Recalibra o modo claro para ganhar presença, contraste, hierarquia, ícones
   e estados interativos sem transformar toda a interface em branco puro.
   ========================================================================== */

html[data-theme="light"]{
  --ft-bg:#edf3ef;
  --ft-surface-1:#ffffff;
  --ft-surface-2:#f7faf8;
  --ft-surface-3:#e7f0ea;
  --ft-surface-4:#dcebe1;
  --ft-surface-accent:#e0f2e6;
  --ft-border:#c3d5c8;
  --ft-border-strong:#9fbea9;
  --ft-text:#123523;
  --ft-text-2:#2d5540;
  --ft-text-muted:#5a7264;
  --ft-green:#11833e;
  --ft-green-2:#20b95b;
  --ft-green-3:#59cf7a;
  --ft-anchor:#0f492c;
  --ft-anchor-2:#17623a;
  --ft-anchor-text:#effbf3;
  --ft-shadow-xs:0 3px 10px rgba(20,61,38,.06);
  --ft-shadow-sm:0 9px 25px rgba(20,61,38,.09);
  --ft-shadow-md:0 20px 52px rgba(20,61,38,.15);
  scrollbar-color:#8db49a #e8efea;
}

html[data-theme="light"] body{
  background:
    radial-gradient(circle at 82% 2%,rgba(32,185,91,.13),transparent 27%),
    radial-gradient(circle at 18% 88%,rgba(17,131,62,.065),transparent 31%),
    linear-gradient(145deg,#f7faf8 0%,#edf3ef 48%,#e9f0eb 100%)!important;
  color:var(--ft-text)!important;
}
html[data-theme="light"] html::-webkit-scrollbar-track{background:#e8efea}
html[data-theme="light"] html::-webkit-scrollbar-thumb{background:#93b49d;border-color:#e8efea}

@media(min-width:1380px){
  html[data-theme="light"] .content{max-width:min(1380px,calc(100vw - 304px))!important;padding-left:30px!important;padding-right:30px!important}
}

/* Tipografia: remove o efeito “fantasma” das microfontes sem romper grids. */
html[data-theme="light"] :where(.eyebrow,.knowledge-kicker,.test-code,.help-group,.article-index strong,.pdf-label){
  font-size:10.5px!important;
  line-height:1.25!important;
  color:#18733d!important;
}
html[data-theme="light"] :where(.help-badge,.integration-status,.integration-kind,.status-chip,.badge,.pc-status){
  font-size:10.5px!important;
  line-height:1.2!important;
}
html[data-theme="light"] :where(.test-meta,.field-help,.rule-list small,.rule-list .muted,.funnel-stage small,.popular-list small,.help-sidebar-title small){
  font-size:11px!important;
  line-height:1.4!important;
}
html[data-theme="light"] :where(.timeline-compact>div>span,.timeline-compact p,.agenda-date,.week-event time,.week-event small){
  font-size:10px!important;
  line-height:1.35!important;
}
html[data-theme="light"] .mini-event time{font-size:9px!important}
html[data-theme="light"] .mini-event span{font-size:10px!important}
html[data-theme="light"] :where(.side-menu-section,.dashboard-section-kicker){font-size:10px!important}

/* Hover/focus: resposta clara e perceptível, sem animações excessivas. */
html[data-theme="light"] :where(.btn,.action-btn,.icon-btn,.theme-toggle,.user-pill,.logout-link,.knowledge-context-button){
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
html[data-theme="light"] :where(.btn,.action-btn,.icon-btn):hover:not(:disabled){
  transform:translateY(-2px)!important;
  box-shadow:0 9px 22px rgba(18,96,48,.16)!important;
}
html[data-theme="light"] :where(a,button,input,select,textarea):focus-visible{
  outline:2px solid rgba(17,131,62,.74)!important;
  outline-offset:2px!important;
}
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-danger){
  background:linear-gradient(180deg,#179449,#0f7d3b)!important;
  color:#fff!important;
  border:1px solid #0d7235!important;
  box-shadow:0 7px 18px rgba(17,131,62,.18)!important;
}
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-danger):hover{
  background:linear-gradient(180deg,#1ba653,#0d7134)!important;
  border-color:#0b652f!important;
  box-shadow:0 11px 26px rgba(17,131,62,.25)!important;
}
html[data-theme="light"] :where(.btn-secondary,.btn.secondary){
  background:#f9fbfa!important;
  color:#214d36!important;
  border-color:#afc8b7!important;
}
html[data-theme="light"] :where(.btn-secondary,.btn.secondary):hover{
  background:#e6f1e9!important;
  color:#0f622f!important;
  border-color:#82b391!important;
}

/* Sidebar e topbar ganham presença sem voltar ao dark. */
html[data-theme="light"] .sidebar{
  background:linear-gradient(180deg,#f8fbf9 0%,#f0f6f2 54%,#e9f2ec 100%)!important;
  border-right-color:#b9cfc0!important;
  box-shadow:10px 0 30px rgba(20,61,38,.085)!important;
}
html[data-theme="light"] .side-menu-section{color:#5f7969!important;font-weight:900!important}
html[data-theme="light"] .side-menu a{min-height:39px;color:#2c513e!important}
html[data-theme="light"] .side-menu a:hover{
  background:linear-gradient(90deg,#e2efe6,#edf6f0)!important;
  color:#0f6230!important;
  border-color:#bdd5c4!important;
  box-shadow:0 5px 14px rgba(20,61,38,.07)!important;
  transform:translateX(2px);
}
html[data-theme="light"] .side-menu a.active{
  background:linear-gradient(90deg,#d3ead9 0%,#e8f5ec 72%,#eff8f2 100%)!important;
  color:#0a5729!important;
  border-color:#88bd98!important;
  box-shadow:inset 4px 0 0 #149447,0 7px 18px rgba(20,91,45,.10)!important;
}
html[data-theme="light"] .topbar{
  background:rgba(250,252,250,.94)!important;
  border-bottom-color:#c8d8cd!important;
  box-shadow:0 8px 24px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] :where(.user-pill,.session-timer,.theme-toggle,.knowledge-context-button){
  background:#f4f8f5!important;
  border-color:#bfd1c4!important;
  color:#294f3b!important;
}
html[data-theme="light"] :where(.user-pill,.session-timer,.theme-toggle,.knowledge-context-button):hover{
  background:#e5f1e8!important;
  border-color:#8eb99b!important;
}

/* Superfícies: quatro níveis para evitar “tudo branco”. */
html[data-theme="light"] :where(.card,.panel,.settings-section,.form-card,.clients-card,.filters-card){
  border-color:#c6d7cb!important;
}
html[data-theme="light"] :where(.card,.panel,.settings-section,.form-card):hover{
  border-color:#9bbca5!important;
  box-shadow:0 14px 34px rgba(20,61,38,.115)!important;
}
html[data-theme="light"] .content :where(.card,.panel) :where(p,.subtitle,.muted,small){color:#587062!important}

/* Ícones: badges mais fortes e contraste consistente no light. */
html[data-theme="light"] :where(
  .routine-icon,.timeline-event-icon,.agenda-type,.task-icon,.quick-type,.focus-icon,
  .category-icon,.article-icon,.summary-icon,.bill-email-source-icon,.impl-project-icon,
  .module-icon,.integration-icon,.avatar,.help-sidebar-title>span,.section-marker
){
  border:1px solid rgba(17,131,62,.20)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 4px 12px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] .content :where(.icon-btn,.action-btn,.ft-action-btn,.pc-action,.icon-action){
  color:#1b6240!important;
}
html[data-theme="light"] .content :where(.icon-btn,.action-btn,.ft-action-btn,.pc-action,.icon-action):hover{
  color:#0b5429!important;
  background:#def0e4!important;
  border-color:#8ab79a!important;
}
html[data-theme="light"] .content :where(svg [fill="none"]){fill:none!important}
html[data-theme="light"] .content :where(svg [stroke="currentColor"]){stroke:currentColor!important}

/* CRM — Central de Atividades: remove cinza escuro residual e dá hierarquia. */
html[data-theme="light"] .routine-strip{
  background:linear-gradient(118deg,#155c37 0%,#0f492d 58%,#0b3d27 100%)!important;
  border-color:#2b7b4d!important;
  box-shadow:0 12px 30px rgba(13,73,42,.18)!important;
}
html[data-theme="light"] .routine-main strong{color:#fff!important}
html[data-theme="light"] .routine-main p{color:#cfe8d7!important}
html[data-theme="light"] .routine-icon{background:rgba(111,231,142,.16)!important;color:#fff!important;border-color:rgba(152,239,171,.28)!important}
html[data-theme="light"] .routine-breakdown span{background:rgba(255,255,255,.09)!important;color:#e3f4e8!important}
html[data-theme="light"] .activity-kpi{
  background:linear-gradient(180deg,#fff,#f4f8f5)!important;
  color:#244d38!important;
  border:1px solid #c5d8ca!important;
  border-top:3px solid #54b86f!important;
  box-shadow:0 6px 18px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] .activity-kpi b{color:#173c2a!important;font-size:24px!important}
html[data-theme="light"] .activity-kpi span{color:#5e7768!important;font-size:11px!important}
html[data-theme="light"] .activity-kpi.danger{border-top-color:#e86f67!important}
html[data-theme="light"] .activity-kpi.success{border-top-color:#32a95b!important}
html[data-theme="light"] .activity-kpi.blue{border-top-color:#5d8fdf!important}
html[data-theme="light"] .activity-kpi.warn{border-top-color:#d8a332!important}
html[data-theme="light"] .activity-kpi.danger b{color:#c43e37!important}
html[data-theme="light"] .activity-kpi.success b{color:#168347!important}
html[data-theme="light"] .activity-kpi.blue b{color:#356fc4!important}
html[data-theme="light"] .activity-kpi.warn b{color:#a66f09!important}
html[data-theme="light"] .activity-kpi:hover,
html[data-theme="light"] .activity-kpi.active{
  background:#e8f4ec!important;
  border-color:#85bd95!important;
  transform:translateY(-2px)!important;
  box-shadow:0 10px 23px rgba(20,75,42,.12)!important;
}
html[data-theme="light"] .agenda-view-switch{background:#e4ece6!important;border:1px solid #c8d7cd!important}
html[data-theme="light"] .agenda-tab{color:#476657!important;font-size:11px!important}
html[data-theme="light"] .agenda-tab:hover{background:#d4e8da!important;color:#0f6531!important}
html[data-theme="light"] .agenda-tab.active{background:#69d45d!important;color:#0b3a1e!important;box-shadow:0 3px 10px rgba(41,139,57,.16)!important}
html[data-theme="light"] .calendar-card{background:#fff!important;border-color:#c3d6c8!important}
html[data-theme="light"] .calendar-week span{color:#52715f!important;font-size:10.5px!important}
html[data-theme="light"] .calendar-day,
html[data-theme="light"] .week-column{
  background:#eef3ef!important;
  border-color:#c9d9ce!important;
  color:#234b37!important;
}
html[data-theme="light"] .calendar-day:hover,
html[data-theme="light"] .calendar-day.drag-over,
html[data-theme="light"] .week-column:hover{
  background:#dfeee4!important;
  border-color:#83b895!important;
  box-shadow:0 5px 14px rgba(20,61,38,.08)!important;
}
html[data-theme="light"] .calendar-day.today{background:#e5f5e8!important;border-color:#42a961!important;box-shadow:inset 0 0 0 1px #42a961!important}
html[data-theme="light"] .calendar-day.selected{background:#d6ebdc!important;border-color:#21854a!important;box-shadow:inset 0 0 0 2px rgba(33,133,74,.22)!important}
html[data-theme="light"] .day-number{color:#244f39!important}
html[data-theme="light"] .today .day-number{background:#178a44!important;color:#fff!important}
html[data-theme="light"] .week-date{color:#274f3b!important;border-bottom-color:#c8d8cd!important}
html[data-theme="light"] .empty-day{color:#758b7e!important}
html[data-theme="light"] .agenda-list-row,
html[data-theme="light"] .task-item,
html[data-theme="light"] .day-task-item,
html[data-theme="light"] .timeline-compact,
html[data-theme="light"] .daily-mini div,
html[data-theme="light"] .kanban-task{
  background:#f7faf8!important;
  color:#294f3b!important;
  border-color:#d3dfd7!important;
}
html[data-theme="light"] .agenda-list-row:hover,
html[data-theme="light"] .task-item:hover,
html[data-theme="light"] .day-task-item:hover,
html[data-theme="light"] .timeline-compact:hover,
html[data-theme="light"] .kanban-task:hover{background:#eaf4ed!important}
html[data-theme="light"] .agenda-date b,
html[data-theme="light"] .task-main strong,
html[data-theme="light"] .day-task-info strong,
html[data-theme="light"] .timeline-compact strong,
html[data-theme="light"] .kanban-task strong{color:#1b4531!important}
html[data-theme="light"] .task-main span,
html[data-theme="light"] .task-main small,
html[data-theme="light"] .day-task-info span,
html[data-theme="light"] .agenda-date{color:#637b6d!important}
html[data-theme="light"] .day-task-time,
html[data-theme="light"] .daily-mini time,
html[data-theme="light"] .text-action{color:#167d40!important}
html[data-theme="light"] .task-icon,
html[data-theme="light"] .activity-sidebar .icon-btn,
html[data-theme="light"] .calendar-nav .icon-btn{
  background:#edf6f0!important;
  color:#17683a!important;
  border-color:#b7d0bf!important;
}
html[data-theme="light"] .kanban-column{background:#f1f5f2!important;border-color:#cbdad0!important}
html[data-theme="light"] .kanban-column header span{background:#dceae0!important;color:#355b45!important}
html[data-theme="light"] .focus-progress>div{background:#dce7df!important}
html[data-theme="light"] .follow-switch{background:#f4f8f5!important;border-color:#cbdcd1!important}
html[data-theme="light"] .follow-copy strong{color:#214b36!important}
html[data-theme="light"] .follow-copy small{color:#61796a!important}
html[data-theme="light"] .next-activity-fields{background:#f4f8f5!important;border-color:#d0ded5!important}
html[data-theme="light"] .complete-head{background:linear-gradient(135deg,#e4f3e8,#f8fbf9)!important;border-color:#d1e0d6!important}

/* CRM Kanban: cartões clicáveis e colunas ganham leitura e resposta. */
html[data-theme="light"] .kanban-col{background:linear-gradient(180deg,#f6f9f7,#edf3ef)!important}
html[data-theme="light"] .kanban-col:hover{border-color:#adc9b5!important;box-shadow:0 9px 24px rgba(20,61,38,.08)!important}
html[data-theme="light"] .lead-card-v3:hover{transform:translateY(-2px)!important;border-color:#99bda4!important;box-shadow:0 14px 30px rgba(20,61,38,.14)!important}

/* Fluxo Comercial: KPIs escuros passam a ser âncoras deliberadas; painel permanece light. */
html[data-theme="light"] .flow-kpis>div{
  background:linear-gradient(135deg,#175d39,#0f472c)!important;
  border:1px solid #286e47!important;
  border-top:0!important;
  box-shadow:0 9px 23px rgba(13,73,42,.15)!important;
}
html[data-theme="light"] .flow-kpis>div:hover{transform:translateY(-2px);background:linear-gradient(135deg,#1b6b41,#125333)!important}
html[data-theme="light"] .flow-kpis b{color:#fff!important}
html[data-theme="light"] .flow-kpis span{color:#c7e5d1!important;font-size:11px!important}
html[data-theme="light"] .flow-panel{background:#fff!important;border-color:#c3d5c8!important}
html[data-theme="light"] .funnel-stage{background:#f3f7f4!important;border:1px solid #d0ddd4!important;border-top:3px solid var(--stage-color)!important}
html[data-theme="light"] .funnel-stage:hover{background:#e8f2eb!important;transform:translateY(-2px);box-shadow:0 7px 18px rgba(20,61,38,.09)!important}
html[data-theme="light"] .stage-row{background:#f7faf8!important;border:1px solid #d7e2da!important}
html[data-theme="light"] .stage-row:hover{background:#edf5ef!important;border-color:#b4ceb9!important}

/* Automação: barra de consumo como âncora verde; restante claro e legível. */
html[data-theme="light"] .usage-inline{
  background:linear-gradient(110deg,#164f32,#0f432b)!important;
  color:#fff!important;
  border-color:#286c45!important;
  box-shadow:0 10px 26px rgba(13,73,42,.15)!important;
}
html[data-theme="light"] .usage-inline strong{color:#fff!important}
html[data-theme="light"] .usage-inline small,
html[data-theme="light"] .usage-inline p{color:#c8e3d1!important}
html[data-theme="light"] .usage-inline>a{color:#8ee8a8!important}
html[data-theme="light"] .automation-template{
  background:#f4f8f5!important;
  color:#244e39!important;
  border-color:#c6d9cb!important;
}
html[data-theme="light"] .automation-template:hover{background:#dfeee4!important;border-color:#7fb490!important;transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,61,38,.09)!important}
html[data-theme="light"] .builder-section{background:#fff!important;border-color:#cbdcd1!important}
html[data-theme="light"] .builder-close{background:#164b30!important;color:#fff!important;border:1px solid #2a7048!important}
html[data-theme="light"] .remove-row{background:#fff0ef!important;color:#a23d36!important;border:1px solid #e9c0bd!important}

/* Empresa / Identidade: dark legado vira navegação de marca deliberada, conteúdo fica claro. */
html[data-theme="light"] .identity-tabs{
  background:linear-gradient(105deg,#154f31,#0e3d27)!important;
  border-color:#2a6d47!important;
  box-shadow:0 9px 24px rgba(13,73,42,.14)!important;
}
html[data-theme="light"] .identity-tabs a{background:rgba(255,255,255,.045)!important;color:#cfe5d7!important;border-color:rgba(207,229,215,.16)!important}
html[data-theme="light"] .identity-tabs a:hover{background:rgba(103,220,130,.14)!important;color:#fff!important;border-color:rgba(115,223,142,.42)!important}
html[data-theme="light"] .identity-tabs a:first-child{background:#1e8748!important;color:#fff!important;border-color:#63c17c!important;box-shadow:0 4px 13px rgba(0,0,0,.12)!important}
html[data-theme="light"] .identity-section{
  background:#fff!important;
  color:#234a36!important;
  border-color:#bfd3c5!important;
  box-shadow:0 11px 28px rgba(20,61,38,.08)!important;
}
html[data-theme="light"] .company-logo-uploader{background:linear-gradient(135deg,#e5ece7,#d9e3dc)!important;border-color:#aebfb4!important}
html[data-theme="light"] .company-logo-uploader:hover{background:#dce9e0!important;border-color:#7eac8d!important}
html[data-theme="light"] .communication-cards>div{
  background:linear-gradient(180deg,#f8fbf9,#edf4ef)!important;
  color:#294f3b!important;
  border:1px solid #cbdcd1!important;
  border-left:4px solid #279451!important;
}
html[data-theme="light"] .communication-cards>div strong{color:#17442f!important}
html[data-theme="light"] .communication-cards>div p{color:#607869!important}
html[data-theme="light"] .email-test-box{background:#f4f8f5!important;border-color:#cbdcd1!important}
html[data-theme="light"] .identity-save{
  background:rgba(250,252,250,.95)!important;
  border-color:#bdcec2!important;
  box-shadow:0 10px 28px rgba(20,61,38,.12)!important;
}

/* Integrações: elimina cinza sem vida; cada serviço é um card nativo light. */
html[data-theme="light"] .integration-tabs a{
  background:#f6faf7!important;
  color:#2d5842!important;
  border-color:#bfd2c4!important;
}
html[data-theme="light"] .integration-tabs a:hover{background:#dfeee4!important;border-color:#83b492!important;color:#0f6330!important;transform:translateY(-1px)}
html[data-theme="light"] .integration-tabs a.active{background:#d8efdf!important;border-color:#57ad70!important;color:#0b5d2d!important;box-shadow:inset 0 0 0 1px rgba(40,151,76,.08)!important}
html[data-theme="light"] .integration-card-new{
  background:linear-gradient(180deg,#fff,#f4f8f5)!important;
  color:#244d38!important;
  border:1px solid #c4d7c8!important;
  border-top:4px solid #4caf69!important;
  box-shadow:0 7px 20px rgba(20,61,38,.08)!important;
}
html[data-theme="light"] .integration-card-new:hover{transform:translateY(-3px);border-color:#88b896!important;box-shadow:0 14px 30px rgba(20,61,38,.13)!important}
html[data-theme="light"] .integration-card-new h3{color:#173d2b!important}
html[data-theme="light"] .integration-card-new p{color:#5b7365!important}
html[data-theme="light"] .integration-kind{color:#197d43!important}
html[data-theme="light"] .integration-status{background:#fff4d8!important;color:#9b6a08!important;border:1px solid #ead498!important}
html[data-theme="light"] .integration-status.active{background:#dff3e5!important;color:#126936!important;border-color:#a6d0b2!important}
html[data-theme="light"] .typebot-endpoint,
html[data-theme="light"] .typebot-check{background:#f5f9f6!important;border-color:#cbdcd1!important}
html[data-theme="light"] .typebot-endpoint code{color:#126a37!important}

/* Recursos e Licença: módulos deixam de ser blocos dark homogêneos. */
html[data-theme="light"] .adaptive-product-card,
html[data-theme="light"] .license-product-grid .adaptive-product-card{
  background:linear-gradient(180deg,#fff,#f2f7f4)!important;
  color:#244d38!important;
  border:1px solid #c4d7c8!important;
  box-shadow:0 7px 20px rgba(20,61,38,.08)!important;
}
html[data-theme="light"] .adaptive-product-card:hover{transform:translateY(-3px);border-color:#82b391!important;box-shadow:0 14px 30px rgba(20,61,38,.13)!important}
html[data-theme="light"] .adaptive-product-card h3,
html[data-theme="light"] .adaptive-product-card strong{color:#173e2b!important}
html[data-theme="light"] .adaptive-product-card p,
html[data-theme="light"] .adaptive-product-card li{color:#5d7567!important}
html[data-theme="light"] .adaptive-product-icon{background:#dff0e4!important;border:1px solid #b2cfba!important;box-shadow:0 4px 12px rgba(20,61,38,.07)!important}
html[data-theme="light"] .adaptive-product-card.is-enabled{border-top:4px solid #279951!important}
html[data-theme="light"] .adaptive-product-action{color:#116b36!important;border-top-color:#d3e0d7!important}
html[data-theme="light"] .adaptive-product-action:hover{color:#064f26!important;background:#e4f1e8!important}

/* Diagnóstico: tabela operacional fica clara; status geral ganha âncora forte. */
html[data-theme="light"] .diag-summary .diag-box{
  background:#fff!important;
  color:#244d38!important;
  border-color:#c3d6c8!important;
  box-shadow:0 7px 20px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] .diag-summary .diag-box:first-child{
  background:linear-gradient(135deg,#185d39,#10482d)!important;
  border-color:#2b7149!important;
  color:#fff!important;
}
html[data-theme="light"] .diag-summary .diag-box:first-child span,
html[data-theme="light"] .diag-summary .diag-box:first-child small{color:#c9e5d2!important}
html[data-theme="light"] .diag-summary .diag-box:first-child strong{color:#8df29e!important}
html[data-theme="light"] .diag-box span,
html[data-theme="light"] .diag-box small{color:#61796a!important}
html[data-theme="light"] .diag-table{
  background:#fff!important;
  color:#274e3a!important;
  border-color:#c2d5c7!important;
  box-shadow:0 9px 24px rgba(20,61,38,.08)!important;
}
html[data-theme="light"] .diag-table th{background:#e9f1eb!important;color:#456352!important}
html[data-theme="light"] .diag-table th,
html[data-theme="light"] .diag-table td{border-bottom-color:#d5e0d8!important}
html[data-theme="light"] .diag-table tbody tr:hover td{background:#eef6f0!important}
html[data-theme="light"] .diag-pill.ok{background:#dcf2e2!important;color:#116b36!important}
html[data-theme="light"] .diag-pill.bad{background:#fde8e6!important;color:#a63f38!important}

/* Central de Conhecimento: hero verde é intencional; cards de navegação ficam claros. */
html[data-theme="light"] .knowledge-hero{
  background:linear-gradient(120deg,#0d452a 0%,#0a3822 62%,#082f1d 100%)!important;
  border-color:#246f45!important;
  box-shadow:0 18px 44px rgba(10,57,32,.20)!important;
}
html[data-theme="light"] .knowledge-hero h1{color:#fff!important}
html[data-theme="light"] .knowledge-hero p{color:#cae4d2!important}
html[data-theme="light"] .knowledge-kicker{color:#78e693!important}
html[data-theme="light"] .knowledge-quick-links a{color:#aeeabb!important;border-color:rgba(138,230,160,.26)!important;background:rgba(255,255,255,.04)!important}
html[data-theme="light"] .knowledge-quick-links a:hover{background:rgba(105,220,132,.15)!important;color:#fff!important}
html[data-theme="light"] .knowledge-category,
html[data-theme="light"] .knowledge-feature,
html[data-theme="light"] .popular-list>a{
  background:linear-gradient(180deg,#fff,#f3f7f4)!important;
  color:#244d38!important;
  border-color:#c6d8ca!important;
  box-shadow:0 6px 18px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] .knowledge-category:hover,
html[data-theme="light"] .knowledge-feature:hover,
html[data-theme="light"] .popular-list>a:hover{
  background:#e8f3eb!important;
  border-color:#8bb89a!important;
  transform:translateY(-2px)!important;
  box-shadow:0 12px 26px rgba(20,61,38,.12)!important;
}
html[data-theme="light"] .knowledge-category h3,
html[data-theme="light"] .knowledge-feature h3,
html[data-theme="light"] .popular-list strong{color:#173f2c!important}
html[data-theme="light"] .knowledge-category p,
html[data-theme="light"] .knowledge-feature p,
html[data-theme="light"] .popular-list small{color:#5d7567!important}
html[data-theme="light"] .category-icon,
html[data-theme="light"] .help-sidebar-title>span,
html[data-theme="light"] .section-marker{background:#dff0e4!important;color:#14753b!important}
html[data-theme="light"] .help-sidebar,
html[data-theme="light"] .help-content,
html[data-theme="light"] .test-card{background:#fff!important;border-color:#c5d7c9!important;box-shadow:0 7px 20px rgba(20,61,38,.07)!important}
html[data-theme="light"] .help-link:hover,
html[data-theme="light"] .help-link.active{background:#dfeee4!important;color:#0c5d2d!important;box-shadow:inset 3px 0 0 #1a9548!important}
html[data-theme="light"] .article-header{background:linear-gradient(135deg,#e1f0e5,#f8fbf9)!important}
html[data-theme="light"] .article-footer{background:linear-gradient(135deg,#e5f2e8,#f7faf8)!important;border-color:#b9d3c1!important}
html[data-theme="light"] .article-footer h3{color:#173f2c!important}
html[data-theme="light"] .article-footer p{color:#607769!important}

/* Homologação: leitura de listas e status mais nítida. */
html[data-theme="light"] .help-dashboard .help-stat{
  background:#fff!important;
  border:1px solid #c3d6c8!important;
  border-top:3px solid #4eae68!important;
  color:#244d38!important;
  box-shadow:0 6px 18px rgba(20,61,38,.07)!important;
}
html[data-theme="light"] .help-stat strong{color:#173e2b!important}
html[data-theme="light"] .help-stat span{color:#5e7568!important}
html[data-theme="light"] .test-card:hover{transform:translateY(-2px);border-color:#95bca0!important;box-shadow:0 12px 27px rgba(20,61,38,.11)!important}
html[data-theme="light"] .test-card .help-badge{background:#e3ece6!important;color:#466151!important;border-color:#c6d6cb!important}
html[data-theme="light"] .test-card[data-status="aprovado"]{border-left:4px solid #2a9a50!important}
html[data-theme="light"] .test-card[data-status="reprovado"]{border-left:4px solid #c85850!important}
html[data-theme="light"] .test-card[data-status="bloqueado"]{border-left:4px solid #b3832f!important}

/* ACL / Usuários: KPIs podem ancorar a seção com verde escuro sem contaminar formulários. */
html[data-theme="light"] .acl-stat{
  background:linear-gradient(135deg,#175b38,#10482d)!important;
  color:#fff!important;
  border:1px solid #286d46!important;
  box-shadow:0 8px 20px rgba(13,73,42,.14)!important;
}
html[data-theme="light"] .acl-stat span,
html[data-theme="light"] .acl-stat small{color:#c6e2cf!important}
html[data-theme="light"] .acl-stat strong{color:#fff!important}
html[data-theme="light"] .user-card:hover{transform:translateY(-2px);border-color:#8bb99a!important;box-shadow:0 10px 22px rgba(20,61,38,.11)!important}
html[data-theme="light"] .avatar{background:#e0f4e6!important;color:#148040!important;border-color:#acd2b7!important}

/* Tabelas, linhas e ações: mais separação em jornadas longas. */
html[data-theme="light"] .table thead th,
html[data-theme="light"] .pc-table thead th{background:#e8f0ea!important;color:#3c5e4b!important;border-bottom-color:#bfcfc4!important}
html[data-theme="light"] .table tbody tr:hover td,
html[data-theme="light"] .pc-table tbody tr:hover td{background:#eaf4ed!important;box-shadow:inset 3px 0 0 #55ae6c!important}
html[data-theme="light"] .action-btn{background:#f5f9f6!important;border-color:#c5d6ca!important;color:#24533b!important}
html[data-theme="light"] .action-btn:hover{background:#dfeee4!important;border-color:#85b494!important;color:#0e5d2d!important}

/* Ajustes finais de densidade e responsividade. */
@media(max-width:1180px){
  html[data-theme="light"] .content{max-width:100%!important}
}
@media(max-width:760px){
  html[data-theme="light"] .activity-kpi b{font-size:21px!important}
  html[data-theme="light"] .identity-tabs{background:#12472c!important}
  html[data-theme="light"] .integration-card-new:hover,
  html[data-theme="light"] .knowledge-category:hover,
  html[data-theme="light"] .knowledge-feature:hover,
  html[data-theme="light"] .test-card:hover{transform:none!important}
}

/* ========================================================================== 
   RC16.30.10g — Light Brand Harmony & Contrast Rebuild
   A versão clara passa a usar a paleta oficial FrogTech como linguagem de
   marca: superfícies claras, contraste forte e cor aplicada com intenção.
   ========================================================================== */

html[data-theme="light"]{
  --frog-brand-lime:#7EB53F;
  --frog-brand-teal:#25A874;
  --frog-brand-bright:#1ED760;
  --frog-brand-yellow:#F6F062;
  --frog-brand-deep:#32630C;
  --frog-brand-teal-hover:#1F9264;
  --frog-brand-teal-soft:#E7F5EF;
  --frog-brand-lime-soft:#F0F7E8;
  --frog-ink:#17382A;
  --frog-ink-2:#365649;
  --frog-muted:#5A7065;
  --frog-border:#C7DCD1;
  --frog-border-strong:#9BCDB9;
  --frog-page:#F3F8F5;
  --frog-card:#FFFFFF;

  --ft-primary:var(--frog-brand-teal);
  --ft-primary-hover:var(--frog-brand-teal-hover);
  --ft-primary-active:var(--frog-brand-deep);
  --ft-accent:var(--frog-brand-lime);
  --ft-bg:var(--frog-page);
  --ft-border:var(--frog-border);
  --ft-border-strong:var(--frog-border-strong);
  --ft-text:var(--frog-ink);
  --ft-text-2:var(--frog-ink-2);
  --ft-text-muted:var(--frog-muted);
  --green:var(--frog-brand-teal);
  --green-2:var(--frog-brand-lime);
  --frog-green:var(--frog-brand-teal);
  --frog-green-strong:var(--frog-brand-deep);
}

html[data-theme="light"] body{
  background:
    radial-gradient(circle at 84% 4%,rgba(37,168,116,.085),transparent 30%),
    radial-gradient(circle at 10% 86%,rgba(126,181,63,.055),transparent 27%),
    linear-gradient(145deg,#F8FBF9 0%,#F3F8F5 48%,#EEF6F1 100%)!important;
  color:var(--frog-ink)!important;
}
html[data-theme="light"] body::selection{background:rgba(37,168,116,.22);color:#153426}
html[data-theme="light"] a{color:#1D7C58}
html[data-theme="light"] :where(h1,h2,h3,h4,h5,h6,strong,b){color:var(--frog-ink)}
html[data-theme="light"] :where(.subtitle,.muted,.text-muted,.field-hint,.field-help){color:var(--frog-muted)!important}
html[data-theme="light"] label{color:#355649!important}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#7D9086!important}

/* Microtipografia: evita textos de 8/9px apagados nas jornadas operacionais. */
html[data-theme="light"] :where(
  .adaptive-base-card small,.adaptive-base-card em,
  .dash-kpi-card small,.dash-kpi-card em,.dash-mini small,.dash-mini em,
  .finance-kpi small,.finance-kpi span,.finance-mini small,.finance-mini em,
  .frog-finance-kpi small,.frog-finance-kpi span,.frog-finance-mini-kpi small,
  .timeline-compact small,.crm2-event small,.crm2-task-main small,.crm2-task-time small,
  .integration-card-new small,.adaptive-product-card small,.user-card small,
  .app-version-meta,.sidebar-version,.menu-soon
){font-size:10.5px!important;line-height:1.35!important}
html[data-theme="light"] :where(.dashboard-section-kicker,.adaptive-section-eyebrow,.eyebrow,.knowledge-kicker,.integration-kind){
  color:var(--frog-brand-teal)!important;
  font-size:10.5px!important;
  font-weight:850!important;
}

/* --------------------------------------------------------------------------
   Navegação — paleta oficial FrogTech.
   -------------------------------------------------------------------------- */
html[data-theme="light"] .sidebar{
  background:linear-gradient(180deg,#FBFDFC 0%,#F6FAF7 48%,#F0F7F3 100%)!important;
  border-right-color:#BFD8CC!important;
  box-shadow:9px 0 28px rgba(37,112,78,.08)!important;
}
html[data-theme="light"] .sidebar:before{
  background:linear-gradient(90deg,var(--frog-brand-lime),var(--frog-brand-teal),var(--frog-brand-bright))!important;
}
html[data-theme="light"] .side-menu-section{color:#526C5E!important;font-size:10px!important;font-weight:900!important}
html[data-theme="light"] .side-menu a{
  color:#355648!important;
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
}
html[data-theme="light"] .side-menu a:hover{
  color:var(--frog-brand-deep)!important;
  background:rgba(37,168,116,.105)!important;
  border-color:rgba(37,168,116,.22)!important;
  box-shadow:0 5px 14px rgba(37,112,78,.07)!important;
  transform:translateX(2px)!important;
}
html[data-theme="light"] .side-menu a.active{
  color:#fff!important;
  background:linear-gradient(105deg,var(--frog-brand-teal),#2EB77F)!important;
  border-color:var(--frog-brand-teal)!important;
  box-shadow:inset 4px 0 0 var(--frog-brand-deep),0 8px 18px rgba(37,168,116,.20)!important;
}
html[data-theme="light"] .side-menu a.active::after{
  background:var(--frog-brand-yellow)!important;
  box-shadow:0 0 0 4px rgba(246,240,98,.18)!important;
}
html[data-theme="light"] .side-menu a.active :where(.menu-label,.menu-icon){color:#fff!important;opacity:1!important;filter:none!important}
html[data-theme="light"] .side-menu .menu-icon{opacity:1!important;filter:saturate(1.08) contrast(1.03)!important}
html[data-theme="light"] .side-menu a > span[style*="background"]{
  background:var(--frog-brand-lime)!important;
  color:#fff!important;
  border:1px solid rgba(50,99,12,.16)!important;
  font-size:9.5px!important;
}
html[data-theme="light"] .side-menu a.active > span[style*="background"]{
  background:var(--frog-brand-yellow)!important;
  color:var(--frog-brand-deep)!important;
  border-color:rgba(50,99,12,.16)!important;
}
html[data-theme="light"] :where(.menu-count-badge,.activation-menu-badge){
  background:var(--frog-brand-lime)!important;color:#fff!important;border-color:transparent!important;
}

/* Topbar: vida na marca sem transformar todos os controles em blocos verdes. */
html[data-theme="light"] .topbar{background:rgba(255,255,255,.94)!important;border-bottom-color:#C9DCD2!important}
html[data-theme="light"] .theme-toggle{
  background:var(--frog-brand-teal)!important;color:#fff!important;border-color:var(--frog-brand-teal)!important;
  box-shadow:0 5px 14px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .theme-toggle:hover{background:var(--frog-brand-teal-hover)!important;border-color:var(--frog-brand-teal-hover)!important}
html[data-theme="light"] :where(.user-pill,.session-timer,.knowledge-context-button,.logout-link){
  background:#fff!important;color:#365649!important;border-color:#C7DBD1!important;
}
html[data-theme="light"] :where(.user-pill,.session-timer,.knowledge-context-button,.logout-link):hover{
  background:var(--frog-brand-teal-soft)!important;color:var(--frog-brand-deep)!important;border-color:#9BCDB9!important;
}
html[data-theme="light"] .session-timer strong{color:var(--frog-brand-teal)!important}

/* --------------------------------------------------------------------------
   Botões — #25A874 é a ação principal do Light; #32630C fica restrito.
   -------------------------------------------------------------------------- */
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-danger):not(.btn-warning){
  background:var(--frog-brand-teal)!important;
  color:#fff!important;
  border-color:var(--frog-brand-teal)!important;
  box-shadow:0 7px 18px rgba(37,168,116,.18)!important;
}
html[data-theme="light"] .btn:not(.btn-secondary):not(.secondary):not(.btn-danger):not(.btn-warning):hover{
  background:var(--frog-brand-teal-hover)!important;
  border-color:var(--frog-brand-teal-hover)!important;
  box-shadow:0 10px 24px rgba(37,168,116,.24)!important;
}
html[data-theme="light"] :where(.btn-secondary,.btn.secondary){
  background:#fff!important;color:var(--frog-brand-deep)!important;border-color:#B9D5C7!important;box-shadow:0 4px 12px rgba(37,112,78,.055)!important;
}
html[data-theme="light"] :where(.btn-secondary,.btn.secondary):hover{
  background:var(--frog-brand-teal-soft)!important;color:var(--frog-brand-deep)!important;border-color:#8FC8B2!important;
}
html[data-theme="light"] :where(.icon-btn,.action-btn,.icon-action){
  background:#F5FAF7!important;color:var(--frog-brand-deep)!important;border-color:#C3DACE!important;
}
html[data-theme="light"] :where(.icon-btn,.action-btn,.icon-action):hover{
  background:rgba(37,168,116,.13)!important;color:var(--frog-brand-deep)!important;border-color:#8BC5AE!important;
}

/* WhatsApp e ícones funcionais: nunca desaparecem em superfícies claras. */
html[data-theme="light"] :where(.lead-contact-whatsapp,.whatsapp-quick-btn,.lead-whatsapp-btn,.whatsapp-action){
  background:var(--frog-brand-teal)!important;color:#fff!important;border-color:var(--frog-brand-teal)!important;
}
html[data-theme="light"] :where(.lead-contact-whatsapp,.whatsapp-quick-btn,.lead-whatsapp-btn,.whatsapp-action):hover{
  background:var(--frog-brand-teal-hover)!important;border-color:var(--frog-brand-teal-hover)!important;
}
html[data-theme="light"] .ft-action-icon-whatsapp{
  opacity:1!important;filter:none!important;background-color:transparent!important;
}
html[data-theme="light"] :where(.lead-contact-whatsapp,.whatsapp-quick-btn,.lead-whatsapp-btn,.whatsapp-action) .ft-action-icon-whatsapp{
  opacity:1!important;filter:none!important;
}
html[data-theme="light"] .content :where(.ft-action-btn,.ft-action-label,.btn,.icon-btn,.action-btn) svg{
  opacity:1!important;
}

/* --------------------------------------------------------------------------
   Dashboard — cards podem ser brancos; informação precisa ter contraste.
   -------------------------------------------------------------------------- */
html[data-theme="light"] .adaptive-operation-head h2{color:var(--frog-ink)!important}
html[data-theme="light"] .adaptive-operation-head p{color:#566D61!important;font-size:13px!important}
html[data-theme="light"] .date-pill{
  background:#EAF6F1!important;color:var(--frog-brand-deep)!important;border-color:#A8D3C1!important;
  box-shadow:0 4px 12px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .date-pill:hover{background:#DFF1E9!important;border-color:#86C3AB!important}
html[data-theme="light"] .adaptive-base-card{
  background:#fff!important;border-color:#CADFD5!important;box-shadow:0 9px 24px rgba(37,112,78,.075)!important;
}
html[data-theme="light"] .adaptive-base-card:hover{
  background:#FBFDFC!important;border-color:#86C6AC!important;box-shadow:0 13px 30px rgba(37,112,78,.12)!important;
}
html[data-theme="light"] .adaptive-base-icon{
  background:rgba(37,168,116,.12)!important;border:1px solid rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .adaptive-base-card small{color:#4C6758!important;font-size:11px!important;font-weight:650!important}
html[data-theme="light"] .adaptive-base-card strong{color:var(--frog-ink)!important;font-size:22px!important;font-weight:750!important}
html[data-theme="light"] .adaptive-base-card em{color:var(--frog-brand-teal)!important;font-size:10.5px!important;font-weight:700!important}

html[data-theme="light"] :where(.dash-kpi-card,.dash-mini,.dash-chart-card,.dash-list-card,.dash-summary-card){
  background:#fff!important;border-color:#CADFD5!important;
}
html[data-theme="light"] .dash-kpi-card small{color:#4F685B!important;font-size:10.5px!important;font-weight:650!important}
html[data-theme="light"] .dash-kpi-card strong{color:var(--frog-ink)!important;font-weight:750!important}
html[data-theme="light"] .dash-kpi-card em{color:#5C7467!important;font-size:10.5px!important}
html[data-theme="light"] .dash-mini small{color:#496456!important;font-size:10.5px!important;font-weight:650!important}
html[data-theme="light"] .dash-mini strong{color:var(--frog-ink)!important}
html[data-theme="light"] .dash-mini em{color:#247F5C!important;font-size:10px!important;font-weight:650!important}
html[data-theme="light"] .dash-summary-item{background:#F9FCFA!important;border-color:#D8E7DF!important}
html[data-theme="light"] .dash-summary-item small{color:#4A6556!important}
html[data-theme="light"] .dash-summary-item em{color:#247F5C!important}
html[data-theme="light"] .dash-chart-card .chart-head span,
html[data-theme="light"] .dash-list-card small{color:#5B7265!important}

/* Financeiro do dashboard: ícones coloridos permanecem; textos ganham força. */
html[data-theme="light"] :where(.finance-kpi,.finance-mini,.frog-finance-kpi,.frog-finance-mini-kpi){
  background:#fff!important;border-color:#CADFD5!important;
}
html[data-theme="light"] :where(.finance-kpi,.frog-finance-kpi) small{color:#4D6759!important;font-weight:650!important}
html[data-theme="light"] :where(.finance-kpi,.frog-finance-kpi) strong{color:var(--frog-ink)!important;font-weight:750!important}
html[data-theme="light"] :where(.finance-kpi,.frog-finance-kpi) span{color:#5A7164!important}
html[data-theme="light"] :where(.finance-mini,.frog-finance-mini-kpi) small{color:#496456!important;font-weight:650!important}
html[data-theme="light"] :where(.finance-mini,.frog-finance-mini-kpi) strong{color:var(--frog-ink)!important}
html[data-theme="light"] :where(.finance-mini,.frog-finance-mini-kpi) em{color:#247F5C!important}

/* Barras/progresso: cor de marca dosada; remove o verde neon absoluto como massa. */
html[data-theme="light"] :where(
  .crm2-funnel-bar,.goal-bar,.frog-rank-track,.focus-progress,.lead-score-bar,
  .impl-progress,.impl-big-progress,.impl-progress-lg,.impl-progress-xl,.pc-progress,
  .usage-meter-track,.usage-inline-progress,.wizard-progress,.stage-bar
){background:#E1ECE6!important}
html[data-theme="light"] :where(
  .crm2-funnel-bar i,.goal-bar i,.frog-rank-track i,.focus-progress i,.lead-score-bar i,
  .impl-progress i,.impl-big-progress i,.impl-progress-lg i,.impl-progress-xl i,.pc-progress i,
  .usage-meter-track i,.usage-inline-progress i,.wizard-progress i,.stage-bar i,
  .crm2-funnel-bar span,.goal-bar span,.pc-progress span
){background:linear-gradient(90deg,var(--frog-brand-lime),var(--frog-brand-teal))!important}

/* --------------------------------------------------------------------------
   Resíduos dark: no Light, grandes blocos usam branco ou verde da marca médio.
   -------------------------------------------------------------------------- */
html[data-theme="light"] .routine-strip{
  background:#fff!important;color:var(--frog-ink)!important;border:1px solid #C8DED3!important;border-left:4px solid var(--frog-brand-teal)!important;
  box-shadow:0 9px 24px rgba(37,112,78,.08)!important;
}
html[data-theme="light"] .routine-main strong{color:var(--frog-ink)!important}
html[data-theme="light"] .routine-main p{color:#596F63!important}

html[data-theme="light"] .flow-kpis>div{
  background:#fff!important;color:var(--frog-ink)!important;border:1px solid #C8DED3!important;border-top:3px solid var(--frog-brand-teal)!important;
  box-shadow:0 7px 18px rgba(37,112,78,.07)!important;
}
html[data-theme="light"] .flow-kpis>div:hover{
  background:#F7FBF9!important;border-color:#8BC7AF!important;box-shadow:0 11px 24px rgba(37,112,78,.11)!important;
}
html[data-theme="light"] .flow-kpis b{color:var(--frog-ink)!important}
html[data-theme="light"] .flow-kpis span{color:#566F61!important}

html[data-theme="light"] .acl-stat{
  background:#fff!important;color:var(--frog-ink)!important;border:1px solid #C7DCD1!important;border-top:3px solid var(--frog-brand-teal)!important;
  box-shadow:0 7px 18px rgba(37,112,78,.07)!important;
}
html[data-theme="light"] .acl-stat span{color:#546D60!important}
html[data-theme="light"] .acl-stat small{color:#247F5C!important}
html[data-theme="light"] .acl-stat strong{color:var(--frog-ink)!important}

html[data-theme="light"] .diag-summary .diag-box:first-child{
  background:#fff!important;color:var(--frog-ink)!important;border:1px solid #C7DCD1!important;border-top:3px solid var(--frog-brand-teal)!important;
  box-shadow:0 7px 18px rgba(37,112,78,.07)!important;
}
html[data-theme="light"] .diag-summary .diag-box:first-child span,
html[data-theme="light"] .diag-summary .diag-box:first-child small{color:#556F61!important}
html[data-theme="light"] .diag-summary .diag-box:first-child strong{color:var(--frog-brand-teal)!important}

html[data-theme="light"] .identity-tabs{
  background:rgba(255,255,255,.96)!important;border-color:#C6DCD1!important;box-shadow:0 8px 22px rgba(37,112,78,.07)!important;
}
html[data-theme="light"] .identity-tabs a{
  background:#F7FAF8!important;color:#3D5B4C!important;border-color:#D2E2DA!important;
}
html[data-theme="light"] .identity-tabs a:hover{
  background:var(--frog-brand-teal-soft)!important;color:var(--frog-brand-deep)!important;border-color:#9CCFBA!important;
}
html[data-theme="light"] .identity-tabs a:first-child,
html[data-theme="light"] .identity-tabs a.active{
  background:var(--frog-brand-teal)!important;color:#fff!important;border-color:var(--frog-brand-teal)!important;
  box-shadow:0 5px 14px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .identity-save{
  background:rgba(255,255,255,.96)!important;border-color:#C6DCD1!important;box-shadow:0 10px 26px rgba(37,112,78,.10)!important;
}

/* Integrações, licença e módulos: branco como superfície, marca no acento. */
html[data-theme="light"] :where(.integration-card-new,.adaptive-product-card,.license-product-grid .adaptive-product-card){
  background:#fff!important;border-color:#C8DED3!important;border-top-color:var(--frog-brand-teal)!important;
}
html[data-theme="light"] :where(.integration-card-new,.adaptive-product-card):hover{
  border-color:#8BC7AF!important;box-shadow:0 13px 28px rgba(37,112,78,.12)!important;
}
html[data-theme="light"] :where(.integration-kind,.adaptive-product-action){color:var(--frog-brand-teal)!important}

/* Central de Conhecimento: único hero de cor forte, mas usa o teal da marca. */
html[data-theme="light"] .knowledge-hero{
  background:
    radial-gradient(circle at 82% 24%,rgba(246,240,98,.10),transparent 29%),
    linear-gradient(125deg,var(--frog-brand-teal) 0%,#218F66 58%,#287A59 100%)!important;
  border-color:#4EB993!important;
  box-shadow:0 18px 42px rgba(37,134,95,.20)!important;
}
html[data-theme="light"] .knowledge-hero h1{color:#fff!important}
html[data-theme="light"] .knowledge-hero p{color:#E9F7F1!important}
html[data-theme="light"] .knowledge-kicker{color:var(--frog-brand-yellow)!important}
html[data-theme="light"] .knowledge-search{background:rgba(255,255,255,.96)!important;border-color:rgba(255,255,255,.72)!important}
html[data-theme="light"] .knowledge-search input{color:var(--frog-ink)!important}
html[data-theme="light"] .knowledge-search svg{color:var(--frog-brand-deep)!important}
html[data-theme="light"] .knowledge-search button{background:var(--frog-brand-yellow)!important;color:var(--frog-brand-deep)!important}
html[data-theme="light"] .knowledge-search button:hover{background:#F1E94E!important}
html[data-theme="light"] .knowledge-quick-links{color:#E2F4EC!important}
html[data-theme="light"] .knowledge-quick-links a{color:#fff!important;border-color:rgba(255,255,255,.32)!important;background:rgba(255,255,255,.08)!important}
html[data-theme="light"] .knowledge-quick-links a:hover{background:rgba(255,255,255,.18)!important;color:#fff!important}

/* Estados, links e detalhes verdes: nunca usar #1ED760 como texto longo em branco. */
html[data-theme="light"] :where(.success-text,.text-success,.is-success-text,.status-ok,.health-ok){color:#21865F!important}
html[data-theme="light"] :where(.integration-status.active,.badge-success,.pc-status.is-pass){color:#1F7657!important;background:#E5F4ED!important;border-color:#B7DCCB!important}
html[data-theme="light"] :where(.dashboard-license-strip>a,.crm2-conversion strong,.typebot-endpoint code){color:#1F7C59!important}

@media(max-width:760px){
  html[data-theme="light"] .identity-tabs{background:#fff!important}
  html[data-theme="light"] .side-menu a.active{box-shadow:inset 3px 0 0 var(--frog-brand-deep),0 6px 16px rgba(37,168,116,.18)!important}
}


/* ==========================================================================
   RC16.30.10h — UI Precision & Cross-Screen Polish
   Ajustes finos após homologação visual: tipografia, estados, fluxos,
   navegação financeira, ACL, empresa, contratos, licença e rodapé.
   ========================================================================== */

/* 1) Microtipografia: reforço apenas em páginas densas do Light. */
html[data-theme="light"] :where(
  .flow-panel,.stage-row,.rule-list,.reason-tags,
  .builder-panel,.builder-section,.builder-library,
  .client-wizard,.model-list,.cm-editor,
  .frog-finance-shell,.frog-finance-receber-shell,
  .acl-head,.acl-grid,.role-cards,.permission-groups,
  .identity-form,.settings-section,.license-center-section,.adaptive-products,
  .help-dashboard,.test-list
) :where(small,.muted,.subtitle,.field-help){
  color:#536B5E!important;
}
html[data-theme="light"] :where(
  .stage-sort-help,.test-meta,.editor-status,.editor-meta,.model-status,
  .frog-finance-helper,.frog-finance-table .sub,.frog-insight-head small,
  .frog-finance-mini-kpi span,.frog-finance-mini-kpi small,
  .adaptive-product-badge,.adaptive-products-count,.help-badge
){
  font-size:10.5px!important;
  line-height:1.35!important;
}
html[data-theme="light"] :where(.flow-panel label,.builder-section label,.acl-grid label,.identity-form label){
  color:#294E3D!important;
}

/* 2) Novo Cliente — remove a faixa quadrada indevida criada pela regra genérica
      de progresso e usa a paleta Frog nas quatro etapas. */
html[data-theme="light"] .wizard-progress{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:4px 0 0!important;
}
html[data-theme="light"] .wizard-progress li{
  color:#496456!important;
  font-size:12px!important;
}
html[data-theme="light"] .wizard-progress li:not(:last-child):after{
  background:#BFD8CC!important;
  height:2px!important;
}
html[data-theme="light"] .wizard-progress span{
  background:#F3F8F5!important;
  color:#32630C!important;
  border:1px solid #AFCFC0!important;
  box-shadow:0 4px 12px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .wizard-progress li.is-active span{
  background:#25A874!important;
  color:#fff!important;
  border-color:#25A874!important;
  box-shadow:0 0 0 5px rgba(37,168,116,.13),0 6px 16px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .wizard-progress li.is-active{
  color:#24513C!important;
}
html[data-theme="light"] .wizard-progress li.is-complete span{
  background:#7EB53F!important;
  color:#fff!important;
  border-color:#6A9D32!important;
}
html[data-theme="light"] .wizard-progress li.is-complete:not(:last-child):after{
  background:linear-gradient(90deg,#7EB53F,#25A874)!important;
}
html[data-theme="light"] .wizard-intro{
  background:#F3F8F5!important;
  border-color:#C7DDD2!important;
}
html[data-theme="light"] .wizard-step-count{color:#1F7F5B!important}

/* 3) Contratos Dinâmicos — editor e rodapé do editor deixam de carregar
      o bloco escuro no Light; modelos ganham separação e ações menos pesadas. */
html[data-theme="light"] .editor-shell{
  background:#fff!important;
  border-color:#BDD6C9!important;
  box-shadow:0 8px 22px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .editor-toolbar{
  background:#F4F8F6!important;
  border-bottom-color:#D4E4DC!important;
}
html[data-theme="light"] .tool-btn{
  background:#fff!important;
  color:#294E3D!important;
  border-color:#C9DDD3!important;
}
html[data-theme="light"] .tool-btn:hover,
html[data-theme="light"] .tool-btn.is-active{
  background:#E7F5EF!important;
  color:#176B4B!important;
  border-color:#8FC8B2!important;
}
html[data-theme="light"] .tool-select{
  background:#fff!important;
  color:#294E3D!important;
  border-color:#C9DDD3!important;
}
html[data-theme="light"] .tool-sep{background:#D1E1D9!important}
html[data-theme="light"] .editor-status{color:#527064!important}
html[data-theme="light"] .editor-meta{
  background:#F4F8F6!important;
  color:#587064!important;
  border-top-color:#D4E4DC!important;
  font-size:11px!important;
}
html[data-theme="light"] .switch-card{
  background:#F7FAF8!important;
  border-color:#D1E2D9!important;
}
html[data-theme="light"] .model-card{
  background:#fff!important;
  border-color:#CADFD5!important;
  box-shadow:0 6px 18px rgba(37,112,78,.05)!important;
}
html[data-theme="light"] .model-card:hover{
  border-color:#8FC8B2!important;
  box-shadow:0 11px 24px rgba(37,112,78,.10)!important;
  transform:translateY(-1px);
}
html[data-theme="light"] .model-status{
  background:#F0F5F2!important;
  color:#546B5F!important;
  border:1px solid #D5E3DC!important;
}
html[data-theme="light"] .model-status.published{
  background:#E6F5EE!important;
  color:#1B7654!important;
  border-color:#B8DDCB!important;
}
html[data-theme="light"] .model-card .chip{
  background:#F3F8F5!important;
  color:#466153!important;
  border:1px solid #D3E3DB!important;
}
html[data-theme="light"] .cm-actions .btn.btn-ghost{
  background:#fff!important;
  color:#1F7756!important;
  border-color:#BBD8CA!important;
}
html[data-theme="light"] .cm-actions .btn.btn-ghost:hover{
  background:#E7F5EF!important;
  border-color:#8FC8B2!important;
}

/* 4) Frog Finance — cada aba recebe uma superfície leve mesmo sem hover.
      O ativo usa #25A874; verde noturno não entra na navegação Light. */
html[data-theme="light"] .frog-finance-nav{
  gap:7px!important;
  padding:8px!important;
  background:rgba(255,255,255,.92)!important;
}
html[data-theme="light"] .frog-finance-nav a{
  background:#F3F8F5!important;
  color:#385A4A!important;
  border:1px solid #D3E4DB!important;
  min-height:40px!important;
}
html[data-theme="light"] .frog-finance-nav a:hover{
  background:#E3F3EC!important;
  color:#176B4B!important;
  border-color:#9BCDB9!important;
  box-shadow:0 5px 12px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .frog-finance-nav a.active,
html[data-theme="light"] .frog-finance-nav .frog-finance-nav-main.active{
  background:#25A874!important;
  color:#fff!important;
  border-color:#25A874!important;
  box-shadow:0 6px 15px rgba(37,168,116,.17)!important;
}
html[data-theme="light"] .frog-finance-nav .frog-finance-nav-main:not(.active){
  color:#32630C!important;
}
html[data-theme="light"] .frog-insight-head p,
html[data-theme="light"] .frog-insight-head small,
html[data-theme="light"] .frog-chart-legend,
html[data-theme="light"] .frog-insight-empty{
  color:#577064!important;
}
html[data-theme="light"] .frog-insight-empty{
  background:#FAFCFB!important;
  border-color:#C9DDD3!important;
}
html[data-theme="light"] .frog-insight-empty strong{color:#294E3D!important}

/* Hover em tabelas/listas: elimina a faixa verde repetida em cada célula. */
html[data-theme="light"] :where(.table,.pc-table,.frog-finance-table) tbody tr:hover td{
  background:#EDF7F2!important;
  box-shadow:none!important;
}
html[data-theme="light"] :where(.table,.pc-table,.frog-finance-table) tbody tr:hover td:first-child{
  box-shadow:inset 3px 0 0 #25A874!important;
}

/* 5) Consumo de licença e usuários — barra antiga substituída pela paleta oficial. */
html[data-theme="light"] .usage-inline{
  background:#fff!important;
  border-color:#C8DED3!important;
  color:#294E3D!important;
  box-shadow:0 7px 18px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .usage-inline small{color:#557064!important}
html[data-theme="light"] .usage-inline p{color:#247F5C!important}
html[data-theme="light"] .usage-inline-progress{
  background:#E0ECE6!important;
}
html[data-theme="light"] .usage-inline-progress i{
  background:linear-gradient(90deg,#7EB53F,#25A874)!important;
  box-shadow:none!important;
}
html[data-theme="light"] .usage-inline>a{color:#1C7553!important}

/* 6) ACL — perfis e grupos deixam o verde noturno; mantém profundidade por
      borda/ícone e usa #32630C apenas como texto/acento controlado. */
html[data-theme="light"] .role-card{
  background:#fff!important;
  color:#294E3D!important;
  border:1px solid #C8DED3!important;
  border-top:3px solid #25A874!important;
  box-shadow:0 7px 18px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] .role-card:hover{
  background:#F8FBF9!important;
  border-color:#8FC8B2!important;
  box-shadow:0 12px 26px rgba(37,112,78,.11)!important;
}
html[data-theme="light"] .role-card>span{
  background:#E7F5EF!important;
  color:#32630C!important;
  border:1px solid #C3DCCE!important;
}
html[data-theme="light"] .role-card strong{color:#17382A!important}
html[data-theme="light"] .role-card small{color:#5A7065!important}
html[data-theme="light"] .role-card p{color:#1F7F5B!important}
html[data-theme="light"] .permission-groups details{
  background:#fff!important;
  border-color:#C8DED3!important;
}
html[data-theme="light"] .permission-groups summary{
  background:#EAF5EF!important;
  color:#24513C!important;
  border-bottom:1px solid #D0E2D9!important;
}
html[data-theme="light"] .permission-groups summary span{color:#587064!important}
html[data-theme="light"] .permission-groups summary:after{color:#25A874!important}
html[data-theme="light"] .permission-groups details>div{background:#DCE9E2!important}
html[data-theme="light"] .permission-item{
  background:#fff!important;
  color:#294E3D!important;
}
html[data-theme="light"] .permission-item:hover{background:#F1F8F4!important}
html[data-theme="light"] .permission-item strong{color:#244B39!important}
html[data-theme="light"] .permission-item small{color:#61776B!important}
html[data-theme="light"] .permission-item code{color:#1F7F5B!important}

/* 7) Empresa — remove blocos escuros residuais na comunicação. */
html[data-theme="light"] .communication-cards article{
  background:#F7FAF8!important;
  border-color:#C9DED4!important;
  box-shadow:none!important;
}
html[data-theme="light"] .communication-cards article:hover{
  background:#EFF8F3!important;
  border-color:#9BCDB9!important;
}
html[data-theme="light"] .communication-cards span{color:#1F7F5B!important}
html[data-theme="light"] .communication-cards strong{color:#17382A!important}
html[data-theme="light"] .communication-cards p{color:#5A7065!important}
html[data-theme="light"] .identity-save{
  background:rgba(255,255,255,.96)!important;
  border-color:#C5DBD0!important;
  box-shadow:0 10px 28px rgba(37,112,78,.10)!important;
}
html[data-theme="light"] .company-logo-uploader{
  background:#F2F7F4!important;
  border-color:#AFCFC0!important;
}
html[data-theme="light"] .company-logo-action{
  border-color:#D0E1D8!important;
}
html[data-theme="light"] .company-logo-action>strong,
html[data-theme="light"] .company-logo-rules>strong{color:#294E3D!important}
html[data-theme="light"] .company-logo-action>span:not(.upload-cloud),
html[data-theme="light"] .company-logo-rules ul{color:#597064!important}
html[data-theme="light"] .upload-button{
  background:#25A874!important;
  color:#fff!important;
  border-color:#25A874!important;
}
html[data-theme="light"] .upload-button span{color:#F6F062!important}

/* 8) Configurações — cartões cinza do hub passam a tons claros conectados. */
html[data-theme="light"] .settings-hub-grid>div{
  background:#F4F8F6!important;
  border-color:#CADFD5!important;
}
html[data-theme="light"] .settings-hub-grid>div:hover{
  background:#EAF5EF!important;
  border-color:#9BCDB9!important;
}
html[data-theme="light"] .settings-hub-grid strong{color:#244B39!important}
html[data-theme="light"] .settings-hub-grid span{color:#5B7165!important}

/* 9) Recursos e Licença — badges ATIVO precisam ser legíveis. */
html[data-theme="light"] .adaptive-product-badge{
  background:#E3F3EB!important;
  color:#176B4B!important;
  border:1px solid #B7D9C9!important;
  font-size:10px!important;
}
html[data-theme="light"] .adaptive-products-count{
  background:#E8F5EE!important;
  color:#1D7655!important;
  border:1px solid #C3DED0!important;
}
html[data-theme="light"] .adaptive-product-benefits li:before{color:#25A874!important}
html[data-theme="light"] .adaptive-product-action{color:#1E7655!important}

/* 10) Centro de Homologação — estados e botões permanecem dentro do card. */
html[data-theme="light"] .hom-toolbar{
  background:#fff!important;
  border:1px solid #D2E3DA!important;
  border-radius:14px!important;
  padding:10px!important;
}
html[data-theme="light"] .test-code{color:#1E7655!important}
html[data-theme="light"] .test-meta{color:#5B7165!important}
html[data-theme="light"] .test-card .help-badge{
  color:#456054!important;
  background:#E8F0EB!important;
  border-color:#C7D9D0!important;
}

/* 11) Rodapé — sem faixa branca; integra-se ao background da página. */
html[data-theme="light"] .app-footer{
  background:transparent!important;
  border-top:0!important;
  box-shadow:none!important;
  color:#60766A!important;
  padding-top:4px!important;
}
html[data-theme="light"] .app-footer strong{color:#365649!important}
html[data-theme="light"] .app-footer .app-version-meta small{color:#71857A!important;opacity:1!important}

@media(max-width:900px){
  html[data-theme="light"] .frog-finance-nav a{background:#F3F8F5!important}
  html[data-theme="light"] .role-card{min-height:auto}
}

/* ========================================================================== 
   RC16.30.10i — Light Final Contrast & Interaction Polish
   Fechamento global da versão clara: controles visíveis em repouso, contraste
   coerente entre módulos e eliminação de resíduos dark nas telas operacionais.
   ========================================================================== */

/* 1) Navegação: cada item passa a ter contorno leve também em repouso. */
html[data-theme="light"] .side-menu a{
  background:rgba(255,255,255,.46)!important;
  border:1px solid #DCE9E2!important;
  box-shadow:0 2px 7px rgba(37,112,78,.025)!important;
}
html[data-theme="light"] .side-menu a:hover{
  background:#ECF7F1!important;
  border-color:#B7D7C8!important;
}
html[data-theme="light"] .side-menu a.active{
  border-color:#25A874!important;
}

/* 2) Dashboard: licença sem sombra e links de cabeçalho nunca transparentes. */
html[data-theme="light"] .dashboard-license-strip{
  box-shadow:none!important;
  border-color:#CDDCD3!important;
}
html[data-theme="light"] .dash-list-card .chart-head a,
html[data-theme="light"] .dash-summary-open{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  background:#F2F8F5!important;
  color:#1F7657!important;
  border:1px solid #BDD8CB!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html[data-theme="light"] .dash-list-card .chart-head a:hover,
html[data-theme="light"] .dash-summary-open:hover{
  background:#E5F4ED!important;
  border-color:#8FC8B2!important;
  color:#175F45!important;
}

/* 3) Campos de data/hora: ícone nativo Frog visível em qualquer tela clara. */
html[data-theme="light"] input[type="date"],
html[data-theme="light"] input[type="datetime-local"],
html[data-theme="light"] input[type="month"]{
  color-scheme:light!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2325A874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E")!important;
}
html[data-theme="light"] input[type="time"]{
  color-scheme:light!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2325A874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")!important;
}

/* 4) ON/OFF: trilha e rótulo legíveis em todos os padrões de toggle existentes. */
html[data-theme="light"] input[type="checkbox"].frog-toggle-input:not(:checked){
  background:#D8E4DD!important;
  border-color:#AFC7BA!important;
}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input:not(:checked)::after{
  color:#536A5E!important;
}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input:checked{
  background:#25A874!important;
  border-color:#1F9264!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)!important;
}
html[data-theme="light"] input[type="checkbox"].frog-toggle-input:checked::after{
  color:#123D2D!important;
  font-weight:950!important;
}
html[data-theme="light"] :where(.switch input:checked+span,.switch-row input:checked+.switch-ui,.mini-switch input:checked+span,.frog-toggle input:checked+.frog-toggle-track,.feature-native-input:checked+.feature-switch){
  background:#25A874!important;
  border-color:#1F9264!important;
}
html[data-theme="light"] :where(.switch span,.switch-ui,.frog-toggle-track,.feature-switch){
  border:1px solid #AEC7BA!important;
  box-shadow:inset 0 1px 2px rgba(37,112,78,.08)!important;
}

/* 5) Ações secundárias/ícones: estado normal visível; hover apenas reforça. */
html[data-theme="light"] :where(.btn-ghost,.btn.ghost){
  background:#FFFFFF!important;
  color:#1F7657!important;
  border:1px solid #BBD8CA!important;
  box-shadow:0 3px 10px rgba(37,112,78,.04)!important;
}
html[data-theme="light"] :where(.btn-ghost,.btn.ghost):hover{
  background:#E7F5EF!important;
  border-color:#8FC8B2!important;
}
html[data-theme="light"] :where(.icon-btn,.action-btn,.icon-action):not(.danger):not(.btn-danger){
  background:#FFFFFF!important;
  border-color:#BED8CB!important;
  color:#1F7657!important;
  box-shadow:0 3px 9px rgba(37,112,78,.04)!important;
}
html[data-theme="light"] :where(.icon-btn,.action-btn,.icon-action):not(.danger):not(.btn-danger):hover{
  background:#E7F5EF!important;
  border-color:#8FC8B2!important;
}
html[data-theme="light"] :where(.lead-whatsapp-btn,.whatsapp-quick-btn,.whatsapp-action,.lead-contact-whatsapp){
  background:#25A874!important;
  border-color:#25A874!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(37,168,116,.14)!important;
}

/* 6) Listas/tabelas: hover único na linha e cabeçalho com separação nítida. */
html[data-theme="light"] :where(.support-table,.checkout-admin-table,.bill-table table,.ft-commerce-table,.pc-table,.frog-finance-table) th{
  background:#F2F8F5!important;
  color:#496456!important;
  border-bottom-color:#D3E3DB!important;
}
html[data-theme="light"] :where(.support-table,.checkout-admin-table,.bill-table table,.ft-commerce-table,.pc-table,.frog-finance-table) td{
  color:#294E3D!important;
  border-bottom-color:#E0EAE4!important;
}
html[data-theme="light"] :where(.support-table,.checkout-admin-table,.bill-table table,.ft-commerce-table,.pc-table,.frog-finance-table) tbody tr:hover td{
  background:#EDF7F2!important;
  box-shadow:none!important;
}
html[data-theme="light"] :where(.support-table,.checkout-admin-table,.bill-table table,.ft-commerce-table,.pc-table,.frog-finance-table) tbody tr:hover td:first-child{
  box-shadow:inset 3px 0 0 #25A874!important;
}

/* 7) Billing Center: abas, painéis e controles sem resíduos noturnos. */
html[data-theme="light"] .bill-form,
html[data-theme="light"] .bill-panel,
html[data-theme="light"] .bill-metrics article{
  background:#FFFFFF!important;
  color:#294E3D!important;
  border-color:#C8DED3!important;
  box-shadow:0 6px 18px rgba(37,112,78,.055)!important;
}
html[data-theme="light"] .bill-tabs{
  background:#F6FAF8!important;
  border-bottom-color:#D3E3DB!important;
}
html[data-theme="light"] .bill-tabs button{
  background:#FFFFFF!important;
  color:#365649!important;
  border-color:#C8DED3!important;
}
html[data-theme="light"] .bill-tabs button:hover{
  background:#ECF7F1!important;
  border-color:#9BCDB9!important;
}
html[data-theme="light"] .bill-tabs button.active{
  background:#25A874!important;
  color:#FFFFFF!important;
  border-color:#25A874!important;
}
html[data-theme="light"] .bill-save{
  background:#F7FAF8!important;
  border-top-color:#D3E3DB!important;
}
html[data-theme="light"] .bill-panel details,
html[data-theme="light"] .template-vars{
  background:#F5F9F7!important;
  border-color:#D3E3DB!important;
  color:#365649!important;
}

/* 8) Implantação: checklist e cards com interação leve e consistente. */
html[data-theme="light"] .impl-project-card{
  background:#FFFFFF!important;
  border:1px solid #C8DED3!important;
  box-shadow:0 5px 15px rgba(37,112,78,.045)!important;
}
html[data-theme="light"] .impl-project-card:hover{
  background:#F8FBF9!important;
  border-color:#8FC8B2!important;
  box-shadow:0 10px 24px rgba(37,112,78,.09)!important;
}
html[data-theme="light"] .task-row{
  background:#FFFFFF!important;
  border-color:#DCE8E1!important;
}
html[data-theme="light"] .task-row:hover{background:#F1F8F4!important}
html[data-theme="light"] .task-row select,
html[data-theme="light"] .task-row input[type="date"]{
  background-color:#FFFFFF!important;
  border-color:#C7DCD1!important;
}
html[data-theme="light"] .timeline-item{
  background:#F7FAF8!important;
  border-color:#25A874!important;
  color:#294E3D!important;
}

/* 9) Suporte: estados, itens de configuração e protocolo permanecem legíveis. */
html[data-theme="light"] .support-card,
html[data-theme="light"] .support-kpi{
  box-shadow:0 6px 18px rgba(37,112,78,.055)!important;
}
html[data-theme="light"] .badge-support{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border:1px solid #B7DCCB!important;
}
html[data-theme="light"] .status-dot.is-active{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border:1px solid #B7DCCB!important;
}
html[data-theme="light"] .status-dot.is-inactive{
  background:#F1F5F2!important;
  color:#5B7165!important;
  border:1px solid #D2E0D8!important;
}
html[data-theme="light"] .setting-item,
html[data-theme="light"] .portal-link-item{
  background:#FFFFFF!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] .setting-item:hover,
html[data-theme="light"] .portal-link-item:hover{
  background:#F1F8F4!important;
  border-color:#A7CFBD!important;
}
html[data-theme="light"] .link-box{
  background:#F4F8F6!important;
  color:#315C48!important;
  border:1px solid #D3E3DB!important;
}
html[data-theme="light"] .support-modal-actions{
  background:#FFFFFF!important;
  border-top-color:#D3E3DB!important;
}

/* 10) Usuários / ACL: cards e agrupadores com hierarquia sem cabeçalho escuro. */
html[data-theme="light"] .user-card,
html[data-theme="light"] .role-card,
html[data-theme="light"] .permission-groups details{
  box-shadow:0 6px 18px rgba(37,112,78,.05)!important;
}
html[data-theme="light"] .permission-groups details>div{
  background:#F4F8F6!important;
  border-top:1px solid #D3E3DB!important;
}
html[data-theme="light"] .permission-groups summary{
  background:#EAF5EF!important;
  color:#24513C!important;
}
html[data-theme="light"] .permission-item{
  border:1px solid #D9E6DF!important;
  box-shadow:none!important;
}

/* 11) Empresa: previews/upload deixam o dark legado mantendo contraste de marca. */
html[data-theme="light"] :where(.preview-sidebar,.preview-doc,.upload-card,.upload-control,.operator-preview-compact){
  background:#F5F9F7!important;
  color:#294E3D!important;
  border-color:#C8DED3!important;
  box-shadow:none!important;
}
html[data-theme="light"] .preview-sidebar small,
html[data-theme="light"] .preview-doc span,
html[data-theme="light"] .operator-preview-compact span,
html[data-theme="light"] .upload-filename{
  color:#5A7065!important;
  opacity:1!important;
}
html[data-theme="light"] .operator-preview-compact strong,
html[data-theme="light"] .operator-preview-label,
html[data-theme="light"] .company-logo-label{
  color:#244B39!important;
}
html[data-theme="light"] .upload-control:hover,
html[data-theme="light"] .upload-card:hover{
  background:#ECF7F1!important;
  border-color:#9BCDB9!important;
}
html[data-theme="light"] .identity-status.is-ok{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border-color:#B7DCCB!important;
}
html[data-theme="light"] .identity-status.is-pending{
  background:#FFF7E5!important;
  color:#8A650F!important;
  border-color:#E8D39B!important;
}

/* 12) Configurações / Centro Comercial / Integrações. */
html[data-theme="light"] .ft-mini-kpi,
html[data-theme="light"] .ft-new-service,
html[data-theme="light"] .ft-commerce-table-wrap{
  background:#FFFFFF!important;
  color:#294E3D!important;
  border-color:#C8DED3!important;
  box-shadow:0 6px 18px rgba(37,112,78,.045)!important;
}
html[data-theme="light"] .ft-commerce-table th{color:#496456!important}
html[data-theme="light"] .ft-badge-soft{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border-color:#B7DCCB!important;
}
html[data-theme="light"] .settings-hub-grid>div,
html[data-theme="light"] .integration-card-new{
  box-shadow:0 5px 15px rgba(37,112,78,.045)!important;
}

/* 13) Platform Billing / Tenant: cartões internos passam integralmente ao Light. */
html[data-theme="light"] .billing-hero,
html[data-theme="light"] .license-platform-billing-card,
html[data-theme="light"] .tenant-billing-card{
  background:#FFFFFF!important;
  color:#294E3D!important;
  border-color:#C8DED3!important;
  box-shadow:0 7px 20px rgba(37,112,78,.06)!important;
}
html[data-theme="light"] :where(.billing-policy-flow>div,.tenant-billing-summary article,.license-platform-billing-grid article,.license-platform-billing-invoice,.tenant-billing-composition article,.tenant-billing-empty,.tenant-billing-provider-ids>div,.tenant-billing-gateway){
  background:#F5F9F7!important;
  color:#294E3D!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] :where(.tenant-billing-summary strong,.license-platform-billing-grid strong,.license-platform-billing-invoice strong,.tenant-billing-composition article>strong,.tenant-billing-empty strong,.tenant-billing-gateway strong){
  color:#244B39!important;
}
html[data-theme="light"] :where(.tenant-billing-summary span,.license-platform-billing-grid small,.license-platform-billing-invoice small,.tenant-billing-composition article>span,.tenant-billing-empty span,.tenant-billing-gateway span,.tenant-billing-intro){
  color:#5A7065!important;
}
html[data-theme="light"] .platform-billing-banner-icon{
  background:#F1F7F4!important;
  color:#32630C!important;
  border:1px solid #C8DED3!important;
}
html[data-theme="light"] .tenant-billing-provider-ids code,
html[data-theme="light"] .tenant-billing-invoices>div>a{
  color:#1F7657!important;
}
html[data-theme="light"] .tenant-billing-details{
  border-top-color:#D5E4DC!important;
}
html[data-theme="light"] .tenant-billing-details summary{color:#365649!important}
html[data-theme="light"] .tenant-billing-invoices>div{border-bottom-color:#D7E5DE!important}

/* 14) Platform Control: formulários de preço e alertas sem fundo noturno. */
html[data-theme="light"] .platform-plan-price-form>div{
  background:#F5F9F7!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] .pc-alert.error{
  background:#FFF0EF!important;
  color:#9B3F38!important;
  border-color:#EBC3BF!important;
}

/* 15) Checkouts comerciais administrativos: cards, detalhes e eventos claros. */
html[data-theme="light"] .checkout-admin-kpis article,
html[data-theme="light"] .checkout-detail-grid>div,
html[data-theme="light"] .checkout-detail-columns>div,
html[data-theme="light"] .checkout-events,
html[data-theme="light"] .checkout-activation-box{
  background:#FFFFFF!important;
  color:#294E3D!important;
  border-color:#C8DED3!important;
  box-shadow:0 5px 15px rgba(37,112,78,.045)!important;
}
html[data-theme="light"] .checkout-admin-kpis strong,
html[data-theme="light"] .checkout-admin-table td strong,
html[data-theme="light"] .checkout-detail-grid strong,
html[data-theme="light"] .checkout-detail-total strong{
  color:#244B39!important;
}
html[data-theme="light"] .checkout-admin-kpis span,
html[data-theme="light"] .checkout-admin-kpis small,
html[data-theme="light"] .checkout-admin-table td small,
html[data-theme="light"] .checkout-detail-grid span,
html[data-theme="light"] .checkout-detail-columns p,
html[data-theme="light"] .checkout-events summary,
html[data-theme="light"] .checkout-events article{
  color:#5A7065!important;
}
html[data-theme="light"] .checkout-detail-columns h3,
html[data-theme="light"] .checkout-events article strong{
  color:#1F7657!important;
}
html[data-theme="light"] .checkout-status.is-cancelled{
  background:#F1F5F2!important;
  color:#5B7165!important;
  border:1px solid #D2E0D8!important;
}
html[data-theme="light"] .checkout-error-box{
  background:#FFF0EF!important;
  color:#9B3F38!important;
  border:1px solid #EBC3BF!important;
}

/* 16) Planos/licenças: controles internos e áreas recolhíveis sem preto residual. */
html[data-theme="light"] :where(.plan-details>summary,.module-accordion,.feature-control,.internal-plans-shell,.dependency-shell,.inactive-addons-shell,.plan-price-block){
  background:#F7FAF8!important;
  color:#294E3D!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] :where(.module-accordion>summary strong,.feature-copy strong,.internal-plans-shell>summary b,.dependency-shell>summary b,.inactive-addons-shell>summary b,.addon-group-head span){
  color:#244B39!important;
}
html[data-theme="light"] :where(.module-accordion>summary small,.feature-copy small,.internal-plans-shell>summary small,.dependency-shell>summary small,.inactive-addons-shell>summary small,.addon-group-head p){
  color:#5A7065!important;
}
html[data-theme="light"] :where(.plan-reference-price-form input,.feature-limit-input,.addon-price-row input,.addon-price-row select){
  background:#FFFFFF!important;
  color:#294E3D!important;
}

/* 17) Diagnóstico, Conhecimento e Homologação: ações sempre delimitadas. */
html[data-theme="light"] :where(.help-link,.popular-list>a,.test-card,.knowledge-category,.knowledge-feature){
  border-color:#C8DED3!important;
}
html[data-theme="light"] .test-card :where(.btn,.btn-secondary,.icon-btn),
html[data-theme="light"] .hom-toolbar :where(.btn,.btn-secondary,.icon-btn){
  box-shadow:none!important;
}

/* 18) Componentes legados usados em várias telas internas. */
html[data-theme="light"] :where(.check-card,.resource-card,.proposal-paper,.proposal-values>div,.about-version-item,.status-flow-item,.flow-chip,.contract-toolbar-v2,.contract-summary-block,.contract-evidence-v2,.contract-delivery-status,.contract-qr-row){
  background:#F7FAF8!important;
  color:#294E3D!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] .sticky-actions{
  background:linear-gradient(180deg,rgba(255,255,255,.70),rgba(255,255,255,.98) 28%)!important;
  border-top-color:#D3E3DB!important;
}
html[data-theme="light"] :where(.badge-neutral,.badge-muted){
  background:#EEF4F0!important;
  color:#536A5E!important;
  border-color:#D3E0D8!important;
}
html[data-theme="light"] .action-edit{
  background:#FFFFFF!important;
  color:#1F7657!important;
  border-color:#BBD8CA!important;
}

@media(max-width:760px){
  html[data-theme="light"] .side-menu a{background:rgba(255,255,255,.58)!important}
  html[data-theme="light"] .support-modal-actions{background:#FFFFFF!important}
}
html[data-theme="light"] .btn-plus{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  color:inherit!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
}

/* 19) RC16.30.10i — contraste fino em Plataforma/Billing/Checkout/Planos. */
html[data-theme="light"] .billing-environment-tabs a{
  background:#FFFFFF!important;
  color:#365649!important;
  border-color:#C8DED3!important;
}
html[data-theme="light"] .billing-environment-tabs a:hover,
html[data-theme="light"] .billing-environment-tabs a.active{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border-color:#9BCDB9!important;
}
html[data-theme="light"] .billing-webhook-box{
  background:#F1F7FB!important;
  border-color:#C5DCEB!important;
}
html[data-theme="light"] .billing-webhook-box span{color:#37749A!important}
html[data-theme="light"] .billing-webhook-box code{color:#245E7D!important}
html[data-theme="light"] .billing-webhook-box small,
html[data-theme="light"] .billing-policy-panel>p,
html[data-theme="light"] .billing-contract-table td small{color:#5A7065!important}
html[data-theme="light"] .billing-policy-flow b{
  background:#E5F4ED!important;
  color:#1F7657!important;
}
html[data-theme="light"] .billing-policy-flow strong{color:#244B39!important}
html[data-theme="light"] .billing-policy-flow span{color:#5A7065!important}
html[data-theme="light"] .billing-policy-flow>i{color:#25A874!important}
html[data-theme="light"] .tenant-billing-head>div>span,
html[data-theme="light"] .license-platform-billing-head>div>span,
html[data-theme="light"] .tenant-billing-invoices>span,
html[data-theme="light"] .license-platform-billing-grid em,
html[data-theme="light"] .tenant-billing-composition article>small,
html[data-theme="light"] .tenant-billing-composition>b{color:#1F7657!important}
html[data-theme="light"] .tenant-billing-invoices>div>b,
html[data-theme="light"] .license-platform-billing-head p{color:#5A7065!important}
html[data-theme="light"] .tenant-billing-invoices>div>strong{color:#244B39!important}
html[data-theme="light"] .platform-billing-banner{
  background:#FFF8E7!important;
  border-color:#E7D29A!important;
  box-shadow:0 5px 14px rgba(108,86,29,.07)!important;
}
html[data-theme="light"] .platform-billing-banner.is-past_due{
  background:#FFF0EF!important;
  border-color:#EBC3BF!important;
}
html[data-theme="light"] .platform-billing-banner.is-cancel{
  background:#EDF7FF!important;
  border-color:#B9D7EA!important;
}
html[data-theme="light"] .platform-billing-banner-copy strong{color:#244B39!important}
html[data-theme="light"] .platform-billing-banner-copy span{color:#776326!important}
html[data-theme="light"] .platform-billing-banner.is-past_due .platform-billing-banner-copy span{color:#8E4D47!important}
html[data-theme="light"] .platform-billing-banner.is-cancel .platform-billing-banner-copy span{color:#366B89!important}
html[data-theme="light"] .platform-billing-banner>a{color:#7D6415!important}
html[data-theme="light"] .platform-billing-banner.is-past_due>a{color:#9B3F38!important}
html[data-theme="light"] .platform-billing-banner.is-cancel>a{color:#2E7096!important}

html[data-theme="light"] .checkout-status.is-paid,
html[data-theme="light"] .checkout-provision.is-completed{
  background:#E5F4ED!important;
  color:#1F7657!important;
  border:1px solid #B7DCCB!important;
}
html[data-theme="light"] .checkout-status.is-awaiting_payment,
html[data-theme="light"] .checkout-status.is-creating_payment,
html[data-theme="light"] .checkout-provision.is-pending_payment,
html[data-theme="light"] .checkout-provision.is-disabled,
html[data-theme="light"] .checkout-env.is-sandbox{
  background:#FFF7E5!important;
  color:#8A650F!important;
  border:1px solid #E8D39B!important;
}
html[data-theme="light"] .checkout-status.is-overdue,
html[data-theme="light"] .checkout-status.is-failed,
html[data-theme="light"] .checkout-status.is-refunded,
html[data-theme="light"] .checkout-provision.is-failed{
  background:#FFF0EF!important;
  color:#9B3F38!important;
  border:1px solid #EBC3BF!important;
}
html[data-theme="light"] .checkout-provision.is-running,
html[data-theme="light"] .checkout-provision.is-pending,
html[data-theme="light"] .checkout-provision.is-queued,
html[data-theme="light"] .checkout-provision.is-partial,
html[data-theme="light"] .checkout-env.is-production{
  background:#EDF7FF!important;
  color:#2E7096!important;
  border:1px solid #B9D7EA!important;
}
html[data-theme="light"] .checkout-empty{color:#5A7065!important}
html[data-theme="light"] .checkout-detail-total strong{color:#1F7657!important}
html[data-theme="light"] .checkout-error-box strong{color:#9B3F38!important}
html[data-theme="light"] .checkout-activation-box span{color:#5A7065!important}
html[data-theme="light"] .checkout-activation-box strong{color:#244B39!important}

html[data-theme="light"] .prio-urgente,
html[data-theme="light"] .sla-estourado{color:#A33D37!important}
html[data-theme="light"] .prio-alta,
html[data-theme="light"] .sla-critico{color:#98620C!important}
html[data-theme="light"] .sla-ok{color:#1F7657!important}

html[data-theme="light"] .plan-strategy-grid small,
html[data-theme="light"] .plan-tier,
html[data-theme="light"] .commercial-plan-card__head p,
html[data-theme="light"] .plan-price-block small,
html[data-theme="light"] .plan-price-block span,
html[data-theme="light"] .plan-reference-price-form>label,
html[data-theme="light"] .plan-matrix-footer p,
html[data-theme="light"] .addon-catalog-card header small,
html[data-theme="light"] .addon-catalog-card>p,
html[data-theme="light"] .addon-catalog-card li,
html[data-theme="light"] .addon-catalog-card form>label,
html[data-theme="light"] .internal-plan-grid small,
html[data-theme="light"] .internal-plan-grid p,
html[data-theme="light"] .plan-commercial-rule p{color:#5A7065!important}
html[data-theme="light"] .plan-strategy-grid strong,
html[data-theme="light"] .plan-strategy-grid p,
html[data-theme="light"] .commercial-plan-card h3,
html[data-theme="light"] .plan-price-block strong,
html[data-theme="light"] .plan-limit-row span,
html[data-theme="light"] .plan-module-summary span,
html[data-theme="light"] .addon-catalog-card h3,
html[data-theme="light"] .internal-plan-grid strong,
html[data-theme="light"] .plan-commercial-rule b{color:#244B39!important}
html[data-theme="light"] .plan-coverage{color:#5A7065!important}
html[data-theme="light"] .plan-coverage strong,
html[data-theme="light"] .module-accordion>summary em,
html[data-theme="light"] .feature-copy code,
html[data-theme="light"] .internal-plan-grid span,
html[data-theme="light"] .plan-commercial-rule strong,
html[data-theme="light"] .addon-group-head em{color:#1F7657!important}
html[data-theme="light"] .addon-catalog-card header>span,
html[data-theme="light"] .module-icon{
  background:#E5F4ED!important;
  color:#1F7657!important;
}
html[data-theme="light"] .internal-plan-grid article{
  background:#FFFFFF!important;
  border-color:#D3E3DB!important;
}
html[data-theme="light"] .plan-details[open]>summary{
  background:#EAF5EF!important;
  border-color:#9BCDB9!important;
  color:#24513C!important;
}


/* ==========================================================================
   RC16.30.10j — CRM Light Readability & Native Date Controls
   Ajustes dirigidos à homologação visual do CRM em tema claro.
   ========================================================================== */

/* 1) Kanban CRM — WhatsApp deve permanecer identificado mesmo diante dos
   overrides genéricos dos icon-buttons do tema claro. */
html[data-theme="light"] .lead-card-v3 .lead-actions-hover .lead-whatsapp-btn,
html[data-theme="light"] .lead-card-v3 .lead-actions-hover a.lead-whatsapp-btn.icon-btn.ft-action-btn{
  background:#25A874!important;
  border-color:#25A874!important;
  color:#FFFFFF!important;
  box-shadow:0 4px 10px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .lead-card-v3 .lead-actions-hover .lead-whatsapp-btn:hover,
html[data-theme="light"] .lead-card-v3 .lead-actions-hover a.lead-whatsapp-btn.icon-btn.ft-action-btn:hover{
  background:#1F9264!important;
  border-color:#1F9264!important;
  color:#FFFFFF!important;
}
html[data-theme="light"] .lead-card-v3 .lead-actions-hover .lead-whatsapp-btn .ft-action-icon-whatsapp{
  opacity:1!important;
  filter:none!important;
}

/* 2) Datas e horários — no Light, usar o indicador nativo do navegador.
   É mais confiável que o ícone aplicado por background em date/datetime-local
   e cobre todas as telas que usam controles HTML5 de calendário/horário. */
html[data-theme="light"] input[type="date"],
html[data-theme="light"] input[type="datetime-local"],
html[data-theme="light"] input[type="month"],
html[data-theme="light"] input[type="time"]{
  color-scheme:light!important;
  background-image:none!important;
  padding-right:44px!important;
}
html[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="month"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator{
  opacity:.72!important;
  display:block!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  margin:0!important;
  padding:0!important;
  right:13px!important;
  cursor:pointer!important;
  filter:none!important;
}
html[data-theme="light"] input[type="date"]:hover::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="month"]:hover::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="time"]:hover::-webkit-calendar-picker-indicator{
  opacity:1!important;
}

/* 3) Editar lead — próxima atividade: retirar bloco escuro herdado do Dark. */
html[data-theme="light"] .lead-detail-grid .next-activity-box,
html[data-theme="light"] .lead-detail-grid .next-activity-empty{
  background:#F3F8F5!important;
  border:1px solid #C9DDD2!important;
  color:#35594A!important;
  box-shadow:none!important;
}
html[data-theme="light"] .lead-detail-grid .next-activity-box strong{
  color:#315747!important;
  font-weight:760!important;
}
html[data-theme="light"] .lead-detail-grid .next-activity-box span{
  color:#6C8277!important;
}
html[data-theme="light"] .lead-detail-grid .next-activity-box a{
  color:#23815E!important;
  font-weight:750!important;
}

/* 4) Próximas atividades — cada item volta a ser um card reconhecível. */
html[data-theme="light"] .lead-side-panel .lead-task-list{
  gap:8px!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item{
  background:#FFFFFF!important;
  border:1px solid #D9E7E0!important;
  border-left:3px solid #55C995!important;
  box-shadow:0 2px 7px rgba(37,112,78,.035)!important;
  opacity:1!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item:hover{
  background:#F8FBF9!important;
  border-color:#C4DDD1!important;
  border-left-color:#3DB77F!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item.status-concluida{
  background:#FAFCFB!important;
  border-color:#E0E9E4!important;
  border-left-color:#A7CDBB!important;
  opacity:.82!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item>span{
  background:#EAF6F0!important;
  border:1px solid #D4EADF!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item strong{
  color:#36594A!important;
  font-weight:720!important;
}
html[data-theme="light"] .lead-side-panel .lead-task-item small{
  color:#7B9186!important;
}

/* 5) Timeline inteligente — ícones e títulos mais leves e discretos. */
html[data-theme="light"] .lead-side-panel .smart-timeline:before{
  background:#D7E9E0!important;
}
html[data-theme="light"] .lead-side-panel .smart-event-icon{
  background:#EAF5EF!important;
  border:1px solid #CBE2D6!important;
  color:#4B7662!important;
  box-shadow:none!important;
}
html[data-theme="light"] .lead-side-panel .event-danger .smart-event-icon{
  background:#FFF2F1!important;
  border-color:#F0D0CD!important;
}
html[data-theme="light"] .lead-side-panel .event-success .smart-event-icon{
  background:#EDF8F2!important;
  border-color:#CBE6D7!important;
}
html[data-theme="light"] .lead-side-panel :where(.event-proposal,.event-contract) .smart-event-icon{
  background:#F1F6FA!important;
  border-color:#D2E0E8!important;
}
html[data-theme="light"] .lead-side-panel .smart-event-body{
  background:#FFFFFF!important;
  border:1px solid #E1EAE5!important;
  box-shadow:none!important;
}
html[data-theme="light"] .lead-side-panel .smart-event-head strong{
  color:#36594A!important;
  font-weight:720!important;
}
html[data-theme="light"] .lead-side-panel .smart-event-head time,
html[data-theme="light"] .lead-side-panel .smart-event-body small{
  color:#82958C!important;
  font-weight:500!important;
}
html[data-theme="light"] .lead-side-panel .smart-event-body p{
  color:#63796E!important;
  font-weight:400!important;
}
html[data-theme="light"] .lead-side-panel .smart-event summary{
  color:#348564!important;
  font-weight:650!important;
}
html[data-theme="light"] .lead-side-panel .smart-event ul{
  color:#62786D!important;
}
html[data-theme="light"] .lead-side-panel .timeline-count{
  color:#81978B!important;
  font-weight:600!important;
}

/* RC16.30.10j — microcorreções finais de posicionamento/typography. */
html[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="month"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator{
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
}
html[data-theme="light"] .lead-side-panel .lead-side-head h3{
  color:#416252!important;
  font-weight:760!important;
}

/* RC16.30.10k — correção global do posicionamento do indicador nativo de data/hora.
   O CSS base deixa ::-webkit-calendar-picker-indicator absoluto; no tema claro isso
   fazia o ícone escapar do input e se posicionar no contêiner/fieldset. Mantemos o
   indicador nativo no fluxo interno do próprio controle. */
html[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="month"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator{
  position:static!important;
  top:auto!important;
  right:auto!important;
  transform:none!important;
  flex:0 0 20px!important;
}


/* RC16.30.10p — Sidebar menu active hover fix */
html[data-theme="light"] .side-menu a.active:hover,
html[data-theme="light"] .side-menu a.active:focus-visible{
  color:#fff!important;
  background:linear-gradient(105deg,var(--frog-brand-teal),#2EB77F)!important;
  border-color:var(--frog-brand-teal)!important;
  box-shadow:inset 4px 0 0 var(--frog-brand-deep),0 8px 18px rgba(37,168,116,.20)!important;
  transform:none!important;
}
html[data-theme="light"] .side-menu a.active:hover::after,
html[data-theme="light"] .side-menu a.active:focus-visible::after{
  background:var(--frog-brand-yellow)!important;
  box-shadow:0 0 0 4px rgba(246,240,98,.18)!important;
}
html[data-theme="light"] .side-menu a.active:hover :where(.menu-label,.menu-icon),
html[data-theme="light"] .side-menu a.active:focus-visible :where(.menu-label,.menu-icon),
html[data-theme="light"] .side-menu a.active:hover strong,
html[data-theme="light"] .side-menu a.active:focus-visible strong,
html[data-theme="light"] .side-menu a.active:hover small,
html[data-theme="light"] .side-menu a.active:focus-visible small{
  color:#fff!important;
  opacity:1!important;
  filter:none!important;
}


/* RC16.30.10r — Automation Builder light readability */
html[data-theme="light"] .usage-inline strong{color:#234836!important}
html[data-theme="light"] .usage-inline > div > div > strong{color:#234836!important}
html[data-theme="light"] .builder-section .switch-line{
  background:#f8fbf9!important;
  border-color:#d6e4db!important;
  color:#254838!important;
}
html[data-theme="light"] .builder-section .switch-line .switch-text{
  color:#254838!important;
  font-weight:800!important;
}
html[data-theme="light"] .builder-section .switch-line input.frog-toggle-input{
  margin:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}

/* RC16.30.10v — Clientes table hover: sem barras verticais verdes */
html[data-theme="light"] .table.clients-table tbody tr:hover{
  background:#EDF7F2!important;
  box-shadow:none!important;
}
html[data-theme="light"] .table.clients-table tbody tr:hover td,
html[data-theme="light"] .clients-table tbody tr:hover td{
  background:#EDF7F2!important;
  box-shadow:none!important;
  border-left-color:transparent!important;
}
html[data-theme="light"] .table.clients-table tbody tr:hover td:first-child,
html[data-theme="light"] .clients-table tbody tr:hover td:first-child{
  box-shadow:none!important;
}


/* RC16.30.10w — Cadastro: step badge contrast */
html[data-theme="light"] .wizard-panel-head>span{
  background:#E3F2E8!important;
  color:#197847!important;
  border:1px solid #B8D8C4!important;
  box-shadow:none!important;
}


/* RC16.30.10x — Novo Cliente / wizard copy box light polish */
html[data-theme="light"] .wizard-copy-check{
  background:#eef5f1!important;
  border:1px solid #c9ddd1!important;
  color:#264837!important;
  box-shadow:0 4px 12px rgba(31,68,43,.05)!important;
}
html[data-theme="light"] .wizard-copy-check:hover{
  background:#e7f1eb!important;
  border-color:#adc9b8!important;
}
html[data-theme="light"] .wizard-copy-check span{
  color:#365746!important;
  font-weight:700!important;
}
html[data-theme="light"] .wizard-copy-check input{
  accent-color:#25A874!important;
}


/* RC16.30.10y — Novo Cliente review summary light polish */
html[data-theme="light"] .wizard-review{
  background:#eef5f1!important;
  border:1px solid #c9ddd1!important;
  box-shadow:0 4px 12px rgba(31,68,43,.05)!important;
}
html[data-theme="light"] .wizard-review>strong{
  color:#234836!important;
}
html[data-theme="light"] .wizard-review span{
  color:#597164!important;
  font-weight:700!important;
}
html[data-theme="light"] .wizard-review b{
  color:#214534!important;
  font-weight:800!important;
}


/* RC16.30.10z — Global table hover cleanup + proposal actions light polish */
html[data-theme="light"] :where(.table,.proposal-table,.pc-table,.frog-finance-table,.support-table,.diag-table,.checkout-admin-table,.bill-table table,.ft-commerce-table) tbody tr:hover td{
  background:#edf7f2!important;
  box-shadow:none!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
}
html[data-theme="light"] :where(.table,.proposal-table,.pc-table,.frog-finance-table,.support-table,.diag-table,.checkout-admin-table,.bill-table table,.ft-commerce-table) tbody tr:hover td:first-child{
  box-shadow:none!important;
}
html[data-theme="light"] :where(.table,.proposal-table,.pc-table,.frog-finance-table,.support-table,.diag-table,.checkout-admin-table,.bill-table table,.ft-commerce-table) tbody tr:hover{
  box-shadow:none!important;
}

html[data-theme="light"] .proposal-actions-menu{
  background:#f4faf6!important;
  border:1px solid #c8ddd0!important;
  box-shadow:0 16px 36px rgba(28,69,44,.16)!important;
}
html[data-theme="light"] .proposal-action-toggle{
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
  background:#85e38e!important;
  border-color:#58be6b!important;
  color:#0d3c21!important;
  font-size:26px!important;
  box-shadow:0 6px 16px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .proposal-action-toggle[aria-expanded="true"]{
  background:#98ec9f!important;
}
html[data-theme="light"] .proposal-actions-menu .icon-btn{
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  background:#ffffff!important;
  border:1px solid #c9ddd1!important;
  box-shadow:0 4px 12px rgba(28,69,44,.08)!important;
  font-size:19px!important;
}
html[data-theme="light"] .proposal-actions-menu .icon-btn:hover{
  background:#eaf5ee!important;
  border-color:#9cc6aa!important;
  box-shadow:0 8px 20px rgba(28,69,44,.12)!important;
}
html[data-theme="light"] .proposal-actions-menu .icon-btn::after{
  background:#f8fcf9!important;
  color:#254838!important;
  border-color:#c9ddd1!important;
  box-shadow:0 10px 24px rgba(28,69,44,.12)!important;
}
html[data-theme="light"] .proposal-kpi strong{
  font-size:18px!important;
  line-height:1.1!important;
}
html[data-theme="light"] .proposal-kpi span{
  font-size:11px!important;
  line-height:1.25!important;
  color:#60786a!important;
}


/* RC16.30.10aa — Proposal table hover separators + ID contrast fix */
html[data-theme="light"] .proposal-table tbody tr > td{
  box-shadow:none!important;
  border-left:0!important;
  border-right:0!important;
}
html[data-theme="light"] .proposal-table tbody tr:hover > td{
  background:#edf7f2!important;
  box-shadow:none!important;
  border-left:0!important;
  border-right:0!important;
}
html[data-theme="light"] .proposal-table .proposal-id{
  color:#1e4332!important;
  font-weight:700!important;
}
html[data-theme="light"] .proposal-table td{
  color:#355646!important;
}
html[data-theme="light"] .proposal-table .money-positive{
  color:#286246!important;
}
html[data-theme="light"] .proposal-table .money-cost{
  color:#8b6617!important;
}


/* RC16.30.10ab — Nova proposta preview contrast fix */
html[data-theme="light"] .proposal-source{
  background:#fbfdfb!important;
  border-color:#cfe1d6!important;
}
html[data-theme="light"] .proposal-source p{
  color:#64796d!important;
}
html[data-theme="light"] .proposal-preview{
  background:#eef5f1!important;
  border:1px solid #c9ddd1!important;
  color:#2e4f3e!important;
  box-shadow:0 4px 12px rgba(31,68,43,.05)!important;
}


/* RC16.30.10ac — Nova proposta preview content refinement */
html[data-theme="light"] .proposal-preview{
  font-size:13px!important;
  line-height:1.35!important;
}


/* RC16.30.10ad — Title standardization + proposal editor light repair */
html[data-theme="light"] .page-head h1,
html[data-theme="light"] .card h2,
html[data-theme="light"] .card h3,
html[data-theme="light"] .proposal-section-head h2,
html[data-theme="light"] .proposal-subsection h3,
html[data-theme="light"] .rc16-side-card h3,
html[data-theme="light"] .activation-panel-head h2{
  color:#16783d!important;
}
html[data-theme="light"] .proposal-editor-head .breadcrumb,
html[data-theme="light"] .section-kicker{
  color:#16783d!important;
}

html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five{
  background:#f5fbf7!important;
  border:1px solid #c9ddd1!important;
  border-radius:18px!important;
  padding:12px 10px!important;
  box-shadow:0 6px 18px rgba(31,68,43,.06)!important;
}
html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five:before{
  top:26px!important;
  background:#cfdfd5!important;
}
html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five button{
  color:#5f7868!important;
  font-weight:700!important;
}
html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five button span{
  background:#ffffff!important;
  color:#16783d!important;
  border:1px solid #b7d3c1!important;
  box-shadow:0 0 0 6px #f5fbf7!important;
}
html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five button.active{
  color:#16783d!important;
}
html[data-theme="light"] .proposal-tabs.proposal-tabs-compact.proposal-tabs-five button.active span{
  background:#25A874!important;
  color:#ffffff!important;
  border-color:#25A874!important;
  box-shadow:0 0 0 6px #f5fbf7,0 6px 16px rgba(37,168,116,.22)!important;
}
html[data-theme="light"] .proposal-step-nav{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  margin:8px 0 16px!important;
}
html[data-theme="light"] .proposal-step-nav .btn{
  min-width:180px;justify-content:center;
}
html[data-theme="light"] .proposal-step-nav .btn:disabled{
  opacity:.55;cursor:not-allowed;box-shadow:none;
}

html[data-theme="light"] .proposal-section .subtitle,
html[data-theme="light"] .proposal-source p,
html[data-theme="light"] .catalog-source-note,
html[data-theme="light"] .module-title small,
html[data-theme="light"] .operation-copy span,
html[data-theme="light"] .operation-units-card .field-hint,
html[data-theme="light"] .rc16-side-sub,
html[data-theme="light"] .rc16-summary-line,
html[data-theme="light"] .rc16-summary-total small,
html[data-theme="light"] .rc16-margin-formula,
html[data-theme="light"] .rc16-empty{
  color:#688173!important;
}
html[data-theme="light"] .proposal-section#tab-plano,
html[data-theme="light"] .proposal-section#tab-dados,
html[data-theme="light"] .proposal-section#tab-valores,
html[data-theme="light"] .proposal-section#tab-aparencia,
html[data-theme="light"] .proposal-section#tab-pdf{
  background:#ffffff!important;
}
html[data-theme="light"] .operation-panel,
html[data-theme="light"] .proposal-cost-note,
html[data-theme="light"] .rc16-category,
html[data-theme="light"] .proposal-source{
  background:#fbfdfb!important;
  border:1px solid #cfe1d6!important;
  box-shadow:0 4px 12px rgba(31,68,43,.04)!important;
}
html[data-theme="light"] .operation-choice{
  background:#ffffff!important;
  border:1px solid #d3e4da!important;
}
html[data-theme="light"] .operation-choice.is-selected,
html[data-theme="light"] .operation-choice:has(input:checked){
  background:#edf8f1!important;
  border-color:#65cb81!important;
}
html[data-theme="light"] .operation-copy strong{
  color:#16783d!important;
}
html[data-theme="light"] .operation-units-card{
  background:#f8fcf9!important;
  border-left:1px solid #d3e4da!important;
}
html[data-theme="light"] .operation-units-card label{
  color:#5f7868!important;
}
html[data-theme="light"] .module-row{
  background:#ffffff!important;
  border:1px solid #d6e5dc!important;
  box-shadow:0 3px 10px rgba(31,68,43,.04)!important;
}
html[data-theme="light"] .module-row:hover{
  background:#f8fcf9!important;
  border-color:#bfd9cb!important;
  transform:none!important;
}
html[data-theme="light"] .module-row.is-selected{
  background:#edf8f1!important;
  border-color:#68cc84!important;
}
html[data-theme="light"] .module-title strong,
html[data-theme="light"] .module-values b,
html[data-theme="light"] .module-qty label,
html[data-theme="light"] .rc16-category-title{
  color:#214735!important;
}
html[data-theme="light"] .module-values span,
html[data-theme="light"] .module-badge,
html[data-theme="light"] .rc16-category-count{
  background:#f6fbf8!important;
  border-color:#d6e5dc!important;
  color:#5d7567!important;
}
html[data-theme="light"] .badge-required{background:#ebf9ef!important;color:#16783d!important;border-color:#8dd0a4!important}
html[data-theme="light"] .badge-free{background:#edf4ff!important;color:#336fc5!important;border-color:#a9c4ef!important}
html[data-theme="light"] .badge-qty{background:#fff5eb!important;color:#b96d1a!important;border-color:#f1c089!important}
html[data-theme="light"] .rc16-side-card{
  background:linear-gradient(180deg,#f7fcf8,#edf6f1)!important;
  border:1px solid #c9ddd1!important;
  box-shadow:0 18px 38px rgba(31,68,43,.10)!important;
}
html[data-theme="light"] .rc16-side-card:after{color:#7aa488!important;opacity:.7!important}
html[data-theme="light"] .rc16-summary-line{border-bottom:1px solid #d7e5dc!important}
html[data-theme="light"] .rc16-summary-line strong{color:#214735!important}
html[data-theme="light"] .rc16-charged-line{background:#ebf8ef!important;border-color:#bee2c9!important}
html[data-theme="light"] .rc16-charged-line strong{color:#16783d!important}
html[data-theme="light"] .rc16-summary-total{background:#f4fbf6!important;border-color:#c9ddd1!important}
html[data-theme="light"] .rc16-summary-total strong{color:#16783d!important}
html[data-theme="light"] .rc16-margin{background:#dbe8e1!important}
html[data-theme="light"] .appearance-preview{background:#f8fcf9!important;border-color:#d4e4db!important}
html[data-theme="light"] .qr-preview-box{background:#f4fbf6!important;border-color:#c9ddd1!important}
html[data-theme="light"] .proposal-save-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:760px){html[data-theme="light"] .proposal-step-nav{flex-direction:column}html[data-theme="light"] .proposal-step-nav .btn{width:100%}}


/* ========================================================================== 
   RC16.30.10ae — Cumulative Regression Guard
   Restaura correções aprovadas de 10l–10o que se perderam na base cumulativa.
   ========================================================================== */

/* Modal close: X sempre visível no Light. */
html[data-theme="light"] .modal-close{
  background:#edf5f0!important;
  color:#2f5b45!important;
  border:1px solid #c7d9ce!important;
  box-shadow:0 4px 12px rgba(20,61,38,.06)!important;
}
html[data-theme="light"] .modal-close:hover{
  background:#e1eee6!important;
  color:#17452f!important;
  border-color:#97b6a2!important;
}

/* Central de Atividades — Semana: elimina cards dark herdados. */
html[data-theme="light"] .week-event,
html[data-theme="light"] .week-event.type-whatsapp,
html[data-theme="light"] .week-event.type-reuniao,
html[data-theme="light"] .week-event.type-visita,
html[data-theme="light"] .week-event.type-email{
  background:#f5f8f6!important;
  color:#224835!important;
  border:1px solid #d1ddd5!important;
  border-left:3px solid #3fa864!important;
  box-shadow:none!important;
}
html[data-theme="light"] .week-event.type-whatsapp{border-left-color:#21a783!important}
html[data-theme="light"] .week-event.type-reuniao{border-left-color:#8a74c8!important}
html[data-theme="light"] .week-event.type-visita{border-left-color:#d79a43!important}
html[data-theme="light"] .week-event.type-email{border-left-color:#6d97c7!important}
html[data-theme="light"] .week-event.overdue{
  background:#fbf1f0!important;
  border-color:#ecd2d0!important;
  border-left-color:#db6e6a!important;
}
html[data-theme="light"] .week-event:hover{background:#eaf2ec!important;border-color:#aac6b3!important}
html[data-theme="light"] .week-event time,
html[data-theme="light"] .week-event small{color:#688173!important;font-size:10px!important}
html[data-theme="light"] .week-event strong{color:#214734!important;font-size:11px!important;font-weight:700!important}

/* Lista / Meu dia — ícones e hierarquia. */
html[data-theme="light"] .agenda-type{
  background:#edf6f0!important;
  color:#17683a!important;
  border:1px solid #bdd2c4!important;
  box-shadow:none!important;
}
html[data-theme="light"] .agenda-list-row .agenda-type{font-size:18px!important}
html[data-theme="light"] .task-actions .icon-btn,
html[data-theme="light"] .day-task-actions .icon-btn,
html[data-theme="light"] .kanban-task .icon-btn{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  font-size:15px!important;
  border-radius:11px!important;
}
html[data-theme="light"] .whatsapp-quick-btn .ft-action-icon,
html[data-theme="light"] .whatsapp-action .ft-action-icon{
  width:18px!important;
  height:18px!important;
  flex-basis:18px!important;
}
html[data-theme="light"] .daily-kanban .kanban-task time{color:#2d7048!important;font-weight:700!important}
html[data-theme="light"] .daily-kanban .kanban-task small{color:#72887b!important;font-size:11px!important}

/* Minha Rotina / WhatsApp — recupera contraste aprovado. */
html[data-theme="light"] .routine-strip .routine-breakdown span{
  background:#eef6f1!important;
  color:#315e48!important;
  border:1px solid #d1e1d7!important;
  font-weight:700!important;
  opacity:1!important;
  box-shadow:none!important;
}
html[data-theme="light"] .routine-strip .routine-breakdown span:hover{
  background:#e6f2e9!important;
  color:#214c37!important;
  border-color:#b5d0bf!important;
}
html[data-theme="light"] .activity-sidebar a.whatsapp-quick-btn.icon-btn.ft-action-btn,
html[data-theme="light"] .activity-sidebar .whatsapp-quick-btn,
html[data-theme="light"] .selected-day-list a.whatsapp-quick-btn.icon-btn.ft-action-btn,
html[data-theme="light"] .selected-day-list .whatsapp-quick-btn{
  background:#25a874!important;
  background-color:#25a874!important;
  color:#fff!important;
  border:1px solid #25a874!important;
  opacity:1!important;
  box-shadow:0 4px 10px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .activity-sidebar a.whatsapp-quick-btn.icon-btn.ft-action-btn:hover,
html[data-theme="light"] .selected-day-list a.whatsapp-quick-btn.icon-btn.ft-action-btn:hover{
  background:#1d9565!important;
  background-color:#1d9565!important;
  border-color:#1d9565!important;
  color:#fff!important;
}
html[data-theme="light"] .activity-sidebar .ft-action-btn,
html[data-theme="light"] .selected-day-list .ft-action-btn{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  font-size:16px!important;
}
html[data-theme="light"] .activity-sidebar .whatsapp-quick-btn .ft-action-icon-whatsapp,
html[data-theme="light"] .selected-day-list .whatsapp-quick-btn .ft-action-icon-whatsapp{
  display:block!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  flex-basis:20px!important;
  background-size:20px 20px!important;
  opacity:1!important;
  filter:none!important;
}

/* Timeline operacional — entidade não fica apagada. */
html[data-theme="light"] .timeline-wide .timeline-compact > div > span{
  color:#486956!important;
  font-weight:650!important;
  opacity:1!important;
}
html[data-theme="light"] .timeline-wide .timeline-compact > div > span:first-of-type{color:#456652!important}
html[data-theme="light"] .timeline-wide .timeline-compact p{color:#61796a!important;opacity:1!important}

/* Sidebar — remove definitivamente a linha decorativa acima da marca. */
html[data-theme="light"] .sidebar::before,
html[data-theme="light"] .sidebar:before{
  content:none!important;
  display:none!important;
  height:0!important;
  background:none!important;
}


/* RC16.30.10af — Central de Atividades / quick modal light restore */
html[data-theme="light"] #taskQuickModal .ft-modal-box.task-quick-box{
  background:#fbfdfb!important;
  border:1px solid #cfe0d6!important;
  box-shadow:0 22px 48px rgba(21,61,39,.18)!important;
}
html[data-theme="light"] #taskQuickModal .quick-type{
  width:56px!important;
  height:56px!important;
  border-radius:16px!important;
  background:#edf6f0!important;
  color:#1d6f3d!important;
  font-size:30px!important;
  border:1px solid #cfe0d6!important;
}
html[data-theme="light"] #taskQuickModal h2{
  color:#1f4734!important;
  margin:10px 0 8px!important;
}
html[data-theme="light"] #taskQuickModal .muted{
  color:#647b6d!important;
  font-size:15px!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions > *{
  width:100%!important;
  min-width:0!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions .btn,
html[data-theme="light"] #taskQuickModal .quick-actions .whatsapp-action{
  min-height:40px!important;
  padding:10px 12px!important;
  font-size:15px!important;
  border-radius:12px!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions .btn.btn-secondary{
  background:#ffffff!important;
  color:#315846!important;
  border:1px solid #cfded5!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions .btn.btn-secondary:hover{
  background:#eef5f1!important;
  border-color:#b9d1c3!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions .btn:not(.btn-secondary),
html[data-theme="light"] #taskQuickModal .quick-actions .whatsapp-action{
  box-shadow:0 8px 18px rgba(37,168,116,.14)!important;
}
html[data-theme="light"] #taskQuickModal .quick-actions .ft-action-icon-whatsapp,
html[data-theme="light"] #taskQuickModal .quick-actions .ft-action-icon{
  width:20px!important;
  height:20px!important;
  background-size:20px 20px!important;
  flex-basis:20px!important;
}
html[data-theme="light"] #taskQuickModal .task-quick-footer{
  margin-top:16px!important;
  padding-top:14px!important;
  border-top:1px solid #d7e5db!important;
}
@media(max-width:760px){
  html[data-theme="light"] #taskQuickModal .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  html[data-theme="light"] #taskQuickModal .quick-actions{grid-template-columns:1fr!important}
}


/* RC16.30.10ah — Gestão de contratos / flow steps light fix */
html[data-theme="light"] .contract-eyebrow{color:#26a45b!important}
html[data-theme="light"] .contract-layout-v2{align-items:start}
html[data-theme="light"] .contract-document-card,
html[data-theme="light"] .contract-summary-v2{
  background:#fbfdfb!important;
  border:1px solid #cfe1d6!important;
  box-shadow:0 10px 26px rgba(31,68,43,.06)!important;
}
html[data-theme="light"] .contract-toolbar-v2{
  background:#f8fcf9!important;
  border-bottom:1px solid #d9e7de!important;
}
html[data-theme="light"] .contract-state-v2 strong,
html[data-theme="light"] .contract-summary-heading h2,
html[data-theme="light"] .contract-summary-block h3,
html[data-theme="light"] .contract-evidence-v2 h3,
html[data-theme="light"] .contract-empty-state h2{
  color:#1d4f34!important;
}
html[data-theme="light"] .contract-state-v2 span:not(.badge),
html[data-theme="light"] .contract-empty-state p,
html[data-theme="light"] .contract-summary-heading p,
html[data-theme="light"] .contract-summary-block label,
html[data-theme="light"] .contract-evidence-v2 dt,
html[data-theme="light"] .contract-evidence-v2 dd{
  color:#698274!important;
}
html[data-theme="light"] .contract-summary-heading{
  background:linear-gradient(180deg,#eff8f2,transparent)!important;
  border-bottom:1px solid #d9e7de!important;
}
html[data-theme="light"] .contract-summary-heading>span,
html[data-theme="light"] .contract-evidence-title span{
  color:#26a45b!important;
}
html[data-theme="light"] .contract-steps-v2>div{
  color:#688174!important;
}
html[data-theme="light"] .contract-steps-v2>div:after{
  background:#d9e7de!important;
}
html[data-theme="light"] .contract-steps-v2>div>span{
  background:#ffffff!important;
  border:1px solid #bcd7c6!important;
  color:#1e4d34!important;
}
html[data-theme="light"] .contract-steps-v2 b{
  color:#1e4d34!important;
}
html[data-theme="light"] .contract-steps-v2 small{
  color:#6f8779!important;
}
html[data-theme="light"] .contract-steps-v2 .done>span{
  background:#e7f7eb!important;
  border-color:#7fcd9a!important;
  color:#16783d!important;
}
html[data-theme="light"] .contract-steps-v2 .done b{
  color:#16783d!important;
}
html[data-theme="light"] .contract-summary-block,
html[data-theme="light"] .contract-evidence-v2{
  background:#ffffff!important;
  border:1px solid #d6e5dc!important;
}
html[data-theme="light"] .contract-evidence-v2 dl>div{
  border-bottom:1px solid #e3eee8!important;
}
html[data-theme="light"] .contract-summary-v2 .input{
  background:#ffffff!important;
  color:#214735!important;
  border-color:#cfe1d6!important;
}


/* RC16.30.10ai — Gestão de Contratos exact progress track light fix */
html[data-theme="light"] .contract-progress-card{
  background:#ffffff!important;
  border:1px solid #cfe1d6!important;
  box-shadow:0 10px 26px rgba(31,68,43,.06)!important;
}
html[data-theme="light"] .contract-progress-head{
  border-bottom:1px solid #d8e6dd!important;
}
html[data-theme="light"] .contract-progress-head span{
  color:#26a45b!important;
}
html[data-theme="light"] .contract-progress-head h2{
  color:#16783d!important;
}
html[data-theme="light"] .contract-progress-head p{
  color:#657d6f!important;
}
html[data-theme="light"] .contract-progress-step{
  color:#657d6f!important;
}
html[data-theme="light"] .contract-progress-step:not(:last-child)::after{
  background:#d7e5dc!important;
}
html[data-theme="light"] .contract-progress-step>span{
  background:#ffffff!important;
  color:#315846!important;
  border:1px solid #bcd6c6!important;
  box-shadow:0 3px 9px rgba(31,68,43,.06)!important;
}
html[data-theme="light"] .contract-progress-step>div{
  background:transparent!important;
  padding-right:7px!important;
}
html[data-theme="light"] .contract-progress-step b{
  color:#254a38!important;
  font-weight:800!important;
}
html[data-theme="light"] .contract-progress-step small{
  color:#6d8476!important;
}
html[data-theme="light"] .contract-progress-step.done>span{
  background:#e5f8ea!important;
  color:#16783d!important;
  border-color:#82cf9c!important;
}
html[data-theme="light"] .contract-progress-step.done b{
  color:#16783d!important;
}
html[data-theme="light"] .contract-progress-step.done:not(:last-child)::after{
  background:linear-gradient(90deg,#75d392,#cfe9d8)!important;
}


/* RC16.30.10aj — Global Frog notices/toasts/dialogs light polish */
html[data-theme="light"] .frog-toast{
  background:#fbfdfb!important;
  color:#214735!important;
  border:1px solid #cbded2!important;
  box-shadow:0 16px 38px rgba(31,68,43,.16)!important;
}
html[data-theme="light"] .frog-toast-avatar{
  background:#eef6f1!important;
  border:1px solid #d2e2d8!important;
}
html[data-theme="light"] .frog-toast-body strong{
  color:#16783d!important;
  font-weight:800!important;
}
html[data-theme="light"] .frog-toast-body p{
  color:#526d5d!important;
}
html[data-theme="light"] .frog-toast-close{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#eef5f0!important;
  color:#315846!important;
  border:1px solid #c9dbd0!important;
  font-size:18px!important;
}
html[data-theme="light"] .frog-toast-close:hover{
  background:#e2eee7!important;
  color:#174b31!important;
  border-color:#acc8b7!important;
}
html[data-theme="light"] .frog-toast-success{
  background:#f3fbf5!important;
  border-color:#a9d8b7!important;
}
html[data-theme="light"] .frog-toast-success .frog-toast-body strong{color:#16783d!important}
html[data-theme="light"] .frog-toast-danger{
  background:#fff7f6!important;
  border-color:#e7b8b4!important;
}
html[data-theme="light"] .frog-toast-danger .frog-toast-avatar{background:#fff0ef!important;border-color:#e9c2bf!important}
html[data-theme="light"] .frog-toast-danger .frog-toast-body strong{color:#a83e39!important}
html[data-theme="light"] .frog-toast-danger .frog-toast-body p{color:#72514f!important}
html[data-theme="light"] .frog-toast-warning{
  background:#fffaf1!important;
  border-color:#e6cf9f!important;
}
html[data-theme="light"] .frog-toast-warning .frog-toast-avatar{background:#fff5df!important;border-color:#ead4a9!important}
html[data-theme="light"] .frog-toast-warning .frog-toast-body strong{color:#8a6117!important}
html[data-theme="light"] .frog-toast-warning .frog-toast-body p{color:#6f624a!important}
html[data-theme="light"] .frog-toast-info{
  background:#f5faff!important;
  border-color:#bcd5e8!important;
}
html[data-theme="light"] .frog-toast-info .frog-toast-avatar{background:#edf6fc!important;border-color:#c9deed!important}
html[data-theme="light"] .frog-toast-info .frog-toast-body strong{color:#35698b!important}
html[data-theme="light"] .frog-toast-info .frog-toast-body p{color:#536a79!important}

/* Frog Dialog — confirmações e alertas também seguem o Light. */
html[data-theme="light"] .frog-dialog-backdrop{
  background:rgba(23,43,32,.46)!important;
  backdrop-filter:blur(5px)!important;
}
html[data-theme="light"] .frog-dialog{
  background:#ffffff!important;
  color:#214735!important;
  border:1px solid #cbded2!important;
  box-shadow:0 30px 80px rgba(31,68,43,.22)!important;
}
html[data-theme="light"] .frog-dialog__icon{
  background:#eef6f1!important;
  border-color:#cfe0d6!important;
}
html[data-theme="light"] .frog-dialog__kicker{color:#16783d!important}
html[data-theme="light"] .frog-dialog__title{color:#1f4734!important}
html[data-theme="light"] .frog-dialog__message{color:#60796a!important}
html[data-theme="light"] .frog-dialog__summary-row,
html[data-theme="light"] .frog-dialog__detail{
  background:#f7faf8!important;
  border-color:#d8e5dc!important;
}
html[data-theme="light"] .frog-dialog__summary-row span{color:#6b8274!important}
html[data-theme="light"] .frog-dialog__summary-row strong{color:#214735!important}
html[data-theme="light"] .frog-dialog__detail{color:#4f6a5a!important}
html[data-theme="light"] .frog-dialog__note{
  background:#f1f8f3!important;
  color:#587162!important;
}
html[data-theme="light"] .frog-dialog__input{
  background:#ffffff!important;
  color:#214735!important;
  border-color:#bfd5c6!important;
}
html[data-theme="light"] .frog-dialog__actions{border-top-color:#dce8e0!important}
html[data-theme="light"] .frog-dialog__btn{
  background:#ffffff!important;
  color:#315846!important;
  border-color:#bfd5c6!important;
}
html[data-theme="light"] .frog-dialog__btn--primary{
  background:#25A874!important;
  color:#ffffff!important;
  border-color:#25A874!important;
}
html[data-theme="light"] .frog-dialog--danger .frog-dialog__icon{background:#fff0ef!important;border-color:#e8c1bd!important}
html[data-theme="light"] .frog-dialog--danger .frog-dialog__btn--primary{background:#c84b46!important;border-color:#c84b46!important;color:#fff!important}
html[data-theme="light"] .frog-dialog--warning .frog-dialog__icon{background:#fff5df!important;border-color:#e9d3a5!important}
html[data-theme="light"] .frog-dialog--warning .frog-dialog__btn--primary{background:#c88b22!important;border-color:#c88b22!important;color:#fff!important}
html[data-theme="light"] .frog-dialog--success .frog-dialog__icon{background:#eaf8ee!important;border-color:#b9dfc4!important}


/* RC16.30.10am — Empresa / identidade visual light polish */
html[data-theme="light"] .identity-head{
  padding:0 0 8px!important;
}
html[data-theme="light"] .identity-head .subtitle{
  color:#627b6d!important;
}
html[data-theme="light"] .identity-status{
  box-shadow:0 8px 18px rgba(31,68,43,.08)!important;
}
html[data-theme="light"] .identity-form{gap:20px!important}
html[data-theme="light"] .identity-tabs{
  position:sticky;top:72px;z-index:8;
  background:rgba(255,255,255,.9)!important;
  backdrop-filter:blur(14px)!important;
  border:1px solid #cfe1d6!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(31,68,43,.06)!important;
  padding:10px!important;
  margin:6px 0 0!important;
}
html[data-theme="light"] .identity-tabs a{
  min-height:44px!important;
  border-radius:14px!important;
  padding:10px 18px!important;
  color:#476454!important;
  background:#f7fbf8!important;
  border:1px solid #d6e5dc!important;
  font-weight:800!important;
  box-shadow:none!important;
}
html[data-theme="light"] .identity-tabs a:hover{
  background:#eef8f1!important;
  border-color:#9fcfb8!important;
  color:#1f4f37!important;
  transform:none!important;
}
html[data-theme="light"] .identity-tabs a:first-child{
  border-color:#d6e5dc!important; background:#f7fbf8!important; color:#476454!important; box-shadow:none!important;
}
html[data-theme="light"] .identity-tabs a.is-active{
  background:linear-gradient(180deg,#32b36a,#25a874)!important;
  color:#ffffff!important;
  border-color:#25a874!important;
  box-shadow:0 10px 20px rgba(37,168,116,.22)!important;
}
html[data-theme="light"] .identity-section{
  background:#ffffff!important;
  border:1px solid #cfe1d6!important;
  box-shadow:0 12px 30px rgba(31,68,43,.06)!important;
  border-radius:22px!important;
  padding:24px!important;
}
html[data-theme="light"] .identity-section .section-title{
  margin-bottom:18px!important;
}
html[data-theme="light"] .identity-section .section-title>span{
  background:#eaf6ef!important;
  border:1px solid #cbe2d4!important;
}
html[data-theme="light"] .identity-section .section-title h2{color:#16783d!important}
html[data-theme="light"] .identity-section .section-title p{color:#647c6f!important}
html[data-theme="light"] .company-logo-uploader{
  margin-top:12px!important;
  background:#fbfdfb!important;
  border:1px dashed #c7dbd0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
}
html[data-theme="light"] .company-logo-current,
html[data-theme="light"] .company-logo-action,
html[data-theme="light"] .company-logo-rules{
  min-height:186px!important;
  padding:24px!important;
}
html[data-theme="light"] .company-logo-current{
  background:linear-gradient(180deg,#f9fcfa,#f3f9f5)!important;
  position:relative;
}
html[data-theme="light"] .company-logo-current:before{
  content:'Logo atual';
  position:absolute;top:16px;left:18px;
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#719082;
}
html[data-theme="light"] .company-logo-current img{
  max-width:290px!important;
  max-height:106px!important;
  filter:drop-shadow(0 10px 18px rgba(31,68,43,.08));
}
html[data-theme="light"] .company-logo-action{
  background:#ffffff!important;
  border-left:1px solid #d9e8df!important;
  border-right:1px solid #d9e8df!important;
}
html[data-theme="light"] .upload-cloud{color:#2fb35e!important;text-shadow:none!important}
html[data-theme="light"] .company-logo-action>strong{color:#214735!important;font-size:14px!important}
html[data-theme="light"] .company-logo-action>span:not(.upload-cloud){color:#71887a!important}
html[data-theme="light"] .compact-upload-control{
  width:100%;max-width:260px;margin-top:6px;
}
html[data-theme="light"] .compact-upload-control .upload-button{
  justify-content:center;
  box-shadow:0 8px 18px rgba(37,168,116,.16)!important;
}
html[data-theme="light"] .company-logo-rules{
  background:#f8fcf9!important;
}
html[data-theme="light"] .company-logo-rules>strong{
  color:#214735!important;
  font-size:13px!important;
}
html[data-theme="light"] .company-logo-rules ul{
  margin-top:12px!important;
  padding-left:18px!important;
  color:#678073!important;
  line-height:1.9!important;
}
html[data-theme="light"] .company-logo-rules li::marker{color:#2fb35e!important}
html[data-theme="light"] .operator-logo-note{
  margin-top:14px!important;
  background:#eef8f1!important;
  border:1px solid #cbe2d4!important;
  color:#557164!important;
}
html[data-theme="light"] .operator-logo-note span{color:#1ea65b!important}
html[data-theme="light"] .communication-cards article{
  background:#f9fcfa!important;
  border:1px solid #d6e5dc!important;
  box-shadow:0 5px 16px rgba(31,68,43,.04)!important;
}
html[data-theme="light"] .subsection-head{border-top:1px solid #dce8e1!important}
html[data-theme="light"] .field-help{color:#71887a!important}
html[data-theme="light"] .email-test-box{
  background:#f9fcfa!important;
  border-color:#d6e5dc!important;
}
html[data-theme="light"] .identity-save{
  background:rgba(255,255,255,.92)!important;
  border:1px solid #cfe1d6!important;
  box-shadow:0 16px 36px rgba(31,68,43,.10)!important;
  border-radius:18px!important;
  padding:12px 14px!important;
}
@media(max-width:900px){
  html[data-theme="light"] .identity-tabs{position:static!important}
  html[data-theme="light"] .company-logo-action{border-left:0!important;border-right:0!important;border-top:1px solid #d9e8df!important;border-bottom:1px solid #d9e8df!important}
}


/* RC16.30.10an — Empresa upload compact control background cleanup */
html[data-theme="light"] .compact-upload-control{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
html[data-theme="light"] .compact-upload-control:hover{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}


/* RC16.30.10ao — Frog Finance table typography and actions standardization (Light) */
html[data-theme="light"] :where(.finance-table,.frog-finance-table) th{
  color:#4c6759!important;
}
html[data-theme="light"] :where(.finance-table,.frog-finance-table) td{
  color:#2c4a3a!important;
}
html[data-theme="light"] :where(.finance-table,.frog-finance-table) .sub,
html[data-theme="light"] .finance-table .client-name small,
html[data-theme="light"] .finance-table small{
  color:#6f8b7b!important;
}
html[data-theme="light"] :where(.finance-table,.frog-finance-table) .money,
html[data-theme="light"] :where(.finance-table,.frog-finance-table) .money strong,
html[data-theme="light"] :where(.finance-table,.frog-finance-table) td strong{
  color:#214734!important;
}
html[data-theme="light"] .finance-table .action-cell .action-btn,
html[data-theme="light"] .frog-finance-table td:last-child .action-btn{
  background:#f7faf8!important;
  border-color:#c9d9cf!important;
  color:#2d573f!important;
}
html[data-theme="light"] .finance-table .action-cell .action-btn:hover,
html[data-theme="light"] .frog-finance-table td:last-child .action-btn:hover{
  background:#e8f3ec!important;
  border-color:#98bea6!important;
  color:#114d2b!important;
}


/* RC16.30.10ap — Frog Finance light-table harmonization */
html[data-theme="light"] .frog-finance-table th{color:#4d6659!important}
html[data-theme="light"] .frog-finance-table td{color:#2d4a3b!important}
html[data-theme="light"] .frog-finance-table td strong,
html[data-theme="light"] .frog-finance-table .money,
html[data-theme="light"] .frog-finance-table .money strong{color:#214735!important}
html[data-theme="light"] .frog-finance-table .sub,
html[data-theme="light"] .frog-finance-table small{color:#6f8b7b!important}
html[data-theme="light"] .frog-finance-table td.actions .action-btn,
html[data-theme="light"] .frog-finance-table td.action-cell .action-btn{
  background:#f7faf8!important;
  border-color:#c9d9cf!important;
  color:#2d573f!important;
}
html[data-theme="light"] .frog-finance-table td.actions .action-btn:hover,
html[data-theme="light"] .frog-finance-table td.action-cell .action-btn:hover{
  background:#e8f3ec!important;
  border-color:#98bea6!important;
  color:#114d2b!important;
}

/* ==========================================================================
   RC16.30.10as — Contas a Receber / scoped final overrides
   Loaded at the end because _footer.php reloads frog-theme-light.css after page CSS.
   ========================================================================== */
html[data-theme="light"] #financeReceivablesTable>thead>tr>th{
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  color:#4c6759!important;
}
html[data-theme="light"] #financeReceivablesFilters .finance-date-field input[type="date"]{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  padding-left:12px!important;
  padding-right:44px!important;
  box-sizing:border-box!important;
  color-scheme:light!important;
  background-image:none!important;
}
html[data-theme="light"] #financeReceivablesFilters .finance-date-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234c6759' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E")!important;
}
html[data-theme="light"] #financeReceivablesFilters .finance-date-field input[type="date"]::-webkit-calendar-picker-indicator{
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:42px!important;
  min-width:42px!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  transform:none!important;
  cursor:pointer!important;
}


/* RC16.30.10aw — Integrações cadastradas: corrige hover por especificidade.
   Uma regra antiga `.table tbody tr:hover td` aplica box-shadow em CADA célula.
   Os cleanups globais com :where() têm especificidade menor e não conseguiam anulá-la. */
html[data-theme="light"] .table.finance-integrations-table tbody tr:hover td{
  background:#edf7f2!important;
  box-shadow:none!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
}
html[data-theme="light"] .table.finance-integrations-table thead th{
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  color:#4c6759!important;
}


/* RC16.30.10ax — Diagnóstico financeiro: corrige hover por especificidade.
   A regra antiga `.table tbody tr:hover td` aplica uma barra verde em cada célula.
   Este seletor dedicado vence a regra global sem afetar as demais tabelas. */
html[data-theme="light"] .table.finance-diagnostic-table tbody tr:hover td{
  background:#edf7f2!important;
  box-shadow:none!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
}
html[data-theme="light"] .table.finance-diagnostic-table tbody tr:hover td:first-child{
  box-shadow:none!important;
}
html[data-theme="light"] .table.finance-diagnostic-table tbody tr:hover{
  box-shadow:none!important;
}

/* ==========================================================================
   RC16.30.10bb — Recursos e Licença | contraste no tema claro
   Os cards desta página nasceram no tema escuro. Ao trocar apenas a superfície
   para branco, alguns textos auxiliares permaneceram com verdes muito claros.
   Esta camada fecha o contraste sem alterar a identidade visual.
   ========================================================================== */
html[data-theme="light"] .license-center-shell .license-admin-note{
  background:#EEF5F1!important;
  color:#365649!important;
  border-color:#C8DDD2!important;
  font-weight:750!important;
}

html[data-theme="light"] .license-current-plan .adaptive-plan-status{
  color:#1F7657!important;
  font-weight:850!important;
}
html[data-theme="light"] .license-current-plan .adaptive-plan-status:before{
  background:#25A874!important;
  box-shadow:0 0 0 4px rgba(37,168,116,.12)!important;
}

html[data-theme="light"] .license-summary-grid article{
  background:#FFFFFF!important;
  border-color:#C8DED3!important;
}
html[data-theme="light"] .license-summary-grid article>span{
  background:#E4F3EC!important;
  border:1px solid #C5DED1!important;
}
html[data-theme="light"] .license-summary-grid small{
  color:#4F695D!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
html[data-theme="light"] .license-summary-grid strong{
  color:#1D4130!important;
}
html[data-theme="light"] .usage-summary-grid .usage-meter-card strong b{
  color:#526D60!important;
  font-size:11px!important;
  font-weight:750!important;
}
html[data-theme="light"] .license-summary-grid em,
html[data-theme="light"] .usage-summary-grid .usage-meter-card em{
  color:#1F7657!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
html[data-theme="light"] .usage-summary-grid .usage-meter-track{
  background:#D9E6DF!important;
}
html[data-theme="light"] .usage-summary-grid .usage-meter-track i{
  background:linear-gradient(90deg,#25A874,#7EB53F)!important;
}

html[data-theme="light"] .license-usage-freshness{
  background:#E4F3EC!important;
  color:#1F7657!important;
  border:1px solid #C7DED2!important;
  font-size:11px!important;
  font-weight:750!important;
}

html[data-theme="light"] .license-section-count{
  background:#E3F3EB!important;
  color:#176B4B!important;
  border:1px solid #B7D9C9!important;
  font-size:10.5px!important;
  font-weight:850!important;
}

html[data-theme="light"] .license-center-section .adaptive-product-badge{
  color:#176B4B!important;
  background:#E3F3EB!important;
  border-color:#B7D9C9!important;
}

/* ==========================================================================
   RC16.30.10bd — Frog Platform Control | fechamento de contraste no Light
   Mantém o visual claro aprovado e elimina cores herdadas do tema escuro.
   ========================================================================== */
html[data-theme="light"] .pc-page{
  --pc-surface:#ffffff;
  --pc-surface-soft:#f7faf8;
  --pc-line:#c9dbd0;
  --pc-line-strong:#91b7a0;
  --pc-text:#173f2c;
  --pc-muted:#587064;
  --pc-soft:#294e3b;
  --pc-green:#1fa96b;
  --pc-green-2:#168451;
  --pc-shadow:0 12px 28px rgba(28,69,44,.08);
  color:#294e3b!important;
}

/* Hero / indicadores superiores */
html[data-theme="light"] .pc-hero{
  border-bottom-color:#cbdcd2!important;
}
html[data-theme="light"] .pc-hero h1{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-hero p{
  color:#5e786a!important;
}
html[data-theme="light"] .pc-eyebrow{
  color:#188352!important;
}
html[data-theme="light"] .pc-eyebrow:before{
  background:#28b775!important;
  box-shadow:0 0 0 5px rgba(40,183,117,.10)!important;
}
html[data-theme="light"] .pc-mode{
  background:#e7f6ed!important;
  border-color:#b8ddc8!important;
  color:#176f47!important;
  font-weight:900!important;
}
html[data-theme="light"] .pc-mode:before{
  background:#22a965!important;
  box-shadow:0 0 0 4px rgba(34,169,101,.12)!important;
}
html[data-theme="light"] .pc-mode.off{
  background:#fff7e5!important;
  border-color:#e8d09a!important;
  color:#8b6416!important;
}

/* Fundação / KPIs */
html[data-theme="light"] .pc-card small{
  color:#587064!important;
}
html[data-theme="light"] .pc-card strong,
html[data-theme="light"] .pc-card strong.pc-schema{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-foundation-copy h2{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-foundation-copy p{
  color:#5b7467!important;
}
html[data-theme="light"] .pc-foundation-summary span{
  background:#f4f8f5!important;
  border-color:#d3e1d8!important;
  color:#4a6758!important;
}
html[data-theme="light"] .pc-foundation-summary b{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-foundation-summary .is-pass b{
  color:#168451!important;
}
html[data-theme="light"] .pc-foundation-summary .is-warning b{
  color:#9a6b08!important;
}
html[data-theme="light"] .pc-foundation-summary .is-fail b{
  color:#ba4141!important;
}

/* Títulos de seção */
html[data-theme="light"] .pc-section-title{
  color:#173f2c!important;
  font-weight:850!important;
}
html[data-theme="light"] .pc-section-title:before{
  background:#28b775!important;
  box-shadow:0 0 0 5px rgba(40,183,117,.10)!important;
}

/* Empresas e ambientes + Provisionamentos recentes */
html[data-theme="light"] .pc-table-wrap{
  background:#fff!important;
  border-color:#bcd2c5!important;
  box-shadow:0 12px 28px rgba(28,69,44,.07)!important;
}
html[data-theme="light"] .pc-table{
  color:#294e3b!important;
}
html[data-theme="light"] .pc-table thead th{
  background:#eaf2ed!important;
  color:#355a47!important;
  border-bottom-color:#b9cec1!important;
  font-weight:900!important;
}
html[data-theme="light"] .pc-table td{
  color:#294e3b!important;
  border-bottom-color:#d5e2da!important;
}
html[data-theme="light"] .pc-table td strong,
html[data-theme="light"] .pc-table td a strong{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-table td small{
  color:#5c7568!important;
}
html[data-theme="light"] .pc-table tbody tr:nth-child(even){
  background:#fbfdfc!important;
}
html[data-theme="light"] .pc-table tbody tr:hover,
html[data-theme="light"] .pc-table tbody tr:hover td{
  background:#edf7f2!important;
  color:#234735!important;
  box-shadow:none!important;
}
html[data-theme="light"] .pc-table code,
html[data-theme="light"] .pc-code{
  background:#f1f6f3!important;
  border-color:#d0dfd6!important;
  color:#315d46!important;
}

/* Status, ações, trial e consumo */
html[data-theme="light"] .pc-status{
  background:#e6f6ec!important;
  border-color:#b7ddc6!important;
  color:#176f47!important;
}
html[data-theme="light"] .pc-status.suspended,
html[data-theme="light"] .pc-status.blocked{
  background:#fff5dc!important;
  border-color:#e7cf91!important;
  color:#8e6515!important;
}
html[data-theme="light"] .pc-status.failed,
html[data-theme="light"] .pc-status.unavailable,
html[data-theme="light"] .pc-status.cancelled{
  background:#fff0ef!important;
  border-color:#e7b8b5!important;
  color:#aa3e39!important;
}
html[data-theme="light"] .pc-status.provisioning,
html[data-theme="light"] .pc-status.running,
html[data-theme="light"] .pc-status.pending,
html[data-theme="light"] .pc-status.queued{
  background:#edf5fb!important;
  border-color:#bfd7e8!important;
  color:#326684!important;
}
html[data-theme="light"] .pc-action{
  background:#f1f8f4!important;
  border-color:#bfdac9!important;
  color:#176f47!important;
}
html[data-theme="light"] .pc-action:hover{
  background:#e2f2e8!important;
  border-color:#8fc2a4!important;
  color:#105d3a!important;
}
html[data-theme="light"] .pc-trial-chip{
  background:#e7f6ed!important;
  border-color:#b8ddc8!important;
  color:#176f47!important;
}
html[data-theme="light"] .pc-usage-line b{
  color:#365848!important;
}
html[data-theme="light"] .pc-usage-updated{
  color:#607a6c!important;
}
html[data-theme="light"] .pc-usage-line>div,
html[data-theme="light"] .pc-progress{
  background:#dce8e1!important;
}
html[data-theme="light"] .pc-usage-line i,
html[data-theme="light"] .pc-progress i{
  background:linear-gradient(90deg,#39ad58,#20a977)!important;
}

/* Bloco final de provisionamento */
html[data-theme="light"] .pc-help{
  background:#ffffff!important;
  border-color:#cadcd1!important;
}
html[data-theme="light"] .pc-help>strong{
  color:#173f2c!important;
}
html[data-theme="light"] .pc-command{
  background:#f1f6f3!important;
  border-color:#d0dfd6!important;
  color:#315d46!important;
}
html[data-theme="light"] .pc-empty{
  color:#5e786a!important;
}
html[data-theme="light"] .pc-empty strong{
  color:#173f2c!important;
}

/* ==========================================================================\n   RC16.30.10be — Platform Control | contraste fino e hierarquia no Light\n   ========================================================================== */
html[data-theme="light"] .pc-page .pc-row span{
  color:#627d6f!important;
  font-weight:600!important;
}
html[data-theme="light"] .pc-page .pc-row strong{
  color:#214d38!important;
  font-weight:800!important;
}
html[data-theme="light"] .pc-page .pc-panels .pc-panel h2{
  color:#173f2c!important;
  font-weight:850!important;
}
html[data-theme="light"] .pc-page .pc-company-name,
html[data-theme="light"] .pc-page .pc-environment-name{
  color:#1f4a35!important;
  font-weight:800!important;
}
html[data-theme="light"] .pc-page .pc-company-meta,
html[data-theme="light"] .pc-page .pc-environment-meta,
html[data-theme="light"] .pc-page .pc-tenants-table td small{
  color:#526f60!important;
  font-weight:600!important;
}
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(2),
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(4),
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(5),
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(6),
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(7),
html[data-theme="light"] .pc-page .pc-tenants-table td:nth-child(8){
  color:#294f3b!important;
}

/* ==========================================================================
   RC16.30.10bf — Planos, módulos e adicionais | Light readability polish
   Escopo somente tema claro. Dark permanece inalterado.
   ========================================================================== */

/* Cabeçalhos, labels verdes e textos auxiliares */
html[data-theme="light"] .plan-catalog-page .plan-section-head>div>span,
html[data-theme="light"] .plan-catalog-page .plan-coverage strong,
html[data-theme="light"] .plan-catalog-page .plan-commercial-rule strong,
html[data-theme="light"] .plan-catalog-page .addon-catalog-card li code,
html[data-theme="light"] .plan-catalog-page .addon-group-head em,
html[data-theme="light"] .plan-catalog-page .internal-plans-shell>summary em,
html[data-theme="light"] .plan-catalog-page .dependency-shell>summary em{
  color:#16784c!important;
}
html[data-theme="light"] .plan-catalog-page .plan-section-head>p,
html[data-theme="light"] .plan-catalog-page .plan-tier,
html[data-theme="light"] .plan-catalog-page .plan-price-block small,
html[data-theme="light"] .plan-catalog-page .plan-price-block span,
html[data-theme="light"] .plan-catalog-page .plan-coverage,
html[data-theme="light"] .plan-catalog-page .addon-group-head p{
  color:#536f60!important;
}
html[data-theme="light"] .plan-catalog-page .plan-strategy-grid small{
  color:#526d5f!important;
}
html[data-theme="light"] .plan-catalog-page .plan-strategy-grid strong,
html[data-theme="light"] .plan-catalog-page .commercial-plan-card h3,
html[data-theme="light"] .plan-catalog-page .addon-catalog-card h3,
html[data-theme="light"] .plan-catalog-page .addon-group-head span{
  color:#173f2c!important;
}
html[data-theme="light"] .plan-catalog-page .plan-strategy-grid p,
html[data-theme="light"] .plan-catalog-page .commercial-plan-card__head p,
html[data-theme="light"] .plan-catalog-page .addon-catalog-card>p{
  color:#4e695a!important;
}

/* Planos comerciais */
html[data-theme="light"] .plan-catalog-page .plan-price-block{
  background:#f2f7f4!important;
  border-color:#c8dbcf!important;
}
html[data-theme="light"] .plan-catalog-page .plan-price-block strong{
  color:#173f2c!important;
}
html[data-theme="light"] .plan-catalog-page .plan-limit-row span{
  color:#294f3b!important;
  background:#f3f8f5!important;
  border-color:#d2e1d8!important;
}
html[data-theme="light"] .plan-catalog-page .plan-module-summary span{
  color:#315b46!important;
  background:#f0f6f2!important;
}
html[data-theme="light"] .plan-catalog-page .plan-reference-price-form>label{
  color:#3e5f4d!important;
  font-size:10.5px!important;
}
html[data-theme="light"] .plan-catalog-page .plan-reference-price-form>div{
  min-height:46px!important;
  background:#f2f7f4!important;
  border-color:#aecdba!important;
}
html[data-theme="light"] .plan-catalog-page .plan-reference-price-form>div>span{
  color:#16784c!important;
  background:#edf6f0!important;
  font-size:12px!important;
  font-weight:800!important;
}
html[data-theme="light"] .plan-catalog-page .plan-reference-price-form input{
  background:#f8fbf9!important;
  color:#173f2c!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
html[data-theme="light"] .plan-catalog-page .plan-reference-price-form input:focus{
  background:#fff!important;
  outline:2px solid rgba(31,169,107,.18)!important;
  outline-offset:-2px!important;
}

/* Capacidade / adicionais */
html[data-theme="light"] .plan-catalog-page .addon-catalog-card{
  border-color:#c9dcd0!important;
}
html[data-theme="light"] .plan-catalog-page .addon-catalog-card header small{
  color:#557062!important;
  font-size:9px!important;
}
html[data-theme="light"] .plan-catalog-page .addon-catalog-card h3{
  font-size:15.5px!important;
}
html[data-theme="light"] .plan-catalog-page .addon-catalog-card>p{
  font-size:10.5px!important;
  line-height:1.5!important;
}
html[data-theme="light"] .plan-catalog-page .addon-catalog-card li{
  color:#526d5f!important;
  font-size:8.5px!important;
}
html[data-theme="light"] .plan-catalog-page .addon-catalog-card form>label{
  color:#3e5f4d!important;
  font-size:10px!important;
}
html[data-theme="light"] .plan-catalog-page .addon-price-row{
  min-height:46px!important;
  background:#f2f7f4!important;
  border-color:#aecdba!important;
}
html[data-theme="light"] .plan-catalog-page .addon-price-row>span{
  color:#16784c!important;
  background:#edf6f0!important;
  font-size:12px!important;
  font-weight:800!important;
}
html[data-theme="light"] .plan-catalog-page .addon-price-row input{
  background:#f8fbf9!important;
  color:#173f2c!important;
  font-size:13px!important;
  font-weight:750!important;
}
html[data-theme="light"] .plan-catalog-page .addon-price-row select{
  background:#f8fbf9!important;
  color:#294f3b!important;
  font-size:10.5px!important;
  font-weight:700!important;
}

/* Itens não comercializados: diferenciar sem apagar a leitura */
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell{
  background:#fbfdfc!important;
  border-color:#c7d9ce!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell>summary b{
  color:#264d39!important;
  font-size:13px!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell>summary small{
  color:#5b7567!important;
  font-size:9.5px!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell>summary em{
  color:#587264!important;
  font-size:9.5px!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell .addon-catalog-card.inactive{
  opacity:1!important;
  background:#f7faf8!important;
  border-color:#d4e1d9!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell .addon-catalog-card.inactive header small{
  color:#6b7f74!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell .addon-catalog-card.inactive h3{
  color:#456353!important;
}
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell .addon-catalog-card.inactive>p,
html[data-theme="light"] .plan-catalog-page .inactive-addons-shell .addon-catalog-card.inactive form>label{
  color:#60796c!important;
}

/* Planos internos e operacionais */
html[data-theme="light"] .plan-catalog-page .internal-plans-shell{
  background:#fff!important;
  border-color:#c7d9ce!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plans-shell>summary b{
  color:#234735!important;
  font-size:14px!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plans-shell>summary small{
  color:#536f60!important;
  font-size:10px!important;
  line-height:1.45!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plans-shell>summary em{
  font-size:10px!important;
  font-weight:800!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plan-grid article{
  background:#fbfdfc!important;
  border-color:#ccddd2!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plan-grid small{
  color:#60796b!important;
  font-size:9px!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plan-grid strong{
  color:#234735!important;
  font-size:15px!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plan-grid p{
  color:#506b5c!important;
  font-size:10.5px!important;
  line-height:1.5!important;
}
html[data-theme="light"] .plan-catalog-page .internal-plan-grid span{
  color:#16784c!important;
  font-size:9.5px!important;
  font-weight:750!important;
}

/* Regra comercial e títulos de grupos */
html[data-theme="light"] .plan-catalog-page .plan-commercial-rule{
  background:#f4f8f5!important;
  border-color:#cbded2!important;
}
html[data-theme="light"] .plan-catalog-page .plan-commercial-rule p{
  color:#4f6a5b!important;
}
html[data-theme="light"] .plan-catalog-page .plan-commercial-rule b{
  color:#234735!important;
}

/* ==========================================================================
   RC16.30.10bg — Catálogo comercial | legibilidade do corpo dos adicionais
   ========================================================================== */
html[data-theme="light"] .plan-catalog-page .addon-catalog-card>p{
  color:#3f5f4e!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  font-weight:500!important;
}

html[data-theme="light"] .plan-catalog-page .addon-catalog-card li{
  color:#466555!important;
  font-size:10px!important;
  line-height:1.5!important;
  font-weight:500!important;
}

html[data-theme="light"] .plan-catalog-page .addon-catalog-card li code{
  color:#16784c!important;
  font-size:9.5px!important;
  line-height:1.5!important;
  font-weight:650!important;
}

html[data-theme="light"] .plan-catalog-page .addon-catalog-card ul{
  margin-top:10px!important;
  margin-bottom:12px!important;
  row-gap:2px!important;
}

/* ==========================================================================
   RC16.30.10bh — Subscription Lifecycle & Platform Billing | hero Light
   O hero desta página ainda herdava um card branco do polimento anterior.
   No tema claro ele passa a seguir o mesmo padrão estrutural do Platform Control:
   fundo integrado à página, linha inferior e ação alinhada no topo.
   ========================================================================== */
html[data-theme="light"] .platform-billing-page .billing-hero{
  background:transparent!important;
  color:#294e3d!important;
  border:0!important;
  border-bottom:1px solid #cbdcd2!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:4px 0 16px!important;
  margin-bottom:24px!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero .pc-eyebrow{
  color:#16784c!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero h1{
  color:#173f2c!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero p{
  color:#587064!important;
  max-width:780px!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero .pc-hero-actions{
  align-self:start!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero .pc-hero-actions .btn{
  min-height:40px!important;
  padding:0 18px!important;
  background:#25a874!important;
  border-color:#25a874!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(37,168,116,.16)!important;
}

html[data-theme="light"] .platform-billing-page .billing-hero .pc-hero-actions .btn:hover{
  background:#1f9365!important;
  border-color:#1f9365!important;
}

@media(max-width:1120px){
  html[data-theme="light"] .platform-billing-page .billing-hero{
    grid-template-columns:1fr!important;
    row-gap:14px!important;
  }
  html[data-theme="light"] .platform-billing-page .billing-hero .pc-hero-actions{
    justify-content:flex-start!important;
  }
}


/* RC16.30.10bs — Customer Activation: Light Theme Parity
   Corrige o onboarding/ativação inicial que mantinha superfícies do tema escuro
   quando o ambiente estava em modo Claro. O padrão visual passa a seguir os
   cards, bordas, tipografia e campos claros do FrogTech Connect. */
html[data-theme="light"] .activation-shell{
  color:#294d3b!important;
}
html[data-theme="light"] .activation-hero{
  border-color:#d4e5db!important;
  background:radial-gradient(circle at 92% 0,rgba(37,168,116,.10),transparent 34%),linear-gradient(135deg,#ffffff,#f5faf7)!important;
  box-shadow:0 14px 36px rgba(31,68,43,.07)!important;
}
html[data-theme="light"] .activation-eyebrow,
html[data-theme="light"] .activation-panel-head>div>span,
html[data-theme="light"] .activation-aside section>span,
html[data-theme="light"] .activation-flow-summary>span{
  color:#25a874!important;
}
html[data-theme="light"] .activation-hero h1,
html[data-theme="light"] .activation-progress-card strong,
html[data-theme="light"] .activation-panel-head h2,
html[data-theme="light"] .activation-panel h3,
html[data-theme="light"] .activation-panel strong,
html[data-theme="light"] .activation-aside section>strong,
html[data-theme="light"] .activation-finish h2{
  color:#1f4332!important;
}
html[data-theme="light"] .activation-hero p,
html[data-theme="light"] .activation-panel-head p,
html[data-theme="light"] .activation-brand-preview span,
html[data-theme="light"] .activation-tip span,
html[data-theme="light"] .activation-invites span,
html[data-theme="light"] .activation-invites p,
html[data-theme="light"] .activation-finish>p,
html[data-theme="light"] .activation-aside section>p,
html[data-theme="light"] .activation-support p,
html[data-theme="light"] .activation-actions>span,
html[data-theme="light"] .activation-actions>a{
  color:#687f72!important;
}
html[data-theme="light"] .activation-progress-card{
  border-color:#d5e6dc!important;
  background:#f6faf7!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
html[data-theme="light"] .activation-progress-card span,
html[data-theme="light"] .activation-license span{
  color:#658073!important;
}
html[data-theme="light"] .activation-progress-card div,
html[data-theme="light"] .activation-license div{
  background:#dfece4!important;
}
html[data-theme="light"] .activation-notice{
  border-color:#d8e6de!important;
  background:#ffffff!important;
  color:#355747!important;
}
html[data-theme="light"] .activation-notice.success{
  border-color:#b9dfc7!important;
  background:#edf8f1!important;
  color:#245f3f!important;
}
html[data-theme="light"] .activation-notice.danger{
  border-color:#efc3c3!important;
  background:#fff3f3!important;
  color:#9a3535!important;
}
html[data-theme="light"] .activation-notice.warning{
  border-color:#ead9aa!important;
  background:#fff9e8!important;
  color:#826719!important;
}
html[data-theme="light"] .activation-step{
  border-color:#d5e4db!important;
  background:#ffffff!important;
  color:#637b6e!important;
  box-shadow:0 3px 10px rgba(31,68,43,.025)!important;
}
html[data-theme="light"] .activation-step:hover{
  border-color:#9bcdb0!important;
  background:#f8fcf9!important;
}
html[data-theme="light"] .activation-step b{
  background:#f0f6f2!important;
  border:1px solid #dae7df!important;
  color:#4e6e5d!important;
}
html[data-theme="light"] .activation-step.is-active{
  border-color:#70c58e!important;
  background:#eaf7ef!important;
  color:#176f3b!important;
  box-shadow:0 7px 18px rgba(37,168,116,.09)!important;
}
html[data-theme="light"] .activation-step.is-active b,
html[data-theme="light"] .activation-step.is-done b{
  border-color:#25a874!important;
  background:#25a874!important;
  color:#ffffff!important;
}
html[data-theme="light"] .activation-step.is-done{
  color:#2f7450!important;
}
html[data-theme="light"] .activation-panel{
  border-color:#d6e5dc!important;
  background:#ffffff!important;
  box-shadow:0 10px 28px rgba(31,68,43,.06)!important;
}
html[data-theme="light"] .activation-panel-head{
  border-bottom-color:#e1ebe5!important;
}
html[data-theme="light"] .activation-panel-icon{
  border-color:#c8e4d2!important;
  background:#edf8f1!important;
}
html[data-theme="light"] .activation-form label{
  color:#587163!important;
}
html[data-theme="light"] .activation-form input,
html[data-theme="light"] .activation-form select,
html[data-theme="light"] .activation-invite-link input{
  border-color:#cbded2!important;
  background:#ffffff!important;
  color:#244b37!important;
  box-shadow:none!important;
}
html[data-theme="light"] .activation-form input::placeholder,
html[data-theme="light"] .activation-invite-link input::placeholder{
  color:#9bad9f!important;
}
html[data-theme="light"] .activation-form input:focus,
html[data-theme="light"] .activation-form select:focus,
html[data-theme="light"] .activation-invite-link input:focus{
  border-color:#65bd84!important;
  box-shadow:0 0 0 3px rgba(37,168,116,.10)!important;
}
html[data-theme="light"] .activation-actions{
  border-top-color:#e1ebe5!important;
}
html[data-theme="light"] .activation-secondary{
  border-color:#bedac9!important;
  background:#eff8f3!important;
  color:#256545!important;
}
html[data-theme="light"] .activation-brand-preview,
html[data-theme="light"] .activation-invite-form,
html[data-theme="light"] .activation-summary-grid article,
html[data-theme="light"] .activation-brand-only>label,
html[data-theme="light"] .activation-brand-standard{
  border-color:#d8e6de!important;
  background:#f8fbf9!important;
}
html[data-theme="light"] .activation-brand-mark{
  background:#ffffff!important;
  border:1px solid #dfe9e3!important;
}
html[data-theme="light"] .activation-upload small{
  color:#73897d!important;
}
html[data-theme="light"] .activation-brand-standard b{
  color:#28533e!important;
}
html[data-theme="light"] .activation-brand-standard span{
  color:#6f8579!important;
}
html[data-theme="light"] .activation-tip{
  border-color:#cae1d2!important;
  background:#f2f9f5!important;
}
html[data-theme="light"] .activation-tip strong{
  color:#2b5941!important;
}
html[data-theme="light"] .activation-license{
  border-color:#cce3d4!important;
  background:#f2f9f5!important;
}
html[data-theme="light"] .activation-invite-link{
  border-color:#bfe1ca!important;
  background:#eef8f2!important;
}
html[data-theme="light"] .activation-invite-link span{
  color:#668073!important;
}
html[data-theme="light"] .activation-invites article{
  border-bottom-color:#e3ece6!important;
}
html[data-theme="light"] .activation-invites em{
  background:#fff7df!important;
  color:#7e651c!important;
}
html[data-theme="light"] .activation-invites em.is-accepted{
  background:#eaf8ef!important;
  color:#267047!important;
}
html[data-theme="light"] .activation-template{
  border-color:#d6e5dc!important;
  background:#ffffff!important;
  color:#294d3b!important;
  box-shadow:0 3px 12px rgba(31,68,43,.025)!important;
}
html[data-theme="light"] .activation-template:hover{
  border-color:#9dceb0!important;
  background:#fbfdfb!important;
}
html[data-theme="light"] .activation-template-radio{
  border-color:#a8bdb0!important;
  background:#ffffff!important;
}
html[data-theme="light"] .activation-template:has(input:checked){
  border-color:#59b97b!important;
  background:#edf8f1!important;
  box-shadow:0 0 0 3px rgba(37,168,116,.07)!important;
}
html[data-theme="light"] .activation-template:has(input:checked) .activation-template-radio{
  border-color:#25a874!important;
  background:#ffffff!important;
}
html[data-theme="light"] .activation-template p{
  color:#6b8376!important;
}
html[data-theme="light"] .activation-template i{
  color:#536f60!important;
}
html[data-theme="light"] .activation-template.is-plan-locked:hover{
  border-color:#d6e5dc!important;
  background:#ffffff!important;
}
html[data-theme="light"] .activation-template>small{
  border-top-color:#e4ece7!important;
  color:#81691e!important;
}
html[data-theme="light"] .activation-plan-note{
  border-color:#c6dfcf!important;
  background:#f2f9f5!important;
}
html[data-theme="light"] .activation-plan-note b{
  color:#237047!important;
}
html[data-theme="light"] .activation-plan-note span{
  color:#667f71!important;
}
html[data-theme="light"] .activation-template-plan.included{
  border-color:#b8dec5!important;
  background:#eaf8ef!important;
  color:#246c44!important;
}
html[data-theme="light"] .activation-template-plan.locked{
  border-color:#e7d59e!important;
  background:#fff8e3!important;
  color:#7e651d!important;
}
html[data-theme="light"] .activation-flow-summary{
  border-color:#c8e2d1!important;
  background:#f4faf6!important;
}
html[data-theme="light"] .activation-flow-summary p{
  border-color:#dce8e1!important;
  background:#ffffff!important;
  color:#6b8275!important;
}
html[data-theme="light"] .activation-flow-summary strong{
  color:#294f3c!important;
}
html[data-theme="light"] .activation-flow-protection{
  border-color:#c6dfcf!important;
  background:#f2f9f5!important;
}
html[data-theme="light"] .activation-flow-protection b{
  color:#286f47!important;
}
html[data-theme="light"] .activation-flow-protection span{
  color:#667f71!important;
}
html[data-theme="light"] .activation-flow-protection.danger{
  border-color:#efcaca!important;
  background:#fff3f3!important;
}
html[data-theme="light"] .activation-flow-protection.danger b{
  color:#a13f3f!important;
}
html[data-theme="light"] .activation-replace-confirm{
  border-color:#e4d49f!important;
  background:#fff9e8!important;
}
html[data-theme="light"] .activation-replace-confirm span{
  color:#735f28!important;
}
html[data-theme="light"] .activation-replace-confirm b{
  color:#715a16!important;
}
html[data-theme="light"] .activation-summary-grid span{
  color:#73897d!important;
}
html[data-theme="light"] .activation-quick-links a{
  border-color:#d5e4db!important;
  background:#f8fbf9!important;
  color:#3c6952!important;
}
html[data-theme="light"] .activation-aside>section,
html[data-theme="light"] .activation-aside>form{
  border-color:#d6e5dc!important;
  background:#ffffff!important;
  box-shadow:0 6px 18px rgba(31,68,43,.045)!important;
}
html[data-theme="light"] .activation-checklist a{
  border-bottom-color:#e3ece6!important;
  color:#466957!important;
}
html[data-theme="light"] .activation-checklist i{
  background:#eef4f0!important;
  color:#577466!important;
}
html[data-theme="light"] .activation-checklist i.done{
  background:#25a874!important;
  color:#ffffff!important;
}
html[data-theme="light"] .activation-skip{
  color:#5e7869!important;
}
html[data-theme="light"] .activation-support a{
  color:#16783d!important;
}
html[data-theme="light"] .activation-global-banner{
  border-color:#c9e1d2!important;
  background:linear-gradient(90deg,#edf8f1,#f8fcf9)!important;
  box-shadow:0 4px 14px rgba(31,68,43,.035)!important;
}
html[data-theme="light"] .activation-global-banner b{
  background:#dff3e6!important;
}
html[data-theme="light"] .activation-global-banner strong{
  color:#2c5640!important;
}
html[data-theme="light"] .activation-global-banner span{
  color:#6b8275!important;
}
html[data-theme="light"] .activation-global-banner>a{
  color:#16783d!important;
}

/* ========================================================================== 
   RC16.30.10bt — Light Theme Color Parity
   Fecha a paridade visual entre Platform Control e ambiente operador/white
   label. O branding continua livre para logo/identidade; contraste, superfícies,
   tipografia e estados usam a mesma linguagem visual FrogTech no modo claro.
   ========================================================================== */

html[data-theme="light"]{
  --frog-parity-ink:#17382A;
  --frog-parity-ink-2:#365649;
  --frog-parity-muted:#5A7065;
  --frog-parity-border:#C7DCD1;
  --frog-parity-card:#FFFFFF;
  --frog-parity-soft:#F6FAF8;
  --frog-parity-soft-green:#EAF6F0;
  --frog-warning-bg:#FFF9E9;
  --frog-warning-bg-2:#FFFDF6;
  --frog-warning-border:#E4C56F;
  --frog-warning-title:#3B433C;
  --frog-warning-copy:#58645C;
  --frog-warning-action:#7A590C;
}

/* Hierarquia de texto: mesma densidade visual do administrativo. */
html[data-theme="light"] .content{
  color:var(--frog-parity-ink)!important;
}
html[data-theme="light"] .content :where(
  .subtitle,.muted,.text-muted,.field-hint,.field-help,
  .dashboard-license-copy p,.adaptive-operation-head p,
  .frog-platform-widget-body p,.frog-empty-state-body p,
  .frog-tip-content p
){
  color:var(--frog-parity-muted)!important;
}
html[data-theme="light"] .content :where(
  .card,.panel,.settings-section,.form-card,.finance-card,.support-card,
  .pc-card,.pc-panel,.activation-panel,.billing-card,.automation-card,
  .flow-card,.proposal-card,.contract-card,.customer-card,.tenant-card,.plan-card,
  .dash-kpi-card,.dash-mini,.dash-chart-card,.dash-list-card,.dash-summary-card,
  .adaptive-base-card,.frog-platform-widget,.frog-empty-state
){
  border-color:var(--frog-parity-border)!important;
}
html[data-theme="light"] .content :where(
  .card,.panel,.settings-section,.form-card,.finance-card,.support-card,
  .pc-card,.pc-panel,.billing-card,.automation-card,.flow-card,
  .proposal-card,.contract-card,.customer-card,.tenant-card,.plan-card,
  .dash-kpi-card,.dash-mini,.dash-chart-card,.dash-list-card,.dash-summary-card,
  .adaptive-base-card,.frog-platform-widget,.frog-empty-state
){
  background:var(--frog-parity-card)!important;
}

/* Navegação do operador e Platform Control compartilham contraste e peso. */
html[data-theme="light"] .side-menu a{color:#355648!important}
html[data-theme="light"] .side-menu a:hover{color:#28513E!important}
html[data-theme="light"] .side-menu-section{color:#526C5E!important}
html[data-theme="light"] :where(.user-pill,.session-timer,.knowledge-context-button,.logout-link){
  color:#365649!important;
}

/* Banner de ativação: mantém o verde institucional, sem texto lavado. */
html[data-theme="light"] .activation-global-banner{
  background:linear-gradient(90deg,#EFF8F3 0%,#FBFDFC 100%)!important;
  border-color:#BEDDCA!important;
  color:var(--frog-parity-ink)!important;
  box-shadow:0 6px 18px rgba(37,112,78,.055)!important;
}
html[data-theme="light"] .activation-global-banner b{
  background:#DFF2E6!important;
  color:#2B6B49!important;
  border:1px solid #C6E2D0!important;
}
html[data-theme="light"] .activation-global-banner strong{
  color:#294E3B!important;
  font-weight:850!important;
}
html[data-theme="light"] .activation-global-banner span span{
  color:#63786C!important;
  font-weight:500!important;
}
html[data-theme="light"] .activation-global-banner>a{
  color:#2F744E!important;
  font-weight:850!important;
}
html[data-theme="light"] .activation-global-banner>a:hover{color:#205E3D!important}

/* Trial: warning legítimo. Fundo suave, texto escuro e CTA âmbar legível. */
html[data-theme="light"] .trial-global-banner,
html[data-theme="light"] .trial-global-banner.is-attention{
  background:linear-gradient(90deg,var(--frog-warning-bg) 0%,var(--frog-warning-bg-2) 100%)!important;
  border-color:var(--frog-warning-border)!important;
  color:var(--frog-warning-title)!important;
  box-shadow:0 6px 18px rgba(105,79,17,.065)!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-main{
  align-items:center!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-icon,
html[data-theme="light"] .trial-global-banner.is-attention .trial-global-icon{
  background:#FFF0BE!important;
  border:1px solid #E8CF84!important;
  color:#806318!important;
  box-shadow:none!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-copy{
  gap:2px!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-copy strong,
html[data-theme="light"] .trial-global-banner.is-attention .trial-global-copy strong{
  color:var(--frog-warning-title)!important;
  font-size:12px!important;
  line-height:1.28!important;
  font-weight:850!important;
  letter-spacing:0!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-copy span,
html[data-theme="light"] .trial-global-banner.is-attention .trial-global-copy span{
  color:var(--frog-warning-copy)!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:600!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-link,
html[data-theme="light"] .trial-global-banner.is-attention .trial-global-link{
  color:var(--frog-warning-action)!important;
  border-bottom-color:rgba(149,112,20,.28)!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:850!important;
  text-decoration:none!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-link:hover,
html[data-theme="light"] .trial-global-banner.is-attention .trial-global-link:hover{
  color:#74550D!important;
  border-bottom-color:rgba(116,85,13,.46)!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-days b{
  color:#896814!important;
}
html[data-theme="light"] .trial-global-banner .trial-global-days small{
  color:#756E5D!important;
}

/* Estados mais urgentes preservam semântica, mas seguem a mesma hierarquia. */
html[data-theme="light"] .trial-global-banner.is-critical,
html[data-theme="light"] .trial-global-banner.is-ending{
  background:linear-gradient(90deg,#FFF5E8 0%,#FFFCF7 100%)!important;
  border-color:#E5B67D!important;
}
html[data-theme="light"] .trial-global-banner.is-critical .trial-global-icon,
html[data-theme="light"] .trial-global-banner.is-ending .trial-global-icon{
  background:#FFE8C9!important;
  border-color:#E8BE8B!important;
}
html[data-theme="light"] .trial-global-banner.is-critical .trial-global-link,
html[data-theme="light"] .trial-global-banner.is-ending .trial-global-link,
html[data-theme="light"] .trial-global-banner.is-critical .trial-global-days b,
html[data-theme="light"] .trial-global-banner.is-ending .trial-global-days b{
  color:#A45E18!important;
}
html[data-theme="light"] .trial-global-banner.is-expired{
  background:linear-gradient(90deg,#FFF1F0 0%,#FFFAFA 100%)!important;
  border-color:#E3AAA6!important;
}
html[data-theme="light"] .trial-global-banner.is-expired .trial-global-icon{
  background:#FFE0DE!important;
  border-color:#E4B0AC!important;
}
html[data-theme="light"] .trial-global-banner.is-expired .trial-global-copy strong{color:#803B38!important}
html[data-theme="light"] .trial-global-banner.is-expired .trial-global-copy span{color:#785B59!important}
html[data-theme="light"] .trial-global-banner.is-expired .trial-global-link,
html[data-theme="light"] .trial-global-banner.is-expired .trial-global-days b{color:#A34842!important}

/* Cards de trial/licença no conteúdo também deixam de herdar texto do dark. */
html[data-theme="light"] :where(.trial-engine-panel,.trial-state-item,.trial-summary-hero,.trial-module-option){
  background:#FFFFFF!important;
  border-color:#D0E0D7!important;
  color:var(--frog-parity-ink)!important;
}
html[data-theme="light"] .trial-engine-head h3,
html[data-theme="light"] .trial-state-item strong,
html[data-theme="light"] .trial-summary-days,
html[data-theme="light"] .trial-module-copy b,
html[data-theme="light"] .trial-convert-box h4{
  color:#234735!important;
}
html[data-theme="light"] :where(
  .trial-engine-status-line,.trial-summary-caption,.trial-state-item span,
  .trial-module-copy small,.trial-empty-copy,.trial-convert-box p
){
  color:#62786B!important;
}
html[data-theme="light"] .trial-engine-eyebrow,
html[data-theme="light"] .trial-section-title{color:#2A8059!important}
html[data-theme="light"] .trial-countdown{
  background:#F8FBF9!important;
  border-color:#D4E3DA!important;
}
html[data-theme="light"] .trial-countdown strong{color:#247E55!important}
html[data-theme="light"] .trial-countdown span,
html[data-theme="light"] .trial-countdown small{color:#63796C!important}
html[data-theme="light"] .trial-progress{background:#DFEAE4!important}
html[data-theme="light"] .trial-progress i{background:linear-gradient(90deg,#7EB53F,#25A874)!important}
html[data-theme="light"] .trial-preserved-note{
  background:#F1F7FC!important;
  border-color:#C8DAEA!important;
  color:#496A82!important;
}

/* Formulários, tabelas e textos auxiliares mantêm a mesma leitura em ambos. */
html[data-theme="light"] .content :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  color:#234735!important;
  background:#FFFFFF!important;
  border-color:#BED4C7!important;
}
html[data-theme="light"] .content :where(input:not([type="checkbox"]):not([type="radio"]),textarea)::placeholder{
  color:#829489!important;
}
html[data-theme="light"] .content :where(table,.table,.pc-table,.support-table) :where(th){
  color:#456256!important;
}
html[data-theme="light"] .content :where(table,.table,.pc-table,.support-table) :where(td){
  color:#294E3B!important;
}

@media(max-width:760px){
  html[data-theme="light"] .trial-global-banner .trial-global-copy strong{font-size:11.5px!important}
  html[data-theme="light"] .trial-global-banner .trial-global-copy span{font-size:10.5px!important}
  html[data-theme="light"] .trial-global-banner .trial-global-link{font-size:10px!important}
}

/* RC16.30.10ca — Dual Logo System parity no tema claro */
html[data-theme="light"] .brand-identity-group{background:#fbfdfb!important;border-color:#d6e5db!important}
html[data-theme="light"] .brand-identity-head h3{color:#214735!important}
html[data-theme="light"] .brand-identity-head p{color:#647c6f!important}
html[data-theme="light"] .brand-identity-kicker{color:#148843!important}
html[data-theme="light"] .brand-identity-badge{color:#16783d!important;background:#eef9f1!important;border-color:#c9e7d2!important}
html[data-theme="light"] .brand-identity-badge.is-system{color:#2a688d!important;background:#eff8fd!important;border-color:#cfe5f2!important}
html[data-theme="light"] .brand-theme-card{box-shadow:0 8px 20px rgba(31,71,49,.04)}
html[data-theme="light"] .brand-theme-card.is-light{background:#f4f8f5!important;border-color:#d4e2d8!important;color:#254b39!important}
html[data-theme="light"] .brand-theme-card.is-dark{background:#153a29!important;border-color:#244e3a!important;color:#effff3!important}
html[data-theme="light"] .brand-theme-card.is-light .brand-theme-preview{background:#fff!important;border-color:#cbdcd0!important}
html[data-theme="light"] .brand-theme-card.is-dark .brand-theme-preview{background:#0d2f20!important;border-color:#335b47!important}
html[data-theme="light"] .brand-identity-rules{background:#f1faf4!important;border-color:#cee8d5!important;color:#315643!important}
html[data-theme="light"] .brand-identity-rules p{color:#60776b!important}

/* RC16.30.10cb — seletor de tema público no modo claro */
html[data-theme="light"] .brand-identity-badge.is-public{color:#8b6819!important;background:#fff8e7!important;border-color:#eddba7!important}
html[data-theme="light"] .public-theme-option{background:#fbfdfb!important;border-color:#d4e2d8!important}
html[data-theme="light"] .public-theme-option:hover{border-color:#a8d5b5!important}
html[data-theme="light"] .public-theme-option:has(input:checked){background:#eff9f2!important;border-color:#5fbc79!important;box-shadow:0 0 0 3px rgba(65,167,94,.08)!important}
html[data-theme="light"] .public-theme-option-icon{background:#edf4ef!important}
html[data-theme="light"] .public-theme-option strong{color:#254b39!important}
html[data-theme="light"] .public-theme-option small{color:#657b6f!important}


/* RC16.30.10ce16i — Contratos: histórico de segurança legível no tema claro */
html[data-theme="light"] .contract-audit-history{
  border-top-color:#D5E3D9!important;
}
html[data-theme="light"] .contract-audit-history summary{
  color:#24533A!important;
  background:#F4F9F6!important;
  border:1px solid #D5E3D9!important;
  border-radius:9px!important;
  padding:8px 10px!important;
  list-style-position:inside;
}
html[data-theme="light"] .contract-audit-history summary:hover{
  background:#EDF7F0!important;
  border-color:#B8D5C1!important;
}
html[data-theme="light"] .contract-audit-history li{
  border-bottom-color:#E0EAE3!important;
}
html[data-theme="light"] .contract-audit-history li b{color:#244A36!important}
html[data-theme="light"] .contract-audit-history li span{color:#5E7568!important}
html[data-theme="light"] .contract-audit-history li small{color:#6D8175!important}
html[data-theme="light"] .contract-access-audit{
  border-top-color:#D9E5DC!important;
  color:#365B47!important;
}
html[data-theme="light"] .contract-access-audit small{color:#6C8074!important}

/* RC16.30.10ce16ah — SLA automático por prioridade */
html[data-theme="light"] .support-sla-auto{background:#fff!important;border-color:#bfd6c6!important;color:#214837!important}
html[data-theme="light"] .support-sla-auto strong{color:#214837!important}
html[data-theme="light"] .support-sla-auto span{color:#6d8175!important}
/* RC16.30.10ce16bc9 — Plan Matrix Guardrails | Light */
html[data-theme="light"] .plan-catalog-page .feature-included-badge{background:#e7f6ec!important;border-color:#b8dcc3!important;color:#167342!important}
html[data-theme="light"] .plan-catalog-page .feature-contract-badge{background:#eef7fb!important;border-color:#c8dde7!important;color:#35677d!important}
html[data-theme="light"] .plan-catalog-page .quote-only-row{background:#f4f9fb!important;border-color:#d1e1e8!important}
html[data-theme="light"] .plan-catalog-page .quote-only-row strong{color:#28566a!important}
html[data-theme="light"] .plan-catalog-page .quote-only-row span{color:#667f73!important}
