/* Mobile-only presentation. Existing native forms, permissions and API remain. */
.mlb-fullscreen-map-overlay{position:fixed;top:var(--mlb-fullmap-top,0px);left:0;right:0;height:var(--mlb-fullmap-height,100dvh);z-index:2000;display:flex;flex-direction:column;background:#181716;color:#f2eadc;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box;overscroll-behavior:none}
.mlb-fullscreen-map-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;flex-shrink:0;border-bottom:1px solid #57462a}
.mlb-fullscreen-map-overlay>header strong{font-size:14px;min-width:0}
.mlb-map-close{min-height:44px;padding:8px 12px;border:1px solid #796034;border-radius:12px;background:#221d15;color:#efc773;font:inherit;font-size:14px;flex-shrink:0}
.mlb-fullscreen-map-canvas{flex:1;min-height:0;position:relative;overflow:hidden}
.mlb-fullscreen-map-canvas .home-map-wrap{height:100%;min-height:0}
.ecocrm-driver-report .edr-photo-gallery{display:grid;gap:14px;padding:12px}
.ecocrm-driver-report .edr-inline-scan{grid-column:1/-1;width:100%;min-width:0;border:1px solid #49402f;border-radius:14px;overflow:hidden;background:#151516;box-sizing:border-box}
.ecocrm-driver-report .edr-ride-details{max-height:none;animation:mlb-photo-reveal .2s ease both}
@keyframes mlb-photo-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.ecocrm-driver-report .edr-inline-scan>strong{display:block;padding:10px 12px;font-size:14px;overflow-wrap:anywhere}
.ecocrm-driver-report .edr-inline-preview{min-height:90px;display:grid;place-items:center;color:#bcb4a6}
.ecocrm-driver-report .edr-inline-preview img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.ecocrm-driver-report .edr-inline-preview iframe{width:100%;height:65vh;border:0}
.ecocrm-driver-report .edr-photo-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px}
.ecocrm-driver-report .edr-photo-actions button{flex:1;min-height:44px;min-width:90px;border:1px solid #6c522a;border-radius:10px;background:#272115;color:#edc373;font:inherit;font-size:13px;padding:8px}
.ecocrm-driver-report .edr-photo-actions button:disabled{opacity:.45}
.ecocrm-driver-report .edr-inline-preview>span{padding:12px;text-align:center}
.ecocrm-driver-report .edr-ride-toggle{width:auto;min-width:40px;height:auto;min-height:38px;padding:8px 12px;font-size:12px}
.ecocrm-driver-report .edr-ride.is-expanded .edr-ride-toggle{transform:none}
.ecocrm-driver-report .edr-expand-all{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ecocrm-driver-report .edr-expand-all button{padding:8px 12px;border:1px solid #6c522a;border-radius:10px;background:#272115;color:#edc373;min-height:38px;font:inherit;font-size:12px}
@media(max-width:768px){
  .m-shell{--mobile-content-padding:12px;--mobile-head-padding:16px;--radius-lg:22px;--radius-md:14px;background:#121113!important;overscroll-behavior:none;color:#f2eadc}
  .m-shell>div:first-child{padding:12px 12px 8px;min-width:0}
  .m-shell .m-card{border-radius:22px;border-color:#39332a;background:linear-gradient(150deg,#201c16,#171618 48%);min-width:0}
  .m-shell .m-head{padding:18px 16px 14px;background:linear-gradient(120deg,#292318,#19181a);gap:12px}
  .m-shell .scr-title{font-size:25px;line-height:1.2;font-weight:650;overflow-wrap:anywhere}
  .m-shell .m-body{padding:14px 12px;gap:14px;overscroll-behavior-y:contain;scrollbar-width:none;scroll-padding-bottom:20px}
  .m-shell .list,.m-shell .detail-scroll,.m-shell [class*='_scrollList_']{overflow:visible!important;max-height:none!important;flex:none}
  .m-shell .list{display:grid;gap:10px}
  .m-shell .row{border:1px solid #3c3428;border-radius:14px;padding:10px 11px;background:linear-gradient(130deg,#242017,#19181a);height:auto;min-height:56px}
  .m-shell .r-info,.m-shell .r-name,.m-shell .r-meta,.m-shell .s-card{min-width:0}
  .m-shell .nm,.m-shell .r-name,.m-shell .s-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
  .m-shell .r-name{font-size:15px;line-height:1.35}
  .m-shell .r-meta{font-size:13px;line-height:1.5}
  .m-shell .r-products{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;justify-content:flex-start!important;width:100%;flex-basis:100%!important}
  .m-shell .r-chip,.m-shell .s-chip{white-space:normal!important;font-size:13px;padding:7px 9px;line-height:1.45;max-width:100%}
  .m-shell .btn,.m-shell .date-field,.m-shell .select-field{height:auto!important;min-height:44px;border-radius:12px;white-space:normal;line-height:1.25;min-width:0;padding:8px 11px!important;font-size:14px!important}
  .m-shell .footer-bar{flex-direction:row!important;flex-wrap:wrap;padding:9px;gap:8px;background:#19181a;border-top:1px solid #383228}
  .m-shell .footer-bar>.btn{flex:1 1 0;min-width:0;font-size:13px!important;padding:6px 6px!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important;gap:5px!important}
  .m-shell .m-tabbar{border-top:1px solid #383228;background:#171618!important;padding-bottom:max(10px,env(safe-area-inset-bottom));min-height:72px;flex-shrink:0}
  .m-shell .tab-btn{min-width:0;min-height:54px;gap:4px}
  .m-shell .tab-btn.is-active{color:#ecc16e;background:linear-gradient(130deg,#43341a,#29231a);border-radius:16px}
  .m-shell .tb-label{font-size:10px}
  .m-shell .date-field{width:100%;justify-content:center}
  .m-shell .menu-ios-card{border-radius:20px}
  .m-shell .menu-ios-row{min-height:60px!important;padding:10px 12px!important}
  .m-shell .menu-ios-label{font-size:16px}
  .m-shell .menu-ios-icon{width:36px!important;height:36px!important;border-radius:12px!important}
  .mlb-home-map{height:clamp(230px,32dvh,320px);overflow:hidden;border:1px solid #4f3d23;border-radius:20px;position:relative;flex-shrink:0}
  .mlb-map-toggle{position:absolute;top:10px;right:10px;z-index:5;display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #796034;border-radius:12px;background:#221d15;color:#efc773;font:inherit;font-size:13px;box-shadow:0 3px 14px #0004}
  .mlb-map-toggle>span{font-size:22px;line-height:1}
  .mlb-home-map.is-fullscreen{position:fixed;inset:0;z-index:1500;width:100%;height:100dvh!important;border:0;border-radius:0;background:#181716;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
  .mlb-home-map.is-fullscreen .mlb-map-toggle{top:calc(10px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right))}
  .mlb-home .seg-row,.mlb-home .m-head>.search{display:none!important}
  .m-shell [class*='_pageContent_6dgv4_']{padding:12px 12px 8px!important}
  .mlb-home .footer-bar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important}
  .mlb-home .footer-bar>.btn{display:flex!important;flex-direction:column;justify-content:center;gap:4px;width:100%;height:auto!important;min-height:52px;max-width:100%;min-width:0;padding:7px 4px!important;font-size:12px!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;text-align:center;line-height:1.35}
  .mlb-home .footer-bar>.btn svg{flex-shrink:0;width:16px;height:16px}
  .mlb-home-map .home-map-wrap{height:100%;min-height:0}
  .mlb-home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .mlb-home-shortcuts button{display:grid;justify-items:start;gap:8px;min-height:84px;padding:16px;border:1px solid #62502f;border-radius:20px;background:linear-gradient(120deg,#342a19,#1b1918);color:#f2eadc;font:inherit}
  .mlb-home-shortcuts strong{font-size:18px}.mlb-home-shortcuts small{color:#c6aa73}
  .mlb-section-title{font-size:17px;margin:8px 3px 0;color:#eac374}
  .mlb-ride-blocks{display:grid;gap:12px;min-width:0}
  .mlb-trip-card{overflow:hidden;border:1px solid #49402f;border-radius:22px;background:linear-gradient(120deg,#292117,#19181a)}
  .mlb-trip-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:17px;border:0;background:none;color:#f2eadc;font:inherit;text-align:left}
  .mlb-trip-heading>div{display:grid;gap:6px;min-width:0}.mlb-trip-heading strong{font-size:19px}.mlb-trip-heading small,.mlb-trip-heading div>span{color:#bcb4a6;font-size:13px}
  .mlb-trip-heading>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #725a31;border-radius:12px;color:#eac16c;flex-shrink:0;font-size:24px}
  .mlb-cargo{font-size:14px!important;line-height:1.55;color:#e3c17b;overflow-wrap:anywhere;margin:0!important}
  .mlb-trip-card>p{padding:0 17px 17px!important}
  .mlb-trip-card.is-compact{border-radius:14px}.is-compact .mlb-trip-heading{padding:11px 12px}.is-compact .mlb-trip-heading>div{grid-template-columns:minmax(0,1fr) auto;flex:1;column-gap:8px;row-gap:3px}.is-compact .mlb-trip-heading strong{font-size:16px;grid-column:1}.is-compact .mlb-trip-heading div>span{grid-column:1;font-size:12px}.is-compact .mlb-trip-heading small{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap;font-size:12px}.is-compact .mlb-trip-heading>span{width:30px;height:30px;border:0;font-size:24px}
  .mlb-cargo-table{display:grid;gap:0;width:100%;min-width:0}.mlb-cargo-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:12px;padding:6px 0;border-bottom:1px solid #ffffff0b;font-size:13px;line-height:1.35}.mlb-cargo-row:last-child{border-bottom:0}.mlb-cargo-row>span{min-width:0;overflow-wrap:anywhere;color:#ded7c9}.mlb-cargo-row>strong{white-space:nowrap;text-align:right;color:#e8c277;font-size:13px;font-weight:600}.mlb-trip-card>.mlb-cargo-table{padding:0 14px 12px}
  .mlb-trip-details{display:grid;gap:8px;padding:0 9px 10px}
  .mlb-stop{display:grid;gap:4px;padding:10px 11px;text-align:left;color:inherit;font:inherit;background:#151516;border:1px solid #39342b;border-radius:12px;min-width:0;overflow-wrap:anywhere}
  .mlb-stop>small{color:#cdad69;font-size:10px}.mlb-stop>strong{font-size:15px;line-height:1.3}.mlb-stop>span{color:#bcb4a6;font-size:12px;line-height:1.35}.mlb-stop>.btn{margin-top:3px;min-height:44px}
  .mlb-driver-contact{display:grid;gap:8px;padding:16px;border:1px solid #57462a;border-radius:18px;background:#242017;min-width:0;overflow-wrap:anywhere}
  .mlb-driver-contact>small{color:#bcb4a6}.mlb-driver-contact>strong{font-size:19px}.mlb-driver-contact>span{font-size:13px;color:#cfc5b2}
  .mlb-contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.mlb-contact-actions .btn{flex:1 1 100px}
  .mlb-share{display:grid;gap:10px;min-width:0}.mlb-share label,.mlb-share span{font-size:12px;color:#ccb98f}.mlb-share input{width:100%;min-width:0;min-height:44px;background:#151516;border:1px solid #665132;border-radius:12px;color:#f1dfb8;padding:10px;font-size:16px}.mlb-share a{color:#edc373;text-align:center}
  .mlb-muted{color:#b3a996;font-size:13px}.mlb-error{color:#ef9e86;font-size:13px;line-height:1.45}.mlb-error button{margin-top:10px;width:100%}
  .m-shell .route{gap:12px}.m-shell .s-card{border-radius:18px;padding:15px}.m-shell .s-top{flex-wrap:wrap;gap:7px}.m-shell .s-chips{flex-wrap:wrap}
  .m-shell .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.m-shell .metric{min-width:0;padding:12px;border-radius:16px}
  .m-shell .eco-cash-orders-table .eco-cash-order-status{display:flex;flex-wrap:nowrap;min-width:0}.m-shell .eco-cash-order-status button{min-width:0;padding:10px}
  .m-shell .edr-ride{border-radius:20px}.m-shell .edr-ride>header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}.m-shell .edr-ride-actions{justify-content:space-between}.m-shell .edr-ride-toggle{width:auto;padding:9px 13px;min-height:40px;font-size:12px;border-radius:12px}.m-shell .edr-ride-toggle[aria-expanded=true]{transform:none}
  .m-shell .edr-point-main>span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.m-shell .edr-point-main>strong{font-size:16px;overflow-wrap:anywhere}
  .m-shell .edr-expand-all{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.m-shell .edr-expand-all button{padding:10px;border:1px solid #6c522a;border-radius:12px;background:#272115;color:#edc373;min-height:40px;font:inherit;font-size:12px}
  .m-shell button:focus-visible,.m-shell a:focus-visible{outline:2px solid #efc578;outline-offset:3px}
}
@media(prefers-reduced-motion:no-preference){.m-shell .mlb-trip-details{animation:mlb-reveal .18s ease-out}@keyframes mlb-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
