.rcrp-bug-report{font-family:var(--rcrp-font-sans,system-ui,sans-serif);color:var(--rcrp-color-text,#16334b)}
.rcrp-bug-trigger{margin:12px;min-height:44px}
.rcrp-bug-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:clamp(12px,3vw,28px);background:var(--rcrp-color-surface,#fff);color:var(--rcrp-color-text,#16334b);border:1px solid var(--rcrp-color-border,#b7c8d6);border-radius:16px;overflow-wrap:anywhere}
.rcrp-bug-dialog:not([open]):not(.is-open){display:none}
.rcrp-bug-dialog header,.rcrp-bug-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.rcrp-bug-dialog h2{margin:0;font-size:1.5rem}.rcrp-bug-dialog p{line-height:1.55}
.rcrp-bug-dialog form{display:grid;gap:16px;min-width:0}.rcrp-bug-dialog label{display:grid;gap:6px;min-width:0;line-height:1.5}
.rcrp-bug-dialog textarea,.rcrp-bug-dialog input[type=number]{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:10px;border:1px solid var(--rcrp-color-border,#8096a9);border-radius:8px;background:var(--rcrp-color-surface,#fff);color:inherit;font:inherit}
.rcrp-bug-dialog button,.rcrp-bug-dialog summary{font:inherit;min-height:44px;padding:10px 14px;cursor:pointer;white-space:normal}
.rcrp-bug-dialog button{background:var(--rcrp-color-surface,#fff);color:inherit;border:1px solid var(--rcrp-color-border,#8096a9);border-radius:8px}
.rcrp-bug-dialog button:hover{background:var(--rcrp-color-surface-subtle,#eaf3f8)}.rcrp-bug-dialog button:disabled{cursor:not-allowed;opacity:.65}
.rcrp-bug-dialog :focus-visible{outline:3px solid var(--rcrp-focus-color,#007dad);outline-offset:2px}
.rcrp-bug-dialog fieldset{min-width:0;padding:12px;border:1px solid var(--rcrp-color-border,#b7c8d6);border-radius:10px}
.rcrp-bug-file{min-width:0;max-width:100%}.rcrp-bug-file input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;font:inherit}
.rcrp-bug-dialog canvas,.rcrp-bug-dialog img{display:block;max-width:100%;height:auto;margin:12px auto;box-sizing:border-box;border:1px solid var(--rcrp-color-border,#8096a9)}
.rcrp-bug-dialog canvas{touch-action:none;cursor:crosshair}.rcrp-bug-dialog [hidden]{display:none!important}
.rcrp-bug-coordinates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.rcrp-bug-dialog .rcrp-bug-check{display:flex;align-items:flex-start;gap:10px}.rcrp-bug-check input{min-width:24px;min-height:24px;margin:10px 0}
.rcrp-bug-dialog [data-rcrp-bug-review]{border-top:2px solid var(--rcrp-color-border,#b7c8d6);padding-top:12px}.rcrp-bug-dialog [data-rcrp-bug-preview-text]{white-space:pre-wrap}
.rcrp-bug-dialog [role=status]:not(:empty){padding:12px;border-left:4px solid var(--rcrp-color-focus,#007dad)}
@media(max-width:620px){.rcrp-bug-coordinates{grid-template-columns:repeat(2,minmax(0,1fr))}.rcrp-bug-actions{align-items:stretch}.rcrp-bug-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){.rcrp-bug-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
