#cms-settings { margin-top: 24px; }
#cms-settings .panel-title { align-items: flex-start; gap: 16px; flex-wrap: wrap; }
#cms-settings .panel-title a { font-size: 13px; white-space: nowrap; }
.cms-body { padding: 24px; }
.cms-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cms-heading h3 { margin: 0; font-size: 16px; font-weight: 600; }
.cms-help { color: var(--muted, #64748b); font-size: 13px; line-height: 1.6; max-width: 75ch; margin: 8px 0 16px; }
.panel-title .cms-help { margin-bottom: 0; }
.cms-caption { display: block; color: var(--muted, #64748b); font-size: 12px; line-height: 1.6; }
.cms-token-form { display: grid; grid-template-columns: minmax(120px,1fr) minmax(120px,180px) auto; align-items: end; gap: 12px; max-width: 850px; }
.cms-token-form .field { margin: 0; }
.cms-token-form .error-box { grid-column: 1 / -1; }
.cms-token-form button { min-height: 42px; }
.cms-token { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cms-token strong { display: block; overflow-wrap: anywhere; font-size: 14px; }
.cms-token code { display: block; margin: 4px 0; font-size: 12px; }
.cms-token button { flex-shrink: 0; }
.cms-empty { font-size: 13px; color: var(--muted, #64748b); padding: 16px 0 0; }
.cms-divider { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 28px; }
.cms-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#cms-webhook-form { max-width: 850px; }
.cms-deliveries { overflow-x: auto; }
.cms-deliveries code { font-size: 11px; }
.cms-deliveries small { display: block; color: var(--muted, #64748b); max-width: 280px; white-space: normal; overflow-wrap: anywhere; }
.cms-secret { font-size: 14px; line-height: 1.7; padding: 16px; border: 1px solid var(--border); border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
@media(max-width: 640px) {
 .cms-body { padding: 16px; }
 .cms-token-form { grid-template-columns: 1fr; }
 .cms-token-form button, .cms-actions button, .cms-heading button, .cms-token button { min-height: 44px; }
 .cms-token { align-items: flex-start; }
 .cms-token > div { min-width: 0; }
}
