.identity-page .login-panel, .identity-page .login-panel * { box-sizing: border-box; letter-spacing: 0; }
.identity-page .login-panel { padding: 48px; }
.identity-page .login-form-wrap { max-width: 440px; min-width: 0; }
.identity-page .login-form-wrap h2 { font-size: 32px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
.identity-form { display: grid; gap: 12px; margin-top: 24px; }
.identity-form label { font-size: 13px; font-weight: 600; color: #34443a; }
.identity-form input, .identity-form select { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #ccd9d0; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; color: #203c2b; }
.identity-form input:focus-visible, .identity-form button:focus-visible, .identity-resend button:focus-visible { outline: 3px solid #92bba0; outline-offset: 3px; }
.identity-form .identity-code { font: 600 32px/1.4 monospace; text-align: center; min-height: 72px; letter-spacing: 0; }
.identity-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; width: 100%; border: 0; border-radius: 6px; padding: 12px 20px; background: #337d40; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.identity-primary:hover { background: #245e30; }
.identity-primary:disabled { opacity: .6; cursor: wait; }
.identity-button-link { margin-top: 24px; }
.identity-link-button { border: 0; background: transparent; color: #286c35; padding: 12px 0; min-height: 44px; cursor: pointer; font: inherit; font-size: 14px; }
.identity-link-button:disabled { color: #66736a; cursor: default; }
.identity-resend { margin-top: 12px; }
.identity-note { color: #596b60; font-size: 12px; line-height: 1.6; margin: 4px 0 10px; }
.identity-back { display: inline-block; color: #286c35; font-size: 14px; margin-top: 20px; padding: 8px 0; }
.identity-alert { border-left: 3px solid #337d40; padding: 14px 16px; background: #edf5ef; margin: 20px 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.identity-alert.error { border-color: #b34539; background: #fff1ef; color: #842a20; }
.identity-status { display: inline-block; font-size: 13px; color: #795014; background: #fff4d9; padding: 8px 12px; border-radius: 4px; margin-right: 12px; }
.identity-footer { color: #66736a; font-size: 12px; margin-top: 48px; }
.identity-uploads input[type="file"] { width: 100%; height: auto; min-height: 50px; padding: 10px; font-size: 12px; border-radius: 6px; }
.identity-uploads input[type="file"]::file-selector-button { border: 0; padding: 8px 10px; background: #edf5ef; color: #245e30; border-radius: 4px; margin-right: 8px; cursor: pointer; }
.identity-uploads details { padding: 14px 0; }
.identity-uploads summary { font-size: 13px; cursor: pointer; margin-bottom: 14px; }
.identity-role-fields[hidden], .identity-uploads [hidden] { display: none !important; }
.identity-review-dialog { width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #ccd9d0; border-radius: 8px; color: #203c2b; }
.identity-review-dialog::backdrop { background: rgba(16,35,24,.55); }
.identity-review-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #dce5de; }
.identity-review-heading h3 { margin: 0; font-size: 20px; }
.identity-dialog-close { width: 44px; height: 44px; border: 0; font-size: 26px; background: transparent; cursor: pointer; }
.identity-review-content { padding: 24px; }
.identity-review-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0 0 24px; }
.identity-review-details dt { font-size: 12px; color: #66736a; }
.identity-review-details dd { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.identity-document-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.identity-document-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px; cursor: pointer; color: #34443a; font: inherit; font-size: 12px; }
.identity-document-tabs button[aria-selected="true"] { border-color: #337d40; color: #245e30; font-weight: 600; }
.identity-document-view { height: 350px; border: 1px solid #dce5de; background: #f5f7f5; overflow: auto; }
.identity-document-view img { display: block; width: 100%; height: 100%; object-fit: contain; }
.identity-document-view iframe { width: 100%; height: 100%; border: 0; }
.identity-review-actions { border-top: 1px solid #dce5de; margin-top: 24px; padding-top: 20px; display: grid; gap: 14px; }
.identity-review-actions textarea { min-height: 88px; width: 100%; padding: 10px; font: inherit; border: 1px solid #ccd9d0; border-radius: 6px; }
.identity-review-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.identity-review-actions label { font-size: 13px; }
.identity-review-actions input[type="checkbox"] { width: 18px; height: 18px; vertical-align: middle; }
@media(max-width:780px) { .identity-page .login-panel { padding: 32px 24px; } .identity-review-details { grid-template-columns: 1fr; } .identity-review-content { padding: 18px; } .identity-review-heading { padding: 16px 18px; } .identity-document-view { height: 260px; } }
@media(prefers-reduced-motion:reduce) { .identity-page * { transition: none !important; animation: none !important; } }