/*
 * Minibased UI foundation: scoping contract.
 *
 * Every selector in frontend/ui is scoped under body.ui. The current editor can load these
 * stylesheets beside frontend/style.css without changing: no element matches until the editor
 * explicitly opts into the layer with <body class="ui ...">. Component class names intentionally
 * follow the design-lab prototype so later phases can re-point them to the app's existing ids.
 */

body.ui {
  --ink: #0E0E0E;
  --paper: #FFFFFF;
  --ember: #FF5D2A;
  --lilac: #CDB0FF;
  --sage: #D1DDD3;
  --primer: #CFCFCA;

  --rule: rgba(14,14,14,.85);
  --soft: rgba(14,14,14,.6);
  --footer-rule: rgba(255,255,255,.4);
  --footer-caption: rgba(255,255,255,.55);
  --status-green: #3BB273;

  --f-display: "Funnel Display", system-ui, sans-serif;
  --f-sans: "Funnel Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;

  --nav: 56px;
  --gut: 16px;
  --rail: 104px;
  --sheet: 360px;
  --panel-tabs: 48px;

  --ease: cubic-bezier(.44,0,.56,1);
  --snap: cubic-bezier(.7,0,.2,1);

  --ui-control-bg: #F4F4F1;
  --ui-track-empty: #EDEDE9;
  --ui-track-hover: #E4E4DF;
  --ui-tick: rgba(14,14,14,.3);
  --ui-rule-soft: rgba(14,14,14,.08);
  --ui-rule-mid: rgba(14,14,14,.12);
}
