.support-widget {
  position: fixed;
  z-index: 100001;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  font-family: system-ui, sans-serif;
}
.support-widget [hidden] { display: none !important; }
.support-trigger {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: #22cd62;
  color: #111820;
  cursor: pointer;
}
.support-trigger:hover { background: #29dc6d; }
.support-panel {
  width: min(368px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  margin: 0 0 10px;
  padding: 22px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 22px;
  background: rgb(22 26 35 / 85%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 20%);
}
.support-panel h2 { margin: 0 0 7px; color: #fff; font-size: 20px; }
.support-greeting { margin: 0 0 12px; color: #b9c4d1; font-size: 15px; }
.support-choices { display: grid; gap: 7px; }
.support-choices button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid rgb(255 255 255 / 19%);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.support-choices button:hover,
.support-choices button[aria-pressed="true"] { background: rgb(255 255 255 / 9%); }
.support-answer { margin: 13px 0 0; font-size: 15px; line-height: 1.55; }
.support-contact {
  padding: 0;
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: #7dec9e;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.support-widget button:focus-visible { outline: 2px solid #7dec9e; outline-offset: 3px; }

body.exam-frame-open > .support-widget, html.site-intro .support-widget { visibility: hidden; }
