/* Tonalius — the colours and fonts, one place for the app (css/app.css) and its documentation (css/about.css): Logic's greys
   turned slate (his "leggermente tendente al colore slate"), the LEDs, the purple, the LCD. */
:root {
  --bg: #16191e;
  --panel: #252a32;
  --panel-2: #2d333d;
  --line: #0c0d10;
  --hi: rgba(255, 255, 255, .07);
  --text: #dcdee2;
  --dim: #909098;   /* question 86: the smallest lightening that reaches WCAG AA (4.55 on the panels; #8d8d96 was 4.38) */
  --accent: #b46cff;
  --accent-2: #8a3ef0;
  --led: #ffb53e;
  --led-2: #f08c1a;
  --set: #7cc4ff;
  --lcd: #121823;
  --lcd-ink: #d4e7ff;
  --lcd-dim: #5f7899;
  --brushed: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, rgba(0, 0, 0, .025) 1px 2px, transparent 2px 4px);
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --lcd-font: "Barlow Semi Condensed", "Helvetica Neue", Arial, sans-serif;
  /* the surfaces of the interface, one pair per gradient — the light theme gives them its own (below); the displays (the LCDs,
     the views' inset), the instruments (wood, ivory, LEDs) and the selected row keep theirs in both */
  --bar-a: #333a47; --bar-b: #222730;
  --strip-a: #1f232a; --strip-b: #181b21;
  --btn-a: #4b5567; --btn-b: #333a46; --btn-press-a: #2d333d; --btn-press-b: #3d4655;
  --ctl-a: #3c4554; --ctl-b: #2a303a;
  --seg-a: #424b5b; --seg-b: #2f3641;
  --fhead-a: #313843; --fhead-b: #292f39;
  --lhead-a: #2d333d; --lhead-b: #242931;
  --chip-a: #363e4b; --chip-b: #282e38; --chip-base: #1d2127; --chip-lit-top: #39414f; --chip-lit-ink: #ffffff; --chip-lit-edge: #000000;
  --map-a: #1d2633; --map-b: #111317; --map-rest: #2f3641;
  --browser: #1c2027;
  --row-line: rgba(0, 0, 0, .45); --row-hi: rgba(255, 255, 255, .025); --row-alt: rgba(255, 255, 255, .018); --row-hover: rgba(255, 255, 255, .05);
  --edge: #000000; --plugin-shadow: rgba(0, 0, 0, .5);
  --ptitle-a: #353c49; --ptitle-b: #252a32; --ptitle-ink: #cdd0d6;
  --phead-a: #272d36; --phead-b: #1f232a;
  --preset: #111317; --preset-in: rgba(0, 0, 0, .7);
  --rel-a: #3a3f49; --rel-b: #2c3038; --rel-hover-a: #475060; --rel-hover-b: #343a45; --rel-h5: #b6bac2;
  --keys-a: #1c2027; --keys-b: #0f1115;
  --tabs-bg: #1a1d23; --tabs-lit: #ffffff;
  --strong: #ffffff;
  --knob-a: #868e9c; --knob-b: #4a5466; --knob-c: #252a33; --knob-mark: #f4f5f6;
  --grip-a: #4b5361; --grip-b: #313742; --grip-hover-a: #67707f; --grip-hover-b: #454c58; --grip-edge: #000000;
  --led-ink: var(--led);   /* the LED's orange as text: on a light panel a darker one */
  --link: var(--set);   /* links: on a light page a darker blue (4.5:1), the views' blue left to the dark inset */
  /* the search box: an LCD in the dark theme, a light field in the light one (his "anche l'input della ricerca dovrebbe seguire
     lo schema light") */
  --search-frame: #060606; --field-a: #18202d; --field-b: var(--lcd); --field-ink: var(--lcd-ink); --field-dim: var(--lcd-dim);
  --field-edge: #000000; --count-ink: var(--led); --count-glow: rgba(255, 180, 60, .45);
  /* the set's displays — the LCD, the views' inset and what is drawn in it — and the readout under the keyboard: dark here, light
     in the light theme (his "e anche questo"); the wood, the neck and the LEDs keep theirs */
  --lcd-frame: #060606; --lcd-top: #18202d; --lcd-glow: rgba(160, 205, 255, .35); --lcd-glow-on: rgba(160, 205, 255, .5); --lcd-off: #2f405a;
  --inset: #13161a; --inset-shade: #000000;
  /* the plug-in's body: brushed slate, dark here (his "nel dark mode questo è troppo chiaro e poco coerente con gli altri colori"),
     the light metal in the light theme; the line of light under the LCD and the inset as faint as the metal asks */
  --pbody-a: #39404c; --pbody-b: #2c323c; --pbody-ink: #dcdee2; --pbody-hi: rgba(255, 255, 255, .08);
  --vtab-a: #2c3038; --vtab-b: #1e2127; --vtab-ink: #9aa1ae; --vtab-edge: #000000;
  --inset-gold: #c9a467; --inset-hint: #718099; --inset-num: #848c9a;
  --ring: #3a3f49; --pc-dot: #4a4f5a; --pc-lab: #6f7684;
  --staff: #8a92a0; --staff-ink: #d4d8e0; --staff-note: #e8ebf1; --fret-num: #7b828f;
  color-scheme: dark;
}
/* the light theme (his "uno switcher Dark/Light per cambiare i colori dell'app", 2026-10-03): the same slate, light — chosen by
   the button after full screen, kept for the session, dark by default */
:root[data-theme="light"] {
  --bg: #dfe3e9; --panel: #eef1f5; --panel-2: #e3e7ed; --line: #aab2be; --hi: rgba(255, 255, 255, .8);
  --text: #1c222b; --dim: #56606e; --set: #1f6fd1; --led-ink: #a65a06; --link: #1659b2;
  --bar-a: #f5f7fa; --bar-b: #dde2e9;
  --strip-a: #e7ebf0; --strip-b: #d9dee6;
  --btn-a: #ffffff; --btn-b: #dce1e8; --btn-press-a: #cfd6df; --btn-press-b: #eef1f5;
  --ctl-a: #fafbfc; --ctl-b: #e0e5ec;
  --seg-a: #fafbfc; --seg-b: #dfe4eb;
  --fhead-a: #f3f5f8; --fhead-b: #e4e8ee;
  --lhead-a: #f3f5f8; --lhead-b: #e4e8ee;
  --chip-a: #fbfcfd; --chip-b: #e5e9ef; --chip-base: #ffffff; --chip-lit-top: #ffffff; --chip-lit-ink: #1c222b; --chip-lit-edge: #6b7380;
  --map-a: #f8fafc; --map-b: #dfe4ea; --map-rest: #c3cad4;
  --browser: #e8ecf1;
  --row-line: rgba(0, 0, 0, .09); --row-hi: rgba(255, 255, 255, .6); --row-alt: rgba(0, 0, 0, .025); --row-hover: rgba(0, 0, 0, .055);
  --edge: #8b94a1; --plugin-shadow: rgba(40, 50, 70, .25);
  --ptitle-a: #f2f4f7; --ptitle-b: #dde1e7; --ptitle-ink: #2a313b;
  --phead-a: #e9ecf0; --phead-b: #dbe0e6;
  --preset: #ffffff; --preset-in: rgba(0, 0, 0, .18);
  --rel-a: #ffffff; --rel-b: #e4e8ee; --rel-hover-a: #f3f6fa; --rel-hover-b: #d7dde5; --rel-h5: #3f4753;
  --keys-a: #e4e8ee; --keys-b: #cfd5dd;
  --tabs-bg: #e3e7ed; --tabs-lit: #1c222b;
  --strong: #000000;
  --knob-a: #ffffff; --knob-b: #cbd1da; --knob-c: #9aa3b0; --knob-mark: #2a313b;
  --grip-a: #ffffff; --grip-b: #d3d9e1; --grip-hover-a: #f4f6f9; --grip-hover-b: #c3cad4; --grip-edge: #8b94a1;
  --search-frame: #aab2be; --field-a: #ffffff; --field-b: #f3f5f8; --field-ink: #1c222b; --field-dim: #5d6675;
  --field-edge: #c3cad4; --count-ink: #a65a06; --count-glow: transparent;
  --lcd: #eef1f5; --lcd-ink: #1c222b; --lcd-dim: #5d6675;
  --lcd-frame: #aab2be; --lcd-top: #ffffff; --lcd-glow: transparent; --lcd-glow-on: transparent; --lcd-off: #c3cad4;
  --inset: #e9edf2; --inset-shade: rgba(0, 0, 0, .25);
  --pbody-a: #d3d6db; --pbody-b: #b1b7c0; --pbody-ink: #252b34; --pbody-hi: rgba(255, 255, 255, .6);
  --vtab-a: #ffffff; --vtab-b: #e4e8ee; --vtab-ink: #3f4753; --vtab-edge: #aab2be;
  --inset-gold: #8a6418; --inset-hint: #56606e; --inset-num: #56606e;
  --ring: #c3cad4; --pc-dot: #c9cfd8; --pc-lab: #5d6675;
  --staff: #6b7483; --staff-ink: #2a313b; --staff-note: #1c222b; --fret-num: #56606e;
  color-scheme: light;
}
