
.identity-page .shell { width: min(560px, calc(100% - 32px)); margin: 32px auto; }
.identity-page form { display: grid; gap: 10px; margin: 24px 0; }
.identity-page input:not([type=checkbox]) { width: 100%; min-width: 0; }
.identity-page .identity-consent { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; line-height: 1.5; }
.identity-page .identity-consent input { flex: 0 0 auto; width: auto; min-height: 0; margin: 4px 0 0; }
.identity-page button { min-height: 42px; margin: 7px 4px 7px 0; padding: 10px 16px; color: #fff; background: var(--accent, #2e6d52); border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 650; cursor: pointer; }
.identity-page button:disabled { opacity: .55; cursor: wait; }
.identity-page #cancel-flow, .identity-page #show-unbind { color: var(--text, #203329); background: var(--surface, #fff); border-color: var(--border, #cedbd2); }
.identity-page #unknown-choices h2 { font-size: 1.2rem; }
.identity-page #unbind-confirmation { padding: 12px; border: 1px solid var(--border, #cedbd2); border-radius: 10px; }
.identity-page [hidden] { display: none !important; }
@media (max-width: 480px) { .identity-page .shell { margin: 16px auto; padding: 20px; } }

.identity-page .message-instruction { padding: 12px; border: 1px solid var(--border, #cedbd2); border-radius: 10px; overflow-wrap: anywhere; line-height: 1.6; user-select: text; }

.identity-page #message-send-text { display: block; padding: 10px; overflow-wrap: anywhere; background: var(--surface, #fff); font-size: 1.1rem; user-select: all; }

.identity-page .operation-feedback { margin: 8px 0; line-height: 1.5; overflow-wrap: anywhere; }
.identity-page .operation-feedback.error { color: #9b2c2c; padding: 10px; border: 1px solid #e5b4b4; border-radius: 8px; background: #fff5f5; }
.identity-page [id$="-restart"] { color: var(--text, #203329); background: var(--surface, #fff); border-color: var(--border, #cedbd2); }

.identity-page .shell { margin: 12px auto; padding: 18px; }
.identity-page h1 { font-size: 1.55rem; margin: 8px 0 12px; }
.identity-page details { margin: 8px 0 12px; font-size: .92rem; line-height: 1.5; }
.identity-page form { gap: 8px; margin: 12px 0; }
.identity-page form h2 { font-size: 1.15rem; margin: 4px 0; }
.identity-page input:not([type=checkbox]), .identity-page textarea { min-height: 44px; font-size: 16px; }
.identity-page p { overflow-wrap: anywhere; }
.identity-page textarea { font-family: inherit; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px; box-sizing: border-box; max-width: 100%; overflow: hidden; width: 100%; resize: vertical; white-space: pre-wrap; overflow-wrap: anywhere; }
.identity-page button { min-height: 44px; font-size: 16px; }
.identity-page #account-options { display: grid; gap: 8px; }
.identity-page .operation-feedback:empty { display: none; }
