.report-chat {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  color-scheme: light;
}

.report-chat > summary {
  display: block;
  margin-inline-start: auto;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: #193c76;
  color: #fff;
  box-shadow: 0 4px 18px #12254640;
  font-weight: 700;
  cursor: pointer;
}

.report-chat > summary::-webkit-details-marker { display: none; }

.report-chat > nav {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  box-sizing: border-box;
  width: min(22rem, calc(100vw - 32px));
  max-height: min(28rem, calc(100dvh - 96px));
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #c7d4e8;
  border-radius: 16px;
  background: #fff;
  color: #142540;
  box-shadow: 0 8px 28px #12254640;
}

.report-chat ul {
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.report-chat a {
  display: block;
  padding: 10px 8px;
  border-radius: 6px;
  color: #193c76;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.report-chat a:hover, .report-chat a:focus-visible { background: #e8eefb; }

.report-chat a small {
  display: block;
  color: #42526d;
  overflow-wrap: anywhere;
}
