/* Scoped editor accessory: does not change legacy editor layouts or submit controls. */
.wck-draft-bar { box-sizing:border-box; display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; width:100%; margin:10px 0; padding:12px 14px; border:1px solid #4b4550; border-left:3px solid #cf4159; border-radius:8px; background:#191b23; color:#edf0f5; font:13px/1.5 Arial,sans-serif; text-align:left; }
.wck-draft-bar .wck-draft-copy { flex:1 1 260px; min-width:0; }
.wck-draft-bar strong { display:block; color:#fff; font-size:13px; }
.wck-draft-bar .wck-draft-status { display:block; color:#d1d4df; overflow-wrap:anywhere; }
.wck-draft-bar .wck-draft-note { display:block; color:#b9bdca; font-size:12px; }
.wck-draft-bar .wck-draft-actions { display:flex; flex-wrap:wrap; gap:8px; }
.wck-draft-bar button { appearance:none; box-sizing:border-box; min-height:36px; padding:8px 12px; margin:0; border:1px solid #ad5868; border-radius:6px; background:#39242b; color:#fff; font:600 12px/1.3 Arial,sans-serif; cursor:pointer; white-space:normal; }
.wck-draft-bar button:hover { background:#592b37; }
.wck-draft-bar button:focus-visible { outline:3px solid #ffb8c4; outline-offset:3px; }
.wck-draft-bar button:disabled { opacity:.55; cursor:default; }
.wck-draft-bar [hidden] { display:none !important; }
@media(max-width:600px) { .wck-draft-bar { padding:12px; } .wck-draft-bar .wck-draft-actions { width:100%; } .wck-draft-bar button { min-height:44px; flex:1 1 auto; } }
/* Legacy full-post forms otherwise retain an intrinsic 640px panel inside a clipped table. */
@media(max-width:700px) {
    form.wck-draft-full > table.tborder { display:table !important; table-layout:fixed !important; width:100% !important; max-width:100% !important; }
    form.wck-draft-full > table.tborder > tbody > tr > td { box-sizing:border-box; white-space:normal !important; overflow-wrap:anywhere; }
    form.wck-draft-full .panelsurround { padding:8px !important; }
    form.wck-draft-full .panel { box-sizing:border-box; width:100% !important; min-width:0; padding:8px !important; }
    form.wck-draft-full .panel > div[style*="width"] { box-sizing:border-box; width:100% !important; max-width:100% !important; }
    form.wck-draft-full .wck-draft-title-table,
    form.wck-draft-full .wck-draft-title-table > tbody,
    form.wck-draft-full .wck-draft-title-table > tbody > tr,
    form.wck-draft-full .wck-draft-title-table > tbody > tr > td,
    form.wck-draft-full .wck-draft-editor-table,
    form.wck-draft-full .wck-draft-editor-table > tbody,
    form.wck-draft-full .wck-draft-editor-table > tbody > tr,
    form.wck-draft-full .wck-draft-editor-table > tbody > tr > td,
    form.wck-draft-full .vBulletin_editor > table,
    form.wck-draft-full .vBulletin_editor > table > tbody,
    form.wck-draft-full .vBulletin_editor > table > tbody > tr,
    form.wck-draft-full .vBulletin_editor > table > tbody > tr > td {
        display:block !important; box-sizing:border-box; width:100% !important; max-width:100% !important; min-width:0 !important;
    }
    form.wck-draft-full .wck-draft-title-table td { overflow-wrap:normal; padding:4px 0 !important; }
    form.wck-draft-full .vBulletin_editor .controlbar { box-sizing:border-box; width:100% !important; }
    form.wck-draft-full .vBulletin_editor .controlbar > table,
    form.wck-draft-full .vBulletin_editor .controlbar > table > tbody { display:block !important; width:100% !important; }
    form.wck-draft-full .vBulletin_editor .controlbar > table > tbody > tr { display:flex !important; flex-wrap:wrap !important; width:100% !important; }
    form.wck-draft-full .vBulletin_editor .controlbar > table > tbody > tr > td { display:block !important; width:auto !important; }
    form.wck-draft-full .vBulletin_editor textarea,
    form.wck-draft-full .vBulletin_editor iframe { box-sizing:border-box !important; width:100% !important; max-width:100% !important; min-width:0 !important; }
}
