/* MD3 spacing. 4dp base grid; the I/O 2026 update names an 8dp system for layout.
   1dp = 1px on web. Source: layout-and-responsive.md § Spacing System. */
: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;

  /* Layout margins + gutters, by window size class. */
  --md-sys-layout-margin-compact: 16px;
  --md-sys-layout-margin-medium: 24px;
  --md-sys-layout-margin-expanded: 24px;
  --md-sys-layout-gutter-compact: 8px;
  --md-sys-layout-gutter-medium: 16px;
  --md-sys-layout-gutter-large: 24px;
  --md-sys-layout-content-max-width: 1040px;

  /* Window size class breakpoints (dp = px on web). */
  --md-sys-breakpoint-compact: 0px; /* @kind other */
  --md-sys-breakpoint-medium: 600px; /* @kind other */
  --md-sys-breakpoint-expanded: 840px; /* @kind other */
  --md-sys-breakpoint-large: 1200px; /* @kind other */
  --md-sys-breakpoint-extra-large: 1600px; /* @kind other */

  /* Minimum touch target. */
  --md-sys-touch-target-min: 48px;
}
