@font-face {
  font-family: ProfileIcons;
  src: url('/fonts/checkout-ui.ttf') format('truetype');
}
.identity-page { color: #fafafa; font-family: Manrope, sans-serif; overflow-wrap: anywhere; }
.identity-icon { font: 20px/1 ProfileIcons; color: #cab1ff; }
.identity-page[data-identity=owner] {
  max-width: 42rem; margin: auto; padding: 12px 20px 36px;
  display: grid; grid-template-columns: minmax(0,1fr);
  grid-template-areas: 'heading' 'identity' 'rows' 'links' 'status';
}
.identity-header { grid-area: heading; position: relative; display: grid; place-items: center; min-height: 48px; font-weight: 750; }
.identity-back { position: absolute; inset-inline-start: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; }
.identity-name { grid-area: identity; display: grid; justify-items: center; gap: 12px; padding: 4px 0 24px; }
.identity-name h1 { font-size: 1.3rem; text-align: center; }
.identity-avatar { display: grid; place-items: center; height: 96px; width: 96px; border-radius: 50%; background: #30273c; color: #e1c5ff; font-size: 2.3rem; font-weight: 700; }
.identity-page [data-avatar-widget] { grid-area: identity; z-index: 1; align-self: start; justify-self: center; padding-top: 4px; pointer-events: none; }
.identity-page:has([data-avatar-widget] span) .identity-avatar { width: 144px; height: 144px; }
.identity-rows { grid-area: rows; border-radius: 17px; background: #221e29; overflow: hidden; }
.identity-page .identity-row { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border: 0; border-radius: 0; background: transparent; color: inherit; text-align: left; }
.identity-row + .identity-row { border-top: 1px solid #ffffff17; }
.identity-values { flex: 1; min-width: 0; }
.identity-values h3 { font-size: .96rem; margin: 0; }
.identity-values span,.identity-note,.identity-lead { color: #c8c1d0; font-size: .875rem; }
.identity-row > .identity-icon:last-child { font-size: 18px; }
.identity-page[data-identity=owner] > .related { grid-area: links; }
.identity-status { grid-area: status; font-size: .875rem; }
.identity-page:not([data-identity=owner]) { max-width: 30rem; margin: auto; padding: 36px 20px 16px; }
.identity-page:not([data-identity=owner]) h1 { padding-right: 35px; font-size: 22px; line-height: 31px; letter-spacing: -.1px; }
.identity-page .model-form { margin: 16px 0 8px; }
.identity-page .model-form input { width: 100%; min-width: 0; font-size: 1rem; }
.identity-page .actions { display: grid; gap: 8px; }
.identity-page .actions .button { min-height: 56px; border-radius: 999px; background: #eeeaf3; color: #211e25; }
.identity-page .actions .secondary { min-height: 44px; background: transparent; color: #d3baff; }
.identity-page .actions button:disabled { opacity: .47; }
.identity-page .related { gap: 4px 16px; display: flex; flex-wrap: wrap; margin: 12px 0 0; }
.identity-page .related-link { min-height: 44px; display: inline-flex; align-items: center; background: transparent; padding: 0 4px; color: #d3baff; }
.identity-page :is(a,button,input):focus-visible { outline: 2px solid #e4cbff; outline-offset: -2px; }
.identity-code { position: relative; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.identity-code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.identity-digit {
  display: grid; place-items: center; height: 60px; border-radius: 16px;
  border: 1px solid #ffffff20; background: #282330; color: #fff;
  font-size: 24px; font-weight: 700; line-height: 1; pointer-events: none;
}
.identity-code:focus-within [data-cursor] { border-color: #c29aff; }
.identity-code:focus-within [data-cursor]:empty::after { content: ''; width: 2px; height: 24px; background: #c29aff; }
