/* SlashKit workspace system. Semantic tokens shared by extension and Cloud surfaces. */
:root {
  color-scheme: light dark;
  --bg: #f6f7fa;
  --surface: #fff;
  --surface-muted: #f5f6f9;
  --surface-raised: #fff;
  --sidebar: #f0f1f6;
  --sidebar-text: #252735;
  --sidebar-muted: #666b7d;
  --text: #242735;
  --muted: #676d80;
  --subtle: #747a8d;
  --border: #dfe2eb;
  --border-strong: #cdd2df;
  --brand: #7654e8;
  --brand-hover: #6240d0;
  --brand-dark: #6240d0;
  --brand-text: #6746d2;
  --brand-soft: #eee9fb;
  --success: #157251;
  --success-soft: #e5f5ee;
  --danger: #b12f48;
  --danger-soft: #fff0f3;
  --warning: #93621c;
  --token-bg: #e0f5f9;
  --token-text: #086174;
  --focus: 0 0 0 3px rgb(118 84 232 / 25%);
  --shadow-sm: 0 1px 3px rgb(20 25 40 / 5%);
  --shadow-md: 0 18px 60px rgb(20 25 40 / 15%);
  --shadow: var(--shadow-md);
  --sidebar-width: clamp(220px, 19.5vw, 290px);
  --master-width: clamp(310px, 27.2vw, 404px);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #15171d;
    --surface: #1a1d25;
    --surface-muted: #20232c;
    --surface-raised: #21242e;
    --sidebar: #12151b;
    --sidebar-text: #eeedf5;
    --sidebar-muted: #969bac;
    --text: #f2f1f7;
    --muted: #a7acbd;
    --subtle: #9299ac;
    --border: #303541;
    --border-strong: #474e60;
    --brand: #8968ff;
    --brand-hover: #9d83ff;
    --brand-dark: #9d83ff;
    --brand-text: #b8a4ff;
    --brand-soft: #302943;
    --success: #7ad3b1;
    --success-soft: #193a30;
    --danger: #ff9aad;
    --danger-soft: #412731;
    --warning: #e9bd73;
    --token-bg: #78d7ec;
    --token-text: #073749;
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 10%);
    --shadow-md: 0 20px 70px rgb(0 0 0 / 35%);
  }
}
:root[data-theme='dark'] {
  --bg: #15171d;
  --surface: #1a1d25;
  --surface-muted: #20232c;
  --surface-raised: #21242e;
  --sidebar: #12151b;
  --sidebar-text: #eeedf5;
  --sidebar-muted: #969bac;
  --text: #f2f1f7;
  --muted: #a7acbd;
  --subtle: #9299ac;
  --border: #303541;
  --border-strong: #474e60;
  --brand: #8968ff;
  --brand-hover: #9d83ff;
  --brand-dark: #9d83ff;
  --brand-text: #b8a4ff;
  --brand-soft: #302943;
  --success: #7ad3b1;
  --success-soft: #193a30;
  --danger: #ff9aad;
  --danger-soft: #412731;
  --warning: #e9bd73;
  --token-bg: #78d7ec;
  --token-text: #073749;
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 10%);
  --shadow-md: 0 20px 70px rgb(0 0 0 / 35%);
}
:root[data-theme='light'] {
  color-scheme: light;
}
:root[data-theme='dark'] {
  color-scheme: dark;
}
