:root { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif; color: #151717; background: #f5f6f7; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #2d79f3; outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px 28px; }
.account-card { width: min(100%, 450px); padding: 30px; border-radius: 20px; background: #fff; }
.card-header { margin-bottom: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #151717; font-size: 17px; font-weight: 650; text-decoration: none; margin-bottom: 30px; }
.wordmark span { font-size: 12px; font-weight: 400; color: #6a7077; border-left: 1px solid #d9dde1; padding-left: 10px; }
h1 { font-size: 26px; letter-spacing: -.6px; font-weight: 650; margin: 0 0 10px; line-height: 1.3; outline: none; }
.card-header p, .muted, .field-hint, .page-footer { color: #62686f; }
.card-header p { margin: 0; font-size: 14px; line-height: 1.7; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form > label { font-size: 14px; font-weight: 600; margin-top: 6px; }
.inputForm { display: flex; align-items: center; height: 50px; border: 1.5px solid #ecedec; border-radius: 10px; padding-left: 12px; transition: border-color .16s ease; }
.inputForm:focus-within { border-color: #2d79f3; }
.inputForm > svg { width: 20px; height: 20px; flex: 0 0 20px; }
.inputForm input { min-width: 0; flex: 1; width: 100%; height: 100%; padding: 0 10px; border: none; outline: none; background: transparent; border-radius: 10px; font-size: 14px; color: #151717; }
.inputForm input::placeholder { color: #747a80; opacity: 1; }
.eye { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #61676d; }
.eye svg { width: 19px; height: 19px; }
.eye[aria-pressed='true'] { color: #2166d4; background: #f2f6ff; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 3px 0 1px; }
.text-button { background: transparent; border: 0; color: #2166d4; padding: 4px 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.code-send { flex: 0 0 auto; margin-right: 12px; padding-left: 10px; border-left: 1px solid #ecedec; font-size: 12px; white-space: nowrap; }
.button-submit { background: #151717; color: white; border: none; margin: 10px 0; height: 50px; border-radius: 10px; font-size: 15px; font-weight: 500; width: 100%; transition: background .16s ease; }
.button-submit:hover:not(:disabled) { background: #292d2d; }
.button-secondary { width: 100%; min-height: 46px; background: white; border: 1px solid #dce0e4; border-radius: 10px; color: #151717; font-size: 14px; padding: 10px 14px; }
.button-secondary:hover:not(:disabled) { background: #f6f7f8; }
.switch { margin: 4px 0 0; text-align: center; font-size: 14px; line-height: 1.8; }
.switch .text-button { margin-left: 6px; }
.back-link { align-self: center; }
.field-hint { font-size: 12px; line-height: 1.7; margin: -3px 0 0; }
.body-copy { font-size: 14px; line-height: 1.8; margin: 0 0 12px; }
.notice, .error { font-size: 13px; line-height: 1.8; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; overflow-wrap: anywhere; }
.notice { color: #315539; background: #f0f6f0; border: 1px solid #e0ecdf; }
.error { color: #9d2e28; background: #fff5f3; border: 1px solid #f3dfda; }
.page-footer { font-size: 12px; margin: 24px 0 0; }
.identity { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 10px; overflow-wrap: anywhere; }
#user-name { font-size: 18px; font-weight: 600; }
#user-email { font-size: 14px; }
.state { color: #525e58; background: #f0f3f1; padding: 4px 9px; border-radius: 6px; font-size: 12px; }
.capabilities { padding: 4px 0 10px; }
.capabilities p { font-size: 13px; line-height: 1.7; margin: 4px 0; color: #5c6268; }
details { border-top: 1px solid #ecedec; padding: 15px 0 5px; }
summary { cursor: pointer; font-size: 14px; }
.settings-form { margin-top: 18px; }
.invite-code { display: block; padding: 12px; border: 1px solid #dce0e4; border-radius: 8px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; user-select: all; }
@media (max-width: 480px) { .page { padding: 24px 16px; } .account-card { padding: 28px 22px; } .inputForm input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
