/* ============ DEVICE SYNC (Settings card + linking pop-ups) ============ */
.sync-lead { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 8px; color: var(--text); }
.sync-muted { font-size: 0.8125rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 8px; }
.sync-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }
.sync-status { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; }
.sync-status.tone-ok { background: var(--success-bg); color: var(--success-text); }
.sync-status.tone-muted { background: var(--info-bg); color: var(--info-text); }
.sync-status.tone-warn { background: var(--warning-bg); color: var(--warning-text); }
.sync-more { margin-top: 12px; font-size: 0.875rem; }
.sync-more summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.sync-actions { justify-content: flex-end; margin-top: 14px; }
.sync-code { font-size: 2.5rem; font-weight: 700; letter-spacing: 6px; text-align: center; margin: 14px 0 6px; font-variant-numeric: tabular-nums; color: var(--heading); }
.sync-code-input { font-size: 1.5rem; letter-spacing: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.sync-key { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9375rem; letter-spacing: 1px; line-height: 1.6; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-alt); color: var(--text); text-align: left; overflow-wrap: anywhere; }
button.sync-key { cursor: pointer; }
.sync-key-hidden { color: transparent; text-shadow: 0 0 10px var(--text-muted); user-select: none; }
.sync-pics { display: flex; justify-content: center; gap: 22px; margin: 16px 0; flex-wrap: wrap; }
.sync-pics > span { display: grid; justify-items: center; gap: 4px; }
.sync-pic { font-size: 2.75rem; line-height: 1; }
.toast .toast-link { margin-left: 10px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.toast.show { pointer-events: auto; }
