.sync-demo { width: 100%; min-width: 0; color: #333; }
.sync-demo-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sync-demo-phone { min-width: 0; }
.sync-demo-phone h3 { margin: 0 0 14px; text-align: center; font-size: .95rem; line-height: 1.4; }
.sync-demo-device { padding: 8px; border-radius: 28px; background: #333; }
.sync-demo-screen { height: 340px; overflow-y: auto; padding: 22px 10px; border-radius: 21px; background: #fff; }
.sync-demo-form { display: flex; margin: 0 0 24px; }
.sync-demo-form input { width: 100%; min-width: 0; padding: 10px 7px; border: 1px solid #ddd; border-radius: 6px 0 0 6px; background: white; color: #333; font: inherit; font-size: .85rem; }
.sync-demo-form button { padding: 5px 10px; border: 1px solid #ddd; border-left: 0; border-radius: 0 6px 6px 0; background: #eee; color: #333; font: inherit; font-size: 1.2rem; cursor: pointer; }
.sync-demo-heading { margin: 20px 0 8px; color: #777; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.sync-demo-row { display: flex; align-items: center; gap: 6px; padding: 9px 4px; border-bottom: 1px solid #eee; border-radius: 4px; }
.sync-demo-row input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #c9cbd0; border-radius: 4px; background: #fff; opacity: 1; cursor: pointer; }
.sync-demo-row input[type="checkbox"]:checked { background: #c9cbd0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.sync-demo-row input[type="checkbox"]:disabled { opacity: 1; cursor: default; }
.sync-demo-row input[type="text"] { width: 100%; min-width: 0; padding: 3px 0; border: 0; background: transparent; color: #333; font: inherit; font-size: .85rem; }
.sync-demo-row.is-checked input[type="text"] { color: #999; text-decoration: line-through; }
.sync-demo input:focus-visible, .sync-demo button:focus-visible { outline: 2px solid #777; outline-offset: 2px; }
.sync-demo-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sync-demo-row.is-synced { animation: sync-demo-arrive 650ms ease-out; }
.sync-demo-form input.is-demo-typing { border-color: #999; }
.sync-demo-form button.is-demo-pressed { background: #c9cecb; box-shadow: inset 0 2px 4px #0002; transform: translateY(2px); }
@keyframes sync-demo-arrive { from { transform: translateY(-6px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sync-demo-row.is-synced { animation: none; } }
@media (max-width: 380px) { .sync-demo-phones { gap: 8px; } .sync-demo-screen { padding: 18px 6px; } .sync-demo-phone h3 { font-size: .8rem; } }
