/* Dolijane Sync — account section (Settings). Uses the app's own tokens with safe fallbacks. */
.sync-account h4 { margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.sync-account .sync-field { display: grid; gap: 4px; align-items: stretch; }
.sync-account .sync-field input,
.sync-account .sync-field textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; font: inherit;
  border: 1px solid var(--line, #d8d4cc); border-radius: 8px; background: var(--panel, #fff); color: inherit; }
.sync-account .sync-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.sync-account .sync-actions .btn.primary { background: var(--accent, #d55242); color: #fff; border-color: transparent; }
.sync-account .btn:disabled { opacity: .5; cursor: default; }
.sync-account .sync-warn { margin: 8px 0; padding: 8px 10px; border-radius: 8px; font-size: 13px; line-height: 1.4;
  background: #fff4e0; border: 1px solid #e6b866; color: #6b4a00; }
.sync-account .sync-error { margin: 8px 0; padding: 8px 10px; border-radius: 8px; font-size: 13px;
  background: #fdeceb; border: 1px solid #d9827a; color: #7a1f17; }
.sync-account .sync-fingerprint { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .04em; }
.sync-account .sync-phrase { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px 12px;
  margin: 10px 0; padding: 12px 12px 12px 34px; border: 1px dashed var(--line, #b9b3a6); border-radius: 10px; font-size: 15px; }
.sync-account .sync-phrase li { padding: 2px 0; }
.sync-account .sync-device { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 6px 0;
  border-bottom: 1px solid var(--line, #e7e3db); font-size: 14px; }
.sync-account .sync-pending { margin: 10px 0; padding: 8px 10px; border-radius: 10px; background: #eef6ee; border: 1px solid #a9cfa9; }
@media (prefers-color-scheme: dark) {
  .sync-account .sync-warn { background: #3a2f17; border-color: #8a6a24; color: #f1d9a0; }
  .sync-account .sync-error { background: #3b1c1a; border-color: #8a3f39; color: #f3c2bd; }
  .sync-account .sync-pending { background: #1f3322; border-color: #4d7a53; }
}
