/* Docs layout extends the Obsidian Markdown presentation with stable search targets. */
article#site-main table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  table-layout: auto;
}

article#site-main table th,
article#site-main table td {
  min-width: 9rem;
  overflow-wrap: break-word;
  vertical-align: top;
  white-space: normal;
}

article#site-main table th {
  vertical-align: bottom;
}

article#site-main table:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.55);
  outline-offset: 3px;
}

article#site-main [data-doc-section="true"],
article#site-main [data-doc-heading="true"] {
  scroll-margin-top: 7rem;
}

article#site-main [data-doc-section="true"].faq-highlight,
article#site-main [data-doc-heading="true"].faq-highlight {
  border-radius: 0.45rem;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
  animation: docs-search-highlight 1.45s ease-out 1;
}

article#site-main hr[data-doc-section="true"].faq-highlight {
  border-color: #f59e0b;
  box-shadow: 0 3px 0 rgba(245, 158, 11, 0.32);
}

@keyframes docs-search-highlight {
  0% {
    background: rgba(254, 240, 138, 0.34);
  }
  100% {
    background: transparent;
  }
}

@media (min-width: 768px) {
  article#site-main table th,
  article#site-main table td {
    min-width: 11rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  article#site-main [data-doc-section="true"].faq-highlight,
  article#site-main [data-doc-heading="true"].faq-highlight {
    animation: none;
  }
}
