/**
 * MindForge Design System — global base rules
 *
 * NOT the same file as src/styles/main.css (the CSS-custom-property layer, handle
 * `mindforge-main`). This one is handle `forged-design-system`.
 *
 * This file used to be the import manifest for foundation/* and components/*. Those
 * nine @imports are gone: they carried no ?ver=, and behind `max-age=2592000` with no
 * ETag a returning browser kept serving a month-old copy of the entire foundation layer
 * — 91 colour tokens, every .btn, every modal — without ever re-requesting it. They are
 * now enqueued individually, versioned by mtime, in forged_enqueue_design_system() in
 * functions.php, which chains them so they still print in the old @import order and
 * still print BEFORE the rules below.
 *
 * Do not add an @import here. Add the file to forged_enqueue_design_system() instead;
 * tests/theme-css-versioning/ fails the build on any @import in this theme's CSS.
 */

/* Global Application Styles */
html {
    box-sizing: border-box;
    font-size: 16px;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
    background: var(--color-bg-primary) !important;
    color: var(--color-text-primary) !important;
    margin: 0;
    padding: 0;
}

/* WordPress Core Overrides */
.site, .site-main, #main {
    background: var(--color-bg-primary) !important;
    color: var(--color-text-primary) !important;
}

/* Remove WordPress default styles that conflict */
.wp-block-group {
    background: transparent !important;
}