/* InteliBox UX compacto v2: respeita o tema atual */
html{overflow-x:hidden}body{overflow-x:hidden}
.publicHeader,.ib-resident-header{position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:clamp(5px,1vw,12px)!important;padding:clamp(9px,1.2vw,17px)!important;padding-bottom:clamp(24px,2.8vw,34px)!important;min-height:0!important}
.publicHeader .brand,.ib-resident-header .brand{min-width:0!important;flex:1 1 auto!important;margin:0!important;gap:8px!important;display:flex!important;align-items:center!important}
.publicHeader .brandIcon,.ib-resident-header .brandIcon{width:clamp(44px,9vw,80px)!important;height:auto!important;max-height:60px!important;margin:0!important}
.publicHeader .brandIcon img,.ib-resident-header .brandIcon img{width:100%!important;max-height:60px!important;object-fit:contain!important}
.publicHeader .publicBrandText,.ib-resident-header .publicBrandText{min-width:0!important}
.publicHeader h1,.ib-resident-header h1{font-size:clamp(14px,2vw,25px)!important;line-height:1.1!important;margin:0!important;overflow-wrap:anywhere}
.publicHeader .sub,.publicHeader .cond,.ib-resident-header .sub,.ib-resident-header .cond{font-size:clamp(9px,1.1vw,12px)!important;line-height:1.22!important;margin:2px 0 0!important}
.publicHeader>.ib-capacidade,.ib-resident-header>.ib-capacidade{position:absolute!important;left:clamp(9px,1.2vw,17px)!important;right:clamp(9px,1.2vw,17px)!important;bottom:7px!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;flex:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;display:block!important;transform:none!important}
.publicHeader .ib-capacidade__titulo,.ib-resident-header .ib-capacidade__titulo{display:none!important}
.publicHeader .ib-capacidade__trilho,.ib-resident-header .ib-capacidade__trilho{height:7px!important;min-height:7px!important;overflow:visible!important;border-radius:999px!important;background:rgba(135,153,166,.35)!important;border:0!important}
.publicHeader .ib-capacidade__preenchimento,.ib-resident-header .ib-capacidade__preenchimento{height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#21b76f 0%,#b9de36 50%,#f4b43b 74%,#e85f39 90%,#d6344b 100%)!important;background-size:100% 100%!important}
.publicHeader .ib-capacidade__valor,.ib-resident-header .ib-capacidade__valor{position:absolute!important;top:-11px!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;padding:2px 8px!important;border-radius:100px!important;background:#142e37!important;color:#fff!important;text-shadow:none!important;font-size:10px!important;font-weight:800!important;line-height:13px!important;min-width:36px!important;white-space:nowrap!important;box-shadow:0 0 0 2px rgba(16,38,45,.9)!important}
.publicHeader .connection{flex:0 0 auto!important;margin:0!important}
/* Conteudo principal adaptavel a telefones, tablets e desktops */
.public-withdrawal .app,.public-delivery .app{width:min(100%,980px)!important;max-width:980px!important;margin:0 auto!important;padding:clamp(8px,1.3vw,16px)!important;box-sizing:border-box!important}
.public-withdrawal .header,.public-delivery .header{margin-bottom:clamp(8px,1vw,14px)!important}
.public-withdrawal .withdrawalPanel{padding:clamp(12px,2vw,24px)!important}
.public-withdrawal .retStatusCard{padding:clamp(12px,1.6vw,20px)!important;margin-bottom:clamp(8px,1.2vw,16px)!important}
.public-withdrawal .retStatusCard h2{font-size:clamp(18px,2.4vw,28px)!important;line-height:1.17!important}
.public-withdrawal .retResidentInfo{padding:clamp(10px,1.5vw,18px)!important;margin:clamp(7px,1vw,12px) 0!important}
.public-withdrawal .retActions{gap:8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.public-withdrawal .retActions .btn{min-width:0!important;width:100%!important;min-height:48px!important;white-space:normal!important}
@media(max-width:600px){.publicHeader,.ib-resident-header{padding:8px 10px 23px!important;gap:6px!important}.publicHeader>.ib-capacidade,.ib-resident-header>.ib-capacidade{left:9px!important;right:9px!important;bottom:6px!important}.publicHeader .brandIcon{width:44px!important}.publicHeader h1{font-size:clamp(12px,4vw,18px)!important}.publicHeader .sub,.publicHeader .cond{font-size:10px!important}.public-withdrawal .retStatusCard{display:flex!important;gap:9px!important}.public-withdrawal .retStatusCard h2{font-size:clamp(17px,5vw,22px)!important}.public-withdrawal .withdrawalPanel{padding:11px!important}.public-withdrawal .retSafety{padding:9px!important;font-size:12px!important}}
@media(max-width:355px){.public-withdrawal .retActions{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.ib-door-alert{animation:none!important}}
.ib-door-alert{position:fixed;inset:auto 10px max(14px,env(safe-area-inset-bottom)) 10px;z-index:9990;padding:17px 14px;border-radius:18px;text-align:center;max-width:700px;margin:auto;background:#a91e26;color:#fff;border:3px solid #ffd55e;box-shadow:0 5px 35px #0009;font-weight:900;font-size:clamp(20px,5vw,32px);line-height:1.2;animation:ib-door-pulse 1.3s ease-in-out infinite}
.ib-door-alert small{display:block;font-size:clamp(13px,3.2vw,17px);font-weight:600;margin-top:5px}
@keyframes ib-door-pulse{0%,100%{box-shadow:0 3px 25px #0007;border-color:#ffd55e}50%{box-shadow:0 3px 37px #f93857;border-color:#fff}}
