/* Working offline (assets/js/ext/offline.js): the unsynced-changes badge, the sync panel and Settings → Offline. */
.sync-badge { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border: 0; border-radius: 10px; background: var(--bg-blue); color: var(--c-blue); font: inherit; font-size: 12px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.sync-badge[hidden] { display: none; }
.sync-badge.offline { background: var(--bg-orange); color: var(--c-orange); }
.sync-badge-sidebar { margin: 4px 8px; align-self: flex-start; }
.sync-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); flex: none; }
.sync-badge .sync-dot, .sync-dot.offline { background: currentColor; }
.sync-dot.offline { color: var(--c-orange); }
.sync-panel { display: flex; flex-direction: column; gap: 10px; }
.sync-panel h3 { margin: 8px 0 0; font-size: 14px; }
.sync-state { margin: 0; display: flex; align-items: center; gap: 6px; }
.sync-list, .sync-log, .offline-pins { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; }
.sync-kind { font-size: 12px; color: var(--fg-muted); }
.sync-log .sync-conflict { color: var(--c-orange); }
.sync-log .sync-error { color: var(--c-red); }
.offline-settings .check-row { align-items: baseline; }
