/* Preset "material": the Material light palette, type and elevation of the micromarketing project viewer
   (docs/source/viewer.html), copied value for value from its :root block. --primary #1a73e8, Google Sans,
   Google Sans Text, Roboto Mono, 64px app bar (--hh). `.hub-scope` re-declares the same tokens inside one element so
   chrome injected into a page with its own skin keeps this palette. Light only: it pins the tokens in dark mode too. */
:root, :root:not([data-theme="light"]), :root[data-theme="dark"], .hub-scope{
  color-scheme:light;
  --primary:#1a73e8;--on-primary:#fff;--primary-c:#e8f0fe;--on-primary-c:#174ea6;
  --surface:#fff;--sc:#f8f9fa;--sc2:#f1f3f4;--outline:#dadce0;--text:#202124;--text2:#5f6368;
  --blue:#4285f4;--red:#ea4335;--yellow:#fbbc04;--green:#34a853;
  --ease:cubic-bezier(.2,0,0,1);
  --e1:0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);
  --e2:0 1px 2px rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);
  --e3:0 4px 8px 3px rgba(60,64,67,.15),0 1px 3px rgba(60,64,67,.3);
  --font:"Google Sans Text","Google Sans",Roboto,system-ui,sans-serif;
  --head:"Google Sans","Google Sans Text",Roboto,system-ui,sans-serif;
  --mono:"Roboto Mono",ui-monospace,Consolas,monospace;
  --hh:64px;
}

/* Aliases so design-system components and the es- shell read the same palette. */
:root, :root:not([data-theme="light"]), :root[data-theme="dark"], .hub-scope {
  --bg:var(--surface); --surface-2:var(--sc); --surface-3:var(--sc2); --border:var(--outline); --border-strong:#bdc1c6;
  --text-2:var(--text2); --text-3:var(--text2); --link:var(--primary);
  --accent:var(--primary); --accent-text:var(--primary); --on-accent:var(--on-primary);
  --accent-soft:var(--primary-c); --accent-line:var(--primary);
  --font-size:16px; --line-height:1.6; --weight-strong:500; --measure:38rem;
}
