:focus-visible { outline: 3px solid #f4510b; outline-offset: 3px; }
.draft-recovery { margin: 16px 0; padding: 16px; border: 1px solid var(--line, #d1d5db); border-radius: 12px; background: var(--surface, #fff); }
.draft-recovery h3 { margin: 0 0 8px; }
.draft-recovery article { padding: 12px 0; border-top: 1px solid var(--line, #d1d5db); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.draft-recovery article span { flex: 1 1 180px; overflow-wrap: anywhere; }
canvas[data-signature-key], #customerSignatureCanvas { touch-action: none; }
.help-faq-question { min-height: 44px; }
.snippet-settings { padding: clamp(16px, 3vw, 28px); }
.snippet-editor-row { display: flex; align-items: end; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line, #d1d5db); }
.snippet-editor-row label { display: grid; gap: 6px; flex: 1; min-width: 0; }
.snippet-editor-row input { width: 100%; }
.snippet-add-row, .snippet-settings-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.snippet-add-row label { flex: 1 1 240px; }
@media (max-width: 767px) {
  input, select, textarea { font-size: max(16px, 1rem); }
  button, .button { min-height: 44px; }
  .modal { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .draft-recovery article button { flex: 1 1 140px; }
  .snippet-editor-row { flex-wrap: wrap; }
  .snippet-editor-row label { flex-basis: 100%; }
  .snippet-settings-actions button { width: 100%; }
  .offline-status-badge { max-width: calc(100vw - 24px); white-space: normal; bottom: max(12px, env(safe-area-inset-bottom)); }
}
