.registration-access-page { background: var(--lm-bg); color: var(--lm-text); }
.registration-access-main { background: radial-gradient(ellipse 55% 24rem at 50% 0, rgba(38, 215, 232, .075), transparent 80%), var(--lm-bg); }
.registration-access-shell { width: min(100% - 2rem, 960px); margin: 0 auto; padding: 2.5rem 0 4rem; }
.registration-access-intro { max-width: 40rem; margin: 0 auto 2rem; text-align: center; }
.registration-access-mark { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; margin: 0 auto 1.1rem; border: 1px solid #286780; border-radius: var(--lm-radius-lg); color: var(--lm-cyan); background: #103040; font-size: 1.5rem; }
.registration-access-intro h1 { margin: 0 0 .55rem; color: var(--lm-text); font-size: clamp(1.65rem, 4vw, 2.3rem); font-weight: 750; line-height: 1.2; }
.registration-access-intro p { margin: 0; color: var(--lm-text-muted); font-size: 1rem; line-height: 1.55; }

.registration-home-shell { max-width: 820px; padding-top: clamp(2.5rem, 9vh, 6rem); }
.registration-options { display: grid; gap: 1rem; }
.registration-option { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.4rem; }
.registration-option-icon { display: grid; width: 3rem; height: 3rem; flex: 0 0 auto; place-items: center; border: 1px solid #2b6b88; border-radius: var(--lm-radius-md); color: var(--lm-cyan); background: #123347; font-size: 1.35rem; }
.registration-option-icon-secondary { border-color: #63488b; color: var(--lm-purple); background: #29213e; }
.registration-option-copy { flex: 1 1 auto; min-width: 0; }
.registration-option h2 { margin: 0 0 .4rem; color: var(--lm-text); font-size: 1.17rem; font-weight: 700; }
.registration-option p { margin: 0; color: var(--lm-text-muted); font-size: .9rem; line-height: 1.55; }
.registration-option-action { width: 100%; justify-content: space-between; }
.registration-option-action i { font-size: 1rem; }

.registration-signup-shell { max-width: 860px; }
.registration-signup-intro { margin-bottom: 1.7rem; }
.registration-form-card { overflow: visible; background: var(--lm-bg-elevated); box-shadow: var(--lm-shadow-md); }
.registration-form-body { padding: 1.25rem; }
.registration-notice { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1.5rem; padding: 1rem; line-height: 1.5; }
.registration-notice > i { flex: 0 0 auto; color: var(--lm-cyan); font-size: 1.15rem; }
.registration-type-fieldset { min-width: 0; margin: 0 0 1.6rem; padding: 0; border: 0; }
.registration-type-fieldset legend { float: none; width: auto; margin: 0 0 .75rem; padding: 0; color: var(--lm-text); font-size: .9rem; font-weight: 700; }
.registration-type-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.registration-type-option { display: flex; min-width: 0; align-items: center; gap: .65rem; min-height: 3.5rem; padding: .75rem .85rem; border: 1px solid var(--lm-border-strong); border-radius: var(--lm-radius-md); color: var(--lm-text-muted); background: var(--lm-surface); cursor: pointer; font-weight: 600; }
.registration-type-option:has(input:checked) { border-color: var(--lm-primary); color: var(--lm-text); background: #123449; box-shadow: inset 0 0 0 1px var(--lm-primary); }
.registration-type-option:has(input:focus-visible) { outline: 2px solid var(--lm-cyan); outline-offset: 2px; }
.registration-type-option i { color: var(--lm-blue); font-size: 1.1rem; }
.registration-type-option .form-check-input { flex: 0 0 auto; margin: 0; border-color: var(--lm-border-strong); background-color: var(--lm-bg-elevated); }
.registration-type-option .form-check-input:checked { border-color: var(--lm-primary); background-color: var(--lm-primary); }
.registration-type-option .form-check-input:focus { box-shadow: none; }

.registration-fields > div { min-width: 0; }
.registration-fields .form-label { margin-bottom: .45rem; color: var(--lm-text); font-size: .86rem; font-weight: 650; }
.registration-fields .form-control, .registration-fields .form-select { min-width: 0; min-height: 44px; border: 1px solid var(--lm-border-strong); border-radius: var(--lm-radius-sm); color: var(--lm-text); background-color: var(--lm-surface); }
.registration-fields .form-control:focus, .registration-fields .form-select:focus { border-color: var(--lm-primary); color: var(--lm-text); background-color: var(--lm-surface); box-shadow: 0 0 0 .2rem rgba(38, 215, 232, .16); }
.registration-fields .form-control[readonly], .registration-fields .form-control.bg-light { border-color: var(--lm-border); color: var(--lm-text-soft); background: var(--lm-bg-elevated) !important; }
.registration-fields .form-text { margin-top: .45rem; color: var(--lm-text-muted); font-size: .78rem; line-height: 1.45; }
.registration-fields .input-group-text { min-height: 44px; border-color: var(--lm-border-strong); border-radius: var(--lm-radius-sm) 0 0 var(--lm-radius-sm); color: var(--lm-cyan); background: var(--lm-surface-raised); font-weight: 700; }
.registration-fields .input-group .form-control { border-radius: 0 var(--lm-radius-sm) var(--lm-radius-sm) 0; }
.registration-fields .form-select option { color: var(--lm-text); background: var(--lm-surface); }
.registration-fields .ts-wrapper { min-width: 0; }
.registration-fields .ts-wrapper .ts-control { min-height: 44px; border: 1px solid var(--lm-border-strong); border-radius: var(--lm-radius-sm); color: var(--lm-text); background: var(--lm-surface); box-shadow: none; }
.registration-fields .ts-wrapper .ts-control input { color: var(--lm-text); }
.registration-fields .ts-wrapper .ts-control input::placeholder { color: var(--lm-text-soft); }
.registration-fields .ts-wrapper.focus .ts-control { border-color: var(--lm-primary); box-shadow: 0 0 0 .2rem rgba(38, 215, 232, .16); }
.registration-fields .ts-wrapper .ts-dropdown { border: 1px solid var(--lm-border-strong); border-radius: var(--lm-radius-sm); color: var(--lm-text); background: var(--lm-surface); box-shadow: var(--lm-shadow-md); }
.registration-fields .ts-wrapper .ts-dropdown .option { color: var(--lm-text); background: var(--lm-surface); }
.registration-fields .ts-wrapper .ts-dropdown .option.active, .registration-fields .ts-wrapper .ts-dropdown .option:hover { background: var(--lm-surface-hover); }
.registration-fields .ts-wrapper .ts-dropdown .option.selected { background: #123449; }
.registration-form-actions { display: flex; flex-direction: column-reverse; gap: .75rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--lm-border); }
.registration-form-actions .lm-btn { width: 100%; }
.registration-access-page :is(a, button, input, select):focus-visible { outline: 2px solid var(--lm-cyan); outline-offset: 2px; }
.registration-access-page .modal-content { border: 1px solid var(--lm-border-strong); border-radius: var(--lm-radius-lg); color: var(--lm-text); background: var(--lm-bg-elevated); }
.registration-access-page .modal-header, .registration-access-page .modal-footer { border-color: var(--lm-border); }
.registration-access-page .modal-header.bg-danger { background-color: #77333d !important; }
.registration-access-page .modal-header.bg-success { background-color: #126a59 !important; }
.registration-access-page .modal .btn-close { filter: invert(1) grayscale(1); }
.registration-access-page .modal-footer .btn-primary { min-height: 44px; border-color: #278dc7; border-radius: var(--lm-radius-md); color: #061622; background: var(--lm-primary); font-weight: 600; }
.registration-access-page .modal-footer .btn-primary:hover { border-color: var(--lm-cyan); background: #70caff; }

@media (min-width: 480px) {
  .registration-type-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 600px) {
  .registration-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registration-option { padding: 1.7rem; }
  .registration-form-body { padding: 2rem; }
  .registration-form-actions { flex-direction: row; justify-content: flex-end; }
  .registration-form-actions .lm-btn { width: auto; min-width: 9rem; }
}

@media (max-width: 359px) {
  .registration-access-shell { width: min(100% - 1.5rem, 960px); }
  .registration-type-option { min-height: 3rem; }
}
