I figured it out. I didn't know you could import CSS directly in a layout Vue component like this:
<template>
<slot />
</template>
<script>
import {Head, Link} from '@inertiajs/inertia-vue3';
import perfectScrollbar from '/public/assets/internal/lib/perfect-scrollbar/css/perfect-scrollbar.css';
import materialIcons from '/public/assets/internal/lib/material-design-icons/css/material-design-iconic-font.min.css';
import appCSS from '/public/assets/internal/css/internal.css';
export default {
components: {
Link, Head
}
}
</script>
this way, I can import the css needed by the pages based on the layout file they use, so the internal layout file uses a different set of css imports and the public layout file uses the public css imports.