/* Helioux brand tokens: the values the seller's surfaces read, and the only place they are written.
   Master: the Helioux Brandguide (https://claude.ai/artifact/KQKnzASgxHsi4BePJ6Dsnm, tokens.json, synced 2026-11-05), the same names
   as helioux.dk. Colours whole; of type, spacing, corners and shadows what apps use, not the site's large scale.
   Spelling: Helioux (never Heliox). Orange is accent only. */
:root {
  /* Colour: the guide's whole palette */
  --c-bg: #fafaf7;                       /* the page's ground */
  --c-bg-2: #f2efe8;                     /* beige: hover in lists, small pill surfaces */
  --c-stage: rgba(150, 112, 60, 0.08);
  --c-card: #ffffff;                     /* cards, panels, a field in focus, text on ink */
  --c-ink: #1a1a1a;                      /* headings, the main button */
  --c-ink-soft: #555452;                 /* body and every small text a seller reads: 7.2:1 on --c-bg */
  --c-ink-mute: #908d87;                 /* icons and marks: 3.2:1, so never text a seller has to read */
  --c-line: rgba(26, 26, 26, 0.10);      /* hairlines, card and field edges */
  --c-line-strong: rgba(26, 26, 26, 0.22);
  --c-orange: #e8743c;                   /* accent only: 2.9:1, never body text */
  --c-orange-tint: #fbe7d9;
  --c-orange-deep: #b4531f;              /* small orange text: 4.8:1 on --c-bg */
  --c-green: #2c7a4b;                    /* status only, always with a word or a tick */
  --c-green-tint: #e4f0e8;
  --c-red: #b0432b;                      /* errors and danger, always with a sentence */
  --c-red-tint: #f8e7e1;
  --c-on-ink-soft: rgba(250, 250, 247, 0.66);
  /* From the guide's bundle.css: hover on the main button, a danger button's edge. */
  --c-ink-hover: color-mix(in srgb, var(--c-ink) 82%, #000);
  --c-red-edge: color-mix(in srgb, var(--c-red) 35%, #fff);
  /* The guide's own literals, named here so no stylesheet writes them (#518). */
  --c-mark-edge: #d6d6d0;                /* an empty tick's edge */
  --c-on-avatar: #f4f4f1;                /* an avatar's initials on ink */
  --c-status-bg: rgba(255, 255, 255, 0.8);
  --c-foot-bg: rgba(255, 255, 255, 0.92);

  /* Type: Inter only (self-hosted, public/fonts). App scale, from pocket.helioux.dk through the guide. */
  --c-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --c-features: "ss01", "cv11";
  --c-app-title-size: 22px;              /* the screen's title, one per screen */
  --c-app-title-weight: 500;             /* the guide's c-app-title; only the sign-in hero stays light (docs/design.md) */
  --c-app-title-leading: 1.35;
  --c-app-title-track: -0.015em;
  --c-app-list-title-size: 27px;         /* a list's title on the phone */
  --c-app-list-title-track: -0.02em;
  --c-app-panel-size: 15px;              /* a card's title: never larger, never 600 */
  --c-app-panel-weight: 500;
  --c-app-panel-track: -0.005em;
  --c-app-body-size: 15px;               /* rows, tasks, mail: 14px at 900 px and up */
  --c-app-body-weight: 300;
  --c-app-body-leading: 1.5;
  --c-app-input-size: 16px;              /* under 16px iOS zooms in: 14px at 900 px and up */
  --c-app-button-size: 15px;
  --c-app-button-weight: 400;
  --c-app-button-small-size: 13px;
  --c-app-small-size: 13.5px;            /* meta, help text, date pills */
  --c-app-label-size: 12.5px;            /* a field's name, what the customer said */
  --c-app-chip-size: 12px;               /* status pills and small marks */
  --c-weight-light: 300;
  --c-weight-medium: 500;
  --c-weight-regular: 400;

  /* Spacing */
  --c-app-bar: 53px;                     /* the top bar: a 24 px wordmark and 14 px of air */
  --c-touch: 44px;                       /* the smallest press target */

  /* Corners */
  --c-r-sm: 4px;
  --c-r-md: 8px;                         /* small marks */
  --c-r-small: 9px;                      /* the small button */
  --c-r-control: 11px;                   /* fields and the main button */
  --c-r-lg: 12px;                        /* choice rows */
  --c-r-app-card: 18px;                  /* cards */
  --c-r-xl: 20px;                        /* the sign-in card */
  --c-r-pill: 999px;                     /* status and date pills */

  /* Shadows */
  --c-shadow-app: 0 1px 2px rgba(23, 23, 23, .04), 0 12px 40px -12px rgba(23, 23, 23, .10);
  --c-shadow-float: 0 0 0 1px rgba(26, 26, 26, .07), 0 1px 2px rgba(26, 26, 26, .05), 0 8px 16px -6px rgba(26, 26, 26, .07), 0 28px 56px -20px rgba(26, 26, 26, .18);
  --c-shadow-menu: 0 0 0 1px rgba(26, 26, 26, .10), 0 24px 48px -24px rgba(26, 26, 26, .28);
  --c-shadow-tab: 0 0 0 1px rgba(26, 26, 26, .05), 0 1px 3px rgba(26, 26, 26, .1);
  --c-shadow-dialog: 0 24px 60px -24px rgba(26, 26, 26, .35), 0 8px 20px -12px rgba(26, 26, 26, .18);  /* a sheet over the page */
  --c-ring-field: 0 0 0 3px var(--c-orange-tint);

  /* Motion */
  --c-ease: cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 900px) {
  :root { --c-app-body-size: 14px; --c-app-input-size: 14px; }
}
/* A touch screen keeps 16px in a field at any width: a phone in landscape, a tablet. */
@media (pointer: coarse) {
  :root { --c-app-input-size: 16px; }
}
