/* Nova bbPress SCEditor — scoped to the topic/reply forms; match the existing blue cards. */
#bbpress-forums .cls-bbp-sceditor,
.cls-bbp-sceditor{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.cls-bbp-sceditor .sceditor-container{
 width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;
 border:1px solid var(--cls-bbp-line,#ccdded)!important;border-radius:12px!important;
 background:#fff!important;box-shadow:0 2px 8px rgba(14,55,92,.04);overflow:visible;
 font-family:"Cantarell",system-ui,sans-serif;color:var(--cls-bbp-ink,#0f1a39)
}
.cls-bbp-sceditor .sceditor-container:focus-within{
 border-color:#1688e3!important;box-shadow:0 0 0 3px rgba(22,136,227,.13)
}
.cls-bbp-sceditor .sceditor-toolbar{
 display:flex!important;flex-wrap:wrap!important;align-items:center;gap:5px;
 box-sizing:border-box;max-width:100%;margin:0!important;padding:8px!important;
 border:0!important;border-bottom:1px solid var(--cls-bbp-line,#d9e8f5)!important;
 border-radius:11px 11px 0 0!important;background:#f3f9fe!important
}
.cls-bbp-sceditor .sceditor-group{
 display:inline-flex!important;align-items:center;flex-wrap:nowrap;gap:3px;
 margin:0!important;padding:3px!important;border:1px solid #d6e6f4!important;
 border-radius:9px!important;background:#fff!important;box-shadow:none!important
}
.cls-bbp-sceditor a.sceditor-button{
 display:inline-flex!important;align-items:center;justify-content:center;float:none!important;
 box-sizing:border-box!important;width:34px!important;height:32px!important;min-width:34px;
 padding:5px!important;margin:0!important;border:1px solid transparent!important;
 border-radius:7px!important;background:transparent!important;color:#245b91!important;
 text-decoration:none!important;box-shadow:none!important;opacity:1;cursor:pointer;
 transition:background .15s,border-color .15s,color .15s
}
.cls-bbp-sceditor a.sceditor-button>div{float:none!important;margin:0 auto!important}
.cls-bbp-sceditor a.sceditor-button:hover,
.cls-bbp-sceditor a.sceditor-button:focus-visible{
 background:#e6f4ff!important;border-color:#b5dcf6!important;color:#075ca8!important
}
.cls-bbp-sceditor a.sceditor-button.active,
.cls-bbp-sceditor a.sceditor-button:active{
 background:linear-gradient(180deg,#dff3ff,#cdeaff)!important;
 border-color:#79bbed!important;color:#075ca8!important;
 box-shadow:inset 0 1px 3px rgba(6,103,184,.12)!important
}
.cls-bbp-sceditor a.sceditor-button.disabled{opacity:.4!important;cursor:not-allowed}
.cls-bbp-sceditor a.sceditor-button:focus-visible{outline:2px solid #0878df!important;outline-offset:2px!important}
.cls-bbp-sceditor .sceditor-dropdown{
 border:1px solid #b9d8ed!important;border-radius:10px!important;
 background:#fff!important;color:#1b3154!important;box-shadow:0 9px 22px rgba(14,55,92,.13)!important
}
.cls-bbp-sceditor .sceditor-dropdown :is(input,select){border:1px solid #ccdded;border-radius:7px;background:#fff;color:#193452}
.cls-bbp-sceditor .sceditor-dropdown button{
 padding:7px 11px;border:1px solid #0869c5;border-radius:7px;background:#086cce;color:#fff;font-weight:700;cursor:pointer
}
.cls-bbp-sceditor .sceditor-dropdown button:hover{background:#075da9}
.cls-bbp-sceditor .sceditor-container :is(iframe,textarea){max-width:100%;box-sizing:border-box}
.cls-bbp-sceditor .sceditor-container textarea{padding:12px!important;min-height:0!important;max-height:none!important;background:#fff!important;color:#283b57!important}
/* No JS / blocked CDN: the exact same bbPress field remains usable. */
.cls-bbp-sceditor>textarea{display:block;width:100%;min-height:285px;padding:14px;border:1px solid #ccdded;border-radius:12px;background:#fff;color:#283b57;box-sizing:border-box}
@media(max-width:760px){
 .cls-bbp-sceditor .sceditor-toolbar{gap:3px;padding:6px!important}
 .cls-bbp-sceditor .sceditor-group{gap:1px;margin:1px 0!important;padding:2px!important}
 .cls-bbp-sceditor a.sceditor-button{width:32px!important;height:32px!important;min-width:32px;padding:4px!important}
}

/* Compact compatibility hint for editing existing WordPress-authored posts. */
.cls-bbp-sceditor__legacy-note{margin:7px 0 0;padding:8px 11px;border-left:3px solid #417dae;border-radius:4px;background:rgba(223,238,250,.56);color:#30516d;font-size:12px;line-height:1.45}
