/* Sort Your Shit — generated from tokens.json */
:root, [data-theme="light"] {
  --paper: #fffdf7; /* Page background everywhere. 'Lappie white': warm, clean, calm. The inside of the brand is mostly this. */
  --paper-raised: #ffffff; /* Cards, sheets and inputs on paper. */
  --ink: #111111; /* Body text and headlines on paper, paper-raised, gold and every *-soft tint. Also the wordmark on light grounds. */
  --ink-muted: #4a4a4a; /* Secondary text and captions on paper and paper-raised (8.9:1). */
  --line: #e4ded0; /* Hairlines, card borders, input borders on paper. */
  --blue: #002395; /* Brand blue (SA flag blue, Pantone Reflex Blue C). Links and text accents on paper, dark brand grounds, the water product. Text on it is on-blue. */
  --on-blue: #fffdf7; /* Text, wordmark and icons on blue, green and red fills. */
  --blue-soft: #e6eaf7; /* Quiet tint for selected rows and water info panels. Text on it is ink or blue. */
  --gold: #ffb612; /* The level line (SA flag gold, Pantone 1235 C). Fill only, never text on paper (1.9:1). One per view: the main action, the 90% trigger, the full stop in the wordmark. Text on it is ink. */
  --gold-soft: #fff1cc; /* Tint behind 'time to act' notices. Text on it is ink. */
  --green: #007a4d; /* Sorted (SA flag green, Pantone 3415 C). Done states, the septic product accent. As text on paper (5.3:1) or as a fill with on-blue text. */
  --green-soft: #e3f1ea; /* Tint behind 'all good' and 'done' notices. Text on it is ink or green. */
  --red: #de3831; /* Eish (SA flag chilli red, Pantone 179 C). Fault fills and icons only, never small text on it or as text on paper; pair with a word. */
  --red-text: #a8241c; /* Fault text on paper and red-soft (7:1). Use instead of red for anything you read. */
  --red-soft: #fbe6e4; /* Tint behind fault notices. Text on it is ink or red-text. */
  --focus: #002395; /* Keyboard focus ring: 2px paper gap then 2px blue. */
  --shadow-card: 0 1px 2px rgba(17,17,17,0.06), 0 4px 12px rgba(17,17,17,0.06); /* Raised cards on paper. Most surfaces use a line border instead. */
}
:root {
  --space-1: 4px; /* Icon-to-label gaps. */
  --space-2: 8px; /* Tight stacks, chip padding. */
  --space-3: 12px; /* Gaps between related controls. */
  --space-4: 16px; /* Card padding, list gutters. */
  --space-6: 24px; /* Gaps between cards; mobile page margin. */
  --space-8: 32px; /* Section spacing; desktop page margin. */
  --space-12: 48px; /* Hero and poster breathing room. */
  --radius-sm: 4px; /* Inputs, small tags. */
  --radius-md: 12px; /* Cards, notices, buttons, and the tank in every mark: rounded like a moulded tank. */
  --radius-lg: 20px; /* Sheets, the app icon frame, large promo panels. */
  --radius-pill: 999px; /* Level chips and the level line only. */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --text-display-xl: 800 72px/0.92 var(--font-display); /* Posters, truck livery, website hero. One per surface. */
  --text-display-l: 800 48px/0.95 var(--font-display); /* Section heads on the website and ads. */
  --text-display-m: 800 32px/1 var(--font-display); /* App screen titles and big status words. */
  --text-heading: 600 20px/28px var(--font-sans); /* Card and section titles inside the app. */
  --text-body: 400 16px/24px var(--font-sans); /* Everything you read. */
  --text-small: 400 14px/20px var(--font-sans); /* Supporting copy, form help. */
  --text-label: 600 12px/16px var(--font-sans); /* Product tags and overlines, uppercase. */
  --text-reading-xl: 600 48px/1 var(--font-mono); /* The one big number on a tank screen. */
  --text-reading: 500 14px/20px var(--font-mono); /* Dates, litres, percentages in lists and chips. */
}
.display-xl {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.display-l {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.display-m {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.heading {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.reading-xl {
  font-family: var(--font-mono);
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}
.reading {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
