/* Standalone fare + loading page. Existing order overlay remains separate. */
html.hw-quote-page #v2FareOverlay{display:none!important}
#hccApp #hccQuickPanel{padding:24px;max-width:1100px;margin:0 auto;overflow:visible}
#hccQuickPanel #v2FareStep{display:block!important}
#hccQuickPanel .v2-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#hccQuickPanel .v2-field{min-width:0}
#hccQuickPanel .v2-field label{display:block;font-size:15px;font-weight:800;color:#24445e;margin-bottom:7px}
#hccQuickPanel input:not([type=checkbox]),#hccQuickPanel select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:2px solid #a8bfd1;border-radius:8px;background:white;color:#17354c;font-size:16px;box-sizing:border-box}
#hccQuickPanel .v2-address-swap-row{grid-column:1/-1;text-align:center}
#hccQuickPanel .v2-address-swap-btn{border:1px solid #98bee1;border-radius:24px;padding:9px 18px;background:#edf6ff;color:#174e7c;font-weight:800}
#hccQuickPanel .v2-checks{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0;font-weight:700}
#hccQuickPanel .v2-checks label{display:flex;gap:7px;align-items:center}
#hccQuickPanel .v2-note{font-size:13px;color:#4b6174;margin-bottom:16px}
#hccQuickPanel .v2-result{margin:18px 0;padding:18px;background:#edf5fc;border:2px solid #aac3da;border-radius:10px}
#hccQuickPanel .v2-result-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}
#hccQuickPanel .v2-result-grid span{display:block;font-size:13px;color:#456078}
#hccQuickPanel .v2-result-grid strong{display:block;font-size:22px;font-weight:800;color:#143c59;overflow-wrap:anywhere}
#hccQuickPanel .v2-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:22px;position:static}
#hccQuickPanel .v2-action{border:1px solid #9eb6c9;background:#eff5fa;color:#163952;border-radius:8px;padding:11px 16px;font-size:15px;font-weight:800;min-height:44px;white-space:normal}
#hccQuickPanel #hccQuickCalculate{background:#23678e;border-color:#23678e;color:white}
#hccQuickPanel #v2CalcBtn{background:#ffbf5a;border-color:#e5a544;color:#17354d}
#hccQuickPanel .v2-action.callback{background:#e5f1f9;color:#164e73}
#hccQuickPanel [hidden]{display:none!important}
#hccQuickPanel .hw-stop-inline{min-width:0;display:flex;gap:6px}
#hccQuickPanel .hw-stop-inline input{flex:1;width:0}
#hccQuickPanel .hw-stop-inline>button{flex:0 0 38px;border-radius:7px;border:1px solid #9cbddd;background:#edf5fc;color:#175a90;font-size:22px}
#hccApp #hccViaNotice{margin-bottom:15px;padding:10px;background:#fff3d9;color:#775014}
#hccApp #hccResults{scroll-margin-top:calc(var(--hw-site-nav-height,0px) + 85px)}
html.hw-quote-embed{--hw-site-nav-height:0px!important}
html.hw-quote-embed body{padding-top:0!important}
html.hw-quote-embed .v2-header,html.hw-quote-embed .hcc-header,html.hw-quote-embed .hcc-intro,html.hw-quote-embed .hcc-footer{display:none!important}
html.hw-quote-embed #hccApp .hcc-main{padding:0 10px 18px}
html.hw-quote-embed #hccApp #hccQuickPanel{padding:14px}
@media(max-width:640px){
 #hccApp #hccQuickPanel{padding:16px}
 #hccQuickPanel .v2-form-grid{grid-template-columns:minmax(0,1fr);gap:15px}
 #hccQuickPanel .v2-result-grid{grid-template-columns:1fr 1fr}
 #hccQuickPanel .v2-result-grid>div:first-child{grid-column:1/-1}
 #hccQuickPanel .v2-dialog-actions{display:grid;grid-template-columns:1fr 1fr}
 #hccQuickPanel .v2-dialog-actions>*{width:100%;margin:0}
 #hccApp .hcc-intro{margin-bottom:8px}
}
/* Both tools share one continuous form; only result sections start hidden. */
#hccApp #hccQuickPanel{max-width:none;margin-bottom:18px;scroll-margin-top:calc(var(--hw-site-nav-height,0px) + 12px)}
#hccApp #hccQuickPanel>.hcc-input-card{border:0;border-top:2px solid #b6c8d8;border-radius:0;box-shadow:none;margin-top:24px;padding:22px 0 0;background:transparent}
#hccApp #hccInputHeading small{font-size:13px;color:#47617a;margin-left:8px}
#hccApp #hccCargoPanel[hidden]{display:block!important}
#hccApp .hcc-route-fields[hidden],#hccApp .hcc-checks[hidden]{display:none!important}
#hccApp #hccResults{scroll-margin-top:calc(var(--hw-site-nav-height,0px) + 12px)}
#hccQuickPanel .v2-field.full{grid-column:auto}
#hccQuickPanel .v2-note{margin-block:12px}
#hccQuickPanel .v2-dialog-actions{margin-top:14px}
html.hw-quote-embed #hccApp .hcc-main{padding-top:12px}

/* Compact shared input surface, with readable text and two-pixel outlines. */
#hccApp .hcc-main{padding-top:12px;padding-bottom:12px}
#hccApp .hcc-intro{margin-bottom:10px}
#hccApp .hcc-intro .hcc-eyebrow{display:none}
#hccApp .hcc-intro h1{font-size:25px;margin-bottom:5px}
#hccApp .hcc-intro p{font-size:14px;color:#29445e}
#hccApp #hccQuickPanel{padding:16px 20px;border:2px solid #829eb8}
#hccApp #hccQuickPanel>.hcc-input-card{margin-top:16px;padding-top:14px}
#hccQuickPanel .v2-checks{margin:10px 0;gap:18px;font-size:14px}
#hccQuickPanel .v2-field label{font-size:14px;margin-bottom:5px}
#hccQuickPanel input:not([type=checkbox]),#hccQuickPanel select{min-height:42px;padding:8px 10px;border:2px solid #829eb8;color:#17354c;font-size:16px}
#hccApp #hccQuickPanel .hcc-item{border-color:#8da8bf}
#hccQuickPanel .v2-action{min-height:42px;padding:9px 15px;border-width:2px}
#hccQuickPanel .v2-result{margin:10px 0;padding:10px}
#hccQuickPanel .v2-result-grid>div{padding:8px}
#hccQuickPanel .v2-result-grid strong{font-size:20px}
#hccApp .hcc-footer{margin-top:14px;padding-top:12px}
@media(min-width:1000px){
 #hccQuickPanel .v2-form-grid{grid-template-columns:1.5fr 1.5fr .8fr .9fr;gap:8px 14px}
 #hccQuickPanel .v2-field:nth-child(1){grid-area:1/1}
 #hccQuickPanel .v2-field:nth-child(2){grid-area:1/2}
 #hccQuickPanel .v2-field:nth-last-child(2){grid-area:1/3}
 #hccQuickPanel .v2-field:last-child{grid-area:1/4}
 #hccQuickPanel .v2-address-swap-row{grid-column:1/3;grid-row:2}
 #hccQuickPanel .v2-address-swap-btn{height:32px;padding:5px 14px;font-size:13px}
 #hccQuickPanel .v2-note{display:none}
 #hccQuickPanel .v2-checks{float:left;margin-top:12px}
 #hccQuickPanel .v2-dialog-actions{margin-top:8px}
 #hccQuickPanel .v2-result{clear:both}
 #hccQuickPanel #v2FareStep:after{content:'';display:block;clear:both}
 #hccApp #hccQuickPanel .hcc-mode-control{margin-bottom:4px}
 #hccApp #hccQuickPanel .hcc-mode-control span{padding:7px;font-size:14px}
 #hccApp #hccQuickPanel .hcc-help{margin-block:5px}
 #hccApp #hccQuickPanel .hcc-item{margin-top:7px;padding-block:6px}
 #hccApp #hccQuickPanel .hcc-input-actions{margin-top:8px}
 #hccApp #hccQuickPanel .hcc-footnote{margin:7px 0 0;font-size:12px;line-height:1.5}
}
@media(max-width:640px){
 #hccApp #hccQuickPanel{padding:14px 12px}
 #hccQuickPanel .v2-form-grid{grid-template-columns:1fr 1fr;gap:10px}
 #hccQuickPanel .v2-field.full{grid-column:1/-1}
 #hccQuickPanel .v2-dialog-actions{gap:6px}
 #hccApp #hccQuickPanel h2{font-size:18px}
}
@media(min-width:1000px){
 #hccApp #hccQuickPanel>.hcc-input-card>.hcc-card-heading{float:left;margin:0;min-height:36px;align-items:center}
 #hccApp #hccQuickPanel .hcc-mode-control{margin-left:auto;width:360px;min-height:36px}
 #hccApp #hccQuickPanel .hcc-item{grid-template-columns:minmax(140px,1fr) minmax(275px,1.65fr) minmax(170px,1fr);gap:3px 18px;margin-top:10px;padding:6px 14px}
 #hccApp #hccQuickPanel .hcc-item>.hcc-field{grid-area:1/1}
 #hccApp #hccQuickPanel .hcc-item>.hcc-size-grid{grid-area:1/2}
 #hccApp #hccQuickPanel .hcc-item>.hcc-two-grid{grid-area:1/3}
 #hccApp #hccQuickPanel .hcc-item>.hcc-stack-line{grid-area:2/3;min-height:24px}
 #hccApp #hccQuickPanel .hcc-unit-line{position:absolute;top:-36px;right:16px;display:flex;gap:8px;align-items:center}
 #hccApp #hccQuickPanel .hcc-unit-line select{min-height:30px;height:30px;padding:3px 7px;width:70px}
 #hccApp #hccQuickPanel .hcc-footnote br{display:none}
 #hccApp #hccQuickPanel .hcc-footnote br:after{content:' · '}
 #hccApp #hccQuickPanel .hcc-input-actions .hcc-body-field label{display:none}
 #hccApp #hccQuickPanel .hcc-input-actions{align-items:center;gap:12px}
 #hccQuickPanel .v2-dialog-actions .callback{margin-left:10px}
}
@media(min-width:1000px) and (max-height:800px){
 #hccApp .hcc-intro p:not(.hcc-eyebrow){display:none}
 #hccApp .hcc-main{padding-top:8px}
 #hccApp #hccQuickPanel{padding:12px 18px}
 #hccApp #hccQuickPanel>.hcc-input-card{margin-top:12px;padding-top:10px}
 #hccApp #hccItemMode>.hcc-help{margin-top:2px;margin-bottom:2px}
 #hccApp .hcc-footer{margin-top:8px;padding-top:8px}
}
