/* V6: overrides only header geometry; never changes actions or sensors. */
/* Entrega - two logos are contained by the existing combined image */
body.public-delivery .publicHeader.header{min-height:clamp(135px,12vw,195px)!important;padding:12px clamp(10px,1.7vw,25px) 30px!important;overflow:visible!important}
body.public-delivery .publicHeader .brand{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(8px,1.8vw,22px)!important;width:100%!important;align-items:center!important;min-width:0!important}
body.public-delivery .publicHeader .brandIcon.publicLogo{width:100%!important;height:clamp(116px,11.5vw,172px)!important;min-width:0!important;max-width:100%!important;max-height:none!important;display:flex!important;align-items:center!important;overflow:hidden!important;box-shadow:none!important;border:0!important;background:transparent!important}
body.public-delivery .publicHeader .brandIcon.publicLogo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important}
body.public-delivery .publicHeader .publicBrandText{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
body.public-delivery .publicHeader .publicBrandText :is(h1,.sub,.cond){max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
/* Retirada - use actual existing .publicHeader, .brand, .publicLogo when present. */
body:not(.public-delivery) .publicHeader.header{min-height:clamp(140px,11vw,192px)!important;padding:12px clamp(10px,1.7vw,25px)!important;box-sizing:border-box!important}
body:not(.public-delivery) .publicHeader .brand{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(8px,1.5vw,20px)!important;align-items:center!important;min-width:0!important;width:100%!important}
body:not(.public-delivery) .publicHeader .brandIcon.publicLogo{width:100%!important;height:clamp(112px,11vw,165px)!important;min-width:0!important;max-height:none!important;display:flex!important;align-items:center!important;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important}
body:not(.public-delivery) .publicHeader .brandIcon.publicLogo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important}
body:not(.public-delivery) .publicHeader .publicBrandText{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
body:not(.public-delivery) .publicHeader .publicBrandText :is(h1,.sub,.cond){white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}
/* Admin antigo: enlarged logos in the top header without moving menu geometry */
body .admin-header :is(.brands,.brand){min-width:0!important;max-width:100%!important}
body .admin-header img{object-fit:contain!important;max-height:clamp(92px,10vw,145px)!important;width:auto!important;max-width:min(48%,340px)!important}
body .admin-header :is(h1,h2,p){min-width:0!important;overflow-wrap:anywhere!important}
/* The Neon Signature V2 theme: scoped to expressly selected theme classes/attributes, no forced theme change. */
body:is([data-theme="neon-signature-v2"],[data-ib-theme="neon-signature-v2"],.theme-neon-signature-v2),html[data-theme="neon-signature-v2"] body{--accent:#28f2df;--text:#edfeff;--surface:#071923;--surface2:#10313a;--border:#146879;color:#edfeff;background:radial-gradient(ellipse at 70% -10%,#124653,transparent 55%),#030b10!important;color-scheme:dark}
body:is([data-theme="neon-signature-v2"],[data-ib-theme="neon-signature-v2"],.theme-neon-signature-v2) :is(.card,.panel,.dashCard,.admin-header){background:linear-gradient(145deg,#102934,#07141f)!important;border-color:#176b7a!important;box-shadow:inset 0 1px #64ffec30,0 10px 28px #0007!important}
@media(max-width:650px){body.public-delivery .publicHeader.header{min-height:100px!important;padding:8px 8px 27px!important}body.public-delivery .publicHeader .brandIcon.publicLogo{height:clamp(76px,20vw,110px)!important}body:not(.public-delivery) .publicHeader.header{min-height:105px!important;padding:8px!important}body:not(.public-delivery) .publicHeader .brandIcon.publicLogo{height:clamp(76px,20vw,110px)!important}body .admin-header img{max-height:92px!important}}
@media(max-width:365px){body.public-delivery .publicHeader .brandIcon.publicLogo,body:not(.public-delivery) .publicHeader .brandIcon.publicLogo{height:74px!important}}
