/* Quote review: keep route labels away from their colored rail. */
html body.cargoquick .ops-review-grid .ops-route article{padding:8px 10px 8px 14px!important;margin:0 0 7px!important;min-width:0;border-left-width:3px}
html body.cargoquick .ops-review-grid .ops-route article.via{border-color:#8b6cc4}
html body.cargoquick .ops-review-grid .ops-route article strong{display:block;overflow-wrap:anywhere;font-size:12px!important;line-height:1.5}
html body.cargoquick .ops-review-grid .ops-route article small{font-weight:750;letter-spacing:.02em;margin:0 0 3px}
html body.cargoquick .ops-review-grid .ops-route article p{margin:3px 0 0!important;font-size:11px!important;color:#667287}
.p32-quote-tabs{display:none}
html body.cargoquick .review-panel:has(.p5-quote-layout){padding:20px 24px;display:flex;flex-direction:column;max-height:94dvh;box-sizing:border-box}
.review-panel:has(.p5-quote-layout) .review-head{flex:none;margin-bottom:12px}
.review-panel:has(.p5-quote-layout) .ops-quote-benefits{flex:none;border-radius:10px;background:#fff4e9;color:#92542c;margin:0 0 14px;padding:9px 12px;text-align:left;font-weight:650}
html body.cargoquick .p5-quote-layout{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:20px;overflow:auto;overscroll-behavior:contain;min-height:0}
.p5-quote-layout>*,.p32-quote-overview{min-width:0;min-height:0}
html body.cargoquick .p32-quote-overview>.p6-route-map{width:100%;height:auto;min-height:170px;margin:0 0 14px;border:1px solid #e3e9ed;border-radius:14px;box-sizing:border-box}
html body.cargoquick .p32-quote-overview>.p6-route-map svg{display:block;width:100%;height:clamp(150px,23dvh,210px);max-height:none!important;object-fit:contain}
html body.cargoquick .p5-quote-layout .ops-review-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important;gap:16px!important}
html body.cargoquick .p5-quote-layout .ops-route{padding:9px 8px!important;border-radius:12px;background:#f8fafc}
html body.cargoquick .p5-quote-layout .ops-route article{padding:5px 8px 5px 14px!important;margin-bottom:5px!important}
html body.cargoquick .p5-quote-layout .ops-review-grid h3{margin:9px 0 4px!important;font-size:12px!important}
html body.cargoquick .p5-quote-layout .ops-price-detail{border-radius:12px;background:#fff8f2;border-color:#f3dfce}
.p5-quote-layout #quote-form{padding:15px;background:#fafbfc;border:1px solid #e5e9ef;border-radius:14px;align-self:start;box-sizing:border-box}
.p5-quote-layout #quote-form .ops-form-grid{gap:12px!important}
.p5-quote-layout #quote-form input{width:100%;box-sizing:border-box;min-height:38px!important;background:white;border-radius:9px}
.p5-quote-layout #quote-form textarea{width:100%;box-sizing:border-box;border-radius:9px;resize:vertical}
.p5-quote-layout #quote-form .ops-callout{background:white;border-radius:10px;color:#657085;padding:10px!important;font-size:11px;line-height:1.65}
.p5-quote-layout #quote-error:empty{display:none}
.p5-quote-layout #quote-form .review-actions{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px}
.p5-quote-layout #quote-form .review-actions button{min-height:42px;height:42px;box-sizing:border-box;padding:8px 12px!important;white-space:nowrap;border-radius:10px;margin:0}
@media(min-width:901px){
 html body.cargoquick .p32-quote-overview>.p6-route-map svg{height:clamp(135px,20dvh,180px)}
 html body.cargoquick .p5-quote-layout .ops-route{padding:6px 8px!important}
 html body.cargoquick .p5-quote-layout .ops-route article{padding:3px 8px 3px 14px!important;margin-bottom:3px!important}
 html body.cargoquick .p5-quote-layout .ops-route article small{font-size:10px;line-height:12px;margin-bottom:1px}
 html body.cargoquick .p5-quote-layout .ops-route article strong{font-size:12px!important;line-height:1.25}
 html body.cargoquick .p5-quote-layout .ops-route article p{font-size:10.5px!important;line-height:1.2!important;margin:2px 0 0!important}
 html body.cargoquick .p5-quote-layout .ops-route article p:empty{display:none}
 html body.cargoquick .p5-quote-layout .ops-review-grid h3{margin:6px 0 3px!important}
 html body.cargoquick .p5-quote-layout .ops-review-grid>section>p{margin:3px 0!important;line-height:1.4!important}
 html body.cargoquick .p5-quote-layout .ops-price-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px}
 html body.cargoquick .p5-quote-layout .ops-price-detail>div{gap:4px}
 html body.cargoquick .p5-quote-layout .ops-price-detail>div:last-child{grid-column:1/-1}
}
@media(max-width:900px) and (min-width:721px){html body.cargoquick .p5-quote-layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:14px}html body.cargoquick .p5-quote-layout .ops-review-grid{grid-template-columns:1fr!important}.p5-quote-layout .ops-review-grid>section:last-child{border-top:1px solid #e6eaf0;padding-top:8px}}
@media(max-width:720px){
 html body.cargoquick .review-panel:has(.p5-quote-layout){padding:16px;max-height:94dvh}
 .p32-quote-tabs{display:flex;flex:none;gap:5px;background:#edf1f5;border-radius:12px;padding:4px;margin:0 0 12px}
 .p32-quote-tabs button{flex:1;min-height:36px;border:0;border-radius:9px;background:none;color:#6c7788;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
 .p32-quote-tabs button[aria-selected=true]{background:white;color:#e66922;box-shadow:0 2px 5px #30415a12}
 html body.cargoquick .p5-quote-layout{display:block;max-height:none;overflow:auto}
 html body.cargoquick .p5-quote-layout[data-quote-view=route]>#quote-form,html body.cargoquick .p5-quote-layout[data-quote-view=form]>.p32-quote-route{display:none}
 html body.cargoquick .p5-quote-layout .ops-review-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 html body.cargoquick .p32-quote-overview>.p6-route-map svg{height:180px}
 .p5-quote-layout #quote-form{padding:12px}
}
