/* Static GitBook mirror — SSR HTML only (Next hydration stripped) */
html:not(.hydrated) body,
body {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Static GitBook mirror fixes */
[data-gitbook-cf-alert],
.gitbook-cf-alert {
  display: none !important;
}

/* Prevent broken image boxes from drawing layout lines */
.prose img,
main img,
.markdown-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.markdown-body th,
.markdown-body td {
  border: 1px solid var(--tint-12, #e5e7eb);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.markdown-body th {
  background: var(--tint-subtle, #f3f4f6);
}

img[src=""],
img:not([src]) {
  display: none !important;
}
