/* V5.8.126 — componentes do protótipo, aplicados ao app real. */
:root[data-theme=light]{--bg:#f4f7fb;--bg2:#eaf0f6;--surface:#fff;--surface2:#f1f5f9;--surface3:#eaf0f6;--line:#d3e0ee;--text:#16283b;--sub:#64768b;--muted:#8090a1;--orange:#f58b29;--warm:#fff3e7;--green:#168c64;--green-bg:#e6f7ef;--red:#c94150;--red-bg:#fff0f2;--shadow:0 5px 20px #253f5c0d;color-scheme:light}
:root[data-theme=dark]{--bg:#081522;--bg2:#06111c;--surface:#112437;--surface2:#172c3f;--surface3:#1e364a;--line:#274052;--text:#ebf4fb;--sub:#a9bac9;--muted:#8095a7;--orange:#ffa14c;--warm:#ee8f351f;--green:#58d7a0;--green-bg:#34c1841f;--red:#ff8694;--red-bg:#ff62741a;--shadow:0 5px 20px #0000001f;color-scheme:dark}
body{font-family:Inter,Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45;color:var(--text)}
button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
body .main-content,body[data-view] .main-content{padding:20px 16px 105px;max-width:600px;margin:auto}
svg.bb-icon,svg.v122-icon,svg.tab-ico{display:inline-block;flex-shrink:0;vertical-align:middle;max-width:32px;max-height:32px;filter:none!important;opacity:1!important}
button>svg.v122-icon,button>svg.bb-icon,label>svg.v122-icon{margin-right:6px}.bb-tool>svg,.v122-theme-toggle>svg,.bb-back>svg{margin:0}
h1{font-size:22px;letter-spacing:-.4px}h2{font-size:15px}h3{font-size:14px}
.card,.bb-performance-panel,.bb-action-card,.bb-ranking-list,.v122-link{background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:none}
.card{padding:14px;margin:12px 0}.helper,.subtext{font-size:11px;line-height:1.6}button.primary,button.soft,button.outline{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:40px}button.wide{width:100%}
.bb-home-header{margin-bottom:8px;align-items:center;min-height:48px}.bb-home-avatar{width:44px;height:44px;flex-shrink:0;border-color:var(--orange)}.bb-home-tools{align-self:center}.bb-hello strong{font-size:11px}.bb-hello span{font-size:18px;line-height:1.4}.bb-tool{color:var(--sub)}.bb-home-toolrow{align-items:center}.v122-theme-toggle{color:var(--orange)}
.bb-online-switch.v126-home-online{display:flex;width:max-content;margin:0 0 12px;min-width:0;gap:10px;height:25px;min-height:25px;padding:4px 8px}.v126-home-online b{font-size:10px}.v126-home-online b:before{content:'';display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:5px}
.bb-banner-group{margin:0}.bb-banner{border-radius:9px;overflow:hidden}.bb-banner img{max-height:none;width:100%;display:block}.bb-dots{margin:7px 0 10px}
.v126-home-orders{display:flex;align-items:center;gap:8px;width:100%;padding:10px 11px;border:0;border-radius:8px;background:var(--surface2);color:var(--text);margin:10px 0 12px;text-align:left}.v126-home-orders>svg{color:var(--orange);width:19px;height:19px}.v126-home-orders>span{flex:1;font-size:11px}.v126-home-orders>b,.v126-home-orders b{font-size:11px}.v126-home-orders>svg:last-child{width:14px}
:root[data-theme=light] .v126-home-orders{background:#e5f1ff;color:#1963a3}
.bb-title{margin:14px 0 9px}.bb-title h2{font-size:15px}.bb-title button{font-size:11px;padding:3px 0;display:flex;align-items:center}.bb-action-grid{gap:9px}.bb-action-card{min-height:77px;padding:10px;display:flex;align-items:center;gap:9px}.bb-action-icon{width:36px;height:36px;flex-basis:36px;border-radius:8px;color:var(--orange)}.bb-action-icon svg{width:23px;height:23px}.bb-action-text small{font-size:10px}.bb-action-text strong{font-size:14px!important;line-height:1.45}.bb-quick-link{font-size:10px}.bb-home .v122-link{padding:11px;min-height:57px;margin-top:9px;gap:10px}.bb-home .v122-link>svg:first-child{box-sizing:content-box;padding:8px;background:var(--warm);border-radius:8px;width:22px;height:22px}.bb-home .v122-link strong{font-size:12px}.bb-home .v122-link small{font-size:10px;margin-top:3px}
body .bb-home-unified .bb-performance-panel{padding:14px 13px 11px;margin:0;box-shadow:var(--shadow)}body .bb-home-unified .bb-day-earnings strong{font-size:28px;letter-spacing:-.5px}body .bb-home-unified .bb-week-earnings strong{font-size:14px}body .bb-home-unified .bb-day-earnings span,body .bb-home-unified .bb-week-earnings span{font-size:10px}body .bb-home-unified .bb-stat{gap:3px}body .bb-home-unified .bb-stat svg{width:19px;height:19px;color:var(--green)}body .bb-home-unified .bb-stat:last-child svg{color:var(--orange)}body .bb-home-unified .bb-stat span{font-size:10px}body .bb-home-unified .bb-stat strong{font-size:14px}.bb-rank-tile{min-height:70px;padding:10px;gap:10px;margin-top:10px}.bb-rank-icon{width:34px;height:34px;flex-basis:34px;border-radius:8px;color:var(--orange)}.bb-rank-tile strong{font-size:19px}.bb-rank-copy{gap:2px}.bb-rank-position em{font-size:10px;color:var(--green)}
.tabbar .tab .tab-ico{color:var(--muted);width:21px;height:21px;filter:none!important;opacity:1!important}.tabbar .tab.active .tab-ico{color:var(--orange)}.tabbar .tab{font-size:10px;position:relative}.tabbar{min-height:60px;border-radius:10px}.tabbar #orderDot{position:absolute;top:0;left:calc(50% + 8px);width:auto;min-width:13px;height:13px;padding:0 3px;display:grid;place-items:center;background:var(--orange);color:#142b3c;font-size:8px;font-style:normal;border-radius:7px}.tabbar #orderDot[hidden]{display:none}
.v126-delivery-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 15px}.v126-delivery-title h1{margin:0;font-size:22px}.v126-delivery-title p{color:var(--sub);font-size:11px;margin:4px 0 0}.v126-delivery-title .bb-online-chip{font-size:10px;padding:5px 8px;min-height:25px;border:0;display:flex;align-items:center;gap:4px}.v126-delivery-title .bb-online-chip i{width:6px;height:6px;border-radius:50%;background:currentColor}
.v126-orders-summary{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:12px;margin-bottom:12px}.v126-orders-summary>span{padding:8px;color:var(--orange);background:var(--warm);border-radius:9px}.v126-orders-summary strong{font-size:14px;display:block}.v126-orders-summary small{font-size:10px;display:block;color:var(--sub);margin-top:3px}.v126-order-tabs{margin:12px 0}.v126-order-tabs button{font-size:11px;font-weight:650}.v126-order-tabs b{margin-left:5px;padding:1px 5px;border-radius:5px;background:var(--surface3)}.v126-order-tabs .active b{background:#ffffff30;color:#142b3c}
body[data-view=entregas] .bb-route-control{padding:0;border:0;background:transparent;margin:0 0 12px}body[data-view=entregas] .bb-route-control button{background:var(--orange);color:#142b3c;border:0;min-height:44px;font-size:13px;border-radius:9px;display:flex;align-items:center;justify-content:center}body[data-view=entregas] .bb-route-control p{font-size:10px;margin:5px 0 10px}
.v126-orders-list{display:grid;gap:10px}.card.v126-order{padding:12px;margin:0;border-radius:11px;overflow:hidden}.v126-order-hit{width:100%;border:0;padding:0;background:none;text-align:left;color:var(--text);display:block}.v126-order-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}.v126-order-heading>strong{font-size:14px}.v126-order-heading .tag{display:inline-flex;align-items:center;gap:4px;font-size:9px;padding:4px 6px;white-space:normal;background:var(--surface2);color:var(--sub)}.v126-order-heading .tag.orange{background:var(--warm);color:var(--orange)}.v126-order-heading .tag.green{background:var(--green-bg);color:var(--green)}
.v126-order-route{display:grid;gap:10px}.v126-order-route>span{display:flex;align-items:flex-start;gap:10px}.v126-order-route>span>svg{color:var(--orange);margin-top:3px;width:17px;height:17px}.v126-order-route>span:last-child>svg{color:#258bd1}.v126-order-route>span>span{display:grid;gap:2px;min-width:0}.v126-order-route small{font-size:10px;color:var(--sub)}.v126-order-route strong{font-size:13px;font-weight:650;overflow-wrap:anywhere}.v126-order-route span span span{font-size:11px;color:var(--sub);overflow-wrap:anywhere}.v126-order-value{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:9px;margin-top:11px}.v126-order-value small{flex:1;font-size:10px;color:var(--sub)}.v126-order-value strong{font-size:15px;color:var(--orange)}.v126-order-value svg{color:var(--orange)}
.order-actions.v126-order-footer{display:flex;gap:7px;margin-top:9px}.v126-order-footer>button{flex:1;min-width:0;min-height:40px;padding:7px 5px;font-size:11px;line-height:1.35;border-radius:7px;white-space:normal;display:flex;align-items:center;justify-content:center;gap:4px}.v126-order-footer>button>svg{width:15px;height:15px;margin:0}.v126-order-footer>button[data-action=ui-order]{background:var(--surface2);color:var(--text);border-color:var(--line)}.v126-order-footer>.primary{background:var(--warm);border:1px solid var(--orange);color:var(--orange)}.v126-order-footer>[data-action=accept-order]{background:var(--orange);color:#142b3c}.v126-offer-timer{font-size:10px;margin:8px 0 0;color:var(--orange);display:flex;align-items:center;gap:5px}.v126-delivery-links{display:grid;gap:10px;margin:16px 0}.v126-delivery-links .v122-link{padding:10px}.v126-delivery-links .text-button{font-size:11px;color:var(--sub)}
.v122-head{min-height:70px;flex-wrap:nowrap;margin-bottom:12px;gap:9px}.v122-head h1{font-size:21px}.v122-head p{font-size:11px;line-height:1.5}.v122-head>div{min-width:0;flex:1}.v122-head .v122-theme-toggle{flex-shrink:0}.v122-head .bb-back{flex-shrink:0}.v122-link>svg:first-child,.v122-row>svg:first-child{color:var(--orange)}.v122-link>svg:last-child{color:var(--muted);width:15px;height:15px}.v122-link{gap:10px}.v122-kpis small{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.v122-kpis small>svg{width:16px;height:16px}.v122-kpis strong{font-size:23px}.v126-commission .helper{display:flex;justify-content:space-between;align-items:center;color:var(--orange)}.v126-commission .wallet-balance{font-size:28px}.v126-store-card h2{display:flex;align-items:center;gap:10px}.v126-store-card h2 svg{color:var(--orange)}.v122-slot strong{display:flex;gap:6px;align-items:center}.v122-slot strong svg{color:var(--orange)}.v122-slot.filled strong svg{color:var(--green)}.v122-slot span{line-height:1.5}.v123-shift-tabs button{font-size:11px;display:flex;align-items:center;justify-content:center;gap:2px;flex:1 1 65px}.v123-shift-tabs button svg{width:15px;height:15px}
.bb-profile-data{padding:12px 0}.bb-profile-data small{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--sub)}.bb-profile-data small svg{color:var(--orange)}.bb-profile-data strong{font-size:13px;margin:4px 0 0 24px}.bb-profile-hero{border-radius:11px;overflow:hidden}.bb-profile-body{padding:14px 0}.bb-profile-panel{padding:0 14px}.bb-profile-split>div{min-width:0}.bb-profile-split strong{overflow-wrap:anywhere}.bb-rank-stats svg{color:var(--orange)}.bb-rank-tabs button{font-size:12px}.bb-week-position{padding:15px}.bb-week-position>strong{font-size:29px}.bb-ranking-row{font-size:12px}.bb-ranking-hero h1{font-size:21px}.metric label{display:flex;align-items:center;gap:6px}.hero-metrics{gap:9px}.metric .value{font-size:24px}.wallet-balance{font-size:29px}
#courierWorkspaceDialog{padding:16px;width:calc(100% - 28px);max-width:520px;border-radius:12px;max-height:86dvh;overflow:auto;color:var(--text)}.v122-modal-head{gap:10px}.v122-modal-head h3{font-size:17px}.v122-modal-head:before{content:'';display:block;width:5px;height:28px;border-radius:3px;background:var(--orange)}.v122-modal-head button{display:grid;place-items:center;flex-shrink:0}.v122-modal-head button svg{margin:0}.v122-modal-head+.order-card{margin:0}.modal .order-card{padding:12px}.modal .order-actions button{font-size:12px}.v122-choices{gap:8px}
#gate label>svg{color:var(--orange);width:16px;height:16px}.bb-login-field-icon svg{width:19px;height:19px}.bb-login-field{position:relative}body .bb-login-field input{padding-left:42px!important}.bb-form-grid label>svg{margin-bottom:3px}.bb-registration-docs label{border-style:dashed;padding:14px}.bb-registration-docs label>svg{display:block;width:25px;height:25px;margin-bottom:8px}.bb-login-hero{border-radius:12px}.v122-step-name{font-size:11px}.v122-steps{margin-bottom:8px}.route-btn{display:inline-flex;align-items:center;gap:5px}.queue-stats .metric label{font-size:10px}.queue-stats .metric .value{font-size:22px}
@media(min-width:760px){#shell,.bb-login-phone{max-width:460px}.tabbar{max-width:432px}}
@media(max-width:359px){body .main-content,body[data-view] .main-content{padding:16px 11px 100px}.bb-home-header{gap:7px}.bb-hello span{font-size:16px}.bb-home-avatar{width:38px;height:38px}.bb-tool{width:29px;height:32px;min-height:32px}.bb-home-toolrow{gap:3px}.bb-home-toolrow .v122-theme-toggle{width:27px;padding:3px}.v126-order-heading>strong{font-size:13px}.v126-order-heading .tag{font-size:8px}.v126-order-footer>button{font-size:10px}.v122-head h1{font-size:19px}.bb-action-card{padding:9px 7px;gap:6px}.bb-action-text strong{font-size:13px!important}.bb-action-icon{width:29px;flex-basis:29px}.v122-kpis{gap:6px}.v122-kpis small{font-size:9px}}
/* Compactação e tamanhos explícitos evitam regras herdadas dos ícones Android. */
.bb-action-card{position:relative;padding-right:19px}.bb-action-card>.bb-icon{position:absolute;right:6px;top:50%;width:12px;height:12px;margin:0;transform:translateY(-50%)}.bb-home .bb-action-card .bb-action-text strong{white-space:nowrap;overflow-wrap:normal;font-size:14px!important;font-weight:650;letter-spacing:-.3px}.bb-action-text{gap:2px}.bb-home .bb-action-card .bb-action-text small{font-size:10px}
.v126-order-heading .tag svg{width:12px;height:12px}.v126-order-route svg{width:17px;height:17px}.v126-order-value svg{width:15px;height:15px}.v126-order-hit{font-weight:400;letter-spacing:0}.v126-order-footer>button{font-weight:600;letter-spacing:0}.bb-home button{letter-spacing:0}.bb-home .bb-quick-link{font-weight:500}
body[data-view=entregas] .bb-route-optimizer{border:0;padding:0;background:none;margin:0 0 12px}body[data-view=entregas] .bb-route-optimizer>button{border-radius:9px;height:44px;font-size:13px;font-weight:550}body[data-view=entregas] .bb-route-optimizer>p{font-size:10px;margin:6px 0 0}.v126-order-tabs b:empty{display:none}.bb-home .bb-offer-alert{font-size:11px;min-height:35px;padding:8px 10px}
@media(max-width:359px){.bb-home .bb-action-card .bb-action-text strong{font-size:12px!important}.bb-action-icon{width:27px;flex-basis:27px}.bb-action-card{padding-left:7px;gap:5px}}

.v123-shift-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr))}.v123-shift-tabs button{min-height:38px;flex-wrap:wrap;overflow-wrap:break-word}.v123-shift-tabs button svg{margin-right:2px}.v126-home-orders>svg:first-child{color:inherit}.bb-profile-split{border-color:var(--line)}
.v126-order-tabs button.active{background:var(--orange);color:#142b3c;box-shadow:0 3px 10px #dd843220}.bb-home .bb-banner{aspect-ratio:2.05}.bb-home .bb-banner img{height:100%;width:100%;object-fit:contain}
