/* Generated from tokens.json; edit the source, not this projection. */
@import url("assets/font-faces.css");
:root {
  --xh-font-sans: "XH Latin", "XH CJK", sans-serif;
  --xh-font-code: ui-monospace, SFMono-Regular, Consolas, monospace;
  --xh-radius: 6px;
  --xh-font-weight-regular: 400;
  --xh-font-weight-medium: 500;
  --xh-font-weight-semibold: 600;
  --xh-font-size-page: 20px;
  --xh-line-height-page: 28px;
  --xh-font-size-section: 16px;
  --xh-line-height-section: 24px;
  --xh-font-size-body: 14px;
  --xh-line-height-body: 20px;
  --xh-font-size-meta: 12px;
  --xh-line-height-meta: 18px;
  --xh-font-size-metric: 28px;
  --xh-line-height-metric: 36px;
  --xh-font-size-display: 36px;
  --xh-line-height-display: 44px;
  --xh-space-4: 4px;
  --xh-space-8: 8px;
  --xh-space-12: 12px;
  --xh-space-16: 16px;
  --xh-space-24: 24px;
  --xh-space-32: 32px;
  --xh-space-48: 48px;
  --xh-control-height: 44px;
  --xh-touch-target: 44px;
  --xh-control-padding-inline: 12px;
  --xh-focus-width: 2px;
  --xh-focus-offset: 2px;
  --xh-sidebar-width: 240px;
  --xh-reading-max: 920px;
  --xh-table-row-height: 52px;
  --xh-card-padding: 24px;
  --xh-motion-fast: 120ms;
  --xh-motion-normal: 180ms;
  --xh-motion-stagger-step: 40ms;
  --xh-motion-stagger-max: 160ms;
  --xh-motion-reduced: 0ms;
  --xh-optical-inset: 2px;
  --xh-inner-radius: 4px;
  --xh-brand-mark-width: 32px;
  --xh-brand-mark-height: 32px;
  --xh-brand-wordmark-width: 44px;
  --xh-brand-wordmark-height: 24px;
  --xh-brand-gap: 8px;
  --xh-ease-standard: cubic-bezier(0.2,0,0,1);
  --xh-ease-enter: cubic-bezier(0,0,0.2,1);
  --xh-ease-exit: cubic-bezier(0.4,0,1,1);
  --xh-z-content: 0;
  --xh-z-sticky: 10;
  --xh-z-popover: 20;
  --xh-z-overlay: 30;
  --xh-z-dialog: 40;
  --xh-z-notice: 50;
}
:root, [data-theme="light"] {
  --xh-canvas: #F6F8F7;
  --xh-surface: #FFFFFF;
  --xh-surface-muted: #F0F3F1;
  --xh-surface-hover: #F0F3F1;
  --xh-surface-pressed: #E4EAE6;
  --xh-text: #222827;
  --xh-text-secondary: #596660;
  --xh-border: #DCE3DE;
  --xh-control-border: #7A8580;
  --xh-primary: #147D43;
  --xh-primary-hover: #0D5E31;
  --xh-primary-pressed: #094D28;
  --xh-on-primary: #FFFFFF;
  --xh-primary-soft: #E4F6E9;
  --xh-selected-bg: #E4F6E9;
  --xh-selected-text: #0D5E31;
  --xh-success: #147D43;
  --xh-success-bg: #E4F6E9;
  --xh-success-border: #147D43;
  --xh-warning: #805300;
  --xh-warning-bg: #FFF5DB;
  --xh-warning-border: #9E6A05;
  --xh-danger: #B13B3B;
  --xh-danger-bg: #FDEBEC;
  --xh-danger-border: #B13B3B;
  --xh-info: #285F9A;
  --xh-info-bg: #EAF3FF;
  --xh-info-border: #285F9A;
  --xh-focus: #147D43;
  --xh-disabled-text: #5D6962;
  --xh-disabled-bg: #E8EDEA;
  --xh-disabled-border: #7A8580;
  --xh-overlay: rgba(17,23,19,0.36);
  --xh-chart-primary: #147D43;
  --xh-chart-comparison: #285F9A;
  --xh-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color-scheme: light;
}
[data-theme="dark"] {
  --xh-canvas: #111713;
  --xh-surface: #1C251E;
  --xh-surface-muted: #263229;
  --xh-surface-hover: #2D3A31;
  --xh-surface-pressed: #344338;
  --xh-text: #F1F6F1;
  --xh-text-secondary: #BCC9BE;
  --xh-border: #3A4A3D;
  --xh-control-border: #8C9F90;
  --xh-primary: #69CD92;
  --xh-primary-hover: #86DBA7;
  --xh-primary-pressed: #4BBF79;
  --xh-on-primary: #102319;
  --xh-primary-soft: #173D29;
  --xh-selected-bg: #173D29;
  --xh-selected-text: #83D6A2;
  --xh-success: #83D6A2;
  --xh-success-bg: #1D3C2A;
  --xh-success-border: #4F9B6B;
  --xh-warning: #E9C16A;
  --xh-warning-bg: #3C321D;
  --xh-warning-border: #B58B3E;
  --xh-danger: #F29C9C;
  --xh-danger-bg: #432628;
  --xh-danger-border: #B97171;
  --xh-info: #91B9EF;
  --xh-info-bg: #20364D;
  --xh-info-border: #628EB9;
  --xh-focus: #69CD92;
  --xh-disabled-text: #A8B3AB;
  --xh-disabled-bg: #2A352D;
  --xh-disabled-border: #8C9F90;
  --xh-overlay: rgba(0,0,0,0.64);
  --xh-chart-primary: #69CD92;
  --xh-chart-comparison: #91B9EF;
  --xh-shadow: 0 2px 8px rgba(0,0,0,0.28);
  color-scheme: dark;
}
[data-density="dense"] { --xh-table-row-height: 44px; --xh-card-padding: 16px; }
[data-density="comfortable"] { --xh-table-row-height: 52px; --xh-card-padding: 24px; }
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--xh-canvas); color: var(--xh-text); font-family: var(--xh-font-sans); font-size: var(--xh-font-size-body); line-height: var(--xh-line-height-body); font-weight: var(--xh-font-weight-regular); font-synthesis: none; }
button, input, select, textarea { font: inherit; color: inherit; font-synthesis: none; }
a { color: var(--xh-primary); text-underline-offset: 3px; }
:focus-visible { outline: var(--xh-focus-width) solid var(--xh-focus); outline-offset: var(--xh-focus-offset); }
::selection { color: var(--xh-selected-text); background: var(--xh-selected-bg); }
@media (prefers-reduced-motion: reduce) {
  :root { --xh-motion-fast: var(--xh-motion-reduced); --xh-motion-normal: var(--xh-motion-reduced); }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: var(--xh-motion-reduced) !important; animation-duration: var(--xh-motion-reduced) !important; animation-iteration-count: 1 !important; }
}
@media (forced-colors: active) {
  :root { --xh-border: CanvasText; --xh-control-border: ButtonText; --xh-focus: Highlight; --xh-shadow: none; }
  :focus-visible { outline: var(--xh-focus-width) solid Highlight; }
}
