[data-profile-identity-notice] { margin:12px 0; padding:12px 16px; border:1px solid var(--account-ui-border,#dce5ef); border-radius:10px; color:var(--account-ui-text,#062a54); background:var(--account-ui-background,#f3f7fc); line-height:1.5; }
[data-profile-identity-dialog] { box-sizing:border-box; width:min(600px,calc(100vw - 40px)); max-width:none; max-height:min(90dvh,860px); margin:auto; padding:0; border:1px solid var(--account-ui-border,#dce5ef); border-radius:var(--account-ui-radius-card,16px); color:var(--account-ui-text,#062a54); background:var(--account-ui-surface,#fff); font-family:var(--account-ui-font,Inter,system-ui,sans-serif); font-size:var(--account-ui-font-body,16px); line-height:var(--account-ui-line-body,1.5); box-shadow:var(--account-ui-shadow-dialog,0 12px 36px #062a5429); overflow:hidden; }
[data-profile-identity-dialog][open] { display:flex; flex-direction:column; }
[data-profile-identity-dialog]::backdrop { background:var(--account-ui-backdrop,#062a54b3); }
[data-profile-identity-dialog] *,[data-profile-identity-dialog] *::before,[data-profile-identity-dialog] *::after { box-sizing:border-box; }
[data-profile-identity-dialog] [hidden] { display:none!important; }
[data-profile-identity-dialog] .profile-identity-head { display:flex; flex:none; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-bottom:1px solid var(--account-ui-border,#dce5ef); background:var(--account-ui-surface,#fff); }
[data-profile-identity-dialog] .profile-identity-head h2 { margin:0; font-size:22px; font-weight:750; line-height:1.3; }
[data-profile-identity-dialog] .profile-identity-head button { display:grid; place-items:center; flex:0 0 48px; height:48px; border:1px solid var(--account-ui-border,#dce5ef); border-radius:10px; background:var(--account-ui-background,#f3f7fc); color:var(--account-ui-text,#062a54); font:inherit; font-size:28px; cursor:pointer; }
[data-profile-identity-dialog] form { display:flex; flex-direction:column; min-height:0; margin:0; overflow:hidden; }
[data-profile-identity-dialog] .profile-identity-body { display:grid; gap:16px; min-height:0; padding:20px; overflow:auto; overscroll-behavior:contain; }
[data-profile-identity-dialog] p { margin:0; overflow-wrap:anywhere; }
[data-profile-identity-dialog] .profile-identity-caution { padding:12px 14px; border-left:3px solid var(--account-ui-brand,#fe5902); background:var(--account-ui-warning-surface,#fff4e8); color:var(--account-ui-warning,#824b08); }
[data-profile-identity-dialog] .profile-identity-registered { color:var(--account-ui-muted,#53697d); font-size:14px; }
[data-profile-identity-dialog] .profile-identity-field { display:grid; gap:7px; min-width:0; font-weight:650; }
[data-profile-identity-dialog] .profile-identity-field :is(input,select) { width:100%; min-width:0; min-height:48px; padding:10px 12px; border:1px solid var(--account-ui-input-border,#b7cce3); border-radius:var(--account-ui-radius-field,10px); background:var(--account-ui-surface,#fff); color:var(--account-ui-text,#062a54); font:inherit; font-weight:400; }
[data-profile-identity-dialog] .profile-identity-field small { color:var(--account-ui-muted,#53697d); font-size:14px; font-weight:400; line-height:1.5; }
[data-profile-identity-dialog] [data-profile-identity-status]:empty { display:none; }
[data-profile-identity-dialog] [data-profile-identity-status] { color:var(--account-ui-text,#062a54); }
[data-profile-identity-dialog] .profile-identity-footer { display:flex; flex:none; justify-content:flex-end; gap:12px; padding:16px 20px; border-top:1px solid var(--account-ui-border,#dce5ef); background:var(--account-ui-surface,#fff); }
[data-profile-identity-dialog] .profile-identity-footer .flow-button { min-height:48px; padding:10px 16px; border:1px solid transparent; border-radius:10px; color:#fff; background:var(--account-ui-brand,#fe5902); font:inherit; font-weight:750; cursor:pointer; }
[data-profile-identity-dialog] .profile-identity-footer .flow-button.secondary { border-color:var(--account-ui-border,#dce5ef); background:var(--account-ui-surface,#fff); color:var(--account-ui-text,#062a54); }
[data-profile-identity-dialog] button:disabled { opacity:.55; cursor:wait; }
[data-profile-identity-dialog] :is(input,select,button):focus-visible { outline:3px solid var(--account-ui-focus,#0651b6); outline-offset:3px; }
[data-profile-identity-dialog] [data-profile-correction-receipt] { padding:16px; border:1px solid var(--account-ui-success,#237e54); border-radius:10px; background:var(--account-ui-success-surface,#e5f6ed); }
[data-profile-identity-dialog] [data-profile-correction-receipt] h3 { margin:0 0 8px; font-size:18px; }
[data-profile-identity-dialog] [data-profile-correction-receipt] p+p { margin-top:12px; }
[data-profile-identity-dialog] [data-profile-correction-protocol] { display:block; overflow-wrap:anywhere; }
@media(max-width:767px) {
  [data-profile-identity-dialog] { position:fixed; inset:auto 0 0; width:100%; max-height:calc(100dvh - max(16px,env(safe-area-inset-top))); margin:0; border-radius:20px 20px 0 0; }
  [data-profile-identity-dialog] .profile-identity-head { padding:14px 16px; }
  [data-profile-identity-dialog] .profile-identity-head h2 { font-size:21px; }
  [data-profile-identity-dialog] .profile-identity-body { padding:20px 16px; }
  [data-profile-identity-dialog] .profile-identity-footer { padding:14px 16px calc(14px + env(safe-area-inset-bottom)); }
  [data-profile-identity-dialog] .profile-identity-footer .flow-button { flex:1; }
}
