#brevo .brevo-scope{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
#brevo .brevo-scope>p{grid-column:1/-1}
#brevo .brevo-editor textarea{width:100%;min-height:15rem;font: .9rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}
#brevo pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:30rem;overflow:auto}
#brevo .brevo-list-choices{display:grid;gap:.4rem;margin-bottom:1rem}
#brevo .panel>button{margin:.25rem .5rem .25rem 0}
#brevo .brevo-guide ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.7rem;list-style:none;padding:0;margin:1rem 0}
#brevo .brevo-guide li{display:flex;flex-direction:column;gap:.4rem;padding:1rem;border:1px solid #dce5dc;border-radius:12px;font-size:.9rem}
#brevo .brevo-step-done{background:#edf5ed}
#brevo .brevo-step-done strong{color:#126647}
#brevo .brevo-step-pending strong{color:#796326}
#brevo .brevo-models details{margin:1.2rem 0;padding:1rem;background:#f5f7f3;border-radius:10px}
#brevo .brevo-models summary{cursor:pointer;font-weight:600;margin-bottom:.7rem}
#brevo .brevo-models textarea{min-height:8rem;width:100%}
#brevo .brevo-model-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;align-items:end}
#brevo .brevo-model-controls label{margin:0}
#brevo .brevo-preview{margin-top:1.2rem;border:1px solid #dce5dc;border-radius:12px;padding:1rem;background:#f5f7f3;min-width:0}
#brevo .brevo-preview-toolbar{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap}
#brevo .brevo-preview-toolbar label{margin:0;min-width:180px}
#brevo .brevo-preview-viewport{overflow:auto;max-width:100%}
#brevo .brevo-preview iframe{display:block;max-width:100%;height:660px;margin:1rem auto 0;border:1px solid #d3ded3;background:#fff;border-radius:8px}
#brevo .brevo-preview iframe[hidden]{display:none}
#brevo .brevo-preview-desktop{width:680px}
#brevo .brevo-preview-mobile{width:375px}
#brevo .brevo-archive input[type=date]{max-width:260px}
@media(max-width:650px){#brevo .brevo-model-controls{grid-template-columns:1fr}}
