/* One visual language across devices; desktop keeps its existing layout. */
@media (min-width: 1000px) {
  :root {
    --ink: #1d2d44;
    --muted: #5e6d82;
    --teal: #4e6b91;
    --teal-light: #eef2f7;
    --line: #e1e6ee;
    --bg: #f4f6f9;
    --green: #507263;
    --red: #a34743;
  }
  .btn-primary:hover:not(:disabled) { background: #3f5c81; border-color: #3f5c81; }
  .btn-secondary:hover:not(:disabled) { background: #eef2f7; border-color: #9aaec7; }
  .step-button.active { background: var(--teal-light); }
  .icon-box, .detail-repair-icon { background: var(--teal-light); }
  button:focus-visible, a:focus-visible, summary:focus-visible { outline-color: #6c85a6; }
  input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 3px #4e6b9118; }
}

.information-screen .app-flow-heading,
.review-screen .app-flow-heading { margin: 0 0 18px; }
.information-screen .page-heading,
.review-screen .page-heading { margin: 0; line-height: 1.2; }
.information-screen .page-intro,
.review-screen .page-intro { margin: 8px 0 0; }

.information-screen #customer-form > .form-grid {
  gap: 18px 16px;
  padding: 20px;
  border: 1px solid #e0e6ee;
  border-radius: 16px;
  background: #fff;
}
.information-screen .field-label { color: #40536d; }
.information-screen .address-postcode-group.service-form { margin: 0; }

.information-screen #work-company-field { min-width: 0; }

.review-screen .review-consent {
  gap: 8px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid #e0e6ee;
  border-radius: 16px;
  background: #fff;
}
.review-screen .review-consent .check-row {
  min-height: 44px;
  padding: 8px 0;
  gap: 10px;
  color: #52637b;
  line-height: 1.5;
}
.review-screen .review-consent .check-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
}
.review-screen .review-consent .check-row > span { min-width: 0; }
.review-screen .review-consent .check-row small { color: var(--muted); }
.review-location-label { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-bottom: 4px; }

.address-review .review-note {
  margin-top: 10px;
  padding-top: 0;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.address-review .review-note > strong { display: block; margin-bottom: 3px; }
.confirmation .page-heading { margin: 0 auto 20px; }
.confirmation-card { margin-top: 0; border-color: var(--line); }
.confirmation-device span,
.confirmation-details { color: var(--muted); }
.confirmation-details strong { color: var(--ink); }
.confirmation-details > div > span { min-width: 0; overflow-wrap: anywhere; }
.confirmation-address-line,
.confirmation-location { display: block; }
.confirmation-location { font-size: 13px; margin-bottom: 4px; }
.confirmation-note { display: block; margin-top: 8px; white-space: pre-line; }

@media (max-width: 640px) {
  .information-screen #customer-form > .form-grid { padding: 16px; gap: 17px 12px; }
  .review-screen .review-consent { padding: 12px 16px; }
}
@media (max-width: 374px) {
  .information-screen.contact-screen #customer-form > .form-grid { grid-template-columns: minmax(0, 1fr); }
  .information-screen.contact-screen #customer-form > .form-grid > .field { grid-column: 1; }
}
