.kpulse-report-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.kpulse-report-button{font:inherit;font-size:12px;line-height:1.35;min-height:36px;padding:6px 10px;border:1px solid #94a3b8;border-radius:8px;background:transparent;color:inherit;cursor:pointer;text-align:left}
.kpulse-report-button:hover{background:rgba(128,128,128,.12)}
.kpulse-report-button:focus-visible,.kpulse-report-dialog :focus-visible{outline:3px solid #d97706;outline-offset:3px}
.kpulse-report-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #94a3b8;border-radius:16px;padding:22px;background:#fff;color:#172033;box-shadow:0 20px 80px #0005}
.kpulse-report-dialog::backdrop{background:#0f172a99}
.kpulse-report-dialog form{display:grid;gap:16px;margin:0}.kpulse-report-dialog header,.kpulse-report-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.kpulse-report-dialog h2,.kpulse-report-dialog p{margin:0}.kpulse-report-dialog h2{font-size:20px}.kpulse-report-dialog p,.kpulse-report-dialog small{line-height:1.5}.kpulse-report-dialog label{display:grid;gap:8px}.kpulse-report-dialog select,.kpulse-report-dialog textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #64748b;border-radius:8px;background:inherit;color:inherit;font:inherit}.kpulse-report-dialog textarea{resize:vertical}.kpulse-report-dialog button{font:inherit;border:1px solid #64748b;border-radius:8px;min-height:44px;padding:8px 12px;background:#f1f5f9;color:#172033;cursor:pointer}.kpulse-report-dialog button[type=submit]{background:#172033;color:#fff}.kpulse-report-dialog button:disabled{opacity:.65;cursor:wait}.kpulse-report-dialog [hidden]{display:none!important}
@media(prefers-color-scheme:dark){.kpulse-report-dialog{background:#172033;color:#f8fafc}.kpulse-report-dialog button{background:#334155;color:#f8fafc}.kpulse-report-dialog button[type=submit]{background:#f8fafc;color:#172033}}
@media(max-width:420px){.kpulse-report-dialog{padding:16px}.kpulse-report-dialog footer{flex-wrap:wrap}.kpulse-report-actions{flex-direction:column;align-items:flex-start}}

@media(max-width:640px){.kpulse-report-button{min-height:44px;padding:10px 12px}}

/* Keep native select menus readable in both OS color schemes. */
.kpulse-report-dialog{color-scheme:light}
.kpulse-report-dialog select,.kpulse-report-dialog textarea,.kpulse-report-dialog option{background:#fff;color:#172033;color-scheme:light}
@media(prefers-color-scheme:dark){.kpulse-report-dialog{color-scheme:dark}.kpulse-report-dialog select,.kpulse-report-dialog textarea,.kpulse-report-dialog option{background:#172033;color:#f8fafc;color-scheme:dark}}
