/* Box Boy PWA - V5.7.64 • UI compacta, foco em iPhone e no gesto seguro */
:root{color-scheme:dark;--bg:#07131e;--bg2:#0a1c2a;--surface:#0e2637;--surface2:#102c40;--line:#294253;--text:#f5f7f9;--sub:#afbecc;--muted:#869cae;--orange:#ff963c;--orange2:#ffb05f;--green:#36d88c;--red:#f66f79;--dark:#151a22}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -10%,rgba(255,143,48,.1),transparent 35%),var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}input,select,textarea{color:var(--text);background:#081824;border:1px solid #365162;border-radius:8px;min-height:43px;padding:10px 12px;width:100%;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--orange);outline:2px solid #ff963c40}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--orange)}input[type=file]{min-height:0;padding:9px 6px;font-size:12px}a{color:#ffc28b;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{line-height:1.13}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}button:focus-visible,a:focus-visible{outline:2px solid #ffbb72;outline-offset:2px}[hidden]{display:none!important}.muted{color:var(--muted);line-height:1.5}.eyebrow,.overline{font-size:10px;letter-spacing:1.2px;font-weight:900;color:var(--orange2)}.gate{min-height:100dvh;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:18px max(14px,env(safe-area-inset-right)) 30px}.gate-android-login{padding:0;position:relative;background:radial-gradient(circle at 50% 0,rgba(255,143,48,.08),transparent 26%),linear-gradient(180deg,rgba(2,14,25,.96) 0%,rgba(4,20,34,.98) 100%)}.android-login-shell{width:100%;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px 38px;background:linear-gradient(180deg,rgba(3,15,27,.5),rgba(3,15,27,.84)),url('/assets/courier-web-hero.webp') center top/cover no-repeat}.android-login-stage{width:min(100%,420px)}.android-login-hero{text-align:center;padding:28px 10px 20px}.android-login-logo{width:min(300px,72vw);height:auto;filter:drop-shadow(0 12px 28px rgba(0,0,0,.42))}.android-login-title{margin-top:10px;font-size:clamp(38px,10vw,52px);font-weight:900;letter-spacing:.7px;background:linear-gradient(180deg,#f8f7f5 0%,#bfc7d0 55%,#8a949d 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 2px 12px rgba(0,0,0,.35)}.android-login-subtitle{margin-top:8px;font-size:clamp(15px,3.8vw,18px);letter-spacing:4px;color:#dbe3ea}.android-login-card{background:transparent;border:0;box-shadow:none}.android-auth-form,.android-alt-card{background:rgba(3,20,39,.82);border:1px solid rgba(91,126,156,.48);border-radius:24px;padding:18px 16px 22px;backdrop-filter:blur(2px);box-shadow:0 12px 32px rgba(0,0,0,.28)}.android-alt-card{padding:22px 18px}.android-auth-form h2,.android-alt-card h2{margin:8px 0 18px}.android-alt-card label,.field-label{display:block;color:var(--sub);font-size:11px;font-weight:700;margin:13px 0 6px}.android-field{position:relative;margin-bottom:14px}.android-field input{height:72px;border-radius:17px;border:1.5px solid rgba(114,143,169,.72);background:rgba(3,26,50,.7);padding:0 18px 0 64px;color:#eef4f7;font-size:20px;letter-spacing:.2px}.android-field input::placeholder{color:rgba(232,237,242,.78)}.android-field-icon{position:absolute;left:22px;top:50%;transform:translateY(-50%);font-size:28px;line-height:1;opacity:.9}.android-field.password input{padding-right:64px}.android-field-toggle{position:absolute;right:18px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#e7edf2;font-size:26px;padding:4px 6px;line-height:1}.android-forgot-button,.android-status-link{border:0;background:transparent;color:#ffb36a;font-size:13px;padding:4px 0 10px;display:block;margin:0 auto;font-weight:500;letter-spacing:2px}.android-forgot-button{padding-top:0}.android-status-link{color:#d7dde3;padding-top:16px;letter-spacing:2.5px}.android-terms-row{display:flex;gap:14px;align-items:flex-start;color:#e7edf2;font-size:14px;line-height:1.55;margin:8px 0 18px}.android-terms-row input{width:22px;min-height:22px;margin-top:2px;accent-color:var(--orange)}.android-terms-row b{color:#ffb36a}.android-enter-button,.android-outline-button{min-height:62px;border-radius:16px;font-size:22px;font-weight:900;letter-spacing:.4px}.android-enter-button{margin-top:0;background:#fb973f;color:#0f1115;box-shadow:none}.android-outline-button{margin-top:12px;background:transparent;border-color:#f29a45;color:#f0a152}.primary,.outline,.soft,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;min-height:43px;border-radius:8px;padding:9px 14px;font-weight:800;font-size:13px}.primary{background:linear-gradient(135deg,#ff903b,#ffae58);color:#271605}.outline{background:#0b1d2b;color:#e7eef4;border-color:#3a5060}.soft{background:#16344a;color:#fff;border-color:#315067}.danger-button{background:#34212a;color:#ff98a0;border-color:#a34b5e}.wide{width:100%}.text-button{border:0;background:transparent;color:#ffb36a;font-size:12px;padding:12px;display:block;margin:auto;font-weight:700}.app-head{position:sticky;top:0;z-index:10;background:#07131efa;border-bottom:1px solid #243c4c;backdrop-filter:blur(12px);padding-top:env(safe-area-inset-top)}.head-inner{display:flex;align-items:center;gap:10px;padding:10px 16px;max-width:730px;margin:0 auto;height:68px}.brandmark{width:50px;height:47px;object-fit:contain}.head-identity{flex:1;min-width:0}.head-identity small{display:block;color:#a6b2bb;font-size:9px;font-weight:800;letter-spacing:.7px}.head-identity strong{font-size:16px;display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.head-icon{position:relative;background:#102535;border:1px solid #3b4c5b;border-radius:10px;width:42px;height:42px;font-size:25px;color:#dce5ec}.notice-dot,.tab i{position:absolute;right:6px;top:6px;width:9px;height:9px;background:var(--orange);border:2px solid var(--bg);border-radius:50%}.main-content{max-width:730px;margin:0 auto;padding:17px 14px calc(97px + env(safe-area-inset-bottom));min-height:calc(100dvh - 145px)}.tabbar{position:fixed;bottom:0;left:0;right:0;z-index:11;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;background:#081827f5;border-top:1px solid #3a5360;min-height:72px;padding:6px 6px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(10px)}.tab{position:relative;display:flex;gap:2px;flex-direction:column;align-items:center;justify-content:center;background:transparent;border:0;border-top:2px solid transparent;color:#a6b9c9;font-size:10px;font-weight:700;padding:4px 2px}.tab.active{color:var(--orange);border-color:var(--orange)}.tab .tab-ico{font-size:25px;line-height:29px;font-weight:500}.tab i{right:calc(50% - 17px);top:2px}.toast{position:fixed;top:calc(80px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:40;max-width:min(95vw,560px);width:max-content;padding:12px 16px;border:1px solid #5e6f7b;border-radius:9px;background:#233c4d;color:white;box-shadow:0 12px 30px #0009;font-size:12px}.toast.error{background:#462735;border-color:#db6a79}.connection,.background-warning{padding:10px 15px;background:#512c1f;color:#ffdcbd;font-size:12px;text-align:center;line-height:1.45}.background-warning{background:#3a2c1d}.page-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:15px}.page-top h1{font-size:23px;letter-spacing:-.5px;margin:3px 0}.page-top .muted{font-size:11px;margin:5px 0 0}.small-button{border:1px solid #3b5466;border-radius:8px;color:#fff;background:#122f43;padding:9px 11px;font-size:11px;font-weight:800;min-height:35px}.status-toggle{min-width:101px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:9px;gap:7px;border:1px solid #885d34;color:#ffbd74;background:#2b261f;font-size:12px;font-weight:900}.status-toggle.online{background:#14382f;border-color:#347e57;color:#70eda9}.status-dot{display:inline-block;width:8px;height:8px;border-radius:99px;background:#ca9a64}.online .status-dot{background:var(--green)}.card{background:linear-gradient(150deg,#10293b,#0c2232);border:1px solid #2e4557;border-radius:11px;padding:14px;min-width:0}.card.orange{border-color:#ffac5d;background:linear-gradient(125deg,#3d2c20,#1a2730)}.card:not(:last-child){margin-bottom:10px}.card h3{margin:0 0 10px}.hero-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 14px}.metric{border:1px solid #365064;background:linear-gradient(140deg,#143348,#0b2231);padding:14px 12px;border-radius:10px;min-width:0}.metric.feature{background:linear-gradient(120deg,#ff933e,#ffc16d);color:#261705;border-color:#ffc274}.metric label,.metric .metric-label{display:block;color:#a9bccb;font-size:10px;font-weight:700;line-height:1.35}.metric.feature label{color:#6e4525}.metric .value{font-size:23px;line-height:1.22;font-weight:900;margin:9px 0 5px;overflow-wrap:anywhere}.metric.feature .value{font-size:26px}.metric .hint{font-size:10px;color:var(--muted);line-height:1.35}.metric.feature .hint{color:#7c4c24}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:21px 0 10px}.section-title h2{font-size:17px;margin:0}.section-title button{font-size:11px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quick{min-height:95px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;background:#10293b;border:1px solid #395266;color:white;border-radius:10px;font-size:12px;font-weight:800}.quick span{font-size:26px;color:var(--orange)}.notice-panel{padding:11px 13px;background:#2d261f;border:1px solid #785131;border-radius:9px;font-size:11px;color:#f1c99a;line-height:1.5;margin-bottom:13px}.notice-panel.good{background:#16332b;border-color:#365c4d;color:#92e8bb}.notice-panel.bad{background:#3a212b;border-color:#744051;color:#ffbdc2}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.row .grow{flex:1;min-width:0}.row strong{font-weight:900}.divider{border:0;border-top:1px solid #2e4654;margin:12px 0}.subtext{color:var(--sub);font-size:11px;line-height:1.48}.mono{font-variant-numeric:tabular-nums}.tag{display:inline-block;background:#253d4d;color:#bcd1de;border:1px solid #3d5b6c;border-radius:6px;font-size:10px;font-weight:800;padding:5px 7px;white-space:nowrap}.tag.orange{background:#39291f;border-color:#715234;color:#ffb36e}.tag.green{background:#183d30;border-color:#346d4a;color:#a3f0c6}.tag.red{background:#422a33;border-color:#774553;color:#ffa8b6}.order-code{font-size:19px;font-weight:900}.order-card{position:relative}.order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.order-actions button:only-child{grid-column:span 2}.order-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:12px 0}.order-meta div{background:#0a1c2a;border:1px solid #2d4657;border-radius:7px;padding:9px 10px}.order-meta span{display:block;font-size:10px;color:var(--muted)}.order-meta strong{display:block;font-size:12px;margin-top:3px;line-height:1.38}.timeline{display:flex;gap:4px;margin-top:12px}.timeline .tick{flex:1;border-top:3px solid #364c5d;padding-top:5px;color:#708d9d;font-size:9px;text-align:center}.timeline .tick.done{border-color:var(--orange);color:#ffbd80}.route-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid #55728a;background:#122e44;padding:9px 11px;border-radius:7px;color:#d5e8f6;font-size:12px}.empty{display:grid;place-items:center;min-height:180px;text-align:center;padding:25px 16px;border:1px dashed #3b5466;background:#0d2232;border-radius:11px;color:var(--muted);font-size:12px;line-height:1.6}.empty strong{color:#e3edf2;font-size:15px}.empty .big{font-size:35px;color:var(--orange)}.queue-location{border:1px solid #304958;background:#0e2535;border-radius:11px;padding:13px;margin-top:9px}.queue-location+.queue-location{margin-top:8px}.queue-location .tag{margin-left:4px}.queue-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.queue-stats .metric .value{font-size:21px}.queue-map{display:block;background:#071923;border:1px solid #355366;width:100%;height:auto;max-height:220px;border-radius:10px}.qr-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.list-row{border-bottom:1px solid #2a4353;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.list-row:last-child{border-bottom:0}.list-row .main{font-weight:800;font-size:12px}.list-row .minor{color:var(--muted);font-size:10px;margin-top:4px}.price{color:#ffbe84;font-size:14px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.form-grid label{font-size:10px;font-weight:700;color:var(--sub)}.form-grid label.full{grid-column:1/-1}.form-grid input{margin-top:6px}.actions-top{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions-top button{flex:1}.leaderboard{border:1px solid #385268;background:#10293b;border-radius:10px;overflow:hidden}.leaderboard .list-row{padding:12px 13px}.ranknum{color:var(--orange);font-size:21px;font-weight:900;min-width:38px}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.profile-field{background:#081e2e;border:1px solid #2c495d;border-radius:8px;padding:12px;min-width:0;overflow-wrap:anywhere}.profile-field small{display:block;color:var(--muted);margin-bottom:7px}.profile-field b{font-size:12px}.profile-field.full{grid-column:1/-1}.tab-sub{display:flex;gap:7px;margin:8px 0 12px}.tab-sub .small-button.active{border-color:var(--orange);color:var(--orange)}.notif-list .list-row{align-items:flex-start}.banner-mark{display:flex;align-items:center;gap:14px}.banner-mark .coin{font-size:33px}.banner-mark p{margin:5px 0 0}.banner-mark h3{margin:0}.wallet-balance{font-size:31px;letter-spacing:-.4px;font-weight:950;color:var(--orange2);margin:8px 0}.modal{color:var(--text);background:#0c2232;border:1px solid #52677a;border-radius:12px;width:min(92vw,520px);padding:20px}.modal::backdrop{background:#000b}.modal h3{font-size:18px}.modal p{color:#b7c9d6;font-size:13px;line-height:1.6}.modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:17px}.modal-actions button{flex:1}.scanner-dialog{max-height:90dvh;overflow:auto}.scanner-inner #qrVideo{width:100%;aspect-ratio:4/5;background:#020a11;object-fit:cover;border:2px solid #ff9c45;border-radius:10px}.scanner-inner .qr-fallback{border-top:1px solid #324a5e;margin-top:12px;padding-top:10px}.qr-fallback label{font-size:11px;color:#c2ced8}.qr-fallback input{margin-top:8px}.notice-empty{color:var(--muted);font-size:12px;padding:9px}.helper{color:var(--muted);font-size:11px;line-height:1.55}.pwa-install{border-color:#93623a;background:linear-gradient(110deg,#3d2e21,#122f3f)}.gps-state{font-size:11px;color:#b7d4ce;display:flex;align-items:center;gap:7px}.gps-state.bad{color:#ffc1ad}.pulse{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}
@media(min-width:760px){.main-content{max-width:800px}.app-head .head-inner{max-width:800px}.tabbar{left:50%;transform:translateX(-50%);max-width:800px;border:1px solid #3a5360;border-radius:11px 11px 0 0}.hero-metrics{grid-template-columns:repeat(4,1fr)}.page-top h1{font-size:28px}.android-login-stage{width:min(100%,460px)}.android-auth-form,.android-alt-card{padding:22px 20px 24px}}
@media(max-width:355px){.android-login-logo{width:200px}.android-login-title{font-size:34px}.android-login-subtitle{font-size:13px;letter-spacing:2px}.android-field input{height:64px;font-size:18px;padding-left:58px}.android-field-icon{left:19px;font-size:24px}.card{padding:11px}.metric .value{font-size:20px}.page-top h1{font-size:21px}.order-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important}}

/* V5.7.64 - quatro acessos rápidos, incluindo liderança */
.quick-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid.four .quick{min-height:82px}

/* V5.7.65 — fidelidade visual baseada nos recursos originais Android V6.4.24.
 * Mantém a camada funcional V5.7.64 e não altera APIs, regras de corrida ou permissões. */
:root{--bg:#07131d;--bg2:#091923;--surface:#0d2232;--surface2:#102637;--line:#304351;--text:#f7f8fa;--sub:#c8d2dd;--muted:#8798a7;--orange:#ff9743;--orange2:#ffb15e;--green:#2fd28b;--red:#ff5b73;color-scheme:dark}
body{background:#07131d;font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
#shell .app-head{display:none}
#shell .background-warning{display:none!important}
.main-content{max-width:650px;margin:0 auto;padding:0 0 calc(110px + env(safe-area-inset-bottom));min-height:100dvh}
body[data-view="fila"] .main-content,body[data-view="financeiro"] .main-content,body[data-view="lideranca"] .main-content,body[data-view="avisos"] .main-content{padding:18px 16px calc(116px + env(safe-area-inset-bottom))}
.bb-screen{width:100%;color:var(--text)}
.bb-icon{display:block;width:24px;height:24px;object-fit:contain;flex-shrink:0}
button{touch-action:manipulation}
.tabbar{grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(90deg,#0b1925,#0d2232,#0a1b28);border:1px solid #355164;border-radius:15px;min-height:78px;width:calc(100% - 26px);max-width:622px;left:50%;right:auto;bottom:calc(9px + env(safe-area-inset-bottom));transform:translateX(-50%);padding:7px 10px;box-shadow:0 8px 25px #0005;backdrop-filter:blur(8px)}
.tabbar .tab{border-top:0;gap:5px;min-height:61px;padding:4px 0 8px;font-size:13px;color:#c7d1dd}
.tabbar .tab::after{content:"";position:absolute;bottom:0;left:34%;right:34%;height:3px;background:transparent}
.tabbar .tab.active{border-color:transparent;color:var(--orange)}
.tabbar .tab.active::after{background:var(--orange)}
.tabbar .tab .tab-ico{width:25px;height:25px;object-fit:contain;display:block;line-height:normal}
.tabbar .tab.active .tab-ico:not([src$="ic_home_active.svg"]){filter:brightness(0) saturate(100%) invert(63%) sepia(89%) saturate(1216%) hue-rotate(328deg) brightness(103%) contrast(101%)}
.tabbar .tab:not(.active) .tab-ico[src$="ic_home_active.svg"]{filter:brightness(0) saturate(100%) invert(89%) sepia(12%) saturate(336%) hue-rotate(171deg) brightness(92%) contrast(91%)}
.tabbar .tab i{position:absolute;top:1px;right:30%;z-index:2}
.bb-home{padding:17px 14px 24px}
.bb-home-header{display:flex;min-height:94px;align-items:center;gap:10px;margin-bottom:15px}
.bb-avatar{object-fit:cover;flex:0 0 auto;background:#0d2232;border-radius:50%;border:2px solid var(--orange)}
.bb-home-avatar{width:70px;height:70px;box-shadow:0 3px 12px #0004}
.bb-hello{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;line-height:1.15}
.bb-hello strong{font-size:20px;color:var(--orange);font-weight:900}
.bb-hello span{font-size:16px;white-space:normal;overflow-wrap:anywhere}
.bb-home-tools{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px}
.bb-home-toolrow{display:flex;gap:9px}
.bb-tool{padding:0;display:grid;place-items:center;background:transparent;border:0;width:31px;height:29px;position:relative}
.bb-tool .bb-icon{width:26px;height:26px}
.bb-tool-dot{position:absolute;top:0;right:0;width:7px;height:7px;background:var(--orange);border-radius:50%}
.bb-online-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:9px;border:1px solid #af752e;background:#081b25;padding:5px 8px;height:41px;min-width:106px;color:#e6d0b4}
.bb-online-switch b{font-size:12px;font-weight:700;color:var(--orange)}
.bb-online-switch.online b{color:#38b54b}
.bb-switch-track{width:33px;height:19px;border-radius:24px;background:#4c5360;display:flex;align-items:center;padding:2px}
.bb-switch-track i{display:block;width:15px;height:15px;background:#e3e9ee;border-radius:50%;transition:transform .2s}
.bb-online-switch.online .bb-switch-track{background:#3fa64a}
.bb-online-switch.online .bb-switch-track i{transform:translateX(14px)}
.bb-banner-group{margin:0 0 16px}
.bb-banner{aspect-ratio:2.18/1;min-height:130px;background:#10293b;border:1px solid #344b59;border-radius:14px;overflow:hidden}
.bb-banner>a{display:block;width:100%;height:100%}
.bb-banner img{display:block;width:100%;height:100%;object-fit:cover}
.bb-dots{display:flex;align-items:center;justify-content:center;gap:6px;min-height:20px;margin-top:4px}
.bb-dots button{border:0;border-radius:10px;background:#4d6472;width:7px;height:7px;padding:0}
.bb-dots button.active{background:var(--orange);width:25px}
.bb-title{display:flex;align-items:center;justify-content:space-between;margin:16px 0 10px;gap:10px}
.bb-title h2{font-size:21px;line-height:1.15;font-weight:850;letter-spacing:-.2px;margin:0}
.bb-title button{background:transparent;border:0;color:var(--orange);font-size:13px;font-weight:700;padding:5px 1px}
.bb-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.bb-action-card{background:linear-gradient(135deg,#112d40,#0d2232);border:1px solid #355164;border-radius:10px;min-height:88px;display:flex;align-items:center;gap:8px;color:var(--text);padding:10px;text-align:left;min-width:0}
.bb-action-icon{width:39px;height:39px;flex:0 0 39px;border-radius:9px;background:#342c1e;display:grid;place-items:center}
.bb-action-icon .bb-icon{width:26px;height:26px}
.bb-action-text{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.bb-action-text small{font-size:9px;line-height:1.3;color:#8798a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-action-text strong{font-size:15px;line-height:1.15;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-action-text .bb-queue-pill{display:block;width:max-content;max-width:100%;border-radius:18px;padding:5px 9px;background:#ffb15e;color:#16232e;font-size:11px}
.bb-action-card>.bb-icon{width:14px;height:14px}
.bb-banner-action{display:flex;align-items:center;width:100%;gap:12px;background:#0d2232;border:1px solid #304351;color:var(--text);border-radius:10px;padding:12px 14px;text-align:left;margin-top:10px}
.bb-banner-action>.bb-icon{width:33px;height:33px}.bb-banner-action>.bb-icon:last-child{width:16px;height:16px;margin-left:auto}
.bb-banner-action span{display:grid;gap:4px}.bb-banner-action small{font-size:10px;color:var(--muted)}
.bb-performance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.bb-metric{background:linear-gradient(155deg,#112c40,#0d2232);border:1px solid #304351;border-radius:11px;min-height:128px;padding:10px 11px;min-width:0}
.bb-metric-head{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px;color:#c8d2dd}
.bb-metric-head>span:first-child{line-height:1.35;max-width:100px}
.bb-metric-icon{width:36px;height:36px;flex:0 0 36px;border:1px solid #75502e;border-radius:8px;background:#342c1e;display:grid;place-items:center}
.bb-metric-icon .bb-icon{width:24px;height:24px}
.bb-metric.orders .bb-metric-icon,.bb-metric.sla .bb-metric-icon{border-color:#267e4b;background:#123628}
.bb-metric.km .bb-metric-icon{border-color:#235c8d;background:#0d2b45}
.bb-metric strong{display:block;font-size:25px;font-weight:850;letter-spacing:-.4px;margin-top:9px;line-height:1.22;overflow-wrap:anywhere}
.bb-metric.orders strong{color:var(--green)}
.bb-metric small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.bb-rank-tile{margin-top:13px;border:1px solid #f39b40;border-radius:10px;background:linear-gradient(100deg,#0d2635 35%,#30251b 100%);padding:13px;display:flex;align-items:center;width:100%;color:var(--text);text-align:left;gap:11px;min-width:0}
.bb-rank-icon{width:45px;height:45px;flex:0 0 45px;background:#3d3022;border-radius:10px;display:grid;place-items:center}
.bb-rank-icon .bb-icon{height:29px;width:29px}
.bb-rank-tile>span:nth-child(2){min-width:0;display:grid;gap:3px;flex:1}
.bb-rank-tile small{color:var(--muted);font-size:9px;line-height:1.4;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.bb-rank-tile strong{color:var(--orange);font-weight:900;font-size:26px;line-height:1.1}
.bb-rank-tile em{font-size:10px;font-style:normal;color:#4cda8a}
.bb-rank-link{font-size:11px;color:var(--orange);white-space:nowrap;font-weight:800}
.bb-queue-footer{border:1px solid #304e64;border-radius:11px;background:#10293b;color:var(--text);width:100%;min-height:60px;padding:11px;display:flex;align-items:center;gap:12px;margin-top:12px;text-align:left}
.bb-queue-footer strong{flex:1;font-size:13px;line-height:1.35;min-width:0}
.bb-queue-footer>.bb-icon:first-child{width:31px;height:31px}
.bb-queue-footer>.bb-icon:last-child{width:17px;height:17px}
.bb-version{color:#456071;text-align:center;font-size:9px;margin:19px 0 0}
.bb-iphone-note{color:#99aeba;font-size:10px;line-height:1.45;margin:18px 1px 4px}
.bb-support-info{border:1px solid #304351;background:#0b1f2d;padding:10px 12px;border-radius:9px;margin-top:13px;font-size:11px;color:#bfcdd7}
.bb-support-info summary{cursor:pointer;color:#d1dce2;font-weight:800}
.bb-support-info p{margin:7px 0 0;line-height:1.45;color:#b4c2ce}
.bb-offer-alert{display:flex;width:100%;gap:8px;align-items:center;padding:11px;border:1px solid #8e5037;border-radius:9px;background:#382421;color:#ffc196;font-size:12px;font-weight:850;margin:8px 0}
.bb-offer-alert .bb-icon{width:19px;height:19px}
/* Entregas: layout da tela Android, com mapa real somente quando há GPS. */
.bb-deliveries{padding:26px 15px 16px}
.bb-deliveries-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}
.bb-deliveries-title h1{font-size:26px;color:var(--orange2);font-weight:800;margin:0}
.bb-online-chip{border-radius:10px;background:#071e26;color:#c2b1a4;border:1px solid #a16d35;padding:11px 17px;font-weight:800}
.bb-online-chip.on{border-color:#6ab86d;color:#f7f8fa}
.bb-delivery-wait{background:#0d2232;border:1px solid #355164;border-radius:18px;min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:16px}
.bb-delivery-wait img{width:44px;height:44px;object-fit:contain}.bb-delivery-wait strong{font-size:15px;line-height:1.3}
.bb-delivery-wait small{color:#8798a7;font-size:11px}
.bb-delivery-map,.bb-map-placeholder{position:relative;display:block;height:332px;width:100%;overflow:hidden;border-radius:13px;background:repeating-linear-gradient(0deg,#183341,#183341 35px,#244554 36px),#122938;border:1px solid #304351;margin:18px 0 16px}
.bb-delivery-map>img{position:absolute;width:256px;height:256px;max-width:none;object-fit:fill;pointer-events:none;user-select:none}
.bb-you-marker{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:23px;height:23px;border:5px solid #fff;background:#2199ff;border-radius:50%;box-shadow:0 0 0 2px #215cae,0 2px 9px #0008;z-index:2}
.bb-map-store{position:absolute;left:10px;top:10px;right:10px;z-index:3;border:1px solid #304e64;border-radius:8px;background:#07131de8;padding:10px 12px;display:grid;gap:5px;max-width:80%}
.bb-map-store b{font-size:12px}.bb-map-store strong{font-size:15px;color:var(--orange2)}
.bb-map-credit{position:absolute;right:5px;bottom:4px;z-index:3;font-size:9px;color:#273b48;background:#fffc;padding:1px 3px;border-radius:2px}
.bb-map-caption{position:absolute;bottom:5px;left:5px;z-index:3;font-size:9px;background:#0c243adb;padding:3px 5px;border-radius:4px;color:#fff}
.bb-map-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#c1d1dc;text-align:center;padding:18px;border-style:dashed}
.bb-map-placeholder>.bb-icon,.bb-map-placeholder .bb-icon{width:42px;height:42px}
.bb-map-placeholder small{font-size:11px;max-width:220px;color:#8798a7}
.bb-deliveries-list .card{margin-top:12px}
/* Ranking: imagens originais Android reduzidas somente na compressão WebP. */
.bb-ranking{padding-bottom:20px}
.bb-ranking-hero{height:193px;padding:19px 15px 21px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;background:linear-gradient(90deg,#07131d55,#07131d22),url('/assets/android-v6424/rank_header.webp') center center/cover no-repeat}
.bb-back{background:transparent;border:0;color:#f7f8fa;font-size:31px;font-weight:300;width:36px;height:33px;padding:0;line-height:1;cursor:pointer;text-align:left}
.bb-ranking-hero .bb-back{position:absolute;top:15px;left:15px}
.bb-ranking-hero h1{font-size:27px;line-height:1.2;font-weight:900;margin:0 0 6px}
.bb-ranking-hero p{color:#d8e1e8;font-size:12px;margin:0;line-height:1.35}
.bb-rank-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:12px 13px 8px}
.bb-rank-tabs button{border-radius:9px;background:#0a1e2b;border:1px solid #355164;color:#e2ebf2;min-height:40px;font-size:11px;letter-spacing:1px}
.bb-rank-tabs button.active{background:#ffb15e;color:#332017;border-color:#ffb15e}
.bb-week-position{min-height:114px;border-radius:15px;border:1px solid #ff9743;margin:4px 13px 10px;background:linear-gradient(90deg,#081923e8,#07131d33),url('/assets/android-v6424/rank_position.webp') center/cover no-repeat;display:flex;flex-direction:column;justify-content:center;padding:14px;gap:4px}
.bb-week-position small{color:#e8ebed;font-weight:800;font-size:13px;display:flex;align-items:center;gap:8px}
.bb-week-position .bb-icon{width:22px;height:22px}
.bb-week-position>strong{color:#ffb02e;font-size:31px;font-weight:900}
.bb-week-position>span{font-size:10px;color:#c8d2dd}
.bb-rank-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 13px 12px}
.bb-rank-stats>div{min-height:110px;background:linear-gradient(130deg,#10293b,#0d2232);border:1px solid #355164;border-radius:14px;padding:11px 4px;display:flex;align-items:center;flex-direction:column;gap:5px}
.bb-rank-stats .bb-icon{width:26px;height:26px}
.bb-rank-stats small{font-size:10px;color:#a8b8c7;letter-spacing:.5px}
.bb-rank-stats b{font-size:22px;color:#ffb02e;font-weight:900}
.bb-rank-stats>div:last-child b{color:#2fd28b}
.bb-rank-stats em{font-size:9px;font-style:normal;color:#66c48a;text-align:center;line-height:1.3}
.bb-ranking>.bb-title{padding:0 13px;margin:18px 0 10px}
.bb-ranking>.bb-title h2{font-size:20px}
.bb-rank-period{color:#8ca2b2;font-size:9px}
.bb-rank-explain{display:block;margin:0 14px 10px;color:#94a4b0;font-size:10px}
.bb-ranking-list{margin:0 13px 10px;border-radius:10px;background:#0d2232;overflow:hidden}
.bb-ranking-head{display:grid;grid-template-columns:30px minmax(0,1fr) 48px 51px;align-items:center;padding:12px 10px;background:#0a1e2b;color:#8ca2b2;font-size:10px;gap:5px}
.bb-ranking-head span:last-child,.bb-ranking-head span:nth-last-child(2){text-align:right}
.bb-ranking-row{display:grid;grid-template-columns:26px 35px minmax(0,1fr) 45px 49px;align-items:center;gap:5px;border-bottom:1px solid #253f52;padding:10px 9px;min-height:58px}
.bb-ranking-row b{text-align:center;color:#ffb02e;font-size:13px}
.bb-ranking-row .bb-avatar{height:30px;width:30px;border-color:#bc6a2d}
.bb-ranking-row>span{min-width:0}.bb-ranking-row>span>strong{font-size:11px;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
.bb-ranking-row small{display:block;color:#8199a8;font-size:9px;margin-top:4px}
.bb-ranking-row .bb-rank-order,.bb-ranking-row .bb-rank-sla{font-size:11px;text-align:right}
.bb-ranking-empty{padding:22px 13px;text-align:center;color:#869cae;font-size:12px}
.bb-rank-myrow{display:flex;align-items:center;gap:8px;margin:10px 13px;padding:12px 10px;border:1px solid var(--orange);border-radius:12px;background:linear-gradient(90deg,#192a34,#1b291e);font-size:11px}
.bb-rank-myrow b{font-size:16px;color:var(--orange)}.bb-rank-myrow .bb-avatar{width:30px;height:30px}
.bb-rank-myrow strong{flex:1;min-width:0;font-size:11px}.bb-rank-myrow small{font-size:10px;color:#f6bc77}
.bb-evolution{margin:8px 13px;border:1px solid #304e64;border-radius:13px;background:#10293b;padding:11px 13px;display:flex;justify-content:space-between;color:#d4e1eb;font-size:12px}
.bb-evolution strong{color:#ffb15e}
/* Perfil: hero, avatar e dados no mesmo arranjo do Android. */
.bb-profile-hero{min-height:315px;display:flex;flex-direction:column;align-items:center;position:relative;padding:26px 18px 11px;background:linear-gradient(180deg,#07131d22 0%,#07131d08 42%,#07131d3d 85%,#07131d 100%),url('/assets/android-v6424/profile_header.webp') center center/cover no-repeat}
.bb-profile-intro{align-self:stretch}.bb-profile-intro h1{font-size:25px;font-weight:850;margin:0 0 5px}.bb-profile-intro p{font-size:11px;color:#a5b3bf;margin:0}
.bb-profile-avatar{margin-top:20px;width:97px;height:97px;border:2px solid var(--orange);padding:2px;background:#07131d}
.bb-profile-hero>strong{font-size:20px;font-weight:850;text-align:center;margin:9px 0 7px}
.bb-profile-clan{font-size:11px;color:var(--orange);font-weight:800;border-radius:9px;padding:7px 12px;background:#092928;border:1px solid #ff9e49}
.bb-profile-body{padding:0 16px 22px}
.bb-overlabel{font-size:10px;font-weight:850;color:var(--orange);margin:18px 0 8px;letter-spacing:.3px}
.bb-profile-panel{border:1px solid #355164;border-radius:8px;background:#0d2232;padding:13px 14px;overflow:hidden}
.bb-profile-data{padding:10px 0 13px;border-bottom:1px solid #29485d;min-width:0}
.bb-profile-data:first-child{padding-top:4px}.bb-profile-panel>.bb-profile-data:last-child{border-bottom:0;padding-bottom:5px}
.bb-profile-data small{font-size:10px;color:#8798a7;display:block;margin-bottom:6px}
.bb-profile-data strong{display:block;font-size:16px;font-weight:850;overflow-wrap:anywhere}
.bb-profile-split{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:8px}
.bb-profile-split .bb-profile-data{border-bottom:0;padding:8px 0 5px}
.bb-profile-split .bb-profile-data+ .bb-profile-data{border-left:1px solid #29485d;padding-left:13px}
.bb-profile-type{font-size:11px;color:#a6b8c7;margin:2px 0 3px}
.bb-profile-collapsible{margin-top:14px;border:1px solid #355164;border-radius:10px;background:#0d2232;padding:12px 13px}
.bb-profile-collapsible>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;cursor:pointer}
.bb-profile-collapsible>summary::-webkit-details-marker{display:none}
.bb-profile-collapsible>summary span{color:var(--orange);font-size:19px}
.bb-profile-collapsible[open]>summary{margin-bottom:12px}
.bb-profile-collapsible .field-label{display:block;margin:11px 0 5px;color:#b9c9d5;font-size:11px}
.bb-profile-collapsible select,.bb-profile-collapsible input{margin:3px 0;min-height:42px}
.bb-profile-collapsible .primary,.bb-profile-collapsible .soft,.bb-profile-collapsible .outline{margin-top:10px}
.bb-profile-secondary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.bb-profile-secondary button{min-height:40px;font-size:11px}
.bb-page-label{display:flex;align-items:center;gap:10px;min-width:0}.bb-page-label .bb-back{flex:0 0 30px}
.bb-page-label>div{min-width:0}.bb-page-label h1{margin:0}
/* Tablet/desktop mantém largura de celular sem esticar o layout. */
@media(min-width:760px){.main-content{max-width:540px}.tabbar{max-width:514px}.bb-profile-hero{min-height:325px}}
@media(max-width:365px){.bb-home{padding:12px 10px 18px}.bb-home-avatar{width:57px;height:57px}.bb-hello strong{font-size:17px}.bb-hello span{font-size:14px}.bb-action-icon{width:32px;height:32px;flex-basis:32px}.bb-action-card{padding:8px;gap:6px}.bb-action-text strong{font-size:13px}.bb-ranking-head{grid-template-columns:27px minmax(0,1fr) 38px 43px}.bb-ranking-row{grid-template-columns:24px 30px minmax(0,1fr) 38px 44px}.bb-rank-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){.bb-switch-track i{transition:none}}

.bb-quick-dialog{max-width:440px;border-radius:16px;padding:18px;background:#0d2232}
.bb-quick-dialog::backdrop{background:#000b}
.bb-quick-dialog h3{margin-bottom:13px}
.bb-dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 14px}
.bb-dialog-grid button{display:flex;align-items:center;gap:9px;padding:11px 9px;border:1px solid #355164;border-radius:10px;color:#f7f8fa;background:#10293b;text-align:left;font-size:12px;font-weight:700}
.bb-dialog-grid img{width:24px;height:24px;object-fit:contain}
.bb-pickup-marker{position:absolute;z-index:2;display:grid;place-items:center;width:31px;height:31px;background:#07131ded;border:2px solid #ff9743;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0008}
.bb-pickup-marker .bb-icon{width:20px;height:20px}
/* Safe areas do Safari instalado (notch e indicador Home) sem deslocar o Chrome normal. */
.bb-home{padding-top:calc(17px + env(safe-area-inset-top,0px))}
.bb-deliveries{padding-top:calc(26px + env(safe-area-inset-top,0px))}
.bb-ranking-hero{height:calc(193px + env(safe-area-inset-top,0px));padding-top:calc(19px + env(safe-area-inset-top,0px))}
.bb-ranking-hero .bb-back{top:calc(15px + env(safe-area-inset-top,0px))}
.bb-profile-hero{min-height:calc(315px + env(safe-area-inset-top,0px));padding-top:calc(26px + env(safe-area-inset-top,0px))}
body[data-view="fila"] .main-content,body[data-view="financeiro"] .main-content,body[data-view="lideranca"] .main-content,body[data-view="avisos"] .main-content{padding-top:calc(18px + env(safe-area-inset-top,0px))}

/* V5.7.66: Recusa explícita compatível com Android e aceite bloqueado no timeout. */
.order-actions button[data-action="reject-order"]{border-color:#b25a52;color:#ffd8d1;background:#302228}
.order-actions button:disabled{pointer-events:none;opacity:.55}

/* V5.8.16 — confirmação iFood para comandas recebidas pelo Bot - BoxBoy. */
.bb-ifood-box{display:flex;flex-direction:column;gap:4px;margin-top:12px}
.bb-ifood-box strong{font-size:12px;color:#ffd29f}.bb-ifood-box span{font-size:12px;font-weight:850;color:#fff}
.bb-ifood-box small{font-size:10px;color:#e6bd91}.bb-ifood-box em{font-size:10px;font-style:normal;color:#ffbdc2;margin-top:3px}
.bb-ifood-code-dialog{max-width:390px;border-radius:16px;padding:20px;background:#0d2232}
.bb-ifood-code-dialog::backdrop{background:#000c}.bb-ifood-code-dialog h3{font-size:21px;margin:7px 0 4px}
.bb-ifood-code-dialog label{display:block;color:#dce6ed;font-size:12px;font-weight:750;margin:15px 0 7px}
.bb-ifood-code-dialog input{font-size:30px;letter-spacing:12px;text-align:center;font-weight:900;min-height:64px;padding-left:23px}
.bb-ifood-code-dialog .bb-ifood-order{font-weight:850;margin:12px 0 2px;color:#ffb56c}
.bb-ifood-code-dialog .muted{margin-bottom:5px}.bb-ifood-code-dialog .helper{margin:12px 0 0}
.bb-ifood-box .bb-ifood-phone{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;font-size:11px;font-weight:800;color:#ffd2a6;text-decoration:underline;text-underline-offset:3px}
/* V5.8.18 — conclusão por tentativas excedidas precisa ser inequívoca. */
.bb-ifood-release-dialog{max-width:410px;border-color:#a96d36;background:linear-gradient(150deg,#182a36,#30241b)}
.bb-ifood-release-dialog h3{font-size:22px;margin:8px 0 14px;color:#fff}
.bb-ifood-release-dialog .bb-ifood-release-summary{display:flex;flex-direction:column;gap:6px;background:#33291f;border-color:#9b6535;color:#ffd1a1}
.bb-ifood-release-dialog .bb-ifood-release-summary strong{font-size:13px;color:#fff}
.bb-ifood-release-dialog .bb-ifood-release-summary span{font-size:12px;font-weight:850}
.bb-ifood-release-dialog .helper{margin:10px 0 0}


/* ============================================================
   V5.8.20 — Login Web do entregador com paridade visual Android.
   O hero usa a arte oficial inteira, sem logo ou títulos duplicados.
   ============================================================ */
body:has(.bb-login-gate:not([hidden])){background:#06182a!important}
.bb-login-gate{min-height:100dvh!important;padding:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;background:#06182a!important}
/* V5.8.22 — o estado autenticado precisa remover fisicamente a tela de login.
   Esta regra vem depois do display:flex!important da V5.8.20 para que o
   atributo hidden e a classe de sessão sempre vençam no CSS. */
.bb-login-gate[hidden],
body.bb-courier-authenticated .bb-login-gate{display:none!important}
#shell[hidden],
body:not(.bb-courier-authenticated) #shell{display:none!important}
body.bb-courier-authenticated{overflow-x:hidden}
.bb-login-phone{width:100%;max-width:480px;min-height:100dvh;background:#06182a;box-shadow:0 0 45px rgba(0,0,0,.32);overflow:hidden}
.bb-login-hero{width:100%;background:#06182a;line-height:0}
.bb-login-hero img{display:block;width:100%;aspect-ratio:1.465/1;object-fit:cover;object-position:center center}
.bb-login-content{padding:12px 22px max(46px,env(safe-area-inset-bottom));background:linear-gradient(180deg,#06182a 0%,#051725 100%)}
.bb-login-form{display:block}
.bb-login-field{position:relative;margin:0 0 16px}
.bb-login-field input{height:52px!important;min-height:52px!important;border:1.5px solid #45627c!important;border-radius:13px!important;background:#061a2d!important;color:#eef4f8!important;padding:0 54px 0 55px!important;font-size:16px!important;box-shadow:none!important;outline:none!important}
.bb-login-field input::placeholder{color:#aeb9c4;opacity:1}
.bb-login-field input:focus{border-color:#6f8ca5!important;box-shadow:0 0 0 2px rgba(111,140,165,.12)!important}
.bb-login-field-icon{position:absolute;z-index:2;left:20px;top:50%;width:23px;height:23px;transform:translateY(-50%);color:#e4edf3;pointer-events:none}
.bb-login-field-icon svg,.bb-password-toggle svg{display:block;width:100%;height:100%;fill:currentColor}
.bb-password-toggle{position:absolute;z-index:3;right:15px;top:50%;transform:translateY(-50%);width:36px;height:36px;padding:7px;border:0;background:transparent;color:#e8eef3;border-radius:9px}
.bb-password-toggle:hover,.bb-password-toggle:focus-visible{background:rgba(255,255,255,.06)}
.bb-forgot{display:block;margin:-2px 0 22px auto;padding:4px 0;border:0;background:transparent;color:#ffa35b;font-size:14px;letter-spacing:1.5px;font-weight:500}
.bb-login-terms{display:grid!important;grid-template-columns:25px minmax(0,1fr);gap:13px;align-items:start;margin:0 0 12px!important;color:#e8eef3!important;font-size:13px!important;line-height:1.4!important;font-weight:400!important;cursor:pointer}
.bb-login-terms>input{position:absolute;opacity:0;pointer-events:none;width:1px!important;height:1px!important;min-height:1px!important}
.bb-login-check{width:22px;height:22px;border:2px solid #ff9a47;border-radius:4px;background:#ff9a47;color:#101820;display:grid;place-items:center;margin-top:1px}
.bb-login-check svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bb-login-terms input:not(:checked)+.bb-login-check{background:transparent;color:transparent}
.bb-login-terms strong{color:#ffa35b;font-weight:500}
.bb-login-submit,.bb-login-outline,.bb-login-status{width:100%;border-radius:12px;font-family:inherit}
.bb-login-submit{height:44px;border:0;background:#ff9743;color:#111820;display:flex;align-items:center;justify-content:center;gap:13px;font-size:18px;font-weight:900;letter-spacing:.4px}
.bb-login-submit svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.bb-login-submit:disabled{opacity:.68}
.bb-login-outline{height:40px;margin-top:19px;border:1.5px solid #ff9a47;background:transparent;color:#ffa35b;font-size:16px;letter-spacing:2px}
.bb-login-status{margin-top:26px;padding:7px 0;border:0;background:transparent;color:#cbd5dd;font-size:13px;letter-spacing:2px}
.bb-form-message{margin:0 0 14px;padding:10px 12px;border:1px solid #9d4354;border-radius:9px;background:#3d202b;color:#ffd5dc;font-size:12px;line-height:1.45}
.bb-form-message.success{border-color:#37745a;background:#15352a;color:#a6efc7}
.bb-login-gate.is-secondary .bb-login-hero{display:none}
.bb-login-gate.is-secondary .bb-login-content{min-height:100dvh;padding-top:max(28px,env(safe-area-inset-top))}
.bb-gate-panel{background:#0b2233;border:1px solid #345066;border-radius:14px;padding:19px;box-shadow:0 16px 40px rgba(0,0,0,.28)}
.bb-gate-panel h2{margin:8px 0 10px}
.bb-gate-panel h3{margin:24px 0 10px;font-size:14px;color:#ffb26d}
.bb-gate-panel label:not(.bb-registration-terms){display:block;color:#c8d4dd;font-size:11px;font-weight:700;margin:13px 0 6px}
.bb-gate-panel input,.bb-gate-panel select{margin-top:6px;background:#071a28;border-color:#3c596c}
.bb-gate-back{border:0;background:transparent;color:#ffad68;padding:0 0 16px;font-weight:800}
.bb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.bb-form-grid .span2{grid-column:1/-1}
.bb-registration-docs{display:grid;gap:9px}
.bb-registration-docs label{padding:10px;border:1px solid #324b5d;border-radius:9px;background:#0a1d2b}
.bb-registration-docs small{display:block;color:#8198a8;margin-top:3px;font-weight:400}
.bb-registration-docs input[type=file]{margin-top:8px;background:#071824}
.bb-registration-terms{display:flex!important;gap:10px;align-items:flex-start;margin:18px 0!important;color:#d7e0e6!important;font-size:11px!important;line-height:1.45}
.bb-registration-terms input{width:20px!important;min-height:20px!important;flex:0 0 20px;margin:0;accent-color:#ff9743}
.bb-registration-result{margin-top:16px;padding:14px;border:1px solid #45617a;border-radius:10px;background:#071b2a;line-height:1.55}
.bb-registration-result strong{display:block;font-size:17px;color:#fff;margin-bottom:6px}
.bb-registration-result .status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#32291f;border:1px solid #9d6b37;color:#ffc283;font-size:10px;font-weight:900;margin-bottom:8px}
.bb-registration-result .status.aprovado{background:#16352b;border-color:#3e765d;color:#9af0c3}
.bb-registration-result .status.reprovado{background:#3a2028;border-color:#884657;color:#ffb4c0}
@media(max-width:430px){
  .bb-login-content{padding-left:22px;padding-right:22px}
  .bb-login-hero img{aspect-ratio:1.465/1}
  .bb-form-grid{grid-template-columns:1fr}
  .bb-form-grid .span2{grid-column:auto}
}
@media(min-width:700px){
  .bb-login-gate{padding:22px!important;align-items:center!important}
  .bb-login-phone{min-height:auto;border:1px solid #29465a;border-radius:20px}
  .bb-login-hero img{aspect-ratio:1.465/1}
}
