/* Auth keeps its fields readable while matching the public site's dark shell. */
.as-auth-card { max-width: 660px; margin-inline: auto; }
body.as-inner #main .as-auth-area { background: #050505; }
.as-auth-card .as-auth-hp { position: absolute; left: -9999px; }
body.as-inner #main .as-auth-card .sr-auth-label {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 8px;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: #e7e7e7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
body.as-inner #main .as-auth-card .as-cta-2-form-input {
    min-height: 48px;
    padding: 10px 12px !important;
    margin-bottom: 18px !important;
    border: 1px solid #666;
    border-radius: 8px;
    background: #0a0a0a;
    color: #f5f5f5;
    font-size: 16px !important;
    line-height: 1.5;
}
.as-auth-card .as-cta-2-form-input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.as-auth-card .as-cta-2-form-input[aria-invalid="true"] { border-color: #ff8f97; }
.as-auth-card select option { color: #111; background: #fff; }
body.as-inner #main .as-auth-card .auth-fields .as-cta-2-form-input { margin-bottom: 0 !important; }
.auth-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.auth-field { min-width: 0; }
.auth-field--wide { grid-column: 1 / -1; }
body.as-inner #main .as-auth-card .field-hint,
body.as-inner #main .as-auth-card .field-error { font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
body.as-inner #main .as-auth-card .field-hint { color: #b3b3b3; }
.as-auth-card .field-error { color: #ff8f97; }
.as-auth-card .form-client-error { color: #ff8f97; font-size: 13px; line-height: 1.5; margin: 8px 0; }
.as-auth-card .form-send-status { color: #d1d1d1; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.as-auth-card .error-summary { padding: 18px; margin: 20px 0; border: 1px solid #ff8f97; border-radius: 8px; }
.as-auth-card .error-summary h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.4; color: #fff; }
.as-auth-card .error-summary ul { margin: 0; padding-left: 20px; }
.as-auth-card .error-summary a { color: #ffd4d7; text-decoration: underline; }
.auth-details { padding-block: 14px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); }
.auth-details summary { min-height: 44px; padding: 10px 0; font-size: 15px; color: #e7e7e7; cursor: pointer; line-height: 1.6; }
.auth-details summary span { color: #b3b3b3; font-weight: 400; }
.auth-details[open] summary { margin-bottom: 16px; }
.auth-details summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.as-auth-card .auth-guest-link { margin: 0 0 24px; color: #c5c5c5; font-size: 14px; line-height: 1.6; }
.as-auth-card .auth-guest-link a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.as-auth-card .as-terms { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
.as-auth-card .as-terms input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--as-clr-pr-3, #fb0d1f); }
.as-auth-card .checkbox-label { color: #c5c5c5; font-size: 14px; line-height: 1.75; cursor: pointer; }
.as-auth-card .checkbox-label a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.as-auth-card .as-pr-btn-3 { margin-top: 16px; min-height: 48px; }
.as-auth-card .item-tags { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
body.as-inner #main .as-auth-card .item-tags a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: #d1d1d1; text-decoration: underline; text-underline-offset: 4px; }
.as-auth-card :is(input, select, summary) { scroll-margin-top: calc(var(--as-header-h, 112px) + 24px); }
@media (max-width: 560px) {
    .auth-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    body.as-inner:not(.as-panel) #main .as-auth-card { padding: 24px 20px !important; }
    .auth-details summary { font-size: 14px; }
}
