@layer histoire-document-reset, theme, base, components, utilities;
@import 'tailwindcss/theme.css' layer(theme) prefix(htw);
@import 'tailwindcss/utilities.css' layer(utilities) prefix(htw);
@import '../../../../histoire-controls/src/style/base-theme.css';
@import '../../../../histoire-controls/src/style/theme.css';
@import './theme.css';
@import 'floating-vue/dist/style.css' layer(components);
@import '@histoire/controls/dist/index.es.css' layer(components);
@import '@histoire/controls/src/style/floating.pcss' layer(components);
@import './controls.css' layer(components);
@import './document.pcss';
@import './fonts.pcss';
@import '../../../../histoire-vue/src/styles/style.css' layer(components);
@import './tokens.pcss';
@source '../../../../histoire-controls/src';
@plugin '@tailwindcss/typography';

/* Runtime discovery mounts must stay hidden regardless of story layers. */
.htw-sandbox-hidden { display: none; }
@layer base {
  .__histoire-render-story:not(.__histoire-render-custom-controls) {
    overflow: auto;
    min-height: 100%;
  }
}
