:root{font-family:Arial,Helvetica,sans-serif;background:#f5f7fb;color:#10243b}body{line-height:1.5}header{padding:22px max(5%,calc((100% - 1120px)/2));align-items:center}.logo{white-space:nowrap}.logo span{color:#2563eb}.help-link{font-size:14px;border:1px solid #dce3ed;border-radius:24px;padding:12px 18px;color:#253b55}main{max-width:1120px;margin:22px auto}.staging-notice{font-size:13px;color:#52657b;margin-bottom:20px}.journey-top{display:flex;align-items:center;justify-content:space-between;color:#52657b;font-size:13px;gap:16px}.text-button{width:auto;background:transparent;color:#2563eb;padding:10px 0;margin:0;font-size:14px;text-align:left}.journey-progress{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;margin:24px 0 30px}.journey-progress li{display:flex;align-items:center;gap:10px;padding:12px 0 18px;border-bottom:3px solid #dce3ed;color:#647284;font-size:13px}.journey-progress b{font-size:28px}.journey-progress [aria-current]{color:#2563eb;border-color:#2563eb}.journey-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:26px;align-items:start}.journey-content{min-width:0}.panel{box-shadow:none;border-radius:14px;padding:28px}.panel h1{font-size:clamp(28px,3vw,36px);line-height:1.15}.panel .intro{font-size:15px;margin-bottom:26px}.panel h2{margin-top:28px}.fields{gap:18px}.fields>div>label:not(.acknowledgement){min-height:0;display:block;margin-bottom:8px}.fields input,.fields select{min-height:48px}.fields:has(#items)>div:last-child{grid-column:1/-1}label{line-height:1.45}label[for="floor1"],label[for="floor2"],label[for="lift1"],label[for="lift2"]{min-height:0}.hint,.muted{font-size:13px;line-height:1.6}.notice{margin:16px 0}.address-card{margin:20px 0;min-width:0}.route-postcode{font-size:14px}.route-postcode strong{white-space:nowrap}.secondary{background:#fff;border:1px solid #bccbde;color:#2563eb}.journey-actions{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;margin-top:16px}.journey-actions button{margin-top:0;min-height:50px}#journey-hint{text-align:center;margin-top:12px}.journey-summary{padding:10px 0;font-size:14px;overflow-wrap:anywhere}.journey-summary hr{border-color:#dce3ed}.journey-summary a{font-size:13px}.result{background:white;color:#10243b}.result .muted{color:#52657b}.result .badge{background:#eaf1ff;color:#2563eb}.result hr{border-color:#dce3ed}.result .price{color:#2563eb;font-size:46px}.result #estimate-checkout{margin-bottom:22px}.result h2{margin-top:0}.result #mileage-rules{color:#52657b}.journey-review-block{padding:18px 0;border-bottom:1px solid #dce3ed;display:flex;justify-content:space-between;gap:18px}.journey-review-block>div{min-width:0;overflow-wrap:anywhere}.journey-review-block h2{font-size:16px;margin:0 0 10px}.journey-review-block p{margin:5px 0;color:#52657b;font-size:14px}.journey-review-block button{flex-shrink:0;align-self:start}.journey-stop{border-top:1px solid #dce3ed;margin-top:22px;padding-top:18px}.journey-stop h3{font-size:17px}.stop-route{margin:18px 0;padding:16px;background:#f5f7fb;border-radius:10px}.stop-route label{display:block}.stop-route button{font-size:13px;width:auto;margin:6px 0 0;padding:8px 0;background:transparent;color:#2563eb}#request-panel{margin:0}#request-status,#status{overflow-wrap:anywhere}#request-status:empty,#status:empty{display:none}#request-status:not(:empty){background:#eaf1ff;padding:16px;border-radius:10px}#copy{background:white;color:#2563eb;border:1px solid #bccbde}#journey-review .review-total{font-size:22px;color:#10243b;font-weight:bold}.journey-step{scroll-margin-top:20px}.journey-step:focus{outline:none}.privacy-summary{font-size:13px;color:#52657b;margin-top:24px}.acknowledgement{font-size:14px}#hours{margin-top:8px}.journey-summary p{line-height:1.6}.journey-progress span{max-width:130px}button,a,input,select,textarea{touch-action:manipulation}button{min-height:44px}.journey-content>form{margin:0}#extra-stop-addresses:empty,#extra-stop-access:empty,#extra-stop-routes:empty{display:none}
@media(max-width:800px){.journey-layout{grid-template-columns:minmax(0,1fr)}.journey-summary{display:none}.panel{padding:22px}header{padding:18px 20px}}
@media(max-width:520px){main{padding:0 14px}.panel{padding:20px 16px}.journey-progress li{display:block;font-size:11px}.journey-progress b{display:block;font-size:24px;margin-bottom:4px}.journey-progress span{display:block;max-width:100px}.journey-progress{gap:5px;margin:18px 0}.journey-actions{grid-template-columns:84px minmax(0,1fr)}.journey-actions button{font-size:14px;padding:13px 10px}.journey-review-block{gap:10px}.journey-review-block button{font-size:12px}.help-link{font-size:12px;padding:10px 12px}.staging-notice{font-size:12px}.result .price{font-size:38px}.address-card{padding:14px 10px}.line{font-size:13px}}

.journey-inline-actions{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;margin-top:24px;align-items:start}.journey-inline-actions button{margin-top:0;min-height:50px;padding:13px 10px;font-size:14px}.journey-inline-actions>div button+button{margin-top:12px}#journey-actions[hidden]{display:none}#estimate-checkout{display:none}

/* The approved estimate card, with calculated values and optional detail. */
.result .eyebrow{color:#2563eb;font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 12px}
.result #estimate-title{margin:0 0 18px;letter-spacing:-.6px}.result .intro{color:#596a80;line-height:1.7}
.estimate-price-hero{background:#10243b;color:#fff;padding:26px 20px;border-radius:11px;text-align:center;margin:26px 0 22px}
.estimate-price-hero>span{display:block;color:#cedcf0;font-size:13px}.result .estimate-price-hero .price{display:block;color:#fff;font-size:48px;line-height:1.15;letter-spacing:-1.4px;margin:12px 0 14px}
.estimate-package{display:inline-block;background:#f1f4f8;border-radius:6px;padding:8px 10px;font-size:13px;margin:0 0 8px}.estimate-hours{font-size:13px;color:#52657b;margin:8px 0 14px}
.estimate-breakdown{margin:0 0 12px}.estimate-breakdown>div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #dce3ed;font-size:14px}.estimate-breakdown dd{margin:0;font-weight:700;white-space:nowrap}.estimate-total-row{font-weight:700;color:#10243b}
.estimate-details{border-top:1px solid #dce3ed;padding:16px 0;font-size:13px;color:#52657b}.estimate-details summary{font-weight:700;color:#253b55;cursor:pointer;min-height:28px}.estimate-details p{line-height:1.6}.estimate-details #duration-result{margin-top:16px}.estimate-notice,.estimate-availability{padding:16px;background:#eaf1ff;border-radius:9px;font-size:13px;line-height:1.6}.estimate-availability{margin:0 0 22px}.estimate-availability h2{font-size:17px;margin:0 0 10px}.estimate-availability p{margin:0 0 12px}.estimate-availability .hint{margin:12px 0 0}.estimate-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.estimate-choices button{font-size:14px;padding:12px 10px;margin:0;min-height:48px}.estimate-availability[hidden]{display:none}
@media(max-width:520px){.estimate-choices{grid-template-columns:minmax(0,1fr)}.result .estimate-price-hero .price{font-size:44px}.result #estimate-title{font-size:27px}.estimate-breakdown>div{font-size:13px}.estimate-price-hero{padding:26px 14px}.result .intro{font-size:15px}}

.estimate-breakdown>div[hidden]{display:none}

/* Give the forward action more room on narrow phones; retain generous tap height. */
@media(max-width:360px){.journey-actions{grid-template-columns:76px minmax(0,1fr);gap:10px}.journey-actions button{padding-inline:8px}}

/* Postcode address choices: native mobile picker, existing manual fields retained. */
.postcode-picker{margin:0 0 26px;padding:20px;background:#eef3ff;border-radius:12px;min-width:0}.postcode-picker select{display:block;width:100%;max-width:100%;min-width:0;font-size:16px;text-overflow:ellipsis;background:white}.postcode-picker .hint{margin:10px 0}.postcode-picker button{margin:6px 10px 6px 0}.postcode-picker .text-button{display:block;white-space:normal;text-align:left}.address-card [hidden]{display:none!important}@media(max-width:640px){.postcode-picker{padding:16px}.postcode-picker button{width:100%;margin-right:0}}

/* Compact page 2 quantities; address and contact controls retain their existing size. */
.fields.inventory-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;max-width:600px}
.inventory-counts>div{display:flex;flex-direction:column;min-width:0}
.fields.inventory-counts>div>label{margin:0 0 6px;font-size:14px;min-height:2.9em;flex:1}
.fields.inventory-counts input{width:100%;min-width:0;min-height:48px;padding:8px 10px;font-size:16px}
.fields.inventory-options{margin-top:24px;align-items:start}
#selected-hours-field{margin-top:16px}#selected-hours-field label{display:block}


/* Final review: key facts remain visible; detailed inventory/access is optional. */
[data-step="7"] .intro{margin-bottom:12px}.journey-review-block{padding:12px 0;gap:12px}.journey-review-block h2{margin:0 0 5px}.journey-review-block p{margin:4px 0}.journey-review-block .text-button{min-height:44px;min-width:44px;text-align:right;padding:8px 0}.review-details{margin-top:8px}.review-details summary{cursor:pointer;font-size:13px;font-weight:700;color:#2563eb;padding:10px 0;min-height:44px;box-sizing:border-box}.review-details[open]{padding-bottom:6px}.review-details .text-button{font-size:13px;text-align:left}.review-details p{font-size:13px}.review-price{margin:18px 0;padding:16px;background:#f1f4f8;border-radius:10px}.review-price .review-total{margin:0}.review-price .hint{margin:6px 0}.review-price .text-button{font-size:13px;margin:0}.review-payment{background:#10243b;color:white;border-radius:12px;margin:16px 0;padding:18px}.review-payment h2{font-size:18px;margin:0 0 12px}.review-payment dl{margin:0}.review-payment dl>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;font-size:14px;border-bottom:1px solid #52657b}.review-payment dd{margin:0;white-space:nowrap;font-weight:700}.review-payment .payment-due{font-size:20px;font-weight:700;padding:14px 0}.review-payment .hint{color:#d9e4f4;margin:10px 0 0}.review-payment [hidden]{display:none}.review-payment .payment-due dd{font-size:24px}#payment-options>p{font-size:13px}#review-alternative-note{margin:8px 0 0;font-size:12px}#review-alternative-note[hidden]{display:none}#payment-options[hidden]{display:none}
@media(max-width:520px){.review-payment{padding:16px 12px}.review-payment dl>div{font-size:13px}.review-payment .payment-due{font-size:18px}.journey-review-block .text-button{font-size:13px}.review-price{padding:14px 12px}#journey-review .review-total{font-size:21px}}

/* Screen 7 checkout sits above the two secondary actions. */
.journey-inline-actions > #sim-hold {
  grid-column: 1 / -1;
}

/* Screen 3 estimate action and native date/select field alignment. */
.estimate-actions > #calculate {
  grid-column: 1 / -1;
}
.estimate-actions {
  align-items: stretch;
}
#date, #time, #durationMode, #hours, #discount-code, #payment-choice {
  width: 100%;
  min-width: 0;
  min-height: 48px;
}
#date::-webkit-date-and-time-value {
  text-align: left;
}
@media (max-width: 360px) {
  .estimate-actions {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }
  .estimate-actions button {
    padding-inline: 8px;
  }
}

#durationMode, #payment-choice { height: 48px; }

/* A Chrome-style month picker in the form flow, so it cannot cover the next field. */
.moving-date-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 48px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: white;
  color: #17304c;
  font: inherit;
  text-align: left;
}
.moving-date-toggle[hidden], .moving-date-calendar[hidden] { display: none; }
.moving-date-icon {
  width: 14px;
  height: 13px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-top-width: 4px;
  border-radius: 2px;
}
.moving-date-calendar {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: white;
  color: #10243b;
  font-size: 14px;
}
.moving-date-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 36px;
  align-items: center;
  padding: 0 3px;
}
.moving-date-calendar button {
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
}
.moving-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}
.moving-date-weekdays { padding: 7px 0 3px; }
.moving-date-calendar button:disabled { opacity: .38; cursor: default; }
.moving-date-calendar button:not(:disabled):hover { background: #eef3ff; }
.moving-date-calendar button[aria-current="date"] { box-shadow: inset 0 0 0 1px #2563eb; }
.moving-date-calendar button[aria-pressed="true"] { background: #2563eb; color: white; font-weight: 700; }
.moving-date-calendar button[aria-pressed="true"]:hover { background: #1d4ed8; }
.moving-date-calendar button:focus-visible { outline: 2px solid #17304c; outline-offset: -2px; }
.moving-date-footer {
  display: flex;
  justify-content: space-between;
  padding: 4px 3px 0;
}
.moving-date-footer button { width: auto; padding-inline: 8px; color: #2563eb; }

/* Align paired controls even when one label or help note wraps. */
@media (min-width: 761px) {
  .journey-step .fields:has(#floor1, #floor2, #packing, #collection-building, #delivery-building),
  .journey-stop .fields,
  #extra-stop-addresses .fields {
    row-gap: 0;
  }
  .journey-step .fields:has(#floor1, #floor2, #packing, #collection-building, #delivery-building) > div:has(> label + :is(input, select)),
  .journey-stop .fields > div,
  #extra-stop-addresses .fields > div {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    padding-bottom: 14px;
  }
}

.stop-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.stop-order-actions button {
  padding: 8px 4px;
  min-height: 44px;
}
.stop-order-actions button:disabled {
  opacity: .45;
}
#first-delivery-later,
#edit-delivery-order {
  width: auto;
}

/* Estimate and address confirmation use the existing journey controls. */
[data-step="4"] .estimate-price-hero { margin:14px 0 12px; padding:16px 18px }
[data-step="4"] .estimate-price-hero .price { margin:4px 0; line-height:1.05 }
[data-step="4"] .estimate-notice { margin:0 0 12px; padding:10px 12px; overflow-wrap:anywhere }
[data-step="4"] .estimate-notice .hint { margin:2px 0 0 }
[data-step="4"] .estimate-package,[data-step="4"] #rate-summary { margin:2px 0 8px }
[data-step="4"] .estimate-hours { margin:0 0 6px }
[data-step="4"] .estimate-hours:has(strong:empty),[data-step="4"] .estimate-charge:not(:has(>div:not([hidden]))) { display:none }
[data-step="4"] #congestion-note { margin:4px 0 10px }
[data-step="4"] .estimate-charge { margin-bottom:8px }
[data-step="4"] .estimate-charge>div { padding:6px 0 }
[data-step="4"] .estimate-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 14px }
[data-step="4"] .estimate-controls label { display:block; margin-bottom:4px }
[data-step="4"] .estimate-controls select { min-height:48px }
[data-step="4"] #estimate-recommended { margin:6px 0 0 }
[data-step="4"] #estimate-duration-status:empty { display:none }
[data-step="4"] #estimate-checkout,[data-step="4"] #estimate-review-continue { display:block; margin:12px 0 }
[data-step="4"] .estimate-disclosure { border-top:1px solid #dce3ed; margin:0 }
[data-step="4"] .estimate-disclosure>summary { font-weight:700; color:#253b55 }
[data-step="4"] .estimate-disclosure[open] { padding-bottom:12px }
[data-step="4"] #estimate-sharing { margin:0 }
[data-step="4"] .estimate-availability { margin:8px 0; padding:12px }
[data-step="4"] [hidden],[data-step="5"] [hidden] { display:none!important }
[data-step="5"] .intro { margin:0 0 12px }
[data-step="5"] .address-confirmation-grid { display:grid; gap:12px }
[data-step="5"] .address-confirmation-grid > .address-card { grid-column:auto }
[data-step="5"] .address-card { margin:0; padding:12px; min-width:0 }
[data-step="5"] #extra-stop-addresses .address-card { margin-top:12px }
[data-step="5"] .address-card legend { font-size:16px }
[data-step="5"] .route-postcode { display:flex; gap:5px; align-items:center; flex-wrap:wrap; margin:0 0 4px }
[data-step="5"] .route-postcode .text-button { margin-left:auto }
[data-step="5"] .postcode-picker { margin:0; padding:10px 12px; border-radius:8px }
[data-step="5"] .postcode-picker .hint { margin:5px 0 }
[data-step="5"] .postcode-picker button { margin:2px 8px 0 0 }
[data-step="5"] .address-card .fields { margin-top:10px; gap:10px 12px }
[data-step="5"] .address-card .notice { margin:8px 0 0; padding:8px 10px; overflow-wrap:anywhere }
[data-step="5"] .address-edit { padding:8px 0 }
[data-step="5"] .acknowledgement { margin:4px 0 0; padding:8px 10px; align-items:center }
[data-step="5"] .address-card input[type="checkbox"] { margin-top:0 }
@media (min-width:920px) {
  [data-step="5"] .address-confirmation-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start }
}
@media (max-width:520px) {
  [data-step="4"] .estimate-controls { grid-template-columns:minmax(0,1fr) }
}

/* Screens 2 and 3: compact groups and touch-friendly controls. */
[data-step="2"] .intro,
[data-step="3"] .intro { margin: 0 0 14px; }
[data-step="2"] h2,
[data-step="3"] h2 { margin: 18px 0 6px; font-size: 18px; }
[data-step="2"] h2 + .hint { margin: 0 0 10px; }
[data-step="2"] .fields,
[data-step="3"] .fields { gap: 10px 12px; }
[data-step="2"] .fields > div,
[data-step="3"] .fields > div { min-width: 0; }
[data-step="2"] .fields > div > label,
[data-step="3"] .fields > div > label { margin: 0 0 4px; font-size: 14px; }
[data-step="2"] .fields :is(input, select),
[data-step="3"] .fields :is(input, select) { width: 100%; min-width: 0; min-height: 44px; }
[data-step="2"] .inventory-team,
[data-step="2"] .inventory-options,
[data-step="3"] .access-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
[data-step="2"] .inventory-property,
[data-step="3"] .access-distance { grid-column: 1 / -1; }
[data-step="2"] .inventory-counts { max-width: none; }
[data-step="2"] .inventory-counts > div > label { min-height: 0; }
[data-step="2"] .inventory-options { margin-top: 14px; }
[data-step="2"] .inventory-options > div:has(> label + select) {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  padding-bottom: 0;
}
[data-step="2"] .inventory-options label { flex: 1; }
[data-step="2"] #items { min-height: 84px; }
[data-step="2"] .journey-disclosure,
[data-step="3"] .journey-disclosure { margin: 5px 0 0; }
[data-step="2"] .journey-disclosure > summary,
[data-step="3"] .journey-disclosure > summary {
  box-sizing: border-box;
  min-height: 44px;
  padding: 11px 0;
  cursor: pointer;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}
[data-step="2"] .journey-disclosure .hint,
[data-step="3"] .journey-disclosure .hint { margin: 4px 0 8px; }
[data-step="3"] #access-summary { margin: 0 0 10px; }
[data-step="3"] .access-stop {
  border: 1px solid #d8e1ee;
  border-radius: 12px;
  padding: 12px 12px 0;
  margin-bottom: 10px;
}
[data-step="3"] .access-stop h2 { margin: 0 0 8px; overflow-wrap: anywhere; }
[data-step="3"] .access-stop details[open] { padding-bottom: 12px; }
[data-step="3"] .journey-disclosure input { min-height: 44px; }
[data-step="3"] #edit-delivery-order { min-height: 44px; padding: 8px 0; }
[data-step="3"] #edit-delivery-order[hidden] { display: none; }
[data-step="3"] .access-duration-title { margin-top: 14px; }
[data-step="3"] .access-duration { align-items: start; }
[data-step="3"] .estimate-actions { margin-top: 8px; }
[data-step="3"] .privacy-summary { margin: 10px 0 0; }

@media (min-width: 761px) {
  [data-step="2"] .inventory-team,
  [data-step="2"] .inventory-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-step="2"] .inventory-property,
  [data-step="3"] .access-distance { grid-column: auto; }
  [data-step="3"] .fields.access-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 2fr);
  }
  [data-step="3"] .fields.access-fields > div:has(> label + :is(input, select)) {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    padding-bottom: 0;
  }
  [data-step="3"] .access-fields label { flex: 1; }
}

@media (max-width: 420px) {
  [data-step="2"] .inventory-team select,
  [data-step="2"] .inventory-options select { padding-inline-start: 8px; }
}

/* Screens 6 and 7: contact form and final review. */
[data-step="6"] .intro,
[data-step="7"] .intro { margin: 0 0 14px; }
[data-step="6"] .contact-fields {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 12px;
}
[data-step="6"] .contact-fields > div { min-width: 0; }
[data-step="6"] .contact-fields > div > label {
  min-height: 0;
  margin: 0 0 4px;
  font-size: 14px;
}
[data-step="6"] .contact-fields input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
}
[data-step="6"] .hint { margin: 10px 0 0; }

[data-step="7"] .review-price {
  margin: 0 0 6px;
  padding: 10px 12px;
}
[data-step="7"] .review-price .hint { margin: 3px 0; }
[data-step="7"] .review-price .text-button { min-height: 44px; padding: 8px 0; }
[data-step="7"] #journey-review { display: grid; }
[data-step="7"] .journey-review-block { min-width: 0; padding: 8px 0; gap: 6px; }
[data-step="7"] .journey-review-block h2 { margin: 0 0 3px; }
[data-step="7"] .journey-review-block p { margin: 0; }
[data-step="7"] .review-details { margin-top: 0; }
[data-step="7"] .review-details p + p { margin-top: 6px; }
[data-step="7"] .review-details summary { padding: 11px 0; }
[data-step="7"] .acknowledgement {
  min-height: 48px;
  margin: 10px 0 0;
  padding: 10px 12px;
  line-height: 1.45;
}
[data-step="7"] #payment-options { margin-top: 14px; }
[data-step="7"] .review-payment-choice label { margin: 0 0 4px; }
[data-step="7"] .review-payment { margin: 8px 0 0; padding: 8px 12px; }
[data-step="7"] .review-payment dl > div { padding: 5px 0; }
[data-step="7"] .review-payment .payment-due { padding: 3px 0 7px; }
[data-step="7"] .review-payment .hint { margin: 6px 0 0; }
[data-step="7"] #extra-time-charge { margin: 8px 0 0; }
[data-step="7"] .review-terms-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  margin: 4px 0 0;
}
[data-step="7"] .review-terms-link a { min-height: 44px; padding: 11px 0; }
[data-step="7"] .review-terms { margin-top: -4px; font-size: 13px; }
[data-step="7"] .review-terms summary {
  min-height: 44px;
  padding: 11px 0;
  box-sizing: border-box;
  color: #1d4ed8;
  cursor: pointer;
}
[data-step="7"] .review-terms p { margin: 0 0 6px; }
[data-step="7"] .journey-inline-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}
[data-step="7"] .journey-inline-actions > div { min-width: 0; }
[data-step="7"] .journey-inline-actions > div > button { width: 100%; }
[data-step="7"] .journey-inline-actions > [data-back] { min-width: 72px; }
[data-step="7"] #sim-hold[hidden] { display: none; }
[data-step="7"] .journey-inline-actions:has(#sim-hold[hidden]) #send-request {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}
[data-step="7"] #review-alternative-note { margin-top: 5px; }

@media (min-width: 761px) {
  [data-step="6"] .contact-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  }
  [data-step="7"] #journey-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  [data-step="7"] .journey-review-block:last-child:nth-child(odd) { grid-column: 1 / -1; }
  [data-step="7"] #payment-options:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 16px;
  }
  [data-step="7"] .review-payment { margin-top: 0; }
  [data-step="7"] #payment-options > :nth-child(n+3) { grid-column: 1 / -1; }
}


[data-step="7"] .review-price .review-total {
  color: #10243b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
@media (min-width: 761px) {
  [data-step="7"] .review-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
    align-items: center;
  }
  [data-step="7"] .review-price .text-button { grid-column: 2; grid-row: 1; }
}

/* Keep fixed-price review beside the estimate and checkout actions. */
[data-step="4"] #fixed-review-option { margin: 0 0 12px; }
[data-step="4"] .estimate-fixed-disclosure {
  margin: 0;
  padding: 0 12px;
  border: 1px solid #a9bfe7;
  border-radius: 8px;
  background: #f0f5ff;
}
[data-step="4"] .estimate-fixed-disclosure > summary {
  min-height: 48px;
  padding: 12px 0;
  color: #174dbb;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
[data-step="4"] .estimate-fixed-disclosure > p { margin: 0 0 10px; }
[data-step="4"] .estimate-fixed-disclosure > button { margin: 0 0 8px; }
[data-step="7"] .review-request-actions button { width: 100%; }
[data-step="7"] .review-request-actions button[hidden],
[data-step="7"] #review-request-options[hidden] { display: none; }
[data-step="7"] #review-request-toggle:not([hidden]) + #review-request-options:not([hidden]) {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

body > footer { color: #52657b; }

#schedule-toggle { min-height:48px; margin:8px 0 0; }
#schedule-editor {margin:14px 0 0}
#schedule-editor fieldset {min-width:0;margin:0;padding:0;border:0}
/* Keep both schedule controls the same size, including on mobile Safari. */
.moving-date-toggle, #time, #alternate-time {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding-inline: 12px;
  font: inherit;
  font-size: max(16px, 1em);
}
#time, #alternate-time {
  appearance: none;
  padding-inline-end: 36px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  #time, #alternate-time { appearance: auto; background-image: none; }
}
#schedule-editor button[type="submit"] {margin:12px 0 0;min-height:48px}
#schedule-feedback:empty {display:none}
@media (max-width:520px) {#schedule-editor button[type="submit"] {width:100%}}

.request-complete .journey-step button:not(.moving-date-toggle),
.request-complete #time-unavailable, .request-complete #fixed-review-option,
.request-complete #estimate-duration-editor, .request-complete #estimate-sharing,
.request-complete [data-step="7"] #journey-review ~ * {display:none!important}
