/**
 * WordPress canvas shell — host document only.
 * All product UI + typography lives in the Vite bundle under #gs-admin-app .gs-app
 */

html.gs-editorial-canvas-html {
  height: 100%;
}

html.gs-editorial-canvas-html,
body.gs-editorial-canvas {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  background: #fcf9f5 !important;
  overflow-x: hidden;
}

#gs-admin-app {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  isolation: isolate;
  float: none !important;
  overflow-x: clip;
}

/* Host theme `svg { width:100% }` must not expand Lucide stroke icons into full-page blue X shapes */
#gs-admin-app svg.lucide,
#gs-admin-app .gs-lucide-icon,
.gs-coach-pub svg.lucide,
.tim-stitch svg.lucide,
.tim-coach-dashboard svg.lucide,
.gs-maandmodules-page svg.lucide,
.gs-lv-page svg.lucide,
.bb-baklei-mobile-root svg.lucide {
  width: auto !important;
  height: auto !important;
  max-width: 2.75rem !important;
  max-height: 2.75rem !important;
  flex-shrink: 0;
}

.tim-coach-modal__close svg.lucide,
.tim-coach-modal__close .gs-lucide-icon,
.export-modal__close svg.lucide,
.export-modal__close .gs-lucide-icon,
#gs-admin-app .tim-coach-modal__close svg.lucide,
#gs-admin-app .tim-coach-modal__close .gs-lucide-icon {
  width: 1.375rem !important;
  height: 1.375rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
}

#gs-admin-app .tim-coach-ring > svg,
#gs-admin-app .tim-coach-trend__svg,
.tim-coach-ring > svg {
  max-width: none !important;
  max-height: none !important;
}

/* Neutralize any theme content wrapper that might constrain the SPA */
.entry-content,
.site-content,
.content-area,
.page-content,
.post-content,
article.type-page,
.elementor-section-wrap,
.wp-block-group {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
