.identity { color: var(--text); background: var(--surface); margin: -24px -32px -40px; padding: 32px; min-height: 560px; }
.identity a { color: var(--green-900); }
.identity-heading { max-width: 1120px; margin: 0 auto 28px; }
.identity-heading > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.identity-kicker { color: var(--green-900); font-size: 11px; font-weight: 700; margin: 20px 0 8px; }
.identity h1 { font-size: 28px; line-height: 1.25; width: fit-content; max-width: 100%; margin: 0 0 16px; }
.identity :is(#identity-title,#identity-feedback):focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.identity h2 { font-size: 20px; line-height: 1.35; margin: 0 0 16px; }
.identity p { line-height: 1.65; font-size: 14px; }
.identity :is(button,a,input,select,label,dd,address) { overflow-wrap: anywhere; }
.identity-boundary { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); max-width: 760px; }
.identity svg { width: 20px; height: 20px; flex: 0 0 20px; }
.identity-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 40px; max-width: 1120px; margin: auto; border-top: 1px solid var(--line); padding-top: 24px; }
.identity-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.identity-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; text-decoration: none; border-left: 3px solid transparent; font-size: 13px; }
.identity-nav [aria-current] { border-color: var(--green-900); background: #edf4ef; font-weight: 700; }
.identity-body { max-width: 760px; min-width: 0; }
.identity-form { max-width: 560px; display: grid; gap: 20px; }
.identity-field { display: grid; gap: 8px; min-width: 0; }
.identity label, .identity legend { font-size: 13px; font-weight: 600; color: var(--text); }
.identity :is(input:not([type=checkbox]),select) { width: 100%; min-width: 0; height: 46px; border: 1px solid var(--line-strong); padding: 10px 12px; background: white; font-size: 14px; color: var(--text); }
.identity input[readonly] { background: #f6f8f6; }
.identity input[aria-invalid=true], .identity select[aria-invalid=true] { border: 2px solid #a12d26; }
.identity-field-error { color: #952b24; font-size: 12px; }
.identity-password { display: flex; align-items: flex-start; gap: 8px; }
.identity-password .identity-field { flex: 1; }
.identity .identity-icon { margin-top: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 46px; height: 46px; flex: 0 0 46px; background: white; color: var(--green-900); border: 1px solid var(--line-strong); }
.identity :is(button,.identity-primary) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 16px; width: fit-content; max-width: 100%; text-align: center; font-size: 13px; line-height: 1.4; border-radius: 4px; white-space: normal; }
.identity .identity-primary { background: var(--green-900); color: white; text-decoration: none; border: 1px solid var(--green-900); }
.identity .identity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 20px 0; }
.identity-inline-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.identity-inline-links a, .identity-actions > a:not(.identity-primary) { display: inline-flex; align-items: center; min-height: 44px; }
.identity .identity-note { color: var(--muted); font-size: 12px; margin: 0; }
.identity-check { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: start; column-gap: 10px; min-height: 44px; }
.identity-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-900); }
.identity-check label { min-height: 44px; line-height: 1.6; padding-top: 2px; cursor: pointer; }
.identity-check .identity-field-error { grid-column: 2; }
.identity-feedback { border-left: 3px solid var(--green-900); background: #edf4ef; padding: 16px; margin-bottom: 24px; font-size: 13px; line-height: 1.6; }
.identity-feedback.is-error { border-color: #a12d26; background: #fff2f0; }
.identity-feedback ul { margin: 8px 0 0; padding-left: 20px; }
.identity-feedback a { color: #8e2b25; }
.identity-section { padding: 4px 0 24px; }
.identity-state-icon { color: var(--green-900); margin-bottom: 20px; }
.identity-state-icon svg { width: 36px; height: 36px; }
.identity-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0 0 24px; margin: 0; }
.identity-steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.identity-steps [aria-current] { border-color: var(--green-900); font-weight: 700; color: var(--green-900); }
.identity-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; background: #edf4ef; border-radius: 50%; }
.identity-steps + p { margin-bottom: 24px; }
.identity-facts { margin: 20px 0 28px; }
.identity-facts > div { display: grid; grid-template-columns: minmax(100px,1fr) minmax(0,1.6fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.identity dt { color: var(--muted); }
.identity dd { margin: 0; }
.identity-profile { display: flex; gap: 16px; align-items: flex-start; }
.identity-profile h2, .identity-profile p { margin: 0 0 8px; }
.identity-avatar { width: 56px; height: 56px; display: inline-grid; place-items: center; flex: 0 0 56px; background: #edf4ef; color: var(--green-900); border-radius: 4px; }
.identity-avatar svg { width: 30px; height: 30px; }
.identity-tag { display: inline-block; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding: 4px 0; }
.identity-security { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.identity-address { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.identity-address + h2 { margin-top: 32px; }
.identity address { font-style: normal; font-size: 14px; line-height: 1.7; }
.identity-empty { padding: 24px 0; border-block: 1px solid var(--line); margin-bottom: 28px; }
.identity fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.identity legend { margin-bottom: 20px; }
.identity dialog { border: 1px solid var(--line-strong); border-radius: 6px; padding: 24px; width: 440px; max-width: calc(100% - 32px); color: var(--text); }
.identity dialog::backdrop { background: rgb(0 25 15 / 45%); }
@media(max-width:800px) {
  .identity { margin: -20px -16px -32px; padding: 20px 16px 32px; }
  .identity h1 { font-size: 26px; }
  .identity-heading { margin-bottom: 16px; }
  .identity-kicker { margin-top: 10px; }
  .identity-boundary { font-size: 12px; line-height: 1.5; margin-bottom: 8px; }
  .identity-layout { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 16px; }
  .identity-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .identity-nav a { flex-direction: column; gap: 6px; border-left: 0; border-bottom: 2px solid transparent; text-align: center; padding: 10px 4px; font-size: 11px; }
  .identity .identity-actions { flex-direction: row; align-items: center; }
  .identity .identity-actions button { width: fit-content; }
  .identity-steps li { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media(prefers-reduced-motion:reduce) { .identity *, .identity *::before, .identity *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
