/* EBM unified feedback banner v0.22.23. Intentionally self-contained so it is safe on front-end and wp-admin pages. */
.ebm-testing-banner{position:relative;z-index:99990;margin:10px 0;padding:8px 10px;border-radius:9px;background:#126ca8;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;font:600 12px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.ebm-testing-banner--floating{position:fixed;left:12px;right:12px;bottom:12px;margin:0;box-shadow:0 8px 30px rgba(15,23,42,.24)}
.ebm-testing-banner>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ebm-testing-banner strong{color:#fff}.ebm-testing-banner small{color:#fff;opacity:.92}.ebm-testing-hide{border:0;background:transparent;color:#fff;text-decoration:underline;cursor:pointer;padding:5px 3px;font:inherit}
.ebm-feedback-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 10px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172033!important;text-decoration:none!important;font:700 13px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.ebm-feedback-button:hover,.ebm-feedback-button:focus{border-color:#2271b1;box-shadow:0 0 0 3px rgba(34,113,177,.14);outline:0}.ebm-feedback-button--primary{background:#2271b1;border-color:#2271b1;color:#fff!important}.ebm-feedback-button--quiet{background:#f8fafc}
.ebm-testing-restore{position:fixed;right:12px;bottom:12px;z-index:99991;border:1px solid #126ca8;background:#fff;color:#126ca8;border-radius:999px;padding:8px 12px;box-shadow:0 4px 20px rgba(0,0,0,.18);font:700 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.ebm-testing-dialog{width:min(680px,calc(100vw - 18px));max-height:calc(100vh - 30px);border:0;border-radius:16px;padding:0;box-shadow:0 18px 60px rgba(15,23,42,.28);z-index:99999;color:#172033}.ebm-testing-dialog::backdrop{background:rgba(15,23,42,.55)}.ebm-testing-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:18px 18px 8px}.ebm-testing-dialog-head h3{margin:0 0 2px;font-size:21px}.ebm-testing-dialog-head small{color:#64748b}.ebm-feedback-eyebrow{margin:0 0 3px;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:800;color:#126ca8}
.ebm-testing-feedback-form{display:grid;gap:12px;padding:10px 18px 18px;font:400 14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ebm-testing-feedback-form label{display:grid;gap:5px;font-weight:650}.ebm-testing-feedback-form textarea,.ebm-testing-feedback-form input,.ebm-testing-feedback-form select{width:100%;max-width:100%;box-sizing:border-box;min-height:40px;border:1px solid #94a3b8;border-radius:8px;padding:8px 10px;background:#fff;color:#172033}.ebm-testing-feedback-form textarea{min-height:82px;resize:vertical}.ebm-testing-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ebm-testing-shot-tools{display:flex;gap:8px;flex-wrap:wrap}.ebm-testing-shot-preview{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px}.ebm-testing-shot-preview img{max-width:180px;max-height:120px;border-radius:8px;border:1px solid #dbe3ea}.ebm-testing-state{min-height:20px;margin:0;color:#166534}.ebm-testing-state.is-error{color:#b42318}
@media(max-width:640px){.ebm-testing-banner{align-items:flex-start}.ebm-testing-banner--floating{left:8px;right:8px;bottom:8px}.ebm-testing-banner>div:last-child{margin-left:auto}.ebm-testing-form-grid{grid-template-columns:1fr}.ebm-testing-shot-preview{grid-template-columns:1fr}.ebm-testing-dialog{max-height:calc(100dvh - 16px)}}

html.ebm-feedback-capturing .ebm-testing-dialog,html.ebm-feedback-capturing .ebm-testing-banner,html.ebm-feedback-capturing .ebm-testing-restore,html.ebm-feedback-capturing .ebms-test-banner,html.ebm-feedback-capturing .ebms-testing-banner-restore,html.ebm-feedback-capturing .ebms-testing-feedback-panel{visibility:hidden!important}


/* v0.22.26 — hidden feedback state must beat the banner flex layout. */
.ebm-testing-banner[hidden],
.ebm-testing-restore[hidden],
.ebm-testing-dialog[hidden],
.ebm-testing-shot-preview[hidden]{display:none!important}
