/* 911RRARI design tokens (v220). Dark only. One place for color, type, spacing, radius, depth, glass and motion.
   New and migrated components read these; older stylesheets are moved onto them screen by screen. Names start with --ds- so nothing existing is overridden. */
:root{
  /* surfaces, darkest to lightest */
  --ds-bg:#000;--ds-s1:#0d0d0f;--ds-s2:#151517;--ds-s3:#1f1f22;
  /* text */
  --ds-t1:#f5f5f7;--ds-t2:rgba(245,245,247,.68);--ds-t3:rgba(245,245,247,.42);
  --ds-line:rgba(255,255,255,.08);--ds-fill:rgba(255,255,255,.06);--ds-fill2:rgba(255,255,255,.1);
  /* meaning: restrained up / down / neutral, one accent */
  --ds-up:#30d158;--ds-down:#ff5a52;--ds-flat:#8e8e93;--ds-warn:#ff9f0a;--ds-info:#64b5ff;--ds-accent:#ff453a;
  --ds-up-bg:rgba(48,209,88,.16);--ds-down-bg:rgba(255,90,82,.16);
  /* type */
  --ds-font:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display','Inter',system-ui,sans-serif;
  --ds-fs-xs:11px;--ds-fs-s:13px;--ds-fs-m:15px;--ds-fs-l:17px;--ds-fs-xl:22px;--ds-fs-xxl:34px;
  --ds-w-reg:400;--ds-w-med:500;--ds-w-semi:600;--ds-w-bold:700;
  /* spacing (8-point) */
  --ds-sp1:4px;--ds-sp2:8px;--ds-sp3:12px;--ds-sp4:16px;--ds-sp5:24px;--ds-sp6:32px;
  /* radius: four sizes */
  --ds-r-s:8px;--ds-r-m:12px;--ds-r-l:20px;--ds-r-pill:999px;
  /* depth */
  --ds-sh1:0 1px 2px rgba(0,0,0,.4);--ds-sh2:0 8px 24px rgba(0,0,0,.45);--ds-sh3:0 24px 60px rgba(0,0,0,.6);
  /* glass: navigation, sheets, menus and floating controls only */
  --ds-glass:rgba(44,44,46,.52);--ds-glass-strong:rgba(60,60,63,.66);--ds-glass-blur:blur(28px) saturate(190%);
  --ds-rim:inset 0 .5px 0 rgba(255,255,255,.34),inset 0 0 0 .5px rgba(255,255,255,.1);
  /* motion */
  --ds-fast:120ms;--ds-base:200ms;--ds-slow:320ms;--ds-ease:cubic-bezier(.2,.8,.2,1);
}
/* Figures never change width, so a price that updates does not push its neighbours. */
body,table,td,th,input,button{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"cv11" 1}
/* A visible keyboard focus ring everywhere; touch and mouse users do not see it. */
:focus{outline:none}
:focus-visible{outline:2px solid var(--ds-info);outline-offset:2px;border-radius:var(--ds-r-s)}
/* Press feedback on tappable controls. */
.chip,.btn,.rm-card,.rm-note,.pmi,.tabbar button,.mspanel button{transition:transform var(--ds-fast) var(--ds-ease),background-color var(--ds-base) var(--ds-ease)}
.chip:active,.btn:active,.rm-card:active,.rm-note:active,.pmi:active,.tabbar button:active,.mspanel button:active{transform:scale(.97)}
/* Motion off for anyone who asks the system for less of it. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
