.bug-report-launch {
  position: fixed;
  z-index: 25;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #275b4d;
  background: #fff;
  border: 1px solid #c6d9ce;
  border-radius: 50%;
  box-shadow: 0 2px 8px #172d2420;
  cursor: pointer;
}
.bug-report-launch:hover { background: #eef5f0; }
.bug-report-icon {
  display: grid;
  position: relative;
  place-items: center;
  width: 18px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  font: bold 11px/1 system-ui, sans-serif;
}
.bug-report-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -4px;
  width: 5px;
  height: 5px;
  background: inherit;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: skewY(-35deg);
}
.bug-report-icon { background: inherit; }
.bug-report-dialog {
  width: min(420px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 22px;
  border: 1px solid #d6e1d8;
  border-radius: 14px;
  background: #fff;
  color: #203d34;
  font: 14px/1.5 system-ui, sans-serif;
  box-shadow: 0 18px 70px #172d2440;
}
.bug-report-dialog::backdrop { background: #152a2450; }
.bug-report-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bug-report-heading h2 { margin: 0; font-size: 20px; }
.bug-report-close {
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: #edf3ef;
  border-radius: 6px;
  font: 22px/1 system-ui, sans-serif;
  cursor: pointer;
}
.bug-report-form label { display: block; margin: 14px 0 5px; font-weight: 600; }
.bug-report-form :is(input, textarea) {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid #becdc4;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: #203d34;
}
.bug-report-form textarea { resize: vertical; }
.bug-report-note { margin: 8px 0 12px; font-size: 12px; color: #51695e; }
.bug-report-primary {
  min-height: 38px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: #275b4d;
  color: #fff;
  font: 600 13px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.bug-report-primary:disabled { opacity: .65; cursor: wait; }
.bug-report-status { margin: 12px 0 0; overflow-wrap: anywhere; }
.bug-report-status:empty { display: none; }
.bug-report-done { margin-top: 12px; }
@media (max-width: 940px) {
  [data-bug-report-page="intake"] .chat-main .composer-area { padding-inline-end: 66px; }
  [data-bug-report-page="lite"] #message-form { margin-inline-end: 48px; }
}
@media (max-width: 520px) {
  .bug-report-form :is(input, textarea) { font-size: 16px; }
  [data-bug-report-page="admin"] .access-label { display: none; }
}
.bugs-workspace {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 8px 22px 72px;
  font-size: 13px;
}
.bugs-workspace h1 { margin: 0 0 12px; font-size: 25px; }
.bugs-toolbar { display: flex; align-items: center; gap: 8px; }
.bugs-results { display: grid; gap: 10px; list-style: none; margin: 16px 0; padding: 0; }
.bugs-card { padding: 14px; border: 1px solid #dfe6dd; border-radius: 8px; }
.bugs-card-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.bugs-card-heading h2 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.bugs-card-heading button { flex-shrink: 0; }
.bugs-meta { color: #51695e; margin: 5px 0; }
.bugs-description { white-space: pre-wrap; overflow-wrap: anywhere; margin: 7px 0; }
.bug-report-files { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }
.bug-report-files:not(:empty) { margin-bottom: 12px; }
.bug-report-files li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bug-report-files span { overflow-wrap: anywhere; }
.bug-report-files button { padding: 4px 7px; cursor: pointer; }
.bugs-card .bugs-screenshot-link { display: inline-block; margin-inline-start: 10px; }
.screenshots-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.screenshots-results li {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dfe6dd;
  border-radius: 8px;
}
.screenshots-results li > a:first-child {
  display: grid;
  place-items: center;
  background: #f0f3ee;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
}
.screenshots-results img { width: 100%; height: 100%; object-fit: contain; }
.screenshots-results h2 { font-size: 14px; margin: 7px 0 0; overflow-wrap: anywhere; }
