/* Shared screen backdrop. Artwork and print styles keep their original backgrounds. */
@media screen {
 html body.ofx-fundo-padrao:not(.ofx-dashboard){background-color:#eaf2fa!important;isolation:isolate;min-height:100vh}
 html body.ofx-fundo-padrao:not(.ofx-dashboard)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-color:#eaf2fa;background-image:linear-gradient(rgba(247,250,253,.68),rgba(247,250,253,.68)),url('/static/img/mercado-fachada-preview-20261006.webp')!important;background-size:cover!important;background-position:center 32%!important;background-repeat:no-repeat!important}
 html body.ofx-fundo-padrao:not(.ofx-dashboard)>main,
 html body.ofx-fundo-padrao:not(.ofx-dashboard)>.container,
 html body.ofx-fundo-padrao:not(.ofx-dashboard)>.main,
 html body.ofx-fundo-padrao:not(.ofx-dashboard)>.conteudo,
 html body.ofx-fundo-padrao:not(.ofx-dashboard) .main>.content{background:transparent!important}
 /* Keep form surfaces readable; do not alter buttons, inputs, previews or modal overlays. */
 html body.ofx-fundo-padrao.ofx-fundo-login:not(.ofx-dashboard)>main{background:rgba(255,255,255,.20)!important;box-shadow:0 12px 40px #082b501c;border:1px solid #d1dfe9}
 html body.ofx-fundo-padrao .qr-card{background:rgba(255,255,255,.20)}
 html body.ofx-fundo-padrao.ofx-home-copy .ofx-hero{background:linear-gradient(100deg,rgba(6,43,78,.9),rgba(6,43,78,.76))!important}
 html body.ofx-fundo-padrao.ofx-home-copy :is(.ofx-section,.ofx-barcode){background:transparent!important}
 @media(max-width:780px){
  html body.ofx-fundo-padrao:not(.ofx-dashboard)::before{background-image:linear-gradient(rgba(247,250,253,.64),rgba(247,250,253,.64)),url('/static/img/mercado-fachada-preview-20261006.webp')!important;background-size:100% 100%,100% auto!important;background-position:center,center 82px!important}
 }
}

@media screen {
 html body.ofx-fundo-padrao [data-ofx-surface="light"]{background:rgba(255,255,255,.18)!important;box-shadow:0 3px 16px #082b5010!important}
 html body.ofx-fundo-padrao.ofx-fundo-login:not(.ofx-dashboard)>main{background:rgba(255,255,255,.20)!important}
 html body.ofx-fundo-padrao [data-ofx-surface="light"] :is(h1,h2,h3,label){text-shadow:0 1px 2px #ffffffd9}
}

@media screen{html body.ofx-fundo-padrao.ofx-home-copy .ofx-hero .ofx-visual :is(.ofx-visual-title,.ofx-flow,p){color:#fff!important;font-weight:800;text-shadow:0 1px 3px #062b50!important}}

/* Full storefront on app opening; blurred photo fills unused aspect-ratio space. */
@media screen {
 html body.ofx-fundo-padrao.ofx-home-copy .ofx-hero-grid{grid-template-columns:1fr!important}
 html body.ofx-fundo-padrao.ofx-home-copy .ofx-hero-grid>div{max-width:760px}
}

@media screen and (min-width:1000px){
 html body.ofx-fundo-padrao [data-ofx-readable]{color:#081521!important;font-size:var(--ofx-readable-size)!important;font-weight:650!important;line-height:1.55!important;opacity:1!important;text-shadow:0 1px 2px #ffffffdb!important}
 html body.ofx-fundo-padrao [data-ofx-readable="heading"]{font-weight:850!important;line-height:1.25!important;text-wrap:balance}
 html body.ofx-fundo-padrao.ofx-home-copy .ofx-hero p{font-size:20px!important;line-height:1.65!important;font-weight:650;color:#fff!important;text-shadow:0 1px 3px #052b50}
 html body.ofx-fundo-padrao :is(input,select,textarea){font-size:17px}
}

@media screen and (max-width:999px){
 html body.ofx-fundo-padrao [data-ofx-readable]{color:#081521!important;font-weight:700!important;opacity:1!important;text-shadow:0 1px 2px #ffffffeb!important}
 html body.ofx-fundo-padrao [data-ofx-readable="heading"]{font-weight:850!important}
}
/* Blend the full storefront into the surrounding photo without letterbox edges. */
@media screen {
}
@media screen and (max-width:780px){
}

@media screen{html body.ofx-fundo-padrao #ofx-abertura{background:#07345f!important}html body.ofx-fundo-padrao #ofx-abertura::before,html body.ofx-fundo-padrao #ofx-abertura::after{content:none!important;display:none!important}}
