/* Respomi brand tokens (theme 28 "Report grain", 2026-11-23) on the Obsidian token names.
   Obsidian design tokens: the one source of colour, shape, depth and timing for the app and the design preview.
   Light ("Frost") is the default; <html data-theme="dark"> switches to dark (Obsidian). Rules: design-system/DESIGN.md. */
:root{
  /* surfaces */
  --ob-bg:#efefed;            /* page behind everything; also input wells */
  --ob-surface:#f6f6f4;       /* main area */
  --ob-card:rgba(255,255,255,.78); /* frosted card (use with backdrop blur) */
  --ob-card-solid:#ffffff;    /* card without blur: the working app */
  --ob-card-2:#f4f4f2;        /* card inside a card */
  --ob-raise:#e8e8e5;         /* chips, selected item */
  --ob-raise-2:#d8d8d4;       /* pressed, chart bars */
  --ob-line:rgba(11,11,11,.08);
  --ob-line-2:#b9b9c2;
  --ob-scrim:rgba(24,24,40,.28);

  /* depth: resting card, hovered card, floating things */
  --ob-sheen:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(24,24,40,.04),0 18px 36px -20px rgba(24,24,40,.22);
  --ob-e1:var(--ob-sheen);
  --ob-e2:inset 0 1px 0 rgba(255,255,255,.9),0 2px 4px rgba(24,24,40,.05),0 30px 48px -24px rgba(24,24,40,.3);
  --ob-e3:inset 0 1px 0 rgba(255,255,255,.9),0 4px 8px rgba(24,24,40,.06),0 40px 64px -24px rgba(24,24,40,.4);
  --ob-lift:drop-shadow(0 10px 16px rgba(24,24,40,.16));
  --ob-lift-2:drop-shadow(0 34px 36px rgba(24,24,40,.3));
  --ob-well-shadow:inset 0 1px 2px rgba(24,24,40,.06);
  --ob-track:rgba(24,24,32,.05);
  --ob-dock:rgba(255,255,255,.78);
  --ob-dock-shadow:0 20px 40px -20px rgba(24,24,40,.35);

  /* text: three roles */
  --ob-text:#0b0b0b;
  --ob-text-2:#4a4a4a;
  --ob-text-3:#6b6b6b;

  /* actions */
  --ob-platinum:#ff7a45;      /* main button: Respomi coral */
  --ob-platinum-hover:#ff8f61;
  --ob-on-platinum:#0b0b0b;
  --ob-accent:#ff7a45;        /* Respomi coral: what needs the owner */
  --ob-ai:#9b8cff;            /* Respomi lilac: the AI at work */
  --ob-ai-ink:#5b4bd6;
  --ob-accent-ink:#c2410c;    /* coral as text on light */

  /* status */
  --ob-ok:#2e7f78; --ob-wait:#855808; --ob-bad:#b3261e;
  --ob-ok-soft:rgba(46,127,120,.12); --ob-bad-soft:rgba(179,38,30,.1);

  /* paper: things that leave the business */
  --ob-paper:#ffffff; --ob-paper-ink:#0b0b0b; --ob-paper-soft:#55534f;

  /* type: one family */
  --ob-body:"Work Sans","Helvetica Neue",Arial,sans-serif;
  --ob-display:var(--ob-body);
  --ob-w-light:300; --ob-w:400; --ob-w-strong:500;
  --ob-fs-xs:12px; --ob-fs-sm:13px; --ob-fs:14px; --ob-fs-md:16px; --ob-fs-lg:20px; --ob-fs-xl:36px; --ob-fs-2xl:44px;

  /* shape and space */
  --ob-r-card:24px; --ob-r-inner:16px; --ob-r-well:14px; --ob-r-sm:10px; --ob-r-pill:999px;
  --ob-1:4px; --ob-2:8px; --ob-3:12px; --ob-4:16px; --ob-5:20px; --ob-6:24px; --ob-8:32px; --ob-10:40px;

  /* motion */
  --ob-ease:cubic-bezier(.2,.8,.2,1); --ob-fast:.15s; --ob-enter:.5s; --ob-moment:.9s;
}
[data-theme="dark"]{
  --ob-bg:#0b0b0b;
  --ob-surface:#0f0f0f;
  --ob-card:#161616;
  --ob-card-solid:#161616;
  --ob-card-2:#1c1c1c;
  --ob-raise:#262626;
  --ob-raise-2:#333333;
  --ob-line:rgba(255,255,255,.08);
  --ob-line-2:#3a3a3a;
  --ob-scrim:rgba(0,0,0,.6);
  --ob-sheen:inset 0 1px 0 rgba(255,255,255,.045);
  --ob-e2:inset 0 1px 0 rgba(255,255,255,.07),0 16px 28px -18px rgba(0,0,0,.7);
  --ob-e3:inset 0 1px 0 rgba(255,255,255,.08),0 28px 48px -20px rgba(0,0,0,.85);
  --ob-lift:drop-shadow(0 10px 16px rgba(0,0,0,.45));
  --ob-lift-2:drop-shadow(0 30px 34px rgba(0,0,0,.6));
  --ob-well-shadow:inset 0 1px 2px rgba(0,0,0,.35);
  --ob-track:rgba(255,255,255,.03);
  --ob-dock:rgba(22,22,22,.85);
  --ob-dock-shadow:0 20px 40px -20px rgba(0,0,0,.8);
  --ob-text:#f5f5f5;
  --ob-text-2:#c9c9c9;
  --ob-text-3:#8a8a8a;
  --ob-platinum:#ff7a45;
  --ob-platinum-hover:#ff8f61;
  --ob-on-platinum:#0b0b0b;
  --ob-accent-ink:#ff9a6e;
  --ob-ai-ink:#b8adff;
  --ob-ok:#5fb8b0; --ob-wait:#d9b46a; --ob-bad:#ffb4ab;
  --ob-ok-soft:rgba(95,184,176,.14); --ob-bad-soft:rgba(255,180,171,.12);
}

/* Respomi grain: coral and lilac light with film grain, for entrance pages only (never behind the working app). */
:root{--rp-grain:radial-gradient(40% 50% at 82% 18%,rgba(255,122,69,.35),transparent 70%),radial-gradient(40% 50% at 15% 90%,rgba(155,140,255,.3),transparent 70%)}
[data-theme="dark"]{--rp-grain:radial-gradient(40% 50% at 82% 18%,rgba(255,122,69,.55),transparent 70%),radial-gradient(40% 50% at 15% 90%,rgba(155,140,255,.45),transparent 70%)}
