/* NEMAZING Forum V403 — clean visual editor */
.nmf403-wysiwyg{--v403-accent:#6d5cff;--v403-accent-soft:#f2efff;--v403-line:#e4e8f1;--v403-text:#242b3a;--v403-muted:#8c95a8;position:relative}
.nmf403-wysiwyg>.editor-toolbar,.nmf403-wysiwyg>.nmf165-toolbar{display:none!important}
.nmf403-source{display:none!important}
.nmf403-editor-shell{border:1px solid var(--v403-line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 26px rgba(31,41,65,.04)}
.nmf403-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 10px;border-bottom:1px solid var(--v403-line);background:#fafbfe;position:relative}
.nmf403-toolbar-group{display:flex;align-items:center;gap:5px;padding-right:7px;margin-right:2px;border-right:1px solid #e8ebf3}
.nmf403-toolbar-group:last-child{border-right:0;padding-right:0;margin-right:0}
.nmf403-tool{appearance:none;border:1px solid #dfe4ef;background:#fff;color:#4f596f;min-width:34px;height:34px;padding:0 9px;border-radius:9px;font:700 12px/1 inherit;display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:.15s ease;white-space:nowrap}
.nmf403-tool:hover{border-color:#cfc7ff;background:#f7f5ff;color:var(--v403-accent)}
.nmf403-tool.is-active{background:var(--v403-accent-soft);border-color:#cfc7ff;color:var(--v403-accent)}
.nmf403-tool svg{width:15px;height:15px;display:block;stroke:currentColor;fill:none;stroke-width:1.9}
.nmf403-color-wrap{position:relative;display:flex;align-items:center}
.nmf403-color-button i{display:block;width:15px;height:3px;border-radius:3px;background:#6d5cff;margin-top:2px}
.nmf403-palette{position:absolute;z-index:60;top:41px;left:0;width:196px;padding:10px;background:#fff;border:1px solid var(--v403-line);border-radius:13px;box-shadow:0 18px 50px rgba(26,33,52,.14);display:none;grid-template-columns:repeat(6,1fr);gap:7px}
.nmf403-palette.is-open{display:grid}
.nmf403-swatch{width:23px;height:23px;border-radius:7px;border:2px solid #fff;box-shadow:0 0 0 1px #dfe3ec;cursor:pointer;padding:0}
.nmf403-swatch:hover{transform:scale(1.08)}
.nmf403-color-custom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #eef0f5;padding-top:9px;margin-top:2px;font-size:11px;color:#6e778c}
.nmf403-color-custom input{width:42px;height:28px;border:0;background:transparent;padding:0;cursor:pointer}
.nmf403-editable{min-height:210px;max-height:520px;overflow:auto;padding:16px 17px;color:var(--v403-text);font-size:14px;line-height:1.62;outline:0;word-break:break-word}
.nmf403-editable:empty:before{content:attr(data-placeholder);color:#a0a8b9;pointer-events:none}
.nmf403-editable p{margin:0 0 10px}.nmf403-editable p:last-child{margin-bottom:0}
.nmf403-editable h2{font-size:20px;line-height:1.3;margin:14px 0 8px}.nmf403-editable h3{font-size:17px;line-height:1.35;margin:12px 0 7px}
.nmf403-editable blockquote{margin:10px 0;padding:10px 13px;border-left:3px solid var(--v403-accent);background:#f7f5ff;border-radius:0 10px 10px 0;color:#4b5264}
.nmf403-editable pre{background:#171a21;color:#f1f3f7;padding:12px 14px;border-radius:10px;white-space:pre-wrap}
.nmf403-editable a{color:var(--v403-accent);text-decoration:underline}.nmf403-editable img{display:block;max-width:min(100%,760px);max-height:440px;object-fit:contain;margin:12px auto;border-radius:12px;border:1px solid #e4e7ef;background:#f7f8fb}
.nmf403-editor-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #eef0f5;background:#fff;color:#99a1b2;font-size:11px}
.nmf403-status{display:inline-flex;align-items:center;gap:6px}.nmf403-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#2eb67d}
.nmf403-counter{font-variant-numeric:tabular-nums}
.nmf403-insert-upload{margin-left:8px!important;min-height:30px!important;height:30px!important;padding:0 10px!important;border-radius:8px!important;font-size:11px!important}
.nmf403-reply-redesign.reply-card{border:1px solid #e3e7f0!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 12px 38px rgba(28,39,68,.055)!important}
.nmf403-reply-redesign.reply-card>header{padding:15px 18px!important;border-bottom:1px solid #eaedf4!important;background:#fff!important;align-items:center!important}
.nmf403-reply-redesign.reply-card>header .eyebrow{font-size:10px!important;letter-spacing:.13em!important;color:#7464f5!important;font-weight:900!important}
.nmf403-reply-redesign.reply-card>header h2{font-size:18px!important;margin:4px 0 0!important}
.nmf403-reply-redesign .nmf165-draft-status{font-size:11px!important;padding:6px 10px!important;background:#f8f9fc!important}
.nmf403-reply-redesign form{padding:16px 18px 17px!important}
.nmf403-reply-redesign .nmf165-dropzone{margin-top:12px!important;padding:11px 13px!important;border-radius:13px!important;min-height:60px!important;background:#fafbfe!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.nmf403-reply-redesign .nmf165-dropzone b{font-size:12px!important}.nmf403-reply-redesign .nmf165-dropzone span{font-size:10px!important;margin-top:2px!important}
.nmf403-reply-redesign .compose-footer{margin-top:12px!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
.nmf403-reply-redesign .compose-footer>span{font-size:10px!important;color:#9ba3b2!important}.nmf403-reply-redesign .compose-footer .btn.primary{min-height:42px!important;padding:0 19px!important;border-radius:12px!important}
.nmf403-rich-image{display:block;max-width:min(100%,900px);max-height:620px;object-fit:contain;margin:14px auto;border-radius:14px;border:1px solid #e3e7ef;background:#f8f9fb}
.nmf403-align-center{text-align:center}.nmf403-align-right{text-align:right}
.nmf403-rich-size{line-height:1.5}
@media(max-width:760px){.nmf403-toolbar{gap:5px;padding:8px}.nmf403-toolbar-group{border-right:0;padding-right:0}.nmf403-tool{height:32px;min-width:32px;padding:0 8px}.nmf403-editable{min-height:180px;padding:14px}.nmf403-reply-redesign form{padding:12px!important}.nmf403-reply-redesign .nmf165-dropzone{align-items:stretch!important;flex-direction:column!important}.nmf403-reply-redesign .compose-footer{gap:10px}.nmf403-reply-redesign .compose-footer .btn.primary{width:100%}.nmf403-reply-redesign .compose-footer>span{display:none}}
