/* One product mark for navigation, sign-in and the browser tab. */
.brand{gap:10px;font-weight:680;letter-spacing:-.65px}
.brand-mark{display:block;width:44px;height:44px;flex-shrink:0;border-radius:11px}
.brand-wordmark{display:block;min-width:0}
.brand-wordmark b{font-weight:420}
.brand-wordmark small{font-size:7.5px;letter-spacing:2.1px;font-weight:600;margin-top:7px}
.sidebar .brand-mark{box-shadow:0 0 0 1px #ffffff20}
.sidebar .brand-wordmark small{color:#a6cdc7}
.brand.compact{font-size:22px}
.brand.compact .brand-mark{width:38px;height:38px;border-radius:9px}
.login-emblem{width:72px;height:72px;padding:0;border:0;background:transparent;border-radius:18px;box-shadow:0 0 0 1px #ffffff1c}
.login-emblem .brand-mark{width:72px;height:72px;border-radius:18px}
@media(min-width:1024px) and (max-width:1350px){.sidebar .brand{font-size:20px;gap:8px}.sidebar .brand-mark{width:38px;height:38px}.sidebar .brand-wordmark small{font-size:7px;letter-spacing:1.7px}}
@media(max-width:760px){.brand.compact{font-size:20px;gap:9px}.brand.compact .brand-mark{width:34px;height:34px}.login-emblem,.login-emblem .brand-mark{width:56px;height:56px;border-radius:14px}}

/* Images belong to the active study or the signed-in user. */
.brand.study-brand{min-width:0;max-width:100%;flex:1;white-space:normal;letter-spacing:0;gap:10px}
.study-brand .brand-wordmark{font-size:15px;line-height:1.35;font-weight:650;overflow-wrap:anywhere}
.sidebar .study-brand{flex-direction:column;align-items:flex-start}
.sidebar-brand{gap:10px}
.sidebar .study-brand .brand-wordmark{font-size:16px}
.study-logo-surface{display:flex;align-items:center;justify-content:center;max-width:100%;padding:8px 10px;background:#fff;border:1px solid #dce5ea;border-radius:9px;flex-shrink:0}
.study-logo{display:block;width:auto;max-width:100%;height:52px;object-fit:contain}
.study-brand-initial{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#e2f2ee;color:#11645d;font-weight:700;font-size:24px;flex-shrink:0}
.sidebar .study-logo-surface{width:fit-content;max-width:100%;padding:0;background:transparent;border:0;border-radius:0}
.sidebar .study-logo{width:auto;height:auto;max-width:184px;max-height:92px}
.study-brand.compact{flex:0 1 auto;max-width:420px}
.study-brand.compact .study-logo-surface{max-width:140px;padding:4px 7px}
.study-brand.compact .study-logo{height:36px}
.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.identity-preview{display:flex;align-items:center;gap:18px;margin:16px 0 24px;padding:18px;border:1px solid #cbdce3;border-radius:10px;background:#fff;color:#173349}
.identity-preview>div{min-width:0}
.identity-preview strong{display:block;overflow-wrap:anywhere}
.identity-preview small{display:block;color:#617487;margin-top:4px}
.identity-preview>img{display:block;max-width:180px;max-height:88px;object-fit:contain}
[data-identity-editor] [hidden]{display:none!important}
.profile-preview>img,.profile-preview>span{width:72px;height:72px;border-radius:50%;flex-shrink:0;object-fit:cover}
.profile-preview>span{display:grid;place-items:center;background:#e2f2ee;color:#11645d;font-size:28px;font-weight:650}
.personal-profile{margin-bottom:24px}
#study-name .form-field{margin-bottom:18px}
.personal-profile .form-field input[type=file],#study-name input[type=file]{max-width:100%;background:#fff;padding:9px}
.login-study-logo{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:10px;padding:12px 16px;margin-bottom:24px;width:fit-content;max-width:100%}
.login-study-logo img{max-width:260px;width:100%;height:72px;object-fit:contain}
.study-avatar.has-logo{background:#fff;padding:7px}
.study-avatar.has-logo img{width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.study-brand.compact{max-width:235px}.study-brand.compact .study-logo-surface{max-width:90px}.study-brand.compact .brand-wordmark{font-size:13px}.identity-preview{gap:12px;padding:12px}.study-logo-preview>img{max-width:115px}.login-study-logo img{height:56px}}

.study-monogram.has-logo{background:#fff;padding:3px}.study-monogram.has-logo img{width:100%;height:100%;object-fit:contain}
.image-requirements{padding:14px 16px;margin:0 0 18px;border:1px solid #b5cdd7;border-radius:8px;background:#f5fafb;color:#29495d;font-size:12px;line-height:1.65}
.image-requirements>strong{display:block;font-size:13px}.image-requirements ul{margin:7px 0;padding-left:18px}.image-requirements li+li{margin-top:4px}.image-requirements small{font-size:11px;color:#506a79}
.image-upload-status{font-size:12px;padding:10px 12px;border-radius:7px;background:#edf3f8;color:#36576d;overflow-wrap:anywhere}
.image-upload-status[data-state=ready]{background:#e3f2eb;color:#205c43}.image-upload-status[data-state=error]{background:#fbe9e9;color:#922c32;border:1px solid #dca3a6}
.identity-errors{padding:15px 18px;background:#fbe9e9;color:#922c32;border:1px solid #dca3a6;border-radius:8px;margin-bottom:18px;font-size:13px}.identity-errors ul{padding-left:18px;margin:8px 0}.identity-errors a{color:inherit;text-decoration:underline}.identity-errors p{font-size:12px;margin:8px 0 0}
