/* v0.593_n: the canonical drawer must fit the visible mobile viewport.
   Apply to the existing drawer only, not the signup overlay or page layout.
   Keep the last legal/support link reachable above the browser safe area. */
div.fixed.left-0.top-0.bottom-0[class*="z-[3000]"] {
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  bottom: auto;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
div.fixed.left-0.top-0.bottom-0[class*="z-[3000]"] > [data-manupic-drawer-footer] {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: .5rem;
  gap: .5rem;
}
div.fixed.left-0.top-0.bottom-0[class*="z-[3000]"] > [data-manupic-drawer-footer] > a {
  color: #374151;
  font-size: .875rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}
div.fixed.left-0.top-0.bottom-0[class*="z-[3000]"] > [data-manupic-legacy-footer-hidden] {
  display: none !important;
}

/* v0.594_n: same sizing and link treatment as the canonical public footer.
   Fallback is a visible normal footer; no crawler-only/hidden link content. */
footer[data-manupic-footer-fallback594] {
  width:100%; padding:20px 16px; box-sizing:border-box;
  color:#4b5563; text-align:center; font-size:12px;
}
nav[data-manupic-page-links594], nav[data-manupic-raw-nav594] {
  display:flex; flex-wrap:wrap; justify-content:center;
  column-gap:16px; row-gap:8px; margin-bottom:8px;
  font-size:12px; line-height:1.6; color:#4b5563;
}
nav[data-manupic-page-links594] > a, nav[data-manupic-raw-nav594] > a {
  color:inherit; text-decoration:underline; text-underline-offset:2px;
}
nav[data-manupic-page-links594] > a:hover,
nav[data-manupic-page-links594] > a:focus-visible, nav[data-manupic-raw-nav594] > a:hover, nav[data-manupic-raw-nav594] > a:focus-visible { color:#047857; }
