/* THE APP'S STYLES. One block of settings per style; the whole app reads only these (colours, font, corner rounding,
   text size). The style in use is the `data-theme` on the page, remembered in this browser ("mosaic-theme").
   Fonts are ones already on Windows, so nothing is fetched from outside. */

[data-theme="carbon"] {       /* 1  the current look, tidied */
  --bg: #0d0f13; --panel: #14171d; --panel2: #191d25; --line: #232834; --line2: #2e3442; --grid: #171a21;
  --fg: #dfe3ea; --dim: #8a92a3; --faint: #5b6373; --green: #3ecf8e; --mint: #3ecf8e; --coral: #f0616d;
  --sky: #5ab4ff; --amber: #f5b942; --orchid: #c77dff; --glass: rgba(13, 15, 19, .82);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; --num: inherit;
  --fs: 14px; --r: 9px; --r-sm: 7px; --r-lg: 11px; --track: 0; color-scheme: dark;
}
[data-theme="graphite"] {     /* 2  technical: one fixed-width font, hairlines, almost square */
  --bg: #101113; --panel: #15171a; --panel2: #1b1e22; --line: #26292e; --line2: #33373d; --grid: #181a1d;
  --fg: #d9dce1; --dim: #8b9099; --faint: #5d626b; --green: #7ee0b0; --mint: #7ee0b0; --coral: #ff7a85;
  --sky: #7cc4ff; --amber: #ffcc66; --orchid: #c9a0ff; --glass: rgba(16, 17, 19, .88);
  --font: "Cascadia Mono", "Cascadia Code", Consolas, monospace; --num: inherit;
  --fs: 13px; --r: 3px; --r-sm: 2px; --r-lg: 4px; --track: 0; color-scheme: dark;
}
[data-theme="midnight"] {     /* 3  deep navy, blue accent, soft corners */
  --bg: #0a1020; --panel: #0f1730; --panel2: #15203f; --line: #1c2a4f; --line2: #283a68; --grid: #111a35;
  --fg: #e3e9f7; --dim: #8e9cc0; --faint: #5c6a90; --green: #5b9dff; --mint: #37d6a0; --coral: #ff6b81;
  --sky: #5b9dff; --amber: #ffc857; --orchid: #b58cff; --glass: rgba(10, 16, 32, .84);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; --num: inherit;
  --fs: 14px; --r: 12px; --r-sm: 9px; --r-lg: 16px; --track: 0; color-scheme: dark;
}
[data-theme="terminal"] {     /* 4  trading-terminal: black, amber, square, dense */
  --bg: #000000; --panel: #0a0a0a; --panel2: #141414; --line: #262626; --line2: #3a3a3a; --grid: #121212;
  --fg: #f2e9d0; --dim: #b39b5f; --faint: #6e6142; --green: #ffb000; --mint: #2ee66b; --coral: #ff4d4d;
  --sky: #4db8ff; --amber: #ffb000; --orchid: #e07bff; --glass: rgba(0, 0, 0, .9);
  --font: Consolas, "Lucida Console", monospace; --num: inherit;
  --fs: 13px; --r: 0px; --r-sm: 0px; --r-lg: 0px; --track: .01em; color-scheme: dark;
}
[data-theme="glass"] {        /* 5  slate, large soft corners, airy */
  --bg: #11151c; --panel: #1a202b; --panel2: #222a38; --line: #2a3344; --line2: #394459; --grid: #171c26;
  --fg: #eef1f6; --dim: #9aa5b8; --faint: #677387; --green: #6fe3c1; --mint: #6fe3c1; --coral: #ff8095;
  --sky: #74c0fc; --amber: #ffd166; --orchid: #d0a2ff; --glass: rgba(17, 21, 28, .7);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; --num: inherit;
  --fs: 14.5px; --r: 14px; --r-sm: 10px; --r-lg: 18px; --track: .005em; color-scheme: dark;
}
[data-theme="paper"] {        /* 6  light: off-white paper, ink text, muted green and red */
  --bg: #f6f4ef; --panel: #ffffff; --panel2: #efece5; --line: #dedad0; --line2: #c9c4b8; --grid: #ebe8e0;
  --fg: #1d1f23; --dim: #646a73; --faint: #9a9fa8; --green: #17805a; --mint: #1c9a6c; --coral: #d2434f;
  --sky: #1f6fd0; --amber: #b97a00; --orchid: #7d4bd0; --glass: rgba(246, 244, 239, .86);
  --font: Aptos, Calibri, "Segoe UI", sans-serif; --num: inherit;
  --fs: 14.5px; --r: 8px; --r-sm: 6px; --r-lg: 10px; --track: 0; color-scheme: light;
}
[data-theme="nordic"] {       /* 7  cool grey-blue, teal accent, a narrow engineering font, compact */
  --bg: #1b2028; --panel: #222831; --panel2: #2a313c; --line: #343c49; --line2: #44505f; --grid: #20252e;
  --fg: #e5e9f0; --dim: #9aa7b8; --faint: #6b7889; --green: #88c0d0; --mint: #a3be8c; --coral: #bf616a;
  --sky: #81a1c1; --amber: #ebcb8b; --orchid: #b48ead; --glass: rgba(27, 32, 40, .86);
  --font: Bahnschrift, "Segoe UI", sans-serif; --num: inherit;
  --fs: 14px; --r: 6px; --r-sm: 4px; --r-lg: 8px; --track: .01em; color-scheme: dark;
}
[data-theme="ink"] {          /* 8  pure black, lime accent, maximum contrast */
  --bg: #000000; --panel: #0c0c0c; --panel2: #161616; --line: #222222; --line2: #333333; --grid: #101010;
  --fg: #ffffff; --dim: #9c9c9c; --faint: #616161; --green: #c6ff3d; --mint: #c6ff3d; --coral: #ff5470;
  --sky: #66d9ff; --amber: #ffd23f; --orchid: #d78bff; --glass: rgba(0, 0, 0, .86);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; --num: "Cascadia Mono", Consolas, monospace;
  --fs: 14px; --r: 8px; --r-sm: 6px; --r-lg: 10px; --track: -.005em; color-scheme: dark;
}
[data-theme="charcoal"] {     /* 9  warm greys, coral accent, roomy and soft */
  --bg: #1c1a19; --panel: #242120; --panel2: #2d2928; --line: #393433; --line2: #4a4442; --grid: #211f1e;
  --fg: #f0ebe7; --dim: #a89e98; --faint: #766d68; --green: #ff8a65; --mint: #8fd19e; --coral: #f2777a;
  --sky: #7fb7e6; --amber: #f2c57c; --orchid: #c9a0dc; --glass: rgba(28, 26, 25, .86);
  --font: Calibri, Aptos, "Segoe UI", sans-serif; --num: inherit;
  --fs: 15px; --r: 10px; --r-sm: 8px; --r-lg: 14px; --track: 0; color-scheme: dark;
}
[data-theme="swiss"] {        /* 10 light: grey grid, black type, one red, no rounding */
  --bg: #ededed; --panel: #f8f8f8; --panel2: #e2e2e2; --line: #cfcfcf; --line2: #b5b5b5; --grid: #e2e2e2;
  --fg: #0b0b0b; --dim: #555555; --faint: #8c8c8c; --green: #e2001a; --mint: #0a8f4e; --coral: #e2001a;
  --sky: #0057b8; --amber: #a86a00; --orchid: #6b2fb3; --glass: rgba(237, 237, 237, .9);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif; --num: inherit;
  --fs: 14px; --r: 0px; --r-sm: 0px; --r-lg: 0px; --track: -.005em; color-scheme: light;
}

/* the settings above, put to use across the app */
body { font-family: var(--font); font-size: var(--fs, 14px); letter-spacing: var(--track, 0); }
.tile .top .p, .lrow .val, .legend .o b, .setups td.r, #cap, .cap { font-family: var(--num, inherit); }
[data-theme="paper"] .lrow:hover, [data-theme="swiss"] .lrow:hover { background: var(--panel); }
[data-theme="graphite"] .tabs a, [data-theme="terminal"] .tabs a { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
[data-theme="terminal"] .chip.on, [data-theme="terminal"] .tabs a.on { color: #000; background: var(--green); box-shadow: none; }
[data-theme="swiss"] .tabs a.on { background: var(--fg); color: var(--bg); border-bottom-color: var(--green); }
[data-theme="glass"] .tile, [data-theme="glass"] .card { box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
[data-theme="paper"] .tile, [data-theme="paper"] .card { box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
