.ogw-controls{display:grid;gap:10px;margin-block:14px;color:inherit}
.ogw-controls[hidden]{display:none}
.ogw-local{font-size:12px;line-height:1.45}
.ogw-consent{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.45}
.ogw-consent input{flex:none;inline-size:18px;block-size:18px;margin:2px 0 0;accent-color:#277348}
.ogw-consent-copy{min-width:0}
.ogw-consent-copy > label,.ogw-consent-copy > a{
  display:inline;position:static;margin:0;padding:0;cursor:pointer;
}
.ogw-consent-copy > a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ogw-consent-copy > a::before,.ogw-consent-copy > a::after{content:none}
.ogw-status{font-size:14px;line-height:1.45;margin:0;padding:9px 12px;border-radius:6px;background:#edf4ed;color:#173726}
.ogw-status[data-tone=error]{background:#fff3ec;color:#7d2816}
.ogw-status[hidden]{display:none}
.ogw-new{justify-self:start}
.ogw-new[hidden]{display:none}
.ogw-help{justify-self:start;display:inline-flex;align-items:center;min-height:44px;color:#206440;text-underline-offset:3px}
.ogw-help[hidden],.ogw-docs-fields[hidden]{display:none}
.ogw-status{overflow-wrap:anywhere}

/* B10/B11 live intake: consent belongs to the action rail, outside the scrolling fields. */
.ow-form[data-step="2"]:not(.is-subpage) > .ow-footer:has(.ogw-controls--action:not([hidden])){
  display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:12px;row-gap:8px;align-items:center;
}
.ow-form[data-step="2"]:not(.is-subpage) > .ow-footer:has(.ow-back[hidden]){
  grid-template-columns:minmax(0,1fr);
}
.ow-form > .ow-footer .ogw-controls--action{
  grid-column:1/-1;grid-row:1;gap:6px;min-width:0;margin:0;
}
.ow-form[data-step="2"]:not(.is-subpage) > .ow-footer:has(.ogw-controls--action:not([hidden])) > :is(.ow-back,.ow-next){
  grid-row:2;
}
body[data-hero-form-variant] #request.hero-form-rail .ow-form[data-step="2"] > .ow-footer > .hero-form-feedback{
  display:none!important;
}
body[data-hero-form-variant] #request.hero-form-rail .ow-form[data-step="2"] .ow-stage .ow-field .ow-error:not(:empty){
  position:static!important;inline-size:auto!important;block-size:auto!important;
  overflow:visible!important;clip-path:none!important;margin:2px 0 0!important;
}
.ow-form .ogw-controls--action .ogw-consent{
  align-items:center;min-height:44px;gap:8px;font-size:13px;line-height:1.35;
}
.ow-form .ogw-controls--action .ogw-consent input{margin:0}
.ow-form :is(.ogw-consent input,.ogw-help):focus-visible{outline:2px solid #277348;outline-offset:3px}
.ow-form .ogw-docs-fields{grid-column:1/-1;margin-top:2px}
.ow-form .ogw-docs-fields .ow-field{margin:0}
body #request-modal .ow-form.is-documents [data-contact-step] .ogw-docs-fields .ow-field > span{
  display:block;position:static!important;inline-size:auto!important;block-size:auto!important;
  clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;
  margin:0!important;color:#486253;font-size:13px;line-height:1.3;
}
.ow-form .ogw-note{margin:8px 0 0;color:#486253;font-size:13px;line-height:1.4}
.ow-form .ogw-docs-fields .ogw-note{margin-top:6px}
.ow-form [data-stage="2"]>.ogw-review{margin:0 0 12px;color:#486253;font-size:14px!important;line-height:1.4;overflow-wrap:anywhere}
.ow-form .ogw-review:empty,.ow-form .ogw-review[hidden]{display:none}
.ow-form .quote-route-check:has(.ogw-edit-route){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}
.ow-form .quote-route-check:has(.ogw-edit-route)>span{min-width:0;overflow-wrap:anywhere}
.ow-form .quote-route-check .ogw-edit-route{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding-inline:7px;white-space:nowrap}
.ow-form > .ow-footer > .ow-next:disabled{
  background:#dce9df!important;border-color:#bacec0!important;color:#355743!important;opacity:1;
}

@media(min-width:761px){
  /* Keep city captions in their own fields so the heading cannot collide with them. */
  body[data-design-system] #request-modal[data-desktop-wizard] .ow-stage[data-stage="0"] > .ow-inputs{
    margin-block-start:14px;padding-block-start:0;
  }
  body[data-design-system] #request-modal[data-desktop-wizard] .ow-stage[data-stage="0"] .ow-city-edit.ow-field{
    display:grid;grid-template-columns:minmax(0,1fr);min-height:62px!important;align-content:center;gap:4px;
  }
  body[data-design-system] #request-modal[data-desktop-wizard] .ow-stage[data-stage="0"] .ow-city-edit > label.sr-only{
    display:block;position:static!important;inset:auto!important;width:auto!important;height:auto!important;
    margin:0!important;padding:0!important;clip:auto!important;clip-path:none!important;
    overflow:visible!important;white-space:normal;color:var(--ds-field-text,#486253);
    font:400 13px/1.25 var(--ds-font);
  }
  body[data-design-system] #request-modal[data-desktop-wizard] .ow-stage[data-stage="0"] .ow-city-edit::after{
    top:21px;
  }
  body[data-design-system] #request-modal[data-desktop-wizard] .ow-stage[data-stage="0"] .ow-city-edit > .quote-city-clear{
    top:30px;
  }
  .ow-form:not(.hero-form-rail .ow-form) [data-service-field]{position:relative}
  .ow-form:not(.hero-form-rail .ow-form) [data-service-field] .ow-service-options{
    position:absolute;inset-inline:0;inset-block-start:calc(100% + 5px);z-index:4;
    max-height:var(--quote-choice-max,238px);margin:0;box-shadow:0 8px 24px #17372629;
  }
  .ow-form:not(.hero-form-rail .ow-form) [data-service-field] .ow-service-options[data-choice-above]{
    inset-block-start:auto;inset-block-end:calc(100% + 5px);
  }
}

@media(max-width:760px){
  #request-modal[data-orda-mobile]{container:orda-request / size}
  #request-modal[data-orda-mobile] .ogw-controls--action .ogw-consent{align-items:flex-start;min-height:0}
  #request-modal[data-orda-mobile] .ogw-controls--action .ogw-consent input{margin-top:2px}
  #request-modal[data-orda-mobile] .ow-footer:has(.ogw-controls--action:not([hidden])){padding-block:10px 11px}
  .ow-form[data-step="2"] > .ow-footer .ow-back:not([hidden]){min-height:44px;display:inline-flex;align-items:center}
  .ow-form[data-step="2"] > .ow-footer:has(.ogw-controls--action:not([hidden])) > .ow-next{
    width:100%;min-width:0;max-width:none;
  }
  html:has(.ow-form:focus-within, #request-modal[open]) .orda-consult .oc-launch:not(:focus-visible){visibility:hidden}
  body[data-hero-form-variant] #request.hero-form-rail .ow-form[data-step="2"] .ow-stage:not([hidden]){
    height:auto;min-height:0;overflow:visible;
  }
}

/* Use the dialog height, including when the keyboard changes only visualViewport. */
@container orda-request (max-height: 460px){
  #request-modal[data-orda-mobile][open] .ow-form[data-step="2"]:not(.is-subpage){
    overflow:auto;overscroll-behavior:contain;scroll-padding-block:10px;
  }
  #request-modal[data-orda-mobile][open] .ow-form[data-step="2"]:not(.is-subpage) .ow-stage:not([hidden]){
    flex:0 0 auto;overflow:visible;min-height:auto;
  }
}

@media(max-height:400px){
  #request-modal[open] .ow-form[data-step="2"]:not(.is-subpage){overflow:auto;overscroll-behavior:contain}
  #request-modal[open] .ow-form[data-step="2"]:not(.is-subpage) .ow-stage:not([hidden]){
    flex:0 0 auto;overflow:visible;min-height:auto;
  }
}

@media(max-width:360px){
  .ow-form :is(.ow-step-nav,.ow-popup-steps) button{gap:3px!important;font-size:12px!important}
  .ow-form :is(.ow-step-nav,.ow-popup-steps) button > span:first-child{
    flex-basis:21px!important;width:21px!important;height:21px!important;
  }
}
