/* Final step of ordinary company registration; does not affect other auth forms. */
.register-plans { display: grid; gap: 18px; min-width: 0; color: var(--auth-brand-ink); }
.register-plans fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.register-plans__heading h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.4px; }
.register-plans__heading p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--auth-brand-muted); }
.register-plans__period legend { margin-bottom: 8px; font-size: 12px; color: var(--auth-brand-muted); }
.register-plans__period > div { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--auth-brand-line); border-radius: 12px; background: var(--auth-soft-surface); }
.register-plans__period label { position: relative; flex: 1; cursor: pointer; }
.register-plans__period span { display: block; padding: 10px; border-radius: 8px; text-align: center; font-size: 14px; }
.register-plans__period input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.register-plans__period input:checked + span { background: var(--auth-surface); color: var(--auth-link); box-shadow: 0 2px 8px rgb(0 0 0 / .06); font-weight: 600; }
.register-plans__period input:focus-visible + span { outline: 2px solid var(--auth-link); outline-offset: 2px; }
.register-plans .register-plans__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.register-plans__choice { position: relative; display: flex; min-width: 0; cursor: pointer; }
.register-plans__choice > input { position: absolute; top: 17px; right: 14px; width: 16px; height: 16px; margin: 0; accent-color: var(--auth-brand-green-aa); }
.register-plans__choice-body { width: 100%; display: grid; gap: 8px; align-content: start; padding: 16px; border: 1px solid var(--auth-field-line); border-radius: 14px; background: var(--auth-surface); transition: border-color .15s, box-shadow .15s; }
.register-plans__choice:hover .register-plans__choice-body { border-color: var(--auth-brand-green-aa); }
.register-plans__choice input:checked + span { border-color: var(--auth-brand-green-aa); box-shadow: 0 0 0 1px var(--auth-brand-green-aa); background: var(--auth-success-bg); }
.register-plans__choice input:focus-visible + span { outline: 2px solid var(--auth-link); outline-offset: 3px; }
.register-plans__choice input:disabled + span { opacity: .5; cursor: not-allowed; }
.register-plans__name { padding-right: 18px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.register-plans__price { font-size: 20px; font-weight: 600; letter-spacing: -.5px; line-height: 1.4; }
.register-plans__price small { margin-left: 3px; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--auth-brand-muted); }
.register-plans__features { font-size: 12px; font-weight: 400; line-height: 1.8; color: var(--auth-brand-muted); }
.register-plans__confirmation { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--auth-brand-line); border-radius: 12px; background: var(--auth-soft-surface); }
.register-plans__confirmation > svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--auth-success-text); }
.register-plans__confirmation strong { font-size: 14px; font-weight: 600; }
.register-plans__confirmation p { margin: 6px 0; font-size: 13px; line-height: 1.6; }
.register-plans__confirmation small { display: block; color: var(--auth-brand-muted); font-size: 12px; line-height: 1.6; }
.register-plans__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 400px) {
    .register-plans .register-plans__choices { gap: 8px; }
    .register-plans__choice-body { padding: 13px 10px; }
    .register-plans__choice > input { top: 14px; right: 10px; }
    .register-plans__price { font-size: 18px; }
    .register-plans__name { font-size: 13px; }
}

/* Comparable package rows and an explicit annual invoice amount. */
.register-plans { gap: 22px; }
.register-plans__period > div { gap: 6px; padding: 6px; }
.register-plans__period label > span { display: grid; align-content: center; gap: 4px; min-height: 68px; padding: 10px 8px; }
.register-plans__period strong { font-size: 14px; font-weight: 600; }
.register-plans__period small { font-size: 11px; font-weight: 400; color: var(--auth-brand-muted); }
.register-plans__period [data-annual-discount] { color: var(--auth-success-text); font-weight: 600; }
.register-plans__choice-body { padding: 20px 16px; gap: 10px; border-radius: 16px; }
.register-plans__choice > input { top: 22px; right: 16px; }
.register-plans__name { min-height: 40px; padding-right: 22px; font-size: 15px; }
.register-plans__price { font-size: 28px; font-weight: 700; line-height: 1.2; }
.register-plans__price small { margin-left: 5px; font-size: 12px; }
.register-plans__billing { min-height: 34px; font-size: 11px; line-height: 1.5; color: var(--auth-brand-muted); }
.register-plans__features { display: grid; gap: 0; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--auth-brand-line); }
.register-plans__feature { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 8px 0; font-size: 11px; line-height: 1.4; color: var(--auth-brand-ink); }
.register-plans__feature + .register-plans__feature { border-top: 1px solid var(--auth-brand-line); }
.register-plans__feature svg { width: 14px; height: 14px; color: var(--auth-success-text); }
.register-plans__feature strong { max-width: 94px; text-align: right; font-size: 11px; font-weight: 600; }
.register-plans__feature.is-unavailable, .register-plans__feature.is-unavailable svg { color: var(--auth-brand-muted); }
.register-plans__feature.is-unavailable strong { font-weight: 400; }
.register-plans__extras { display: grid; gap: 4px; border-top: 1px solid var(--auth-brand-line); padding-top: 10px; font-size: 11px; line-height: 1.6; color: var(--auth-brand-muted); }
.register-plans__extras small { color: var(--auth-brand-ink); font-size: 11px; font-weight: 600; }
.register-plans__confirmation { padding: 20px; gap: 14px; border-radius: 16px; }
.register-plans__confirmation-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; color: var(--auth-success-text); background: var(--auth-success-bg); }
.register-plans__confirmation-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.register-plans__confirmation > div { min-width: 0; }
.register-plans__confirmation > div > strong { font-size: 16px; }
.register-plans__confirmation p { margin: 8px 0; font-size: 14px; }
.register-plans__confirmation p strong { font-size: inherit; font-weight: 700; color: var(--auth-link); }
.register-plans [data-setup-billing-summary]:empty { display: none; }
@media (max-width: 600px) {
    .register-plans .register-plans__choices { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .register-plans__choice-body { padding: 20px; }
    .register-plans__choice > input { top: 22px; right: 20px; }
    .register-plans__name { min-height: 0; font-size: 16px; }
    .register-plans__billing { min-height: 0; }
    .register-plans__feature, .register-plans__feature strong { font-size: 13px; }
    .register-plans__feature strong { max-width: none; }
    .register-plans__confirmation { padding: 16px; gap: 10px; }
    .register-plans__confirmation-icon { flex-basis: 32px; height: 32px; border-radius: 10px; }
    .register-plans__confirmation-icon svg { width: 20px; height: 20px; }
    .register-plans__period strong { font-size: 13px; }
}
@media (min-width: 601px) {
    .aioness-auth-centered .aion-register__form-shell:has([data-register-step="4"]:not([hidden])) { max-width: 720px; }
    .register-plans__name { min-height: 22px; font-size: 16px; }
    .register-plans__feature, .register-plans__feature strong { font-size: 13px; }
    .register-plans__billing, .register-plans__extras, .register-plans__extras small { font-size: 12px; }
}
@media (min-width: 1200px) {
    .aioness-auth-centered .aion-register__form-shell:has([data-register-step="4"]:not([hidden])) { max-width: 1360px; }
    .register-plans .register-plans__choices:has([name="registration_plan"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    [data-register-step="4"] :is(.register-plans__heading, .register-plans__period, .register-plans__confirmation, [data-setup-billing-summary], .aion-register-actions) {
        width: 100%;
        max-width: 720px;
        margin-inline: auto;
    }
}
