/*
 * Mailpuff admin: Tailwind v4, scoped to the app, built the way Bridle's
 * admin is (Bridle's docs/design-system.md).
 *
 * - wp-admin's stylesheets are unlayered, and an unlayered rule beats a
 *   layered one whatever its specificity, so utilities are emitted with
 *   `!important`. They only ever land on the app's own elements.
 * - Tailwind's preflight is global and would restyle the admin bar and menu,
 *   so preflight.css is the same reset scoped to `#mailpuff-root`.
 * - `source(none)` + `@source` limit class scanning to src/admin, so the
 *   email editor and the blocks never generate utilities.
 */
@layer theme, base, components, utilities;

@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities) important source(none);
@source "../";

@import "tw-animate-css";

/* Light theme only, as in Bridle. */
@custom-variant dark (&:is(.dark *));

@import "./fonts.css";
@import "./preflight.css";
@import "./theme.css";
@import "./shell.css";
@import "./chrome.css";
