.auth-card-wide { width: min(100%, 720px); }
.visually-hidden { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.legal-consent { margin: 22px 0; padding: 14px; background: var(--color-canvas); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.legal-consent .field { margin: 8px 0 2px; }
.legal-consent > a { display: inline-block; margin: 0 0 8px 27px; font-size: .85rem; }
.verification-steps { margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; counter-reset: steps; }
.verification-steps li { padding-top: 9px; color: var(--color-text-muted); border-top: 3px solid var(--color-border); font-size: .78rem; font-weight: 700; }
.verification-steps li[aria-current="step"] { color: var(--color-interactive); border-color: var(--color-interactive); }
.verification-steps li.is-complete { color: var(--color-success); border-color: var(--color-success); }
.verification-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.verification-resend { margin-top: 16px; }
.verification-timer { margin: 10px 0 0; color: var(--color-text-muted); font-size: .84rem; }
input[data-verification-code] { font-family: var(--font-mono); font-size: 1.45rem; font-weight: 700; letter-spacing: .35em; text-align: center; }
.auth-links { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; }
.profile-layout { display: grid; grid-template-columns: minmax(235px, .36fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.profile-rail { max-height: calc(100vh - var(--topbar-height) - 36px); padding: 0; position: sticky; top: calc(var(--topbar-height) + 24px); overflow-x: hidden; overflow-y: auto; }
.profile-identity { padding: 24px 22px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--color-border); }
.profile-avatar { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; color: var(--color-on-solid); background: var(--color-interactive); border-radius: 50%; font-family: var(--font-display); font-size: 1.05rem; font-weight: 750; text-transform: uppercase; }
.profile-identity div { min-width: 0; display: grid; }
.profile-identity strong { overflow: hidden; font-size: .96rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-identity span:last-child { color: var(--color-text-muted); font-size: .79rem; }
.profile-menu { padding: 10px; display: grid; gap: 3px; }
.profile-menu-label { margin: 8px 11px 3px; color: var(--color-text-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-menu-label:first-child { margin-top: 2px; }
.profile-menu-link { min-height: 58px; padding: 9px 11px; display: flex; align-items: center; gap: 11px; color: var(--color-text-muted); border: 1px solid transparent; border-radius: var(--radius-sm); text-decoration: none; }
.profile-menu-link:hover { color: var(--color-interactive-hover); background: var(--color-interactive-soft); }
.profile-menu-link.is-active { color: var(--color-interactive); background: var(--color-interactive-soft); border-color: var(--color-border); box-shadow: inset 3px 0 0 var(--color-interactive); }
.profile-menu-link > svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.profile-menu-link span { min-width: 0; display: grid; }
.profile-menu-link strong { color: currentColor; font-size: .87rem; line-height: 1.3; }
.profile-menu-link small { margin-top: 2px; color: var(--color-text-muted); font-size: .74rem; line-height: 1.3; }
.profile-main { min-width: 0; display: grid; gap: 18px; }
.profile-section { padding: 0; scroll-margin-top: calc(var(--topbar-height) + 18px); overflow: hidden; }
.profile-section-header { padding: 22px 24px 18px; display: flex; align-items: start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--color-border); }
.profile-section-header h2 { margin-bottom: 5px; }
.profile-section-header p { margin: 0; color: var(--color-text-muted); font-size: .86rem; }
.profile-section form { padding: 20px 24px 24px; }
.profile-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.profile-account-summary { margin-top: 4px; padding: 14px 15px; display: flex; align-items: center; gap: 12px; background: var(--color-canvas); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.profile-account-summary svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--color-text-muted); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.profile-account-summary div { min-width: 0; display: grid; }
.profile-account-summary span { color: var(--color-text-muted); font-size: .76rem; font-weight: 700; }
.profile-account-summary strong { margin-top: 2px; overflow-wrap: anywhere; }
.profile-form-actions { margin-top: 20px; justify-content: flex-end; }
.profile-verification-card { width: 100%; }
.profile-verification-card > form:first-of-type { margin-top: 22px; }
.password-requirements { margin-bottom: 20px; padding: 14px 16px; color: var(--color-text); background: var(--color-canvas); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.password-requirements strong { display: block; margin-bottom: 7px; color: var(--color-heading); }
.password-requirements ul { margin: 0; padding-left: 20px; color: var(--color-text-muted); }
.password-requirements li + li { margin-top: 3px; }
.profile-contact-list { display: grid; }
.profile-contact-item { min-width: 0; padding: 19px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; }
.profile-contact-item + .profile-contact-item { border-top: 1px solid var(--color-border); }
.profile-contact-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--color-interactive); background: var(--color-interactive-soft); border-radius: var(--radius-sm); }
.profile-contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.profile-contact-copy { min-width: 0; display: grid; }
.profile-contact-copy span { color: var(--color-text-muted); font-size: .76rem; font-weight: 700; }
.profile-contact-copy strong { margin-top: 2px; overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.profile-contact-action { min-height: 40px; padding: 8px 4px 8px 10px; display: inline-flex; align-items: center; gap: 3px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.profile-contact-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
@media (max-width: 880px) { .profile-layout { grid-template-columns: 1fr; } .profile-rail { max-height: none; position: static; overflow: visible; } .profile-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } .profile-menu-label { grid-column: 1 / -1; } }
@media (max-width: 600px) { .profile-menu-link { min-height: 52px; padding: 9px; align-items: flex-start; } .profile-menu-link small { display: none; } .profile-section-header, .profile-section form { padding-inline: 18px; } .profile-form-grid { grid-template-columns: 1fr; gap: 0; } .profile-contact-item { padding: 17px 18px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; } .profile-contact-item .status-badge { grid-column: 2; justify-self: start; } .profile-contact-action { grid-column: 3; grid-row: 1 / span 2; } .profile-contact-copy strong { white-space: normal; overflow-wrap: anywhere; } .profile-form-actions .button { width: auto; max-width: 100%; } .auth-links { align-items: center; flex-direction: column; } }
