/* New-thread, reply and edit pages. */
.cid-body #ct.cid-editor-page{display:block!important;max-width:1040px;grid-template-columns:none!important}.cid-body #ct.cid-editor-page .appl,.cid-body #ct.cid-editor-page .sd{display:none!important}.cid-body #ct.cid-editor-page .mn{display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.cid-body #ct.cid-editor-page #postbox,.cid-body #ct.cid-editor-page .tedt{width:100%!important;box-sizing:border-box}.cid-body #ct.cid-editor-page .tedt textarea{box-sizing:border-box;width:100%!important;min-height:320px!important}
.cid-editor-page .tedt .bar{display:flex!important;align-items:center;flex-wrap:wrap;gap:3px;padding:6px 8px}.cid-editor-page .tedt .bar .y{float:none!important;margin-left:auto}.cid-editor-page .tedt .bar a,.cid-editor-page .tedt .bar button{display:inline-flex!important;float:none!important;align-items:center;justify-content:center;min-width:26px;height:26px;margin:0!important}.cid-editor-page .tedt .area{clear:both;width:100%!important}.cid-editor-page .tedt textarea{display:block!important;resize:vertical}
.cid-editor-page .tedt .area{margin-top:14px;padding-top:14px;border-top:1px solid #e5d8c7}.cid-editor-page .tedt textarea{min-height:340px!important}
.cid-body #ct.cid-editor-page{width:min(1040px,calc(100% - 32px));margin-top:18px;padding:30px;background:#fff;border:1px solid #e4d8c7;border-radius:14px;box-shadow:0 14px 30px rgba(62,37,19,.08)}.cid-editor-page .bm{padding:0}.cid-editor-page .bm_h{padding:0 0 17px;border-bottom:2px solid #a01818}.cid-editor-page .bm_h h1,.cid-editor-page .bm_h h2,.cid-editor-page .bm_h h3{color:#39251f;font-family:"Noto Serif SC","Microsoft YaHei",serif}.cid-editor-page #postbox{padding-top:18px}.cid-editor-page .pbt{margin:10px 0 14px}.cid-editor-page .pbt .px{width:100%;height:42px;padding:10px 13px;border-color:#d8c7b0;background:#fffdf8;font-size:16px}.cid-editor-page .tedt{border:1px solid #d8c7b0;border-radius:9px;box-shadow:none}.cid-editor-page .tedt .bar{min-height:40px;background:#f6ecda}.cid-editor-page .tedt textarea{min-height:250px;padding:14px;background:#fffdf8;font-size:15px;line-height:1.8}.cid-editor-page #seccheck{margin-top:18px}.cid-editor-page .pnpost{display:flex;align-items:center;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #e9dece}.cid-editor-page #postsubmit{padding:11px 27px;border-radius:7px;background:#a01818;color:#fff;font-size:15px}.cid-editor-page .tb{margin-bottom:18px;background:#f9f2e5;border-radius:8px}.cid-editor-page .tb a{padding:10px 14px}.cid-editor-page .tb .a a{color:#a01818}@media(max-width:720px){.cid-body #ct.cid-editor-page{width:min(100% - 22px,1040px);margin-top:12px;padding:17px;border-radius:10px}.cid-editor-page .tedt textarea{min-height:190px}.cid-editor-page .pnpost{display:block}.cid-editor-page #postsubmit{width:100%;margin-bottom:10px}}
/* Keep the legacy Discuz editor controls visually ordered without changing its JavaScript. */
.cid-editor-page .tedt .bar{position:relative!important;display:block!important;min-height:86px!important;padding:10px 12px 34px!important;border-bottom:1px solid #dfcfb9!important;background:linear-gradient(180deg,#fbf3e5,#f5e8d2)!important;box-sizing:border-box!important}.cid-editor-page .tedt .bar:after{display:block;clear:both;content:""}.cid-editor-page .tedt .bar>*,.cid-editor-page .tedt .bar #e_controls,.cid-editor-page .tedt .bar #e_button{float:left!important;margin:0 8px 7px 0!important;vertical-align:middle!important}.cid-editor-page .tedt .bar table{border-collapse:separate!important;border-spacing:3px!important}.cid-editor-page .tedt .bar a{box-sizing:border-box!important;min-width:28px!important;height:28px!important;border:1px solid #ddcbb1!important;border-radius:4px!important;background-color:#fffdf8!important}.cid-editor-page .tedt .bar a:hover{border-color:#a01818!important;background-color:#fff4e4!important}.cid-editor-page .tedt .bar #e_autosave,.cid-editor-page .tedt .bar .y{position:absolute!important;right:12px!important;bottom:8px!important;left:auto!important;float:none!important;margin:0!important;color:#8a7866!important;font-size:13px!important;line-height:18px!important}.cid-editor-page .tedt .bar #e_autosave a{display:inline!important;width:auto!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;color:#9e1d17!important}.cid-editor-page .tedt .area{margin:0!important;padding:0!important;border:0!important;background:#fffdf8!important}.cid-editor-page .tedt .area textarea{min-height:360px!important;padding:18px!important;border:0!important;box-shadow:none!important}.cid-editor-page .tedt .area+.pbt,.cid-editor-page .tedt+.pbt{margin-top:16px!important}
/* Discuz X5 uses .edt / #e_controls, rather than the newer .tedt markup. */
.cid-editor-page .edt{overflow:hidden!important;border:1px solid #d8c7b0!important;border-radius:10px!important;background:#fffdf8!important;box-shadow:0 6px 16px rgba(62,37,19,.05)!important}.cid-editor-page #e_controls.bar{position:relative!important;float:none!important;display:block!important;min-height:82px!important;height:auto!important;padding:11px 14px 12px!important;border:0!important;border-bottom:1px solid #e2d1ba!important;background:linear-gradient(180deg,#fcf5e9 0%,#f4e7d1 100%)!important;box-sizing:border-box!important}.cid-editor-page #e_controls.bar:after{display:block!important;clear:both!important;content:""}.cid-editor-page #e_controls>.y{position:absolute!important;top:11px!important;right:14px!important;float:none!important;margin:0!important}.cid-editor-page #e_controls>.y .z{float:none!important}.cid-editor-page #e_controls>.y .b2r{display:none!important}.cid-editor-page #e_button.btn{display:flex!important;float:none!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0!important;padding:0 150px 0 0!important}.cid-editor-page #e_button.btn>div{display:flex!important;float:none!important;align-items:center!important;gap:2px!important;margin:0!important;padding:1px 8px 1px 0!important;border:0!important;border-right:1px solid #ddcbb5!important;background:none!important}.cid-editor-page #e_button.btn>div:last-child{border-right:0!important}.cid-editor-page #e_button.btn p{display:flex!important;float:none!important;margin:0!important;padding:0!important}.cid-editor-page #e_button.btn br{display:none!important}.cid-editor-page #e_button.btn a{float:none!important;display:inline-block!important;margin:0!important;border:1px solid transparent!important;border-radius:5px!important}.cid-editor-page #e_button.btn a:hover{border-color:#be8c65!important;background-color:#fffaf0!important}.cid-editor-page #e_controls #e_fullswitcher,.cid-editor-page #e_controls #e_simple{float:none!important;margin-left:6px!important;border-radius:5px!important}.cid-editor-page #e_controls #e_switcher{margin:0 0 0 8px!important;color:#796957!important}.cid-editor-page #rstnotice{clear:both!important;margin:12px 0!important;padding:10px 13px!important;border:1px solid #ead1a6!important;border-radius:7px!important;background:#fff7e7!important;color:#76531d!important;line-height:1.55!important}.cid-editor-page #rstnotice .d{float:right!important}.cid-editor-page .edt .area{clear:both!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important}.cid-editor-page .edt .area textarea{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:370px!important;margin:0!important;padding:20px!important;border:0!important;border-radius:0!important;background:#fff!important;color:#302a25!important;font:16px/1.85 "Microsoft YaHei",Arial,sans-serif!important;outline:0!important;resize:vertical!important}.cid-editor-page #e_bbar{box-sizing:border-box!important;min-height:38px!important;margin:0!important;padding:10px 14px!important;border-top:1px solid #eadfce!important;background:#fbf5eb!important;color:#8a7866!important;text-align:right!important;font-size:13px!important}.cid-editor-page #e_bbar a{color:#9e1d17!important}.cid-editor-page #e_bbar img{vertical-align:middle!important}@media(max-width:720px){.cid-editor-page #e_controls.bar{min-height:116px!important;padding:10px!important}.cid-editor-page #e_controls>.y{position:static!important;margin:8px 0 0!important}.cid-editor-page #e_button.btn{padding:0!important;gap:4px!important}.cid-editor-page #e_button.btn>div{padding-right:5px!important}.cid-editor-page .edt .area textarea{min-height:240px!important;padding:14px!important}}
