/* Cloud Group Accounting App: Cloudfields brand look (from the Cloudfields Brand Guideline).
   Colours: Ocean Blue #567DA2 (primary), Sky Blue #167DC8, Brick Red #C85739, Wood #D28C5E,
   Cement Grey #B19D90, Cream #F4EAE4. Font: Jost (free look-alike of the brand font Europa). */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap");

:root {
  /* Surfaces: warm off-white page, white cards, cream accents */
  --bg: #f6f3f0;
  --card: #ffffff;
  --hover: #faf6f3;
  --line: #ebe3dd;
  --line-strong: #d9cdc5;
  --header-bg: #ffffff;
  --header-line: #ebe3dd;

  /* Text: deep Ocean Blue shades */
  --ink: #1a2531;
  --muted: #6c7a89;

  /* Brand blues */
  --accent: #567da2;          /* Ocean Blue */
  --accent-hover: #344b61;
  --accent-ink: #ffffff;
  --accent-soft: #eef2f6;
  --link: #167dc8;            /* Sky Blue */

  /* Messages: brand-tinted */
  --info-bg: #e8f2fa; --info-ink: #0d4b78;
  --warn: #9c5a2c; --warn-bg: #fbeee3; --warn-ink: #7a4420;   /* Wood */
  --bad: #b2482c; --bad-bg: #f9e7e1; --bad-ink: #8a3520;      /* Brick Red */
  --ok: #3d7a57; --ok-bg: #e9f3ec; --ok-ink: #2c5c40;

  /* Type */
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Jost", system-ui, sans-serif;

  /* Charts: brand palette */
  --chart-1: #567da2;  /* Ocean Blue */
  --chart-2: #c85739;  /* Brick Red */
  --chart-3: #d28c5e;  /* Wood */
  --chart-4: #167dc8;  /* Sky Blue */
  --chart-5: #b19d90;  /* Cement Grey */
  --chart-other: #d9cdc5;
  --chart-noncogs: #d9cdc5;
  --chart-today: #344b61;

  /* Doodles */
  --doodle-fill: #f4eae4;     /* Cream */

  --shadow: 0 1px 2px rgba(52, 75, 97, .05), 0 2px 6px rgba(52, 75, 97, .05);
}

body { font-size: 15px; }
header h1 span { font-weight: 600; color: var(--accent-hover); }
.card h2, .an h3, .an-title { font-weight: 600; letter-spacing: 0; }

/* Hand-drawn touches: a smiling cloud on the sign-in screen and on empty pages */
.doodle { display: block; color: #1a2531; }
.login { background: var(--card); }
body:has(.login) { background: linear-gradient(180deg, #e8f2fa 0%, #f6f3f0 55%); min-height: 100vh; }
