/* Applied globally from custom image startup patch. */

.binary-row .htx-shortcut,
.binary-row .lsf-hotkey,
.binary-row .htx-choices__hotkey,
.binary-row .htx-choice__hotkey,
.binary-row .ant-tag,
.binary-row kbd,
.binary-row sup {
  display: none !important;
}

.binary-row .portal-choice-neutral {
  background: #ffffff !important;
  border-color: #d0d7de !important;
  color: #24292f !important;
}

.binary-row .portal-choice-yes-selected {
  background: #d1f4d6 !important;
  border-color: #1a7f37 !important;
  color: #116329 !important;
  font-weight: 700 !important;
}

.binary-row .portal-choice-no-selected {
  background: #ffd8d3 !important;
  border-color: #cf222e !important;
  color: #a40e26 !important;
  font-weight: 700 !important;
}

button.annotator-portal-back-fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 2147483000;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #0969da;
  background: #dff4ff;
  color: #0550ae;
  font: 600 13px system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

button.annotator-portal-back-fab:hover {
  background: #c8ebff;
}

div.annotator-portal-debug {
  position: fixed;
  left: 14px;
  bottom: 14px;
  max-width: min(780px, calc(100vw - 28px));
  z-index: 2147483001;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #9a6700;
  background: #fff8c5;
  color: #3d2e00;
  font: 600 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  word-break: break-word;
}

div.annotator-player-search {
  position: fixed;
  right: 16px;
  bottom: 74px;
  width: min(560px, calc(100vw - 32px));
  z-index: 2147483002;
  border: 1px solid #c9d1d9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.annotator-player-search .aps-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.annotator-player-search input,
.annotator-player-search select {
  border: 1px solid #c9d1d9;
  border-radius: 8px;
  padding: 6px 8px;
}

.annotator-player-search .aps-q {
  flex: 1;
}

.annotator-player-search .aps-results {
  max-height: 220px;
  overflow: auto;
  border-top: 1px solid #eaeef2;
  margin-top: 6px;
  padding-top: 6px;
}

.annotator-player-search .aps-item {
  border: 1px solid #eaeef2;
  border-radius: 8px;
  padding: 7px 8px;
  margin-bottom: 6px;
  cursor: pointer;
}

.annotator-player-search .aps-item:hover {
  background: #f6f8fa;
  border-color: #b6d7f2;
}

.annotator-player-inline-trigger {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #1f6feb;
  background: #dff4ff;
  color: #0550ae;
  font: 600 12px system-ui, sans-serif;
  cursor: pointer;
}
