/* Scoped spacing; the approved authentication sheet owns controls and colours. */
body[data-auth-page=identity] .auth-exchange .auth-form-column { max-width: 460px; }
body[data-auth-page=identity] .auth-exchange .auth-form-column h1 { font-size: 30px; line-height: 1.3; }
body[data-auth-page=identity] .auth-exchange .auth-switch { margin: 12px 0 24px; line-height: 1.65; }
body[data-auth-page=identity] .auth-exchange .identity-form { gap: 20px; margin: 0; }
body[data-auth-page=identity] .auth-exchange .identity-field { display: grid; gap: 8px; min-width: 0; }
body[data-auth-page=identity] .auth-exchange .identity-field .auth-label { margin: 0; line-height: 1.5; }
body[data-auth-page=identity] .auth-exchange .identity-form .auth-primary { margin-top: 4px; width: 100%; }
body[data-auth-page=identity] .auth-exchange .identity-form + .identity-form { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
body[data-auth-page=identity] .auth-exchange .identity-footer { display: block; width: 100%; margin-top: 20px; text-align: center; }
body[data-auth-page=identity] .auth-exchange .identity-footer .auth-secondary { width: 100%; }
body[data-auth-page=identity] .auth-exchange .auth-switch.identity-help { margin-top: 20px; justify-content: center; text-align: center; font-size: 13px; }
body[data-auth-page=identity] .auth-exchange .auth-form-status { margin: 20px 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
body[data-auth-page=identity] .auth-exchange .identity-consent { margin-top: 0; align-items: flex-start; }
@media (max-width: 800px) {
    body[data-auth-page=identity] .auth-exchange .auth-form-column h1 { font-size: 26px; }
    body[data-auth-page=identity] .auth-exchange .identity-form { gap: 18px; margin: 0; }
}

.member-identity-policy { max-width: 960px; }
.member-identity-policy > .ops-muted { font-size: 13px; line-height: 1.7; margin: 16px 0; }
.member-identity-policy .identity-policy-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--ops-border, #e5e7eb); }
.identity-policy-summary dt { font-size: 13px; color: var(--ops-muted, #667085); line-height: 1.5; }
.identity-policy-summary dd { margin: 8px 0 0; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media(max-width: 600px) { .member-identity-policy .identity-policy-summary { gap: 16px; } }

/* The owner requests a single-line Korean instruction, including small screens. */
body[data-auth-page=identity] .auth-exchange .migration-intro { display: block; }
body[data-auth-page=identity][data-language=ko] .auth-exchange .migration-intro { white-space: nowrap; font-size: clamp(12px, 3.34vw, 14px); }

/* Clearly inactive identifier; the hidden value remains server-session bound. */
body[data-auth-page=identity] .auth-exchange .migration-identifier-disabled { background: var(--surface-muted, #f1f3f5); cursor: not-allowed; opacity: .65; }
body[data-auth-page=identity] .auth-exchange .migration-identifier-disabled input:disabled { cursor: not-allowed; opacity: 1; }
:root[data-theme=dark] body[data-auth-page=identity] .auth-exchange .migration-identifier-disabled { background: #252a31; }
