/* =========================================================
   WORDLU 570.0.0 · CONTRASTE E IDENTIDADE
   - Home pública NÃO é alterada por esta folha.
   - Áreas de conteúdo do sistema permanecem claras.
   - Preto somente nos menus/cabeçalhos de navegação dos painéis.
   - Em fundo preto: textos e ícones sempre brancos.
   - Cartões personalizados/white-label não recebem override de arte.
   ========================================================= */
:root{
  --wl570-bg:#f4f7fb;
  --wl570-surface:#ffffff;
  --wl570-soft:#f7faff;
  --wl570-line:#d7e3ee;
  --wl570-line-strong:#b9cada;
  --wl570-ink:#10213f;
  --wl570-muted:#566b80;
  --wl570-blue:#0b71c8;
  --wl570-cyan:#08d8fc;
  --wl570-orange:#fd6c00;
  --wl570-shadow:0 10px 30px rgba(16,33,63,.08);
}

/* ---------- BASE DOS PAINÉIS INTERNOS ---------- */
body.wordlu-master-app,
body.wordlu-master-app .wlm-app,
body.wordlu-master-app .wlm-main,
body.wordlu-master-app .wlm-content,
.wlp-admin,.wlp-admin-wrap,.wlp-wrap,
.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap,
.wordlu-terminal,.wordlu-pos-shell{
  background:var(--wl570-bg)!important;
  color:var(--wl570-ink)!important;
  color-scheme:light!important;
}

/* ---------- CONTEÚDO PRINCIPAL WORDLU ---------- */
body.wordlu-master-app .wlm-content :is(
  .wlm-panel,.wlm-card,.wlm-box,.wlm-sheet,.wlm-banner,.wlm-toolbar,.wlm-summary,.wlm-stat,
  .wlm-welcome,.wlm-module-card,.wlm-admin-module,.wlm-request,.wlm-monitor-card,.wlm-empty,
  .wlm-modal-card,.wlm-dialog,.wlm-popup,.wlm-drawer,.wlm-history,.wlm-history-item,
  .wlm-billing-summary-card,.wlm-billing-summary-mini article,.wlm-client-pending-accordion,
  .wlm-notification-panel,.wlm-notification-card,.wlm-alert-card,.wlm-security-card,
  .wlm-wallet-card,.wlm-loan-card,.wlm-client-card,.wlm-cashback-actions article,
  .wlm-kyc-summary-grid>div,.wlm-pending-panel,.wlm-finance-overview
){
  background:var(--wl570-surface)!important;
  background-image:none!important;
  color:var(--wl570-ink)!important;
  border-color:var(--wl570-line)!important;
  text-shadow:none!important;
}
body.wordlu-master-app .wlm-content :is(h1,h2,h3,h4,h5,h6,b,strong,label){color:var(--wl570-ink)!important}
body.wordlu-master-app .wlm-content :is(p,small,.muted,[class*="muted"]){color:var(--wl570-muted)!important}

/* Elementos de formulário internos */
body.wordlu-master-app .wlm-content :is(input,select,textarea),
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) :is(input,select,textarea){
  background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line-strong)!important;box-shadow:none!important;
}
body.wordlu-master-app .wlm-content :is(input,textarea)::placeholder,
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) :is(input,textarea)::placeholder{color:#667b90!important;opacity:1!important}

/* Botões internos: contraste mínimo AA */
body.wordlu-master-app .wlm-content :is(button,.button,.wlm-button),
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) :is(button,.button,.wlp-btn,.wlc-btn,.wlw-btn,.wll-btn,.wls-btn){
  background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line-strong)!important;text-shadow:none!important;box-shadow:none!important;
}
body.wordlu-master-app .wlm-content :is(.primary,.button-primary,[class*="-primary"],[data-primary="1"]),
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) :is(.primary,.button-primary,[class*="-primary"]){
  background:var(--wl570-orange)!important;border-color:var(--wl570-orange)!important;color:var(--wl570-ink)!important;
}
body.wordlu-master-app .wlm-content :is(.danger,.button-link-delete,[class*="-danger"]),
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap) :is(.danger,.button-link-delete,[class*="-danger"]){background:#fff!important;color:#9f1f18!important;border-color:#e5aaa5!important}

/* ---------- MENUS PRETOS: TEXTO E ÍCONES 100% BRANCOS ---------- */
body.wordlu-master-app :is(
  .wlm-sidebar,.wlm-topbar,.wlm-mobile-topbar,.wlm-client-mobile-head-v275,.wlm-client-mobile-head-v270,.wlm-client-mobile-head-v210,
  .wlm-client-bottom-nav,.wlm-client-bottom-nav-v200,.wlm-client-bottom-nav-v275,
  .wlm-client-profile-bottom-nav-v200,.wlm-client-profile-bottom-nav-v220,.wlm-mobile-menu
){
  background:#000!important;background-image:none!important;color:#fff!important;border-color:#1d2936!important;
}
body.wordlu-master-app :is(
  .wlm-sidebar,.wlm-topbar,.wlm-mobile-topbar,.wlm-client-mobile-head-v275,.wlm-client-mobile-head-v270,.wlm-client-mobile-head-v210,
  .wlm-client-bottom-nav,.wlm-client-bottom-nav-v200,.wlm-client-bottom-nav-v275,
  .wlm-client-profile-bottom-nav-v200,.wlm-client-profile-bottom-nav-v220,.wlm-mobile-menu
) :is(a,button,span,b,strong,small,label,h1,h2,h3,em,i,svg,path){
  color:#fff!important;stroke:currentColor!important;
}
body.wordlu-master-app .wlm-sidebar .wlm-nav-separator,
body.wordlu-master-app .wlm-sidebar .wlm-nav-separator span{color:#fff!important;opacity:.82!important}
body.wordlu-master-app .wlm-sidebar .wlm-nav-link,
body.wordlu-master-app .wlm-sidebar .wlm-profile-link{color:#fff!important;background:transparent!important}
body.wordlu-master-app .wlm-sidebar .wlm-nav-link:hover,
body.wordlu-master-app .wlm-sidebar .wlm-profile-link:hover{background:#111927!important;color:#fff!important}
body.wordlu-master-app .wlm-sidebar .wlm-nav-link.is-active{
  background:#111927!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--wl570-orange)!important;
}
body.wordlu-master-app .wlm-sidebar .wlm-nav-link.is-active :is(span,b,strong,small,svg){color:#fff!important;stroke:currentColor!important}
body.wordlu-master-app .wlm-sidebar .wlm-nav-icon{color:#fff!important}
body.wordlu-master-app .wlm-sidebar .wlm-nav-badge{background:var(--wl570-orange)!important;color:#10213f!important}

/* Topbar preta: toda informação legível */
body.wordlu-master-app .wlm-topbar>div:first-child>span,
body.wordlu-master-app .wlm-topbar h1,
body.wordlu-master-app .wlm-topbar .wlm-user-mini :is(b,small),
body.wordlu-master-app .wlm-topbar .wlm-preview-back,
body.wordlu-master-app .wlm-topbar .wlm-notification-bell{color:#fff!important}
body.wordlu-master-app .wlm-topbar .wlm-notification-bell svg,
body.wordlu-master-app .wlm-topbar .wlm-preview-back svg{color:#fff!important;stroke:#fff!important}

/* Navegação inferior cliente: fundo preto, rótulos brancos */
body.wordlu-master-app .wlm-client-bottom-nav-v275 :is(.wlm-bottom-item-v275,.wlm-bottom-home-v275){color:#fff!important;background:transparent!important}
body.wordlu-master-app .wlm-client-bottom-nav-v275 :is(.wlm-bottom-item-v275,.wlm-bottom-home-v275) :is(span,svg){color:#fff!important;stroke:currentColor!important}
body.wordlu-master-app .wlm-client-bottom-nav-v275 .is-active{color:#fff!important}
body.wordlu-master-app .wlm-client-bottom-nav-v275 .is-active:not(.wlm-bottom-home-v275){background:#101923!important;box-shadow:inset 0 2px 0 var(--wl570-orange)!important}
body.wordlu-master-app .wlm-client-bottom-nav-v275 .wlm-bottom-home-label-v275{color:#fff!important}

/* Logos em navegação preta */
body.wordlu-master-app .wlm-brand .wlm-logo-full{width:150px!important;max-width:78%!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
body.wordlu-master-app .wlm-client-mobile-logo-v275 img{width:112px!important;max-height:37px!important;object-fit:contain!important;filter:none!important}
body.wordlu-master-app .wlm-client-mobile-head-v275{min-height:56px!important;height:56px!important}

/* Menu do wp-admin Wordlu: preto, tudo branco */
.wordlu-master-wp-v29 .wlwp-side{background:#000!important;color:#fff!important}
.wordlu-master-wp-v29 .wlwp-nav a,
.wordlu-master-wp-v29 .wlwp-nav a span,
.wordlu-master-wp-v29 .wlwp-nav .dashicons,
.wordlu-master-wp-v29 .wlwp-footer a{color:#fff!important}
.wordlu-master-wp-v29 .wlwp-nav a:hover,
.wordlu-master-wp-v29 .wlwp-nav a.active{background:#111927!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--wl570-orange)!important}
.wordlu-master-wp-v29 .wlwp-brand img{width:146px!important;max-height:44px!important;object-fit:contain!important;filter:none!important}

/* Menus internos de módulos (admin/gerente/parceiro): preto + branco */
:is(.wl-admin-nav,.wlc-admin-nav,.wlw-admin-nav,.wll-admin-nav,.wls-admin-nav,.wlp-admin-tabs,.wlp-account-nav){background:#000!important;background-image:none!important;color:#fff!important;border-color:#1d2936!important}
:is(.wl-admin-nav,.wlc-admin-nav,.wlw-admin-nav,.wll-admin-nav,.wls-admin-nav,.wlp-admin-tabs,.wlp-account-nav) :is(a,button,span,b,strong,small,svg){color:#fff!important;stroke:currentColor!important}
:is(.wl-admin-nav,.wlc-admin-nav,.wlw-admin-nav,.wll-admin-nav,.wls-admin-nav,.wlp-admin-tabs,.wlp-account-nav) :is(.active,.is-active,[aria-current="page"]){background:#111927!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--wl570-orange)!important}

/* ---------- MÓDULOS INTERNOS CLAROS ---------- */
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap)
:is([class*="card"],[class*="panel"],[class*="box"],[class*="hero"],[class*="banner"],[class*="modal"],[class*="dialog"],[class*="popup"],[class*="sheet"],[class*="drawer"],[class*="history"],[class*="receipt"],[class*="checkout"],[class*="summary"],[class*="toolbar"],[class*="preview"],[class*="document"],[class*="dossier"],[class*="security"],[class*="notice"],[class*="alert"],[class*="empty"],[class*="state"]):not(.wlc-digital-card):not(.wlc-tier-image-card){
  background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;text-shadow:none!important;
}
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap)
:is(h1,h2,h3,h4,h5,h6,b,strong,label){color:var(--wl570-ink)!important}
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap)
:is(p,small,.muted,[class*="muted"]){color:var(--wl570-muted)!important}

/* Cabeçalhos/brands dos módulos são claros; logos escuras foram ajustadas no PHP */
:is(.wlc-brand,.wlw-brand,.wll-brand,.wls-brand,.wlp-app-head,.wlp-standalone-title,
.wlw-wallet-hero,.wll-hero,.wls-hero,.wlc-admin-head,.wlw-admin-head,.wll-admin-head,.wls-admin-head,
.wlc-admin-hero,.wlw-admin-hero,.wll-admin-hero,.wls-admin-hero,.wlp-admin-hero,.wlm-admin-module-banner,.wl-admin-head){
  background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;box-shadow:var(--wl570-shadow)!important;
}
:is(.wlc-brand,.wlw-brand,.wll-brand,.wls-brand,.wlp-app-head,.wlp-standalone-title,.wlw-wallet-hero,.wll-hero,.wls-hero,.wlc-admin-head,.wlw-admin-head,.wll-admin-head,.wls-admin-head,.wlp-admin-hero,.wlm-admin-module-banner,.wl-admin-head)
:is(h1,h2,h3,h4,b,strong,span,p,small,label){color:var(--wl570-ink)!important}
:is(.wlc-brand,.wlw-brand,.wll-brand,.wls-brand,.wlp-app-head,.wlp-admin-brand,.wl-admin-head,.wlw-admin-head,.wls-admin-head) img{max-width:170px!important;max-height:52px!important;object-fit:contain!important;filter:none!important}

/* IMPORTANTE: preservar integralmente artes de cartão personalizadas */
.wlc-digital-card,
.wlc-digital-card:before,
.wlc-tier-image-card,
.wlc-digital-card.is-partner-card,
.wlc-digital-card.is-partner-card.has-partner-art{
  /* intencionalmente sem background override */
}
.wlc-digital-card.is-partner-card.has-partner-art{background-image:var(--partner-art)!important;background-size:cover!important;background-position:center!important;border:0!important}
.wlc-digital-card.is-partner-card.has-partner-art:before{background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.18))!important}

/* ---------- MODAIS/BACKDROPS CLAROS ---------- */
.wlm-billing-modal,.wlm-cashback-modal-v550,.wlm-receipt-viewer-v340,.wlu-first-password,.wt-modal,
.wlw-modal,.wlc-modal,.wll-modal,.wls-modal,.wlp-modal,.wordlu-pos-modal{background:rgba(244,247,251,.96)!important}
.wlm-billing-modal-backdrop,.wlm-cashback-modal-backdrop-v550,.wlm-receipt-backdrop-v340,
.wlw-modal-backdrop,.wlc-modal-backdrop,.wll-modal-backdrop,.wls-modal-backdrop,.wlp-modal-backdrop{background:rgba(237,243,248,.88)!important;backdrop-filter:blur(2px)!important}
dialog::backdrop,.wlp-quick-dialog::backdrop,.wlp-history-export-dialog::backdrop{background:rgba(237,243,248,.90)!important;backdrop-filter:blur(2px)!important}

/* ---------- HISTÓRICO ADMIN E PDF + HISTÓRICO ---------- */
.wlp-user-history,.wlp-history-list,.wlp-history-item,.wlp-quick-history,.wlp-quick-history article,
.wlp-history-export-dialog,.wlp-history-export-grid,.wlp-history-export-card,.wlp-history-export-grid form,
.wlp-quick-dialog,.wlp-quick-doc-grid article,.wlp-quick-send-grid form{
  background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;
}
.wlp-history-item :is(b,strong,h1,h2,h3,h4),.wlp-quick-history article :is(b,strong,h1,h2,h3,h4){color:var(--wl570-ink)!important}
.wlp-history-item :is(p,small),.wlp-quick-history article :is(p,small){color:var(--wl570-muted)!important}
.wlp-history-meta code,.wlp-history-protocol-actions code{background:#eef5fa!important;color:#405a70!important}
.wlp-history-item blockquote{background:#f4fafc!important;color:#405a70!important;border-left-color:var(--wl570-cyan)!important}
.wlp-dialog-close button{background:#f2f6f9!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wlp-history-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.wlp-history-export-card,.wlp-history-export-grid form{padding:14px;border:1px solid var(--wl570-line);border-radius:15px}
@media(max-width:720px){.wlp-history-export-grid{grid-template-columns:1fr}}

/* ---------- RESUMO FINANCEIRO: PEQUENO E CENTRALIZADO ---------- */
body.wordlu-master-app .wlm-billing-modal{background:var(--wl570-bg)!important;color:var(--wl570-ink)!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-modal-card,
body.wordlu-master-app .wlm-billing-modal .wlm-billing-modal-scroll,
body.wordlu-master-app .wlm-billing-modal .wlm-billing-summary-form,
body.wordlu-master-app .wlm-billing-modal .wlm-billing-matrix{background:var(--wl570-bg)!important;color:var(--wl570-ink)!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-summary-form{width:min(760px,100%)!important;margin:0 auto!important;padding:0 8px!important}
body.wordlu-master-app .wlm-billing-modal :is(.wlm-billing-row,.wlm-billing-cell,.wlm-billing-line){background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;box-shadow:none!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-check{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:0!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-check i{width:20px!important;height:20px!important;border-radius:6px!important;background:#fff!important;border:1.5px solid #9fb5c8!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-check input:checked+i{background:var(--wl570-blue)!important;border-color:var(--wl570-blue)!important;box-shadow:inset 0 0 0 4px var(--wl570-blue)!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch{
  position:fixed!important;left:50%!important;right:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;z-index:2147483646!important;
  width:auto!important;max-width:calc(100vw - 24px)!important;margin:0!important;padding:4px!important;border:1px solid var(--wl570-line)!important;border-radius:12px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;background:#fff!important;box-shadow:0 10px 28px rgba(16,33,63,.12)!important;white-space:nowrap!important;
}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch[hidden]{display:none!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch>div{min-width:112px!important;height:32px!important;padding:0 8px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;background:var(--wl570-blue)!important;color:#fff!important;border-radius:8px!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch>div :is(span,b,strong){color:#fff!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch>div>span{font-size:0!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch>div>span:after{content:' sel.'!important;font-size:8px!important;color:#fff!important}
body.wordlu-master-app .wlm-billing-modal [data-wlm-batch-count]{font-size:10px!important;color:#fff!important}
body.wordlu-master-app .wlm-billing-modal [data-wlm-batch-total]{font-size:9px!important;color:#fff!important;margin:0!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-batch>.wlm-button{width:auto!important;min-width:60px!important;height:32px!important;min-height:32px!important;padding:0 9px!important;margin:0!important;border-radius:8px!important;background:var(--wl570-orange)!important;border-color:var(--wl570-orange)!important;color:var(--wl570-ink)!important;font-size:8px!important;font-weight:900!important}
body.wordlu-master-app .wlm-billing-modal .wlm-billing-modal-scroll{padding-bottom:70px!important}

/* ---------- KYC E CAPTURA ---------- */
:is(.wlu-client-kyc-hero,.wlm-kyc-document-v200,.wlm-client-pending-accordion,.wlu-client-kyc-state,.wlu-kyc-capture,.wlu-capture-shell,.wlu-capture-stage,.wlu-capture-card){background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
:is(.wlu-client-kyc-hero,.wlm-kyc-document-v200,.wlm-client-pending-accordion,.wlu-client-kyc-state) :is(h1,h2,h3,b,strong,p,small,span,label){color:var(--wl570-ink)!important}

/* ---------- LOGIN / CADASTRO / RECUPERAÇÃO ---------- */
.wlp-auth-page{background:var(--wl570-bg)!important;color:var(--wl570-ink)!important}
.wlp-auth-shell,.wlp-auth-brand,.wlp-auth-main,.wlp-auth-main .wlp-card,.wlp-register-v8,.wlu-first-password-card,.wlu-revalidation-gate-card,.wlu-revalidation-gate-form{background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wlp-auth-shell{box-shadow:0 18px 50px rgba(16,33,63,.10)!important}
.wlp-auth-brand :is(h1,h2,h3,b,strong,p,span),.wlp-auth-main :is(h1,h2,h3,b,strong,label,p,span),.wlp-register-v8 :is(h1,h2,h3,b,strong,label,p,span){color:var(--wl570-ink)!important}
.wlp-auth-brand :is(p,small),.wlp-auth-main :is(p,small),.wlp-register-v8 :is(p,small){color:var(--wl570-muted)!important}
.wlp-logo{max-width:190px!important;max-height:58px!important;object-fit:contain!important;filter:none!important}

/* ---------- TERMINAL / PDV: claros, pois não são menus ---------- */
.wordlu-terminal :is(.wt-shell,.wt-stage,.wt-screen,.wt-card,.wt-start,.wt-total,.wt-camera,.wt-foot,.wt-history,.wt-modal-card,.wt-results,.wt-status),
.wordlu-pos-shell :is(.wordlu-pos-top,.wordlu-pos-sale,.wordlu-pos-summary,.wordlu-pos-total,.wordlu-pos-hotkeys,.wordlu-pos-modal>div,.wordlu-pos-method-grid>button,.wordlu-pos-confirm-box,.wordlu-pos-wait){background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wordlu-terminal :is(h1,h2,h3,b,strong,label,p,small,span),.wordlu-pos-shell :is(h1,h2,h3,b,strong,label,p,small,span){color:var(--wl570-ink)!important}
.wordlu-terminal .wt-primary,.wordlu-pos-shell .wordlu-pos-finalize,.wordlu-pos-shell .is-primary{background:var(--wl570-orange)!important;color:var(--wl570-ink)!important;border-color:var(--wl570-orange)!important}

/* ---------- TOASTS / AVISOS ---------- */
:is(.wlp-toast,.wlc-toast,.wlw-toast,.wll-toast,.wls-toast,.store-toast){background:#fff!important;color:var(--wl570-ink)!important;border:1px solid var(--wl570-line)!important;box-shadow:0 10px 28px rgba(16,33,63,.13)!important}

/* ---------- CONTRASTE DE TEXTO SECUNDÁRIO ---------- */
body.wordlu-master-app .wlm-content :is(.wlm-stat small,.wlm-module-card small,.wlm-request-top small,.wlm-user-mini small),
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) :is(.muted,small){color:var(--wl570-muted)!important}

/* Scrollbar interna clara */
body.wordlu-master-app ::-webkit-scrollbar-track,
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) ::-webkit-scrollbar-track{background:#eef3f7!important}
body.wordlu-master-app ::-webkit-scrollbar-thumb,
:is(.wlp-admin,.wlp-admin-wrap,.wlp-wrap,.wlc-admin,.wlc-wrap,.wlw-admin,.wlw-wrap,.wll-admin,.wll-wrap,.wls-admin,.wls-wrap) ::-webkit-scrollbar-thumb{background:#9fb1c0!important;border-color:#eef3f7!important}

/* Mobile */
@media(max-width:820px){
  body.wordlu-master-app .wlm-client-mobile-head-v275{display:grid!important;background:#000!important}
  body.wordlu-master-app .wlm-client-mobile-logo-v275 img{width:106px!important;max-height:34px!important}
  body.wordlu-master-app .wlm-client-bottom-nav-v275{background:#000!important}
}

/* Cartões: preservar contraste interno da arte, sem clarear textos sobre a imagem. */
.wlc-digital-card :is(.wlc-number,.wlc-holder,.wlc-secure-data b,.wlc-card-finish,.wlc-card-state){color:#fff!important}
.wlc-digital-card :is(.wlc-card-mid small,.wlc-card-bottom small){color:rgba(255,255,255,.78)!important}
.wlc-digital-card .wlc-card-brand-logo,.wlc-digital-card .wlc-card-network img{filter:brightness(0) invert(1)!important}
.wlc-digital-card.is-partner-card.has-partner-art .wlc-card-brand-logo,
.wlc-digital-card.is-partner-card.has-partner-art .wlc-card-network{display:none!important}

/* ---------- SUPORTE ADMIN: hero claro, somente navegação preta ---------- */
.wlsa-wrap{background:var(--wl570-bg)!important;color:var(--wl570-ink)!important}
.wlsa-wrap .wlsa-hero{background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border:1px solid var(--wl570-line)!important;box-shadow:var(--wl570-shadow)!important}
.wlsa-wrap .wlsa-brand img{filter:none!important;max-width:150px!important;max-height:48px!important;object-fit:contain!important}
.wlsa-wrap .wlsa-brand :is(h1,p,small,b,strong){color:var(--wl570-ink)!important;opacity:1!important}
.wlsa-wrap .wlsa-hero nav{background:#000!important;border-radius:12px 12px 0 0!important;padding:4px!important}
.wlsa-wrap .wlsa-hero nav a{color:#fff!important;background:transparent!important}
.wlsa-wrap .wlsa-hero nav a.active,.wlsa-wrap .wlsa-hero nav a:hover{background:#111927!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--wl570-orange)!important}
.wlsa-wrap :is(.wlsa-card,.wlsa-table-wrap,.wlsa-ticket-main,.wlsa-side-stack>*,.wlsa-shortcodes>div,.wlsa-modal-card){background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;box-shadow:none!important}
.wlsa-wrap :is(.wlsa-table-wrap table,.wlsa-table-wrap td,.wlsa-table-wrap th){background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wlsa-wrap .wlsa-table-wrap th{background:var(--wl570-soft)!important;color:var(--wl570-muted)!important}
.wlsa-wrap :is(.wlsa-client-cell b,.wlsa-small-strong,.wlsa-detail-id b,.wlsa-conversation-head h2,.wlsa-card-title h2,.wlsa-card-title h3,.wlsa-mini-list b,.wlsa-shortcodes h3,.wlsa-modal-head h2){color:var(--wl570-ink)!important}
.wlsa-wrap :is(.wlsa-client-cell small,.wlsa-subline,.wlsa-card-title p,.wlsa-mini-list small,.wlsa-shortcodes p,.wlsa-help){color:var(--wl570-muted)!important}
.wlsa-wrap :is(.wlsa-client-meta,.wlsa-chat,.wlsa-composer,.wlsa-msg.client,.wlsa-msg.team,.wlsa-msg.system){background:var(--wl570-soft)!important;border-color:var(--wl570-line)!important;color:var(--wl570-ink)!important}
.wlsa-wrap .wlsa-shortcodes code{background:#eef5fa!important;color:var(--wl570-ink)!important;border:1px solid var(--wl570-line)!important}
.wlsa-wrap :is(input,select,textarea){background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line-strong)!important}
.wlsa-wrap .wlsa-modal{background:rgba(237,243,248,.90)!important;backdrop-filter:blur(2px)!important}

/* ---------- CHECKOUTS/PAGAMENTOS: remover modo dark legado ---------- */
body.wordlu-public-checkout-card,
body.wordlu-public-checkout-loan,
.wordlu-public-checkout-card .wlc-wrap.wlc-checkout-wrap,
.wordlu-public-checkout-loan .wl-wrap.wl-checkout-wrap{background:var(--wl570-bg)!important;color:var(--wl570-ink)!important;color-scheme:light!important}
.wordlu-public-checkout-card :is(.wlc-checkout-card,.wlc-payment-checkout-box,.wlc-public-qr-card,.wlc-public-copy-wrap,.wlc-public-pix-help li),
.wordlu-public-checkout-loan :is(.wl-checkout-card,.wl-payment-checkout-box,.wl-public-qr-card,.wl-public-copy-wrap,.wl-public-pix-help li){background:#fff!important;background-image:none!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important;box-shadow:var(--wl570-shadow)!important}
.wordlu-public-checkout-card :is(h1,h2,h3,h4,b,strong,label,p,small,span),
.wordlu-public-checkout-loan :is(h1,h2,h3,h4,b,strong,label,p,small,span){color:var(--wl570-ink)!important}
.wordlu-public-checkout-card :is(.wlc-modal-close,.wlc-public-copy-pix),
.wordlu-public-checkout-loan :is(.wl-modal-close,.wl-public-copy-pix){background:#fff!important;color:var(--wl570-ink)!important;border:1px solid var(--wl570-line-strong)!important}
.wordlu-public-checkout-card :is(.wlc-public-copy-pix,.wlc-checkout-primary),
.wordlu-public-checkout-loan :is(.wl-public-copy-pix,.wl-checkout-primary){background:var(--wl570-blue)!important;color:#fff!important;border-color:var(--wl570-blue)!important}
.wlc-payment-checkout-box,.wl-payment-checkout-box{background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wlc-payment-checkout-box :is(h1,h2,h3,b,strong,p,small,span),.wl-payment-checkout-box :is(h1,h2,h3,b,strong,p,small,span){color:var(--wl570-ink)!important}

/* ---------- BLOQUEIO POR INATIVIDADE: claro e legível ---------- */
.wordlu-idle-lock{background:rgba(237,243,248,.94)!important;backdrop-filter:blur(4px)!important}
.wordlu-idle-card{background:#fff!important;color:var(--wl570-ink)!important;border:1px solid var(--wl570-line)!important;box-shadow:0 22px 65px rgba(16,33,63,.14)!important}
.wordlu-idle-card :is(h1,h2,h3,b,strong,p,small,span,label){color:var(--wl570-ink)!important}

/* ---------- FACEPAY/CÂMERA: interface clara sem cobrir o vídeo ---------- */
.wlu-facepay-camera__backdrop{background:rgba(237,243,248,.92)!important;backdrop-filter:blur(3px)!important}
.wlu-facepay-camera__panel,.wlu-facepay-camera__card,.wlu-facepay-camera__actions{background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.wlu-facepay-camera :is(h1,h2,h3,b,strong,p,small,span,label){color:var(--wl570-ink)!important}

/* ---------- RECEIPT VIEWER / PWA SHEETS ---------- */
.wlw-receipt-viewer-backdrop,.store-pwa-sheet,.wlp-install-sheet{background:rgba(237,243,248,.92)!important;backdrop-filter:blur(2px)!important}
.wlw-receipt-viewer-card,.store-pwa-card,.wlp-install-card,.wlp-install-sheet>div{background:#fff!important;color:var(--wl570-ink)!important;border-color:var(--wl570-line)!important}
.store-pwa-card :is(h1,h2,h3,b,strong,p,small,span),.wlp-install-sheet :is(h1,h2,h3,b,strong,p,small,span){color:var(--wl570-ink)!important}
