/* Repair is a task workspace. Keep its scale independent of marketing pages. */
.repair-page { --repair-gap: 16px; --repair-muted: #4b6275; min-height: 100vh; background: #f0f7fc; }
.repair-page input, .repair-page select, .repair-page textarea { accent-color: #0667b8; caret-color: #0667b8; }
.repair-page ::selection { color: #052b4a; background: #c9eaff; }
.repair-page .repair-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); align-items: start; gap: 24px; width: min(1104px, calc(100% - 48px)); margin-inline: auto; padding-block: 128px 40px; }
.repair-page .repair-context { position: sticky; top: 120px; padding: 24px 20px; color: #fff; background: #041727; border-radius: 16px; --secondary-action-ink: #fff; --secondary-action-border: #159aff; }
.repair-page .repair-context h1 { max-width: none; margin: 0; color: #fff; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.repair-page .repair-context > p { margin: 16px 0 0; color: #bfd9eb; font-size: 14px; line-height: 1.5; }
.repair-page .context-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid #264457; }
.repair-page .context-note > strong { font-size: 14px; }
.repair-page .repair-process-list { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.repair-page .repair-process-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 10px; }
.repair-page .repair-process-list li > span { display: grid; width: 24px; height: 24px; place-items: center; color: #052b4a; background: #9bdcff; border-radius: 50%; font-size: 12px; font-weight: 700; }
.repair-page .repair-process-list strong, .repair-page .repair-process-list small { display: block; }
.repair-page .repair-process-list strong { color: #fff; font-size: 14px; line-height: 1.3; }
.repair-page .repair-process-list small { margin-top: 4px; color: #bfd9eb; font-size: 13px; line-height: 1.4; }
.repair-page .repair-context-help .button { margin-top: 24px; width: 100%; }
.repair-page .form-panel { min-width: 0; padding: 24px; background: #fff; border: 1px solid #d1e4f0; border-radius: 16px; scroll-margin-top: 120px; }
.repair-page .form-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.repair-page .step-count { margin: 0; color: #4b6275; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.repair-page .mobile-step-count { display: none; }
.repair-page .progress-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.repair-page .progress-track li { min-width: 0; color: #4b6275; font-size: 12px; line-height: 1.3; }
.repair-page .progress-track i { display: block; height: 3px; margin-bottom: 8px; background: #d8e5ed; border-radius: 2px; transition: background-color 160ms ease; }
.repair-page .progress-track i.is-complete { background: #0667b8; }
.repair-page .progress-track li[aria-current="step"] { color: #052b4a; font-weight: 700; }
.repair-page .prototype-notice { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 20px; padding: 10px 12px; color: #526374; background: #f3f7fa; border-radius: 8px; font-size: 13px; line-height: 1.4; }
.repair-page .prototype-notice strong { color: #052b4a; }
.repair-page .form-step h2, .repair-page .confirmation h2 { max-width: none; margin: 0; color: #052b4a; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.repair-page .form-step h2:focus, .repair-page .form-step h2:focus-visible { outline: none; box-shadow: none; }
.repair-page .form-intro { max-width: 65ch; margin: 8px 0 20px; color: var(--repair-muted); font-size: 15px; line-height: 1.5; }
.repair-page .form-step { animation: repair-step-in 160ms ease-out; }
@keyframes repair-step-in { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.repair-page .choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.repair-page .choice-grid--devices, .repair-page .choice-grid--faults, .repair-page .choice-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.repair-page .choice-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; min-width: 0; padding: 12px 28px 12px 12px; color: #052b4a; background: #f5f9fc; border: 1px solid #cbdde9; border-radius: 10px; font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.repair-page .choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.repair-page .choice-card:hover { background: #eaf5fc; border-color: #73b6e2; }
.repair-page .choice-card:has(input:checked) { color: #052b4a; background: #e5f3fd; border-color: #0667b8; box-shadow: inset 0 0 0 1px #0667b8; }
.repair-page .choice-card:has(input:checked)::after { position: absolute; right: 10px; top: 50%; width: 8px; height: 5px; border-bottom: 2px solid #0667b8; border-left: 2px solid #0667b8; content: ""; transform: translateY(-65%) rotate(-45deg); }
.repair-page .choice-card:has(input:focus-visible) { outline: 2px solid #0667b8; outline-offset: 3px; }
.repair-page .choice-icon { flex: 0 0 auto; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.repair-page .choice-grid--faults .choice-card { min-height: 56px; gap: 8px; font-size: 14px; font-weight: 500; padding-left: 10px; }
.repair-page .choice-grid--faults .choice-icon { width: 20px; height: 20px; }
.repair-page .choice-grid--three .choice-card { min-height: 48px; }
.repair-page .choice-grid--three .choice-icon { width: 20px; height: 20px; }
.repair-page .field-group { min-width: 0; margin-top: 16px; }
.repair-page .field-group label, .repair-page .field-group > legend { display: block; margin-bottom: 6px; color: #052b4a; font-size: 14px; font-weight: 650; line-height: 1.4; }
.repair-page .field-group input, .repair-page .field-group select, .repair-page .field-group textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; color: #052b4a; background: #fff; border: 1px solid #afc5d5; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.4; transition: border-color 160ms ease; }
.repair-page .field-group input::placeholder, .repair-page .field-group textarea::placeholder { color: #526b7e; opacity: 1; }
.repair-page .field-group :is(input, select, textarea):hover { border-color: #6b9bb9; }
.repair-page .field-group :is(input, select, textarea):focus { border-color: #0667b8; outline: 2px solid #0667b8; outline-offset: 2px; }
.repair-page .field-group input:disabled { color: #526b7e; background: #eaf0f5; cursor: not-allowed; }
.repair-page .field-group textarea { min-height: 96px; resize: vertical; }
.repair-page .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.repair-page .field-hint, .repair-page .file-note, .repair-page .file-selection { margin: 6px 0 0; color: var(--repair-muted); font-size: 13px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.repair-page .check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; color: #304e63; font-size: 14px; line-height: 1.4; cursor: pointer; }
.repair-page .check-row input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; }
.repair-page .check-row input:focus-visible { outline: 2px solid #0667b8; outline-offset: 3px; }
.repair-page .repair-upload { display: flex; align-items: center; gap: 8px; }
.repair-page .field-group input[type="file"] { padding: 0; border: 0; background: none; font-size: 14px; line-height: 44px; }
.repair-page input[type="file"]::file-selector-button { min-height: 44px; margin-right: 12px; padding: 10px 14px; color: #052b4a; background: #f0f7fc; border: 1px solid #afc5d5; border-radius: 8px; font: inherit; line-height: 1.35; font-weight: 600; cursor: pointer; }
.repair-page .remove-photo { flex: 0 0 auto; }
.repair-page .error-summary { margin: 0 0 20px; padding: 12px 16px; color: #802513; background: #fff3f0; border: 1px solid #bc5b44; border-radius: 8px; font-size: 14px; }
.repair-page .error-summary ul { display: grid; gap: 4px; margin: 6px 0 0; padding-left: 20px; }
.repair-page .error-summary a { display: inline-flex; align-items: center; min-height: 32px; color: inherit; text-underline-offset: 3px; }
.repair-page .error-summary:focus { outline: 2px solid #9e3524; outline-offset: 3px; }
.repair-page .field-group [aria-invalid="true"], .repair-page .choice-card:has(input[aria-invalid="true"]) { border-color: #b42318; }
.repair-page .form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #d6e4ed; }
.repair-page .repair-shell .button, .repair-page .site-header .button { min-height: 44px; padding: 10px 18px; font-size: 14px; line-height: 1.35; gap: 8px; box-shadow: none; }
.repair-page .repair-shell .button--primary { color: #fff; background: #0667b8; border-color: #0667b8; }
.repair-page .repair-shell .button--primary:hover { background: #045995; border-color: #045995; }
.repair-page .form-actions .next-button { margin-left: auto; min-width: 132px; }
.repair-page .form-actions .back-button { min-width: 84px; }
.repair-page .button-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.repair-page .repair-shell button:disabled { opacity: .6; cursor: wait; }
.repair-page .form-whatsapp-help { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; color: #4b6275; font-size: 13px; }
.repair-page .form-whatsapp-help .whatsapp-action { min-height: 44px; padding: 8px 12px; color: #052b4a; border-color: #a3c1d7; font-size: 13px; box-shadow: none; }
.repair-page .form-whatsapp-help .whatsapp-action__icon { width: 18px; height: 18px; }
.repair-page .review-list { margin: 0; border-top: 1px solid #d6e4ed; }
.repair-page .review-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #d6e4ed; }
.repair-page .review-row dt { padding-top: 10px; color: #4b6275; font-size: 13px; }
.repair-page .review-row dd { min-width: 0; margin: 0; padding-top: 8px; color: #052b4a; font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.repair-page .review-edit, .repair-page .draft-clear, .repair-page .remove-photo { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 12px; color: #0667b8; background: transparent; border: 1px solid #b4ccdd; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.repair-page :is(.review-edit, .draft-clear, .remove-photo):hover { background: #edf6fc; border-color: #0667b8; }
.repair-page .review-warning, .repair-page .confirmation-warning { display: grid; gap: 4px; margin-top: 16px; padding: 12px; color: #052b4a; background: #f0f7fc; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.repair-page .review-warning span, .repair-page .confirmation-warning span { color: #4b6275; }
.repair-page .draft-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #d6e4ed; }
.repair-page .draft-note { max-width: 52ch; margin: 0; color: #4b6275; font-size: 12px; line-height: 1.45; }
.repair-page .draft-note.is-saved { color: #1d6647; }
.repair-page .draft-clear { flex: 0 0 auto; font-size: 12px; padding-inline: 10px; }
.repair-page .mobile-process-guide { display: none; }
.repair-page .confirmation { outline: none; }
.repair-page .confirmation-mark { display: grid; width: 44px; height: 44px; margin-bottom: 16px; place-items: center; color: #fff; background: #0667b8; border-radius: 50%; }
.repair-page .confirmation-mark--error { background: #a73823; }
.repair-page .confirmation-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.repair-page .confirmation > p { margin: 12px 0 20px; color: #4b6275; font-size: 15px; line-height: 1.5; }
.repair-page .confirmation-status { font-size: 13px; font-weight: 600; }
.repair-page .reference-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0; padding: 12px 16px; color: #052b4a; background: #f0f7fc; border-radius: 8px; }
.repair-page .reference-box span { display: block; font-size: 13px; color: #4b6275; }
.repair-page .reference-box strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.repair-page .confirmation-section { margin-top: 24px; padding-top: 16px; border-top: 1px solid #d6e4ed; }
.repair-page .confirmation-section h3 { margin: 0 0 12px; font-size: 22px; }
.repair-page .confirmation-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.repair-page .confirmation-steps li { display: flex; align-items: center; gap: 10px; }
.repair-page .confirmation-steps li span { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; background: #e5f3fd; border-radius: 50%; }
.repair-page .confirmation-summary { margin: 0; }
.repair-page .confirmation-summary div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 8px 0; font-size: 14px; }
.repair-page .confirmation-summary dt { color: #4b6275; }
.repair-page .confirmation-summary dd { margin: 0; color: #052b4a; overflow-wrap: anywhere; }
.repair-page .confirmation-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.repair-page .return-home { margin-top: 16px; }
.repair-page .directions-link { display: block; margin-top: 16px; font-size: 14px; color: #0667b8; text-underline-offset: 3px; }
.repair-page .connection-note { font-size: 13px; }
.repair-page .form-loading { display: flex; min-height: 128px; align-items: center; margin: 0; color: #4b6275; font-size: 15px; }
.repair-page .prh-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.repair-page .repair-shell :is(button, a, summary):focus-visible { outline: 2px solid #0667b8; outline-offset: 3px; }
.repair-page .repair-context a:focus-visible { outline-color: #9bdcff; }
.repair-page .site-footer { padding: 0; }
@media (max-width: 1050px) and (min-width: 821px) {
  .repair-page .repair-shell { grid-template-columns: 232px minmax(0, 1fr); gap: 20px; }
  .repair-page .form-panel { padding: 20px; }
  .repair-page .choice-grid--faults { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-page .choice-grid--devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .repair-page .repair-shell { grid-template-columns: 1fr; width: min(680px, calc(100% - 32px)); gap: 16px; padding-block: 112px 32px; }
  .repair-page .repair-context { position: static; padding: 0 4px; color: #052b4a; background: none; }
  .repair-page .repair-context h1 { font-size: 26px; color: #052b4a; text-wrap: initial; }
  .repair-page .repair-context > p { max-width: 62ch; margin-top: 8px; font-size: 14px; color: #4b6275; }
  .repair-page .context-note, .repair-page .repair-context-help { display: none; }
  .repair-page .form-panel { padding: 20px; scroll-margin-top: 100px; }
  .repair-page .mobile-process-guide { display: block; margin-top: 16px; border-top: 1px solid #d6e4ed; }
  .repair-page .mobile-process-guide summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: #052b4a; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
  .repair-page .mobile-process-guide summary::-webkit-details-marker { display: none; }
  .repair-page .mobile-process-guide summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .repair-page .mobile-process-guide[open] summary svg { transform: rotate(180deg); }
  .repair-page .mobile-process-guide .repair-process-list { margin-top: 8px; }
  .repair-page .mobile-process-guide .repair-process-list strong { color: #052b4a; }
  .repair-page .mobile-process-guide .repair-process-list small { color: #4b6275; }
}
@media (max-width: 540px) {
  .repair-page .repair-shell { padding-top: 100px; }
  .repair-page .form-panel { padding: 16px; border-radius: 12px; }
  .repair-page .form-step h2, .repair-page .confirmation h2 { font-size: 25px; }
  .repair-page .progress-track { gap: 5px; margin-bottom: 20px; }
  .repair-page .progress-track li { font-size: 12px; }
  .repair-page .choice-grid--devices, .repair-page .choice-grid--faults { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-page .choice-card { min-height: 68px; padding-left: 10px; font-size: 14px; gap: 8px; }
  .repair-page .choice-grid--devices .choice-icon { width: 24px; height: 24px; }
  .repair-page .choice-grid--faults .choice-card { min-height: 64px; font-size: 13px; }
  .repair-page .choice-grid--three .choice-card { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px 16px; font-size: 13px; text-align: center; }
  .repair-page .choice-grid--three .choice-card:has(input:checked)::after { top: auto; bottom: 7px; right: calc(50% - 4px); }
  .repair-page .field-row, .repair-page .choice-grid:not(.choice-grid--devices):not(.choice-grid--faults):not(.choice-grid--three) { grid-template-columns: 1fr; }
  .repair-page .form-whatsapp-help { align-items: flex-start; }
  .repair-page .form-whatsapp-help > span { display: none; }
  .repair-page .review-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .repair-page .review-row dt { grid-column: 1; padding-top: 0; }
  .repair-page .review-row dd { grid-column: 1; padding-top: 0; font-size: 14px; }
  .repair-page .review-edit { grid-column: 2; grid-row: 1 / span 2; }
  .repair-page .draft-status { flex-wrap: wrap; align-items: flex-start; }
  .repair-page .draft-note { flex: 1 1 180px; }
  .repair-page .confirmation-actions { flex-direction: column; }
  .repair-page .confirmation-actions .button { width: 100%; }
  .repair-page .reference-box { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .repair-page .form-step { animation: none; } .repair-page .choice-card, .repair-page .progress-track i { transition: none; } }
