.bug-dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;box-sizing:border-box;border:1px solid #71877a;border-radius:16px;padding:24px;background:#f4f7f4;color:#20382d;font:16px/1.5 system-ui,sans-serif}.bug-dialog::backdrop{background:#0009}.bug-dialog label{display:block;margin:14px 0}.bug-dialog textarea{box-sizing:border-box;width:100%;min-height:150px;font:inherit;padding:10px}.bug-dialog button{font:inherit;padding:9px 14px;border:1px solid #658570;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.bug-dialog .bug-actions{display:flex;gap:12px;flex-wrap:wrap}.bug-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.bug-dialog img{display:block;max-width:100%;max-height:180px;margin:12px 0}.bug-dialog small{display:block}.bug-dialog input{max-width:100%}.bug-dialog [hidden]{display:none!important}@media(prefers-color-scheme:dark){.bug-dialog{background:#1c3025;color:#e1ece5}.bug-dialog textarea{background:#14241b;color:#e1ece5}}

.bug-dialog button{background:#e4eee7!important;color:#173222!important}.bug-dialog button:disabled{opacity:.6}@media(prefers-color-scheme:dark){.bug-dialog button{background:#304b3b!important;color:#f2fff5!important}}html[data-theme=dark] .bug-dialog button,html[data-appearance=dark] .bug-dialog button{background:#304b3b!important;color:#f2fff5!important}

html.dark .bug-dialog{background:#1c3025;color:#e1ece5}html.dark .bug-dialog textarea{background:#14241b;color:#e1ece5}html.dark .bug-dialog button{background:#304b3b!important;color:#f2fff5!important}
