/* Project participants: a small signature in the toolbar, one calm first step. */
.identity-button{display:flex;align-items:center;gap:8px;min-width:0;max-width:176px;padding:5px 8px 5px 5px;border:1px solid #e3e7da;border-radius:22px;background:#fafbf6;flex-shrink:0}
.identity-avatar{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#e4ebd5;color:#4b5c3c;font-size:11px;font-weight:600}
.identity-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:116px;font-size:11px;color:#667357}
.identity-caret{color:#929c84;font-size:10px;line-height:1}
dialog.identity-dialog{width:min(432px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:32px;border:1px solid #dce3cd;border-radius:20px;background:#f9faef;color:#30392a;overflow:auto;box-shadow:0 24px 85px #19220e35}
.identity-dialog::backdrop{background:#20271966;backdrop-filter:blur(4px)}
.identity-dialog .identity-symbol{font-size:47px;line-height:1;color:#f26931;margin-bottom:24px}
.identity-dialog .eyebrow{display:block;font-size:9px;letter-spacing:1.4px;color:#899875}
.identity-dialog h2{font-size:28px;font-weight:400;line-height:1.2;letter-spacing:-.8px;margin:11px 0 14px}
.identity-description{font-size:12px;line-height:1.8;color:#83916f;margin:0 0 25px}
.identity-field-label{display:block;font-size:11px;color:#6c7d57;margin-bottom:8px}
.identity-dialog input{width:100%;height:46px;padding:11px 13px;background:#fffef7;border:1px solid #d6dec7;border-radius:10px;font-size:15px;color:#35432a}
.identity-dialog input::placeholder{color:#a2ac93;font-size:13px}
.identity-dialog input:disabled{background:#f0f3e6;color:#8a957a}
.identity-field-help{font-size:10px;color:#9aa489;line-height:1.6;margin:8px 0 0}
.identity-error{font-size:11px;line-height:1.6;margin:15px 0 0;padding:10px 12px;color:#a25733;background:#fff0e5;border-radius:8px}
.identity-dialog-actions{display:flex;align-items:center;gap:9px;margin-top:23px}
.identity-dialog-actions>.orange-button{flex:1;min-height:43px;font-size:12px;border-radius:9px}
.identity-dialog-actions>.quiet-button{min-height:43px;font-size:11px;background:transparent;border-color:#d6dec7;border-radius:9px}
.identity-retry{display:block;width:100%;padding:11px;margin-top:10px;font-size:12px;color:#697f50;text-decoration:underline;text-underline-offset:3px}
.studio-header .header-actions{min-width:0}
@media(max-width:1350px){.studio-header .project-label{display:none}}
@media(max-width:1050px){.identity-button{max-width:132px}.identity-name{max-width:75px}}
@media(max-width:760px){.studio-header{gap:9px}.identity-button{padding:3px;gap:0;max-width:34px;border-radius:50%}.identity-name,.identity-caret{display:none}.studio-header .save-status{max-width:84px;font-size:9px}.header-actions>.dark-button{padding:10px 11px}.identity-dialog{padding:26px!important}}
@media(max-width:390px){.studio-header .save-status{display:none}.studio-header .header-actions{gap:7px}.identity-dialog h2{font-size:25px}}

/* Account management uses the same local workspace palette. */
.identity-password-block{margin-top:18px}
.identity-login-modes{display:flex;gap:4px;padding:4px;margin:0 0 22px;border:1px solid #dce3cd;border-radius:11px;background:#edf1e2}
.identity-login-modes>button{flex:1;min-height:38px;padding:7px;border-radius:8px;background:transparent;color:#788969;font-size:12px}
.identity-login-modes>button[aria-pressed="true"]{background:#fffef7;color:#35432a;box-shadow:0 1px 4px #26311b12}
.identity-login-modes>button:focus-visible{outline:2px solid #f26931;outline-offset:2px}
.identity-login-modes>button:disabled{opacity:.6}
.identity-success{font-size:11px;line-height:1.6;margin:15px 0 0;padding:10px 12px;color:#486332;background:#e7efd9;border-radius:8px}
.identity-account-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid #e1e7d4}
.identity-account-tools .quiet-button{font-size:11px;min-height:37px}
.identity-dialog [hidden]{display:none!important}
.identity-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.identity-dialog-heading h2{margin:0}
.identity-dialog-heading+.identity-description{margin-top:14px}
.identity-dialog.admin-dialog{width:min(580px,calc(100vw - 32px))}
.admin-user{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #dfe6d2}
.admin-user strong{display:block;font-size:13px;overflow-wrap:anywhere}
.admin-user small{display:block;color:#879574;font-size:10px;margin-top:5px}
.admin-user>.quiet-button{font-size:10px;flex-shrink:0}
#admin-user-form,#admin-login-password-form{margin-top:24px}#admin-user-form h3,#admin-login-password-form h3,.admin-users-heading{font-size:16px;margin-bottom:16px;font-weight:500}
#admin-user-form,.admin-users-heading{padding-top:24px;border-top:1px solid #e1e7d4}.admin-users-heading{margin-top:28px}
#admin-user-form input+.identity-field-label,#admin-login-password-form input+.identity-field-label{margin-top:16px}
#admin-login-password-status{margin:0 0 16px}
#token-form{margin-top:20px}#token-secret{margin-top:20px;padding:15px;border:1px solid #d5dfc5;background:#eef3e2;border-radius:12px}
#token-secret p{font-size:12px;line-height:1.6;margin-bottom:10px}
#token-secret-value{display:block;resize:vertical;width:100%;min-height:72px;padding:10px;border:1px solid #d5dfc5;border-radius:7px;background:white;color:#35432a;font:12px/1.5 monospace;word-break:break-all;margin-bottom:8px}

.identity-recovery{margin-top:17px;font-size:11px;color:#6c7d57}.identity-recovery>summary{cursor:pointer}.identity-recovery>p{margin:10px 0}.identity-recovery input{font-size:12px}
