/*
 * Postmark, looprz's design language: the only colours, fonts and radii the board's pages use.
 * Copied from the app's theme (mobile/lib/theme/ in the looprz repo), which owns these values:
 * a change lands there first, then here.
 * The font faces below are self-hosted from /fonts/ (latin subset, OFL licences beside them).
 */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/HankenGrotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("/fonts/SpaceMono-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("/fonts/SpaceMono-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --cream: #fbf6ee;
  --card: #ffffff;
  --card-border: #efe6d8;
  --on-accent: #ffffff;

  /* Text */
  --ink: #211a14;
  --soft-text: #9a8f80;
  --muted-text: #5c554c;
  --faint-text: #cabfae;
  --label-mono: #a99f90;

  /* Status system: coral = now, teal = planning, amber = done */
  --coral: #fb5733;
  --coral-text: #c2410c;
  --coral-chip: #ffeee9;
  --teal: #0f7d6c;
  --teal-tint: #e3f0ec;
  --teal-badge-text: #0f6f60;
  --amber: #c98a1f;
  --amber-text: #8a5a10;
  --amber-tint: #fbeede;
  --chip-neutral: #f1ebe0;

  /* Fields */
  --field-border: #e6ddcf;
  --field-label: #7a7064;
  --placeholder: #b3aa99;
  --danger-text: #c5402c;
  --danger-tint: #fdece8;

  /* Type: Bricolage for titles, Hanken for body, Space Mono for stamps (counts, kinds, statuses) */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* Radii and spacing */
  --radius-chip: 9px;
  --radius-field: 14px;
  --radius-row: 15px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --page-padding: 16px;
}
