/* DSL Core — Design Tokens
 *
 * Scoped to [data-dslc]. Everything inherits from the theme.
 * No hardcoded colors, fonts, or surfaces.
 */

[data-dslc] {
    /* Brand + state colors — inherit from theme, no hardcoded fallback */
    --dslc-orange: inherit;
    --dslc-orange-hover: inherit;
    --dslc-orange-active: inherit;
    --dslc-orange-light: inherit;
    --dslc-orange-soft: transparent;
    --dslc-orange-ring: transparent;

    --dslc-navy: inherit;
    --dslc-navy-medium: inherit;
    --dslc-navy-light: inherit;

    /* Surfaces — transparent, let the theme's background show through */
    --dslc-bg-page: transparent;
    --dslc-bg-surface: transparent;
    --dslc-bg-surface-alt: transparent;
    --dslc-bg-elevated: transparent;
    --dslc-bg-inverse: transparent;

    /* Text — inherit everything */
    --dslc-text-primary: inherit;
    --dslc-text-secondary: inherit;
    --dslc-text-muted: inherit;
    --dslc-text-inverse: inherit;
    --dslc-text-link: inherit;

    /* Borders — currentColor so they match the inherited text */
    --dslc-border: currentColor;
    --dslc-border-strong: currentColor;
    --dslc-border-focus: currentColor;

    /* State colors — inherit; modules override per-module if they need semantic color */
    --dslc-success: inherit;
    --dslc-success-soft: transparent;
    --dslc-warning: inherit;
    --dslc-warning-soft: transparent;
    --dslc-error: inherit;
    --dslc-error-soft: transparent;
    --dslc-info: inherit;
    --dslc-info-soft: transparent;

    /* Typography — inherit font, weights, sizes from the theme */
    --dslc-font: inherit;
    --dslc-font-mono: inherit;

    --dslc-fs-xs: inherit;
    --dslc-fs-sm: inherit;
    --dslc-fs-body: inherit;
    --dslc-fs-lg: inherit;
    --dslc-fs-h3: inherit;
    --dslc-fs-h2: inherit;
    --dslc-fs-h1: inherit;
    --dslc-fs-display: inherit;

    --dslc-lh-tight: inherit;
    --dslc-lh-body: inherit;

    --dslc-fw-body: inherit;
    --dslc-fw-medium: inherit;
    --dslc-fw-heading: inherit;
    --dslc-fw-display: inherit;

    /* Radius, spacing, shadows — inherit */
    --dslc-radius-sm: 0;
    --dslc-radius-control: 0;
    --dslc-radius-card: 0;
    --dslc-radius-lg: 0;
    --dslc-radius-pill: 0;

    --dslc-sp-1: 0;
    --dslc-sp-2: 0;
    --dslc-sp-3: 0;
    --dslc-sp-4: 0;
    --dslc-sp-5: 0;
    --dslc-sp-6: 0;
    --dslc-sp-8: 0;
    --dslc-sp-10: 0;
    --dslc-sp-12: 0;
    --dslc-sp-16: 0;

    --dslc-shadow-subtle: none;
    --dslc-shadow-elevated: none;
    --dslc-ring: none;
    --dslc-shadow-focus: none;

    --dslc-spacing-section: 0;

    --dslc-num-font-feature: normal;

    --dslc-transition-fast: none;
    --dslc-transition: none;
    --dslc-transition-slow: none;
}
