/* App web V5.8.122 — tokens extraídos do protótipo aprovado para revisão. */
:root,[data-theme=dark]{color-scheme:dark;--bg:#061522;--bg2:#081b2c;--surface:#0c2436;--surface2:#132d41;--surface3:#1e364a;--line:#274052;--text:#ebf4fb;--sub:#a9bac9;--muted:#91a5b7;--orange:#f6923b;--orange2:#ffb15e;--warm:#f6923b18;--green:#58d7a0;--green-bg:#34c1841f;--red:#ff8e9b;--red-bg:#442533;--blue:#76c0ff;--blue-bg:#18384f;--shadow:0 5px 20px #00000012}
:root[data-theme=light]{color-scheme:light;--bg:#f3f6fa;--bg2:#eef3f8;--surface:#fff;--surface2:#eef3f8;--surface3:#e4edf4;--line:#dae3ed;--text:#132c42;--sub:#566d80;--muted:#64768b;--orange:#c66a20;--orange2:#e88732;--warm:#fff3e7;--green:#168c64;--green-bg:#e6f7ef;--red:#b83143;--red-bg:#ffedf0;--blue:#2176b3;--blue-bg:#e7f2fd;--shadow:0 5px 20px #253f5c0c}
html{background:var(--bg);scrollbar-color:var(--line) var(--bg)}body{background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.45}
body .main-content,body[data-view] .main-content{width:100%;max-width:600px;margin:auto;padding:18px 14px calc(105px + env(safe-area-inset-bottom));min-height:100dvh}
h1{font-size:23px;letter-spacing:-.6px}h2{font-size:16px;letter-spacing:-.2px}h3{font-size:15px}p{margin-bottom:12px}a{color:var(--orange)}button{color:var(--text)}button:disabled{cursor:not-allowed}button,input,select,textarea{font:inherit}button{min-height:40px}
input,select,textarea{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:8px;min-height:44px;font-size:16px;padding:10px 12px}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,select:focus,textarea:focus{outline:2px solid var(--orange);outline-offset:2px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.primary,.soft,.outline,.small-button,.route-btn,.bb-online-chip{border-radius:8px;box-shadow:none;min-height:40px;font-size:12px;font-weight:650}.primary{background:#f6923b;border:1px solid #f6923b;color:#172431}.soft,.outline,.small-button,.route-btn{background:var(--surface);border:1px solid var(--line);color:var(--text)}.soft.active,.small-button.active{background:var(--warm);color:var(--orange);border-color:var(--orange)}.wide{width:100%}
.card,.metric,.empty,.notice-panel,.queue-location,.bb-profile-panel,.bb-ranking-list,.bb-evolution,.bb-week-position,.bb-rank-stats>div,.bb-action-card,.bb-banner-action,.bb-rank-tile,.bb-profile-collapsible,.bb-performance-panel,.bb-support-info,.bb-route-control{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.card{padding:14px;margin-bottom:12px}.card.orange{background:linear-gradient(120deg,#e6872d,#ffba62);color:#24201b;border:0}.card.orange :is(.overline,.wallet-balance,.subtext){color:#24201b}.wallet-balance{font-size:32px;line-height:1.3}.metric{padding:12px}.metric .value{color:var(--text);font-size:24px}.metric.feature .value{color:var(--orange)}.metric label,.metric .hint,.muted,.subtext,.helper,.list-row .minor{color:var(--sub)}.empty{background:var(--surface);min-height:170px}.empty strong{color:var(--text)}.empty .big{color:var(--orange)}.notice-panel{background:var(--surface2);font-size:12px;line-height:1.6;padding:12px}.notice-panel.bad{background:var(--warm);border-color:var(--orange);color:var(--text)}.helper{font-size:11px;line-height:1.65}.section-title,.bb-title{margin:18px 0 10px}.section-title h2,.bb-title h2{font-size:15px;margin:0}.bb-title button{font-size:12px;color:var(--orange)}.price{color:var(--orange);font-size:14px}.list-row{border-color:var(--line);padding:12px 0}.list-row .main{font-size:13px}.list-row .minor{font-size:11px}.tag{border:0;background:var(--surface2);color:var(--sub);border-radius:20px;padding:5px 9px;font-size:10px}.tag.green{background:var(--green-bg);color:var(--green)}.tag.orange{background:var(--warm);color:var(--orange)}.tag.red{background:var(--red-bg);color:var(--red)}
.tabbar{background:var(--surface);border:1px solid var(--line);border-radius:11px;min-height:64px;width:calc(100% - 22px);max-width:572px;padding:5px 3px;box-shadow:0 7px 22px #00000014;bottom:calc(10px + env(safe-area-inset-bottom))}.tabbar .tab{min-height:51px;font-size:11px;color:var(--muted);gap:3px;padding:3px}.tabbar .tab .tab-ico{width:23px;height:23px}.tabbar .tab.active{color:var(--orange)}.tabbar .tab.active::after{border-radius:3px;bottom:-5px}.tabbar .tab:not(.active) .tab-ico{filter:grayscale(1);opacity:.7}:root[data-theme=light] .tabbar .tab:not(.active) .tab-ico{filter:brightness(.45);opacity:.8}
.bb-home,.bb-profile,.bb-ranking,.bb-deliveries{padding:0}.bb-home-header{min-height:60px;margin-bottom:16px;gap:11px}.bb-home-avatar{height:47px;width:47px;box-shadow:none;border-width:2px}.bb-hello strong{font-size:12px;font-weight:500;color:var(--sub)}.bb-hello span{font-size:18px;font-weight:750;letter-spacing:-.3px}.bb-home-toolrow{gap:7px}.bb-tool{background:var(--surface);border:1px solid var(--line);border-radius:8px;width:36px;height:36px;min-height:36px}.bb-tool .bb-icon{width:20px;height:20px}.bb-online-switch{min-width:92px;min-height:28px;height:28px;border:0;background:var(--surface2);border-radius:20px;padding:4px 8px}.bb-online-switch.online{background:var(--green-bg)}.bb-online-switch b{font-size:10px}.bb-online-switch.online b{color:var(--green)}.bb-switch-track{width:24px;height:14px}.bb-switch-track i{width:10px;height:10px}.bb-online-switch.online .bb-switch-track i{transform:translateX(10px)}.bb-banner{border-radius:10px;border-color:var(--line);min-height:0;aspect-ratio:auto;background:#000}.bb-banner img{height:auto;max-height:210px;object-fit:contain}.bb-action-grid{gap:9px}.bb-action-card{min-height:84px;padding:12px 10px;gap:9px}.bb-action-icon{width:37px;height:37px;flex-basis:37px;background:var(--warm);border:0}.bb-action-text small{font-size:11px;color:var(--sub)}.bb-action-text strong{font-size:16px;color:var(--text)}.bb-quick-link{font-size:11px;color:var(--orange)}.bb-banner-action{padding:12px;min-height:64px;gap:10px}.bb-banner-action>.bb-icon{width:28px;height:28px}.bb-banner-action b{font-size:13px}.bb-banner-action small{font-size:11px;color:var(--sub)}
body .bb-home-unified .bb-performance-panel{padding:15px 14px 12px;background:var(--surface);border-color:var(--line)}body .bb-home-unified .bb-earnings-row{border-color:var(--line);gap:8px}body .bb-home-unified .bb-day-earnings>svg{display:none}body .bb-home-unified .bb-day-earnings strong{font-size:29px;color:var(--orange)}body .bb-home-unified .bb-day-earnings span,body .bb-home-unified .bb-week-earnings span{font-size:11px;color:var(--sub)}body .bb-home-unified .bb-week-earnings strong{font-size:16px;color:var(--text)}body .bb-home-unified .bb-performance-stats{gap:0;padding-top:12px}body .bb-home-unified .bb-stat{border-right:1px solid var(--line);gap:5px}body .bb-home-unified .bb-stat:last-child{border:0}body .bb-home-unified .bb-stat span{font-size:10px;color:var(--sub)}body .bb-home-unified .bb-stat strong{font-size:15px;color:var(--text)}.bb-rank-tile{min-height:80px;margin-top:12px;padding:12px}.bb-rank-icon{background:var(--warm);width:42px;height:42px;flex-basis:42px}.bb-rank-tile strong{font-size:23px}.bb-rank-tile small{color:var(--sub);font-size:10px}.bb-rank-status{display:none}.bb-version{color:var(--muted);font-size:10px;text-align:center;margin:18px 0 10px}.bb-iphone-note{color:var(--sub);background:var(--surface2);border-radius:8px;font-size:11px}.bb-support-info{padding:10px;font-size:11px;margin-top:12px}.bb-support-info p{color:var(--sub);margin:10px 0 0}.bb-offer-alert{border-radius:9px;background:var(--warm);border-color:var(--orange);color:var(--text)}
.page-top{gap:10px;margin:3px 0 18px;align-items:center}.page-top h1{font-size:22px}.page-top p{font-size:11px;margin:5px 0 0}.bb-back{background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:36px;width:36px;height:36px;min-height:36px;color:var(--sub);font-size:19px}.bb-page-label{gap:10px}.bb-deliveries-title{padding:0;margin:4px 0 16px}.bb-deliveries-title h1{font-size:22px}.bb-online-chip.on{background:var(--green-bg);color:var(--green);border-color:transparent}.bb-delivery-wait{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-height:200px;color:var(--text)}.bb-delivery-wait small{color:var(--sub)}
.order-card{padding:14px}.order-code{font-size:15px;color:var(--text)}.order-meta{border-color:var(--line);background:var(--surface2);border-radius:8px;padding:12px;gap:12px}.order-meta>div{min-width:0}.order-meta span{color:var(--sub);font-size:10px}.order-meta strong{color:var(--text);font-size:13px;overflow-wrap:anywhere}.order-actions{margin-top:15px;gap:8px}.order-actions button{min-height:44px}.timeline{gap:4px;margin:16px 0}.timeline span{color:var(--sub);border-color:var(--line);font-size:10px;background:var(--surface2)}.timeline span.active,.timeline span.done{background:var(--warm);color:var(--orange);border-color:var(--orange)}.bb-delivery-map,.queue-map{border-radius:10px;border-color:var(--line)}.bb-route-control{margin:12px 0;padding:12px}.bb-route-control button{background:var(--surface);color:var(--text);border-color:var(--line)}.bb-route-control p{color:var(--sub)}.bb-ifood-box{display:grid;gap:8px}.queue-stats{gap:6px}.queue-stats .metric{padding:10px 7px}.queue-stats .metric .value{font-size:23px}
.tab-sub,.bb-rank-tabs{display:flex;background:var(--surface2);border:0;border-radius:9px;padding:4px;gap:4px;margin:10px 0 14px}.tab-sub button,.bb-rank-tabs button{flex:1;border:0;background:transparent;color:var(--sub);font-size:12px;min-height:38px;border-radius:7px}.tab-sub .small-button.active,.bb-rank-tabs button.active{background:#f6923b;color:#172431}.hero-metrics{gap:8px}.hero-metrics .metric{min-width:0}.form-grid{gap:9px}.form-grid label{font-size:12px;color:var(--sub)}
.bb-ranking-hero,.bb-profile-hero{position:relative;isolation:isolate;border:1px solid #274052;border-radius:10px;overflow:hidden;background:#071725!important;color:#fff;min-height:125px;padding:18px!important;margin-bottom:14px}.bb-ranking-hero{background:linear-gradient(90deg,#061725 15%,#061725cc 48%,#06172511),url('/assets/courier-scene-rank-v58122.webp') right center/cover no-repeat!important}.bb-ranking-hero h1{font-size:21px;color:#fff;margin:0 0 6px}.bb-ranking-hero p{color:#d6e0ee;font-size:11px;margin:0;max-width:65%}.bb-ranking-hero .bb-back{float:left;margin-right:10px;background:#ffffff12;color:#fff;border-color:#ffffff40}.bb-week-position{background:var(--surface);padding:16px;min-height:110px}.bb-week-position strong{color:var(--orange);font-size:36px}.bb-week-position small,.bb-week-position span{color:var(--sub)}.bb-week-position .bb-icon{width:20px;height:20px}.bb-rank-stats{gap:8px}.bb-rank-stats>div{padding:11px;min-width:0}.bb-rank-stats b{color:var(--text);font-size:21px}.bb-rank-stats small,.bb-rank-stats em{font-size:10px;color:var(--sub)}.bb-ranking-list{padding:0 12px}.bb-ranking-head,.bb-ranking-row{border-color:var(--line)}.bb-ranking-row{padding:11px 0;gap:8px}.bb-ranking-row strong{font-size:12px;color:var(--text)}.bb-ranking-row small{color:var(--sub)}.bb-ranking-row>b{background:var(--surface2);color:var(--orange);font-size:13px;width:28px;height:28px;border-radius:7px}.bb-rank-photo{width:28px;height:28px;border-width:1px}.bb-rank-sla{color:var(--green)}.bb-ranking-empty{color:var(--sub);padding:24px 12px}.bb-rank-myrow{border-color:var(--line);border-radius:9px;background:var(--warm);color:var(--text)}.bb-rank-myrow small{color:var(--sub)}.bb-rank-explain{color:var(--sub)}
.bb-profile-hero{background:linear-gradient(90deg,#081b2c 30%,#081b2cd9 55%,#081b2c11),url('/assets/courier-scene-profile-v58122.webp') right 35%/auto 180% no-repeat!important;display:grid;grid-template-columns:66px 1fr;gap:6px 14px;text-align:left;align-items:center;min-height:148px}.bb-profile-intro{grid-column:1/-1}.bb-profile-intro h1{font-size:19px;margin:0}.bb-profile-intro p{display:none}.bb-profile-avatar{grid-column:1;grid-row:2/4;width:64px;height:64px;margin:0;border-width:3px}.bb-profile-hero>strong{grid-column:2;font-size:17px;color:#fff;margin:0}.bb-profile-clan{grid-column:2;color:#d6e0ee;font-size:11px}.bb-profile-body{padding:0}.bb-overlabel{margin:17px 0 9px;color:var(--sub);font-size:10px;letter-spacing:.6px}.bb-profile-panel{padding:0 14px;overflow:hidden}.bb-profile-data{border-color:var(--line);padding:12px 0;background:transparent}.bb-profile-data small{color:var(--sub);font-size:10px}.bb-profile-data strong{color:var(--text);font-size:13px;overflow-wrap:anywhere}.bb-profile-type{color:var(--sub);padding-bottom:12px;font-size:11px}.bb-profile-split{border-color:var(--line)}.bb-profile-collapsible{margin:12px 0;padding:12px}.bb-profile-collapsible summary{font-size:12px;color:var(--text)}.bb-profile-collapsible form{padding-top:10px}.bb-profile-secondary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.modal{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;width:min(94vw,500px);padding:18px;max-height:90dvh;overflow:auto;box-shadow:0 20px 60px #0005}.modal::backdrop{background:#020c17ad;backdrop-filter:blur(3px)}.modal h3{font-size:17px;margin:0 0 10px}.modal p{font-size:12px;color:var(--sub)}.modal-actions button{min-height:44px}.toast{position:fixed;background:var(--surface3);color:var(--text);border:1px solid var(--line);border-radius:10px;bottom:calc(88px + env(safe-area-inset-bottom));top:auto;left:50%;right:auto;transform:translateX(-50%);width:min(calc(100% - 32px),460px);padding:13px;font-size:12px;box-shadow:0 5px 25px #0005;z-index:1000}.toast.error{background:var(--red-bg);color:var(--red)}.bb-dialog-grid button{background:var(--surface2);color:var(--text);border-color:var(--line);border-radius:9px}.bb-route-dialog{background:var(--surface)}
/* Autenticação e cadastro completo, sem moldura artificial de telefone. */
body .bb-login-gate{background:var(--bg);min-height:100dvh;padding:0 0 26px}.bb-login-phone{max-width:460px;width:100%;background:var(--bg);box-shadow:none}.bb-login-hero{width:100%;height:auto;max-height:270px;overflow:hidden}.bb-login-hero img{display:block;width:100%;height:auto;object-fit:contain}.bb-login-content{padding:20px}.bb-login-field{background:var(--surface);border:1px solid var(--line);border-radius:9px;margin-bottom:12px;min-height:50px}.bb-login-field input{background:transparent;color:var(--text);height:50px;min-height:50px;font-size:16px}.bb-login-field-icon,.bb-password-toggle{color:var(--sub);fill:currentColor}.bb-login-field svg{fill:currentColor}.bb-forgot{color:var(--orange);font-size:12px}.bb-login-terms{color:var(--sub);font-size:11px;line-height:1.6}.bb-login-submit{background:#f6923b;color:#172431;border:0;border-radius:8px;height:46px;font-size:14px}.bb-login-outline{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;height:44px;font-size:13px}.bb-login-status{color:var(--orange);font-size:12px}.bb-gate-panel{background:var(--bg);color:var(--text)}.bb-gate-panel h2{font-size:23px}.bb-gate-panel>label,.bb-form-grid>label,.bb-registration-docs>label{color:var(--sub);font-size:12px}.bb-gate-panel input,.bb-gate-panel select{margin-top:6px}.bb-gate-back{color:var(--sub)}.bb-form-grid{gap:12px}.bb-gate-panel h3{color:var(--text)}.bb-registration-docs>label{border:1px dashed var(--line);background:var(--surface);padding:12px;border-radius:9px}.bb-form-message{border-radius:8px;background:var(--red-bg);color:var(--red)}.bb-form-message.success{background:var(--green-bg);color:var(--green)}.bb-registration-result{background:var(--surface);border-color:var(--line);color:var(--text)}.bb-registration-terms{color:var(--sub)}
/* Componentes novos: clã, vagas, preferências e detalhes. */
.v122-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.v122-head{background:linear-gradient(90deg,#081b2c 25%,#081b2ce8 60%,#081b2c44),url('/assets/courier-scene-rank-v58122.webp') right center/cover;color:#fff;padding:17px 13px;border-radius:10px;display:flex;gap:11px;align-items:center;min-height:112px;margin-bottom:14px}.v122-head h1{font-size:20px;margin:0 0 6px;color:#fff}.v122-head p{font-size:11px;color:#d6e0ee;margin:0}.v122-head .bb-back{background:#ffffff12;color:#fff;border-color:#ffffff33}.v122-head>div{flex:1;min-width:0}.v122-links{display:grid;gap:8px;margin:12px 0}.v122-link{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:13px 12px;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--text)}.v122-link>.v122-icon{color:var(--orange)}.v122-link>span{flex:1;min-width:0}.v122-link strong{display:block;font-size:13px}.v122-link small{display:block;color:var(--sub);font-size:11px;margin-top:4px}.v122-link b{font-size:20px;color:var(--muted)}
.v122-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.v122-kpis>div{padding:11px 9px;background:var(--surface);border:1px solid var(--line);border-radius:9px}.v122-kpis small{font-size:10px;color:var(--sub);display:block}.v122-kpis strong{font-size:25px;display:block;color:var(--text);margin-top:5px}.v122-kpis>div:nth-child(2) strong{color:var(--green)}.v122-kpis>div:nth-child(3) strong{color:var(--orange)}.v122-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0}.v122-toolbar>*{flex:1;min-width:0}.v122-toolbar button{flex:0 0 auto;padding:8px 12px}.v122-search{display:flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:0 12px;margin:12px 0;color:var(--sub)}.v122-search input{border:0;background:transparent;outline-offset:0}.v122-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v122-slot{padding:13px;text-align:left;border:1px dashed var(--line);border-radius:9px;background:var(--surface);display:grid;gap:8px;min-height:115px}.v122-slot.filled{border-style:solid;border-color:var(--green);background:var(--green-bg)}.v122-slot strong{font-size:12px}.v122-slot small{font-size:10px;color:var(--sub)}.v122-slot span{font-size:12px;color:var(--orange)}.v122-slot.filled span{color:var(--green)}.v122-progress{height:6px;background:var(--surface3);border-radius:4px;overflow:hidden;margin:10px 0 6px}.v122-progress i{height:100%;display:block;background:var(--green)}.v122-shift-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 9px;gap:8px;font-size:13px}.v122-shift-head small{color:var(--sub);font-size:11px}.v122-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);margin:8px 0;min-width:0}.v122-row>div{flex:1;min-width:0}.v122-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.v122-row small{display:block;color:var(--sub);font-size:11px;margin-top:5px}.v122-row .v122-icon{color:var(--orange)}.v122-row button{flex-shrink:0}.v122-actions{display:flex;gap:8px;margin-top:12px}.v122-actions>*{flex:1}.v122-modal-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:14px}.v122-modal-head>div{flex:1}.v122-modal-head h3{margin:0}.v122-modal-head button{width:34px;min-height:34px;padding:0}.v122-modal-context{padding:12px;background:var(--surface2);border:1px solid var(--line);border-radius:9px;font-size:12px;line-height:1.7;margin-bottom:14px}.v122-choice{width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:12px;margin:6px 0;display:flex;align-items:center;gap:10px}.v122-choice>span{flex:1}.v122-choice small{display:block;color:var(--sub);font-size:11px;margin-top:4px}.v122-choice.selected{border-color:var(--orange);background:var(--warm)}.v122-choice .v122-icon{color:var(--orange)}.v122-theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.v122-theme-options button{padding:15px 6px;min-height:88px;display:grid;justify-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:9px;font-size:12px}.v122-theme-options button.selected{border-color:var(--orange);background:var(--warm);color:var(--orange)}.v122-chart{display:flex;align-items:end;gap:8px;min-height:140px;padding:20px 8px 0}.v122-chart button{flex:1;min-width:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;color:var(--sub);font-size:10px}.v122-chart i{display:block;max-width:26px;width:80%;background:linear-gradient(#ffb15e,#e88732);border-radius:4px 4px 2px 2px}.v122-chart-readout{font-size:12px;color:var(--sub);min-height:24px;text-align:center;margin:10px 0 0}.v122-steps{display:flex;gap:5px;margin:12px 0 8px}.v122-steps i{height:4px;flex:1;background:var(--line);border-radius:4px}.v122-steps i.done{background:var(--orange)}.v122-step-name{font-size:11px;color:var(--sub);margin-bottom:18px}.v122-form-actions{display:flex;gap:10px;margin-top:18px}.v122-form-actions>*{flex:1}.v122-error{padding:12px;background:var(--red-bg);color:var(--red);border-radius:8px;font-size:12px;line-height:1.6}.v122-theme-toggle{border:0;background:transparent;color:var(--orange);padding:5px;width:36px;min-height:36px}.v122-theme-toggle svg{width:22px;height:22px}
@media(min-width:760px){body{background:var(--bg2)}#shell,.bb-login-phone{background:var(--bg);max-width:600px;margin:auto;min-height:100dvh;border-left:1px solid var(--line);border-right:1px solid var(--line)}.hero-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:359px){body .main-content,body[data-view] .main-content{padding-left:11px;padding-right:11px}.bb-home-avatar{height:40px;width:40px}.bb-hello span{font-size:15px}.v122-head h1{font-size:18px}.bb-home-toolrow{gap:4px}.bb-tool{width:32px;min-height:32px;height:32px}.bb-action-card{padding:10px 8px;gap:6px}.bb-action-text strong{font-size:14px}.bb-action-icon{width:31px;flex-basis:31px}.v122-toolbar{flex-wrap:wrap}.v122-toolbar input[type=date]{flex:1 0 100%}.v122-kpis{gap:5px}.v122-kpis>div{padding:10px 7px}.v122-kpis strong{font-size:22px}.bb-form-grid{grid-template-columns:1fr}.bb-form-grid .span2{grid-column:auto}.bb-login-content{padding:16px}.v122-grid{gap:7px}.v122-slot{padding:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Cabeçalhos de navegação seguem o protótipo sem uma arte atrás dos controles. */
.v122-head{background:none;color:var(--text);padding:4px 0 8px;min-height:88px;border-radius:0;flex-wrap:wrap}.v122-head h1{color:var(--text);font-size:22px}.v122-head p{color:var(--sub)}.v122-head .bb-back{background:var(--surface);color:var(--text);border-color:var(--line)}

body[data-view=home]{background:var(--bg)}
.bb-home-unified{padding:0}.bb-home-unified .bb-earnings-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}
.bb-day-earnings{display:flex;min-width:0}.bb-day-earnings>.bb-icon{display:none}.bb-day-earnings>div{min-width:0}.bb-day-earnings span,.bb-week-earnings span{display:block}.bb-day-earnings strong{display:block;letter-spacing:-.8px;margin-top:5px}.bb-week-earnings{text-align:right}.bb-week-earnings strong{display:block;margin-top:5px}
.bb-home-unified .bb-performance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.bb-home-unified .bb-stat{display:flex;flex-direction:column;align-items:center;min-width:0}.bb-stat>.bb-icon{width:22px;height:22px}.bb-stat>span{text-align:center}.bb-stat>strong{display:block}.bb-rank-copy{flex:1;display:grid;gap:4px}.bb-rank-position{display:flex;align-items:baseline;gap:8px}.bb-rank-link>.bb-icon{width:17px;height:17px}
.order-meta{padding:0;background:none}.order-meta div{background:var(--surface2);border-color:var(--line)}.bb-ranking-head{background:var(--surface2);color:var(--sub);font-size:10px}.bb-profile-clan{background:transparent;border:0;padding:0;border-radius:0;color:#d6e0ee}.bb-online-chip:not(.on){background:var(--surface2);color:var(--sub);border-color:var(--line)}.timeline .tick{color:var(--sub);border-color:var(--line)}.timeline .tick.done{color:var(--orange);border-color:var(--orange)}
.metric.feature{background:linear-gradient(120deg,#e6872d,#ffba62);border-color:transparent}.metric.feature .value,.metric.feature label,.metric.feature .hint{color:#24201b}
:root[data-theme=light] .bb-tool .bb-icon{filter:brightness(.4)}
.bb-dots button{min-height:14px}.bb-banner-group:after,.bb-banner:after{display:none}
/* Estados de acesso herdados usam especificidade maior; ambos os temas são explícitos. */
body:has(.bb-login-gate:not([hidden])),body .bb-login-gate{background:var(--bg)!important}
body .bb-login-content{background:var(--bg);padding:20px}
body .bb-login-phone{background:var(--bg);border-color:var(--line)}
body .bb-login-field{border:0;background:transparent}
body .bb-login-field input{background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:8px!important;height:48px!important;min-height:48px!important}
body .bb-login-field input::placeholder{color:var(--muted)}
body .bb-login-field input:focus{outline:2px solid var(--orange)!important;outline-offset:2px}
body .bb-login-field-icon,body .bb-password-toggle{color:var(--sub)}
body .bb-login-terms{color:var(--sub)!important;font-size:12px!important;line-height:1.6!important;gap:10px}
body .bb-login-terms strong{color:var(--orange)}
body .bb-forgot,body .bb-login-outline,body .bb-login-status{letter-spacing:0}
body .bb-gate-panel{border:0;border-radius:0;padding:0;box-shadow:none;background:var(--bg)}
body .bb-gate-panel label:not(.bb-registration-terms){color:var(--sub);font-size:12px}
body .bb-gate-panel input,body .bb-gate-panel select{background:var(--surface);color:var(--text);border-color:var(--line)}
body .bb-registration-docs label{background:var(--surface);border-color:var(--line)}
body .bb-registration-terms{color:var(--sub)!important}
body .bb-registration-terms[hidden],body .v122-reg-group[hidden]{display:none!important}
body .bb-registration-result strong{color:var(--text)}
body .bb-registration-result{background:var(--surface);border-color:var(--line)}
body .bb-gate-back{display:block;padding-bottom:12px}
.bb-home .bb-action-text strong{white-space:normal;overflow:visible;text-overflow:clip;font-size:clamp(12px,3.6vw,16px);overflow-wrap:anywhere}
.bb-support-info summary{color:var(--sub)}
.bb-dots{margin:5px 0}.bb-dots button{min-height:8px;height:8px;width:8px}.bb-dots button.active{height:8px;width:23px}
.bb-ifood-code-dialog,.bb-ifood-release-dialog{background:var(--surface);border-color:var(--line)}
.bb-ifood-code-dialog label,.bb-ifood-release-dialog h3{color:var(--text)}
.bb-ifood-box strong,.bb-ifood-box span,.bb-ifood-box small{color:var(--text)}
.bb-ifood-box em{color:var(--red)}.bb-ifood-box .bb-ifood-phone{color:var(--orange)}
.bb-ifood-release-dialog .bb-ifood-release-summary{background:var(--warm);color:var(--text);border-color:var(--orange)}.bb-ifood-release-dialog .bb-ifood-release-summary strong{color:var(--text)}
.order-actions button[data-action=reject-order]{color:var(--red);background:var(--red-bg);border-color:var(--red)}

.v122-success-icon{width:72px;height:72px;border-radius:50%;background:var(--warm);color:var(--orange);display:grid;place-items:center;font-size:34px;margin:24px auto}
/* Datas nativas também precisam encolher dentro das duas colunas. */
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>label{min-width:0}
#content input,#content select,#courierWorkspaceDialog input,#courierWorkspaceDialog select{min-width:0;max-width:100%;box-sizing:border-box}
#statementForm input[type=date]{width:100%;font-size:13px;padding:10px 7px}
@media(max-width:359px){#statementForm .form-grid{grid-template-columns:1fr}}
.bb-registration-docs input::file-selector-button{background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:5px;padding:7px;font:inherit}

/* V5.8.123 — ações na lista e status legíveis. */
.v123-order-toolbar{margin-bottom:14px}.v123-order-toolbar>div{display:flex;align-items:center;gap:6px}.v123-rank-refresh{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.v123-rank-refresh .helper{font-size:11px}.v123-member-status{color:var(--orange)!important;margin-top:6px!important}.v123-rank-refresh button{flex-shrink:0}.order-card .order-actions button{white-space:normal}

.v123-shift-tabs{flex-wrap:wrap}.v123-shift-tabs button{min-width:0;overflow-wrap:anywhere;flex:1 1 90px}.v122-modal-context{overflow-wrap:anywhere}

/* V5.8.125 — retorno por pedido e leitura temporária do QR. */
.v125-qr-order .order-actions{margin-top:10px}.v125-qr-order button[aria-busy=true],.order-card button[aria-busy=true]{border-color:var(--orange);color:var(--orange);white-space:normal}.v125-qr-order .v122-error{margin:10px 0}
