#trdottie-page-suggestions {
  --trdottie-brand: #254d7c;
  position: fixed;
  inset: auto auto var(--trdottie-bottom, 70px) var(--trdottie-x, 12px);
  width: fit-content;
  max-width: min(310px, calc(100vw - 24px));
  z-index: 99998;
  margin: 0;
  padding: 0;
  color: #17253b;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  font: 650 13px/1.35 system-ui, sans-serif;
}
#trdottie-page-suggestions[data-side="right"] {
  left: auto;
  right: var(--trdottie-x, 12px);
}
#trdottie-page-suggestions[hidden],
#mxchat-popular-questions-default.trdottie-contextual-native button.mxchat-popular-question[hidden] {
  display: none !important;
}
#trdottie-page-suggestions .trdottie-suggestions-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
#trdottie-page-suggestions strong {
  display: none;
}
#trdottie-page-suggestions .trdottie-suggestions-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  color: #17253b;
  background: rgba(255, 255, 255, .85);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  font: 400 20px/1 system-ui, sans-serif;
}
#trdottie-page-suggestions .trdottie-suggestions-list {
  display: grid;
  justify-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 7px;
}
#trdottie-page-suggestions[data-side="right"] .trdottie-suggestions-list {
  justify-items: end;
}
#trdottie-page-suggestions .trdottie-suggestions-list li {
  min-width: 0;
  max-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
#trdottie-page-suggestions .trdottie-suggestions-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: auto;
  max-width: 100%;
  gap: 9px;
  min-height: 37px;
  margin: 0;
  padding: 8px 13px;
  background: rgba(255, 255, 255, .82);
  color: #17253b;
  border: 1px solid rgba(23, 37, 59, .18);
  border-color: color-mix(in srgb, var(--trdottie-brand) 26%, transparent);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(20, 34, 54, .13);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
  pointer-events: auto;
  font: inherit;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}
#trdottie-page-suggestions .trdottie-suggestions-list button:is(:hover, :active) {
  border-color: var(--trdottie-brand);
  background: #fff;
  background: color-mix(in srgb, var(--trdottie-brand) 8%, white);
}
#trdottie-page-suggestions .trdottie-suggestions-close:is(:hover, :active) {
  background: #fff;
  color: var(--trdottie-brand);
}
#trdottie-page-suggestions .trdottie-suggestions-arrow {
  font-size: 14px;
  color: var(--trdottie-brand);
}
#trdottie-page-suggestions button:focus-visible {
  outline: 2px solid var(--trdottie-brand);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}
@media (max-width: 760px) {
  #trdottie-page-suggestions { max-width: min(248px, calc(100vw - 24px)); }
  #trdottie-page-suggestions .trdottie-suggestions-list li:nth-child(n+3) { display: none; }
  #trdottie-page-suggestions .trdottie-suggestions-list button { min-height: 44px; }
  #trdottie-page-suggestions .trdottie-suggestions-close::before {
    content: '';
    position: absolute;
    inset: -8px -6px -3px;
  }
}
@media (max-height: 360px) {
  #trdottie-page-suggestions .trdottie-suggestions-list li:nth-child(n+3) { display: none; }
}
/* Keep both controls in the right corner without the accessibility icon
   covering the chatbot label or intercepting taps. */
.trdottie-site-gordon:has(#edac-highlight-panel.edac-highlight-panel--right) #floating-chatbot-button-default {
  right: 86px !important;
}
@media (max-width: 760px) {
  .trdottie-site-gordon:has(#edac-highlight-panel.edac-highlight-panel--right) #floating-chatbot-button-default {
    right: 72px !important;
  }
}
