/* Shell-owned global base: full-height mount plus the theme token sheets.
 * The five ui-theme sheets are the sole token source (--dsw-*); the shell
 * links them here so tokens exist before any plugin CSS lands. scrollbar.css
 * follows design-platform.css because it reads that sheet's tokens. */
@import '@deepseek-ai/dsh-client-ui-theme/styles/base.css';
@import '@deepseek-ai/dsh-client-ui-theme/styles/design-platform.css';
@import '@deepseek-ai/dsh-client-ui-theme/styles/scrollbar.css';
@import '@deepseek-ai/dsh-client-ui-theme/styles/gradient-shadow-text.css';
@import '@deepseek-ai/dsh-client-ui-theme/styles/shiki.css';

html,
body,
#root {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--dsw-font-family);
  /* Grayscale antialiasing over subpixel rendering: WebKit/Blink and the
     Firefox macOS equivalent; other engines ignore both lines. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--dsw-alias-label-primary);
  background: var(--dsw-alias-bg-base);
}

/* Form controls don't inherit the body font (UA sheets pin their families —
   Chrome buttons fall back to Arial, textareas to monospace), so the app
   stack is re-applied to them explicitly, as upstream's global reset does. */
button,
input,
select,
textarea {
  font-family: inherit;
}
