/* Shared Tiptap controls: preserve the site's brown cards and violet GM accents. */
[data-rich-only][hidden]{display:none!important}
.bug-editor.tiptap-ready{--editor-border:#69532c;--editor-accent:#e5bd65;position:relative;overflow:hidden;border:1px solid var(--editor-border);border-radius:5px;background:#100e09;min-width:0;max-width:100%}
.bug-editor.tiptap-ready:focus-within{border-color:var(--editor-accent);box-shadow:0 0 0 1px var(--editor-accent)}
.bug-editor.tiptap-ready .bug-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-height:40px;padding:5px 7px;border:0;border-bottom:1px solid var(--editor-border);background:#1c170f;overflow:visible}
.bug-editor.tiptap-ready .bug-editor-toolbar button{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:30px;min-width:0;padding:0;margin:0;border:1px solid transparent;border-radius:3px;background:transparent;box-shadow:none;color:#d9c6a1;font:16px/1 'Segoe UI',sans-serif;cursor:pointer;transform:none}
.bug-editor.tiptap-ready .bug-editor-toolbar button:hover,.bug-editor.tiptap-ready .bug-editor-toolbar button:focus-visible{border-color:var(--editor-border);background:#302616;color:#ffe2a1;outline:2px solid transparent;outline-offset:1px;transform:none}
.bug-editor.tiptap-ready .bug-editor-toolbar button[aria-pressed=true]{border-color:var(--editor-accent);background:#3a2b12;color:#ffe2a1}
.bug-editor.tiptap-ready .bug-editor-toolbar button:disabled{opacity:.35;cursor:default}
.bug-editor.tiptap-ready .bug-editor-toolbar>span{align-self:center;flex:0 0 1px;width:1px;height:18px;background:var(--editor-border);margin:0 3px}
.bug-editor.tiptap-ready .tiptap-host{min-width:0}
.bug-editor.tiptap-ready .tiptap-host .rich-reply{display:block;box-sizing:border-box;min-height:142px;max-height:430px;width:100%;margin:0;padding:12px 14px;overflow:auto;border:0;border-radius:0;outline:none;box-shadow:none;background:#100e09;color:#eee2cb;font:16px/1.6 'Segoe UI',Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;text-align:start}
.bug-editor.tiptap-ready .rich-reply>p{margin:0 0 .55em;padding:0;font:inherit;color:inherit}
.bug-editor.tiptap-ready .rich-reply>:last-child{margin-bottom:0}
.bug-editor.tiptap-ready .rich-reply.is-empty:before{content:attr(data-placeholder);pointer-events:none;color:#b3a58e;float:left;height:0}
.bug-editor.tiptap-ready .rich-reply[data-editor-hint].is-empty:before{font:14px/1.6 'Segoe UI',Arial,sans-serif;color:#b3a58e}
.bug-editor.tiptap-ready:has(.comment-image-progress:not([hidden])) .rich-reply.is-empty:before{content:none}
.bug-editor.tiptap-ready .rich-reply ul,.bug-editor.tiptap-ready .rich-reply ol{margin:6px 0;padding-inline-start:24px}
.bug-editor.tiptap-ready .rich-reply li{padding:0;margin:3px 0}
.bug-editor.tiptap-ready .rich-reply li p{margin:0}
.bug-editor.tiptap-ready .rich-reply blockquote{margin:8px 0;padding:4px 10px;border-inline-start:3px solid var(--editor-accent);background:#211b11;color:#e1cfae}
.bug-editor.tiptap-ready .rich-reply pre{margin:8px 0;padding:9px 11px;border:1px solid var(--editor-border);border-radius:3px;background:#090907;color:#dbdfda;white-space:pre-wrap;font:14px/1.5 Consolas,monospace}
.bug-editor.tiptap-ready .rich-reply pre code{font:inherit;color:inherit;background:none;padding:0}
.bug-editor.tiptap-ready .rich-reply a{color:#f0c771;text-decoration:underline;text-underline-offset:3px;cursor:text}
.bug-editor.tiptap-ready .rich-reply img{display:block;max-width:100%;max-height:300px;width:auto;height:auto;object-fit:contain;margin:8px 0}
.bug-editor.tiptap-ready .rich-reply .ProseMirror-selectednode{outline:2px solid var(--editor-accent)}
.bug-editor.tiptap-ready textarea.is-synced{display:none!important}
.bug-editor.tiptap-ready .comment-editor-error{margin:0;padding:8px 12px;border-top:1px solid #934f43;background:#351b17;color:#ffb8a8;font:14px/1.5 'Segoe UI',sans-serif}
.bug-editor.tiptap-ready [hidden]{display:none!important}
.bug-editor.tiptap-ready .comment-editor-link{padding:10px 12px;border-bottom:1px solid var(--editor-border);background:#221b11}
.bug-editor.tiptap-ready .comment-editor-link label{display:flex;flex-direction:column;gap:5px;margin:0;color:#ecddbf;font:14px/1.5 'Segoe UI',sans-serif}
.bug-editor.tiptap-ready .comment-editor-link input{width:100%;min-width:0;height:38px;padding:6px 9px;border:1px solid var(--editor-border);border-radius:3px;background:#100e09;color:#eee2cb;font:15px/1.4 'Segoe UI',sans-serif}
.bug-editor.tiptap-ready .comment-editor-link-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.bug-editor.tiptap-ready .comment-editor-link-actions button{min-height:34px;padding:5px 12px;border:1px solid var(--editor-border);border-radius:3px;background:#302616;color:#eedbb2;font:14px/1.4 'Segoe UI',sans-serif;transform:none}
.bug-editor.tiptap-ready .comment-editor-link small{display:block;margin-top:5px;color:#ffb8a8}
.tracker-workspace .workspace.is-private .bug-editor.tiptap-ready,.support-access .bug-editor.tiptap-ready,.bugcreate-support .bug-editor.tiptap-ready,.gm-contact .bug-editor.tiptap-ready{--editor-border:#70558f;--editor-accent:#c3a0ec}
.tracker-workspace .workspace.is-private .bug-editor.tiptap-ready .bug-editor-toolbar{background:#20172b}
.tracker-workspace .workspace.is-private .bug-editor.tiptap-ready .bug-editor-toolbar button[aria-pressed=true]{background:#3b2851;color:#eedcff}
.news-comment-form .bug-editor{margin-top:8px}
.news-comment-content blockquote{margin:8px 0;padding:4px 10px;border-inline-start:3px solid #b69245}
.news-comment-content pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 10px;background:#080706}
.news-comment-content img{max-width:100%;max-height:300px;height:auto}
.news-comment-content ul{padding-inline-start:22px}
@media(max-width:600px){.bug-editor.tiptap-ready .tiptap-host .rich-reply{min-height:126px;padding:10px 12px}.bug-editor.tiptap-ready .bug-editor-toolbar{gap:2px;padding:4px}.bug-editor.tiptap-ready .bug-editor-toolbar button{flex-basis:30px;width:30px}}

/* Replies follow the exact message column, without legacy discussion gutters. */
.tracker-workspace .detail .thread.bugdetail-discussion>form.composer{box-sizing:border-box;width:100%;min-width:0;max-width:none;margin:0;padding:0;justify-self:stretch}
.tracker-workspace .detail .thread.bugdetail-discussion>form.composer>label{margin:0 0 5px}
.tracker-workspace .detail .thread.bugdetail-discussion>form.composer>.bug-editor{box-sizing:border-box;width:100%;min-width:0;margin:0;justify-self:stretch}
.support-access .support-access-thread .support-access-reply{box-sizing:border-box;width:100%;min-width:0;max-width:none;margin:0;padding:8px 0 0}
.support-access .support-access-thread .support-access-message:has(+form.support-access-reply){margin-bottom:0}
.support-access .support-access-thread .support-access-reply>label{margin:0 0 5px;line-height:1.4}
.support-access .support-access-thread .support-access-reply>.bug-editor{box-sizing:border-box;width:100%;min-width:0;margin-inline:0}
/* Upload progress shares the editor edge and keeps player text visible. */
.bug-editor.tiptap-ready .comment-image-progress{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,.55fr);align-items:center;gap:12px;margin:0;padding:9px 12px;border-top:1px solid var(--editor-border);background:#1c170f;color:#e5cf9b;font:13px/1.4 'Segoe UI',sans-serif}
.bug-editor.tiptap-ready .comment-image-progress[hidden]{display:none}
.comment-image-progress progress{width:100%;height:8px;accent-color:#bc9b50}
.bug-editor.tiptap-ready .comment-editor-link>small{display:block;margin:0 0 8px;color:#c2b499;font:12px/1.5 'Segoe UI',sans-serif}
.bug-editor.tiptap-ready .comment-editor-link>small[hidden],.bug-editor.tiptap-ready .comment-editor-link>button[hidden]{display:none}
.bug-editor.tiptap-ready .comment-editor-link>button{margin:0 0 8px;padding:7px 11px;border:1px solid var(--editor-border);border-radius:3px;background:#302616;color:#f1d99f;font:600 13px/1.4 'Segoe UI',sans-serif;cursor:pointer}
.comment-image-link{display:inline-block;max-width:100%;vertical-align:top}
.comment-image-link img{display:block;max-width:100%;max-height:480px;width:auto;height:auto;object-fit:contain;border-radius:3px}
