body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; }
h1, h2, h3 { font-family: inherit; }
.server-auth { position:fixed; inset:0; z-index:50; display:grid; place-items:center; background:#f3f6f1; padding:24px; overflow:auto; }
.server-auth[hidden] { display:none; }
.server-auth .login-card { width:min(100%,460px); }
.server-auth form { display:grid; gap:16px; }
.server-auth p { font-size:14px; line-height:1.65; }
.server-auth label { font-size:13px; }
.server-auth input { width:100%; }
.server-auth button[type=submit] { margin-top:8px; width:100%; }
.form-error { color:#a3452f !important; white-space:pre-wrap; }
button:disabled { opacity:.55; cursor:wait; }
#server-sync-status { font-size:12px; line-height:1.5; padding:12px; border:1px solid #dde6db; border-radius:8px; background:#f3f7ef; color:#426653; }
#sync-alert { position:sticky; top:0; z-index:6; padding:14px 24px; background:#fff3dc; border:1px solid #dbc499; border-radius:9px; margin:12px 0; font-size:13px; }
#sync-alert[hidden] { display:none; }
#sync-alert .sync-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.account-row { border-top:1px solid var(--line); padding:18px 0; }
.account-row h3 { margin:0 0 14px; }
.account-row .formgrid { align-items:end; }
.server-account-menu { margin-top:18px; padding-top:12px; border-top:1px solid var(--line); }
#mail-connection-note { margin:0 24px 20px; padding:14px 18px; background:#f4f6f0; border:1px solid var(--line); border-radius:8px; }
.sync-note { font-size:12px; line-height:1.6; }
.profile small { font-size:10px; }
