/* @truffle-hunters/tokens 0.1.0 · gerado de Figma dB8lN4sJyLoLuwmpfybFju (snapshot 0a6699f3, 2026-11-11). Não edite à mão. */

:root {
  /* 01 Brand palette — primitivos. Use os papéis semânticos na interface. */
  --th-black-solo: #1E1A14;
  --th-dark-canvas: #17140F;
  --th-dark-line: #403A32;
  --th-dark-muted: #2C2822;
  --th-dark-selected-line: #544C40;
  --th-dark-selected-surface: #302B25;
  --th-dark-surface: #211D17;
  --th-dark-text-muted: #B4AA9D;
  --th-error-dark: #F09985;
  --th-error-dark-surface: #3A2420;
  --th-error-soft: #FBEDE8;
  --th-error-strong: #AE3D2D;
  --th-green-nature: #373B20;
  --th-green-nature-light: #CFE0BA;
  --th-green-nature-opacity-60: #373B2099;
  --th-green-nature-opacity-70: #373B20B2;
  --th-ground-brown: #887F72;
  --th-ground-brown-opacity-10: #887F721A;
  --th-ground-brown-opacity-20: #887F7233;
  --th-ground-brown-opacity-30: #887F724D;
  --th-ground-brown-opacity-50: #887F7280;
  --th-info-dark: #B1CDD8;
  --th-info-dark-surface: #222E33;
  --th-info-soft: #EDF3F5;
  --th-info-strong: #4F6872;
  --th-light-sun-orange: #FFCB92;
  --th-mid-sun-orange: #FF9553;
  --th-olive-chart: #9AAC81;
  --th-orange-accent: #FF560D;
  --th-paper-white: #F2EBE6;
  --th-paper-white-opacity-20: #F2EBE633;
  --th-paper-white-opacity-5: #F2EBE60D;
  --th-sand-brown: #D2C8BD;
  --th-soft-surface: #F8F7F5;
  --th-success-dark: #B9D39D;
  --th-success-dark-surface: #273020;
  --th-success-soft: #EFF3E8;
  --th-success-strong: #4C6337;
  --th-ui-hover: #FAF9F8;
  --th-ui-line: #E7E5E3;
  --th-ui-line-opacity-20: #E7E5E333;
  --th-ui-selected-line: #CDC9C1;
  --th-ui-selected-surface: #F2F0EC;
  --th-ui-white: #FFFFFF;
  --th-warning-dark: #E6C482;
  --th-warning-dark-surface: #352D1E;
  --th-warning-soft: #FCF3DE;
  --th-warning-strong: #90651F;

  /* 03 UI dimensions */
  --th-space-1: 4px;
  --th-space-10: 40px;
  --th-space-10px: 10px;
  --th-space-12: 48px;
  --th-space-16: 64px;
  --th-space-2: 8px;
  --th-space-3: 12px;
  --th-space-4: 16px;
  --th-space-5: 20px;
  --th-space-6: 24px;
  --th-space-6px: 6px;
  --th-space-8: 32px;
  --th-radius-card: 16px;
  --th-radius-control: 6px;
  --th-radius-lg: 12px;
  --th-radius-md: 8px;
  --th-radius-pill: 999px;
  --th-radius-sm: 4px;
  --th-size-control: 40px;
  --th-size-control-lg: 48px;
  --th-size-control-sm: 32px;
  --th-size-icon: 16px;
  --th-native-control: 48px;
  --th-native-nav-height: 64px;
  --th-native-page-inset: 20px;
  --th-native-touch-android: 48px;
  --th-native-touch-ios: 44px;

  /* Famílias */
  --th-font-heading: "Hepta Slab", ui-serif, Georgia, serif;
  --th-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --th-font-mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;

  /* Estilos de texto (Truffle/Typography/*) */
  --th-type-action-family: var(--th-font-sans);
  --th-type-action-size: 13px;
  --th-type-action-line-height: 1.2;
  --th-type-action-letter-spacing: 0em;
  --th-type-action-weight: 400;
  --th-type-body-family: var(--th-font-sans);
  --th-type-body-size: 16px;
  --th-type-body-line-height: 1.5;
  --th-type-body-letter-spacing: 0em;
  --th-type-body-weight: 400;
  --th-type-body-large-family: var(--th-font-sans);
  --th-type-body-large-size: 18px;
  --th-type-body-large-line-height: 1.45;
  --th-type-body-large-letter-spacing: 0em;
  --th-type-body-large-weight: 400;
  --th-type-body-small-family: var(--th-font-sans);
  --th-type-body-small-size: 14px;
  --th-type-body-small-line-height: 1.45;
  --th-type-body-small-letter-spacing: 0em;
  --th-type-body-small-weight: 400;
  --th-type-caption-family: var(--th-font-sans);
  --th-type-caption-size: 12px;
  --th-type-caption-line-height: 1.4;
  --th-type-caption-letter-spacing: 0em;
  --th-type-caption-weight: 400;
  --th-type-display-family: var(--th-font-heading);
  --th-type-display-size: 72px;
  --th-type-display-line-height: 1;
  --th-type-display-letter-spacing: -0.01em;
  --th-type-display-weight: 400;
  --th-type-h1-family: var(--th-font-heading);
  --th-type-h1-size: 48px;
  --th-type-h1-line-height: 1;
  --th-type-h1-letter-spacing: -0.025em;
  --th-type-h1-weight: 400;
  --th-type-h2-family: var(--th-font-heading);
  --th-type-h2-size: 32px;
  --th-type-h2-line-height: 1.08;
  --th-type-h2-letter-spacing: -0.01em;
  --th-type-h2-weight: 400;
  --th-type-h3-family: var(--th-font-heading);
  --th-type-h3-size: 24px;
  --th-type-h3-line-height: 1.12;
  --th-type-h3-letter-spacing: 0em;
  --th-type-h3-weight: 400;
  --th-type-h4-family: var(--th-font-heading);
  --th-type-h4-size: 20px;
  --th-type-h4-line-height: 1.12;
  --th-type-h4-letter-spacing: 0em;
  --th-type-h4-weight: 400;
  --th-type-label-family: var(--th-font-sans);
  --th-type-label-size: 14px;
  --th-type-label-line-height: 1.2;
  --th-type-label-letter-spacing: 0em;
  --th-type-label-weight: 500;
  --th-type-meta-family: var(--th-font-mono);
  --th-type-meta-size: 11px;
  --th-type-meta-line-height: 1.35;
  --th-type-meta-letter-spacing: 0em;
  --th-type-meta-weight: 400;
  --th-type-section-family: var(--th-font-mono);
  --th-type-section-size: 12px;
  --th-type-section-line-height: 1.25;
  --th-type-section-letter-spacing: 0em;
  --th-type-section-weight: 400;
  --th-type-ui-body-family: var(--th-font-sans);
  --th-type-ui-body-size: 14px;
  --th-type-ui-body-line-height: 1.5;
  --th-type-ui-body-letter-spacing: 0px;
  --th-type-ui-body-weight: 400;
  --th-type-ui-caption-family: var(--th-font-sans);
  --th-type-ui-caption-size: 12px;
  --th-type-ui-caption-line-height: 1.4;
  --th-type-ui-caption-letter-spacing: 0px;
  --th-type-ui-caption-weight: 400;
  --th-type-ui-divider-family: var(--th-font-sans);
  --th-type-ui-divider-size: 8px;
  --th-type-ui-divider-line-height: 1.2;
  --th-type-ui-divider-letter-spacing: 0em;
  --th-type-ui-divider-weight: 400;
  --th-type-ui-field-label-family: var(--th-font-sans);
  --th-type-ui-field-label-size: 11px;
  --th-type-ui-field-label-line-height: 1.2;
  --th-type-ui-field-label-letter-spacing: 0em;
  --th-type-ui-field-label-weight: 400;
  --th-type-ui-label-family: var(--th-font-sans);
  --th-type-ui-label-size: 12px;
  --th-type-ui-label-line-height: 1.4;
  --th-type-ui-label-letter-spacing: 0px;
  --th-type-ui-label-weight: 500;
  --th-type-ui-section-family: var(--th-font-sans);
  --th-type-ui-section-size: 14px;
  --th-type-ui-section-line-height: 1.2;
  --th-type-ui-section-letter-spacing: 0em;
  --th-type-ui-section-weight: 400;
  --th-type-ui-small-family: var(--th-font-sans);
  --th-type-ui-small-size: 10px;
  --th-type-ui-small-line-height: 1.2;
  --th-type-ui-small-letter-spacing: 0em;
  --th-type-ui-small-weight: 400;
  --th-type-ui-title-family: var(--th-font-sans);
  --th-type-ui-title-size: 16px;
  --th-type-ui-title-line-height: 1.4;
  --th-type-ui-title-letter-spacing: 0px;
  --th-type-ui-title-weight: 500;
  --th-type-ui-value-family: var(--th-font-sans);
  --th-type-ui-value-size: 28px;
  --th-type-ui-value-line-height: 1.2;
  --th-type-ui-value-letter-spacing: 0px;
  --th-type-ui-value-weight: 500;

  /* Elevação (Truffle/Elevation/*) — só para o que flutua. Cards usam borda. */
  --th-shadow-overlay: 0px 8px 32px 0px #1F1A1424;
  --th-shadow-raised: 0px 2px 8px 0px #1F1A1414;
}

:root,
[data-theme="light"] {
  /* 02 Semantic colors · Light */
  --th-action-primary: var(--th-black-solo);
  --th-action-primary-foreground: var(--th-paper-white);
  --th-action-secondary: var(--th-soft-surface);
  --th-background-default: var(--th-ui-white);
  --th-background-hover: var(--th-soft-surface);
  --th-background-selected: var(--th-ui-selected-surface);
  --th-background-subtle: var(--th-soft-surface);
  --th-background-surface: var(--th-ui-white);
  --th-border-default: var(--th-ui-line);
  --th-border-selected: var(--th-ui-selected-line);
  --th-brand-accent: var(--th-orange-accent);
  --th-chart-1: var(--th-orange-accent);
  --th-chart-2: var(--th-green-nature);
  --th-chart-3: var(--th-ground-brown);
  --th-chart-4: var(--th-mid-sun-orange);
  --th-chart-5: var(--th-green-nature-light);
  --th-chart-area: var(--th-paper-white);
  --th-chart-grid: var(--th-ui-line);
  --th-focus-ring: var(--th-orange-accent);
  --th-foreground-default: var(--th-black-solo);
  --th-foreground-muted: var(--th-ground-brown);
  --th-foreground-placeholder: var(--th-ground-brown);
  --th-icon-accent: var(--th-orange-accent);
  --th-icon-default: var(--th-black-solo);
  --th-icon-muted: var(--th-ground-brown);
  --th-navigation-active: var(--th-ui-line);
  --th-navigation-foreground: var(--th-green-nature);
  --th-status-error: var(--th-error-strong);
  --th-status-error-surface: var(--th-error-soft);
  --th-status-info: var(--th-info-strong);
  --th-status-info-surface: var(--th-info-soft);
  --th-status-success: var(--th-success-strong);
  --th-status-success-surface: var(--th-success-soft);
  --th-status-warning: var(--th-warning-strong);
  --th-status-warning-surface: var(--th-warning-soft);
}

.dark,
[data-theme="dark"] {
  /* 02 Semantic colors · Dark */
  color-scheme: dark;
  --th-action-primary: var(--th-paper-white);
  --th-action-primary-foreground: var(--th-black-solo);
  --th-action-secondary: var(--th-dark-muted);
  --th-background-default: var(--th-dark-canvas);
  --th-background-hover: var(--th-dark-muted);
  --th-background-selected: var(--th-dark-selected-surface);
  --th-background-subtle: var(--th-dark-muted);
  --th-background-surface: var(--th-dark-surface);
  --th-border-default: var(--th-dark-line);
  --th-border-selected: var(--th-dark-selected-line);
  --th-brand-accent: var(--th-orange-accent);
  --th-chart-1: var(--th-orange-accent);
  --th-chart-2: var(--th-olive-chart);
  --th-chart-3: var(--th-sand-brown);
  --th-chart-4: var(--th-mid-sun-orange);
  --th-chart-5: var(--th-green-nature-light);
  --th-chart-area: var(--th-dark-muted);
  --th-chart-grid: var(--th-dark-line);
  --th-focus-ring: var(--th-orange-accent);
  --th-foreground-default: var(--th-paper-white);
  --th-foreground-muted: var(--th-dark-text-muted);
  --th-foreground-placeholder: var(--th-dark-text-muted);
  --th-icon-accent: var(--th-orange-accent);
  --th-icon-default: var(--th-paper-white);
  --th-icon-muted: var(--th-sand-brown);
  --th-navigation-active: var(--th-dark-muted);
  --th-navigation-foreground: var(--th-paper-white);
  --th-status-error: var(--th-error-dark);
  --th-status-error-surface: var(--th-error-dark-surface);
  --th-status-info: var(--th-info-dark);
  --th-status-info-surface: var(--th-info-dark-surface);
  --th-status-success: var(--th-success-dark);
  --th-status-success-surface: var(--th-success-dark-surface);
  --th-status-warning: var(--th-warning-dark);
  --th-status-warning-surface: var(--th-warning-dark-surface);
}
