/**
 * HappyVertical Theme CSS — "Day Shift"
 *
 * Static CSS for the HappyVertical brand theme (happyvertical/smrt#2318): a
 * calm instrument panel of enamel ground, faceplate panels, hairline bezels,
 * and one budgeted amber accent. Import at build time for SSR or when JS
 * theming is not needed.
 *
 *   import '@happyvertical/smrt-ui/themes/styles/happyvertical-fonts.css'; // optional fonts
 *   import '@happyvertical/smrt-ui/themes/styles/happyvertical.css';
 *
 * The two `[data-theme="happyvertical"]` token blocks below are the exact
 * output of the theme generator (src/themes/css-generator.ts) for
 * `happyverticalTheme`, so this static-CSS delivery path and the JS
 * ThemeProvider emit identical values (#1586). Regenerate them from
 * `generateThemeCSS(happyverticalTheme, …)` after editing
 * src/themes/happyvertical/index.ts —
 * src/themes/__tests__/happyvertical-theme.test.ts compares the two blocks
 * verbatim and fails on any drift. The focus definition and the opt-in
 * utilities follow.
 */

[data-theme="happyvertical"][data-color-scheme="light"] {
  --smrt-theme-id: happyvertical;
  --smrt-theme-name: Day Shift;
  --smrt-color-scheme: light;
  --smrt-font-family: "B612", Verdana, "Segoe UI", system-ui, sans-serif;
  --smrt-color-primary: #9c5300;
  --smrt-color-on-primary: #ffffff;
  --smrt-color-primary-container: #f7e3cc;
  --smrt-color-on-primary-container: #5e3200;
  --smrt-color-secondary: #4f5b55;
  --smrt-color-on-secondary: #ffffff;
  --smrt-color-secondary-container: #dce3df;
  --smrt-color-on-secondary-container: #2a342f;
  --smrt-color-tertiary: #3c5a68;
  --smrt-color-on-tertiary: #ffffff;
  --smrt-color-tertiary-container: #d7e4ea;
  --smrt-color-on-tertiary-container: #1b333e;
  --smrt-color-error: #9b3b32;
  --smrt-color-on-error: #ffffff;
  --smrt-color-error-container: #f6dfdc;
  --smrt-color-on-error-container: #5e1c16;
  --smrt-color-warning: #8a4e08;
  --smrt-color-on-warning: #ffffff;
  --smrt-color-warning-container: #f7e4c8;
  --smrt-color-on-warning-container: #533000;
  --smrt-color-success: #1e7a4b;
  --smrt-color-on-success: #ffffff;
  --smrt-color-success-container: #d5e9df;
  --smrt-color-on-success-container: #0c3b24;
  --smrt-color-surface: #f4f6f5;
  --smrt-color-on-surface: #20272b;
  --smrt-color-surface-variant: #e5eae7;
  --smrt-color-on-surface-variant: #5a6660;
  --smrt-color-surface-container: #f1f4f2;
  --smrt-color-surface-container-low: #f7f9f8;
  --smrt-color-surface-container-high: #eaeeec;
  --smrt-color-surface-container-highest: #e3e8e5;
  --smrt-color-surface-container-lowest: #fbfcfb;
  --smrt-color-surface-dim: #e1e6e3;
  --smrt-color-surface-bright: #fbfcfb;
  --smrt-color-background: #e8ebe9;
  --smrt-color-on-background: #20272b;
  --smrt-color-outline: #717d77;
  --smrt-color-outline-variant: #c9cfcc;
  --smrt-color-inverse-surface: #20272b;
  --smrt-color-inverse-on-surface: #edf0ee;
  --smrt-color-inverse-primary: #ffb454;
  --smrt-color-shadow: rgba(32, 39, 43, 0.2);
  --smrt-color-scrim: rgba(20, 24, 27, 0.45);
  --smrt-typography-display-large-size: 2.9rem;
  --smrt-typography-display-large-line-height: 1.15;
  --smrt-typography-display-large-weight: 600;
  --smrt-typography-display-large-tracking: -0.015em;
  --smrt-typography-display-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-large-font: 600 2.9rem/1.15 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-medium-size: 2.4rem;
  --smrt-typography-display-medium-line-height: 1.15;
  --smrt-typography-display-medium-weight: 600;
  --smrt-typography-display-medium-tracking: -0.015em;
  --smrt-typography-display-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-medium-font: 600 2.4rem/1.15 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-small-size: 2rem;
  --smrt-typography-display-small-line-height: 1.2;
  --smrt-typography-display-small-weight: 600;
  --smrt-typography-display-small-tracking: -0.01em;
  --smrt-typography-display-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-small-font: 600 2rem/1.2 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-large-size: 1.75rem;
  --smrt-typography-headline-large-line-height: 1.2;
  --smrt-typography-headline-large-weight: 600;
  --smrt-typography-headline-large-tracking: -0.01em;
  --smrt-typography-headline-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-large-font: 600 1.75rem/1.2 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-medium-size: 1.5rem;
  --smrt-typography-headline-medium-line-height: 1.25;
  --smrt-typography-headline-medium-weight: 600;
  --smrt-typography-headline-medium-tracking: -0.01em;
  --smrt-typography-headline-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-medium-font: 600 1.5rem/1.25 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-small-size: 1.35rem;
  --smrt-typography-headline-small-line-height: 1.3;
  --smrt-typography-headline-small-weight: 600;
  --smrt-typography-headline-small-tracking: -0.01em;
  --smrt-typography-headline-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-small-font: 600 1.35rem/1.3 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-large-size: 1.15rem;
  --smrt-typography-title-large-line-height: 1.35;
  --smrt-typography-title-large-weight: 600;
  --smrt-typography-title-large-tracking: -0.01em;
  --smrt-typography-title-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-large-font: 600 1.15rem/1.35 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-medium-size: 1rem;
  --smrt-typography-title-medium-line-height: 1.4;
  --smrt-typography-title-medium-weight: 500;
  --smrt-typography-title-medium-tracking: -0.01em;
  --smrt-typography-title-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-medium-font: 500 1rem/1.4 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-small-size: 0.9rem;
  --smrt-typography-title-small-line-height: 1.4;
  --smrt-typography-title-small-weight: 500;
  --smrt-typography-title-small-tracking: -0.01em;
  --smrt-typography-title-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-small-font: 500 0.9rem/1.4 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-body-large-size: 1rem;
  --smrt-typography-body-large-line-height: 1.6;
  --smrt-typography-body-large-weight: 400;
  --smrt-typography-body-large-tracking: 0;
  --smrt-typography-body-large-font-family: var(--smrt-font-family);
  --smrt-typography-body-large-font: 400 1rem/1.6 var(--smrt-font-family);
  --smrt-typography-body-medium-size: 0.9375rem;
  --smrt-typography-body-medium-line-height: 1.6;
  --smrt-typography-body-medium-weight: 400;
  --smrt-typography-body-medium-tracking: 0;
  --smrt-typography-body-medium-font-family: var(--smrt-font-family);
  --smrt-typography-body-medium-font: 400 0.9375rem/1.6 var(--smrt-font-family);
  --smrt-typography-body-small-size: 0.875rem;
  --smrt-typography-body-small-line-height: 1.55;
  --smrt-typography-body-small-weight: 400;
  --smrt-typography-body-small-tracking: 0;
  --smrt-typography-body-small-font-family: var(--smrt-font-family);
  --smrt-typography-body-small-font: 400 0.875rem/1.55 var(--smrt-font-family);
  --smrt-typography-label-large-size: 0.9rem;
  --smrt-typography-label-large-line-height: 1.4;
  --smrt-typography-label-large-weight: 700;
  --smrt-typography-label-large-tracking: 0;
  --smrt-typography-label-large-font-family: var(--smrt-font-family);
  --smrt-typography-label-large-font: 700 0.9rem/1.4 var(--smrt-font-family);
  --smrt-typography-label-medium-size: 0.8125rem;
  --smrt-typography-label-medium-line-height: 1.4;
  --smrt-typography-label-medium-weight: 700;
  --smrt-typography-label-medium-tracking: 0.02em;
  --smrt-typography-label-medium-font-family: var(--smrt-font-family);
  --smrt-typography-label-medium-font: 700 0.8125rem/1.4 var(--smrt-font-family);
  --smrt-typography-label-small-size: 0.75rem;
  --smrt-typography-label-small-line-height: 1.4;
  --smrt-typography-label-small-weight: 700;
  --smrt-typography-label-small-tracking: 0.08em;
  --smrt-typography-label-small-font-family: var(--smrt-font-family);
  --smrt-typography-label-small-font: 700 0.75rem/1.4 var(--smrt-font-family);
  --smrt-spacing-0: 0;
  --smrt-spacing-1: 0.25rem;
  --smrt-spacing-2: 0.5rem;
  --smrt-spacing-3: 0.75rem;
  --smrt-spacing-4: 1rem;
  --smrt-spacing-5: 1.25rem;
  --smrt-spacing-6: 1.5rem;
  --smrt-spacing-7: 1.75rem;
  --smrt-spacing-8: 2rem;
  --smrt-spacing-9: 2.25rem;
  --smrt-spacing-10: 2.5rem;
  --smrt-spacing-11: 2.75rem;
  --smrt-spacing-12: 3rem;
  --smrt-spacing-14: 3.5rem;
  --smrt-spacing-16: 4rem;
  --smrt-spacing-20: 5rem;
  --smrt-spacing-24: 6rem;
  --smrt-spacing-0_5: 0.125rem;
  --smrt-spacing-1_5: 0.375rem;
  --smrt-spacing-2_5: 0.625rem;
  --smrt-spacing-3_5: 0.875rem;
  --smrt-spacing-xs: 0.25rem;
  --smrt-spacing-sm: 0.5rem;
  --smrt-spacing-md: 1rem;
  --smrt-spacing-lg: 1.5rem;
  --smrt-spacing-xl: 2rem;
  --smrt-spacing-2xl: 3rem;
  --smrt-spacing-3xl: 4rem;
  --smrt-radius-none: 0;
  --smrt-radius-sm: 0.25rem;
  --smrt-radius-md: 0.375rem;
  --smrt-radius-lg: 0.5rem;
  --smrt-radius-xl: 0.75rem;
  --smrt-radius-2xl: 1rem;
  --smrt-radius-3xl: 1.25rem;
  --smrt-radius-full: 9999px;
  --smrt-radius-extra-small: 0.25rem;
  --smrt-radius-small: 0.25rem;
  --smrt-radius-medium: 0.375rem;
  --smrt-radius-large: 0.5rem;
  --smrt-radius-extra-large: 0.75rem;
  --smrt-elevation-0: none;
  --smrt-elevation-1: inset 0 0 0 1px rgba(32, 39, 43, 0.1);
  --smrt-elevation-2: 0 1px 2px 0 rgba(32, 39, 43, 0.06);
  --smrt-elevation-3: 0 2px 6px -2px rgba(32, 39, 43, 0.1);
  --smrt-elevation-4: 0 6px 16px -6px rgba(32, 39, 43, 0.14);
  --smrt-elevation-5: 0 12px 28px -12px rgba(32, 39, 43, 0.18);
  --smrt-duration-instant: 0ms;
  --smrt-duration-fast: 90ms;
  --smrt-duration-normal: 120ms;
  --smrt-duration-slow: 180ms;
  --smrt-duration-slower: 260ms;
  --smrt-duration-short1: 50ms;
  --smrt-duration-short2: 100ms;
  --smrt-duration-short3: 150ms;
  --smrt-duration-short4: 200ms;
  --smrt-duration-medium1: 250ms;
  --smrt-duration-medium2: 300ms;
  --smrt-duration-medium3: 350ms;
  --smrt-duration-medium4: 400ms;
  --smrt-duration-long1: 450ms;
  --smrt-duration-long2: 500ms;
  --smrt-duration-long3: 550ms;
  --smrt-duration-long4: 600ms;
  --smrt-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-standard-decelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-standard-accelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized-decelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized-accelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-font-family-mono: "B612 Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --smrt-typography-weight-normal: 400;
  --smrt-typography-weight-medium: 500;
  --smrt-typography-weight-semibold: 600;
  --smrt-typography-weight-bold: 700;
  --smrt-z-index-dropdown: 1000;
  --smrt-z-index-sticky: 1100;
  --smrt-z-index-overlay: 1200;
  --smrt-z-index-modal: 1300;
  --smrt-z-index-dialog: 1300;
  --smrt-z-index-popover: 1400;
  --smrt-z-index-toast: 1500;
  --smrt-z-index-tooltip: 1600;
  --smrt-z-index-loading: 1700;
}

[data-theme="happyvertical"][data-color-scheme="dark"] {
  --smrt-theme-id: happyvertical;
  --smrt-theme-name: Day Shift;
  --smrt-color-scheme: dark;
  --smrt-font-family: "B612", Verdana, "Segoe UI", system-ui, sans-serif;
  --smrt-color-primary: #ffb454;
  --smrt-color-on-primary: #14181b;
  --smrt-color-primary-container: #3b2a12;
  --smrt-color-on-primary-container: #ffd7a1;
  --smrt-color-secondary: #a6b2ac;
  --smrt-color-on-secondary: #14181b;
  --smrt-color-secondary-container: #262e33;
  --smrt-color-on-secondary-container: #dce3e0;
  --smrt-color-tertiary: #9cbecc;
  --smrt-color-on-tertiary: #10262e;
  --smrt-color-tertiary-container: #1e313a;
  --smrt-color-on-tertiary-container: #c6dee8;
  --smrt-color-error: #e89b92;
  --smrt-color-on-error: #3b120d;
  --smrt-color-error-container: #402019;
  --smrt-color-on-error-container: #f7c9c3;
  --smrt-color-warning: #ffc46b;
  --smrt-color-on-warning: #14181b;
  --smrt-color-warning-container: #3b2c12;
  --smrt-color-on-warning-container: #ffdca8;
  --smrt-color-success: #53c989;
  --smrt-color-on-success: #06331e;
  --smrt-color-success-container: #14382a;
  --smrt-color-on-success-container: #a8e5c4;
  --smrt-color-surface: #1c2226;
  --smrt-color-on-surface: #e4e9e7;
  --smrt-color-surface-variant: #232b30;
  --smrt-color-on-surface-variant: #97a29c;
  --smrt-color-surface-container: #1c2226;
  --smrt-color-surface-container-low: #171c20;
  --smrt-color-surface-container-high: #212930;
  --smrt-color-surface-container-highest: #252d33;
  --smrt-color-surface-container-lowest: #0f1315;
  --smrt-color-surface-dim: #101416;
  --smrt-color-surface-bright: #283036;
  --smrt-color-background: #14181b;
  --smrt-color-on-background: #e4e9e7;
  --smrt-color-outline: #76827d;
  --smrt-color-outline-variant: #2a3238;
  --smrt-color-inverse-surface: #e4e9e7;
  --smrt-color-inverse-on-surface: #1c2226;
  --smrt-color-inverse-primary: #9c5300;
  --smrt-color-shadow: rgba(0, 0, 0, 0.6);
  --smrt-color-scrim: rgba(0, 0, 0, 0.6);
  --smrt-typography-display-large-size: 2.9rem;
  --smrt-typography-display-large-line-height: 1.15;
  --smrt-typography-display-large-weight: 600;
  --smrt-typography-display-large-tracking: -0.015em;
  --smrt-typography-display-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-large-font: 600 2.9rem/1.15 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-medium-size: 2.4rem;
  --smrt-typography-display-medium-line-height: 1.15;
  --smrt-typography-display-medium-weight: 600;
  --smrt-typography-display-medium-tracking: -0.015em;
  --smrt-typography-display-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-medium-font: 600 2.4rem/1.15 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-small-size: 2rem;
  --smrt-typography-display-small-line-height: 1.2;
  --smrt-typography-display-small-weight: 600;
  --smrt-typography-display-small-tracking: -0.01em;
  --smrt-typography-display-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-display-small-font: 600 2rem/1.2 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-large-size: 1.75rem;
  --smrt-typography-headline-large-line-height: 1.2;
  --smrt-typography-headline-large-weight: 600;
  --smrt-typography-headline-large-tracking: -0.01em;
  --smrt-typography-headline-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-large-font: 600 1.75rem/1.2 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-medium-size: 1.5rem;
  --smrt-typography-headline-medium-line-height: 1.25;
  --smrt-typography-headline-medium-weight: 600;
  --smrt-typography-headline-medium-tracking: -0.01em;
  --smrt-typography-headline-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-medium-font: 600 1.5rem/1.25 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-small-size: 1.35rem;
  --smrt-typography-headline-small-line-height: 1.3;
  --smrt-typography-headline-small-weight: 600;
  --smrt-typography-headline-small-tracking: -0.01em;
  --smrt-typography-headline-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-headline-small-font: 600 1.35rem/1.3 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-large-size: 1.15rem;
  --smrt-typography-title-large-line-height: 1.35;
  --smrt-typography-title-large-weight: 600;
  --smrt-typography-title-large-tracking: -0.01em;
  --smrt-typography-title-large-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-large-font: 600 1.15rem/1.35 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-medium-size: 1rem;
  --smrt-typography-title-medium-line-height: 1.4;
  --smrt-typography-title-medium-weight: 500;
  --smrt-typography-title-medium-tracking: -0.01em;
  --smrt-typography-title-medium-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-medium-font: 500 1rem/1.4 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-small-size: 0.9rem;
  --smrt-typography-title-small-line-height: 1.4;
  --smrt-typography-title-small-weight: 500;
  --smrt-typography-title-small-tracking: -0.01em;
  --smrt-typography-title-small-font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-title-small-font: 500 0.9rem/1.4 "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --smrt-typography-body-large-size: 1rem;
  --smrt-typography-body-large-line-height: 1.6;
  --smrt-typography-body-large-weight: 400;
  --smrt-typography-body-large-tracking: 0;
  --smrt-typography-body-large-font-family: var(--smrt-font-family);
  --smrt-typography-body-large-font: 400 1rem/1.6 var(--smrt-font-family);
  --smrt-typography-body-medium-size: 0.9375rem;
  --smrt-typography-body-medium-line-height: 1.6;
  --smrt-typography-body-medium-weight: 400;
  --smrt-typography-body-medium-tracking: 0;
  --smrt-typography-body-medium-font-family: var(--smrt-font-family);
  --smrt-typography-body-medium-font: 400 0.9375rem/1.6 var(--smrt-font-family);
  --smrt-typography-body-small-size: 0.875rem;
  --smrt-typography-body-small-line-height: 1.55;
  --smrt-typography-body-small-weight: 400;
  --smrt-typography-body-small-tracking: 0;
  --smrt-typography-body-small-font-family: var(--smrt-font-family);
  --smrt-typography-body-small-font: 400 0.875rem/1.55 var(--smrt-font-family);
  --smrt-typography-label-large-size: 0.9rem;
  --smrt-typography-label-large-line-height: 1.4;
  --smrt-typography-label-large-weight: 700;
  --smrt-typography-label-large-tracking: 0;
  --smrt-typography-label-large-font-family: var(--smrt-font-family);
  --smrt-typography-label-large-font: 700 0.9rem/1.4 var(--smrt-font-family);
  --smrt-typography-label-medium-size: 0.8125rem;
  --smrt-typography-label-medium-line-height: 1.4;
  --smrt-typography-label-medium-weight: 700;
  --smrt-typography-label-medium-tracking: 0.02em;
  --smrt-typography-label-medium-font-family: var(--smrt-font-family);
  --smrt-typography-label-medium-font: 700 0.8125rem/1.4 var(--smrt-font-family);
  --smrt-typography-label-small-size: 0.75rem;
  --smrt-typography-label-small-line-height: 1.4;
  --smrt-typography-label-small-weight: 700;
  --smrt-typography-label-small-tracking: 0.08em;
  --smrt-typography-label-small-font-family: var(--smrt-font-family);
  --smrt-typography-label-small-font: 700 0.75rem/1.4 var(--smrt-font-family);
  --smrt-spacing-0: 0;
  --smrt-spacing-1: 0.25rem;
  --smrt-spacing-2: 0.5rem;
  --smrt-spacing-3: 0.75rem;
  --smrt-spacing-4: 1rem;
  --smrt-spacing-5: 1.25rem;
  --smrt-spacing-6: 1.5rem;
  --smrt-spacing-7: 1.75rem;
  --smrt-spacing-8: 2rem;
  --smrt-spacing-9: 2.25rem;
  --smrt-spacing-10: 2.5rem;
  --smrt-spacing-11: 2.75rem;
  --smrt-spacing-12: 3rem;
  --smrt-spacing-14: 3.5rem;
  --smrt-spacing-16: 4rem;
  --smrt-spacing-20: 5rem;
  --smrt-spacing-24: 6rem;
  --smrt-spacing-0_5: 0.125rem;
  --smrt-spacing-1_5: 0.375rem;
  --smrt-spacing-2_5: 0.625rem;
  --smrt-spacing-3_5: 0.875rem;
  --smrt-spacing-xs: 0.25rem;
  --smrt-spacing-sm: 0.5rem;
  --smrt-spacing-md: 1rem;
  --smrt-spacing-lg: 1.5rem;
  --smrt-spacing-xl: 2rem;
  --smrt-spacing-2xl: 3rem;
  --smrt-spacing-3xl: 4rem;
  --smrt-radius-none: 0;
  --smrt-radius-sm: 0.25rem;
  --smrt-radius-md: 0.375rem;
  --smrt-radius-lg: 0.5rem;
  --smrt-radius-xl: 0.75rem;
  --smrt-radius-2xl: 1rem;
  --smrt-radius-3xl: 1.25rem;
  --smrt-radius-full: 9999px;
  --smrt-radius-extra-small: 0.25rem;
  --smrt-radius-small: 0.25rem;
  --smrt-radius-medium: 0.375rem;
  --smrt-radius-large: 0.5rem;
  --smrt-radius-extra-large: 0.75rem;
  --smrt-elevation-0: none;
  --smrt-elevation-1: inset 0 0 0 1px rgba(228, 233, 231, 0.08);
  --smrt-elevation-2: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --smrt-elevation-3: 0 2px 6px -2px rgba(0, 0, 0, 0.5);
  --smrt-elevation-4: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
  --smrt-elevation-5: 0 12px 28px -12px rgba(0, 0, 0, 0.7);
  --smrt-duration-instant: 0ms;
  --smrt-duration-fast: 90ms;
  --smrt-duration-normal: 120ms;
  --smrt-duration-slow: 180ms;
  --smrt-duration-slower: 260ms;
  --smrt-duration-short1: 50ms;
  --smrt-duration-short2: 100ms;
  --smrt-duration-short3: 150ms;
  --smrt-duration-short4: 200ms;
  --smrt-duration-medium1: 250ms;
  --smrt-duration-medium2: 300ms;
  --smrt-duration-medium3: 350ms;
  --smrt-duration-medium4: 400ms;
  --smrt-duration-long1: 450ms;
  --smrt-duration-long2: 500ms;
  --smrt-duration-long3: 550ms;
  --smrt-duration-long4: 600ms;
  --smrt-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-standard-decelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-standard-accelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized-decelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-easing-emphasized-accelerate: cubic-bezier(0.4, 0, 0.2, 1);
  --smrt-font-family-mono: "B612 Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --smrt-typography-weight-normal: 400;
  --smrt-typography-weight-medium: 500;
  --smrt-typography-weight-semibold: 600;
  --smrt-typography-weight-bold: 700;
  --smrt-z-index-dropdown: 1000;
  --smrt-z-index-sticky: 1100;
  --smrt-z-index-overlay: 1200;
  --smrt-z-index-modal: 1300;
  --smrt-z-index-dialog: 1300;
  --smrt-z-index-popover: 1400;
  --smrt-z-index-toast: 1500;
  --smrt-z-index-tooltip: 1600;
  --smrt-z-index-loading: 1700;
}

/* ============================================================================
 * Focus
 *
 * A 2px amber outline, offset off the control. Defined by the preset so every
 * focusable element — including plain markup a consumer app renders itself —
 * carries the brand focus indicator. Component-scoped `:focus-visible` rules
 * are more specific and still win where a primitive tunes its own offset.
 * ========================================================================== */

[data-theme="happyvertical"] :focus-visible {
  outline: 2px solid var(--smrt-color-primary);
  outline-offset: 2px;
}

/* ============================================================================
 * Instrument-panel utilities (opt-in)
 *
 * The Day Shift vocabulary, expressed against the theme tokens. Add these
 * classes to your own markup — they are not applied automatically. Calm is
 * less for the brain to process, not theatre: there is no glow, no gradient,
 * and nothing here animates on its own.
 * ========================================================================== */

/* Faceplate panel — the raised module: hairline bezel, no shadow. */
.hv-panel {
  background: var(--smrt-color-surface);
  border: 1px solid var(--smrt-color-outline-variant);
  border-radius: var(--smrt-radius-lg);
}

/* Legend row — a mono label followed by a hairline rule across the panel. */
.hv-legend {
  display: flex;
  align-items: center;
  gap: var(--smrt-spacing-2_5);
  font-family: var(--smrt-font-family-mono);
  font-size: var(--smrt-typography-label-small-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smrt-color-on-surface-variant);
}
.hv-legend::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--smrt-color-outline-variant);
}

/* Standalone hairline rule, for legend rows that need it before the label. */
.hv-rule {
  flex: 1;
  height: 1px;
  background: var(--smrt-color-outline-variant);
}

/* Status lamp — a marker dot. Green reads as "running" here and is never text. */
.hv-lamp {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--smrt-radius-full);
  background: var(--smrt-color-success);
}
.hv-lamp-idle {
  background: var(--smrt-color-outline);
}
.hv-lamp-attention {
  background: var(--smrt-color-primary);
}

/* Quiet link — bezel underline that warms to amber on hover. */
.hv-quiet-link {
  color: var(--smrt-color-on-surface);
  text-decoration: underline;
  text-decoration-color: var(--smrt-color-outline-variant);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--smrt-duration-normal)
    var(--smrt-easing-standard);
}
.hv-quiet-link:hover {
  text-decoration-color: var(--smrt-color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .hv-quiet-link {
    transition: none;
  }
}
