/* Shared ground for the Components section: a white page, the component centred and running.
   Each component's own rules live in its own file; this is only the stage and the tokens. */
:root{
  color-scheme:light;
  --page:#ffffff; --well:#f3f5fa; --card:#ffffff; --ink:#151821; --ink2:#565d70; --ink3:#878ea0; --line:#e3e7ef;
  --pri:#0A6CC9; --on-pri:#ffffff; --accent:#C2185B; --ok:#1B6E44; --warn:#A34A12;
  --e1:0 1px 2px rgba(20,26,44,.06),0 1px 3px rgba(20,26,44,.08);
  --e2:0 1px 3px rgba(20,26,44,.06),0 8px 24px -6px rgba(20,26,44,.14);
  --e3:0 2px 6px rgba(20,26,44,.08),0 18px 44px -10px rgba(20,26,44,.24);
  --r:14px; --ease:cubic-bezier(.2,0,0,1); --enter:cubic-bezier(.05,.7,.1,1); --exit:cubic-bezier(.3,0,.8,.15);
  --ui:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --page:#0f1117; --well:#161a22; --card:#1c2029; --ink:#eef1f7; --ink2:#a9b0c2; --ink3:#7d859a; --line:#2c3241;
  --pri:#6CB4F5; --on-pri:#0c0e13; --accent:#F06A9D; --ok:#55C38C; --warn:#E89359;
  --e1:0 1px 2px rgba(0,0,0,.4); --e2:0 8px 24px -6px rgba(0,0,0,.6); --e3:0 18px 44px -10px rgba(0,0,0,.7);
}
*{box-sizing:border-box}
:where(button){font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
html,body{margin:0;height:100%}
body{background:var(--page);color:var(--ink);font:400 15px/1.45 var(--ui);-webkit-font-smoothing:antialiased;
  display:grid;place-items:center;padding:32px 16px;overflow:auto}
.demo{width:min(100%,720px);display:grid;justify-items:center;gap:20px}
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important} }
/* on a wide stage the component is shown larger, so it fills its region instead of floating in white */
@media (min-width:1000px) and (min-height:640px){ body{ zoom:1.3 } }
@media (min-width:1500px) and (min-height:820px){ body{ zoom:1.5 } }
