/*
 * Tailwind apps only, imported with `layer(base)` after `tailwindcss`.
 * Without `layer(base)` it does nothing: unlayered `revert-layer` rolls back
 * to preflight's own reset.
 *
 * Preflight's `* { padding: 0; margin: 0; border: 0 solid }` hits the nu-*
 * hosts from the page, and page rules always beat an element's `:host` rules,
 * so badges, cards, segments, menu items, toasts and the sidebar lose their
 * padding and borders. `revert-layer` in the same layer, later, undoes the
 * reset and lets `:host` apply again. Utilities on the elements still win.
 */

:where(
  nu-accordion, nu-annotation, nu-annotations, nu-app, nu-badge, nu-brush-editor,
  nu-brush-preview, nu-button, nu-calendar, nu-caption, nu-card, nu-checkbox,
  nu-checkbox-group, nu-color-picker, nu-command-bar, nu-computed, nu-dialog, nu-disclosure,
  nu-docs-ramp-editor, nu-dropzone, nu-field-error, nu-grid, nu-icon, nu-inline-input,
  nu-input, nu-keys, nu-layer-editor, nu-layer-panel, nu-menu, nu-menu-item, nu-message-log,
  nu-nav-group, nu-nav-item, nu-nav-list, nu-option, nu-paint-canvas, nu-palette,
  nu-placeholder, nu-progress, nu-radio, nu-radio-group, nu-reel, nu-segment, nu-segmented,
  nu-select, nu-shader, nu-sidebar, nu-sidebar-pin, nu-sidebar-toggle, nu-sortable,
  nu-state-graph, nu-state-graph-action, nu-state-graph-state, nu-sticky, nu-sticky-stack,
  nu-switch, nu-tab, nu-tabs, nu-textarea, nu-theme-select, nu-theme-switch, nu-thumb,
  nu-tile, nu-toast, nu-toasts, nu-token-colors, nu-token-contexts, nu-token-depth,
  nu-token-space, nu-token-type, nu-toolbar, nu-toolbar-group, nu-tooltip, nu-widget,
  nu-window, nu-workspace, nu-workspace-window
) {
  padding: revert-layer;
  margin: revert-layer;
  border: revert-layer;
}
