/* REPORT-01: the bug report window in DUSKBOUND's theme (ui.css tokens), like the settings window: its dark grey
   sheet colours but solid, cream text, cream picks with espresso letters and a diamond, slanted main button, no outlines. Prefix rp- */
.window.rp-win{width:min(calc(var(--u) * 640),100%);background:#10141d;border:0;      /* solid: the settings window is behind it */
  border-radius:calc(var(--u) * 22);box-shadow:0 22px 60px rgba(0,0,0,.5);color:var(--hd-cream)}
.window.rp-win>header{border-bottom:0}
.window.rp-win>header h2{color:var(--hd-cream);font-family:Mitr,sans-serif}
.window.rp-win>header .x{background:rgba(246,231,200,.12);color:var(--hd-cream);border-radius:50%}
.window.rp-win>header .x:hover{background:var(--hd-cream);color:var(--hd-cocoa)}
.rp{display:flex;flex-direction:column;gap:calc(var(--u) * 10);font-size:max(18px,calc(var(--u) * 18))}
.rp-cats{display:flex;flex-wrap:wrap;gap:8px}
.rp-cat{flex:1 1 auto;min-height:48px;padding:0 16px;border:0;border-radius:12px;background:rgba(246,231,200,.12);color:var(--hd-cream);font:500 1em Mitr,sans-serif;cursor:pointer}
.rp-cat[aria-pressed="true"]{background:var(--hd-cream);color:var(--hd-cocoa)}
.rp-cat[aria-pressed="true"]::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;background:var(--hd-orange);clip-path:var(--hd-dia)}
.rp-label{color:var(--hd-sun);font-family:Mitr,sans-serif}
.rp textarea{width:100%;box-sizing:border-box;min-height:120px;resize:vertical;padding:12px 14px;border:0;border-radius:14px;background:var(--hd-cream);color:var(--hd-cocoa);font:1em/1.5 Kanit,sans-serif}
.rp textarea::placeholder{color:#8a6f52}
.rp-msg{min-height:1.4em;color:#ffb0a0}
.rp-msg:empty{min-height:0}
.rp-check{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.rp-check input{width:24px;height:24px;accent-color:var(--hd-honey);flex:none}
.rp-note{line-height:1.5;color:rgba(246,231,200,.72)}
.rp-lead{font-family:Mitr,sans-serif;line-height:1.55}
.rp-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.rp-btn{min-height:max(48px,calc(var(--u) * 48));padding:0 calc(var(--u) * 28);border:0;background:var(--hd-cream);color:var(--hd-cocoa);font:600 1em Mitr,sans-serif;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);cursor:pointer}
.rp-btn.rp-main{background:var(--hd-honey)}
.rp-btn:hover{filter:brightness(1.07)}
.window.rp-win button:focus-visible,.rp textarea:focus-visible,.rp input:focus-visible{outline:3px solid var(--hd-sun);outline-offset:-3px}
.rp textarea:focus-visible{outline-offset:2px}
