/* R102: public editor and thread controls share the selected theme palette. */
html[data-layout] body.fx-r98{--fxc-bg:var(--fx98-panel);--fxc-bg-soft:var(--fx98-soft);--fxc-line:var(--fx98-line);--fxc-text:var(--fx98-text);--fxc-muted:var(--fx98-muted);--fxc-accent:var(--fx98-link);--fxc-hover:var(--fx98-tint)}
html[data-layout] body.fx-r98 #content :is(.forumx-quill-frame,.forumx-quill-editor,.ql-container.ql-snow,.ql-editor,.forumx-quill-fallback){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content :is(.forumx-quill-toolbar.ql-toolbar.ql-snow,.forumx-quill-status,.forumx-quill-menu,.forumx-quill-popover,.forumx-quill-load-error,.fxr-quote-preview,.fxr-file-chip,.fxr-more-popover,.fxr-preview-panel){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content .forumx-quill-toolbar :is(button,.ql-picker){color:var(--fx98-text)!important;opacity:1}
html[data-layout] body.fx-r98 #content .forumx-quill-toolbar :is(button,.ql-picker):hover,html[data-layout] body.fx-r98 #content .forumx-quill-toolbar :is(button.ql-active,button[aria-expanded="true"]){background:var(--fx98-tint)!important;color:var(--fx98-link)!important}
html[data-layout] body.fx-r98 #content .forumx-quill-toolbar .ql-stroke{stroke:currentColor!important}
html[data-layout] body.fx-r98 #content .forumx-quill-toolbar .ql-fill{fill:currentColor!important}
html[data-layout] body.fx-r98 #content .forumx-quill-toolbar .ql-formats{border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content .ql-editor.ql-blank::before,html[data-layout] body.fx-r98 #content textarea::placeholder{color:var(--fx98-muted)!important;opacity:1!important}
html[data-layout] body.fx-r98 #content .forumx-quill-status :is(span,small,strong),html[data-layout] body.fx-r98 #content :is(.editor-help,.fxr-draft-state,.fxr-file-button small,.fxr-file-chip small){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.fxr-collapse,.fxr-file-button,.fxr-more-button,.fxr-quote-preview>button,.fxr-file-chip>button,.forumx-mod-toggle,.forumx-mod-dialog-close){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content :is(.fxr-file-button,.fxr-collapse,.fxr-more-button,.forumx-mod-toggle) :is(span,strong,small){color:inherit!important}
html[data-layout] body.fx-r98 #content .fxr-actions .fxr-action{background:var(--fx100-button)!important;color:var(--fx100-button-text)!important;border-color:var(--fx100-button)!important}
html[data-layout] body.fx-r98 #content .fxr-actions .fxr-action :is(span,strong,svg){color:inherit!important}
html[data-layout] body.fx-r98 #content .fxr-actions .fxr-preview{background:var(--fx98-soft)!important;color:var(--fx98-link)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content :is(.fx-poll-button,.fx-poll-vote){background:var(--fx100-button)!important;color:var(--fx100-button-text)!important}
html[data-layout] body.fx-r98 #content :is(.fx-poll-button,.fx-poll-vote) :is(span,strong,svg){color:inherit!important}
html[data-layout] body.fx-r98 #content :is(.fx-poll,.forumx-mod-tools,.forumx-premium-reply) .forumx-icon{color:inherit!important}
html[data-layout] body.fx-r98 #content :is(.forumx-mod-content,.forumx-mod-dialog,.forumx-mod-dialog-body){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-mod-status,.forumx-mod-summary,.forumx-mod-danger-zone){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-mod-heading-copy,.forumx-mod-summary,.forumx-mod-dialog) :is(p,small){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.fxr-more-popover,.forumx-quill-popover,.forumx-quill-menu) :is(button,span,strong,p,small){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content :is(.fxr-actions,.fx-poll-foot-actions,.forumx-quill-toolbar) button:disabled{opacity:.65!important;cursor:not-allowed}
html[data-layout] body.fx-r98 #content :is(.fxr-actions button,.forumx-quill-toolbar button,.fxr-collapse,.forumx-mod-toggle):focus-visible{outline:2px solid var(--fx98-link)!important;outline-offset:2px}
html[data-layout] body.fx-r98 #content .ql-editor{min-height:145px!important;overflow-wrap:anywhere}
html[data-layout] body.fx-r98 :is(.forumx-xf-popover,.forumx-xf-input-dialog,.forumx-xf-preview){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 :is(.forumx-xf-popover,.forumx-xf-input-dialog,.forumx-xf-preview) :is(button,span,strong,label,h2,h3,p,small){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 .forumx-xf-popover :is(button:hover,.forumx-xf-menu-heading){background:var(--fx98-soft)!important;color:var(--fx98-link)!important}
html[data-layout] body.fx-r98 #content .fx-poll-foot-actions .button svg{color:inherit!important}
html[data-layout] body.fx-r98 #content .fxp-action-primary,html[data-layout] body.fx-r98 #content .fxp-action-primary :is(span,svg){color:var(--fx98-link)!important}
html[data-layout] body.fx-r98 #content :is(.fxp-liked-by,.fxp-liked-by span,.eyebrow>span){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .fxp-reaction-picker,html[data-layout] body.fx-r98 #content .fxp-reaction-picker button{background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content .fxp-reaction-picker button:is(:hover,.is-selected){background:var(--fx98-tint)!important}
html[data-layout] body.fx-r98 #content .fxr-footer .fxr-actions button.fxr-preview{background:var(--fx98-soft)!important;color:var(--fx98-link)!important;border-color:var(--fx98-line)!important}
