@charset "UTF-8";
/* === DuckyOS theme base — font aliases, normalization, global typography ===
 * Color/spacing tokens: /static/ui/theme.css (from theme.json).
 * Every surface inherits theme fonts from here; feature CSS should use
 * var(--ducky-font-body|heading|mono), not hardcoded font stacks.
 */

:root {
  /* Aliases for legacy / component-specific var names */
  --ducky-font-sans: var(--ducky-font-body);
  --font-mono-admin: var(--ducky-font-mono);
  --font-1: var(--ducky-font-body);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  font-family: var(--ducky-font-body);
  font-size: 100%;
  line-height: 1.5;
  color: var(--ducky-color-text);
  background-color: var(--ducky-color-bg);
  scrollbar-gutter: stable;
}

html.ducky-scroll-lock {
  overflow: hidden;
  scrollbar-gutter: auto;
}

html.ducky-scroll-lock body {
  padding-right: var(--ducky-scroll-lock-gutter, 0);
}

body {
  font-family: inherit;
  color: inherit;
  background-color: inherit;
  line-height: inherit;
}

button,
input,
textarea,
select,
optgroup {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ducky-font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ducky-color-textStrong, var(--ducky-color-text));
}

code,
kbd,
samp,
pre,
.mono,
[class*="font-mono"] {
  font-family: var(--ducky-font-mono);
}

.ducky-font-body {
  font-family: var(--ducky-font-body);
}

.ducky-font-heading {
  font-family: var(--ducky-font-heading);
}

.ducky-font-mono {
  font-family: var(--ducky-font-mono);
}
