/* MODYNOA — auditoria de cores e contraste, 26/10/2026.
   Última camada de apresentação: preserva HTML, autenticação, checkout e saldos.
   Regra central: superfícies escuras recebem texto creme; avisos claros recebem
   texto marrom escuro. Evita misturar as duas combinações. */

html.md-dark {
  --md-bg:#211A1C; --md-paper:#302529; --md-paper-alt:#392C31;
  --md-ink:#F8EFEA; --md-body:#DCC9C2; --md-soft:#DCC9C2;
  --md-border:#6C515A; --md-brand:#EFABB9; --md-hover:#E15B7C;
  --mz-ink:#F8EFEA; --mz-muted:#DCC9C2;
}

/* Estrutura / áreas que antes continuavam cremes no modo escuro. */
html.md-dark body,
html.md-dark body :is(.section,.section.alt,.app-page,.currencies-page,.model3d-page,.perfume-page,.perfume-main),
html.md-dark body #como,html.md-dark body #oferta {
  background-color:#211A1C!important; color:#F8EFEA!important;
}
html.md-dark body .modynoa-editorial-hero,
html.md-dark body .hero.new-hero.modynoa-editorial-hero {
  background:linear-gradient(118deg,#211A1C,#302427)!important;
}
html.md-dark body .modynoa-editorial-hero .editorial-hero-copy h1,
html.md-dark body .modynoa-editorial-hero .editorial-hero-copy h1 em,
html.md-dark body .modynoa-editorial-hero .editorial-hero-copy p,
html.md-dark body .modynoa-editorial-hero .editorial-hero-copy .eyebrow {
  color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .modynoa-editorial-hero .editorial-hero-copy p {color:#E0C9C1!important;-webkit-text-fill-color:#E0C9C1!important}
html.md-dark body .modynoa-editorial-hero .hero-stage-shape-a{background:#49363B!important}
html.md-dark body .modynoa-editorial-hero .hero-stage-shape-b{background:#3B2B30!important}

/* Logo original preservada: troca real de PNG, sem filtro que escureça a base. */
html.md-dark body :is(.topbar,.logo,.logo-wordmark-link,.footer-logo){background-color:transparent!important}
html.md-dark body .topbar{background:#2A2024!important}
html.md-dark body img.logo-wordmark{filter:none!important;background:transparent!important;box-shadow:none!important}
html.md-dark body .footer{border-color:#695059!important}
html.md-dark body .footer :is(p,a,small,span){color:#E9D5CC!important;-webkit-text-fill-color:#E9D5CC!important}
html.md-dark body .footer a:hover{color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important}

/* Etiquetas secundárias: usar creme como nos três cards aprovados. */
html.md-dark body :is(.kicker,.eyebrow,.ribbon,.app-head .kicker,#oferta .kicker,
 .section .kicker,.premium-card .kicker,.premium-perfume-card .kicker,
 .model3d-page .kicker,.currencies-page .kicker,.app-page .kicker,
 .perfume-page .kicker,.offer-head-intro .kicker) {
 color:#F2E0D7!important;-webkit-text-fill-color:#F2E0D7!important;
}

/* Cards em vinho-marron; também sobrescreve as classes tradicionais, que
   possuíam especificidade maior que as regras genéricas anteriores. */
html.md-dark body :is(.how-step,.card,.step,.price-card,.panel,.premium-card,.premium-perfume-card,
 .balance,.credit-showcase,.mode-card,.fit-choice,.check,.note,.metric,.premium-note,
 .wardrobe-mini-hint,.wardrobe-group,.wardrobe-slot,.fit-brief,.saved-mini-item,
 .model3d-saved-item,.currencies-how,.currencies-explainer>div,.home-token-banner,
 .model3d-token-offer,.model3d-look,.model3d-mode,.model3d-selected,
 .model3d-next-step,.model3d-project-status,.model3d-photo-board,
 .model3d-usage-guide,.model3d-main,.model3d-sidebar,.model3d-cost-card,
 .model3d-empty,.model3d-project-card,.model3d-package,.model3d-look-teaser,
 .fit-panel,.size-choice,.size-recommendation,.fit-status,.fit-result,.fit-recommendation,
 .perfume-winner,.perfume-recommendation,.perfume-header-stat,.perfume-list-item,
 .perfume-context-note,.perfume-score,.perfume-occasion,.perfume-empty,
 .account-card,.account-measures,.account-delete-confirm,.looks-empty-state,
 .gallery .look,.fit-mini-panel,.model3d-saved-empty,.model3d-stage,.saved-chart,
 .fit-import-card,.size-chart-card,.fit-size-guide,.model3d-how,.model3d-guide) {
 background:#302529!important;border-color:#6C515A!important;color:#F8EFEA!important;
 box-shadow:none!important;
}
/* specificity fixes from unified.css and harmonizacao.css */
html.md-dark body .app-page .panel,
html.md-dark body .app-page .premium-card,
html.md-dark body .app-page .premium-rail .premium-card,
html.md-dark body .app-page .premium-rail .credit-showcase,
html.md-dark body .app-page .premium-rail .premium-perfume-card,
html.md-dark body .app-page .wardrobe-builder .wardrobe-group,
html.md-dark body .app-page .wardrobe-builder .wardrobe-slot,
html.md-dark body .app-page .fit-choice-grid .fit-choice,
html.md-dark body .app-page .account-card,
html.md-dark body .app-page .account-card .account-measures,
html.md-dark body .currencies-page .price-card,
html.md-dark body .currencies-page .currencies-how,
html.md-dark body .currencies-explainer>div,
html.md-dark body #oferta .price-card,
html.md-dark body #como .how-step,
html.md-dark body .model3d-page .model3d-look,
html.md-dark body .model3d-page .model3d-mode,
html.md-dark body .model3d-page .model3d-selected,
html.md-dark body .model3d-page .model3d-next-step,
html.md-dark body .model3d-page .model3d-photo-board,
html.md-dark body .model3d-page .model3d-usage-guide,
html.md-dark body .model3d-page .model3d-project-status,
html.md-dark body .model3d-page .model3d-saved-item,
html.md-dark body .model3d-page .model3d-token-offer,
html.md-dark body .perfume-page .perfume-card,
html.md-dark body .perfume-main .perfume-winner,
html.md-dark body .perfume-main .perfume-recommendation,
html.md-dark body .perfume-main .perfume-list-item,
html.md-dark body .perfume-main .perfume-context-note,
html.md-dark body .perfume-main .perfume-occasion,
html.md-dark body .perfume-page .perfume-header-stat {
 background:#302529!important;border-color:#6C515A!important;color:#F8EFEA!important;box-shadow:none!important;
}
html.md-dark body .price-card.featured,html.md-dark body #oferta .price-card.featured,
html.md-dark body .currencies-page .price-card.featured{border-color:#D3738A!important}

/* Títulos e descrições nos cartões escuros */
html.md-dark body :is(.how-step,.card,.step,.price-card,.panel,.premium-card,.mode-card,.fit-choice,
 .model3d-page,.account-card,.perfume-page,.perfume-main,.looks-empty-state,.home-token-banner,
 .fit-brief,.size-choice,.balance,.credit-showcase,.wardrobe-group,.wardrobe-slot)
 :is(h1,h2,h3,h4,strong,legend){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body :is(.how-step,.card,.step,.price-card,.panel,.premium-card,.mode-card,.fit-choice,
 .model3d-page,.account-card,.perfume-page,.perfume-main,.looks-empty-state,.home-token-banner,
 .fit-brief,.size-choice,.balance,.credit-showcase,.wardrobe-group,.wardrobe-slot)
 :is(p,small,span,label,li,.muted,.small-text){color:#DCC9C2!important;-webkit-text-fill-color:#DCC9C2!important}

/* Explicit special cases with specificity greater than historical styles */
html.md-dark body .app-page .account-card :is(h1,h2,h3,strong,.kicker){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-page .account-card :is(p,span,small,.muted){color:#DCC9C2!important;-webkit-text-fill-color:#DCC9C2!important}
html.md-dark body .app-page .account-card .account-measures :is(h2,p,strong){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .gallery-head :is(h2,p,.muted){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .looks-empty-state :is(h3,strong,p){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-panel-main .field label,
html.md-dark body .app-panel-main .small-text.muted,
html.md-dark body .app-panel-main .studio-prompt-tip,
html.md-dark body .app-page .fit-choice-grid .fit-choice :is(strong,span){color:#DCC9C2!important;-webkit-text-fill-color:#DCC9C2!important}
html.md-dark body .app-page .fit-choice-grid .fit-choice strong{color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .mode-card :is(strong,span,small,p),
html.md-dark body .fit-choice :is(strong,span,small,p){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .price-card :is(h2,h3,.price),
html.md-dark body #oferta .price-card :is(h2,h3,.price),
html.md-dark body .currencies-page .price-card :is(h2,h3,.price),
html.md-dark body .model3d-page .model3d-cost-price,
html.md-dark body .balance strong,
html.md-dark body [data-credit-balance]{color:#FFE5DB!important;-webkit-text-fill-color:#FFE5DB!important}
html.md-dark body #oferta .price-card li,
html.md-dark body .currencies-page .price-card p,
html.md-dark body .currencies-page .currencies-how p{color:#DCC9C2!important;-webkit-text-fill-color:#DCC9C2!important}
html.md-dark body .model3d-page .model3d-mode :is(strong,small),
html.md-dark body .model3d-page .model3d-roadmap :is(h3,p,strong,small),
html.md-dark body .model3d-page .model3d-selected-text :is(h3,p),
html.md-dark body .model3d-page .model3d-next-step :is(h3,p),
html.md-dark body .model3d-page .model3d-empty :is(h3,p,strong){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Cartões de etapas, ajustes e seleção seguem modelo aprovado (8ª imagem). */
html.md-dark body .how-step,
html.md-dark body .app-page .mode-card,
html.md-dark body .app-page .fit-choice,
html.md-dark body .app-page .fit-choice-grid .fit-choice,
html.md-dark body .model3d-page .model3d-mode,
html.md-dark body .app-page .check{
 background:#302529!important;border:1px solid #6C515A!important;
}
html.md-dark body .app-page :is(.mode-card.selected,.fit-choice.selected),
html.md-dark body .app-page .fit-choice-grid .fit-choice.selected,
html.md-dark body .model3d-page .model3d-mode.selected,
html.md-dark body .model3d-page .model3d-look.selected {
 background:#4A313A!important;border:2px solid #D05F7D!important;
}
html.md-dark body .how-step :is(h3,p,small),
html.md-dark body .app-page .mode-card :is(strong,p,span,small),
html.md-dark body .app-page .fit-choice :is(strong,p,span,small){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .how-step>p{color:#DDC7BE!important;-webkit-text-fill-color:#DDC7BE!important}
html.md-dark body .how-n,.md-dark .number {background:#F3DFD9!important;color:#892A40!important;-webkit-text-fill-color:#892A40!important}
html.md-dark body .prompt-explain{background:#3F3035!important}
html.md-dark body .prompt-explain :is(p,span,small){color:#F1DED7!important;-webkit-text-fill-color:#F1DED7!important}
html.md-dark body .prompt-explain .starbig{color:#FFC4D0!important;-webkit-text-fill-color:#FFC4D0!important}

/* Upload preserva card levemente claro, mas com todos os textos escuros. */
html.md-dark body .app-page .photo-field,
html.md-dark body .app-page .board-preview-holder,
html.md-dark body .model3d-save-form .model3d-photo-upload,
html.md-dark body .model3d-page .model3d-photo-upload,
html.md-dark body .app-page .wardrobe-builder .wardrobe-slot .photo-field{
 background:#EFE2DA!important;border:1.5px dashed #B98C90!important;color:#3B2927!important;
}
html.md-dark body .app-page .photo-field :is(strong,small,span,label,p,.photo-label),
html.md-dark body .app-page .board-preview-holder :is(span,strong,p,small),
html.md-dark body .model3d-page .model3d-photo-upload :is(strong,small,span,p){
 color:#3B2927!important;-webkit-text-fill-color:#3B2927!important;
}

/* Seletores, textareas e foco */
html.md-dark body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select,.input),
html.md-dark body .perfume-main .perfume-form-panel :is(input,textarea,select),
html.md-dark body .wardrobe-builder .wardrobe-group select,
html.md-dark body .perfume-main .perfume-recommendation .input {
 background:#392B30!important;border:1px solid #795960!important;color:#F8EFEA!important;
 -webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body :is(input,textarea)::placeholder{color:#D6BBB5!important;-webkit-text-fill-color:#D6BBB5!important;opacity:1!important}
html.md-dark body select option{background:#392B30!important;color:#F8EFEA!important}
html.md-dark body :is(input,textarea,select,.btn,a):focus-visible{outline:3px solid #E79AAD!important;outline-offset:3px!important}

/* Avisos dourados/cremes: contraste escuro coerente e sem títulos brancos */
html.md-dark body :is(.alert-pastel-yellow,.warn,.warning,.kirvano-email-note,
 .model3d-warning,.model3d-feature-lock){
 background:#EFD98E!important;border:1px solid #C3A85A!important;color:#4B351B!important;
}
html.md-dark body :is(.alert-pastel-yellow,.warn,.warning,.kirvano-email-note,
 .model3d-warning,.model3d-feature-lock) :is(h2,h3,strong,p,span,small,label,div,li){
 color:#4B351B!important;-webkit-text-fill-color:#4B351B!important;
}
html.md-dark body .kirvano-note-icon{background:#DEB53D!important;color:#463317!important;-webkit-text-fill-color:#463317!important}
html.md-dark body .model3d-page :is(.model3d-note,.model3d-disclaimer,.model3d-description){color:#DCC9C2!important}

/* Mini fit, sugestões e resultados escuros com fonte clara. */
html.md-dark body .app-page :is(.fit-mini-panel,.fit-mini-panel .panel,.fit-mini-panel .fit-choice,
 .size-choice,.size-recommendation,.fit-status,.fit-result,.fit-recommendation){
 background:#302529!important;border-color:#76555E!important;color:#F8EFEA!important;
}
html.md-dark body .app-page :is(.fit-mini-panel,.size-choice,.size-recommendation,.fit-status,.fit-result,.fit-recommendation)
 :is(h2,h3,strong,p,span,small,label){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Tags de estilo, moeda e badges */
html.md-dark body :is(.badge,.status,.premium-mini-badge,.model3d-count,.model3d-step-no,
 .model3d-stage-number,.chip,.ribbon){
 background:#51343D!important;border-color:#8B6872!important;
 color:#FFE8E5!important;-webkit-text-fill-color:#FFE8E5!important;
}
html.md-dark body #oferta .price-card .ribbon,
html.md-dark body .currencies-page .price-card .ribbon{background:#51343D!important;border-color:#8B6872!important;color:#FFE8E5!important;-webkit-text-fill-color:#FFE8E5!important}
html.md-dark body .balance-pill,html.md-dark body .currency-pill{background:#392B30!important;color:#F8EFEA!important;border-color:#73545D!important}
html.md-dark body .balance-pill :is(span,strong,small),html.md-dark body .currency-pill :is(span,strong,small){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Botões: nunca texto branco sobre bege ou vinho escuro sobre vinho. */
html.md-dark body :is(.btn-lime,.btn-dark,.premium-package,.perfume-cta),
html.md-dark body .app-page .account-card .btn.btn-dark,
html.md-dark body .model3d-page .btn-lime,
html.md-dark body .app-panel-main .btn.btn-lime,
html.md-dark body .app-page .premium-rail .premium-package {
 background:#C21840!important;border-color:#C21840!important;color:#FFFFFF!important;
 -webkit-text-fill-color:#FFFFFF!important;
}
html.md-dark body :is(.btn-outline,.package-btn:not(.premium-package)),
html.md-dark body .app-page .account-card .btn.btn-outline,
html.md-dark body .app-page .account-card .account-measures .btn.btn-dark {
 background:#3D2D32!important;border-color:#8E6872!important;color:#F8EFEA!important;
 -webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body :is(.btn:disabled,.btn[disabled],.package-btn:disabled){opacity:.6!important}

/* Contraste das páginas de perfumes, sem reintroduzir o verde. */
html.md-dark body .perfume-main :is(.perfume-winner,.perfume-recommendation,.premium-perfume-card,
 .perfume-list-item,.perfume-context-note,.perfume-score,.perfume-occasion),
html.md-dark body .perfume-page .perfume-header-stat {background:#392C31!important;border:1px solid #76565D!important;color:#F8EFEA!important}
html.md-dark body .perfume-main :is(.perfume-winner,.perfume-recommendation,.premium-perfume-card,
 .perfume-list-item,.perfume-context-note,.perfume-score,.perfume-occasion)
 :is(h1,h2,h3,p,span,strong,small,label){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .perfume-main .perfume-occasion:has(input:checked){background:#4C343D!important;border-color:#D67591!important}

/* Pequeno refino no modo claro: títulos e descrições precisam ser escuros em superfícies claras. */
html:not(.md-dark) body .modynoa-editorial-hero .editorial-hero-copy h1 {color:#2B211D!important;-webkit-text-fill-color:#2B211D!important}
html:not(.md-dark) body :is(.how-step,.mode-card,.fit-choice,.price-card,.currencies-how,.looks-empty-state)
 :is(h2,h3,strong){color:#2B211D!important;-webkit-text-fill-color:#2B211D!important}
html:not(.md-dark) body :is(.how-step,.mode-card,.fit-choice,.price-card,.currencies-how,.looks-empty-state)
 :is(p,small,span,li){color:#65534C!important;-webkit-text-fill-color:#65534C!important}

@media(max-width:900px){
 html.md-dark body .modynoa-editorial-hero .editorial-hero-copy h1{font-size:clamp(2.7rem,8vw,4.8rem)!important}
}

/* Ajustes verificados por renderização — especificidade dos temas legados. */
html.md-dark body #oferta .price-grid.triple .price-card,
html.md-dark body .currencies-page .modynoa-price-grid .price-card,
html.md-dark body .currencies-page .price-grid .price-card {
 background:#302529!important;border-color:#70515C!important;color:#F8EFEA!important;
}
html.md-dark body #oferta .price-grid.triple .price-card :is(h2,h3,.price,p,li,strong,span),
html.md-dark body .currencies-page .modynoa-price-grid .price-card :is(h2,h3,.price,p,li,strong,span) {
 color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body #oferta .price-grid.triple .price-card .price,
html.md-dark body .currencies-page .modynoa-price-grid .price-card .price {
 color:#FFE3DB!important;-webkit-text-fill-color:#FFE3DB!important;
}
html.md-dark body #oferta .price-grid.triple .price-card.featured,
html.md-dark body .currencies-page .modynoa-price-grid .price-card.featured{border:2px solid #DD6D8C!important}
html.md-dark body #oferta .price-grid.triple .price-card .ribbon,
html.md-dark body .currencies-page .modynoa-price-grid .price-card .ribbon{background:#51343D!important;border-color:#8D6570!important;color:#FFEFE8!important;-webkit-text-fill-color:#FFEFE8!important}
html.md-dark body #como .how-steps .how-step :is(h3,p,small){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body #como .how-steps .how-step>p{color:#DECCC5!important;-webkit-text-fill-color:#DECCC5!important}
html.md-dark body #como .how-steps .how-step .prompt-explain{
 background:#EBD8D1!important;border:1px solid #BC9293!important;
}
html.md-dark body #como .how-steps .how-step .prompt-explain :is(strong,p,span,small){color:#4F3039!important;-webkit-text-fill-color:#4F3039!important}
html.md-dark body #como .how-steps .how-step .prompt-explain .starbig{color:#991B3B!important;-webkit-text-fill-color:#991B3B!important}
html.md-dark body #como .how-duo :is(small,span){color:#513C37!important;-webkit-text-fill-color:#513C37!important}

/* Moedas: remover combinação branco no branco. */
html.md-dark body .modynoa-balance-pills>span,
html.md-dark body .currencies-page .modynoa-balance-pills>span,
html.md-dark body .model3d-page .modynoa-balance-pills>span,
html.md-dark body .app-page .modynoa-balance-pills>span {
 background:#3A2B30!important;border-color:#795963!important;color:#F8EFEA!important;
 -webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .modynoa-balance-pills>span :is(strong,small){color:#FFE7DC!important;-webkit-text-fill-color:#FFE7DC!important}

/* Notificações amarelas dentro de painéis claros/escuros. */
html.md-dark body #oferta .offer-head-layout .kirvano-email-note,
html.md-dark body .premium-rail .kirvano-email-note,
html.md-dark body .app-page .kirvano-email-note,
html.md-dark body .currencies-page .kirvano-email-note,
html.md-dark body .model3d-page .kirvano-email-note,
html.md-dark body .app-page .account-card .kirvano-email-note,
html.md-dark body .studio-photo-guide .studio-warning,
html.md-dark body .model3d-page .alert-pastel-yellow {
 background:#F0DB96!important;border:1px solid #CBAE5C!important;color:#45341E!important;
}
html.md-dark body #oferta .offer-head-layout .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .premium-rail .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .app-page .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .currencies-page .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .model3d-page .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .app-page .account-card .kirvano-email-note :is(strong,span,p,small),
html.md-dark body .studio-photo-guide .studio-warning :is(strong,span,p,small),
html.md-dark body .model3d-page .alert-pastel-yellow :is(strong,span,p,small){
 color:#45341E!important;-webkit-text-fill-color:#45341E!important;
}
html.md-dark body .studio-photo-guide .studio-warning .studio-warning-icon{color:#34240E!important;-webkit-text-fill-color:#34240E!important}

/* Ações — o seletor da página de créditos era mais específico e deixava botão rosa. */
html.md-dark body .currencies-page .btn:not(.btn-outline):not(.btn-dark),
html.md-dark body .currencies-page .price-card .btn.btn-lime,
html.md-dark body #oferta .price-card .btn.btn-lime,
html.md-dark body .app-page .premium-rail .premium-package,
html.md-dark body .perfume-main .perfume-form-actions .btn.btn-lime{
 background:#B50E35!important;border-color:#B50E35!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;
}
html.md-dark body .app-page .btn.btn-outline,
html.md-dark body .app-page .premium-rail .btn.btn-outline,
html.md-dark body .app-page .model3d-look-teaser .btn.btn-dark{
 background:#4A343B!important;border-color:#8B6870!important;color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .app-page .btn.btn-outline :is(span,strong){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Mensagens auxiliares, formulário, saldo. */
html.md-dark body .app-panel-main .studio-prompt-tip,
html.md-dark body .app-page .app-panel-main .studio-prompt-tip{
 color:#473631!important;-webkit-text-fill-color:#473631!important;
}
html.md-dark body .app-page .app-panel-main .studio-copy-button{
 background:#F0D9D4!important;color:#78213B!important;-webkit-text-fill-color:#78213B!important;border-color:#CD989C!important;
}
html.md-dark body .app-page .app-panel-main .studio-copy-button :is(span,strong){color:#78213B!important;-webkit-text-fill-color:#78213B!important}
html.md-dark body .app-page .app-panel-main .studio-prompt-box{background:#F3E7DF!important;border-color:#C8A8A0!important;color:#49362F!important}
html.md-dark body .app-page .app-panel-main .studio-prompt-box :is(pre,strong,small,span,.studio-prompt-heading){color:#49362F!important;-webkit-text-fill-color:#49362F!important}
html.md-dark body .app-page .photo-field :is(.photo-label,strong,span,small),
html.md-dark body .app-page .board-preview-holder :is(.muted,strong,span,small){color:#49362F!important;-webkit-text-fill-color:#49362F!important}
html.md-dark body .app-page .premium-rail .credit-showcase :is(strong,p,small,span){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-page .login-email-detail,
html.md-dark body .app-page .premium-rail .login-email-detail{
 background:#48363B!important;border-color:#80616C!important;color:#F8EFEA!important;
}
html.md-dark body .app-page .login-email-detail :is(strong,p,span,small),
html.md-dark body .app-page .premium-rail .login-email-detail :is(strong,p,span,small){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Fit: upload e guia não devem trazer azul brilhante nem texto apagado. */
html.md-dark body .fit-import-grid .chart-photo-upload{
 background:#EEDFD6!important;border:1px dashed #B48F8C!important;color:#483731!important;
}
html.md-dark body .fit-import-grid .chart-photo-upload :is(span,label,small,strong){color:#483731!important;-webkit-text-fill-color:#483731!important}
html.md-dark body .fit-panel .fit-style-guidance,
html.md-dark body .fit-panel .fit-style-guidance :is(p,strong,small){
 background:#443238!important;border-color:#82616C!important;color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .fit-panel .fit-style-guidance :is(p,small){color:#E6CFCA!important;-webkit-text-fill-color:#E6CFCA!important}
html.md-dark body .fit-panel .fit-brief :is(strong,p,small,span){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}

/* Modelo 3D: dados salvos, status e mensagens legíveis. */
html.md-dark body .model3d-page :is(.model3d-saved-empty,.model3d-projects-empty,.model3d-saved-list,.model3d-saved-item,.model3d-selected-empty,.model3d-projects){background:#302529!important;color:#F8EFEA!important;border-color:#755661!important}
html.md-dark body .model3d-page :is(.model3d-saved-empty,.model3d-projects-empty,.model3d-saved-list,.model3d-saved-item,.model3d-selected-empty,.model3d-projects) :is(strong,p,small,span,h2,h3){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .model3d-page .model3d-fineprint,
html.md-dark body .model3d-page .model3d-privacy{color:#DFCCC5!important;-webkit-text-fill-color:#DFCCC5!important}

/* Página de login, quando o botão Google aparece claro. */
html.md-dark body .btn-google.btn-google-primary{background:#F8EFEA!important;color:#3D2930!important;border-color:#DAC6BE!important;-webkit-text-fill-color:#3D2930!important}
html.md-dark body .btn-google.btn-google-primary :is(strong,span){color:#3D2930!important;-webkit-text-fill-color:#3D2930!important}
html.md-dark body .app-page p.warn{background:#F0DB96!important;color:#45341E!important;-webkit-text-fill-color:#45341E!important;border-color:#CBAE5C!important}

/* Contraste nos inputs em TODOS os temas; o navegador não deve desbotar selects. */
html.md-dark body :is(input,textarea,select)[disabled]{opacity:.65!important}

/* Últimos pontos de contraste encontrados na inspeção visual. */
html.md-dark body #como .how-steps .how-step .how-duo small{
 color:#45332E!important;-webkit-text-fill-color:#45332E!important;
}
html.md-dark body .app-page .model3d-dev-state{
 background:#4B333A!important;border-color:#86636C!important;color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .app-page .model3d-total{
 background:#F0D893!important;border-color:#C6AA5C!important;color:#42301D!important;-webkit-text-fill-color:#42301D!important;
}
html.md-dark body .app-page .model3d-total :is(strong,span){color:#42301D!important;-webkit-text-fill-color:#42301D!important}
html.md-dark body .app-page .model3d-privacy{
 background:#302529!important;border:1px solid #70545D!important;color:#E6D1CB!important;
}
html.md-dark body .app-page .model3d-privacy :is(strong,span){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-page .model3d-roadmap>div>span,
html.md-dark body .app-page .model3d-roadmap>div .model3d-step-no{
 background:#593740!important;border-color:#946874!important;color:#FFE8E3!important;-webkit-text-fill-color:#FFE8E3!important;
}
html.md-dark body .app-page .model3d-usage-guide summary,
html.md-dark body .app-page .model3d-usage-guide summary::marker{
 color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .app-page .model3d-usage-guide p{color:#DCC9C2!important;-webkit-text-fill-color:#DCC9C2!important}
html.md-dark body .app-page .model3d-action-locked button:disabled,
html.md-dark body .app-page .model3d-action-locked .btn:disabled{background:#56323B!important;border-color:#80505F!important;color:#EED8DE!important;-webkit-text-fill-color:#EED8DE!important;opacity:.78!important}
html.md-dark body .fit-panel .fit-style-guidance{background:#413137!important;border-color:#82616C!important;color:#F8EFEA!important}
html.md-dark body .fit-panel .fit-style-guidance :is(p,strong,small){background:transparent!important;color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .fit-panel .fit-style-guidance small{color:#DFC7C1!important;-webkit-text-fill-color:#DFC7C1!important}
html.md-dark body .fit-import-grid :is(.fit-card,.fit-import-card) :is(strong,p,small){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-page .photo-field :is(strong,.photo-label,span){color:#45342F!important;-webkit-text-fill-color:#45342F!important}
html.md-dark body .app-page .board-preview-holder :is(strong,.muted,span){color:#45342F!important;-webkit-text-fill-color:#45342F!important}
html.md-dark body .app-page .model3d-token-offer strong{color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
html.md-dark body .app-page .model3d-total strong{color:#42301D!important;-webkit-text-fill-color:#42301D!important}
/* Legibilidade do aviso genérico no login. */
html.md-dark body .app-page :is(.warn,.warning):not(.kirvano-email-note){color:#45341E!important;-webkit-text-fill-color:#45341E!important}

/* Upload do provador: uniformizar com cartões escuros e ícones legíveis. */
html.md-dark body .app-page .app-panel-main .photo-field,
html.md-dark body .app-page .app-panel-main .board-preview-holder,
html.md-dark body .app-page .wardrobe-builder .wardrobe-slot .photo-field {
 background:#423238!important;border:1.5px dashed #92717A!important;
 color:#F8EFEA!important;
}
html.md-dark body .app-page .app-panel-main .photo-field :is(strong,span,small,label,.photo-label),
html.md-dark body .app-page .app-panel-main .board-preview-holder :is(strong,span,small,label,.muted),
html.md-dark body .app-page .wardrobe-builder .wardrobe-slot .photo-field :is(strong,span,small,label,.photo-label) {
 color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important;
}
html.md-dark body .fit-panel details :is(strong,span,small,p){color:#F8EFEA!important;-webkit-text-fill-color:#F8EFEA!important}
