/* ==========================================================================
   canopy.css — VENDORED FILE, do not edit.
   Generated by `npm run sync:theme` from @smarthopper/theme@0.7.6
   (smarthopper-shared → packages/theme/css/tokens.css). Re-run the sync after
   the shared package changes; site overrides live in v2.css (unlayered wins).
   ========================================================================== */
/* @smarthopper/theme — Canopy design tokens
   The shared SmartHopper 2.0 visual identity: soft sage surfaces, organic
   rounded geometry, warm shadows. Brand green (#2d5a3d) is fixed and never
   changes with the theme.

   Theme: light|dark via [data-theme] on <html>; each product resolves its
   default from prefers-color-scheme and persists the choice itself.

   Product accent slot: --product/--product-ink/--product-soft/--accent/
   --accent-soft/--btn-fg default to the brand-green ramp. Products override
   them with their signed-menu color (see productTheme) after importing this
   file — later rules win. */

@layer sh-theme {

:root,
[data-theme='light'] {
  --paper: #f7f9f4;
  --paper-2: #eef2e8;
  --ink: #222b23;
  --ink-soft: #5c685e;
  --line: #dde4d4;
  --line-strong: #b9c7ae;

  /* Brand green — fixed identity color, identical in both themes. */
  --green: #2d5a3d;
  --green-ink: #1e3d2a;
  --green-soft: #e6efe7;

  /* Product accent ramp — defaults to the brand green; products override. */
  --product: var(--green);
  --product-ink: var(--green-ink);
  --product-soft: var(--green-soft);
  --accent: #4d9c68;
  --accent-soft: var(--green-soft);
  --btn-fg: #ffffff;

  /* Semantic colors — status only, never product chrome. */
  --warn: #8a6d1c;
  --warn-soft: #faf3dd;
  --danger: #b3261e;
  --danger-soft: #fae9e8;
  --ok: #2f6b3f;
  --ok-soft: #e6efe7;
  --up: #2d5a3d;

  --shadow: 0 16px 38px -24px rgba(34, 58, 40, 0.38);
  --shadow-sm: 0 8px 22px -14px rgba(34, 58, 40, 0.3);

  color-scheme: light;
}

[data-theme='dark'] {
  --paper: #141b16;
  --paper-2: #1b251d;
  --ink: #edf2ea;
  --ink-soft: #9dab9e;
  --line: #2b372d;
  --line-strong: #45543f;

  --green: #2d5a3d;
  --green-ink: #3a7d52;
  --green-soft: #152018;

  /* Dark-mode product defaults: a luminous green ramp that stays readable
     on the dark canvas. Products override with their own signed-menu ramp. */
  --product: #4d9c68;
  --product-ink: #7fba8e;
  --product-soft: #1c2a20;
  --accent: #7fba8e;
  --accent-soft: #1c2a20;
  --btn-fg: #0b0e0b;

  --warn: #d9b44a;
  --warn-soft: #2a220d;
  --danger: #e08077;
  --danger-soft: #2b1512;
  --ok: #7fba8e;
  --ok-soft: #1c2a20;
  --up: #4d9c68;

  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

:root {
  --mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  --sans: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', 'Space Grotesk',
    system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;
  --r-btn: 18px 18px 18px 5px;
  /* Signature asymmetric radius — the "canopy" silhouette. */
  --r-canopy: 24px 24px 24px 7px;
}
}
