/**
 * @file
 * Full-viewport shell for the standalone flipbook viewer route (no site chrome).
 */

html.toho-flipbook-viewer,
body.toho-flipbook-viewer {
  margin: 0;
  height: 100%;
  padding-block-start: 0 !important;
  background-color: #555;
}

/* Viewer route only: reduce extra UI (class set in tohowater_preprocess_html). */
body.toho-flipbook-viewer #toolbar-administration,
body.toho-flipbook-viewer #chatbot-chat,
body.toho-flipbook-viewer .messages__wrapper {
  display: none;
}

body.toho-flipbook-viewer {
  overflow-x: hidden;
  overflow-y: auto;
}

body.toho-flipbook-viewer .toho-flipbook-viewer-shell {
  box-sizing: border-box;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Let the plugin container use the full window; overrides theme wrappers / inline min-heights. */
body.toho-flipbook-viewer .toho-flipbook-viewer-page,
body.toho-flipbook-viewer .toho-flipbook-viewer-page .js-toho-flipbook-embed {
  min-height: 100vh !important;
}

body.toho-flipbook-viewer .toho-flipbook-viewer-page .js-toho-flipbook-embed iframe {
  min-height: 100vh !important;
}
