/* style-desktop: the Desktop style of the Shtukbase kit — CSS variables only (light on :root, dark on
 * :root[data-theme="dark"]). Served at the stable address /_kit/style.css when this is the space's style.
 * Made from kit-style skins/kit.css (the base values) and skins/desktop.css (this style's values on top).
 * Origin note of skins/desktop.css:
 * @tokens — the skin "Desktop" (id desktop): the look of the Shtukbase desktop app (engine/gui), so a lens or a
 * layout in the browser reads as the same product.
 * @skin desktop | Desktop
 * Values are the desktop app's own: the light and dark sets of engine/gui/kit-base/src/theme.rs (ground, warm
 * window grey, text tones, borders, the blue accent) and the select option palette of kit-base/src/tokens.rs
 * (DS_OPTION_<HUE>_BG / _FG / _DOT): chips are tinted like Notion's options, the hue is the fill, no dot. Board
 * columns take a faint tint of their status hue (--ct-*). Turned on by data-skin="desktop" on <html>; included
 * after skins/kit.css or skins/calm.css. Skins are the one place where colour literals live.
 *  
 */

/* base values (kit-style skins/kit.css) */
:root {
  --bg: #ffffff; --bg2: #f9f8f7; --bg3: #f0efed; --panel: #ffffff; --lx-card: #ffffff;
  --ink: #2c2c2b; --lx-muted: #7d7a75; --faint: #a19e99;
  --line: #e6e5e3; --line2: #d4d3cf; --wash: rgba(33,27,23,.05); --wash2: rgba(33,27,23,.09);
  --tray: #f7f7f5; --lx-accent: #2783de; --accent-soft: #e9f3fc; --canvas: #ffffff; --canvas-dot: #dcdbd8; --canvas-grid: #f0efed;
  --shadow: 0 0 0 1px rgba(15,15,15,.06), 0 1px 2px rgba(15,15,15,.06), 0 3px 10px rgba(15,15,15,.06);
  --shadow-lift: 0 0 0 1px rgba(15,15,15,.06), 0 3px 6px rgba(15,15,15,.08), 0 9px 24px rgba(15,15,15,.12);
  --shadow-peek: 0 0 0 1px rgba(15,15,15,.08), -6px 0 24px rgba(15,15,15,.12);
  /* the dot, background and text of a chip, the area fill: like the options and columns of Shtukbase boards */
  --c-default: #8e8b87; --cb-default: rgba(42,28,0,.07);    --cf-default: #494846; --ct-default: #f9f8f8;
  --c-gray: #8e8b87;    --cb-gray: rgba(28,19,1,.11);       --cf-gray: #494846;    --ct-gray: #f2f2f1;
  --c-brown: #9f6b53;   --cb-brown: rgba(127,51,0,.157);    --cf-brown: #584437;   --ct-brown: #f7f1ee;
  --c-orange: #d9730d;  --cb-orange: rgba(196,88,0,.204);   --cf-orange: #6a4222;  --ct-orange: #fdf0e7;
  --c-yellow: #cb912f;  --cb-yellow: rgba(209,156,0,.282);  --cf-yellow: #655121;  --ct-yellow: #fef6e6;
  --c-green: #448361;   --cb-green: rgba(0,96,38,.157);     --cf-green: #2a533c;   --ct-green: #eff7ef;
  --c-blue: #337ea9;    --cb-blue: rgba(0,118,217,.204);    --cf-blue: #264a72;    --ct-blue: #ebf3f8;
  --c-purple: #9065b0;  --cb-purple: rgba(92,0,163,.14);    --cf-purple: #553b69;  --ct-purple: #f5f0f7;
  --c-pink: #c14c8a;    --cb-pink: rgba(183,0,78,.153);     --cf-pink: #68354e;    --ct-pink: #fbf1f5;
  --c-red: #d44c47;     --cb-red: rgba(206,24,0,.165);      --cf-red: #6d3531;     --ct-red: #fff2f0;
  --c-teal: #2b8a85;    --cb-teal: rgba(0,128,120,.15);     --cf-teal: #22524f;    --ct-teal: #ecf6f5;
  --lx-radius: 8px; --radius-lg: 12px; --block-max: 720px; --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif;
  --selection: rgba(35,131,226,.28);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #191919; --bg2: #202020; --bg3: #2c2c2c; --panel: #202020; --lx-card: #252525;
  --ink: #d4d4d4; --lx-muted: #7f7f7f; --faint: #666666;
  --line: #2f2f2f; --line2: #3d3d3d; --wash: rgba(255,255,255,.06); --wash2: rgba(255,255,255,.11);
  --tray: #141414; --lx-accent: #529cca; --accent-soft: rgba(82,156,202,.16); --canvas: #191919; --canvas-dot: #333333; --canvas-grid: #232323;
  --shadow: 0 0 0 1px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.3), 0 3px 10px rgba(0,0,0,.25);
  --shadow-lift: 0 0 0 1px rgba(255,255,255,.09), 0 3px 6px rgba(0,0,0,.3), 0 9px 24px rgba(0,0,0,.4);
  --shadow-peek: 0 0 0 1px rgba(255,255,255,.09), -6px 0 24px rgba(0,0,0,.5);
  --card-hover: #2c2c2c;
  --c-default: #d4d4d4; --cb-default: #373737; --cf-default: #d4d4d4;
  --c-gray: #9b9b9b;    --cb-gray: #373737;    --cf-gray: #9b9b9b;
  --c-brown: #ba856f;   --cb-brown: #434040;   --cf-brown: #ba856f;
  --c-orange: #c77d48;  --cb-orange: #594a3a;  --cf-orange: #c77d48;
  --c-yellow: #ca9849;  --cb-yellow: #59563b;  --cf-yellow: #ca9849;
  --c-green: #529e72;   --cb-green: #354c4b;   --cf-green: #529e72;
  --c-blue: #5e87c9;    --cb-blue: #364954;    --cf-blue: #5e87c9;
  --c-purple: #9d68d3;  --cb-purple: #443f57;  --cf-purple: #9d68d3;
  --c-pink: #d15796;    --cb-pink: #533b4c;    --cf-pink: #d15796;
  --c-red: #df5452;     --cb-red: #594141;     --cf-red: #df5452;
  --c-teal: #4dab9a;    --cb-teal: #2e4744;    --cf-teal: #4dab9a;
  --ct-default: #202020; --ct-gray: #212121; --ct-brown: #242120; --ct-orange: #261f1a; --ct-yellow: #24221a;
  --ct-green: #1b2321; --ct-blue: #1b2226; --ct-purple: #221f27; --ct-pink: #261d23; --ct-red: #271d1d; --ct-teal: #1a2423;
  color-scheme: dark;
}

/* desktop values */
:root {
  /* dots (DS_OPTION_*_DOT) */
  --c-default: #8e8b87; --c-gray: #8e8b87; --c-brown: #9f6b53; --c-orange: #d9730d; --c-yellow: #cb912f; --c-green: #448361; --c-blue: #337ea9; --c-purple: #9065b0; --c-pink: #c14c8a; --c-red: #d44c47; --c-teal: #2b8a83;
  /* grounds: page white, the window and sidebar warm grey (bg_secondary), a deeper warm grey (bg_tertiary) */
  --bg: #ffffff; --bg2: #f9f8f7; --bg3: #f0efed; --panel: #ffffff; --lx-card: #ffffff;
  /* text, text_secondary, text_tertiary */
  --ink: #2c2c2b; --lx-muted: #7d7a75; --faint: #a19e99;
  /* border, border_strong; wash_hover, wash_pressed */
  --line: #e6e5e3; --line2: #d4d3cf; --wash: rgba(33,27,23,.05); --wash2: rgba(33,27,23,.10);
  --tray: #f9f8f7; --lx-accent: #2783de; --accent-soft: rgba(39,131,222,.12);
  --canvas: #f7f7f7; --canvas-dot: #cdcdcd; --canvas-grid: #efeeec;
  --card-hover: #f9f8f7;
  /* the board card's two-step ink shadow (DS_BOARD_CARD_SHADOW_INK_1/_2) */
  --shadow: 0 0 0 1px rgba(15,15,15,.08), 0 2px 4px rgba(15,15,15,.05);
  --shadow-lift: 0 0 0 1px rgba(15,15,15,.08), 0 4px 12px rgba(15,15,15,.10), 0 16px 40px -12px rgba(15,15,15,.18);
  --shadow-peek: 0 0 0 1px rgba(15,15,15,.08), -6px 0 24px rgba(15,15,15,.08);
  /* chips: DS_OPTION_<HUE>_BG (tint) and _FG (text on tint); column tints are the same hue, much fainter */
  --cb-default: rgba(42,28,0,.07);   --cf-default: #494846; --ct-default: rgba(42,28,0,.035);
  --cb-gray: rgba(28,19,1,.11);      --cf-gray: #494846;    --ct-gray: rgba(28,19,1,.045);
  --cb-brown: rgba(127,51,0,.16);    --cf-brown: #584437;   --ct-brown: rgba(127,51,0,.04);
  --cb-orange: rgba(196,88,0,.20);   --cf-orange: #6a4222;  --ct-orange: rgba(196,88,0,.045);
  --cb-yellow: rgba(209,156,0,.28);  --cf-yellow: #655121;  --ct-yellow: rgba(209,156,0,.06);
  --cb-green: rgba(0,96,38,.16);     --cf-green: #2a533c;   --ct-green: rgba(0,96,38,.04);
  --cb-blue: rgba(0,118,217,.20);    --cf-blue: #264a72;    --ct-blue: rgba(0,118,217,.045);
  --cb-purple: rgba(92,0,163,.14);   --cf-purple: #553b69;  --ct-purple: rgba(92,0,163,.035);
  --cb-pink: rgba(183,0,78,.15);     --cf-pink: #68354e;    --ct-pink: rgba(183,0,78,.035);
  --cb-red: rgba(206,24,0,.16);      --cf-red: #6d3531;     --ct-red: rgba(206,24,0,.04);
  --cb-teal: rgba(0,120,110,.16);    --cf-teal: #24524e;    --ct-teal: rgba(0,120,110,.04);
  --lx-radius: 6px; --radius-lg: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --selection: rgba(39,131,222,.18);
  color-scheme: light;
  /* chips: square tinted chips, no dot (was a component rule in skins/desktop.css) */
  --chip-dot-radius: 4px; --chip-dot-pad: 0 6px; --chip-dot-gap: 0; --chip-dot-mark: none;
}
:root[data-theme="dark"] {
  --c-default: #7f7f7f; --c-gray: #8a8a8a; --c-brown: #a27763; --c-orange: #cb7b37; --c-yellow: #c19138; --c-green: #4f9768; --c-blue: #2e7cd1; --c-purple: #8d5bc1; --c-pink: #c94079; --c-red: #cd4945; --c-teal: #3f9c94;
  /* the dark set: bg, bg_secondary, bg_tertiary, bg_raised */
  --bg: #191919; --bg2: #202020; --bg3: #2c2c2c; --panel: #202020; --lx-card: #252525;
  --ink: #d4d4d4; --lx-muted: #8f8f8f; --faint: #666666;
  --line: #2f2f2f; --line2: #3d3d3d; --wash: rgba(255,255,255,.06); --wash2: rgba(255,255,255,.11);
  --tray: #202020; --lx-accent: #529cca; --accent-soft: rgba(82,156,202,.18);
  --canvas: #202020; --canvas-dot: #3a3a3a; --canvas-grid: #242424;
  --card-hover: #2c2c2c;
  --shadow: 0 0 0 1px rgba(255,255,255,.094), 0 2px 4px rgba(0,0,0,.3);
  --shadow-lift: 0 0 0 1px rgba(255,255,255,.094), 0 12px 32px -10px rgba(0,0,0,.6);
  --shadow-peek: 0 0 0 1px rgba(255,255,255,.094), -6px 0 24px rgba(0,0,0,.5);
  --cb-default: #373737; --cf-default: #d4d4d4; --ct-default: rgba(255,255,255,.03);
  --cb-gray: #474747;    --cf-gray: #d4d4d4;    --ct-gray: rgba(255,255,255,.035);
  --cb-brown: #4a3228;   --cf-brown: #e0cfc5;   --ct-brown: rgba(160,100,70,.07);
  --cb-orange: #5c3b23;  --cf-orange: #efd2b8;  --ct-orange: rgba(200,120,50,.07);
  --cb-yellow: #564328;  --cf-yellow: #ecdcb4;  --ct-yellow: rgba(200,150,50,.07);
  --cb-green: #243d30;   --cf-green: #c4e0cf;   --ct-green: rgba(70,150,100,.07);
  --cb-blue: #143a4e;    --cf-blue: #bcd9ee;    --ct-blue: rgba(50,130,200,.08);
  --cb-purple: #3c2d49;  --cf-purple: #dccbec;  --ct-purple: rgba(140,90,190,.07);
  --cb-pink: #4e2c3c;    --cf-pink: #edc7d9;    --ct-pink: rgba(200,70,120,.07);
  --cb-red: #522e2a;     --cf-red: #f0c6c2;     --ct-red: rgba(205,75,70,.07);
  --cb-teal: #1d3d3a;    --cf-teal: #bfe2de;    --ct-teal: rgba(60,155,148,.07);
  --selection: rgba(82,156,202,.28);
  color-scheme: dark;
}
