/* The theme, shared by the app (index.html) and the help page (help.html).
   Each page links this file before its own styles and names no colors of
   its own. */
/* The Instrument theme: dark is the console, light is the faceplate.
   Two sets of values, one set of names. The page reads these and nothing
   else, so a theme is only this block. `data-theme` is set on <html>
   before the first paint, by a small script in each page's head, and by
   the About dialog. */
:root {
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* The display is the same in both modes: a dark window, orange digits. */
  --display-bg: #070807;
  --display-border: #000000;
  --display-divider: #22231F;
  --display-label: #A5A498;
  --display-digit: #FF6A1A;
  --display-key: #34352D;        /* the Pause cell */
  --display-key-hover: #3F4037;
  --display-key-label: #DAD9CE;
  --display-hover: #14150F;      /* a cell you can click, under the pointer */
  --display-edge: rgba(255, 255, 255, .14);      /* a light line round a dark pill (the toast) */
  --display-highlight: rgba(255, 255, 255, .08); /* the lit top edge of the transport */
  --display-inset: rgba(0, 0, 0, .9);            /* the readout, sunk */
  --display-pressed: rgba(0, 0, 0, .7);          /* a transport key that's down */
  --logo-bg: #FF6A1A;            /* the VJ block */
  --logo-text: #070807;
  /* The picture is the same in both modes too: it sits on black, and
     what's drawn over it (the loop ring, the line across the scene
     that's playing, a card's trim handle) has to read on any image. */
  --picture: #000000;
  --over-ink: #FFFFFF;
  --over-ink-soft: rgba(255, 255, 255, .45);
  --over-shade: rgba(0, 0, 0, .5);
  --over-track: rgba(160, 160, 160, .45);
  /* Shadows are black in both modes: a panel's, a dialog's, and the dim behind a dialog. */
  --shadow: rgba(0, 0, 0, .35);
  --shadow-deep: rgba(0, 0, 0, .45);
  --scrim: rgba(0, 0, 0, .55);
  --thumb-h: 84px;
  font: 13px/1.35 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --chassis: #20211D;            /* app, toolbar, inspector, clip strip. Lighter than the spec's #171815, which sat too close to the stage. */
  --stage: #090A09;              /* behind the preview */
  --text: #ECEBE4;
  --text-muted: #A5A498;         /* labels, secondary text */
  --rule: #3B3C35;               /* hairlines inside panels */
  --edge: var(--rule);            /* panel borders: toolbar, inspector, strip. The same line as the dividers inside the inspector, so it shows against the dark stage (the spec's black didn't). */
  --accent: #FF6A1A;             /* lit states and fills */
  --accent-text: #FF6A1A;        /* orange used as text */
  --on-accent: #161714;          /* text on an orange fill */
  --tick: #5C5D54;               /* slider ticks, dashed outlines */
  --key: #2E2F28;                /* keycap face, lifted with the chassis so keys still stand off it */
  --key-border: #060606;
  --key-highlight: rgba(255, 255, 255, .10);
  --key-shadow: #060606;
  --led-off: #4A4B42;
  --lane-bar: #ECEBE4;           /* a text cue in the filmstrip: a solid bar, the reverse of the strip */
  --lane-ink: #161714;
  --well: #0B0C0A;               /* sunk: inputs, selects, switch track */
  --well-border: #000000;
  --well-inset: rgba(0, 0, 0, .5);
  --groove: #000000;             /* slider groove, the unfilled part */
  --cap: #D9D7CE;                /* fader cap, switch knob */
  --cap-line: #161714;
  --cap-border: #060606;
  --bezel: #1E1F1B;              /* frame round the preview */
  --bezel-width: 8px;
  --hover: rgba(255, 255, 255, .07);
  --danger: #ff8f8f;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23ECEBE4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root, :root[data-theme=light] {
  color-scheme: light;
  --chassis: #E3E1D9;
  --stage: #E3E1D9;
  --text: #161714;
  --text-muted: #55564E;
  --rule: #B9B6AB;
  --edge: #9A978C;
  --accent: #FF5A0A;
  --accent-text: #A83406;        /* darker: #FF5A0A fails contrast as text on light */
  --on-accent: #161714;
  --tick: #8F8E84;
  --key: #F4F3EE;
  --key-border: #9A978C;
  --key-highlight: rgba(255, 255, 255, .9);
  --key-shadow: #A9A69B;
  --led-off: #B4B1A6;
  --lane-bar: #161714;
  --lane-ink: #ECEBE4;
  --well: #D3D1C8;
  --well-border: #9A978C;
  --well-inset: rgba(0, 0, 0, .18);
  --groove: #161714;
  --cap: #F4F3EE;
  --cap-line: #161714;
  --cap-border: #55564E;
  --bezel: #161714;
  --bezel-width: 10px;
  --hover: rgba(0, 0, 0, .06);
  --danger: #B3261E;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23161714' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
