.auth-page{min-height:100dvh;max-width:460px;padding:40px 20px;margin:auto;display:flex;flex-direction:column;gap:28px;justify-content:center}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:8px;font-size:18px;font-weight:400}
.auth-brand img{width:36px;height:36px}
.auth-card{padding:24px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.auth-card h1{font-size:22px;font-weight:500;margin-bottom:8px}
.auth-card>p{color:var(--muted);font-size:14px}
.auth-intro{margin-bottom:24px}
.auth-submit{width:100%;margin-top:12px}
.auth-card .field-hint{margin:8px 0 4px}
.auth-error{margin:12px 0;color:var(--danger)}
.account-topbar .brand{font-size:15px}
.account-topbar .topbar-right{gap:6px;min-width:0;flex:1;justify-content:flex-end}
.account-topbar .child-switch{display:block;max-width:176px;min-width:0}
.account-topbar .child-switch .select-trigger{border:0;min-height:44px;min-width:0;padding:6px 8px;background:transparent;font-size:14px}
.account-topbar .child-switch .select-value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
.account-topbar .account-open{min-width:44px;min-height:44px;color:var(--muted)}
.account-topbar .current-child{font-size:14px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sync-banner{padding:8px 18px;font-size:13px;background:var(--surface-soft);color:var(--muted);line-height:1.6}
.member-group+.member-group{margin-top:20px}
.member-group .section-label{margin:0 0 8px;font-weight:400}
.member-group .menu-row:disabled{opacity:1;cursor:default}
.member-checkboxes{display:flex;flex-direction:column;margin:4px 0 8px;border-bottom:1px solid var(--line)}
.member-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer}
.member-check input{width:18px;height:18px;min-height:0;accent-color:var(--primary);flex-shrink:0}
#member-form section{margin-top:20px}
@media(max-width:600px){.account-topbar:has(.child-switch) .brand>span{display:none}.account-topbar .child-switch{max-width:190px}.auth-page{padding-top:24px;padding-bottom:24px}}
