/* Material Design 3 — Spacing.
   MD3 uses a 4dp base grid (I/O 2026 promotes an 8dp rhythm for layout).
   1dp ≈ 1px on web at standard density. */

:root {
  --md-sys-spacing-0: 0px;
  --md-sys-spacing-1: 4px;
  --md-sys-spacing-2: 8px;
  --md-sys-spacing-3: 12px;
  --md-sys-spacing-4: 16px;
  --md-sys-spacing-5: 24px;
  --md-sys-spacing-6: 32px;
  --md-sys-spacing-7: 48px;
  --md-sys-spacing-8: 64px;

  /* Semantic aliases */
  --md-sys-spacing-component-padding: 16px;
  --md-sys-spacing-card-padding: 16px;
  --md-sys-spacing-section-gap: 32px;
  --md-sys-spacing-layout-margin-compact: 16px;
  --md-sys-spacing-layout-margin-medium: 24px;
  --md-sys-spacing-gutter-compact: 8px;
  --md-sys-spacing-gutter-medium: 16px;
  --md-sys-spacing-gutter-large: 24px;

  /* Two-level navigation shell (2026-09 product-rail redesign).
     - product rail: the always-visible column of product areas at the far left.
       NOTE(md3): the MD3 rail is 80dp; 72px is deliberate — it carries three
       icons and a brand tile, never icon+label pills.
     - product flyout: the labelled panel the rail expands into on hover/focus.
       It floats OVER the contextual sidebar, so its width is a clip extent,
       never a layout width.
     - context sidebar: the selected product's destinations, in layout at the
       large tiers and user-collapsible. */
  --md-sys-nav-product-rail-width: 72px;
  --md-sys-nav-product-flyout-width: 264px;
  --md-sys-nav-context-sidebar-width: 252px;
  /* Legacy alias: the pre-redesign 88px destination rail is gone; anything
     that offsets itself past "the nav" now clears the product rail. */
  --md-sys-nav-rail-width: var(--md-sys-nav-product-rail-width);

  /* Responsive breakpoints (window size classes) */
  --md-sys-breakpoint-compact: 600px;
  --md-sys-breakpoint-medium: 840px;
  --md-sys-breakpoint-expanded: 1200px;
  --md-sys-breakpoint-large: 1600px;
}
