/* Selective V2 — generated from tokens.json */
:root, [data-theme="light"] {
  --paper: #f7f3ec; /* Page ground. Every frame sits on it; the frame title and field labels cut the border with this colour. */
  --paper-raised: #fffdf8; /* A surface that floats over the page: a menu, a dialog, the task panel. Not for frames, which stay on paper. */
  --paper-sunken: #ece5d8; /* The sidebar ground, the owner's chat messages, letter tiles and code blocks. Carries ink and ink-muted text. */
  --line: #cdc4b2; /* Hairlines inside a frame: row dividers, the rule after a group heading, column lines. 1px, decorative only. */
  --line-strong: #8c8372; /* The border of every frame, button and field at rest, and the empty dots of a meter. Holds 3:1 on paper and paper-raised (2.99:1 on paper-sunken). */
  --ink: #1f1c17; /* Text and headings on paper, paper-raised, paper-sunken and accent-tint. The border of a control on hover and focus. */
  --ink-muted: #5c5548; /* Secondary text on paper, paper-raised and paper-sunken: helper lines, field labels, counts, times, unselected tabs. */
  --accent: #0b6b4d; /* Emerald, the one brand colour. Links, the selected dot, filled meter dots, checked boxes, the dot on the i of the logo. Text on paper, paper-raised, paper-sunken and accent-tint. */
  --accent-hover: #07553c; /* Links on hover and focus, on the same grounds as accent. */
  --accent-tint: #dcefe6; /* Wash for the current thing: the current sidebar row, today in a calendar, the event happening now. Carries ink text. */
  --on-accent: #fffdf8; /* The tick inside a checked box and anything else drawn on accent. */
  --fill-good: #0b6b4d; /* Fill of a good button on hover and focus. Carries on-fill text. */
  --fill-bad: #a3321f; /* Fill of a bad button on hover and focus. Carries on-fill text. */
  --on-fill: #fffdf8; /* Text on fill-good and fill-bad. */
  --hover: #ece5d8; /* Hover wash of neutral buttons, icon buttons and clickable cells on paper. Carries ink text. */
  --nav-hover: #cdc4b2; /* Hover wash of a sidebar row on paper-sunken. Carries ink text. */
  --danger: #a3321f; /* Bad state: late, failed, expired, a field error. A dot, a border or text on paper, always with a word. */
  --warning: #7d5200; /* Needs attention: waiting, nearly full, due soon. A dot, a border or text on paper, always with a word. */
  --data-1: #3d5a80; /* Slate. Data colour 1. The first category colour everywhere. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-2: #7a4069; /* Plum. Data colour 2. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-3: #5f6a24; /* Olive. Data colour 3. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-4: #2e6b78; /* Teal. Data colour 4. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-5: #4d4a8f; /* Indigo. Data colour 5. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-6: #7a5236; /* Umber. Data colour 6. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-7: #9c4a63; /* Rose. Data colour 7. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-8: #4f6b3a; /* Moss. Data colour 8. A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-9: #6a4f8a; /* Violet. Data colour 9, meaning: task list hermes (colors.json). A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-10: #2f5d73; /* Petrol. Data colour 10, meaning: task list uni (colors.json). A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-11: #8a5a44; /* Sienna. Data colour 11, meaning: task list music (colors.json). A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
  --data-12: #50695a; /* Sage. Data colour 12, meaning: task list life (colors.json). A dot or a thin mark on paper and paper-sunken, never a fill behind text. */
}
[data-theme="dark"] {
  --paper: #171512;
  --paper-raised: #1e1b17;
  --paper-sunken: #100e0c;
  --line: #332e27;
  --line-strong: #7d7566;
  --ink: #efe9dd;
  --ink-muted: #aaa08f;
  --accent: #46c297;
  --accent-hover: #6ad4af;
  --accent-tint: #143327;
  --on-accent: #08150f;
  --fill-good: #187556;
  --fill-bad: #b5412d;
  --on-fill: #f6f2e9;
  --hover: #2b2721;
  --nav-hover: #26221d;
  --danger: #f08a76;
  --warning: #e2b455;
  --data-1: #7f9fcb;
  --data-2: #c07aab;
  --data-3: #a3ae5a;
  --data-4: #62b0bf;
  --data-5: #8f8cd6;
  --data-6: #c0906a;
  --data-7: #d27f9b;
  --data-8: #86ad6c;
  --data-9: #a58bd0;
  --data-10: #6fb0cf;
  --data-11: #d08c6f;
  --data-12: #8fb8a3;
}
:root {
  --space-1: 4px; /* Between a row's two text lines. */
  --space-2: 8px; /* Dot to its word, icon to text. */
  --space-3: 12px; /* Between rows of content in a frame, between buttons, input side padding. */
  --space-4: 16px; /* Avatar to text, notice padding, gaps in a control row. */
  --space-5: 24px; /* Frame side and bottom padding, body to footer. */
  --space-6: 32px; /* Frame top padding, the column gap between frames, between chat messages. */
  --space-7: 48px; /* Page padding on desktop. */
  --space-8: 64px; /* Largest step: above a page on a single-task screen. */
  --radius-0: 0; /* Everything with an edge: frames, buttons, fields, tiles, boxes. */
  --radius-dot: 50%; /* Dots only: state, meters, habits, the logo. Nothing else is round. */
  --bp-md: 640px; /* Tablet breakpoint (min-width). */
  --bp-lg: 1024px; /* Desktop breakpoint (min-width): the sidebar shows from here. */
  --shell-max: 1200px; /* Max width of a page's content column. */
  --measure: 65ch; /* Max line length of reading text. */
  --control-height: 44px; /* Height of every button, input and select. */
  --control-height-sm: 36px; /* Small buttons inside a frame row or footer. */
  --sidebar-width: 248px; /* Width of the sidebar from bp-lg. */
  --frame-gap: 40px; /* Vertical gap between frames: 28px clear plus the 12px the border title stands above its frame. */
  --frame-rise: 12px; /* How far a frame's title stands above its border; every frame has this top margin. */
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --text-display: 700 40px/48px var(--font-sans); /* The page title. One per page, followed by the round emerald stop. */
  --text-title: 700 28px/36px var(--font-sans); /* The name of the one thing a page is about when it is not the page title: a bot in its chat, a file, a project. */
  --text-heading: 700 20px/28px var(--font-sans); /* A heading inside long content, and the big number in a day cell. */
  --text-body: 400 16px/24px var(--font-sans); /* Default copy, rows, messages, field text. */
  --text-body-small: 400 14px/20px var(--font-sans); /* Helper lines, data in a frame border, notices, secondary lines in a row. */
  --text-label: 700 14px/20px var(--font-sans); /* Frame titles, field labels, button text, the selected tab, group headings. Sentence case, never uppercase. */
  --text-data: 400 14px/20px var(--font-mono); /* Numbers that are read as data: times, counts, percentages, streaks, handles and course codes. */
  --text-code: 400 16px/24px var(--font-mono); /* One-time links, codes and tokens. */
}
.display {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.title {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.heading {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-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: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.data {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.code {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
