.bot-publication-state { padding: 18px 0; border-block: 1px solid var(--border-color, #d9e2ec); margin: 20px 0 28px; }
.bot-publication-state > strong { color: var(--text-primary, #193543); font-size: 17px; }
.bot-publication-state p, .bot-test-section p { color: var(--text-secondary, #4b5b69); line-height: 1.65; }
.bot-evidence { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-inline-start: 20px; margin: 14px 0; }
.bot-publication-state summary { cursor: pointer; color: var(--primary, #006b69); padding: 10px 0; font-weight: 600; }
.bot-config-diff { margin: 16px 0; }
.bot-config-diff h4 { margin: 0 0 8px; }
.bot-config-diff dl { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 8px 12px; margin: 0; }
.bot-config-diff dt { color: var(--text-secondary, #4b5b69); }
.bot-config-diff dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow: auto; padding: 8px 12px; background: var(--bg-secondary, #f2f5f7); }
.bot-release-review h4 { font-size: 17px; margin: 0 0 8px; }
.bot-publication-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.bot-preview-answer { white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; background: var(--bg-secondary, #f2f5f7); line-height: 1.7; }
.bot-config-form .bot-test-section > .flex { flex-wrap: wrap; }
.bot-config-form #botPreviewInput { min-width: 160px; }
.bot-config-form button:disabled { cursor: not-allowed; }
@media (max-width: 560px) {
    .bot-config-form .bot-test-section > .flex input { flex-basis: 100% !important; }
    .bot-publication-actions { justify-content: stretch; }
    .bot-publication-actions button { flex: 1; min-height: 44px; }
    .bot-config-diff dl { grid-template-columns: minmax(0,1fr); gap: 4px; }
    .bot-config-diff dd { margin-bottom: 12px; }
}

.merchant-overlay:has(.bot-config-form) .modal { scroll-padding-block: 28px 110px; }
.bot-config-form .bot-test-section button, .bot-config-form input, .bot-config-form textarea { scroll-margin-block: 100px; }
