/* Acheron Page Helpers 1.0.0 */

/* ---------------------------------------------------------- figures */
.ar-topic .ar-fig,
.wpProQuiz_content .wpProQuiz_response figure { position: relative; overflow: visible !important; }
.ar-topic .ar-fig svg,
.wpProQuiz_content .wpProQuiz_response figure svg { cursor: zoom-in; min-width: 0 !important; }
.aph-zoom-hint {
  background: #0e5f7a; border: 0; border-radius: 999px; color: #fff; cursor: pointer;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  display: block; margin: 10px auto 0; padding: 9px 16px;
}
.aph-zoom-hint:hover { background: #0b4c62; }

.aph-viewer {
  background: #0f161e; display: flex; flex-direction: column;
  inset: 0; position: fixed; z-index: 2147483000;
}
.aph-bar {
  align-items: center; display: flex; flex: 0 0 auto; gap: 8px; justify-content: flex-end;
  padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top));
}
.aph-bar .aph-tip {
  color: #cfd8e3; flex: 1 1 auto;
  font: 400 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.aph-bar button {
  background: #fff; border: 0; border-radius: 10px; color: #18222e; cursor: pointer;
  font: 700 18px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 44px; min-width: 44px; padding: 0 14px;
}
.aph-stage { flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch; padding: 8px; }
.aph-sheet {
  background: #fff; border-radius: 8px; margin: 0 auto; max-width: none !important; padding: 12px !important;
}
.aph-sheet svg { display: block; height: auto !important; max-width: none !important; width: 100% !important; }
.aph-sheet figcaption { color: #3a4553; font-size: 15px; line-height: 1.55; margin-top: 10px; }
html.aph-open, html.aph-open body { overflow: hidden !important; }

/* -------------------------------------------------- Ash help buttons */
/* One row per question is kept by helpers.js. */

/* ------------------------------------------------------- Ash on phones */
@media (max-width: 640px) {
  #acheron-chatbot-toggle { animation: none !important; bottom: 12px !important; padding: 6px 10px 5px !important; }
  #acheron-chatbot-toggle .acheron-ash-svg { height: 50px !important; width: 46px !important; }
  #acheron-chatbot-toggle .acheron-toggle-label { font-size: 12px !important; }
  #acheron-chatbot-toggle.position-bottom-right, .acheron-mini.position-bottom-right { right: 12px !important; }
  #acheron-chatbot-toggle.position-bottom-left, .acheron-mini.position-bottom-left { left: 12px !important; }
  #acheron-chatbot-toggle .acheron-minimize-btn { height: 26px; width: 26px; }
  .acheron-mini { animation: none !important; bottom: 12px !important; }
  /* Room under the page so Ash never sits on the Next button. */
  .learndash-wrapper, .ld-focus-content { padding-bottom: 96px !important; }
  .acheron-quiz-buttons button { font-size: 15px !important; padding: 10px 12px !important; }
}
