.annotation-help-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
  color: var(--text, #e0e7ef);
}
.annotation-help-dialog::backdrop { background: transparent; backdrop-filter: none; }
.annotation-help-dialog.annotation-help-no-target { background: rgb(2 8 15 / 72%); }
.annotation-help-highlight {
  position: absolute;
  border: 2px solid #68d5cd;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 0 0 9999px rgb(2 8 15 / 72%), 0 0 0 4px rgb(104 213 205 / 16%);
  pointer-events: none;
}
.annotation-help-highlight[hidden] { display: none; }
.annotation-help-card {
  position: absolute;
  z-index: 1;
  width: min(410px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  overflow: auto;
  padding: 20px;
  background: #13202c;
  color: #e0e7ef;
  border: 1px solid #3e596d;
  border-radius: 13px;
  box-shadow: 0 18px 70px rgb(0 0 0 / 52%);
  overscroll-behavior: contain;
}
.annotation-help-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.annotation-help-progress { color: #8cded6; font-size: 12px; letter-spacing: .025em; }
.annotation-help-close { flex: 0 0 auto; font-size: 23px; min-width: 32px; min-height: 32px; line-height: 1; padding: 0; }
.annotation-help-card h2 { margin: 12px 0; font-size: 19px; line-height: 1.35; color: #f4f8fc; }
.annotation-help-description { font-size: 13px; line-height: 1.6; }
.annotation-help-description p { margin: 10px 0; }
.annotation-help-bindings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 7px 12px; margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #334957; }
.annotation-help-bindings dt { color: #aebdca; overflow-wrap: anywhere; }
.annotation-help-bindings dd { margin: 0; color: #eff8fa; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.annotation-help-hidden-note { padding: 10px; margin: 14px 0 0; background: #243747; border-radius: 7px; color: #b9ccd9; font-size: 12px; line-height: 1.5; }
.annotation-help-footer { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.annotation-help-footer .annotation-help-controls { margin-right: auto; font-size: 12px; }
.annotation-help-footer button { min-height: 34px; }
.annotation-help-card button:focus-visible { outline: 2px solid #86e4db; outline-offset: 3px; }
@media (max-width: 480px), (max-height: 480px) {
  .annotation-help-card { padding: 14px; }
  .annotation-help-card h2 { font-size: 17px; }
  .annotation-help-description { font-size: 12px; }
  .annotation-help-footer { margin-top: 14px; }
}
