/* ============================================================================
   SPACING — R-041 provides the grid FOUNDATION only (Brand Book §12):
     4px base grid, 8px multiples preferred for most composition spacing.
     Explicitly "brand rhythm, not a substitute for Product Design System
     component tokens."
   Everything past that foundation is R-050 APPROVED — v1.0 (DEC-01).
   ========================================================================= */
:root{
/* R-041 LOCKED foundation */
--grid-base:4px;
--grid-preferred-multiple:8px;

/* R-050 APPROVED — v1.0 (DEC-01). Scale on the 4px base grid; values are
   named by their pixel size so off-grid drift is visible. */
--space-0:0px;
--space-4:4px;
--space-8:8px;
--space-12:12px;
--space-16:16px;
--space-20:20px;
--space-24:24px;
--space-32:32px;
--space-40:40px;
--space-48:48px;
--space-64:64px;
--space-80:80px;

/* Sub-grid micro-steps for control internals. These sit BELOW the 4px base
   grid and are the one deliberate deviation from the R-041 foundation.
   R-050 APPROVED — v1.0 (DEC-01): allowed ONLY as controlled internal
   micro-spacing exceptions, never as general layout spacing. */
--space-2-sub:2px;
--space-6-sub:6px;

/* Layout. R-050 APPROVED — v1.0 (DEC-01, DEC-06). */
--layout-sidebar-w:248px;
--layout-sidebar-collapsed-w:64px;
--layout-topbar-h:56px;
--layout-subbar-h:44px;
--layout-page-pad-x:24px;
--layout-page-pad-y:20px;
--layout-page-max:1440px;
--layout-drawer-w:480px;
--layout-gutter:16px;

/* Control sizing. R-050 APPROVED — v1.0 (DEC-01, DEC-04). All on the 4px grid. */
--control-h-sm:28px;
--control-h-md:36px;
--control-h-lg:40px;
--control-pad-x:12px;
--row-h:44px;
--row-h-compact:36px;
--hit-min:36px;

/* Icon sizing. R-041 §13 sets a 24px base grid, standard 1.75px stroke, and
   1.5px at 16px where optical clarity requires. 16 / 20 / 24 are drawn from
   that rule; the ROLE MAPPING is R-050 APPROVED — v1.0 (DEC-01). */
--icon-sm:16px;
--icon-md:20px;
--icon-lg:24px;
--icon-stroke:1.75;
--icon-stroke-small:1.5;
--icon-grid:24px;

/* Logo geometry — R-041 LOCKED (Brand Book §6).
   Minimum wordmark width 72px digital / 18mm print; lockup 96px / 24mm;
   symbol 16px digital / 5mm print height. Clear space: wordmark 1X where
   X = diameter of the dot above the "i"; symbol 0.5D where D = circle diameter.
   Measured from the approved master raster: the dot is 5.9% of the wordmark's
   inked width, and the master file carries 10.2% transparent padding at the
   inline edges — so the supplied asset already satisfies 1X at any size.
   --logo-wordmark-min-render is the FILE width needed to clear the 72px inked
   minimum (72 ÷ 0.796 inked-to-file ratio), rounded up to the 4px grid. */
--logo-wordmark-min-ink:72px;
--logo-wordmark-min-render:96px;
--logo-lockup-min-ink:96px;
--logo-symbol-min:16px;
--logo-clearspace-ratio:0.059; /* @kind other */
}
