.freight-fallback{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:1rem;padding:2rem;text-align:center;background:#161616;color:#fff}.freight-fallback h1{max-width:16ch;font-size:clamp(2.5rem,7vw,6rem);line-height:1}.freight-fallback a{color:#ffca35}
.freight-site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem 1.5rem;padding:2rem;background:#171717;color:#f5f2ea;font:400 .875rem Arial,sans-serif}.freight-site-footer a,.freight-site-footer button{color:inherit}.freight-site-footer button{border:0;background:none;text-decoration:underline;cursor:pointer;font:inherit}.freight-site-footer strong{font-size:1.1rem}
.quote-form .quote-consent{display:flex;align-items:flex-start;gap:.65rem;font-size:.82rem;line-height:1.4}.quote-form .quote-consent input{flex:none;width:18px;height:18px;margin:0}.quote-form .quote-consent a{color:inherit;text-decoration:underline}.quote-form .quote-status{margin:0;padding:.75rem;border-radius:.5rem;background:#fff6d6;color:#242424}.quote-form .quote-status[data-error]{background:#fff0ed;color:#9b2117}
.freight-quote{width:min(540px,calc(100% - 24px));max-height:92dvh;overflow:auto;padding:clamp(22px,4vw,34px);border:1px solid #e8dfc6;border-radius:26px;background:#fff;color:#171717;box-shadow:0 25px 90px #0008;font:400 1rem Arial,sans-serif}.freight-quote::backdrop{background:#0909099c;backdrop-filter:blur(5px)}.freight-quote h2{margin:0 44px 7px 0;font-size:clamp(1.5rem,4vw,2rem);font-weight:800}.freight-quote>p{margin:0 0 18px;color:#555;line-height:1.5}.freight-quote-close{position:absolute;top:13px;right:16px;width:36px;height:36px;border:0;border-radius:50%;background:#f2f2f2;color:#222;font-size:1.55rem;cursor:pointer}.freight-quote .quote-form{display:grid;gap:12px}.freight-quote .quote-form label:not(.quote-consent){display:grid;gap:6px;font-size:.91rem;font-weight:700}.freight-quote .quote-form input:not([type=checkbox]){width:100%;min-height:45px;padding:10px 12px;border:1px solid #d7d7d7;border-radius:10px;background:#fff;color:#171717;font:inherit}.freight-quote-submit{min-height:47px;margin-top:3px;border:0;border-radius:12px;background:#ffca35;color:#171717;font:700 1rem Arial,sans-serif;cursor:pointer}.freight-quote-submit:disabled{opacity:.65;cursor:wait}.freight-mobile-menu{position:fixed;z-index:50;top:85px;left:20px;right:20px;display:grid;gap:3px;padding:14px;border:1px solid #eee;border-radius:20px;background:#fffefaed;box-shadow:0 16px 45px #0003;backdrop-filter:blur(18px)}.freight-mobile-menu a,.freight-mobile-menu button{display:block;width:100%;padding:12px 14px;border:0;border-radius:10px;background:none;color:#171717;text-align:left;text-decoration:none;font:700 1rem Arial,sans-serif;cursor:pointer}.freight-mobile-menu a:hover,.freight-mobile-menu button:hover{background:#ffca35}
.freight-favorites{width:min(480px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:30px;border:1px solid #e8dfc6;border-radius:24px;background:#fff;color:#171717;box-shadow:0 25px 90px #0008;font:400 1rem Arial,sans-serif}.freight-favorites::backdrop{background:#0909099c;backdrop-filter:blur(5px)}.freight-favorites h2{margin:0 40px 10px 0;font-size:1.7rem}.freight-favorites p{line-height:1.5;color:#555}.freight-favorites-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.freight-favorites-options label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #dedede;border-radius:10px}.freight-favorites-options input{width:18px;height:18px}.freight-favorites .freight-quote-submit,.freight-favorites-quote{display:block;width:100%;margin-top:10px}.freight-favorites-quote{min-height:45px;border:1px solid #171717;border-radius:12px;background:#fff;color:#171717;font:700 1rem Arial,sans-serif;cursor:pointer}.recent-panel .all-link{display:none}
.lead-dialog{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(560px,calc(100% - 28px));max-height:92dvh;overflow:auto;padding:26px;border:1px solid #e6ddd2;border-radius:20px;background:#fff;color:#24211f;box-shadow:0 24px 90px #21170c50}.lead-dialog::backdrop{background:#18151299;backdrop-filter:blur(3px)}.lead-dialog h2{margin:0 42px 8px 0}.lead-dialog form{display:grid;gap:12px}.lead-dialog label:not(.honeypot){display:grid;gap:5px}.lead-dialog input:not([type=checkbox]),.lead-dialog textarea{width:100%;min-height:42px;border:1px solid #d9d2c8;border-radius:9px;padding:8px 10px}.lead-dialog .consent-label{display:flex!important;align-items:flex-start;gap:8px;font-size:.82rem}.lead-dialog .consent-label input{flex:none;margin-top:2px}.dialog-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:#f1eee8;font-size:1.5rem;cursor:pointer}.lead-dialog .button,.pwa-offer .button{border:0;border-radius:9px;padding:10px 16px;background:#ffca35;color:#171717;font-weight:700;cursor:pointer}.lead-dialog .form-feedback{min-height:1.2em;color:#9b2117}.honeypot,.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cookie-banner{position:fixed;z-index:1000;left:50%;bottom:14px;transform:translateX(-50%);width:min(940px,calc(100% - 28px));padding:18px 20px;border:1px solid #ddd7c9;border-radius:18px;background:#fff;color:#222;box-shadow:0 18px 55px #0004}.cookie-copy p{margin:.5rem 0 1rem}.cookie-actions,.cookie-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cookie-actions button,.cookie-options button{padding:9px 13px;border:1px solid #d8d0c3;border-radius:10px;background:#f7f4ee;cursor:pointer}.cookie-options{margin-top:12px;padding-top:12px;border-top:1px solid #ddd}.cookie-options label{display:flex;align-items:center;gap:7px}.pwa-offer{position:fixed;z-index:999;right:15px;bottom:15px;width:min(390px,calc(100% - 30px));padding:22px;border:1px solid #ddd7c9;border-radius:18px;background:#fff;color:#222;box-shadow:0 18px 55px #0004}.pwa-offer strong{display:block;padding-right:35px}.pwa-offer .button-plain{background:transparent}[hidden]{display:none!important}
@media(max-width:640px){.freight-site-footer{justify-content:flex-start;padding:1.5rem}.cookie-actions>*{flex:1 1 100%}.stats-row strong{font-size:24px}.stats-row>div{padding:0 5px}}

/* Step 2: card breathing room; step 3: centered minimal quote dialog; step 4: isolated page surfaces. */
main.freight-shell{background:transparent!important;border-radius:0!important;box-shadow:none!important}
.popular-panel{padding-bottom:14px}
.service-list{padding-bottom:8px}
.freight-quote{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;}
.freight-site-footer{width:min(1500px,calc(100% - 64px));max-width:none;margin:24px auto 32px;padding:26px clamp(20px,3vw,42px);border:1px solid #fff;border-radius:26px;background:#fff;color:#171717;box-shadow:0 16px 45px #17171716}
.freight-site-footer a,.freight-site-footer button{color:inherit}
.freight-site-footer strong{font-size:1.1rem}
.route-feed-caption{margin:5px 0 2px 32px;color:var(--freight-caption);font-size:9px}
.recent-panel .request-row time{display:none}
.route-feed-controls{display:flex;gap:4px;margin-left:auto}
.route-feed-controls button{display:grid;place-items:center;width:26px;height:26px;border:1px solid #e5e5e5;border-radius:50%;background:#fff;color:#222;font:700 18px/1 Arial,sans-serif;cursor:pointer}
.route-feed-controls button:hover{background:#ffca35}
.recent-panel .request-row{animation:route-appear .22s ease-out}
@keyframes route-appear{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.freight-site-footer{width:calc(100% - 28px);margin:18px auto 24px;padding:22px;border-radius:22px}.freight-quote{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:24px 20px}.recent-panel{padding-bottom:12px}.route-feed-caption{font-size:10px}.route-feed-controls button{width:30px;height:30px}}

.cookie-copy{padding-right:42px}.cookie-close{position:absolute;top:10px;right:12px;display:grid;width:34px;height:34px;place-items:center;border:1px solid #ded8cf;border-radius:50%;background:#fff;color:#222;font-size:1.35rem;line-height:1;cursor:pointer}.cookie-close:focus-visible{outline:3px solid #bd9976;outline-offset:2px}

/* Desktop: one viewport, full-height columns and a flexible hero. */
@media (min-width:769px){
  html,body,#root{width:100%;height:100%;min-height:0;overflow:hidden}
  main.freight-shell{width:calc(100% - 32px);max-width:none;height:calc(100dvh - 32px);min-height:0;max-height:none;margin:16px auto;padding:8px;gap:clamp(10px,1vw,20px);grid-template-columns:clamp(210px,18vw,330px) minmax(0,1fr) clamp(56px,4.5vw,76px);align-items:stretch;overflow:visible}
  .left-sidebar,.main-content,.right-rail{height:100%;min-height:0}
  .left-sidebar{display:grid;grid-template-rows:auto 38px minmax(0,1fr) clamp(150px,24vh,205px);gap:12px;padding:0 2px;overflow:visible}
  .left-sidebar .wordmark{width:100%;max-width:none;height:clamp(42px,7vh,64px);object-fit:contain;margin:0}
  .left-sidebar .route-search{height:38px;width:100%;margin:0}
  .left-sidebar>.popular-panel{display:flex;flex-direction:column;min-height:0;margin:0;padding:0;overflow:visible}
  .left-sidebar .section-heading{flex:none;min-height:24px}
  .left-sidebar .section-heading h2{font-size:clamp(13px,1vw,17px)}
  .left-sidebar .service-list{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));flex:1;min-height:0;gap:8px;margin:6px 0 0;padding:0}
  .left-sidebar .service-card{display:flex;height:100%;min-height:0}
  .left-sidebar .pager{flex:none;padding:8px 0 0}
  .left-sidebar>.recent-panel{display:flex;flex-direction:column;height:100%;min-height:0;margin:0;padding:12px;border-radius:24px;overflow:hidden}
  .left-sidebar .request-list{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));flex:1;min-height:0}
  .left-sidebar .request-row{display:flex;gap:8px;min-height:0;padding:4px 0}
  .left-sidebar .request-copy strong{white-space:normal;font-size:clamp(10px,.75vw,13px);line-height:1.2}
  .left-sidebar .request-copy span{font-size:clamp(9px,.65vw,11px)}
  .left-sidebar .request-row button{margin-left:auto}
  .left-sidebar .route-feed-caption{margin:6px 0;font-size:9px;line-height:1.2}
  .main-content{display:grid;grid-template-columns:.9fr 1fr;grid-template-rows:minmax(0,1fr) clamp(170px,26vh,230px);gap:12px;align-content:stretch;min-height:0;overflow:visible}
  .truck-hero{height:100%;min-height:0;border-radius:clamp(26px,3vw,44px);overflow:hidden}
  .hero-copy{height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(20px,4vh,56px) clamp(24px,2.5vw,56px)}
  .hero-copy h1{font-size:clamp(32px,3.2vw,62px);line-height:1.04;margin:0 0 12px}
  .eyebrow{margin:0 0 14px;font-size:clamp(8px,.7vw,11px)}
  .delivery-badge{max-width:100%;font-size:clamp(18px,1.7vw,30px);padding:8px 14px;line-height:1.15}
  .hero-description{margin:12px 0 20px;font-size:clamp(14px,1.15vw,20px);line-height:1.4}
  .hero-cta{flex:none;height:clamp(44px,6.5vh,60px);padding:12px 28px;font-size:clamp(13px,1vw,18px)}
  .stats-panel{height:100%;min-height:0;border-radius:clamp(24px,2.5vw,35px);overflow:hidden}
  .stats-content{height:100%;display:flex;flex-direction:column;padding:clamp(10px,1.4vh,18px) clamp(12px,1.4vw,24px)}
  .stats-content h2{flex:none;margin:0 0 6px;font-size:clamp(13px,1.1vw,19px);line-height:1.2}
  .stats-row{flex:1;min-height:0;align-items:center;width:77%}
  .stats-row>div{padding:0 clamp(6px,.8vw,16px)}
  .stats-row strong{font-size:clamp(24px,2.6vw,44px);line-height:1}
  .stats-row span{margin-top:4px;font-size:clamp(11px,.85vw,15px);line-height:1.2}
  .network-map{height:65%;top:8px;right:8px}
  .trust-line{flex:none;gap:12px;margin-top:6px;padding:6px 0 0}
  .trust-line svg{width:28px;height:28px}
  .trust-line p{font-size:clamp(10px,.8vw,13px);line-height:1.2}
  .categories-panel{display:flex;flex-direction:column;height:100%;min-height:0;padding:14px;border-radius:clamp(24px,2.5vw,35px)}
  .categories-panel .section-heading{flex:none;margin-bottom:10px;min-height:20px}
  .categories-panel .section-heading h2{padding:0;font-size:clamp(13px,1.1vw,19px)}
  .category-grid{flex:1;align-content:center;gap:8px}
  .category-button{height:clamp(34px,5.2vh,54px);font-size:clamp(11px,.9vw,16px);gap:8px}
  .categories-panel .pager{flex:none;padding:10px 0 0}
  .right-rail{gap:12px}
  .right-rail .rail-menu-toggle{width:100%;height:auto;aspect-ratio:1;max-width:76px}
  .right-rail nav{width:100%;flex:1;min-height:0;justify-content:space-between;padding:12px 0;gap:4px;overflow:hidden}
}
@media (min-width:769px) and (max-height:650px){
  main.freight-shell{height:calc(100dvh - 16px);margin:8px auto;padding:4px;gap:10px}
  .left-sidebar{grid-template-rows:38px 32px minmax(0,1fr) 122px;gap:8px}
  .left-sidebar .wordmark{height:38px}
  .left-sidebar .route-search{height:32px}
  .left-sidebar>.recent-panel{padding:8px 10px}
  .left-sidebar .route-feed-caption{display:none}
  .left-sidebar .city-avatar{width:26px;height:26px}
  .left-sidebar .request-row{padding:2px 0}
  .left-sidebar .section-heading h2{font-size:12px}
  .left-sidebar .service-list{gap:5px}
  .main-content{grid-template-rows:minmax(0,1fr) 160px;gap:10px}
  .hero-copy{padding:18px 24px}
  .hero-copy h1{font-size:clamp(28px,2.7vw,42px);margin-bottom:8px}
  .eyebrow{margin-bottom:8px;font-size:8px}
  .delivery-badge{font-size:clamp(17px,1.5vw,23px);padding:6px 10px}
  .delivery-badge svg{width:27px;height:25px}
  .hero-description{font-size:14px;line-height:1.25;margin:8px 0 12px}
  .hero-cta{height:40px;padding:8px 22px;font-size:13px}
  .stats-content{padding:9px 12px}
  .stats-content h2{font-size:13px}
  .stats-row strong{font-size:clamp(23px,2.2vw,32px)}
  .stats-row span{font-size:11px}
  .trust-line p{font-size:10px}
  .trust-line svg{width:23px;height:23px}
  .category-button{height:32px;font-size:11px}
  .categories-panel{padding:10px}
  .categories-panel .section-heading{margin-bottom:6px}
  .categories-panel .pager{display:none}
}
@media (min-width:769px) and (max-width:1100px){
  main.freight-shell{grid-template-columns:200px minmax(0,1fr) 50px;gap:10px;width:calc(100% - 24px)}
  .main-content{grid-template-columns:1fr 1fr}
  .hero-copy{padding:22px}
  .hero-copy h1{font-size:32px}
  .delivery-badge{font-size:17px;gap:8px}
  .delivery-badge svg{width:25px}
  .stats-row{width:100%}
  .stats-row strong{font-size:23px}
  .stats-row span{font-size:11px}
  .network-map{opacity:.2;width:50%}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .category-button{height:30px;font-size:11px;gap:5px}
  .category-button svg{width:18px;height:18px}
  .categories-panel .pager{display:none}
}
/* One shared navigation menu on mobile and desktop. */
.freight-mobile-menu[hidden]{display:none!important}
.freight-mobile-menu{z-index:100}
.rail-menu-toggle{appearance:none;display:grid;place-items:center;flex:none;width:72px;height:72px;padding:0;border:1px solid #fff;border-radius:50%;background:var(--freight-yellow,#ffca35);color:#171717;box-shadow:0 10px 26px #141c2430,inset 0 1px #ffffffa8;cursor:pointer}
.rail-menu-toggle svg{width:30px;height:30px}
.rail-menu-toggle:hover{background:#ffd750;transform:translateY(-1px)}
.rail-menu-toggle:focus-visible{outline:3px solid #171717;outline-offset:3px}
@media(min-width:769px){
  .freight-mobile-menu{top:90px;right:clamp(24px,3vw,52px);left:auto;width:min(340px,calc(100vw - 40px));gap:5px;padding:14px;border:1px solid #ffffffd9;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px #141c2440;backdrop-filter:blur(20px)}
  .freight-mobile-menu a,.freight-mobile-menu button{padding:13px 15px;border-radius:14px;font-size:1rem}
  .rail-menu-toggle{position:relative}
}
@media(max-width:768px){.rail-menu-toggle{display:none}}

/* Keep legacy iOS Safari (including iPhone 7) on the single-column mobile layout. */
html,body,#root{max-width:100%;overflow-x:hidden}
@media screen and (max-width:768px){
  html,body,#root{width:100%;min-width:0;overflow-x:hidden}
  body{height:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  .freight-shell{display:block;width:calc(100% - 24px);max-width:610px;min-width:0;height:auto;min-height:calc(100vh - 24px);margin:16px auto;padding:8px 8px 14px;overflow-x:hidden;overflow-y:visible}
  .left-sidebar,.right-rail{display:none!important}
  .mobile-header{display:flex!important;position:relative;min-width:0;justify-content:space-between;align-items:center}
  .mobile-header .wordmark{width:min(74%,310px);max-width:calc(100% - 56px);height:auto;max-height:46px;object-fit:contain}
  .main-content{display:flex!important;flex-direction:column;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:7px;width:100%;min-width:0;max-width:100%}
  .truck-hero{width:100%;min-width:0;min-height:300px;grid-column:auto}
  .stats-panel{width:100%;min-width:0;min-height:160px}
  .mobile-popular,.mobile-recent{display:block!important;width:100%;min-width:0;max-width:100%}
  .mobile-popular{order:3}
  .categories-panel{order:4;width:100%;min-width:0;max-width:100%}
  .mobile-recent{order:5}
  .mobile-popular .popular-panel,.mobile-recent .recent-panel{width:100%;min-width:0;max-width:100%}
  .service-list,.category-grid,.request-list{min-width:0;max-width:100%}
  .service-card,.category-button,.request-row{min-width:0;max-width:100%}
  .service-copy,.request-copy{min-width:0;overflow-wrap:anywhere}
  .freight-site-footer{width:calc(100% - 24px);max-width:610px;margin:18px auto 24px}
}
