.rg-problem-report,.rg-problem-report *{box-sizing:border-box}
.rg-problem-report{position:relative;z-index:950;font-family:var(--rg-button-font,system-ui,sans-serif);color:var(--rg-refined-ink,#302d29)}
.rg-problem-report button,.rg-problem-report textarea{font:inherit}
.rg-problem-report button{cursor:pointer}
.rg-problem-report__launch{position:fixed;right:84px;bottom:18px;display:flex;align-items:center;justify-content:center;gap:9px;height:42px;padding:0 17px;border:1px solid var(--rg-refined-line,#e2ddd5);border-radius:var(--rg-button-radius,14px);background:var(--rg-button-white-background,#fff);box-shadow:var(--rg-glass-shadow,0 10px 30px rgba(11,15,26,.075));color:var(--rg-refined-ink,#302d29);font-size:13px!important;font-weight:500!important;white-space:nowrap;max-width:calc(100vw - 110px)}
.rg-problem-report__launch svg{width:19px;height:19px;flex-shrink:0}
.rg-problem-report__launch:hover{border-color:var(--theme)}
.rg-problem-report__launch:focus-visible,.rg-problem-report__panel button:focus-visible{outline:2px solid var(--theme);outline-offset:3px}
.rg-problem-report__shade{position:fixed;inset:0;background:transparent}
.rg-problem-report__panel{position:fixed;right:24px;bottom:78px;width:min(380px,calc(100vw - 24px));max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow:auto;padding:22px;border:1px solid var(--rg-refined-line,#e2ddd5);border-radius:20px;background:var(--rg-surface,#fff);box-shadow:var(--rg-button-white-shadow,0 16px 34px rgba(11,15,26,.1));text-align:left}
.rg-problem-report [hidden]{display:none!important}
.rg-problem-report--open .rg-problem-report__launch{visibility:hidden}
.rg-problem-report__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}
.rg-problem-report .rg-problem-report__title{padding:0;margin:0;color:var(--rg-refined-ink,#302d29);font-size:19px;font-weight:650;line-height:1.3;text-transform:none}
.rg-problem-report__close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--rg-refined-bg,#faf9f7);color:var(--rg-muted,#72756f)}
.rg-problem-report__close svg{width:18px;height:18px}
.rg-problem-report .rg-problem-report__intro{margin:0 0 18px;padding:0;font-size:13px;line-height:1.5;color:var(--rg-muted,#72756f)}
.rg-problem-report__label{display:block;margin:0 0 8px;font-size:13px;font-weight:600}
.rg-problem-report .rg-problem-report__comment{display:block;width:100%;min-height:126px;resize:vertical;padding:12px 13px;border:1px solid var(--rg-refined-line,#e2ddd5);border-radius:12px;background:var(--rg-refined-bg,#faf9f7);color:var(--rg-refined-ink,#302d29);font-size:16px;line-height:1.45;box-shadow:none}
.rg-problem-report__comment:focus{outline:2px solid var(--newui-accent-soft,rgba(236,72,47,.12));border-color:var(--theme)}
.rg-problem-report__context{display:flex;align-items:flex-start;gap:8px;margin:14px 0 18px;font-size:12px;line-height:1.5;color:var(--rg-muted,#72756f)}
.rg-problem-report__context svg{width:16px;height:16px;margin-top:1px;flex-shrink:0;color:var(--theme)}
.rg-problem-report__send{width:100%;min-height:46px;padding:10px 14px;border:0;border-radius:var(--rg-button-radius,14px);background:var(--rg-button-red-background,var(--theme));color:var(--rg-white,#fff);font-size:14px!important;font-weight:600!important}
.rg-problem-report__send:disabled{opacity:.5;cursor:default}
.rg-problem-report__status{margin-top:12px;font-size:13px;line-height:1.5;color:var(--rg-refined-ink,#302d29)}
.rg-problem-report__status:empty{display:none}
.rg-problem-report__status--error{color:var(--theme)}
@media(max-width:768px){
  .rg-problem-report__launch{right:78px;bottom:18px;height:44px;padding:0 13px;font-size:12px!important;border-radius:12px}
  .rg-problem-report__launch svg{display:none}
  .rg-problem-report__shade{background:var(--newui-text,#0b0f1a);opacity:.28}
  .rg-problem-report__panel{right:0;bottom:0;width:100%;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);padding:18px 20px calc(18px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--rg-refined-line,#e2ddd5);border-radius:22px 22px 0 0}
  .rg-problem-report__panel::before{content:'';display:block;width:32px;height:4px;margin:-8px auto 13px;border-radius:3px;background:var(--rg-refined-line,#e2ddd5)}
  .rg-problem-report__head{margin-bottom:8px}
  .rg-problem-report .rg-problem-report__title{font-size:18px}
  .rg-problem-report .rg-problem-report__intro{margin-bottom:14px;font-size:13px;line-height:1.4}
  .rg-problem-report__label{margin-bottom:7px;font-size:12px}
  .rg-problem-report .rg-problem-report__comment{height:96px;min-height:96px;resize:none}
  .rg-problem-report__context{margin:12px 0 14px;font-size:11px;line-height:1.4}
}
