/* Only the homepage quote section. Keep the existing reveal and field behavior. */
#request .ds-request-stage{
  padding-block:clamp(23px,4.5vh,58px) clamp(24px,5vh,66px);
  scroll-margin-top:0;
}
#request .ds-request-stage>h2{
  margin:0 0 clamp(11px,2vh,21px);
  font-size:clamp(2.16rem,5vw,4.7rem);
  line-height:1;
}
#request .ds-request-panel{padding:clamp(14px,2.3vw,28px);border-radius:clamp(15px,2.4vw,28px)}
#request #dsq-request-fields>fieldset:first-of-type{
  display:grid;align-items:start;grid-template-columns:repeat(12,minmax(0,1fr));
  gap:9px 12px;
}
#request .ds-request-panel .pair{display:contents}
#request .ds-request-panel label{gap:3px;margin:0;min-width:0;font-size:.88rem;line-height:1.2}
#request .ds-request-panel label>span{align-self:end}
#request #dsq-request-fields>fieldset:first-of-type :where(label){grid-column:span 3}
#request #dsq-request-fields label:is([for="dsq-service"],[for="dsq-origin"],[for="dsq-destination"]){grid-column:span 4}
#request #dsq-request-fields label[for="dsq-consolidation"]{grid-column:span 4}
#request #dsq-request-fields label[for="dsq-cargo"]{grid-column:1/-1}
#request #dsq-consolidation-row:not([hidden])+label[for="dsq-cargo"]{grid-column:span 8}
#request .ds-request-panel :is(input,select,textarea){min-height:38px;padding:7px 10px;border-radius:8px}
#request .ds-request-panel textarea{height:44px;resize:vertical}
#request .ds-request-panel small{font-size:.76rem;line-height:1.25}
#request .ds-request-panel .request-contacts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px;
  margin:10px 0 0;padding-top:5px;
}
#request #dsq-request-contacts-title{font-size:.96rem}
#request #dsq-request-contacts-note{grid-column:1/-1;font-size:.81rem;line-height:1.23}
#request .ds-request-panel .ds-request-action{margin-top:10px;gap:7px 12px}
#request #dsq-note{font-size:.8rem;line-height:1.25}
#request .ds-request-action .pill{min-height:42px;padding:8px 14px}
@media (max-width:760px){
  #request .ds-request-stage{padding-inline:clamp(12px,3.4vw,24px)}
  #request .ds-request-panel{padding:12px}
  #request #dsq-request-fields>fieldset:first-of-type,
  #request .ds-request-panel .request-contacts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}
  #request #dsq-request-fields>fieldset:first-of-type :where(label),
  #request #dsq-request-fields label:is([for="dsq-origin"],[for="dsq-destination"],[for="dsq-consolidation"]){grid-column:span 1}
  #request #dsq-request-fields label[for="dsq-service"],
  #request #dsq-request-fields label[for="dsq-cargo"]{grid-column:1/-1}
  #request #dsq-consolidation-row:not([hidden])+label[for="dsq-cargo"]{grid-column:span 1}
  #request .ds-request-panel :is(input,select,textarea){font-size:16px;min-height:42px;padding:5px 8px}
  #request .ds-request-panel textarea{height:42px}
  #request .ds-request-panel label>small{
    position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0
  }
}
@media (max-width:760px) and (max-height:760px){
  #request .ds-request-stage{padding-block:13px 17px}
  #request .ds-request-stage>h2{font-size:clamp(1.88rem,7.7vw,2.56rem);margin-bottom:9px}
  #request .ds-request-panel{padding:10px}
  #request .ds-request-panel label{font-size:.81rem}
}
@media (max-width:760px) and (max-height:760px){
  #request #dsq-request-fields>fieldset:first-of-type,
  #request .ds-request-panel .request-contacts{row-gap:5px}
  #request .ds-request-panel label{gap:2px;line-height:1.12}
  #request .ds-request-panel :is(input,select,textarea){min-height:40px}
  #request .ds-request-panel textarea{height:40px}
  #request .ds-request-panel .request-contacts{margin-top:7px;padding-top:4px}
  #request .ds-request-panel .ds-request-action{margin-top:7px}
}

/* Keep the submit control and its status on the same compact row when possible. */
#request #dsq-submit{border:0;cursor:pointer;flex-shrink:0}
#request #dsq-submit:hover:not(:disabled){background:#193f5b}
#request #dsq-submit:disabled{opacity:.6;cursor:default}
#request #dsq-note{flex:1 1 145px}
