:root{--red:#e52332;--deep:#af0d23;--text:#17212d;--muted:#667386;--bg:#f4f6f9;--line:#e8eaf1;--shadow:0 9px 28px rgba(30,35,65,.07)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text)}body.mfde-app-body{background:var(--bg)}button,input{font:inherit}button{cursor:pointer}a{color:var(--deep);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.mfde-app{max-width:640px;margin:0 auto;padding:0 16px 104px}.mfde-header{display:flex;align-items:center;justify-content:space-between;padding:22px 2px 16px}.mfde-brand{display:flex;gap:10px;align-items:center}.mfde-symbol,.mfde-guest-mark{background:var(--red);border-radius:15px;display:grid;place-items:center;color:white;font-weight:1000;letter-spacing:-2px;width:47px;height:47px;font-size:19px;box-shadow:0 9px 18px rgba(225,35,50,.21)}.mfde-brand small,.mfde-brand strong{display:block;line-height:1.2}.mfde-brand small{font-size:10px;font-weight:800;color:var(--muted);letter-spacing:.15em}.mfde-brand strong{font-size:20px;letter-spacing:-.04em}.mfde-network{font-size:12px;font-weight:700;color:#b16a1e;background:#fff3e4;border-radius:20px;padding:8px 12px}.mfde-network.ok{color:#168153;background:#e6f7ef}.mfde-hero{border-radius:22px;padding:24px;background:linear-gradient(135deg,#f23042,#b80e2a);color:white;display:flex;align-items:center;gap:18px;justify-content:space-between;box-shadow:0 15px 25px rgba(190,23,42,.17)}.mfde-hero small{font-size:10px;letter-spacing:.15em;opacity:.8;font-weight:800}.mfde-hero h1{font-size:23px;line-height:1.2;margin:10px 0}.mfde-hero p{margin:0;font-size:12px;opacity:.9}.mfde-online{border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.17);color:white;border-radius:50px;padding:10px 12px;font-size:12px;font-weight:800;min-width:120px}.mfde-online.active{background:white;color:#146c48;border-color:white}.mfde-online:disabled{opacity:.6}.mfde-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 23px}.mfde-summary>div{background:white;border:1px solid var(--line);padding:16px;border-radius:17px;box-shadow:var(--shadow)}.mfde-summary span,.mfde-card>span{color:var(--muted);font-size:12px}.mfde-summary strong{display:block;font-size:22px;letter-spacing:-.04em;margin-top:7px}.mfde-view h2{font-size:18px;margin:18px 0 12px;letter-spacing:-.04em}.mfde-live{color:#168153;font-size:11px;font-weight:700;margin-left:5px;letter-spacing:normal}.mfde-stack{display:grid;gap:12px}.mfde-card{padding:19px;border-radius:19px;background:white;border:1px solid var(--line);box-shadow:var(--shadow)}.mfde-card h3{margin:13px 0 8px;font-size:17px}.mfde-card p{margin:8px 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.mfde-card .mfde-row{margin:13px 0 0}.mfde-card .mfde-row:first-child{margin-top:0}.mfde-row{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.mfde-tag{border-radius:50px;color:#af1833;background:#fff0f1;padding:6px 10px;font-size:11px;font-weight:800}.mfde-primary,.mfde-secondary{border:0;display:inline-flex;justify-content:center;align-items:center;border-radius:12px;padding:12px 14px;font-size:13px;font-weight:800}.mfde-primary{color:white;background:var(--red);box-shadow:0 6px 12px rgba(229,35,50,.16)}.mfde-primary:hover{background:var(--deep);text-decoration:none}.mfde-secondary{background:#f3f5f7;color:#263445;border:1px solid #e7eaf0}.mfde-links a{font-size:12px;padding:8px 4px;font-weight:700}.mfde-empty{background:white;color:var(--muted);text-align:center;border:1px dashed #d5dbe4;border-radius:17px;padding:23px;margin:0;font-size:13px}.mfde-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:640px;width:100%;background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:8px 20px max(11px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);z-index:20}.mfde-bottom button{border:none;background:none;color:#8b94a5;font-size:23px;display:grid;justify-items:center;padding:6px}.mfde-bottom button span{font-size:11px;font-weight:800}.mfde-bottom button.active{color:var(--red)}.mfde-alert{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:120;max-width:550px;width:calc(100% - 24px);display:none;padding:14px;border-radius:12px;box-shadow:var(--shadow);font-weight:700}.mfde-alert.good{display:block;background:#e9f8ef;color:#14744e}.mfde-alert.bad{display:block;background:#fff0f2;color:#ad1731}.mfde-muted{color:var(--muted);font-size:12px}.mfde-modal{position:fixed;inset:0;z-index:100;background:rgba(12,22,35,.5);padding:15px;display:grid;place-items:center}.mfde-modal-card{width:min(600px,100%);height:min(620px,85vh);border-radius:20px;background:white;display:flex;flex-direction:column;padding:17px}.mfde-modal-top{display:flex;align-items:center;justify-content:space-between}.mfde-modal-top button{border:none;background:#f4f5f8;padding:10px;border-radius:10px}.mfde-chat-list{flex:1;overflow:auto;background:#f7f8fa;border-radius:12px;padding:12px;margin:12px 0}.mfde-chat-list p{max-width:80%;padding:10px;border-radius:12px;background:white;box-shadow:0 1px 2px #ddd;overflow-wrap:anywhere}.mfde-chat-list p.mine{margin-left:auto;background:#ffe8eb}.mfde-chat-list small{color:var(--muted)}#chat-form{display:flex;gap:8px}#chat-text{flex:1;min-width:0;padding:11px;border:1px solid var(--line);border-radius:10px}#chat-form button{border:0;border-radius:10px;background:var(--red);color:white;font-weight:800;padding:10px 16px}.mfde-guest{max-width:430px;margin:8vh auto 0;padding:24px;text-align:center}.mfde-guest-mark{margin:0 auto 26px;width:80px;height:80px;border-radius:23px;font-size:32px}.mfde-guest h1{letter-spacing:-.05em;font-size:30px}.mfde-guest h1 b{color:var(--red)}.mfde-guest>p{color:var(--muted);line-height:1.7}.mfde-guest>a{display:flex;margin:30px 0 20px}.mfde-guest details{background:white;border:1px solid var(--line);border-radius:15px;padding:15px}.mfde-guest summary{font-weight:800;cursor:pointer}.mfde-reg-form{text-align:left;margin-top:18px}.mfde-reg-form label{display:block;font-weight:700;font-size:13px;margin:12px 0}.mfde-reg-form input{display:block;margin-top:5px;width:100%;padding:11px 12px;border:1px solid #d8dee6;border-radius:10px}.mfde-reg-form .mfde-primary{width:100%}.mfde-ok,.mfde-error{padding:14px;border-radius:12px;margin:10px 0}.mfde-ok{background:#e8f6ef}.mfde-error{background:#ffe6e6}@media(min-width:600px){.mfde-app{padding-left:24px;padding-right:24px}}@media(max-width:390px){.mfde-hero{padding:17px}.mfde-hero h1{font-size:20px}.mfde-online{min-width:105px;padding:10px 7px;font-size:11px}}

.mfde-gps-health{font-size:12px;font-weight:700;color:#716431;background:#fff9e7;border:1px solid #fff0bd;padding:10px 12px;border-radius:11px;margin:0 0 15px}.mfde-gps-health.good{color:#19764a;background:#e7f8ee;border-color:#c6ebd7}.mfde-gps-health.bad{color:#a91f39;background:#fff0f2;border-color:#ffd2d9}.mfde-quick-chat{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.mfde-quick-chat button{background:#fff4f5;border:1px solid #f9d6dc;color:#b4223d;border-radius:25px;padding:7px 10px;font-size:11px;font-weight:700}

/* MASTERFOOD ENTREGAS • IDENTIDADE OFICIAL PWA / LOGIN v1.3.4 */
.mfde-official-brand{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;margin:0 auto;text-align:center}
.mfde-official-brand img{display:block;width:min(80vw,310px);height:auto;max-width:100%;object-fit:contain}
.mfde-official-tag{display:block;background:linear-gradient(100deg,#ef001e,#c6001c);color:white;font-size:11px;font-weight:900;letter-spacing:.32em;border-radius:999px;padding:4px 24px 5px;text-transform:uppercase;box-shadow:0 6px 15px rgba(203,0,25,.12)}
.mfde-brand-official .mfde-official-brand{align-items:flex-start;margin:0;gap:1px}
.mfde-brand-official .mfde-official-brand img{width:132px;max-width:100%}
.mfde-brand-official .mfde-official-tag{font-size:8px;letter-spacing:.15em;padding:2px 13px;box-shadow:none}
.mfde-auth-page{isolation:isolate;position:relative;overflow:hidden;min-height:100svh;padding:44px 18px max(35px,env(safe-area-inset-bottom));max-width:520px;margin:0 auto;text-align:center;background:linear-gradient(160deg,#fff 0%,#fff 55%,#fff6f6 100%)}
.mfde-auth-page:before{content:"";position:absolute;z-index:-1;pointer-events:none;left:-155px;top:-155px;width:290px;height:270px;border-radius:50%;background:radial-gradient(circle,#ffd0d0,#fff7f7 67%,transparent 70%)}
.mfde-auth-page:after{content:"";position:absolute;z-index:-1;pointer-events:none;right:-190px;bottom:-220px;width:420px;height:320px;border-radius:50%;background:radial-gradient(circle,#ffd4d4,transparent 71%)}
.mfde-auth-brand img{width:min(84vw,330px)}
.mfde-auth-kicker{margin:13px 0 22px;color:#545b69;font-size:11px;font-weight:800;letter-spacing:.38em}
.mfde-auth-card{max-width:440px;margin:0 auto;text-align:left;padding:25px 22px;background:#fff;border:1px solid #f1e7e8;border-radius:23px;box-shadow:0 18px 50px rgba(42,16,24,.09)}
.mfde-auth-card h1{font-size:22px;line-height:1.22;letter-spacing:-.04em;margin:0 0 7px;color:#141d29}
.mfde-auth-card>p{color:#6a7481;font-size:13px;margin:0 0 19px;line-height:1.5}
.mfde-auth-card label:not(.mfde-remember){display:block;text-align:left;font-size:12px;color:#334053;font-weight:750;margin:13px 0 7px}
.mfde-auth-card input:not([type=checkbox]),.mfde-auth-card select{width:100%;min-height:46px;border:1px solid #dce1e9;border-radius:12px;background:#f9fafc;padding:12px 13px;outline:none;color:#192737;font-size:14px}
.mfde-auth-card input:focus-visible{border-color:#de1733;box-shadow:0 0 0 3px rgba(224,22,50,.1)}
.mfde-auth-card input::placeholder{color:#a8b0ba}
.mfde-auth-card .mfde-primary{display:flex;width:100%;margin-top:18px;padding:15px 12px;border-radius:12px;font-size:15px;min-height:47px}
.mfde-remember{display:flex!important;align-items:center;gap:8px;font-size:12px;color:#687484;margin-top:14px;cursor:pointer}
.mfde-remember input{accent-color:#e52332}
.mfde-register-link,.mfde-back-login{display:block;font-weight:800;font-size:12px;text-align:center;margin-top:17px;color:#d31b34}
.mfde-auth-moto{margin:-2px auto 0;max-width:420px;position:relative;overflow:hidden;border-radius:0 0 22px 22px}
.mfde-auth-moto img{display:block;width:100%;max-height:300px;object-fit:cover;object-position:center 39%;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 92%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 92%,transparent 100%)}
.mfde-auth-merchant .mfde-auth-card{margin-top:52px}
.mfde-merchant-foot{color:#8a93a1;font-size:12px;margin-top:34px}
.mfde-auth-register .mfde-auth-card>p{margin-bottom:10px}
.mfde-auth-register .mfde-reg-form{margin-top:0}
.mfde-honeypot{display:none!important}
/* Imagem de abertura apenas ao iniciar o PWA instalado, não ao atualizar a página. */
.mfde-launch{display:none;position:fixed;z-index:2147483646;inset:0;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff 56%,#fff3f3 100%);align-items:center;justify-content:center;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
html.mfde-show-splash .mfde-launch{display:flex}
.mfde-launch-main{position:relative;width:min(100%,490px);height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;padding:clamp(26px,6vh,65px) 15px 25px}
.mfde-launch-main:before{content:"";position:absolute;z-index:-1;top:-14%;left:-40%;width:90%;height:37%;background:radial-gradient(ellipse,#ffd4d4,transparent 70%);pointer-events:none}
.mfde-launch-label{display:block;letter-spacing:.38em;color:#454d57;font-size:12px;margin:16px 0 5px}
.mfde-launch-illustration{flex:1;min-height:0;width:100%;display:grid;place-items:center;overflow:hidden}
.mfde-launch-illustration img{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center center;border-radius:15px;-webkit-mask-image:linear-gradient(to bottom,transparent 1%,#000 16%,#000 89%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 1%,#000 16%,#000 89%,transparent 100%)}
.mfde-launch-loading{width:min(270px,80%);padding-top:10px;text-align:center;color:#687383;font-size:12px}
.mfde-launch-bar{height:6px;width:100%;border-radius:90px;background:#e5e8ed;overflow:hidden;margin-bottom:11px}
.mfde-launch-bar i{height:100%;display:block;width:42%;border-radius:90px;background:linear-gradient(90deg,#f02b3c,#e52332);animation:mfde-launch-progress .35s ease-out forwards}
.mfde-launch-footer{font-size:9px;letter-spacing:.25em;font-weight:700;color:#8b92a0;margin:22px 0 4px}
@keyframes mfde-launch-progress{0%{width:12%}95%{width:97%}100%{width:100%}}
@media (prefers-reduced-motion:reduce){.mfde-launch-bar i{animation:none;width:100%}}
@media (max-width:390px){.mfde-auth-page{padding-top:26px}.mfde-auth-kicker{margin-bottom:13px}.mfde-auth-card{padding:20px 18px}.mfde-auth-moto img{max-height:240px}.mfde-brand-official .mfde-official-brand img{width:119px}}
@media (min-width:700px){.mfde-auth-page{padding-top:70px;min-height:100vh;box-shadow:0 0 65px rgba(20,25,35,.05)}.mfde-auth-moto img{max-height:290px}}

.mfde-driver-docform{display:grid;gap:10px;margin-top:18px}.mfde-driver-docform h3{margin:16px 0 0;color:#b51a2b}.mfde-driver-docform label{display:grid;gap:6px;font-weight:650;font-size:13px}.mfde-driver-docform input,.mfde-driver-docform select{max-width:100%;min-width:0;border:1px solid #e6e4e4;border-radius:10px;padding:12px;background:white}.mfde-driver-profile{margin-top:20px;border-top:1px solid #eee;padding-top:18px}.mfde-contact{display:inline-block;border:1px solid #f5c3cb;border-radius:10px;padding:10px;color:#c5122f}.mfde-contact summary{cursor:pointer;font-weight:700}.mfde-contact a{color:#c5122f;font-weight:700}.mfde-offer-modal{z-index:10000}.mfde-offer-modal .mfde-modal-card{width:min(440px,95vw);padding:28px;background:#fff;border:5px solid #e52332;border-radius:24px;text-align:center}.mfde-offer-money{font-size:40px;color:#d61d30;font-weight:900}.mfde-offer-modal button{font-size:17px;min-height:55px}.mfde-offer-modal[hidden]{display:none!important}

/* Contato do consumidor fica bloqueado ate retirada efetiva. */
.mfde-contact-locked{display:inline-block;padding:9px 12px;border-radius:10px;background:#f5f6f8;color:#5d697a;font-size:12px;font-weight:700;max-width:100%}
.mfde-contact a{display:inline-block;padding:8px 7px;min-height:35px}

.mfde-return-warning{display:inline-block;color:#991b1b;background:#fee2e2;border:1px solid #f87171;padding:8px 12px;border-radius:10px;font-size:12px;font-weight:900;letter-spacing:.035em}
/* MasterFood Entregas 1.7 — telas compactas e acessíveis Android/iOS */
.mfde-bottom{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:6px 5px max(8px,env(safe-area-inset-bottom))}.mfde-bottom button{font-size:20px;padding:5px 2px;min-width:0}.mfde-bottom button span{font-size:10px}
.mfde-offer-modal{padding:0;place-items:end center;background:rgba(13,19,27,.68)}
.mfde-offer-modal .mfde-modal-card{height:min(93dvh,850px);max-height:calc(100dvh - env(safe-area-inset-top));width:min(640px,100%);padding:0!important;border:0!important;background:#fff;border-radius:23px 23px 0 0!important;overflow:hidden;text-align:left;display:flex;flex-direction:column;box-shadow:0 -15px 60px #0004}
.mfde-offer-map{height:clamp(135px,27dvh,290px);background:linear-gradient(140deg,#ecf0f5,#dbe4ea);flex-shrink:0;overflow:hidden;position:relative}
.mfde-map-placeholder{display:grid;place-items:center;height:100%;font-weight:750;color:#68758a;font-size:13px}
.mfde-offer-sheet{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;border-radius:25px 25px 0 0;margin-top:-20px;position:relative;box-shadow:0 -7px 22px #0001}
.mfde-sheet-grip{height:5px;width:42px;background:#d5d9df;border-radius:50px;margin:12px auto 0;flex-shrink:0}
.mfde-offer-sheet h2{font-size:20px;font-weight:850;letter-spacing:-.035em;text-align:center;margin:9px 13px;color:#181d27}
.mfde-offer-scroll{padding:0 18px 6px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;overflow-wrap:anywhere}
.mfde-offer-scroll h3{margin:8px 0;text-align:center;font-size:16px}.mfde-offer-scroll p{font-size:13px;line-height:1.45;margin:11px 0;color:#3a4556}
.mfde-offer-scroll .mfde-offer-money{font-size:36px;line-height:1.1;font-weight:900;letter-spacing:-.05em;text-align:center;color:#bf1b2c;margin:8px 0 11px}
.mfde-offer-fixed{flex-shrink:0;padding:12px 16px max(16px,env(safe-area-inset-bottom));border-top:1px solid #f0f1f4;background:#fff}
.mfde-offer-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mfde-offer-modal .mfde-offer-buttons button{width:100%;min-height:58px!important;padding:12px 8px!important;margin:0!important;border-radius:14px;font-size:14px;line-height:1.2;position:static!important;transform:none!important}
.mfde-offer-progress{height:5px;background:#f0f1f4;border-radius:50px;overflow:hidden;margin-bottom:12px}.mfde-offer-progress i{display:block;width:100%;height:100%;background:#e52332;transition:width .5s linear}
.mfde-route-details{background:#f9eaf0;color:#992033!important;border-radius:10px;padding:10px;font-size:12px;font-weight:700}
.mfde-inline-map{margin:12px 0 5px;height:270px;background:#eef1f5;border-radius:16px;overflow:hidden}.mfde-inline-map[hidden]{display:none}
.mfde-trip-timeline{border:1px solid #ebedf2;padding:10px;border-radius:12px;margin-top:12px}.mfde-trip-timeline summary{font-weight:750;color:#a91832}.mfde-trip-timeline p{border-left:3px solid #cf2739;padding:6px 10px}
.mfde-incident-card{max-width:480px;height:auto;max-height:85dvh;overflow:auto;gap:10px}.mfde-incident-card form{display:grid;gap:14px}.mfde-incident-card label{display:grid;gap:6px;font-weight:750}.mfde-incident-card select,.mfde-incident-card textarea{border:1px solid #d8dce5;border-radius:10px;padding:12px;max-width:100%}
.mfde-rating-bar{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:8px;margin:10px 0}.mfde-rating-bar span{background:#eef0f3;border-radius:30px;overflow:hidden;height:10px}.mfde-rating-bar i{height:100%;display:block;background:#e7a928;border-radius:30px}
@media(max-height:640px){.mfde-offer-map{height:95px}.mfde-offer-sheet h2{font-size:17px;margin:6px 0}.mfde-offer-modal .mfde-modal-card{height:100dvh;border-radius:0!important}.mfde-offer-fixed{padding:6px 14px max(8px,env(safe-area-inset-bottom))}.mfde-offer-modal .mfde-offer-buttons button{min-height:49px!important}}

/* CTA de cadastro do lojista — destaque prioritário v1.7.1 */
.mfde-register-callout{display:grid;grid-template-columns:42px minmax(0,1fr);gap:7px 12px;align-items:center;margin:20px 0 2px;padding:16px;border:1px solid #f2c5cc;border-radius:17px;background:linear-gradient(145deg,#fff7f8 0%,#fff 72%);box-shadow:0 8px 22px rgba(190,20,48,.09)}
.mfde-register-callout-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#ffe3e7;color:#c8102e;font-size:29px;font-weight:500;line-height:1}
.mfde-register-callout-copy{display:grid;gap:3px;min-width:0}
.mfde-register-callout-copy strong{font-size:14px;color:#202b39;font-weight:850}
.mfde-register-callout-copy span{font-size:11px;line-height:1.4;color:#697586}
.mfde-register-cta{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;margin-top:7px;padding:13px 16px;border-radius:13px;background:linear-gradient(100deg,#ed263b,#c90f2d);box-shadow:0 8px 17px rgba(205,17,47,.23);color:#fff!important;font-size:13px;font-weight:900;letter-spacing:.035em;text-align:center;text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease}
.mfde-register-cta span{font-size:20px;line-height:1}
.mfde-register-cta:hover,.mfde-register-cta:focus-visible{background:linear-gradient(100deg,#d91c32,#a90b25);box-shadow:0 10px 22px rgba(205,17,47,.3);transform:translateY(-1px);outline:3px solid rgba(229,35,50,.18);outline-offset:2px}
.mfde-register-callout>small{grid-column:1/-1;text-align:center;color:#87909d;font-size:10px;margin-top:1px}
.mfde-auth-merchant .mfde-auth-card{margin-top:35px}
@media(max-width:390px){.mfde-register-callout{padding:13px;gap:7px 10px}.mfde-register-cta{min-height:50px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.mfde-register-cta{transition:none}}

/* 1.8.0: painel de corrida organizado */
.mfde-action-groups{display:grid;gap:12px;margin:16px 0}.mfde-action-group{padding:13px;background:#f6f7fa;border:1px solid #e8eaf0;border-radius:16px}.mfde-action-group>span{display:block;font-size:12px;font-weight:800;letter-spacing:.04em;color:#6a7180;margin-bottom:9px}.mfde-action-buttons{display:flex;flex-wrap:wrap;gap:9px}.mfde-action-buttons button{flex:1 1 180px;min-height:45px}.mfde-map-title{font-size:15px;font-weight:800;margin:16px 0 8px;color:#1e2836}.mfde-map-visible{display:block!important;min-height:260px;border-radius:18px;overflow:hidden;margin-top:6px}.mfde-route-details{line-height:1.5}

/* 1.8.5: aviso de chat prioritário no PWA */
#mfde-important-chat[hidden]{display:none!important}
#mfde-important-chat{position:fixed;inset:0;z-index:2147483000;background:rgba(12,20,34,.73);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}
.mfde-important-chat-card{width:min(100%,430px);border-radius:22px;background:#fff;padding:25px;box-shadow:0 22px 70px #0005;color:#162033}
.mfde-important-chat-card strong{font-size:22px;display:block;color:#b71931}
.mfde-important-chat-card p{font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.mfde-important-chat-card small{color:#667085}
.mfde-important-chat-card>div{display:grid;gap:9px;margin-top:22px}
.mfde-important-chat-card button{border:0;border-radius:12px;padding:14px;font-size:15px;font-weight:800;background:#e3203b;color:#fff}
.mfde-important-chat-card button:last-child{background:#eef1f5;color:#26344a}

/* v2.9.3 - correção de destino no Google Maps */
.mfde-destination-card{max-width:720px;max-height:90dvh;overflow-y:auto}.mfde-destination-card textarea{width:100%;box-sizing:border-box}.mfde-destination-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.mfde-destination-check{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f3f6fc;border:1px solid #d9e0e9;border-radius:10px}.mfde-destination-check input{flex:none;width:22px;height:22px;accent-color:#d61b35}.mfde-destination-action{margin:10px 0}

.mfde-driver-return-note{border:1px solid #f8d1d5;background:#fff4f5;border-radius:12px;padding:12px;margin:12px 0;color:#78303e;font-size:14px;line-height:1.5}.mfde-driver-return-note p{margin:5px 0}.mfde-driver-return-note strong{color:#a71932}

.mfde-location-text-only{border:1px solid #f7cc82;background:#fffaed;color:#7a4912;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.5}

/* v2.19.16 — experiência premium do motoboy */
.mfde-app-body{background:linear-gradient(180deg,#f6f8fb 0%,#fff 48%)!important}
.mfde-app{max-width:680px!important}
.mfde-header{padding:15px 2px 12px!important;min-height:70px}
.mfde-header .mfde-network{display:none!important}
.mfde-header .mfde-official-brand{max-width:222px}
.mfde-duty{background:#fff!important;border:1px solid #e9edf3!important;box-shadow:0 12px 34px #1420350d!important;border-radius:23px!important;color:#172238!important;padding:20px 18px!important;gap:14px!important;align-items:center!important}
.mfde-duty .mfde-duty-info{min-width:0;flex:1}
.mfde-duty small{color:#778499!important;opacity:1!important;font-size:10px!important;font-weight:700!important;letter-spacing:.12em}
.mfde-duty h1{color:#1a2738!important;font-size:21px!important;font-weight:800!important;letter-spacing:-.045em;margin:5px 0!important}
.mfde-duty p{color:#78869a!important;opacity:1!important;font-size:11px!important;line-height:1.4!important;max-width:260px}
.mfde-duty .mfde-online{border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#16a86b,#06754c)!important;color:#fff!important;padding:15px 12px!important;min-width:134px!important;min-height:55px;box-shadow:0 9px 22px #04946130!important;font-size:12px!important;letter-spacing:.03em}
.mfde-duty .mfde-online.active{background:linear-gradient(135deg,#e52b48,#b31937)!important;box-shadow:0 9px 22px #d62b4630!important;color:white!important}
.mfde-duty .mfde-online:disabled{background:#b2bdca!important;box-shadow:none!important}
.mfde-driver-setup{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 14px;padding:13px 15px;background:#fff;border:1px solid #e8edf5;border-radius:17px;box-shadow:0 6px 20px #18294209}
.mfde-driver-setup>div{min-width:0;display:grid;gap:4px}
.mfde-driver-setup strong{font-size:12px;color:#223149}
.mfde-driver-setup small{font-size:11px;color:#697a90;line-height:1.4}
.mfde-driver-setup button{flex:none!important;font-size:11px;padding:9px 12px!important}
.mfde-driver-setup.ready{border-color:#d9eee3;background:#f5fcf8}
.mfde-summary>div{border:1px solid #e7edf5!important;border-radius:19px!important;box-shadow:0 10px 25px #1723370b!important;background:#fff!important;padding:17px!important}
.mfde-summary>div:first-child{background:linear-gradient(135deg,#ecfff6,#fff)!important}
.mfde-summary>div:nth-child(2){background:linear-gradient(135deg,#f1f5ff,#fff)!important}
.mfde-summary strong{color:#152138;font-size:26px!important;font-weight:850}
.mfde-card{border-radius:22px!important;box-shadow:0 12px 30px #18253a0b!important;border-color:#e8edf5!important}
.mfde-view h2{font-size:19px!important;color:#1c2a3e!important;font-weight:800!important;letter-spacing:-.04em}
.mfde-primary{background:linear-gradient(135deg,#e52a46,#bd1836)!important;border-radius:14px!important;min-height:44px!important}
.mfde-secondary{border-radius:14px!important;min-height:40px!important}
.mfde-bottom{border:1px solid #e7eaf0!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;box-shadow:0 -12px 35px #17263b12!important}
.mfde-bottom button{transition:color .16s ease,transform .16s ease}.mfde-bottom button.active{color:#dc2945!important;transform:translateY(-2px)}
.mfde-offer-modal .mfde-modal-card{border-radius:24px!important}.mfde-offer-buttons button{border-radius:15px!important;font-weight:800!important}
@media(max-width:410px){.mfde-duty{padding:15px!important}.mfde-duty h1{font-size:18px!important}.mfde-duty .mfde-online{min-width:112px!important;padding:11px 8px!important;font-size:11px!important}.mfde-driver-setup{padding:11px}.mfde-driver-setup strong{font-size:11px}}
/* 2.19.17 — Header centralizado, GPS no topo e estado do plantão fixo sobre o menu */
.mfde-app{padding-bottom:190px!important}
.mfde-header.mfde-header-centered{display:flex!important;justify-content:center!important;align-items:center!important;padding:17px 2px 11px!important}
.mfde-header-centered .mfde-brand{justify-content:center!important;text-align:center!important;width:100%}
.mfde-header-centered .mfde-brand img{max-width:min(280px,83vw);height:auto}
.mfde-header-centered .mfde-network{display:none!important}
.mfde-gps-health.mfde-gps-top{width:max-content;max-width:100%;box-sizing:border-box;margin:0 auto 14px!important;text-align:center;border-radius:999px!important;padding:8px 15px!important;font-size:11px!important;font-weight:700!important;box-shadow:0 5px 16px #19263c0a}
.mfde-plantao-fixed{position:fixed;left:50%;transform:translateX(-50%);width:100%;max-width:640px;bottom:calc(71px + env(safe-area-inset-bottom));padding:8px 14px 6px;box-sizing:border-box;z-index:21;background:linear-gradient(0deg,#f5f7faf5 77%,#f5f7fa00);pointer-events:none}
.mfde-plantao-fixed .mfde-online{display:block!important;width:100%!important;min-height:55px!important;padding:13px 16px!important;box-sizing:border-box;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#df2542,#b41933)!important;color:#fff!important;box-shadow:0 8px 22px #bc1d3942!important;font-size:15px!important;font-weight:850!important;letter-spacing:.08em!important;text-align:center;pointer-events:auto}
.mfde-plantao-fixed .mfde-online.active{background:linear-gradient(135deg,#1bb879,#087b51)!important;box-shadow:0 8px 22px #087b5140!important;color:#fff!important}
.mfde-plantao-fixed .mfde-online:disabled{opacity:.62;cursor:not-allowed;box-shadow:none!important}
@media(max-width:390px){.mfde-plantao-fixed{bottom:calc(69px + env(safe-area-inset-bottom));padding-left:10px;padding-right:10px}.mfde-plantao-fixed .mfde-online{min-height:51px!important}}

/* 2.19.18 Motoboy: mapa principal, configurações em modal e filtros financeiros */
.mfde-main-map-panel{position:relative;margin:12px -16px 18px;height:min(61vh,610px);min-height:335px;background:#e8edf2;border-radius:22px;overflow:hidden;border:1px solid #dfe6ef;box-shadow:0 15px 36px #15203816}
.mfde-main-map{width:100%;height:100%;background:linear-gradient(135deg,#e8edea,#d7e7ed)}
.mfde-map-actions{position:absolute;right:14px;bottom:52px;display:grid;gap:10px;z-index:2}
.mfde-map-actions button{border:1px solid #e3e8f0;background:#fff;color:#17233a;border-radius:14px;width:47px;height:47px;font-size:25px;font-weight:800;box-shadow:0 9px 24px #101b2c2b}
.mfde-map-actions button:last-child{font-size:21px;color:#ce253d}
.mfde-map-note{position:absolute;bottom:13px;left:14px;padding:7px 12px;background:#ffffffea;color:#42516a;border-radius:50px;font-size:11px;font-weight:700;box-shadow:0 6px 20px #19294012}
.mfde-settings-card,.mfde-road-card{max-width:450px;height:auto!important;max-height:85dvh;overflow:auto;gap:13px;padding:20px!important;border-radius:23px!important}
.mfde-settings-card .mfde-modal-top h3,.mfde-road-card .mfde-modal-top h3{font-size:19px;font-weight:800;margin:0}
.mfde-settings-sound{display:grid;gap:8px;color:#36465b;font-size:13px;font-weight:700}
.mfde-settings-sound select{width:100%;border:1px solid #dae2eb;border-radius:12px;padding:12px;background:#f8fafc;color:#26344c}
.mfde-sound-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.mfde-sound-actions button{min-height:41px!important}
.mfde-road-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mfde-road-options button{border:1px solid #e2e8f0;border-radius:14px;background:#f7f9fc;text-align:left;padding:15px 11px;font-size:13px;font-weight:750;color:#24334b}
.mfde-road-options button:active{background:#ffe8ed}
.mfde-ledger-filter{display:flex;gap:7px;overflow-x:auto;padding:4px 1px 9px;scrollbar-width:thin}
.mfde-ledger-filter button{white-space:nowrap;flex:none;border:1px solid #e4e9f1;background:white;color:#56667c;border-radius:999px;padding:10px 13px;font-size:12px;font-weight:750}
.mfde-ledger-filter button.active{background:#e52332;color:#fff;border-color:#e52332}
.mfde-ledger-custom{display:flex;flex-wrap:wrap;gap:9px;align-items:end;margin:8px 0 16px;padding:13px;background:#fff;border-radius:14px;border:1px solid #e7ebf3}
.mfde-ledger-custom label{display:grid;gap:4px;font-size:11px;color:#607086}.mfde-ledger-custom input{max-width:156px;border:1px solid #dbe2ed;border-radius:9px;padding:8px}
@media(min-width:600px){.mfde-main-map-panel{margin-left:-24px;margin-right:-24px}}

/* 2.19.20: mapa apenas em Corridas, botão oficial de localização. */
#mfde-map-center{display:flex;align-items:center;justify-content:center;color:#29364a;font-size:inherit}
#mfde-map-center svg{display:block}
.mfde-map-actions button:last-child{font-size:inherit;color:#29364a}

/* MASTERFOOD ENTREGAS v2.19.21 — interface operacional limpa, sem sobreposições */
:root{--mfde-bottom-h:calc(64px + env(safe-area-inset-bottom));--mfde-duty-h:72px;--mfde-head-h:70px}
body.mfde-app-body{background:#f7f8fb!important}
.mfde-app{max-width:680px!important;margin-inline:auto!important;min-height:100dvh;padding-top:0!important;padding-bottom:calc(var(--mfde-bottom-h) + 20px)!important}
.mfde-header.mfde-header-compact{display:flex!important;justify-content:space-between!important;align-items:center!important;position:relative;min-height:var(--mfde-head-h)!important;height:var(--mfde-head-h)!important;padding:8px 2px!important;border-bottom:1px solid #e9edf2;z-index:6;background:#fff}
.mfde-header-compact .mfde-brand{width:auto!important;max-width:min(250px,69vw);justify-content:flex-start!important;text-align:left!important}
.mfde-header-compact .mfde-brand img{width:auto;max-height:35px;max-width:min(196px,64vw);object-fit:contain}
.mfde-header-compact .mfde-official-tag{font-size:8px;letter-spacing:.16em;line-height:1.1;text-align:left}
.mfde-help-button{width:42px;height:42px;border-radius:13px;border:1px solid #e6eaf0;box-shadow:0 6px 16px #2030490b;background:#fff;display:grid;place-items:center;color:#b71932;flex:none}
.mfde-help-button:hover{background:#fff2f4}
.mfde-bottom{height:var(--mfde-bottom-h)!important;max-width:680px!important;padding:5px 5px max(8px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;z-index:30!important;align-items:center}
.mfde-bottom button{height:100%;min-width:0!important;align-content:center;gap:2px;line-height:1!important}
.mfde-bottom button span{font-weight:650!important;font-size:10px!important;letter-spacing:-.02em}
.mfde-app .mfde-view:not([hidden]){display:block}
.mfde-view:not(.mfde-home-screen){padding-top:12px;padding-bottom:20px}
.mfde-view:not(.mfde-home-screen)>h2{font-size:20px!important;font-weight:800!important;margin:10px 0 16px!important}
body.mfde-home-active .mfde-app{padding-bottom:0!important}
body.mfde-home-active #tab-home{display:block!important;position:relative}
#gps-health{max-width:min(330px,calc(100vw - 36px))!important;font-size:10px!important;border-radius:999px!important;line-height:1.2!important;padding:7px 11px!important;box-shadow:0 6px 16px #17233314!important;text-align:center!important;white-space:normal!important}
body.mfde-home-active #gps-health{position:absolute;top:calc(var(--mfde-head-h) + 66px);left:50%;transform:translateX(-50%);z-index:6;margin:0!important;width:max-content;background:#ffffffec!important}
body:not(.mfde-home-active) #gps-health{display:none!important}
.mfde-home-screen .mfde-main-map-panel{height:calc(100dvh - var(--mfde-head-h) - var(--mfde-bottom-h) - var(--mfde-duty-h))!important;min-height:230px!important;max-height:none!important;margin:0 -16px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#e9f0f2!important;overflow:hidden!important}
.mfde-home-screen .mfde-main-map{height:100%!important;width:100%!important}
.mfde-wallet-area{position:absolute;z-index:7;top:10px;left:12px;max-width:min(250px,68vw)}
.mfde-wallet-toggle{display:flex;align-items:center;gap:9px;padding:8px 10px 8px 13px!important;background:#ffffffdc!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid #ffffffea;border-radius:14px!important;box-shadow:0 9px 24px #1320331c;color:#14243a!important;font-weight:700!important;letter-spacing:-.03em}
.mfde-wallet-toggle strong{font-size:20px;line-height:1.2;white-space:nowrap;font-weight:750}
.mfde-wallet-chevron{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f0f2f6;color:#27394c;font-size:20px;line-height:1;transition:transform .2s ease}
.mfde-wallet-toggle[aria-expanded="true"] .mfde-wallet-chevron{transform:rotate(180deg)}
.mfde-wallet-details{background:#fffffff5;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid #e8edf2;border-radius:17px;box-shadow:0 16px 40px #1520342b;margin-top:7px;padding:13px;min-width:210px;display:grid;gap:10px}
.mfde-wallet-details>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.mfde-wallet-details small{font-size:11px;color:#657386}.mfde-wallet-details strong{font-size:13px;white-space:nowrap;color:#16253b}
.mfde-wallet-details button{border:0;background:#f6e7eb;color:#ad1c35;border-radius:11px;padding:10px 8px;font-size:11px;font-weight:700}
.mfde-map-actions{right:12px!important;bottom:14px!important;z-index:5!important}
.mfde-home-screen #mfde-map-center{border-radius:50%!important;width:48px!important;height:48px!important;background:#fff!important;box-shadow:0 7px 20px #21344b2c!important}
.mfde-home-screen .mfde-main-map-panel:has(.mfde-open-jobs:not([hidden])) .mfde-map-actions{bottom:74px!important}
.mfde-open-jobs{position:absolute;left:14px;bottom:13px;right:14px;min-height:48px;z-index:4;border:1px solid #ffffffbd;border-radius:14px;padding:10px 14px;background:#fffffff2;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 12px 25px #1c304a25;color:#18253a;font-weight:700;font-size:12px;text-align:left}
.mfde-open-jobs span:last-child{font-size:24px;color:#b3243e;line-height:1}
.mfde-open-jobs[hidden]{display:none!important}
.mfde-plantao-fixed{display:none!important;max-width:680px!important;bottom:var(--mfde-bottom-h)!important;z-index:25!important;min-height:var(--mfde-duty-h);height:var(--mfde-duty-h);padding:7px 14px 8px!important;background:linear-gradient(0deg,#fff 78%,#ffffffe8)!important;box-shadow:none!important}
body.mfde-home-active .mfde-plantao-fixed{display:block!important}
.mfde-plantao-fixed .mfde-online{height:100%;min-height:0!important;max-height:57px;border-radius:16px!important;font-size:15px!important;letter-spacing:.09em!important;box-shadow:0 8px 18px #c31d3940!important}
.mfde-plantao-fixed .mfde-online.active{box-shadow:0 8px 18px #087b5140!important}
.mfde-jobs-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.mfde-jobs-heading h2{margin:0!important;font-size:20px}.mfde-jobs-heading .mfde-secondary{font-weight:650!important}
#tab-jobs>h3{font-size:14px;font-weight:700;color:#526277;margin:15px 0 9px}
.mfde-driver-profile{border:1px solid #e6ebf2;background:#f9fafc;border-radius:16px;padding:0!important;overflow:hidden;margin-top:17px!important}
.mfde-driver-profile>summary{cursor:pointer;padding:15px;display:flex;justify-content:space-between;gap:10px;align-items:center;color:#26344b;font-size:13px;font-weight:750;list-style:none}.mfde-driver-profile>summary::-webkit-details-marker{display:none}
.mfde-driver-profile>summary:after{content:'⌄';color:#af1833;font-size:21px;line-height:1}.mfde-driver-profile[open]>summary:after{content:'⌃'}
.mfde-driver-profile>summary small{color:#6b7889;font-size:10px;font-weight:500}
.mfde-profile-doc-content{border-top:1px solid #e6ebf2;padding:8px 14px 16px}.mfde-profile-doc-content .mfde-driver-docform{margin-top:4px}
#tab-profile>.mfde-card{border-radius:21px;padding:18px!important}
#tab-profile>#profile-name,#tab-profile #profile-name{font-size:22px!important;letter-spacing:-.03em}
#tab-profile .mfde-secondary{border-radius:13px!important}
.mfde-support-card{height:auto!important;max-height:calc(100dvh - 48px);width:min(410px,100%);gap:14px!important;padding:22px!important;border-radius:24px!important}
.mfde-support-card h3{margin:0;font-size:20px;color:#182338}.mfde-support-card p{font-size:13px;color:#596a7e;margin:0;line-height:1.55}
.mfde-support-whatsapp{background:#159d69!important;color:#fff!important;text-decoration:none!important;min-height:46px;text-align:center;border-radius:13px}
.mfde-settings-card{border-radius:24px!important}

/* Oferta: modal centralizado, mapa e texto rolável separados do rodapé de ações. */
body .mfde-offer-modal{display:grid;place-items:center!important;padding:12px!important;overscroll-behavior:contain;z-index:11000!important;background:#111b2bc7!important}
body .mfde-offer-modal[hidden]{display:none!important}
body .mfde-offer-modal .mfde-modal-card{width:min(440px,100%)!important;height:min(690px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;max-width:100%!important;min-height:0!important;border-radius:24px!important;box-shadow:0 24px 60px #0005!important;border:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
body .mfde-offer-modal .mfde-offer-map{height:clamp(100px,22dvh,195px)!important;flex-shrink:0!important;overflow:hidden!important}
body .mfde-offer-modal .mfde-offer-sheet{min-height:0!important;flex:1!important;margin:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;box-shadow:none!important}
body .mfde-offer-modal .mfde-sheet-grip{display:none!important}
body .mfde-offer-modal .mfde-offer-sheet h2{font-size:18px!important;margin:12px 12px 4px!important;line-height:1.3!important}
body .mfde-offer-modal .mfde-offer-scroll{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;flex:1!important;padding:6px 17px 14px!important;scrollbar-width:thin}
.mfde-offer-scroll-hint{color:#7d8797!important;font-size:11px!important;text-align:center!important;border-top:1px solid #f1f2f5;padding-top:9px;position:relative}
body .mfde-offer-modal .mfde-offer-fixed{flex-shrink:0!important;padding:10px 13px max(13px,env(safe-area-inset-bottom))!important;background:#fff!important;box-shadow:0 -5px 16px #17233d10!important}
body .mfde-offer-modal .mfde-offer-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
body .mfde-offer-modal .mfde-offer-buttons button{min-width:0!important;min-height:52px!important;font-size:12px!important;padding:9px 6px!important;line-height:1.2!important;border-radius:13px!important;white-space:normal!important}
body .mfde-offer-modal .mfde-offer-progress{margin-bottom:8px!important}
.mfde-privacy-note{font-size:12px;color:#66758a!important;border:1px solid #e8edf1;background:#f6f8fc;border-radius:12px;padding:9px}
@media(min-width:600px){.mfde-home-screen .mfde-main-map-panel{margin-left:-24px!important;margin-right:-24px!important}}
@media(max-width:390px){
 .mfde-header-compact .mfde-brand img{max-width:min(178px,59vw)}
 .mfde-header-compact .mfde-official-tag{font-size:7px}
 .mfde-bottom button span{font-size:9.5px!important}
}
@media(max-height:650px){
 body .mfde-offer-modal .mfde-offer-map{height:95px!important}
 body .mfde-offer-modal .mfde-offer-sheet h2{font-size:16px!important;margin:7px!important}
 body .mfde-offer-modal .mfde-offer-buttons button{min-height:44px!important}
 body .mfde-offer-modal .mfde-offer-fixed{padding:6px 11px 9px!important}
 .mfde-home-screen .mfde-main-map-panel{min-height:160px!important}
}
.mfde-profile-head{display:flex;align-items:center;gap:14px;padding:8px 0 14px;border-bottom:1px solid #e9edf3}
.mfde-profile-avatar{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,#da2542,#ae1833);box-shadow:0 8px 22px #c61d3940;color:#fff;font-weight:800;font-size:23px;letter-spacing:-.04em}
.mfde-profile-head h3{margin:0 0 4px!important;font-size:20px!important;color:#162237}.mfde-profile-head p{margin:2px 0!important;font-size:12px!important}.mfde-profile-status{display:inline-flex;padding:5px 9px;border-radius:10px;background:#e9f8ef;color:#168153!important;font-weight:700}

.mfde-open-history{position:absolute;z-index:6;top:12px;right:12px;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;border:1px solid #f0f2f7;background:#ffffffee;color:#223149;box-shadow:0 8px 18px #192c4520}
.mfde-open-history svg{display:block}
.mfde-open-history:hover{background:#fff1f3;color:#b82039}

/* 2.19.22 — qualidade: nota destacada, distribuição fina, sem contagens redundantes. */
.mfde-bottom{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.mfde-rating-summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;margin:1px 0 20px;text-align:center}
.mfde-rating-score{font-size:clamp(36px,9vw,46px);line-height:1.12;font-weight:780;letter-spacing:-.055em;color:#192637;font-variant-numeric:tabular-nums}
.mfde-rating-main-star{font-size:22px;line-height:1.2;color:#e6a624;margin-top:2px}
.mfde-rating-breakdown{display:grid;gap:12px;padding:3px 0 7px}
.mfde-rating-row{display:grid;grid-template-columns:37px minmax(0,1fr) 22px;gap:12px;align-items:center;min-height:17px}
.mfde-rating-label{display:inline-flex;align-items:center;gap:4px;color:#5b687a;font-size:12px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}
.mfde-rating-label span{color:#e7b044;font-size:12px}
.mfde-rating-track{height:5px;overflow:hidden;border-radius:999px;background:#edf0f4;display:block}
.mfde-rating-track i{height:100%;display:block;background:linear-gradient(90deg,#e1a42b,#f4c75c);border-radius:999px;transition:width .3s ease}
.mfde-rating-amount{font-size:12px;color:#627185;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.mfde-rating-recent{margin-top:24px;padding-top:17px;border-top:1px solid #edf0f4}
.mfde-rating-recent h3{font-size:13px!important;color:#48566a!important;font-weight:700!important;letter-spacing:0!important;margin:0 0 10px!important}
.mfde-rating-recent-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f1f3f6;min-height:36px}
.mfde-rating-recent-row:last-child{border-bottom:0}
.mfde-rating-recent-stars{white-space:nowrap;letter-spacing:1px;font-size:14px;color:#e6ad39}
.mfde-rating-recent-empty{color:#e0e3e8}
.mfde-rating-recent time{font-size:11px;color:#8a96a6;text-align:right}
.mfde-earn-back{font-size:12px!important;padding:8px 11px!important;min-height:32px!important;margin-bottom:5px}
@media(max-width:360px){.mfde-rating-row{gap:8px;grid-template-columns:32px minmax(0,1fr) 20px}.mfde-rating-recent time{font-size:10px}}

/* 2.19.23 — notas recentes: somente estrelas, sem data/hora, até 10 linhas. */
.mfde-rating-recent{margin-top:20px;padding-top:16px}
.mfde-rating-recent h3{margin:0 0 4px!important;font-size:13px!important;letter-spacing:-.01em!important;font-weight:720!important;color:#344155!important}
.mfde-rating-recent-subtitle{font-size:11px!important;line-height:1.45!important;color:#8793a3!important;margin:0 0 12px!important;font-weight:400!important}
.mfde-rating-recent-row{display:flex;justify-content:flex-start;align-items:center;gap:10px;min-height:37px;padding:9px 2px;border-bottom:1px solid #eef1f5}
.mfde-rating-recent-row:last-child{border-bottom:0}
.mfde-rating-recent-number{width:13px;flex:0 0 13px;font-size:12px;font-weight:650;color:#526174;font-variant-numeric:tabular-nums}
.mfde-rating-recent-stars{font-size:14px;letter-spacing:2px;color:#e6ad39;line-height:1.2}
.mfde-rating-recent-empty{color:#e0e3e8}

/* 2.19.24 — saldo centralizado, histórico limpo e perfil em largura total. */
.mfde-home-screen .mfde-wallet-area{
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:max-content!important;max-width:calc(100vw - 38px)!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
}
.mfde-home-screen .mfde-wallet-toggle{margin-inline:auto!important;justify-content:center!important}
.mfde-home-screen .mfde-wallet-details{
  position:absolute!important;top:calc(100% + 8px)!important;left:50%!important;
  transform:translateX(-50%)!important;margin-top:0!important;
  width:min(278px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;
}
.mfde-job-finished{padding:15px 17px!important;border-radius:17px!important}
.mfde-job-finished h3{margin:9px 0 4px!important}
.mfde-job-finished .mfde-row:first-child{margin-bottom:4px}
.mfde-finished-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:11px 0 5px}
.mfde-finished-tools button{flex:1 1 142px;min-height:37px!important;padding:8px 12px!important;font-size:12px!important;border-radius:11px!important}
.mfde-job-finished .mfde-trip-timeline{margin-top:12px}
#tab-profile.mfde-profile-page{padding-top:0!important}
#tab-profile .mfde-profile-content{
  width:calc(100% + 32px)!important;margin:0 -16px!important;padding:18px 16px 28px!important;
  min-height:calc(100dvh - var(--mfde-head-h) - var(--mfde-bottom-h))!important;
  background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#tab-profile .mfde-profile-head{padding:6px 0 18px!important;margin-bottom:15px}
#tab-profile #mfde-profile-settings{width:100%;min-height:46px!important;margin-bottom:3px;font-weight:700}
#tab-profile .mfde-driver-profile{border:1px solid #e9edf3!important;background:#fff!important;box-shadow:none!important;border-radius:14px!important;margin-top:13px!important}
#tab-profile .mfde-profile-logout{text-align:center;margin:25px 0 0!important}
#tab-profile .mfde-profile-logout a{font-size:13px;color:#9d2940;font-weight:650}
@media(min-width:600px){#tab-profile .mfde-profile-content{width:calc(100% + 48px)!important;margin-inline:-24px!important;padding:23px 24px 30px!important}}

/* 2.19.25 — cards de corridas objetivos: etapas compactas e contato da Central pelo cabeçalho. */
.mfde-job-action-buttons{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:13px 0 5px}
.mfde-job-action-buttons button{flex:1 1 155px;min-height:42px!important;border-radius:12px!important}
.mfde-job-finished .mfde-job-action-buttons{margin:9px 0 4px}
.mfde-job-finished .mfde-job-action-buttons button{min-height:38px!important;font-size:12px!important}
.mfde-delivery-destination{line-height:1.45;overflow-wrap:anywhere}
.mfde-job-action-buttons .mfde-tag{flex:1 1 100%;line-height:1.4;white-space:normal}

/* 2.19.26 — Nome do estabelecimento sempre visível no cartão da corrida e no histórico. */
.mfde-card .mfde-merchant-name{display:flex!important;flex-direction:column!important;gap:2px!important;margin:11px 0 9px!important;min-width:0}
.mfde-card .mfde-merchant-name span{font-size:10px!important;font-weight:750!important;letter-spacing:.045em!important;text-transform:uppercase!important;color:#7b8594!important}
.mfde-card .mfde-merchant-name strong{display:block!important;font-size:17px!important;font-weight:800!important;line-height:1.3!important;color:#182338!important;overflow-wrap:anywhere!important}

/* v2.19.27 — histórico compacto inspirado na navegação lista → detalhe. */
.mfde-history-item{display:block;background:#fff;border:1px solid #e8eaf0;border-radius:17px;overflow:hidden;box-shadow:0 4px 15px rgba(20,34,57,.045)}
.mfde-history-summary{list-style:none;cursor:pointer;padding:15px 16px 12px;display:block;position:relative}
.mfde-history-summary::-webkit-details-marker{display:none}
.mfde-history-point{display:flex;flex-direction:column;gap:3px;margin-bottom:11px;min-width:0}
.mfde-history-point small{font-size:11px;color:#6a7686;font-weight:750}
.mfde-history-point strong{font-size:13px;font-weight:620;line-height:1.4;color:#263445;overflow-wrap:anywhere}
.mfde-history-address{font-size:13px;line-height:1.35;color:#354358;overflow-wrap:anywhere}
.mfde-history-note{font-size:12px;color:#8a96a6;margin:4px 0 10px}
.mfde-history-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf0f4;padding-top:10px}
.mfde-history-foot span{font-size:12px;color:#798596}
.mfde-history-foot strong{font-size:16px;color:#1d2938;white-space:nowrap}
.mfde-history-hint{display:flex;justify-content:center;gap:7px;align-items:center;color:#a0152d;font-size:11px;font-weight:700;padding-top:8px}
.mfde-history-item[open] .mfde-history-hint span{transform:rotate(180deg)}
.mfde-history-detail{padding:13px 16px 17px;border-top:1px solid #e9edf2;background:#fcfcfd}
.mfde-history-detail-title{font-weight:800;font-size:14px;margin:9px 0 12px}
.mfde-history-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.mfde-history-meta>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.mfde-history-meta small{font-size:11px;color:#798596}
.mfde-history-meta strong{font-size:12px;font-weight:730;color:#263445;overflow-wrap:anywhere}
.mfde-history-map{height:190px;background:#eef2f7;border:1px solid #e3e8ee;border-radius:13px;overflow:hidden}
.mfde-history-map-label{font-size:10px!important;color:#8290a0!important;margin:6px 0 0!important}
.mfde-history-detail .mfde-trip-timeline{margin-top:14px}
.mfde-live-address{font-size:12px;line-height:1.4}
@media(max-width:360px){.mfde-history-summary{padding:12px}.mfde-history-meta{gap:8px}.mfde-history-foot strong{font-size:14px}}

/* 2.19.33 • Corrida obrigatória em tela cheia, minimizável sem encerrar. */
.mfde-active-trip{position:fixed;inset:0;z-index:800;background:#f4f6f9;overflow:hidden;overscroll-behavior:contain;}
.mfde-active-trip-full{position:absolute;inset:0;display:flex;flex-direction:column;background:#f4f6f9;}
.mfde-active-trip-header{flex-shrink:0;padding:calc(12px + env(safe-area-inset-top)) 15px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-bottom:1px solid #e9edf1;box-shadow:0 3px 15px #14223512;}
.mfde-active-trip-header div{display:grid;gap:4px;min-width:0;}
.mfde-active-trip-header small{font-weight:800;font-size:10px;letter-spacing:.07em;color:#b3152b;}
.mfde-active-trip-header strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mfde-active-trip-header button{border:1px solid #e8cbd0;color:#af1630;background:#fff0f1;border-radius:12px;padding:12px 13px;min-height:44px;font-size:13px;font-weight:800;flex-shrink:0;}
.mfde-active-trip-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px max(14px,calc((100vw - 640px)/2)) calc(22px + env(safe-area-inset-bottom));}
.mfde-active-trip-content>.mfde-card{box-shadow:0 5px 20px #121f3714;border-color:#e3e7ee;}
.mfde-active-trip-content .mfde-inline-map{min-height:245px;}
.mfde-active-trip.is-minimized{pointer-events:none;background:transparent;}
.mfde-active-trip.is-minimized .mfde-active-trip-full{display:none;}
.mfde-trip-float{touch-action:none;user-select:none;-webkit-user-select:none;position:fixed;right:12px;bottom:calc(97px + env(safe-area-inset-bottom));min-width:188px;max-width:min(260px,calc(100vw - 16px));min-height:68px;align-items:center;gap:9px;padding:11px 12px;border:2px solid #fff;border-radius:18px;color:#fff;background:linear-gradient(125deg,#e52332,#aa1029);box-shadow:0 9px 26px #5c081f55;cursor:grab;text-align:left;pointer-events:auto;}
.mfde-trip-float:active{cursor:grabbing;}
.mfde-trip-float .mfde-float-icon{background:#ffffff2e;border-radius:11px;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;font-size:20px;}
.mfde-float-text{display:grid;gap:2px;min-width:0;line-height:1.2;}
.mfde-float-text strong{font-weight:900;font-size:13px;white-space:nowrap;}
.mfde-float-text small{font-size:11px;color:#ffe5ea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mfde-float-grip{opacity:.85;font-size:24px;flex-shrink:0;margin-left:auto;}
/* Conversa, ocorrência, avaliação e corrigir destino devem abrir por cima da corrida. */
body .mfde-modal:not(.mfde-offer-modal){z-index:2000;}
body #mfde-important-chat{z-index:12010;}
body #alert{z-index:12100;}
body .mfde-offer-modal{z-index:11000!important;}
@media(min-width:800px){.mfde-active-trip-full{max-width:700px;margin:auto;box-shadow:0 0 65px #19223822;}}

/* Oferta ocupa a tela do motoboy no celular em TODAS as chamadas. */
@media(max-width:700px){
 body .mfde-offer-modal{padding:0!important;place-items:stretch!important;}
 body .mfde-offer-modal .mfde-modal-card{height:100dvh!important;max-height:100dvh!important;width:100vw!important;max-width:100vw!important;border-radius:0!important;}
 body .mfde-offer-modal .mfde-offer-map{height:clamp(125px,26dvh,230px)!important;}
}

/* v2.19.37: novos controles de resgate/solicitação de reparo, sem alterar telas anteriores */
.mfde-repair-form{display:grid;gap:10px;margin-top:14px}.mfde-repair-form label{display:grid;gap:6px;font-size:13px;font-weight:750}.mfde-repair-form textarea,.mfde-repair-form input{border:1px solid #d8dce5;border-radius:10px;padding:10px;max-width:100%}.mfde-rescue-offer-card{height:min(96dvh,600px)!important;width:min(520px,100%)!important;display:flex!important;justify-content:center}.mfde-rescue-offer-card .mfde-offer-sheet{padding:24px;display:grid;gap:12px}.mfde-rescue-offer-card .mfde-offer-buttons{display:grid;gap:10px}.mfde-rescue-offer-card .mfde-offer-buttons button{min-height:54px}

/* 2.19.38: pausa operacional visível sem voltar ao cadastro. */
.mfde-pause-banner:not([hidden]){display:block;margin:7px 13px 12px;padding:12px 14px;background:#fff2ed;border:1px solid #f3b79e;border-radius:13px;color:#8e3021;position:relative;z-index:12}.mfde-pause-banner strong{font-size:14px}.mfde-pause-banner p{font-size:12px;margin:6px 0 9px}.mfde-pause-banner button{min-height:37px}

.mfde-driver-face{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.mfde-profile-public-data{font-size:13px;padding:12px;border-radius:12px;background:#f8fafd;line-height:1.5}.mfde-profile-public-data p{margin:5px 0}.mfde-selfie-field small{font-size:12px;font-weight:400;color:#475569}

#mfde-profile-avatar{border-radius:50%;overflow:hidden}

/* Cadastro pendente: status claramente visível, sem redesenhar o restante */
.mfde-pending-banner{border:2px solid #db203b;border-radius:18px;background:#fff1f3;color:#852134;padding:22px 16px;margin:0 0 20px;text-align:center}
.mfde-pending-banner strong{display:block;font-size:clamp(22px,5.5vw,30px);font-weight:900;line-height:1.2;margin:10px 0}
.mfde-pending-banner p{font-size:16px!important;line-height:1.5!important;font-weight:650;color:#692737!important}
.mfde-pending-correction{margin:20px 0;border:1px solid #dce0e8;border-radius:14px;padding:14px;background:#fafbfc}
.mfde-pending-correction summary{color:#ad1731;font-size:15px;font-weight:800;cursor:pointer}

/* v2.19.41: pequenos controles sobre o mapa sem alterar identidade dos painéis. */
.mfde-main-map-panel{position:relative}.mfde-broadcast-link{position:absolute;top:72px;right:12px;z-index:8;border:1px solid #eac9ce;border-radius:14px;padding:11px 13px;background:#fff;color:#ba1734;font-weight:800;box-shadow:0 5px 16px #141d2922;max-width:50%;font-size:12px}.mfde-notice-card{height:auto;max-height:min(85vh,530px);gap:18px;align-items:stretch;padding:22px}.mfde-notice-card h2{font-size:22px;color:#be1631;margin:0}.mfde-notice-card p{font-size:15px;line-height:1.6;white-space:pre-line}.mfde-notice-card button{width:100%;min-height:48px}.mfde-general-offer{border:2px solid #e34c61}.mfde-general-offer .mfde-tag{background:#ffe5eb;color:#aa1733}

/* v2.19.43: reativa a abertura ORIGINAL do Motoboy, sem alterar sua tela de acesso */
.mfde-app-body .mfde-launch{display:flex;visibility:visible;pointer-events:none;animation:mfde-boot-quick-dismiss .3s ease-out .8s both}
@keyframes mfde-boot-quick-dismiss{0%{opacity:1;visibility:visible}99%{opacity:0;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.mfde-app-body .mfde-launch{display:none}}

/* MasterFood Entregas — entrada compartilhada de lojista e motoboy (v2.19.65). */
.mfde-auth-unified{padding-top:clamp(28px,5vh,66px);background:linear-gradient(160deg,#fff 15%,#fff8f8 100%)}
.mfde-auth-unified .mfde-auth-kicker{letter-spacing:.23em;color:#6f7683;margin:10px 0 19px}
.mfde-auth-unified .mfde-auth-card{box-shadow:0 16px 45px rgba(53,15,27,.09);border:1px solid #f0e2e5}
.mfde-auth-unified .mfde-auth-card h1{font-size:28px}
.mfde-auth-unified .mfde-auth-card>p{font-size:14px;color:#536173;line-height:1.55}
.mfde-unified-links{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:19px}
.mfde-unified-links a{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:11px;padding:10px 7px;border:1px solid #efd9df;background:#fff6f7;color:#bc1530;text-align:center;font-size:12px;font-weight:800;line-height:1.25}
.mfde-unified-links a:hover,.mfde-unified-links a:focus-visible{background:#ffe8ed;text-decoration:none;border-color:#d93b53}
.mfde-unified-recovery{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:12px;color:#738091;margin:16px 0 0}
.mfde-unified-recovery a{font-weight:800;color:#c81731}
.mfde-auth-unified .mfde-auth-moto{max-width:370px;margin:3px auto 0}
.mfde-auth-unified .mfde-auth-moto img{max-height:225px;object-position:center 30%}
@media(max-width:360px){.mfde-unified-links{grid-template-columns:1fr}.mfde-auth-unified .mfde-auth-card{padding:20px 16px}}

/* 2.19.66 — Entrada conjunta MasterFood Entregas (não altera os painéis). */
.mfde-auth-unified .mfde-pass-wrap{position:relative}
.mfde-auth-unified .mfde-pass-wrap input{padding-right:56px}
.mfde-auth-unified .mfde-pass-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:44px;height:42px;background:transparent;border:0;color:#c81435;font-size:25px;cursor:pointer;border-radius:9px}
.mfde-auth-unified .mfde-pass-eye:focus-visible{outline:2px solid #e52332;outline-offset:2px}
.mfde-unified-register{margin-top:23px;text-align:center;border:1px solid #edd3da;background:#fff9fa;border-radius:16px;padding:0 16px 18px}
.mfde-unified-divider{display:flex;align-items:center;gap:13px;color:#7b8594;margin:8px 0 14px;font-size:12px}
.mfde-unified-divider::before,.mfde-unified-divider::after{content:"";height:1px;background:#e9dfe2;flex:1}
.mfde-unified-register>strong{display:block;font-size:16px;color:#1a2535;margin:0 0 11px}
.mfde-unified-register>a{display:flex;justify-content:center;gap:11px;align-items:center;padding:13px;border:1px solid #d52142;border-radius:12px;color:#c41431;background:#fff;font-weight:800;text-decoration:none}
.mfde-unified-register>a:focus-visible,.mfde-unified-register>a:hover{background:#fff0f2}
.mfde-unified-register>small{display:block;color:#7c8491;font-size:11px;margin-top:11px;line-height:1.4}
.mfde-choose-profile .mfde-auth-card{margin-top:22px}
.mfde-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.mfde-role-options>a{display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;text-align:center;text-decoration:none;border:1px solid #edd3da;border-radius:15px;padding:20px 12px;background:#fff9fa;min-height:155px;color:#1b2532}
.mfde-role-options>a:hover,.mfde-role-options>a:focus-visible{border-color:#c81435;background:#fff0f3;outline-offset:2px}
.mfde-role-options>a>span{font-size:27px}
.mfde-role-options>a>strong{font-size:16px}
.mfde-role-options>a>small{color:#697486;font-size:12px;line-height:1.4}
.mfde-registration-warning{text-align:center;margin:16px 0 0!important;font-size:12px!important}
@media(max-width:360px){.mfde-role-options{grid-template-columns:1fr}.mfde-role-options>a{min-height:110px}}

/* v2.19.70 - Abertura aprovada SOMENTE motoboy (identidade da instalacao mantida). */
.mfde-app-body .mfde-launch.mfde-launch-art{background:#990818;padding:0;overflow:hidden}
.mfde-app-body .mfde-launch-art .mfde-launch-fullimage{display:block;width:100%;height:100%;object-fit:contain;object-position:center;max-width:none;margin:auto}

/* 2.19.71: tela acesa visível e frota aproximada no mapa do motoboy. */
.mfde-awake-status{margin:2px 12px 7px;padding:5px 10px;border:1px solid #d9e3ec;border-radius:999px;background:#fff;color:#3c4858;font-size:10px;font-weight:650;cursor:pointer}
.mfde-awake-status[data-state="active"]{border-color:#a4dec3;background:#ecfdf5;color:#167044}
.mfde-awake-status[data-state="blocked"]{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.mfde-driver-fleet-toggle{position:absolute;z-index:7;left:10px;top:14px;max-width:65%;padding:9px 11px;border-radius:13px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 4px 12px #0002;color:#182338;font-size:12px;font-weight:800;cursor:pointer}
.mfde-driver-fleet-detail{position:absolute;top:59px;left:10px;right:10px;z-index:7;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 7px 19px #0002;font-size:12px;color:#233148;line-height:1.45}
.mfde-driver-fleet-detail[hidden]{display:none!important}.mfde-driver-fleet-detail small{display:block;margin-top:5px;color:#657286}

/* 2.19.76: painel de motoboy respeita altura visivel da tela e safe area. */
@supports (height:100dvh){
 html:has(body.mfde-app-body),body.mfde-app-body{min-height:100dvh!important;}
 body.mfde-home-active .mfde-app{min-height:100dvh!important;}
 body.mfde-home-active #tab-home{min-height:calc(100dvh - var(--mfde-head-h) - var(--mfde-bottom-h))!important;}
}
body.mfde-app-body .mfde-bottom{position:fixed!important;inset:auto 0 0 0!important;bottom:0!important;margin:auto!important;transform:none!important;left:0!important;right:0!important;width:100%!important;}
body.mfde-home-active .mfde-home-screen .mfde-main-map-panel{min-height:min(230px,32dvh)!important;}

/* v2.19.77: dock do motoboy preso ao rodapé real, inclusive telas com gestos. */
body.mfde-app-body{--mfde-bottom-h:calc(68px + env(safe-area-inset-bottom,0px));}
body.mfde-app-body .mfde-bottom{
 position:fixed!important;bottom:0!important;left:0!important;right:0!important;
 margin:0 auto!important;transform:none!important;max-width:680px!important;
 min-height:68px!important;height:var(--mfde-bottom-h)!important;
 padding:5px 5px max(8px,env(safe-area-inset-bottom,0px))!important;
 box-sizing:border-box!important;z-index:30!important;
}
body.mfde-app-body .mfde-app{padding-bottom:calc(var(--mfde-bottom-h) + 12px)!important;}
body.mfde-home-active .mfde-app{padding-bottom:0!important;}
body.mfde-home-active .mfde-plantao-fixed{bottom:var(--mfde-bottom-h)!important;}
@supports (height:100dvh){
 body.mfde-app-body,body.mfde-app-body .mfde-app{min-height:100dvh!important;}
 body.mfde-home-active #tab-home{min-height:calc(100dvh - var(--mfde-head-h) - var(--mfde-bottom-h))!important;}
 body.mfde-home-active .mfde-home-screen .mfde-main-map-panel{
   height:max(220px,calc(100dvh - var(--mfde-head-h) - var(--mfde-bottom-h) - var(--mfde-duty-h)))!important;
 }
}
@media(max-height:600px){
 body.mfde-home-active .mfde-home-screen .mfde-main-map-panel{min-height:180px!important;}
}

/* Ajuste splash: remove margens brancas sem cortar conteudo da arte */
.mfde-app-body .mfde-launch.mfde-launch-art{padding:0!important;background:#b90010!important;inset:0!important;box-sizing:border-box!important}
.mfde-app-body .mfde-launch.mfde-launch-art .mfde-launch-fullimage{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important}

/* MasterFood Entregas 2.19.83 — Corridas Livres: mural leve e responsivo. */
.mfde-free-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0 18px}
.mfde-free-tab{border:1px solid #dde3ea;background:#fff;color:#273142;border-radius:13px;padding:13px 8px;font:700 13px/1.3 system-ui;cursor:pointer;min-height:48px}
.mfde-free-tab.active{background:#c81732;color:#fff;border-color:#c81732}
.mfde-free-tab span{display:inline-block;min-width:22px;padding:2px 5px;border-radius:12px;background:rgba(127,127,127,.15);font-size:12px}
.mfde-free-panel[hidden]{display:none!important}
.mfde-free-ride{border-left:4px solid #c81732;overflow-wrap:anywhere}
.mfde-free-ride h3{margin:10px 0}.mfde-free-ride p{margin:8px 0;line-height:1.5}
.mfde-free-accept{width:100%;margin-top:8px;min-height:46px}
.mfde-free-accept[disabled]{opacity:.7}
#mfde-open-free{position:relative;z-index:8;min-height:42px}
.mfde-free-branch-settings{display:flex;flex-wrap:wrap;gap:12px;border:1px solid #e1e6ed;padding:12px;border-radius:10px}
.mfde-free-branch-settings label{flex:1 1 190px}
@media(max-width:380px){.mfde-free-tab{font-size:12px;padding:10px 5px}}

/* 2.19.84 — acesso direto às Corridas disponíveis no dock iPhone/Android. */
body.mfde-app-body .mfde-bottom{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important}
body.mfde-app-body .mfde-bottom button{position:relative;padding-inline:1px!important;overflow:visible;white-space:nowrap}
body.mfde-app-body .mfde-bottom button span{font-size:clamp(9px,2.5vw,10px)!important;letter-spacing:-.03em!important}
body.mfde-app-body .mfde-bottom .mfde-nav-count{position:absolute;top:0;right:5px;min-width:17px;height:17px;line-height:17px;border-radius:999px;padding:0 3px;background:#c81732;color:#fff;font:bold 10px/17px system-ui;text-align:center}
@media(max-width:355px){body.mfde-app-body .mfde-bottom button span{font-size:8.5px!important}body.mfde-app-body .mfde-bottom .mfde-nav-count{right:0}}

/* Cronômetros de Corridas Livres: contagem contínua em segundo plano de renderização. */
.mfde-sla-clock{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 10px;margin:10px 0;border:1px solid #b9e3c8;background:#f3fff6;border-radius:14px;color:#146236}
.mfde-sla-clock strong{font-size:clamp(28px,6vw,36px);line-height:1.15;letter-spacing:1px;font-variant-numeric:tabular-nums}
.mfde-sla-clock span{font-size:13px;font-weight:700}.mfde-sla-clock small{font-size:12px;font-weight:700}
.mfde-sla-clock.is-late{border-color:#e99;background:#fff1f1;color:#b42318}
.mfde-chronology{border:1px solid #e4e5e9;border-radius:12px;padding:10px 12px;margin:12px 0;background:#fff}
.mfde-chronology h4{margin:0 0 6px;font-size:14px}.mfde-chronology-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #f1f2f4}
.mfde-chronology-row:last-of-type{border:0}.mfde-chronology-row span small{display:block;font-weight:400;color:#687280;font-size:11px}.mfde-chronology-row strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.mfde-time-late{color:#b42318;font-weight:700;margin:5px 0}.mfde-time-done{padding:10px;background:#f6f8fc;border-radius:9px}
[data-free-wait]{font-variant-numeric:tabular-nums;font-weight:700}
/* Aviso persistente e acionável de Corridas Livres em qualquer tela do aplicativo. */
.mfde-free-arrival-modal{z-index:12000!important;padding:18px!important;background:rgba(12,20,31,.58)!important;place-items:center!important;pointer-events:auto!important}
.mfde-free-arrival-modal[hidden]{display:none!important}
.mfde-free-arrival-modal .mfde-modal-card{position:relative;width:min(440px,100%);height:auto!important;min-height:0!important;padding:34px 24px 24px!important;border:0!important;border-radius:24px!important;text-align:center;display:block!important;box-shadow:0 24px 70px #0006;pointer-events:auto!important}
.mfde-free-arrival-close{position:absolute;top:10px;right:10px;width:42px;height:42px;border:0;border-radius:50%;background:#f1f3f5;color:#283445;font-size:22px;font-weight:800;cursor:pointer}
.mfde-free-arrival-icon{display:grid;place-items:center;margin:0 auto 12px;width:76px;height:76px;border-radius:50%;background:#e9f8ed;font-size:39px}
.mfde-free-arrival-kicker{margin:4px 0;color:#18833a;font-size:12px;font-weight:900;letter-spacing:.12em}
.mfde-free-arrival-modal h2{margin:4px 0 10px;font-size:27px;line-height:1.15}
.mfde-free-arrival-modal #mfde-free-arrival-body{margin:0;color:#526071;font-size:16px}
.mfde-free-arrival-open{width:100%;min-height:52px;margin-top:22px;font-size:16px;cursor:pointer}
