/* Readable, responsive registration and operational feedback. */
@media screen {
  .guided-registration-workspace, .payment-status-workspace, .lookup-panel-compact, .registration-share { font-size: 16px; line-height: 1.6; }
  .guided-registration-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 28px; align-items: start; }
  .registration-wizard { min-width: 0; padding: 24px; border-radius: 8px; box-shadow: none; }
  .registration-wizard [hidden], .wizard-actions [hidden], #savedRegistration[hidden], #connectionStatus[hidden] { display: none !important; }
  .registration-wizard .form-section { margin: 0; padding: 0 0 20px; border: 0; }
  .registration-wizard .form-section-head { display: block; margin-bottom: 20px; }
  .registration-wizard h2, .registration-wizard h3 { font-size: 21px; line-height: 1.4; margin: 0 0 12px; }
  .registration-wizard p, .registration-wizard small, .registration-wizard .feature-choice span { color: #475467; line-height: 1.6; }
  .registration-wizard .section-badge { display: none; }
  .registration-wizard .field label, .registration-wizard .payment-type-options label { font-size: 16px; }
  .registration-wizard .field input, .registration-wizard .field select, .registration-wizard .field textarea, .lookup-panel-compact input, #paynowOtpForm input { font: inherit; min-height: 48px; width: 100%; max-width: 100%; min-width: 0; }
  .registration-wizard .field select,
  .registration-wizard .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { height: 48px; box-sizing: border-box; }
  .registration-wizard .payment-fields { align-items: start; }
  .registration-wizard .field small, .registration-wizard small, .draft-controls, .registration-help { font-size: 14px; }
  .registration-wizard .form-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registration-wizard .category-grid { grid-template-columns: minmax(0, 1fr); }
  .registration-wizard .feature-choice { border-radius: 6px; min-height: 112px; cursor: pointer; }
  .registration-wizard .feature-choice strong { font-size: 16px; }
  .registration-wizard .feature-choice span { font-size: 14px; }
  .registration-wizard .choice-row, .registration-wizard .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .registration-wizard .service-card { border-radius: 6px; padding: 14px; }
  .registration-wizard input[type="radio"], .registration-wizard input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; accent-color: #29295f; flex: 0 0 auto; }
  .registration-for { border: 0; padding: 24px 0; margin: 0; }
  .registration-for legend { font-size: 20px; font-weight: 700; }
  .registration-for label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
  .registration-for p { margin: 12px 0 0; }
  .registration-wizard .selected-conference { border: 0; border-bottom: 1px solid #d7dce5; background: transparent; padding: 0 0 24px; display: block; }
  .registration-wizard .selected-conference .btn { margin-top: 12px; }
  .registration-hero-polished h1 { font-size: 28px; line-height: 1.3; }
  .wizard-progress { margin: 20px 0 28px; }
  .wizard-progress > p { color: #29295f; font-size: 16px; font-weight: 700; }
  .wizard-progress ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 12px 0 0; gap: 12px; list-style: none; }
  .wizard-progress li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding-top: 12px; border-top: 3px solid #d7dce5; color: #475467; }
  .wizard-progress li > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; background: #e8eaf0; border-radius: 50%; }
  .wizard-progress li[aria-current] { color: #29295f; font-weight: 700; border-color: #29295f; }
  .wizard-progress li[aria-current] > span:first-child { background: #29295f; color: white; }
  .wizard-progress li.completed { border-color: #16705e; }
  .wizard-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid #d7dce5; }
  .wizard-actions [data-wizard-back] { margin-right: auto; }
  .draft-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; color: #475467; }
  .step-help { margin-block: 20px; padding-block: 12px; border-block: 1px solid #d7dce5; }
  .step-help summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; font-weight: 600; }
  .step-help p { margin-bottom: 8px; }
  .registration-help { display: flex; flex-wrap: wrap; gap: 8px; color: #475467; }
  .registration-review dl { margin: 0 0 28px; }
  .registration-review dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e1e5eb; }
  .registration-review dt { font-weight: 600; }
  .registration-review dd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; overflow-wrap: anywhere; color: #475467; }
  .registration-wizard .field-error, #registrationError, #paynowOtpError { color: #9e182d; }
  .registration-wizard p.field-error { margin: 6px 0 0; font-size: 14px; }
  .registration-wizard [aria-invalid="true"] { border-color: #ae1632; outline: 1px solid #ae1632; }
  .unavailable-choice { opacity: .65; cursor: not-allowed !important; }
  .wallet-help, .payment-fields > p { grid-column: 1 / -1; }
  .wallet-help ol { padding-left: 22px; }
  .wallet-help li { padding: 3px 0; }
  .sticky-payment-summary { position: sticky; top: 24px; border: 0; background: transparent; box-shadow: none; padding: 0; min-width: 0; }
  .sticky-payment-summary h2 { font-size: 20px; }
  .checkout-breakdown summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
  .sticky-payment-summary .checkout-preview-card { box-shadow: none; margin: 0; border-radius: 6px; }
  .sticky-payment-summary p { color: #475467; font-size: 14px; }
  .registration-share { max-width: 680px; margin: 24px auto; padding: 20px 0; border-top: 1px solid #d7dce5; overflow-wrap: anywhere; }
  .registration-share > strong { display: block; margin-bottom: 14px; }
  .registration-share .button-row { flex-wrap: wrap; }
  #connectionStatus { background: #fff4d6; color: #634200; padding: 14px 20px; font-size: 16px; border-bottom: 1px solid #e1c573; }
  #connectionStatus.connected { background: #eaf7ef; color: #175733; }
  .btn, button.action-queue-card, .top-actions a { min-height: 44px; }
  .btn { white-space: normal; }
  :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #126e62; outline-offset: 3px; }
  .checkin-delegate-card.good { border: 3px solid #177245; color: #104b2f; background: #ebf8f0; }
  .checkin-failure { border: 3px solid #a51c32; background: #fff1f2; color: #87142a; padding: 24px; }
  .checkin-failure h2 { color: inherit; margin-top: 0; font-size: 26px; }
  .checkin-failure p { color: inherit; font-size: 18px; }
  .checkin-scan-panel #code, .checkin-lookup-field #code { font-size: 22px; min-height: 60px; }
  .checkin-delegate-card .portal-action-kicker { font-size: 20px; color: inherit; }
  .attention-warning { padding: 16px 0; color: #804300; border-bottom: 1px solid #e8d1b2; }
}
@media screen and (max-width: 900px) {
  .guided-registration-workspace { grid-template-columns: minmax(0, 1fr); }
  .guided-registration-workspace .sticky-payment-summary { position: sticky; top: 0; z-index: 5; background: #fff; order: -1; }
  .sticky-payment-summary .checkout-preview-head { margin: 0; }
  .sticky-payment-summary .checkout-preview-head h3 { font-size: 24px; }
  .sticky-payment-summary .checkout-preview-card { padding: 16px; }
  .registration-wizard .choice-row, .registration-wizard .service-grid { grid-template-columns: minmax(0, 1fr); }
  .registration-wizard .feature-choice { min-height: 80px; }
}
@media screen and (max-width: 600px) {
  .registration-wizard { padding: 18px 14px; }
  .registration-wizard .form-grid.three { grid-template-columns: minmax(0, 1fr); }
  .registration-hero-polished { display: block; }
  .registration-hero-polished h1 { font-size: 24px; }
  .wizard-progress ol { gap: 6px; }
  .wizard-progress li { justify-content: center; }
  .wizard-progress li > span:last-child { display: none; }
  .registration-review dl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .registration-review dt { grid-column: 1; }
  .registration-review dd { grid-column: 1; }
  .registration-review dd { grid-column: 1 / -1; }
  .registration-review button { grid-column: 2; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .btn { flex: 1 1 105px; }
  .registration-share .button-row .btn { flex: 1 1 100%; }
  .registration-wizard .field input[type="file"] { font-size: 14px; }
  .payment-status-workspace, .registration-share { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .registration-share, #connectionStatus { display: none !important; }
}

@media screen {
  .group-workspace-head, .group-review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .group-workspace-head h1 { font-size: 26px; margin: 6px 0; }
  .group-workspace-head p, .group-reference { color: #475467; overflow-wrap: anywhere; }
  .group-total { font-size: 28px; }
  .group-booking-list { display: grid; border-top: 1px solid #d7dce5; }
  .group-list-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; text-align: left; padding: 18px 12px; background: #fff; border: 0; border-bottom: 1px solid #d7dce5; font: inherit; color: inherit; cursor: pointer; }
  .group-list-item > strong { flex: 1 1 220px; overflow-wrap: anywhere; }
  .group-list-item:hover { background: #f2f6fa; }
  .group-booking-workspace { max-width: 1100px; margin: auto; padding: 24px 0; }
  .group-booking-workspace h2 { font-size: 20px; margin-block: 24px 12px; }
  .group-members { margin-block: 20px; border-top: 1px solid #d7dce5; }
  .group-member { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-bottom: 1px solid #d7dce5; }
  .group-member > div:first-child { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
  .group-member > div:first-child span { display: block; color: #475467; margin-top: 4px; }
  .group-booking-workspace .button-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .group-proof-check { display: flex; gap: 12px; align-items: center; margin-block: 16px; }
  .group-checkout-form, #groupApprovalForm, #groupOtpForm { max-width: 540px; margin-block: 24px; padding-block: 20px; border-block: 1px solid #d7dce5; }
  #groupPayerFields .form-grid { padding-top: 12px; }
  .group-booking-workspace input[type="file"] { width: 100%; min-width: 0; }
}
