.topbar .bug-report-trigger{flex:none;margin-left:0;color:#655bb2;background:#f5f3ff;border:1px solid #ddd8f1;width:48px;height:48px;min-width:48px;border-radius:14px}
.bug-report-trigger:hover{background:#eae6fc;color:#4f43ad;border-color:#beb3e8}
.bug-report-trigger[aria-busy=true]{opacity:.5;cursor:progress}
.topbar .breadcrumb{min-width:0}
.topbar:has(.bug-report-trigger) .workspace-label{display:none}
.topbar:has(.bug-report-trigger) .breadcrumb{margin-right:auto;overflow:hidden}
.topbar:has(.bug-report-trigger) .breadcrumb strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bug-report-dialog-trigger{width:48px;min-width:48px;height:48px;flex:none;margin-left:auto;color:#6a61ab}
.dialog-header:has(.bug-report-dialog-trigger),.import-dialog-heading:has(.bug-report-dialog-trigger){gap:12px}
.bug-report-dialog-tray{display:flex;justify-content:flex-end;padding:0 var(--layout-panel-inset) var(--layout-panel-inset)}
.bug-report-composer{width:min(860px,calc(100vw - 32px));border-radius:22px;overflow:hidden;max-height:calc(100dvh - 32px)}
.bug-report-form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.bug-report-heading{display:flex;align-items:center;gap:16px;padding:24px;background:#edf0f8;border-bottom:1px solid var(--border);flex:none}
.bug-report-heading>div{min-width:0;flex:1}.bug-report-heading h2{font-size:22px;line-height:1.35;margin-top:4px;letter-spacing:-.035em}
.bug-report-eyebrow{font-size:11px;font-weight:750;letter-spacing:.09em;color:#6a6192}
.bug-report-body{padding:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.bug-report-context,.bug-report-body>.form-error{grid-column:1/-1}.bug-report-body>.field,.bug-report-hint{grid-column:2}.bug-report-preview{grid-column:1;grid-row:2/span 2;align-self:start}.bug-report-body>.field textarea{min-height:150px}
.bug-report-context{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.bug-report-context span{overflow-wrap:anywhere}
.bug-report-preview{margin:0;border:1px solid #d8dfeb;border-radius:16px;background:#f5f7fb;overflow:hidden}
.bug-report-preview img{width:100%;height:auto;max-height:310px;display:block;object-fit:contain;background:#e8edf5}
.bug-report-preview figcaption{padding:10px 16px;font-size:12px;color:var(--muted);border-top:1px solid #d8dfeb}
.bug-report-body textarea{min-height:100px;font-size:14px;line-height:1.6}
.bug-report-hint{font-size:12px;color:var(--muted);line-height:1.6}
.bug-report-actions{display:flex;justify-content:flex-end;gap:12px;padding:20px 24px;border-top:1px solid var(--border);background:#f2f4f9;flex:none}
.bug-report-actions .button{min-height:48px}.bug-report-success{display:grid;justify-items:center;text-align:center;gap:20px;padding:40px 24px}.bug-report-success>span{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:#e8f5ed;color:#34805b}.bug-report-success h2{font-size:24px}.bug-report-success p{font-size:14px;color:var(--muted);max-width:360px}.bug-report-success>.button{margin-top:8px}
@media(max-width:600px){.topbar{gap:8px}.topbar .bug-report-trigger{width:48px;min-width:48px;height:48px;border-radius:12px}.topbar .breadcrumb{font-size:12px}.topbar:has(.bug-report-trigger) .breadcrumb>span,.topbar:has(.bug-report-trigger) .breadcrumb>svg{display:none}.bug-report-composer{border-radius:20px}.bug-report-heading,.bug-report-body{padding:16px}.bug-report-heading h2{font-size:20px}.bug-report-body{display:flex;flex-direction:column;gap:16px}.bug-report-body>*{flex-shrink:0}.bug-report-body>.field textarea{min-height:100px}.bug-report-actions{padding:16px;gap:12px;flex-wrap:wrap}.bug-report-actions>.button{flex:1}.bug-report-preview img{max-height:180px}.bug-report-dialog-trigger{width:48px;min-width:48px;height:48px}.dialog-header:has(.bug-report-dialog-trigger),.import-dialog-heading:has(.bug-report-dialog-trigger){gap:8px}}
