.draft-sync-status { padding: 14px; margin: 12px 0; background: var(--green-soft); border-radius: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.draft-sync-status > span, .draft-sync-status small { flex-basis: 100%; line-height: 1.7; }
.draft-sync-status small { color: var(--muted); }
.draft-sync-status button, .draft-sync-status a, .draft-sync-archives button, .draft-sync-actions button { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.draft-sync-conflict { margin: 16px 0; padding: 16px; border: 2px solid var(--green); border-radius: 14px; background: var(--paper); min-width: 0; }
.draft-sync-conflict h3 { margin: 0 0 10px; font-size: 16px; }
.draft-sync-conflict p { font-size: 14px; line-height: 1.7; }
.draft-sync-conflict select { max-width: 100%; width: 100%; min-height: 44px; margin: 12px 0; }
.draft-sync-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.draft-sync-grid > section { border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.draft-sync-grid h4 { margin: 12px 0 6px; font-size: 14px; }
.draft-sync-grid .draft-sync-time { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 12px; }
.draft-sync-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
.draft-sync-grid blockquote { margin: 10px 0; border-left: 3px solid var(--green); padding-left: 10px; }
.draft-sync-choices fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 12px 0; }
.draft-sync-choices label { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; cursor: pointer; }
.draft-sync-choices input { margin-right: 6px; }
.draft-sync-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.draft-sync-archives { margin: 12px 0; }
.draft-sync-archives summary { min-height: 44px; cursor: pointer; }
.draft-sync-archives button { margin: 8px 8px 0 0; }
[data-sync-local], [data-sync-remote] { min-width: 0; }
.draft-recovery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.draft-recovery-actions > span, .draft-recovery-actions > div { flex-basis: 100%; }
.draft-recovery-actions button, .draft-recovery-actions a { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.draft-recovery-actions textarea { display: block; width: 100%; box-sizing: border-box; margin: 8px 0; font: inherit; white-space: pre-wrap; }
.draft-recovery-actions [hidden], [data-draft-list] [hidden] { display: none !important; }
.draft-recovery-search { display: block; margin: 16px 0; }
.draft-recovery-search input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.draft-recovery-text, .draft-recovery-excerpt { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.7; }
.draft-recovery-excerpt { color: var(--muted); font-size: 14px; }
[data-local-drafts] summary { min-height: 44px; cursor: pointer; }
[data-draft-card] { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 680px) { .draft-sync-grid { grid-template-columns: minmax(0, 1fr); } .draft-sync-conflict { padding: 12px; } }
