.sync-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px; font-size: 11px; color: var(--home-muted); max-width: 180px; white-space: nowrap; }
.sync-chip > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sync-dot { width: 6px; height: 6px; background: var(--home-accent); border-radius: 50%; flex-shrink: 0; }
.sync-offline, .sync-conflict, .sync-auth { color: var(--home-warm); }
.sync-offline .sync-dot, .sync-conflict .sync-dot, .sync-auth .sync-dot { background: var(--home-warm); }
.sync-pending-list, .sync-issue-list { padding-left: 22px; margin: 16px 0; font-size: 13px; line-height: 1.9; }
.sync-comparison article { padding: 15px 0; border-bottom: 1px solid var(--border); }
.sync-comparison strong { font-size: 14px; }
.sync-comparison p, .sync-comparison summary { font-size: 12px; margin-top: 8px; color: var(--home-muted); }
.sync-comparison pre { max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; border: 1px solid var(--border); border-radius: 6px; padding: 12px; }
.check-label { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; }
.check-label input { width: 16px; flex-shrink: 0; margin-top: 4px; }
@media (max-width: 760px) {
  .sync-chip { max-width: 88px; min-height: 40px; padding: 6px; font-size: 10px; }
  #sync-login-form input:not([type=checkbox]) { font-size: 16px; }
}
@media (max-width: 360px) { .sync-chip { max-width: 68px; } }

/* Account is the entry point; service settings stay out of the daily workflow. */
.auth-shell { width: 100%; min-height: 100dvh; display: grid; place-items: center; padding: 40px 20px; background: var(--cream); }
.auth-card { width: min(100%, 440px); padding: 36px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: 0 12px 40px #0f172a08; }
.auth-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 26px; margin-bottom: 24px; }
.auth-eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--muted); margin-bottom: 8px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.5px; }
.auth-card > p { color: var(--home-muted); font-size: 13px; margin: 12px 0 24px; }
.auth-card label { display: block; font-size: 13px; margin: 0 0 18px; color: var(--home-ink); }
.auth-card input:not([type=checkbox]) { display: block; width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; margin-top: 7px; color: inherit; background: var(--surface); font-size: 16px; }
.auth-card input:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.auth-card .check-label { display: flex; }
.auth-service { margin: 20px 0; font-size: 12px; color: var(--home-muted); }
.auth-service summary { cursor: pointer; margin-bottom: 12px; }
.auth-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 24px; }
.auth-actions button { min-height: 44px; }
.auth-card .auth-footnote { font-size: 11px; line-height: 1.8; margin: 24px 0 0; }
.auth-card .form-error { margin: 10px 0 18px; }
@media(max-width: 480px) { .auth-shell { padding: 24px 16px; } .auth-card { padding: 28px 24px; border-radius: 16px; } .auth-card h1 { font-size: 24px; } }
