@layer hito.tokens {
  :root {
    color-scheme: light dark;






    /* Reference tokens: raw reusable scales. */
    --ref-space-0: 0;
    --ref-space-px: 1px;
    --ref-space-0-5: 0.125rem;
    --ref-space-1: 0.25rem;
    --ref-space-1-5: 0.375rem;
    --ref-space-2: 0.5rem;
    --ref-space-2-5: 0.625rem;
    --ref-space-3: 0.75rem;
    --ref-space-3-5: 0.875rem;
    --ref-space-4: 1rem;
    --ref-space-5: 1.25rem;
    --ref-space-6: 1.5rem;
    --ref-space-7: 1.75rem;
    --ref-space-8: 2rem;
    --ref-space-9: 2.25rem;
    --ref-space-10: 2.5rem;
    --ref-space-11: 2.75rem;
    --ref-space-12: 3rem;
    --ref-space-14: 3.5rem;
    --ref-space-16: 4rem;
    --ref-space-20: 5rem;
    --ref-space-24: 6rem;
    --ref-space-28: 7rem;
    --ref-space-32: 8rem;
    --ref-space-36: 9rem;
    --ref-space-40: 10rem;
    --ref-space-44: 11rem;
    --ref-space-48: 12rem;
    --ref-space-52: 13rem;
    --ref-space-56: 14rem;
    --ref-space-60: 15rem;
    --ref-space-64: 16rem;
    --ref-space-72: 18rem;
    --ref-space-80: 20rem;
    --ref-space-96: 24rem;
    --ref-font-weight-400: 400;
    --ref-font-weight-500: 500;
    --ref-font-weight-600: 600;
    --ref-font-weight-700: 700;
    --ref-font-tracking-tight: -0.02em;
    --ref-font-tracking-slightly-tight: -0.01em;
    --ref-font-tracking-normal: 0;
    --ref-font-tracking-wide: 0.02em;
    --ref-font-tracking-wider: 0.04em;
    --ref-font-tracking-caps: 0.08em;
    --ref-font-tracking-expanded: 0.12em;
    --type-emphasis-regular: var(--ref-font-weight-400);
    --type-emphasis-medium: var(--ref-font-weight-500);
    --type-emphasis-strong: var(--ref-font-weight-600);
    --type-emphasis-bold: var(--ref-font-weight-700);
    --type-family-base: var(--font-hito-base-selection, var(--font-hito-base-source, "Instrument Sans")), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --type-family-display: var(--font-hito-display-selection, var(--font-hito-display-source, "Poppins")), var(--font-hito-base-selection, var(--font-hito-base-source, "Instrument Sans")), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --type-family-mono: var(--font-hito-mono-selection, var(--font-hito-mono-source, "Fira Mono")), ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --type-ui-sm-font-size: var(--ref-space-3);
    --type-ui-sm-line-height: 1.3333;
    --type-ui-sm-letter-spacing: var(--ref-font-tracking-normal);
    --type-ui-sm-font-weight: var(--type-emphasis-medium);
    --type-ui-md-font-size: var(--ref-space-3-5);
    --type-ui-md-line-height: 1.4286;
    --type-ui-md-letter-spacing: var(--ref-font-tracking-normal);
    --type-ui-md-font-weight: var(--type-emphasis-medium);
    --type-ui-lg-font-size: var(--ref-space-4);
    --type-ui-lg-line-height: 1.5;
    --type-ui-lg-letter-spacing: var(--ref-font-tracking-normal);
    --type-ui-lg-font-weight: var(--type-emphasis-medium);
    --type-ui-xl-font-size: var(--ref-space-5);
    --type-ui-xl-line-height: 1.4;
    --type-ui-xl-letter-spacing: var(--ref-font-tracking-normal);
    --type-ui-xl-font-weight: var(--type-emphasis-medium);
    --type-label-sm-font-size: var(--ref-space-3);
    --type-label-sm-line-height: 1.3333;
    --type-label-sm-letter-spacing: var(--ref-font-tracking-normal);
    --type-label-sm-font-weight: var(--type-emphasis-medium);
    --type-label-base-font-size: var(--ref-space-3-5);
    --type-label-base-line-height: 1.4286;
    --type-label-base-letter-spacing: var(--ref-font-tracking-normal);
    --type-label-base-font-weight: var(--type-emphasis-medium);
    --type-label-lg-font-size: var(--ref-space-4);
    --type-label-lg-line-height: 1.5;
    --type-label-lg-letter-spacing: var(--ref-font-tracking-normal);
    --type-label-lg-font-weight: var(--type-emphasis-medium);
    --type-label-eyebrow-font-size: var(--ref-space-2-5);
    --type-label-eyebrow-line-height: 1.2;
    --type-label-eyebrow-letter-spacing: var(--ref-font-tracking-caps);
    --type-label-eyebrow-font-weight: var(--type-emphasis-strong);
    --type-body-sm-font-size: var(--ref-space-3-5);
    --type-body-sm-line-height: 1.4286;
    --type-body-sm-letter-spacing: var(--ref-font-tracking-normal);
    --type-body-sm-font-weight: var(--type-emphasis-regular);
    --type-body-base-font-size: var(--ref-space-4);
    --type-body-base-line-height: 1.5;
    --type-body-base-letter-spacing: var(--ref-font-tracking-normal);
    --type-body-base-font-weight: var(--type-emphasis-regular);
    --type-body-md-font-size: var(--ref-space-5);
    --type-body-md-line-height: 1.4;
    --type-body-md-letter-spacing: var(--ref-font-tracking-normal);
    --type-body-md-font-weight: var(--type-emphasis-regular);
    --type-body-lg-font-size: var(--ref-space-6);
    --type-body-lg-line-height: 1.5;
    --type-body-lg-letter-spacing: var(--ref-font-tracking-normal);
    --type-body-lg-font-weight: var(--type-emphasis-regular);
    --type-heading-sm-font-size: var(--ref-space-5);
    --type-heading-sm-line-height: 1.2;
    --type-heading-sm-letter-spacing: var(--ref-font-tracking-slightly-tight);
    --type-heading-sm-font-weight: var(--type-emphasis-strong);
    --type-heading-base-font-size: var(--ref-space-6);
    --type-heading-base-line-height: 1.3333;
    --type-heading-base-letter-spacing: var(--ref-font-tracking-slightly-tight);
    --type-heading-base-font-weight: var(--type-emphasis-strong);
    --type-heading-md-font-size: var(--ref-space-7);
    --type-heading-md-line-height: 1.2857;
    --type-heading-md-letter-spacing: var(--ref-font-tracking-slightly-tight);
    --type-heading-md-font-weight: var(--type-emphasis-strong);
    --type-heading-lg-font-size: var(--ref-space-8);
    --type-heading-lg-line-height: 1.125;
    --type-heading-lg-letter-spacing: var(--ref-font-tracking-slightly-tight);
    --type-heading-lg-font-weight: var(--type-emphasis-strong);
    --type-heading-xl-font-size: var(--ref-space-10);
    --type-heading-xl-line-height: 1.1;
    --type-heading-xl-letter-spacing: var(--ref-font-tracking-slightly-tight);
    --type-heading-xl-font-weight: var(--type-emphasis-strong);
    --type-technical-sm-font-size: var(--ref-space-3);
    --type-technical-sm-line-height: 1.3333;
    --type-technical-sm-letter-spacing: var(--ref-font-tracking-normal);
    --type-technical-sm-font-weight: var(--type-emphasis-regular);
    --type-data-sm-font-size: var(--ref-space-3);
    --type-data-sm-line-height: 1.3333;
    --type-data-sm-letter-spacing: var(--ref-font-tracking-normal);
    --type-data-sm-font-weight: var(--type-emphasis-regular);
    --type-data-base-font-size: var(--ref-space-3-5);
    --type-data-base-line-height: 1.4286;
    --type-data-base-letter-spacing: var(--ref-font-tracking-normal);
    --type-data-base-font-weight: var(--type-emphasis-regular);
    --type-data-lg-font-size: var(--ref-space-4);
    --type-data-lg-line-height: 1.5;
    --type-data-lg-letter-spacing: var(--ref-font-tracking-normal);
    --type-data-lg-font-weight: var(--type-emphasis-regular);
    --type-display-hero-font-size: clamp(
      var(--ref-space-10),
      calc(2rem + 2.5vw),
      var(--ref-space-12)
    );
    --type-display-hero-line-height: clamp(
      var(--ref-space-12),
      calc(2.5rem + 2.5vw),
      var(--ref-space-14)
    );
    --type-display-hero-letter-spacing: var(--ref-font-tracking-tight);
    --type-display-hero-font-weight: var(--type-emphasis-strong);
    --type-display-section-font-size: var(--ref-space-8);
    --type-display-section-line-height: 1.25;
    --type-display-section-letter-spacing: var(
      --ref-font-tracking-slightly-tight
    );
    --type-display-section-font-weight: var(--type-emphasis-strong);
    --type-display-subtitle-font-size: var(--ref-space-6);
    --type-display-subtitle-line-height: 1.3333;
    --type-display-subtitle-letter-spacing: var(--ref-font-tracking-normal);
    --type-display-subtitle-font-weight: var(--type-emphasis-regular);
    --type-display-eyebrow-font-size: var(--ref-space-3);
    --type-display-eyebrow-line-height: 1.3333;
    --type-display-eyebrow-letter-spacing: var(--ref-font-tracking-caps);
    --type-display-eyebrow-font-weight: var(--type-emphasis-strong);
    --radius-scale: 1;
    --ref-radius-full: 9999px;
    --ref-border-width-0: 0;
    --ref-border-width-1: 1px;
    --ref-border-width-2: 2px;
    --ref-shadow-offset-x-0: 0;
    --ref-shadow-offset-x-1: 1px;
    --ref-shadow-offset-x-2: 2px;
    --ref-shadow-offset-x-4: 4px;
    --ref-shadow-offset-y-0: 0;
    --ref-shadow-offset-y-1: 1px;
    --ref-shadow-offset-y-2: 2px;
    --ref-shadow-offset-y-4: 4px;
    --ref-shadow-offset-y-8: 8px;
    --ref-shadow-blur-2: 2px;
    --ref-shadow-blur-4: 4px;
    --ref-shadow-blur-12: 12px;
    --ref-shadow-blur-16: 16px;
    --ref-shadow-blur-24: 24px;
    --ref-shadow-blur-48: 48px;
    --ref-shadow-spread-0: 0;
    --ref-color-neutral-50: #f6f3ee;
    --ref-color-neutral-100: #f0eae5;
    --ref-color-neutral-200: #e3d8d6;
    --ref-color-neutral-300: #cac1c8;
    --ref-color-neutral-400: #b0a8b0;
    --ref-color-neutral-500: #948c96;
    --ref-color-neutral-600: #79717b;
    --ref-color-neutral-700: #615b63;
    --ref-color-neutral-800: #4b464d;
    --ref-color-neutral-900: #353138;
    --ref-color-neutral-950: #201e23;
    --ref-color-neutral-1000: #0e0c0f;
    --ref-color-blue-50: #edf7fe;
    --ref-color-blue-100: #daeefe;
    --ref-color-blue-200: #bbe0fe;
    --ref-color-blue-300: #91cffe;
    --ref-color-blue-400: #62bdfe;
    --ref-color-blue-500: #12abfe;
    --ref-color-blue-600: #0690de;
    --ref-color-blue-700: #0373b9;
    --ref-color-blue-800: #005894;
    --ref-color-blue-900: #013e6f;
    --ref-color-blue-950: #012950;
    --ref-color-blue-1000: #001630;
    --ref-color-green-50: #f2fdf2;
    --ref-color-green-100: #e1f9e1;
    --ref-color-green-200: #c3f4c5;
    --ref-color-green-300: #95e89e;
    --ref-color-green-400: #61d779;
    --ref-color-green-500: #2fbc56;
    --ref-color-green-600: #279c47;
    --ref-color-green-700: #177531;
    --ref-color-green-800: #16612d;
    --ref-color-green-900: #134924;
    --ref-color-green-950: #092913;
    --ref-color-green-1000: #031107;
    --ref-color-red-50: #fff4f4;
    --ref-color-red-100: #ffe6e5;
    --ref-color-red-200: #ffcfcd;
    --ref-color-red-300: #ffaaa8;
    --ref-color-red-400: #ff7a7a;
    --ref-color-red-500: #f94047;
    --ref-color-red-600: #d62b32;
    --ref-color-red-700: #b01e25;
    --ref-color-red-800: #8f0d1b;
    --ref-color-red-900: #6d1119;
    --ref-color-red-950: #3f060b;
    --ref-color-red-1000: #1e0305;
    --ref-color-orange-50: #fff3e6;
    --ref-color-orange-100: #ffe6d0;
    --ref-color-orange-200: #ffd0ac;
    --ref-color-orange-300: #feb989;
    --ref-color-orange-400: #ffa064;
    --ref-color-orange-500: #f6843c;
    --ref-color-orange-600: #dc6414;
    --ref-color-orange-700: #b84b03;
    --ref-color-orange-800: #933700;
    --ref-color-orange-900: #6d2602;
    --ref-color-orange-950: #4b1a07;
    --ref-color-orange-1000: #2d0d03;
    --ref-color-brand-50: #EFF6FF;
    --ref-color-brand-100: #DBEAFE;
    --ref-color-brand-200: #BFDBFE;
    --ref-color-brand-300: #93C5FD;
    --ref-color-brand-400: #60A5FA;
    --ref-color-brand-500: #3B82F6;
    --ref-color-brand-600: #2563EB;
    --ref-color-brand-700: #1D4ED8;
    --ref-color-brand-800: #1E40AF;
    --ref-color-brand-900: #1E3A8A;
    --ref-color-brand-950: #172554;
    --ref-color-brand-1000: #0B122B;
    --ref-color-pink-50: #fef1f7;
    --ref-color-pink-100: #fee2ef;
    --ref-color-pink-200: #ffcee5;
    --ref-color-pink-300: #feafd7;
    --ref-color-pink-400: #ef91c6;
    --ref-color-pink-500: #da72b2;
    --ref-color-pink-600: #c1569e;
    --ref-color-pink-700: #a24287;
    --ref-color-pink-800: #81336e;
    --ref-color-pink-900: #602654;
    --ref-color-pink-950: #411b3a;
    --ref-color-pink-1000: #270e22;
    --ref-color-yellow-50: #fef8e6;
    --ref-color-yellow-100: #fff1cd;
    --ref-color-yellow-200: #fee29f;
    --ref-color-yellow-300: #fcd271;
    --ref-color-yellow-400: #fdc43f;
    --ref-color-yellow-500: #febb05;
    --ref-color-yellow-600: #d49807;
    --ref-color-yellow-700: #ad7707;
    --ref-color-yellow-800: #865903;
    --ref-color-yellow-900: #643e00;
    --ref-color-yellow-950: #452903;
    --ref-color-yellow-1000: #281601;
    --ref-color-basic-white: #ffffff;
    --ref-color-basic-black: #000000;
    --ref-opacity-0: 0;
    --ref-opacity-4: 0.04;
    --ref-opacity-8: 0.08;
    --ref-opacity-12: 0.12;
    --ref-opacity-16: 0.16;
    --ref-opacity-24: 0.24;
    --ref-opacity-32: 0.32;
    --ref-opacity-48: 0.48;
    --ref-opacity-64: 0.64;
    --ref-opacity-80: 0.8;
    --ref-opacity-100: 1;
    --ref-duration-0: 0ms;
    --ref-duration-120: 120ms;
    --ref-duration-200: 200ms;
    --ref-duration-320: 320ms;
    --ref-duration-480: 480ms;

    /* Surface layers and contextual composition. */
    --color-surface-canvas: var(--ref-color-basic-white);
    --color-surface-base: var(--ref-color-basic-white);
    --color-surface-raised: var(--ref-color-basic-white);
    --color-surface-overlay: var(--ref-color-basic-white);
    --color-surface-subtle: rgb(from currentColor r g b / var(--ref-opacity-8));
    --color-surface-scrim: rgb(
      from var(--ref-color-basic-black) r g b / var(--ref-opacity-64)
    );

    /* Intent Surface roles: translucent subtle states, opaque strong states and paired foreground. */
    --color-surface-neutral-subtle-default: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-4)
    );
    --color-surface-neutral-subtle-hover: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-8)
    );
    --color-surface-neutral-subtle-pressed: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-12)
    );
    --color-surface-neutral-strong-default: var(--ref-color-neutral-950);
    --color-surface-neutral-strong-hover: var(--ref-color-neutral-800);
    --color-surface-neutral-strong-pressed: var(--ref-color-neutral-700);
    --color-foreground-on-neutral-strong: var(--ref-color-basic-white);
    --color-surface-accent-subtle-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-8));
    --color-surface-accent-subtle-hover: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-12));
    --color-surface-accent-subtle-pressed: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-16));
    --color-surface-accent-strong-default: var(--ref-color-brand-600);
    --color-surface-accent-strong-hover: var(--ref-color-brand-700);
    --color-surface-accent-strong-pressed: var(--ref-color-brand-800);
    --color-foreground-on-accent-strong: var(--ref-color-basic-white);
    --color-surface-info-subtle-default: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-info-subtle-hover: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-info-subtle-pressed: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-info-strong-default: var(--ref-color-blue-700);
    --color-surface-info-strong-hover: var(--ref-color-blue-800);
    --color-surface-info-strong-pressed: var(--ref-color-blue-900);
    --color-foreground-on-info-strong: var(--ref-color-basic-white);
    --color-surface-success-subtle-default: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-success-subtle-hover: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-success-subtle-pressed: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-success-strong-default: var(--ref-color-green-700);
    --color-surface-success-strong-hover: var(--ref-color-green-800);
    --color-surface-success-strong-pressed: var(--ref-color-green-900);
    --color-foreground-on-success-strong: var(--ref-color-basic-white);
    --color-surface-warning-subtle-default: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-warning-subtle-hover: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-warning-subtle-pressed: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-warning-strong-default: var(--ref-color-orange-700);
    --color-surface-warning-strong-hover: var(--ref-color-orange-800);
    --color-surface-warning-strong-pressed: var(--ref-color-orange-900);
    --color-foreground-on-warning-strong: var(--ref-color-basic-white);
    --color-surface-destructive-subtle-default: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-destructive-subtle-hover: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-destructive-subtle-pressed: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-destructive-strong-default: var(--ref-color-red-700);
    --color-surface-destructive-strong-hover: var(--ref-color-red-800);
    --color-surface-destructive-strong-pressed: var(--ref-color-red-900);
    --color-foreground-on-destructive-strong: var(--ref-color-basic-white);

    /* Accepted text hierarchy, validation error and content intents remain independent from typography metrics. */
    --color-text-primary: var(--ref-color-neutral-950);
    --color-text-secondary: var(--ref-color-neutral-800);
    --color-text-muted: var(--ref-color-neutral-700);
    --color-text-disabled: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-48)
    );
    --color-text-error-default: var(--ref-color-red-700);
    --color-text-accent-default: var(--ref-color-brand-700);
    --color-text-accent-hover: var(--ref-color-brand-800);
    --color-text-info-default: var(--ref-color-blue-700);
    --color-text-info-hover: var(--ref-color-blue-800);
    --color-text-success-default: var(--ref-color-green-700);
    --color-text-success-hover: var(--ref-color-green-800);
    --color-text-destructive-default: var(--ref-color-red-700);
    --color-text-destructive-hover: var(--ref-color-red-800);
    --color-text-warning-default: var(--ref-color-orange-700);
    --color-text-warning-hover: var(--ref-color-orange-800);

    /* Semantic border colors: quiet structure plus intent states, independent of width. */
    --color-border-subtle: rgb(from currentColor r g b / var(--ref-opacity-12));
    --color-border-default: rgb(
      from currentColor r g b / var(--ref-opacity-24)
    );
    --color-border-strong: rgb(from currentColor r g b / var(--ref-opacity-48));
    --color-border-disabled: rgb(
      from currentColor r g b / var(--ref-opacity-12)
    );
    --color-border-accent-subtle: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-24));
    --color-border-accent-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-64));
    --color-border-accent-hover: rgb(from var(--ref-color-brand-800) r g b / var(--ref-opacity-80));
    --color-border-info-subtle: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-24)
    );
    --color-border-info-default: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-64)
    );
    --color-border-info-hover: rgb(
      from var(--ref-color-blue-800) r g b / var(--ref-opacity-80)
    );
    --color-border-success-subtle: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-24)
    );
    --color-border-success-default: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-64)
    );
    --color-border-success-hover: rgb(
      from var(--ref-color-green-800) r g b / var(--ref-opacity-80)
    );
    --color-border-warning-subtle: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-24)
    );
    --color-border-warning-default: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-64)
    );
    --color-border-warning-hover: rgb(
      from var(--ref-color-orange-800) r g b / var(--ref-opacity-80)
    );
    --color-border-destructive-subtle: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-24)
    );
    --color-border-destructive-default: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-64)
    );
    --color-border-destructive-hover: rgb(
      from var(--ref-color-red-800) r g b / var(--ref-opacity-80)
    );

    /* Semantic icon colors. Disabled is one universal state, never an intent matrix. */
    --color-icon-default: var(--ref-color-neutral-950);
    --color-icon-secondary: var(--ref-color-neutral-800);
    --color-icon-muted: var(--ref-color-neutral-700);
    --color-icon-disabled: rgb(
      from var(--color-icon-default) r g b / var(--ref-opacity-48)
    );
    --color-icon-accent-default: var(--ref-color-brand-700);
    --color-icon-accent-hover: var(--ref-color-brand-800);
    --color-icon-info-default: var(--ref-color-blue-700);
    --color-icon-info-hover: var(--ref-color-blue-800);
    --color-icon-success-default: var(--ref-color-green-700);
    --color-icon-success-hover: var(--ref-color-green-800);
    --color-icon-warning-default: var(--ref-color-orange-700);
    --color-icon-warning-hover: var(--ref-color-orange-800);
    --color-icon-destructive-default: var(--ref-color-red-700);
    --color-icon-destructive-hover: var(--ref-color-red-800);

    /* Admitted Button aliases: local hierarchy corrections composed from registry tokens. */
    --button-primary-accent-background-default: var(--ref-color-brand-600);
    --button-primary-accent-background-hover: var(--ref-color-brand-700);
    --button-primary-accent-background-pressed: var(--ref-color-brand-800);
    --button-primary-accent-foreground: var(--ref-color-basic-white);
    --button-primary-success-background-default: var(--ref-color-green-700);
    --button-primary-success-background-hover: var(--ref-color-green-800);
    --button-primary-success-background-pressed: var(--ref-color-green-900);
    --button-primary-success-foreground: var(--ref-color-basic-white);
    --button-primary-destructive-background-default: var(--ref-color-red-600);
    --button-primary-destructive-background-hover: var(--ref-color-red-700);
    --button-primary-destructive-background-pressed: var(--ref-color-red-800);
    --button-primary-destructive-foreground: var(--ref-color-basic-white);
    --button-destructive-foreground-default: var(--ref-color-red-800);
    --button-destructive-foreground-hover: var(--ref-color-red-700);
    --button-secondary-neutral-border: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-32)
    );
    --button-secondary-accent-border: rgb(
      from var(--color-text-accent-default) r g b / var(--ref-opacity-32)
    );
    --button-secondary-success-border: rgb(
      from var(--ref-color-green-500) r g b / var(--ref-opacity-32)
    );
    --button-secondary-destructive-border: rgb(
      from var(--ref-color-red-500) r g b / var(--ref-opacity-32)
    );

    /* Editable text controls share one orange editing boundary. */
    --editable-text-editing-border: var(--color-border-accent-hover);

    /* Focus uses one opaque outer outline selected by the perimeter Surface. */
    --color-focus-on-light: var(--ref-color-neutral-950);
    --color-focus-on-dark: var(--ref-color-basic-white);

    /* Semantic geometry and focus: components consume these roles, never raw references. */
    --radius-shape-round: var(--ref-radius-full);
    --avatar-size-xs: var(--ref-space-6);
    --avatar-size-sm: var(--ref-space-10);
    --avatar-size-md: var(--ref-space-20);
    --avatar-size-lg: var(--ref-space-40);
    --avatar-icon-size-xs: var(--ref-space-4);
    --avatar-icon-size-sm: var(--ref-space-5);
    --avatar-icon-size-md: var(--ref-space-8);
    --avatar-icon-size-lg: var(--ref-space-16);
    --avatar-radius-xs: var(--radius-ui-xs);
    --avatar-radius-sm: var(--radius-ui-lg);
    --avatar-radius-md: var(--radius-ui-xl);
    --avatar-radius-lg: var(--radius-layout-fixed-xl);
    --color-foreground-on-scrim: var(--ref-color-basic-white);
    --switch-thumb-radius: var(--ref-space-1-5);
    --checkbox-radius-sm: var(--ref-space-1);
    --checkbox-radius-base: var(--ref-space-1-5);
    --radius-ui-xs: calc(var(--ref-space-1) * var(--radius-scale));
    --radius-ui-sm: calc(var(--ref-space-1) * var(--radius-scale));
    --radius-ui-md: calc(var(--ref-space-1-5) * var(--radius-scale));
    --radius-ui-lg: calc(var(--ref-space-2) * var(--radius-scale));
    --radius-ui-xl: calc(var(--ref-space-3) * var(--radius-scale));
    --selection-panel-radius-sm: calc(var(--radius-ui-sm) + var(--ui-space-2xs));
    --selection-panel-radius-md: calc(var(--radius-ui-md) + var(--ui-space-xs));
    --selection-panel-radius-lg: calc(var(--radius-ui-lg) + var(--ui-space-sm));
    --tabs-segmented-outer-radius-sm: max(calc(var(--ref-space-2-5) * var(--radius-scale)), calc(var(--radius-ui-sm) + var(--ui-space-2xs)));
    --tabs-segmented-outer-radius-md: max(calc(var(--ref-space-3) * var(--radius-scale)), calc(var(--radius-ui-md) + var(--ui-space-2xs)));
    --radius-layout-fixed-xs: calc(var(--ref-space-1-5) * var(--radius-scale));
    --radius-layout-fixed-sm: calc(var(--ref-space-2) * var(--radius-scale));
    --radius-layout-fixed-md: calc(var(--ref-space-3) * var(--radius-scale));
    --radius-layout-fixed-lg: calc(var(--ref-space-4) * var(--radius-scale));
    --radius-layout-fixed-xl: calc(var(--ref-space-6) * var(--radius-scale));
    --radius-layout-fixed-2xl: calc(var(--ref-space-8) * var(--radius-scale));
    --radius-layout-responsive-outer: calc(var(--ref-space-2) * var(--radius-scale));
    --card-radius-responsive-compact: var(--radius-layout-fixed-md);
    --card-radius-responsive-comfortable: var(--radius-layout-fixed-xl);
    --border-width-default: var(--ref-border-width-1);
    --border-width-strong: var(--ref-border-width-2);
    --focus-indicator-width: var(--ref-border-width-2);
    --focus-indicator-offset: 2px;
    --focus-indicator-color: var(--color-focus-on-light);

    /* Elevation composes a directional key and diffuse ambient contribution. */
    --elevation-opacity-key: var(--ref-opacity-16);
    --elevation-opacity-ambient: var(--ref-opacity-8);
    --elevation-tint-key-default: var(--ref-color-neutral-950);
    --elevation-tint-ambient-neutral: var(--ref-color-neutral-950);
    --elevation-tint-ambient-accent: var(--ref-color-brand-700);
    --elevation-tint-ambient-info: var(--ref-color-blue-700);
    --elevation-tint-ambient-success: var(--ref-color-green-700);
    --elevation-tint-ambient-warning: var(--ref-color-orange-700);
    --elevation-tint-ambient-destructive: var(--ref-color-red-700);
    --elevation-key-tint: var(--elevation-tint-key-default);
    --elevation-ambient-tint: var(--elevation-tint-ambient-neutral);
    --elevation-none: none;

    /* Motion roles compose property, duration and easing; reduced values do not rewrite refs. */
    --spinner-stroke-width: var(--border-width-strong);
    --spinner-track-opacity: var(--ref-opacity-16);
    --spinner-arc-head-opacity: var(--ref-opacity-100);
    --spinner-arc-tail-opacity: var(--ref-opacity-0);
    --motion-duration-instant: var(--ref-duration-0);
    --motion-duration-feedback: var(--ref-duration-120);
    --motion-duration-transition: var(--ref-duration-200);
    --motion-duration-reveal: var(--ref-duration-320);
    --motion-duration-emphasis: var(--ref-duration-480);
    --button-loading-cycle-duration: calc(
      var(--motion-duration-emphasis) + var(--motion-duration-emphasis)
    );
    --motion-easing-linear: linear;
    --motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
    --motion-easing-enter: cubic-bezier(0, 0, 0.2, 1);
    --motion-easing-exit: cubic-bezier(0.4, 0, 1, 1);
    --motion-reduced-spatial-duration: var(--motion-duration-instant);
    --motion-reduced-fade-duration: var(--motion-duration-feedback);
    --motion-reduced-fade-easing: var(--motion-easing-standard);

    /* Fixed semantic UI spacing: internal padding and gaps, independent of viewport. */
    --ui-space-3xs: var(--ref-space-0-5);
    --ui-space-2xs: var(--ref-space-1);
    --ui-space-xs: var(--ref-space-1-5);
    --ui-space-sm: var(--ref-space-2);
    --ui-space-md: var(--ref-space-2-5);
    --ui-space-lg: var(--ref-space-3);
    --ui-space-xl: var(--ref-space-3-5);
    --ui-space-2xl: var(--ref-space-4);
    --ui-space-3xl: var(--ref-space-5);
    --ui-space-4xl: var(--ref-space-6);
    --ui-space-5xl: var(--ref-space-7);

    /* Fixed UI sizing: selected component sizes never change with viewport. */
    --ui-control-height-sm: var(--ref-space-7);
    --ui-control-height-md: var(--ref-space-9);
    --ui-control-height-lg: var(--ref-space-11);
    --ui-control-height-xl: var(--ref-space-14);
    --ui-interaction-target-min: var(--ref-space-11);
    --ui-icon-size-sm: var(--ref-space-4);
    --ui-icon-size-md: var(--ref-space-5);
    --ui-icon-size-lg: var(--ref-space-6);
    --ui-icon-size-xl: var(--ref-space-7);

    /* Fixed layout spacing: composition roles independent of viewport and CSS property. */
    --layout-space-fixed-xs: var(--ref-space-1);
    --layout-space-fixed-sm: var(--ref-space-2);
    --layout-space-fixed-md: var(--ref-space-3);
    --layout-space-fixed-lg: var(--ref-space-4);
    --layout-space-fixed-xl: var(--ref-space-6);
    --layout-space-fixed-2xl: var(--ref-space-8);

    /* Responsive layout spacing: mobile-first composition values. */
    --layout-space-responsive-xs: var(--ref-space-1);
    --layout-space-responsive-sm: var(--ref-space-3);
    --layout-space-responsive-md: var(--ref-space-3);
    --layout-space-responsive-lg: var(--ref-space-4);
    --layout-space-responsive-xl: var(--ref-space-6);
    --layout-space-responsive-2xl: var(--ref-space-8);

  }

  @media (prefers-color-scheme: dark) {
    :root {
      --color-surface-canvas: var(--ref-color-neutral-1000);
      --color-surface-base: var(--ref-color-neutral-950);
      --color-surface-raised: var(--ref-color-neutral-900);
      --color-surface-overlay: var(--ref-color-neutral-950);
      --color-surface-neutral-subtle-default: rgb(
        from var(--ref-color-neutral-50) r g b / var(--ref-opacity-4)
      );
      --color-surface-neutral-subtle-hover: rgb(
        from var(--ref-color-neutral-50) r g b / var(--ref-opacity-8)
      );
      --color-surface-neutral-subtle-pressed: rgb(
        from var(--ref-color-neutral-50) r g b / var(--ref-opacity-12)
      );
      --color-surface-neutral-strong-default: var(--ref-color-neutral-50);
      --color-surface-neutral-strong-hover: var(--ref-color-neutral-200);
      --color-surface-neutral-strong-pressed: var(--ref-color-neutral-300);
      --color-foreground-on-neutral-strong: var(--ref-color-neutral-950);
      --color-surface-accent-subtle-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-8));
      --color-surface-accent-subtle-hover: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-12));
      --color-surface-accent-subtle-pressed: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-16));
      --color-surface-accent-strong-default: var(--ref-color-brand-600);
      --color-surface-accent-strong-hover: var(--ref-color-brand-700);
      --color-surface-accent-strong-pressed: var(--ref-color-brand-800);
      --color-foreground-on-accent-strong: var(--ref-color-basic-white);
      --color-surface-info-subtle-default: rgb(
        from var(--ref-color-blue-400) r g b / var(--ref-opacity-8)
      );
      --color-surface-info-subtle-hover: rgb(
        from var(--ref-color-blue-400) r g b / var(--ref-opacity-12)
      );
      --color-surface-info-subtle-pressed: rgb(
        from var(--ref-color-blue-400) r g b / var(--ref-opacity-16)
      );
      --color-surface-info-strong-default: var(--ref-color-blue-400);
      --color-surface-info-strong-hover: var(--ref-color-blue-300);
      --color-surface-info-strong-pressed: var(--ref-color-blue-200);
      --color-foreground-on-info-strong: var(--ref-color-neutral-950);
      --color-surface-success-subtle-default: rgb(
        from var(--ref-color-green-300) r g b / var(--ref-opacity-8)
      );
      --color-surface-success-subtle-hover: rgb(
        from var(--ref-color-green-300) r g b / var(--ref-opacity-12)
      );
      --color-surface-success-subtle-pressed: rgb(
        from var(--ref-color-green-300) r g b / var(--ref-opacity-16)
      );
      --color-surface-success-strong-default: var(--ref-color-green-300);
      --color-surface-success-strong-hover: var(--ref-color-green-200);
      --color-surface-success-strong-pressed: var(--ref-color-green-100);
      --color-foreground-on-success-strong: var(--ref-color-neutral-950);
      --color-surface-warning-subtle-default: rgb(
        from var(--ref-color-orange-300) r g b / var(--ref-opacity-8)
      );
      --color-surface-warning-subtle-hover: rgb(
        from var(--ref-color-orange-300) r g b / var(--ref-opacity-12)
      );
      --color-surface-warning-subtle-pressed: rgb(
        from var(--ref-color-orange-300) r g b / var(--ref-opacity-16)
      );
      --color-surface-warning-strong-default: var(--ref-color-orange-300);
      --color-surface-warning-strong-hover: var(--ref-color-orange-200);
      --color-surface-warning-strong-pressed: var(--ref-color-orange-100);
      --color-foreground-on-warning-strong: var(--ref-color-neutral-950);
      --color-surface-destructive-subtle-default: rgb(
        from var(--ref-color-red-300) r g b / var(--ref-opacity-8)
      );
      --color-surface-destructive-subtle-hover: rgb(
        from var(--ref-color-red-300) r g b / var(--ref-opacity-12)
      );
      --color-surface-destructive-subtle-pressed: rgb(
        from var(--ref-color-red-300) r g b / var(--ref-opacity-16)
      );
      --color-surface-destructive-strong-default: var(--ref-color-red-300);
      --color-surface-destructive-strong-hover: var(--ref-color-red-200);
      --color-surface-destructive-strong-pressed: var(--ref-color-red-100);
      --color-foreground-on-destructive-strong: var(--ref-color-neutral-950);
      --color-text-primary: var(--ref-color-neutral-50);
      --color-text-secondary: var(--ref-color-neutral-300);
      --color-text-muted: var(--ref-color-neutral-400);
      --color-text-disabled: rgb(
        from var(--color-text-primary) r g b / var(--ref-opacity-48)
      );
      --color-text-error-default: var(--ref-color-red-300);
      --color-text-accent-default: var(--ref-color-brand-700);
      --color-text-accent-hover: var(--ref-color-brand-800);
      --color-text-info-default: var(--ref-color-blue-400);
      --color-text-info-hover: var(--ref-color-blue-300);
      --color-text-success-default: var(--ref-color-green-300);
      --color-text-success-hover: var(--ref-color-green-200);
      --color-text-destructive-default: var(--ref-color-red-300);
      --color-text-destructive-hover: var(--ref-color-red-200);
      --color-text-warning-default: var(--ref-color-orange-300);
      --color-text-warning-hover: var(--ref-color-orange-200);
      --color-border-accent-subtle: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-24));
      --color-border-accent-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-64));
      --color-border-accent-hover: rgb(from var(--ref-color-brand-800) r g b / var(--ref-opacity-80));
      --color-border-info-subtle: rgb(
        from var(--ref-color-blue-400) r g b / var(--ref-opacity-24)
      );
      --color-border-info-default: rgb(
        from var(--ref-color-blue-400) r g b / var(--ref-opacity-64)
      );
      --color-border-info-hover: rgb(
        from var(--ref-color-blue-300) r g b / var(--ref-opacity-80)
      );
      --color-border-success-subtle: rgb(
        from var(--ref-color-green-300) r g b / var(--ref-opacity-24)
      );
      --color-border-success-default: rgb(
        from var(--ref-color-green-300) r g b / var(--ref-opacity-64)
      );
      --color-border-success-hover: rgb(
        from var(--ref-color-green-200) r g b / var(--ref-opacity-80)
      );
      --color-border-warning-subtle: rgb(
        from var(--ref-color-orange-300) r g b / var(--ref-opacity-24)
      );
      --color-border-warning-default: rgb(
        from var(--ref-color-orange-300) r g b / var(--ref-opacity-64)
      );
      --color-border-warning-hover: rgb(
        from var(--ref-color-orange-200) r g b / var(--ref-opacity-80)
      );
      --color-border-destructive-subtle: rgb(
        from var(--ref-color-red-300) r g b / var(--ref-opacity-24)
      );
      --color-border-destructive-default: rgb(
        from var(--ref-color-red-300) r g b / var(--ref-opacity-64)
      );
      --color-border-destructive-hover: rgb(
        from var(--ref-color-red-200) r g b / var(--ref-opacity-80)
      );
      --color-icon-default: var(--ref-color-neutral-50);
      --color-icon-secondary: var(--ref-color-neutral-300);
      --color-icon-muted: var(--ref-color-neutral-400);
      --color-icon-disabled: rgb(
        from var(--color-icon-default) r g b / var(--ref-opacity-48)
      );
      --color-icon-accent-default: var(--ref-color-brand-700);
      --color-icon-accent-hover: var(--ref-color-brand-800);
      --color-icon-info-default: var(--ref-color-blue-400);
      --color-icon-info-hover: var(--ref-color-blue-300);
      --color-icon-success-default: var(--ref-color-green-300);
      --color-icon-success-hover: var(--ref-color-green-200);
      --color-icon-warning-default: var(--ref-color-orange-300);
      --color-icon-warning-hover: var(--ref-color-orange-200);
      --color-icon-destructive-default: var(--ref-color-red-300);
      --color-icon-destructive-hover: var(--ref-color-red-200);
      --button-primary-accent-background-default: var(--ref-color-brand-600);
      --button-primary-accent-background-hover: var(--ref-color-brand-700);
      --button-primary-accent-background-pressed: var(--ref-color-brand-800);
      --button-primary-accent-foreground: var(--ref-color-basic-white);
      --button-primary-success-background-default: var(--ref-color-green-700);
      --button-primary-success-background-hover: var(--ref-color-green-800);
      --button-primary-success-background-pressed: var(--ref-color-green-900);
      --button-primary-success-foreground: var(--ref-color-basic-white);
      --button-primary-destructive-background-default: var(--ref-color-red-600);
      --button-primary-destructive-background-hover: var(--ref-color-red-700);
      --button-primary-destructive-background-pressed: var(--ref-color-red-800);
      --button-primary-destructive-foreground: var(--ref-color-basic-white);
      --button-destructive-foreground-default: var(--ref-color-red-300);
      --button-destructive-foreground-hover: var(--ref-color-red-200);
      --button-secondary-neutral-border: rgb(
        from var(--color-text-primary) r g b / var(--ref-opacity-32)
      );
      --button-secondary-accent-border: rgb(
        from var(--color-text-accent-default) r g b / var(--ref-opacity-32)
      );
      --button-secondary-success-border: rgb(
        from var(--ref-color-green-600) r g b / var(--ref-opacity-32)
      );
      --button-secondary-destructive-border: rgb(
        from var(--ref-color-red-600) r g b / var(--ref-opacity-32)
      );
      --focus-indicator-color: var(--color-focus-on-dark);
      --elevation-opacity-key: var(--ref-opacity-24);
      --elevation-tint-key-default: var(--ref-color-basic-black);
      --elevation-tint-ambient-neutral: var(--ref-color-basic-black);
      --elevation-tint-ambient-accent: var(--ref-color-brand-700);
      --elevation-tint-ambient-info: var(--ref-color-blue-400);
      --elevation-tint-ambient-success: var(--ref-color-green-300);
      --elevation-tint-ambient-warning: var(--ref-color-orange-300);
      --elevation-tint-ambient-destructive: var(--ref-color-red-300);
    }
  }

  [data-hito-color-scheme="light"] {
    color-scheme: light;
    --color-surface-canvas: var(--ref-color-basic-white);
    --color-surface-base: var(--ref-color-basic-white);
    --color-surface-raised: var(--ref-color-basic-white);
    --color-surface-overlay: var(--ref-color-basic-white);
    --color-surface-neutral-subtle-default: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-4)
    );
    --color-surface-neutral-subtle-hover: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-8)
    );
    --color-surface-neutral-subtle-pressed: rgb(
      from var(--ref-color-neutral-950) r g b / var(--ref-opacity-12)
    );
    --color-surface-neutral-strong-default: var(--ref-color-neutral-950);
    --color-surface-neutral-strong-hover: var(--ref-color-neutral-800);
    --color-surface-neutral-strong-pressed: var(--ref-color-neutral-700);
    --color-foreground-on-neutral-strong: var(--ref-color-basic-white);
    --color-surface-accent-subtle-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-8));
    --color-surface-accent-subtle-hover: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-12));
    --color-surface-accent-subtle-pressed: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-16));
    --color-surface-accent-strong-default: var(--ref-color-brand-600);
    --color-surface-accent-strong-hover: var(--ref-color-brand-700);
    --color-surface-accent-strong-pressed: var(--ref-color-brand-800);
    --color-foreground-on-accent-strong: var(--ref-color-basic-white);
    --color-surface-info-subtle-default: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-info-subtle-hover: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-info-subtle-pressed: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-info-strong-default: var(--ref-color-blue-700);
    --color-surface-info-strong-hover: var(--ref-color-blue-800);
    --color-surface-info-strong-pressed: var(--ref-color-blue-900);
    --color-foreground-on-info-strong: var(--ref-color-basic-white);
    --color-surface-success-subtle-default: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-success-subtle-hover: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-success-subtle-pressed: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-success-strong-default: var(--ref-color-green-700);
    --color-surface-success-strong-hover: var(--ref-color-green-800);
    --color-surface-success-strong-pressed: var(--ref-color-green-900);
    --color-foreground-on-success-strong: var(--ref-color-basic-white);
    --color-surface-warning-subtle-default: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-warning-subtle-hover: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-warning-subtle-pressed: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-warning-strong-default: var(--ref-color-orange-700);
    --color-surface-warning-strong-hover: var(--ref-color-orange-800);
    --color-surface-warning-strong-pressed: var(--ref-color-orange-900);
    --color-foreground-on-warning-strong: var(--ref-color-basic-white);
    --color-surface-destructive-subtle-default: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-8)
    );
    --color-surface-destructive-subtle-hover: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-12)
    );
    --color-surface-destructive-subtle-pressed: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-16)
    );
    --color-surface-destructive-strong-default: var(--ref-color-red-700);
    --color-surface-destructive-strong-hover: var(--ref-color-red-800);
    --color-surface-destructive-strong-pressed: var(--ref-color-red-900);
    --color-foreground-on-destructive-strong: var(--ref-color-basic-white);
    --color-text-primary: var(--ref-color-neutral-950);
    --color-text-secondary: var(--ref-color-neutral-800);
    --color-text-muted: var(--ref-color-neutral-700);
    --color-text-disabled: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-48)
    );
    --color-text-error-default: var(--ref-color-red-700);
    --color-text-accent-default: var(--ref-color-brand-700);
    --color-text-accent-hover: var(--ref-color-brand-800);
    --color-text-info-default: var(--ref-color-blue-700);
    --color-text-info-hover: var(--ref-color-blue-800);
    --color-text-success-default: var(--ref-color-green-700);
    --color-text-success-hover: var(--ref-color-green-800);
    --color-text-destructive-default: var(--ref-color-red-700);
    --color-text-destructive-hover: var(--ref-color-red-800);
    --color-text-warning-default: var(--ref-color-orange-700);
    --color-text-warning-hover: var(--ref-color-orange-800);
    --color-border-accent-subtle: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-24));
    --color-border-accent-default: rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-64));
    --color-border-accent-hover: rgb(from var(--ref-color-brand-800) r g b / var(--ref-opacity-80));
    --color-border-info-subtle: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-24)
    );
    --color-border-info-default: rgb(
      from var(--ref-color-blue-700) r g b / var(--ref-opacity-64)
    );
    --color-border-info-hover: rgb(
      from var(--ref-color-blue-800) r g b / var(--ref-opacity-80)
    );
    --color-border-success-subtle: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-24)
    );
    --color-border-success-default: rgb(
      from var(--ref-color-green-700) r g b / var(--ref-opacity-64)
    );
    --color-border-success-hover: rgb(
      from var(--ref-color-green-800) r g b / var(--ref-opacity-80)
    );
    --color-border-warning-subtle: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-24)
    );
    --color-border-warning-default: rgb(
      from var(--ref-color-orange-700) r g b / var(--ref-opacity-64)
    );
    --color-border-warning-hover: rgb(
      from var(--ref-color-orange-800) r g b / var(--ref-opacity-80)
    );
    --color-border-destructive-subtle: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-24)
    );
    --color-border-destructive-default: rgb(
      from var(--ref-color-red-700) r g b / var(--ref-opacity-64)
    );
    --color-border-destructive-hover: rgb(
      from var(--ref-color-red-800) r g b / var(--ref-opacity-80)
    );
    --color-icon-default: var(--ref-color-neutral-950);
    --color-icon-secondary: var(--ref-color-neutral-800);
    --color-icon-muted: var(--ref-color-neutral-700);
    --color-icon-disabled: rgb(
      from var(--color-icon-default) r g b / var(--ref-opacity-48)
    );
    --color-icon-accent-default: var(--ref-color-brand-700);
    --color-icon-accent-hover: var(--ref-color-brand-800);
    --color-icon-info-default: var(--ref-color-blue-700);
    --color-icon-info-hover: var(--ref-color-blue-800);
    --color-icon-success-default: var(--ref-color-green-700);
    --color-icon-success-hover: var(--ref-color-green-800);
    --color-icon-warning-default: var(--ref-color-orange-700);
    --color-icon-warning-hover: var(--ref-color-orange-800);
    --color-icon-destructive-default: var(--ref-color-red-700);
    --color-icon-destructive-hover: var(--ref-color-red-800);
    --button-primary-accent-background-default: var(--ref-color-brand-600);
    --button-primary-accent-background-hover: var(--ref-color-brand-700);
    --button-primary-accent-background-pressed: var(--ref-color-brand-800);
    --button-primary-accent-foreground: var(--ref-color-basic-white);
    --button-primary-success-background-default: var(--ref-color-green-700);
    --button-primary-success-background-hover: var(--ref-color-green-800);
    --button-primary-success-background-pressed: var(--ref-color-green-900);
    --button-primary-success-foreground: var(--ref-color-basic-white);
    --button-primary-destructive-background-default: var(--ref-color-red-600);
    --button-primary-destructive-background-hover: var(--ref-color-red-700);
    --button-primary-destructive-background-pressed: var(--ref-color-red-800);
    --button-primary-destructive-foreground: var(--ref-color-basic-white);
    --button-destructive-foreground-default: var(--ref-color-red-800);
    --button-destructive-foreground-hover: var(--ref-color-red-700);
    --button-secondary-neutral-border: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-32)
    );
    --button-secondary-accent-border: rgb(
      from var(--color-text-accent-default) r g b / var(--ref-opacity-32)
    );
    --button-secondary-success-border: rgb(
      from var(--ref-color-green-500) r g b / var(--ref-opacity-32)
    );
    --button-secondary-destructive-border: rgb(
      from var(--ref-color-red-500) r g b / var(--ref-opacity-32)
    );
    --focus-indicator-color: var(--color-focus-on-light);
    --elevation-opacity-key: var(--ref-opacity-16);
    --elevation-tint-key-default: var(--ref-color-neutral-950);
    --elevation-tint-ambient-neutral: var(--ref-color-neutral-950);
    --elevation-tint-ambient-accent: var(--ref-color-brand-700);
    --elevation-tint-ambient-info: var(--ref-color-blue-700);
    --elevation-tint-ambient-success: var(--ref-color-green-700);
    --elevation-tint-ambient-warning: var(--ref-color-orange-700);
    --elevation-tint-ambient-destructive: var(--ref-color-red-700);
  }

  [data-hito-color-scheme="dark"] {
    color-scheme: dark;
    --color-surface-canvas: var(--ref-color-neutral-1000);
    --color-surface-base: var(--ref-color-neutral-950);
    --color-surface-raised: var(--ref-color-neutral-900);
    --color-surface-overlay: var(--ref-color-neutral-950);
    --color-surface-neutral-subtle-default: rgb(
      from var(--ref-color-neutral-50) r g b / var(--ref-opacity-4)
    );
    --color-surface-neutral-subtle-hover: rgb(
      from var(--ref-color-neutral-50) r g b / var(--ref-opacity-8)
    );
    --color-surface-neutral-subtle-pressed: rgb(
      from var(--ref-color-neutral-50) r g b / var(--ref-opacity-12)
    );
    --color-surface-neutral-strong-default: var(--ref-color-neutral-50);
    --color-surface-neutral-strong-hover: var(--ref-color-neutral-200);
    --color-surface-neutral-strong-pressed: var(--ref-color-neutral-300);
    --color-foreground-on-neutral-strong: var(--ref-color-neutral-950);
    --color-surface-accent-subtle-default: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-8));
    --color-surface-accent-subtle-hover: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-12));
    --color-surface-accent-subtle-pressed: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-16));
    --color-surface-accent-strong-default: var(--ref-color-brand-400);
    --color-surface-accent-strong-hover: var(--ref-color-brand-300);
    --color-surface-accent-strong-pressed: var(--ref-color-brand-200);
    --color-foreground-on-accent-strong: var(--ref-color-neutral-950);
    --color-surface-info-subtle-default: rgb(
      from var(--ref-color-blue-400) r g b / var(--ref-opacity-8)
    );
    --color-surface-info-subtle-hover: rgb(
      from var(--ref-color-blue-400) r g b / var(--ref-opacity-12)
    );
    --color-surface-info-subtle-pressed: rgb(
      from var(--ref-color-blue-400) r g b / var(--ref-opacity-16)
    );
    --color-surface-info-strong-default: var(--ref-color-blue-400);
    --color-surface-info-strong-hover: var(--ref-color-blue-300);
    --color-surface-info-strong-pressed: var(--ref-color-blue-200);
    --color-foreground-on-info-strong: var(--ref-color-neutral-950);
    --color-surface-success-subtle-default: rgb(
      from var(--ref-color-green-300) r g b / var(--ref-opacity-8)
    );
    --color-surface-success-subtle-hover: rgb(
      from var(--ref-color-green-300) r g b / var(--ref-opacity-12)
    );
    --color-surface-success-subtle-pressed: rgb(
      from var(--ref-color-green-300) r g b / var(--ref-opacity-16)
    );
    --color-surface-success-strong-default: var(--ref-color-green-300);
    --color-surface-success-strong-hover: var(--ref-color-green-200);
    --color-surface-success-strong-pressed: var(--ref-color-green-100);
    --color-foreground-on-success-strong: var(--ref-color-neutral-950);
    --color-surface-warning-subtle-default: rgb(
      from var(--ref-color-orange-300) r g b / var(--ref-opacity-8)
    );
    --color-surface-warning-subtle-hover: rgb(
      from var(--ref-color-orange-300) r g b / var(--ref-opacity-12)
    );
    --color-surface-warning-subtle-pressed: rgb(
      from var(--ref-color-orange-300) r g b / var(--ref-opacity-16)
    );
    --color-surface-warning-strong-default: var(--ref-color-orange-300);
    --color-surface-warning-strong-hover: var(--ref-color-orange-200);
    --color-surface-warning-strong-pressed: var(--ref-color-orange-100);
    --color-foreground-on-warning-strong: var(--ref-color-neutral-950);
    --color-surface-destructive-subtle-default: rgb(
      from var(--ref-color-red-300) r g b / var(--ref-opacity-8)
    );
    --color-surface-destructive-subtle-hover: rgb(
      from var(--ref-color-red-300) r g b / var(--ref-opacity-12)
    );
    --color-surface-destructive-subtle-pressed: rgb(
      from var(--ref-color-red-300) r g b / var(--ref-opacity-16)
    );
    --color-surface-destructive-strong-default: var(--ref-color-red-300);
    --color-surface-destructive-strong-hover: var(--ref-color-red-200);
    --color-surface-destructive-strong-pressed: var(--ref-color-red-100);
    --color-foreground-on-destructive-strong: var(--ref-color-neutral-950);
    --color-text-primary: var(--ref-color-neutral-50);
    --color-text-secondary: var(--ref-color-neutral-300);
    --color-text-muted: var(--ref-color-neutral-400);
    --color-text-disabled: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-48)
    );
    --color-text-error-default: var(--ref-color-red-300);
    --color-text-accent-default: var(--ref-color-brand-300);
    --color-text-accent-hover: var(--ref-color-brand-200);
    --color-text-info-default: var(--ref-color-blue-400);
    --color-text-info-hover: var(--ref-color-blue-300);
    --color-text-success-default: var(--ref-color-green-300);
    --color-text-success-hover: var(--ref-color-green-200);
    --color-text-destructive-default: var(--ref-color-red-300);
    --color-text-destructive-hover: var(--ref-color-red-200);
    --color-text-warning-default: var(--ref-color-orange-300);
    --color-text-warning-hover: var(--ref-color-orange-200);
    --color-border-accent-subtle: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-24));
    --color-border-accent-default: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-64));
    --color-border-accent-hover: rgb(from var(--ref-color-brand-200) r g b / var(--ref-opacity-80));
    --color-border-info-subtle: rgb(
      from var(--ref-color-blue-400) r g b / var(--ref-opacity-24)
    );
    --color-border-info-default: rgb(
      from var(--ref-color-blue-400) r g b / var(--ref-opacity-64)
    );
    --color-border-info-hover: rgb(
      from var(--ref-color-blue-300) r g b / var(--ref-opacity-80)
    );
    --color-border-success-subtle: rgb(
      from var(--ref-color-green-300) r g b / var(--ref-opacity-24)
    );
    --color-border-success-default: rgb(
      from var(--ref-color-green-300) r g b / var(--ref-opacity-64)
    );
    --color-border-success-hover: rgb(
      from var(--ref-color-green-200) r g b / var(--ref-opacity-80)
    );
    --color-border-warning-subtle: rgb(
      from var(--ref-color-orange-300) r g b / var(--ref-opacity-24)
    );
    --color-border-warning-default: rgb(
      from var(--ref-color-orange-300) r g b / var(--ref-opacity-64)
    );
    --color-border-warning-hover: rgb(
      from var(--ref-color-orange-200) r g b / var(--ref-opacity-80)
    );
    --color-border-destructive-subtle: rgb(
      from var(--ref-color-red-300) r g b / var(--ref-opacity-24)
    );
    --color-border-destructive-default: rgb(
      from var(--ref-color-red-300) r g b / var(--ref-opacity-64)
    );
    --color-border-destructive-hover: rgb(
      from var(--ref-color-red-200) r g b / var(--ref-opacity-80)
    );
    --color-icon-default: var(--ref-color-neutral-50);
    --color-icon-secondary: var(--ref-color-neutral-300);
    --color-icon-muted: var(--ref-color-neutral-400);
    --color-icon-disabled: rgb(
      from var(--color-icon-default) r g b / var(--ref-opacity-48)
    );
    --color-icon-accent-default: var(--ref-color-brand-300);
    --color-icon-accent-hover: var(--ref-color-brand-200);
    --color-icon-info-default: var(--ref-color-blue-400);
    --color-icon-info-hover: var(--ref-color-blue-300);
    --color-icon-success-default: var(--ref-color-green-300);
    --color-icon-success-hover: var(--ref-color-green-200);
    --color-icon-warning-default: var(--ref-color-orange-300);
    --color-icon-warning-hover: var(--ref-color-orange-200);
    --color-icon-destructive-default: var(--ref-color-red-300);
    --color-icon-destructive-hover: var(--ref-color-red-200);
    --button-primary-accent-background-default: var(--ref-color-brand-400);
    --button-primary-accent-background-hover: var(--ref-color-brand-300);
    --button-primary-accent-background-pressed: var(--ref-color-brand-200);
    --button-primary-accent-foreground: var(--ref-color-neutral-950);
    --button-primary-success-background-default: var(--ref-color-green-700);
    --button-primary-success-background-hover: var(--ref-color-green-800);
    --button-primary-success-background-pressed: var(--ref-color-green-900);
    --button-primary-success-foreground: var(--ref-color-basic-white);
    --button-primary-destructive-background-default: var(--ref-color-red-600);
    --button-primary-destructive-background-hover: var(--ref-color-red-700);
    --button-primary-destructive-background-pressed: var(--ref-color-red-800);
    --button-primary-destructive-foreground: var(--ref-color-basic-white);
    --button-destructive-foreground-default: var(--ref-color-red-300);
    --button-destructive-foreground-hover: var(--ref-color-red-200);
    --button-secondary-neutral-border: rgb(
      from var(--color-text-primary) r g b / var(--ref-opacity-32)
    );
    --button-secondary-accent-border: rgb(
      from var(--color-text-accent-default) r g b / var(--ref-opacity-32)
    );
    --button-secondary-success-border: rgb(
      from var(--ref-color-green-600) r g b / var(--ref-opacity-32)
    );
    --button-secondary-destructive-border: rgb(
      from var(--ref-color-red-600) r g b / var(--ref-opacity-32)
    );
    --focus-indicator-color: var(--color-focus-on-dark);
    --elevation-opacity-key: var(--ref-opacity-24);
    --elevation-tint-key-default: var(--ref-color-basic-black);
    --elevation-tint-ambient-neutral: var(--ref-color-basic-black);
    --elevation-tint-ambient-accent: var(--ref-color-brand-300);
    --elevation-tint-ambient-info: var(--ref-color-blue-400);
    --elevation-tint-ambient-success: var(--ref-color-green-300);
    --elevation-tint-ambient-warning: var(--ref-color-orange-300);
    --elevation-tint-ambient-destructive: var(--ref-color-red-300);
  }

  /* Explicit theme and Ambient intent recompute the canonical shadow adapter in local scope. */
  [data-hito-color-scheme] {
    --elevation-key-tint: var(--elevation-tint-key-default);
    --elevation-ambient-tint: var(--elevation-tint-ambient-neutral);
  }

  [data-hito-elevation-intent="neutral"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-neutral);
  }

  [data-hito-elevation-intent="accent"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-accent);
  }

  [data-hito-elevation-intent="info"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-info);
  }

  [data-hito-elevation-intent="success"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-success);
  }

  [data-hito-elevation-intent="warning"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-warning);
  }

  [data-hito-elevation-intent="destructive"] {
    --elevation-ambient-tint: var(--elevation-tint-ambient-destructive);
  }

  :root,
  [data-hito-color-scheme],
  [data-hito-elevation-intent] {
    /* Default/neutral composition; a theme boundary starts a neutral scope. */
    --elevation-shadow-color-key: light-dark(
      rgb(from var(--elevation-key-tint) r g b / var(--ref-opacity-16)),
      rgb(from var(--elevation-key-tint) r g b / var(--ref-opacity-32))
    );
    --elevation-shadow-color-ambient: light-dark(
      rgb(from var(--elevation-ambient-tint) r g b / var(--ref-opacity-8)),
      rgb(from var(--elevation-ambient-tint) r g b / var(--ref-opacity-24))
    );
    --elevation-raised:
      var(--ref-shadow-offset-x-0) var(--ref-shadow-offset-y-0)
        var(--ref-shadow-blur-2) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-key),
      var(--ref-shadow-offset-x-1) var(--ref-shadow-offset-y-1)
        var(--ref-shadow-blur-4) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-ambient);
    --elevation-floating:
      var(--ref-shadow-offset-x-0) var(--ref-shadow-offset-y-0)
        var(--ref-shadow-blur-2) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-key),
      var(--ref-shadow-offset-x-2) var(--ref-shadow-offset-y-4)
        var(--ref-shadow-blur-16) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-ambient);
    --elevation-overlay:
      var(--ref-shadow-offset-x-0) var(--ref-shadow-offset-y-0)
        var(--ref-shadow-blur-2) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-key),
      var(--ref-shadow-offset-x-4) var(--ref-shadow-offset-y-8)
        var(--ref-shadow-blur-48) var(--ref-shadow-spread-0)
        var(--elevation-shadow-color-ambient);
  }

  /* Explicit chromatic intent preserves both original contributions in each theme. */
  [data-hito-elevation-intent="accent"],
  [data-hito-elevation-intent="info"],
  [data-hito-elevation-intent="success"],
  [data-hito-elevation-intent="warning"],
  [data-hito-elevation-intent="destructive"] {
    --elevation-shadow-color-key: rgb(
      from var(--elevation-key-tint) r g b / var(--elevation-opacity-key)
    );
    --elevation-shadow-color-ambient: rgb(
      from var(--elevation-ambient-tint) r g b / var(--elevation-opacity-ambient)
    );
  }

  @media (min-width: 40rem) {
    :root {
      --type-display-hero-font-size: clamp(
        var(--ref-space-12),
        calc(2.1667rem + 2.0833vw),
        var(--ref-space-14)
      );
      --type-display-hero-line-height: clamp(
        var(--ref-space-14),
        calc(2.6667rem + 2.0833vw),
        var(--ref-space-16)
      );
      --type-display-section-font-size: var(--ref-space-10);
      --type-display-section-line-height: 1.2;
      --layout-space-responsive-xs: var(--ref-space-2);
      --layout-space-responsive-sm: var(--ref-space-4);
      --layout-space-responsive-md: var(--ref-space-4);
      --layout-space-responsive-lg: var(--ref-space-5);
      --layout-space-responsive-xl: var(--ref-space-8);
      --layout-space-responsive-2xl: var(--ref-space-10);
      --radius-layout-responsive-outer: calc(var(--ref-space-3) * var(--radius-scale));
      --card-radius-responsive-compact: var(--radius-layout-fixed-lg);
      --card-radius-responsive-comfortable: var(--radius-layout-fixed-xl);
    }
  }

  @media (min-width: 64rem) {
    :root {
      --type-display-hero-font-size: clamp(
        var(--ref-space-14),
        calc(1.5rem + 3.125vw),
        var(--ref-space-16)
      );
      --type-display-hero-line-height: var(--ref-space-16);
      --type-display-section-font-size: var(--ref-space-12);
      --type-display-section-line-height: 1.1667;
      --layout-space-responsive-xs: var(--ref-space-3);
      --layout-space-responsive-sm: var(--ref-space-4);
      --layout-space-responsive-md: var(--ref-space-5);
      --layout-space-responsive-lg: var(--ref-space-6);
      --layout-space-responsive-xl: var(--ref-space-10);
      --layout-space-responsive-2xl: var(--ref-space-12);
      --radius-layout-responsive-outer: calc(var(--ref-space-4) * var(--radius-scale));
      --card-radius-responsive-compact: calc(var(--ref-space-5) * var(--radius-scale));
      --card-radius-responsive-comfortable: calc(var(--ref-space-7) * var(--radius-scale));
    }
  }

  @media (min-width: 80rem) {
    :root {
      --type-display-hero-font-size: var(--ref-space-16);
      --type-display-hero-line-height: var(--ref-space-16);
      --layout-space-responsive-xs: var(--ref-space-4);
      --layout-space-responsive-sm: var(--ref-space-5);
      --layout-space-responsive-md: var(--ref-space-6);
      --layout-space-responsive-lg: var(--ref-space-8);
      --layout-space-responsive-xl: var(--ref-space-12);
      --layout-space-responsive-2xl: var(--ref-space-14);
      --radius-layout-responsive-outer: calc(var(--ref-space-6) * var(--radius-scale));
      --card-radius-responsive-compact: var(--radius-layout-fixed-xl);
      --card-radius-responsive-comfortable: var(--radius-layout-fixed-2xl);
    }
  }
}

@layer hito.tokens {
  :root {
    --status-badge-solid-foreground: var(--ref-color-basic-white);
    --status-badge-solid-neutral: var(--ref-color-neutral-800);
    --status-badge-solid-info: var(--ref-color-blue-700);
    --status-badge-solid-success: var(--ref-color-green-700);
    --status-badge-solid-warning: var(--ref-color-orange-700);
    --status-badge-solid-destructive: var(--ref-color-red-700);
  }
}

@layer hito.tokens {
  :root, [data-hito-color-scheme="light"] {
    --status-badge-soft-info-foreground: var(--ref-color-blue-800);
    --status-badge-soft-warning-foreground: var(--ref-color-orange-800);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-hito-color-scheme="light"]) {
      --status-badge-soft-info-foreground: var(--ref-color-blue-400);
      --status-badge-soft-warning-foreground: var(--ref-color-orange-300);
    }
  }
  [data-hito-color-scheme="dark"] {
    --status-badge-soft-info-foreground: var(--ref-color-blue-400);
    --status-badge-soft-warning-foreground: var(--ref-color-orange-300);
  }
}

@layer hito.tokens {
  :root, [data-hito-color-scheme="light"] {
    --button-primary-info-background-default: var(--ref-color-blue-700);
    --button-primary-info-background-hover: var(--ref-color-blue-800);
    --button-primary-info-background-pressed: var(--ref-color-blue-900);
    --button-primary-info-foreground: var(--ref-color-basic-white);
    --button-info-foreground-default: var(--ref-color-blue-800);
    --button-info-foreground-hover: var(--ref-color-blue-900);
    --button-secondary-info-border: var(--ref-color-blue-800);
    --button-primary-warning-background-default: var(--ref-color-yellow-500);
    --button-primary-warning-background-hover: var(--ref-color-yellow-400);
    --button-primary-warning-background-pressed: var(--ref-color-yellow-600);
    --button-primary-warning-foreground: var(--ref-color-neutral-950);
    --button-warning-foreground-default: var(--ref-color-yellow-800);
    --button-warning-foreground-hover: var(--ref-color-yellow-900);
    --button-secondary-warning-border: var(--ref-color-yellow-800);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-hito-color-scheme="light"]) {
    --button-primary-info-background-default: var(--ref-color-blue-400);
    --button-primary-info-background-hover: var(--ref-color-blue-300);
    --button-primary-info-background-pressed: var(--ref-color-blue-200);
    --button-primary-info-foreground: var(--ref-color-neutral-950);
    --button-info-foreground-default: var(--ref-color-blue-400);
    --button-info-foreground-hover: var(--ref-color-blue-300);
    --button-secondary-info-border: var(--ref-color-blue-400);
    --button-primary-warning-background-default: var(--ref-color-yellow-400);
    --button-primary-warning-background-hover: var(--ref-color-yellow-300);
    --button-primary-warning-background-pressed: var(--ref-color-yellow-500);
    --button-primary-warning-foreground: var(--ref-color-neutral-950);
    --button-warning-foreground-default: var(--ref-color-yellow-300);
    --button-warning-foreground-hover: var(--ref-color-yellow-200);
    --button-secondary-warning-border: var(--ref-color-yellow-300);
    }
  }
  [data-hito-color-scheme="dark"] {
    --button-primary-info-background-default: var(--ref-color-blue-400);
    --button-primary-info-background-hover: var(--ref-color-blue-300);
    --button-primary-info-background-pressed: var(--ref-color-blue-200);
    --button-primary-info-foreground: var(--ref-color-neutral-950);
    --button-info-foreground-default: var(--ref-color-blue-400);
    --button-info-foreground-hover: var(--ref-color-blue-300);
    --button-secondary-info-border: var(--ref-color-blue-400);
    --button-primary-warning-background-default: var(--ref-color-yellow-400);
    --button-primary-warning-background-hover: var(--ref-color-yellow-300);
    --button-primary-warning-background-pressed: var(--ref-color-yellow-500);
    --button-primary-warning-foreground: var(--ref-color-neutral-950);
    --button-warning-foreground-default: var(--ref-color-yellow-300);
    --button-warning-foreground-hover: var(--ref-color-yellow-200);
    --button-secondary-warning-border: var(--ref-color-yellow-300);
  }
}

@layer hito.tokens {
  :root, [data-hito-color-scheme="light"] {
    --input-frame-placeholder-active-color: var(--color-text-muted);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-hito-color-scheme="light"]) {
      --input-frame-placeholder-active-color: var(--color-text-secondary);
    }
  }
  [data-hito-color-scheme="dark"] {
    --input-frame-placeholder-active-color: var(--color-text-secondary);
  }
}

@layer hito.tokens {
  :root {
    --round-control-size-sm: var(--ui-control-height-sm);
    --round-control-size-md: var(--ui-control-height-md);
    --round-control-size-lg: var(--ui-control-height-lg);
    --round-control-size-xl: var(--ui-control-height-xl);
    --round-control-progress-inset: var(--ui-space-3xs);
    --round-control-progress-stroke: var(--border-width-strong);
    --round-control-progress-track-opacity: var(--ref-opacity-24);
    --round-control-progress-color: currentColor;
    --round-control-radius: var(--radius-shape-round);
    --media-dot-size: var(--ref-space-1);
    --media-live-dot-size: var(--ref-space-1-5);
    --media-live-dim: 0.45;
    --media-live-cycle: calc(var(--motion-duration-emphasis) * 4);
    --media-live-easing: var(--motion-easing-standard);
    --media-body-inset: var(--layout-space-fixed-md);
  }
  @media (max-width: 64rem) {
    :root {
      --media-body-inset: var(--layout-space-fixed-lg);
    }
  }
}

@layer hito.tokens {
  :root {
    --color-text-accent-secondary-default: initial;
    --color-text-accent-secondary-hover: initial;
    --color-icon-accent-secondary-default: initial;
    --color-icon-accent-secondary-hover: initial;
    --color-surface-accent-secondary-strong-default: initial;
    --color-surface-accent-secondary-strong-hover: initial;
    --color-surface-accent-secondary-strong-pressed: initial;
    --color-surface-accent-secondary-subtle-default: initial;
    --color-surface-accent-secondary-subtle-hover: initial;
    --color-surface-accent-secondary-subtle-pressed: initial;
    --color-foreground-on-accent-secondary-strong: initial;
    --color-border-accent-secondary-subtle: initial;
    --color-border-accent-secondary-default: initial;
    --color-border-accent-secondary-hover: initial;
    --button-primary-accent-secondary-background-default: initial;
    --button-primary-accent-secondary-background-hover: initial;
    --button-primary-accent-secondary-background-pressed: initial;
    --button-primary-accent-secondary-foreground: initial;
    --button-secondary-accent-secondary-border: initial;
  }
}

/* source-beac90d800fc generated Card padding density; source layout-density-presets.mjs */
@layer hito.tokens {
  :root {
    --card-padding-fixed-compact: var(--layout-space-fixed-sm);
    --card-padding-fixed-comfortable: var(--layout-space-fixed-lg);
    --card-padding-responsive-compact: var(--layout-space-responsive-sm);
    --card-padding-responsive-comfortable: var(--layout-space-responsive-lg);
  }
  :root[data-hito-layout-density="compact"] {
    --card-padding-fixed-compact: var(--ref-space-1-5);
    --card-padding-fixed-comfortable: var(--ref-space-3);
    --card-padding-responsive-compact: var(--ref-space-2-5);
    --card-padding-responsive-comfortable: var(--ref-space-3);
  }
  :root[data-hito-layout-density="spacious"] {
    --card-padding-fixed-compact: var(--ref-space-2-5);
    --card-padding-fixed-comfortable: var(--ref-space-5);
    --card-padding-responsive-compact: var(--ref-space-4);
    --card-padding-responsive-comfortable: var(--ref-space-5);
  }
  @media (min-width: 40rem) {
  :root[data-hito-layout-density="compact"] {
    --card-padding-fixed-compact: var(--ref-space-1-5);
    --card-padding-fixed-comfortable: var(--ref-space-3);
    --card-padding-responsive-compact: var(--ref-space-3);
    --card-padding-responsive-comfortable: var(--ref-space-4);
  }
  :root[data-hito-layout-density="spacious"] {
    --card-padding-fixed-compact: var(--ref-space-2-5);
    --card-padding-fixed-comfortable: var(--ref-space-5);
    --card-padding-responsive-compact: var(--ref-space-5);
    --card-padding-responsive-comfortable: var(--ref-space-6);
  }
  }
  @media (min-width: 64rem) {
  :root[data-hito-layout-density="compact"] {
    --card-padding-fixed-compact: var(--ref-space-1-5);
    --card-padding-fixed-comfortable: var(--ref-space-3);
    --card-padding-responsive-compact: var(--ref-space-3);
    --card-padding-responsive-comfortable: var(--ref-space-5);
  }
  :root[data-hito-layout-density="spacious"] {
    --card-padding-fixed-compact: var(--ref-space-2-5);
    --card-padding-fixed-comfortable: var(--ref-space-5);
    --card-padding-responsive-compact: var(--ref-space-5);
    --card-padding-responsive-comfortable: var(--ref-space-8);
  }
  }
  @media (min-width: 80rem) {
  :root[data-hito-layout-density="compact"] {
    --card-padding-fixed-compact: var(--ref-space-1-5);
    --card-padding-fixed-comfortable: var(--ref-space-3);
    --card-padding-responsive-compact: var(--ref-space-4);
    --card-padding-responsive-comfortable: var(--ref-space-6);
  }
  :root[data-hito-layout-density="spacious"] {
    --card-padding-fixed-compact: var(--ref-space-2-5);
    --card-padding-fixed-comfortable: var(--ref-space-5);
    --card-padding-responsive-compact: var(--ref-space-6);
    --card-padding-responsive-comfortable: var(--ref-space-10);
  }
  }
}

/* HITO-001 generated theme adapter; run node tokens/build-themes.mjs. */
@layer hito.tokens {
  :where([data-hito-theme], [data-hito-color-scheme]) {
    --type-family-base: var(--font-hito-base-selection, var(--font-hito-base-source, "Instrument Sans")), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --type-family-display: var(--font-hito-display-selection, var(--font-hito-display-source, "Poppins")), var(--font-hito-base-selection, var(--font-hito-base-source, "Instrument Sans")), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --type-family-mono: var(--font-hito-mono-selection, var(--font-hito-mono-source, "Fira Mono")), ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --color-surface-canvas: var(--hito-tint-surface-canvas, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000)));
    --color-surface-base: var(--hito-tint-surface-base, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
    --color-surface-raised: var(--hito-tint-surface-raised, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900)));
    --color-surface-overlay: var(--hito-tint-surface-overlay, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
    --color-surface-subtle: rgb(from currentColor r g b / var(--ref-opacity-8));
    --color-surface-scrim: rgb( from var(--ref-color-basic-black) r g b / var(--ref-opacity-64) );
    --color-surface-neutral-subtle-default: light-dark(rgb( from var(--ref-color-neutral-950) r g b / var(--ref-opacity-4) ), rgb( from var(--ref-color-neutral-50) r g b / var(--ref-opacity-4) ));
    --color-surface-neutral-subtle-hover: light-dark(rgb( from var(--ref-color-neutral-950) r g b / var(--ref-opacity-8) ), rgb( from var(--ref-color-neutral-50) r g b / var(--ref-opacity-8) ));
    --color-surface-neutral-subtle-pressed: light-dark(rgb( from var(--ref-color-neutral-950) r g b / var(--ref-opacity-12) ), rgb( from var(--ref-color-neutral-50) r g b / var(--ref-opacity-12) ));
    --color-surface-neutral-strong-default: light-dark(var(--ref-color-neutral-950), var(--ref-color-neutral-50));
    --color-surface-neutral-strong-hover: light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-200));
    --color-surface-neutral-strong-pressed: light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-300));
    --color-foreground-on-neutral-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-surface-accent-subtle-default: light-dark(rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-8)), rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-8)));
    --color-surface-accent-subtle-hover: light-dark(rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-12)), rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-12)));
    --color-surface-accent-subtle-pressed: light-dark(rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-16)), rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-16)));
    --color-surface-accent-strong-default: light-dark(var(--ref-color-brand-600), var(--ref-color-brand-400));
    --color-surface-accent-strong-hover: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
    --color-surface-accent-strong-pressed: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
    --color-foreground-on-accent-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-surface-info-subtle-default: light-dark(rgb( from var(--ref-color-blue-700) r g b / var(--ref-opacity-8) ), rgb( from var(--ref-color-blue-400) r g b / var(--ref-opacity-8) ));
    --color-surface-info-subtle-hover: light-dark(rgb( from var(--ref-color-blue-700) r g b / var(--ref-opacity-12) ), rgb( from var(--ref-color-blue-400) r g b / var(--ref-opacity-12) ));
    --color-surface-info-subtle-pressed: light-dark(rgb( from var(--ref-color-blue-700) r g b / var(--ref-opacity-16) ), rgb( from var(--ref-color-blue-400) r g b / var(--ref-opacity-16) ));
    --color-surface-info-strong-default: light-dark(var(--ref-color-blue-700), var(--ref-color-blue-400));
    --color-surface-info-strong-hover: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-300));
    --color-surface-info-strong-pressed: light-dark(var(--ref-color-blue-900), var(--ref-color-blue-200));
    --color-foreground-on-info-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-surface-success-subtle-default: light-dark(rgb( from var(--ref-color-green-700) r g b / var(--ref-opacity-8) ), rgb( from var(--ref-color-green-300) r g b / var(--ref-opacity-8) ));
    --color-surface-success-subtle-hover: light-dark(rgb( from var(--ref-color-green-700) r g b / var(--ref-opacity-12) ), rgb( from var(--ref-color-green-300) r g b / var(--ref-opacity-12) ));
    --color-surface-success-subtle-pressed: light-dark(rgb( from var(--ref-color-green-700) r g b / var(--ref-opacity-16) ), rgb( from var(--ref-color-green-300) r g b / var(--ref-opacity-16) ));
    --color-surface-success-strong-default: light-dark(var(--ref-color-green-700), var(--ref-color-green-300));
    --color-surface-success-strong-hover: light-dark(var(--ref-color-green-800), var(--ref-color-green-200));
    --color-surface-success-strong-pressed: light-dark(var(--ref-color-green-900), var(--ref-color-green-100));
    --color-foreground-on-success-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-surface-warning-subtle-default: light-dark(rgb( from var(--ref-color-orange-700) r g b / var(--ref-opacity-8) ), rgb( from var(--ref-color-orange-300) r g b / var(--ref-opacity-8) ));
    --color-surface-warning-subtle-hover: light-dark(rgb( from var(--ref-color-orange-700) r g b / var(--ref-opacity-12) ), rgb( from var(--ref-color-orange-300) r g b / var(--ref-opacity-12) ));
    --color-surface-warning-subtle-pressed: light-dark(rgb( from var(--ref-color-orange-700) r g b / var(--ref-opacity-16) ), rgb( from var(--ref-color-orange-300) r g b / var(--ref-opacity-16) ));
    --color-surface-warning-strong-default: light-dark(var(--ref-color-orange-700), var(--ref-color-orange-300));
    --color-surface-warning-strong-hover: light-dark(var(--ref-color-orange-800), var(--ref-color-orange-200));
    --color-surface-warning-strong-pressed: light-dark(var(--ref-color-orange-900), var(--ref-color-orange-100));
    --color-foreground-on-warning-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-surface-destructive-subtle-default: light-dark(rgb( from var(--ref-color-red-700) r g b / var(--ref-opacity-8) ), rgb( from var(--ref-color-red-300) r g b / var(--ref-opacity-8) ));
    --color-surface-destructive-subtle-hover: light-dark(rgb( from var(--ref-color-red-700) r g b / var(--ref-opacity-12) ), rgb( from var(--ref-color-red-300) r g b / var(--ref-opacity-12) ));
    --color-surface-destructive-subtle-pressed: light-dark(rgb( from var(--ref-color-red-700) r g b / var(--ref-opacity-16) ), rgb( from var(--ref-color-red-300) r g b / var(--ref-opacity-16) ));
    --color-surface-destructive-strong-default: light-dark(var(--ref-color-red-700), var(--ref-color-red-300));
    --color-surface-destructive-strong-hover: light-dark(var(--ref-color-red-800), var(--ref-color-red-200));
    --color-surface-destructive-strong-pressed: light-dark(var(--ref-color-red-900), var(--ref-color-red-100));
    --color-foreground-on-destructive-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --color-text-primary: light-dark(var(--ref-color-neutral-950), var(--ref-color-neutral-50));
    --color-text-secondary: var(--hito-tint-text-secondary, light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300)));
    --color-text-muted: var(--hito-tint-text-muted, light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400)));
    --color-text-disabled: rgb( from var(--color-text-primary) r g b / var(--ref-opacity-48) );
    --color-text-error-default: light-dark(var(--ref-color-red-700), var(--ref-color-red-300));
    --color-text-accent-default: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
    --color-text-accent-hover: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
    --color-text-info-default: light-dark(var(--ref-color-blue-700), var(--ref-color-blue-400));
    --color-text-info-hover: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-300));
    --color-text-success-default: light-dark(var(--ref-color-green-700), var(--ref-color-green-300));
    --color-text-success-hover: light-dark(var(--ref-color-green-800), var(--ref-color-green-200));
    --color-text-destructive-default: light-dark(var(--ref-color-red-700), var(--ref-color-red-300));
    --color-text-destructive-hover: light-dark(var(--ref-color-red-800), var(--ref-color-red-200));
    --color-text-warning-default: light-dark(var(--ref-color-orange-700), var(--ref-color-orange-300));
    --color-text-warning-hover: light-dark(var(--ref-color-orange-800), var(--ref-color-orange-200));
    --color-border-subtle: rgb(from currentColor r g b / var(--ref-opacity-12));
    --color-border-default: rgb( from currentColor r g b / var(--ref-opacity-24) );
    --color-border-strong: rgb(from currentColor r g b / var(--ref-opacity-48));
    --color-border-disabled: rgb( from currentColor r g b / var(--ref-opacity-12) );
    --color-border-accent-subtle: light-dark(rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-24)), rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-24)));
    --color-border-accent-default: light-dark(rgb(from var(--ref-color-brand-700) r g b / var(--ref-opacity-64)), rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-64)));
    --color-border-accent-hover: light-dark(rgb(from var(--ref-color-brand-800) r g b / var(--ref-opacity-80)), rgb(from var(--ref-color-brand-200) r g b / var(--ref-opacity-80)));
    --color-border-info-subtle: light-dark(rgb( from var(--ref-color-blue-700) r g b / var(--ref-opacity-24) ), rgb( from var(--ref-color-blue-400) r g b / var(--ref-opacity-24) ));
    --color-border-info-default: light-dark(rgb( from var(--ref-color-blue-700) r g b / var(--ref-opacity-64) ), rgb( from var(--ref-color-blue-400) r g b / var(--ref-opacity-64) ));
    --color-border-info-hover: light-dark(rgb( from var(--ref-color-blue-800) r g b / var(--ref-opacity-80) ), rgb( from var(--ref-color-blue-300) r g b / var(--ref-opacity-80) ));
    --color-border-success-subtle: light-dark(rgb( from var(--ref-color-green-700) r g b / var(--ref-opacity-24) ), rgb( from var(--ref-color-green-300) r g b / var(--ref-opacity-24) ));
    --color-border-success-default: light-dark(rgb( from var(--ref-color-green-700) r g b / var(--ref-opacity-64) ), rgb( from var(--ref-color-green-300) r g b / var(--ref-opacity-64) ));
    --color-border-success-hover: light-dark(rgb( from var(--ref-color-green-800) r g b / var(--ref-opacity-80) ), rgb( from var(--ref-color-green-200) r g b / var(--ref-opacity-80) ));
    --color-border-warning-subtle: light-dark(rgb( from var(--ref-color-orange-700) r g b / var(--ref-opacity-24) ), rgb( from var(--ref-color-orange-300) r g b / var(--ref-opacity-24) ));
    --color-border-warning-default: light-dark(rgb( from var(--ref-color-orange-700) r g b / var(--ref-opacity-64) ), rgb( from var(--ref-color-orange-300) r g b / var(--ref-opacity-64) ));
    --color-border-warning-hover: light-dark(rgb( from var(--ref-color-orange-800) r g b / var(--ref-opacity-80) ), rgb( from var(--ref-color-orange-200) r g b / var(--ref-opacity-80) ));
    --color-border-destructive-subtle: light-dark(rgb( from var(--ref-color-red-700) r g b / var(--ref-opacity-24) ), rgb( from var(--ref-color-red-300) r g b / var(--ref-opacity-24) ));
    --color-border-destructive-default: light-dark(rgb( from var(--ref-color-red-700) r g b / var(--ref-opacity-64) ), rgb( from var(--ref-color-red-300) r g b / var(--ref-opacity-64) ));
    --color-border-destructive-hover: light-dark(rgb( from var(--ref-color-red-800) r g b / var(--ref-opacity-80) ), rgb( from var(--ref-color-red-200) r g b / var(--ref-opacity-80) ));
    --color-icon-default: light-dark(var(--ref-color-neutral-950), var(--ref-color-neutral-50));
    --color-icon-secondary: light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300));
    --color-icon-muted: light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400));
    --color-icon-disabled: rgb( from var(--color-icon-default) r g b / var(--ref-opacity-48) );
    --color-icon-accent-default: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
    --color-icon-accent-hover: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
    --color-icon-info-default: light-dark(var(--ref-color-blue-700), var(--ref-color-blue-400));
    --color-icon-info-hover: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-300));
    --color-icon-success-default: light-dark(var(--ref-color-green-700), var(--ref-color-green-300));
    --color-icon-success-hover: light-dark(var(--ref-color-green-800), var(--ref-color-green-200));
    --color-icon-warning-default: light-dark(var(--ref-color-orange-700), var(--ref-color-orange-300));
    --color-icon-warning-hover: light-dark(var(--ref-color-orange-800), var(--ref-color-orange-200));
    --color-icon-destructive-default: light-dark(var(--ref-color-red-700), var(--ref-color-red-300));
    --color-icon-destructive-hover: light-dark(var(--ref-color-red-800), var(--ref-color-red-200));
    --button-primary-accent-background-default: light-dark(var(--ref-color-brand-600), var(--ref-color-brand-400));
    --button-primary-accent-background-hover: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
    --button-primary-accent-background-pressed: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
    --button-primary-accent-foreground: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --button-primary-success-background-default: var(--ref-color-green-700);
    --button-primary-success-background-hover: var(--ref-color-green-800);
    --button-primary-success-background-pressed: var(--ref-color-green-900);
    --button-primary-success-foreground: var(--ref-color-basic-white);
    --button-primary-destructive-background-default: var(--ref-color-red-600);
    --button-primary-destructive-background-hover: var(--ref-color-red-700);
    --button-primary-destructive-background-pressed: var(--ref-color-red-800);
    --button-primary-destructive-foreground: var(--ref-color-basic-white);
    --button-destructive-foreground-default: light-dark(var(--ref-color-red-800), var(--ref-color-red-300));
    --button-destructive-foreground-hover: light-dark(var(--ref-color-red-700), var(--ref-color-red-200));
    --button-secondary-neutral-border: rgb( from var(--color-text-primary) r g b / var(--ref-opacity-32) );
    --button-secondary-accent-border: rgb( from var(--color-text-accent-default) r g b / var(--ref-opacity-32) );
    --button-secondary-success-border: light-dark(rgb( from var(--ref-color-green-500) r g b / var(--ref-opacity-32) ), rgb( from var(--ref-color-green-600) r g b / var(--ref-opacity-32) ));
    --button-secondary-destructive-border: light-dark(rgb( from var(--ref-color-red-500) r g b / var(--ref-opacity-32) ), rgb( from var(--ref-color-red-600) r g b / var(--ref-opacity-32) ));
    --editable-text-editing-border: var(--color-border-accent-hover);
    --color-focus-on-light: var(--ref-color-neutral-950);
    --color-focus-on-dark: var(--ref-color-basic-white);
    --color-foreground-on-scrim: var(--ref-color-basic-white);
    --focus-indicator-color: light-dark(var(--color-focus-on-light), var(--color-focus-on-dark));
    --status-badge-solid-foreground: var(--ref-color-basic-white);
    --status-badge-solid-neutral: var(--ref-color-neutral-800);
    --status-badge-solid-info: var(--ref-color-blue-700);
    --status-badge-solid-success: var(--ref-color-green-700);
    --status-badge-solid-warning: var(--ref-color-orange-700);
    --status-badge-solid-destructive: var(--ref-color-red-700);
    --status-badge-soft-info-foreground: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-400));
    --status-badge-soft-warning-foreground: light-dark(var(--ref-color-orange-800), var(--ref-color-orange-300));
    --button-primary-info-background-default: light-dark(var(--ref-color-blue-700), var(--ref-color-blue-400));
    --button-primary-info-background-hover: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-300));
    --button-primary-info-background-pressed: light-dark(var(--ref-color-blue-900), var(--ref-color-blue-200));
    --button-primary-info-foreground: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
    --button-info-foreground-default: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-400));
    --button-info-foreground-hover: light-dark(var(--ref-color-blue-900), var(--ref-color-blue-300));
    --button-secondary-info-border: light-dark(var(--ref-color-blue-800), var(--ref-color-blue-400));
    --button-primary-warning-background-default: light-dark(var(--ref-color-yellow-500), var(--ref-color-yellow-400));
    --button-primary-warning-background-hover: light-dark(var(--ref-color-yellow-400), var(--ref-color-yellow-300));
    --button-primary-warning-background-pressed: light-dark(var(--ref-color-yellow-600), var(--ref-color-yellow-500));
    --button-primary-warning-foreground: var(--ref-color-neutral-950);
    --button-warning-foreground-default: light-dark(var(--ref-color-yellow-800), var(--ref-color-yellow-300));
    --button-warning-foreground-hover: light-dark(var(--ref-color-yellow-900), var(--ref-color-yellow-200));
    --button-secondary-warning-border: light-dark(var(--ref-color-yellow-800), var(--ref-color-yellow-300));
    --input-frame-placeholder-active-color: light-dark(var(--color-text-muted), var(--color-text-secondary));
    --color-text-accent-secondary-default: initial;
    --color-text-accent-secondary-hover: initial;
    --color-icon-accent-secondary-default: initial;
    --color-icon-accent-secondary-hover: initial;
    --color-surface-accent-secondary-strong-default: initial;
    --color-surface-accent-secondary-strong-hover: initial;
    --color-surface-accent-secondary-strong-pressed: initial;
    --color-surface-accent-secondary-subtle-default: initial;
    --color-surface-accent-secondary-subtle-hover: initial;
    --color-surface-accent-secondary-subtle-pressed: initial;
    --color-foreground-on-accent-secondary-strong: initial;
    --color-border-accent-secondary-subtle: initial;
    --color-border-accent-secondary-default: initial;
    --color-border-accent-secondary-hover: initial;
    --button-primary-accent-secondary-background-default: initial;
    --button-primary-accent-secondary-background-hover: initial;
    --button-primary-accent-secondary-background-pressed: initial;
    --button-primary-accent-secondary-foreground: initial;
    --button-secondary-accent-secondary-border: initial;
    --hito-input-rest-border: var(--hito-tint-input-rest-border, initial);
    --hito-choice-rest-border: var(--color-border-default);
  }
  @supports (color: light-dark(white, black)) {
    :root, [data-hito-color-scheme] {
      --color-surface-canvas: var(--hito-tint-surface-canvas, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000)));
      --color-surface-base: var(--hito-tint-surface-base, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --color-surface-raised: var(--hito-tint-surface-raised, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900)));
      --color-surface-overlay: var(--hito-tint-surface-overlay, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --color-text-secondary: var(--hito-tint-text-secondary, light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300)));
      --color-text-muted: var(--hito-tint-text-muted, light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400)));
    }
  }
  [data-hito-color-scheme="light"] { color-scheme: light; }
  [data-hito-color-scheme="dark"] { color-scheme: dark; }
  @scope ([data-hito-theme="neutral"]) to ([data-hito-theme="inherited"]) {
    :scope, [data-hito-color-scheme] {
      --color-text-accent-default: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
      --color-text-accent-hover: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
      --color-icon-accent-default: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
      --color-icon-accent-hover: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
      --color-surface-accent-strong-default: light-dark(var(--ref-color-brand-600), var(--ref-color-brand-400));
      --button-primary-accent-background-default: light-dark(var(--ref-color-brand-600), var(--ref-color-brand-400));
      --color-surface-accent-subtle-default: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.08), rgb(from var(--ref-color-brand-300) r g b / 0.08));
      --color-surface-accent-strong-hover: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
      --button-primary-accent-background-hover: light-dark(var(--ref-color-brand-700), var(--ref-color-brand-300));
      --color-surface-accent-subtle-hover: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.12), rgb(from var(--ref-color-brand-300) r g b / 0.12));
      --color-surface-accent-strong-pressed: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
      --button-primary-accent-background-pressed: light-dark(var(--ref-color-brand-800), var(--ref-color-brand-200));
      --color-surface-accent-subtle-pressed: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.16), rgb(from var(--ref-color-brand-300) r g b / 0.16));
      --color-foreground-on-accent-strong: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --button-primary-accent-foreground: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --color-border-accent-subtle: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.24), rgb(from var(--ref-color-brand-300) r g b / 0.24));
      --color-border-accent-default: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.64), rgb(from var(--ref-color-brand-300) r g b / 0.64));
      --color-border-accent-hover: light-dark(rgb(from var(--ref-color-brand-800) r g b / 0.8), rgb(from var(--ref-color-brand-200) r g b / 0.8));
      --button-secondary-accent-border: light-dark(rgb(from var(--ref-color-brand-700) r g b / 0.32), rgb(from var(--ref-color-brand-300) r g b / 0.32));
      --hito-input-rest-border: var(--hito-tint-input-rest-border, var(--color-border-strong));
      --hito-choice-rest-border: var(--color-border-strong);
      --type-family-display: var(--type-family-base);
      --editable-text-editing-border: var(--color-border-accent-hover);
      --type-family-display: var(--font-hito-display-selection, var(--type-family-base));
    }
  }
  [data-hito-standard-tint-boundary], [data-hito-standard-tint-boundary] [data-hito-color-scheme], [data-hito-standard-tint-boundary] [data-hito-theme] {
      --hito-tint-surface-canvas: initial;
      --color-surface-canvas: var(--hito-tint-surface-canvas, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000)));
      --hito-standard-tint-reference-color-surface-canvas: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000));
      --hito-tint-surface-base: initial;
      --color-surface-base: var(--hito-tint-surface-base, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --hito-standard-tint-reference-color-surface-base: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --hito-tint-surface-raised: initial;
      --color-surface-raised: var(--hito-tint-surface-raised, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900)));
      --hito-standard-tint-reference-color-surface-raised: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900));
      --hito-tint-surface-overlay: initial;
      --color-surface-overlay: var(--hito-tint-surface-overlay, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --hito-standard-tint-reference-color-surface-overlay: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --hito-tint-text-secondary: initial;
      --color-text-secondary: var(--hito-tint-text-secondary, light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300)));
      --hito-standard-tint-reference-color-text-secondary: light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300));
      --hito-tint-text-muted: initial;
      --color-text-muted: var(--hito-tint-text-muted, light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400)));
      --hito-standard-tint-reference-color-text-muted: light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400));
      --hito-tint-input-rest-border: initial;
      --hito-input-rest-border: var(--hito-tint-input-rest-border, initial);
      --hito-standard-tint-reference-hito-input-rest-border: initial;
  }
  @scope ([data-hito-theme="neutral"]) to ([data-hito-theme="inherited"]) {
    [data-hito-standard-tint-boundary], [data-hito-standard-tint-boundary] [data-hito-color-scheme], [data-hito-standard-tint-boundary] [data-hito-theme] {
      --hito-tint-surface-canvas: initial;
      --color-surface-canvas: var(--hito-tint-surface-canvas, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000)));
      --hito-standard-tint-reference-color-surface-canvas: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-1000));
      --hito-tint-surface-base: initial;
      --color-surface-base: var(--hito-tint-surface-base, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --hito-standard-tint-reference-color-surface-base: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --hito-tint-surface-raised: initial;
      --color-surface-raised: var(--hito-tint-surface-raised, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900)));
      --hito-standard-tint-reference-color-surface-raised: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-900));
      --hito-tint-surface-overlay: initial;
      --color-surface-overlay: var(--hito-tint-surface-overlay, light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950)));
      --hito-standard-tint-reference-color-surface-overlay: light-dark(var(--ref-color-basic-white), var(--ref-color-neutral-950));
      --hito-tint-text-secondary: initial;
      --color-text-secondary: var(--hito-tint-text-secondary, light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300)));
      --hito-standard-tint-reference-color-text-secondary: light-dark(var(--ref-color-neutral-800), var(--ref-color-neutral-300));
      --hito-tint-text-muted: initial;
      --color-text-muted: var(--hito-tint-text-muted, light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400)));
      --hito-standard-tint-reference-color-text-muted: light-dark(var(--ref-color-neutral-700), var(--ref-color-neutral-400));
      --hito-tint-input-rest-border: initial;
      --hito-input-rest-border: var(--hito-tint-input-rest-border, var(--color-border-strong));
      --hito-standard-tint-reference-hito-input-rest-border: var(--color-border-strong);
    }
  }
  @media (prefers-color-scheme: dark) {
    :root[data-hito-theme="inherited"]:not([data-hito-color-scheme]) {
      --color-text-accent-default: var(--ref-color-brand-300);
      --color-text-accent-hover: var(--ref-color-brand-200);
      --color-icon-accent-default: var(--ref-color-brand-300);
      --color-icon-accent-hover: var(--ref-color-brand-200);
      --color-surface-accent-strong-default: var(--ref-color-brand-400);
      --button-primary-accent-background-default: var(--ref-color-brand-400);
      --color-surface-accent-subtle-default: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-8));
      --color-surface-accent-strong-hover: var(--ref-color-brand-300);
      --button-primary-accent-background-hover: var(--ref-color-brand-300);
      --color-surface-accent-subtle-hover: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-12));
      --color-surface-accent-strong-pressed: var(--ref-color-brand-200);
      --button-primary-accent-background-pressed: var(--ref-color-brand-200);
      --color-surface-accent-subtle-pressed: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-16));
      --color-foreground-on-accent-strong: var(--ref-color-neutral-950);
      --button-primary-accent-foreground: var(--ref-color-neutral-950);
      --color-border-accent-subtle: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-24));
      --color-border-accent-default: rgb(from var(--ref-color-brand-300) r g b / var(--ref-opacity-64));
      --color-border-accent-hover: rgb(from var(--ref-color-brand-200) r g b / var(--ref-opacity-80));
      --button-secondary-accent-border: rgb( from var(--color-text-accent-default) r g b / var(--ref-opacity-32) );
      --editable-text-editing-border: var(--color-border-accent-hover);
    }
  }
}
