/* -------------------------------------------
 *  Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
 * ------------------------------------------- */

:root {
	color-scheme: dark;
	--border-width-button: 2px;
	/* dividers and outlines */
	--border-width-line: 1px;
	/* safety orange: fills for the main action, one per screen */
	--color-accent: var(--palette-safety-orange);
	/* orange as text, and the focus outline */
	--color-accent-text: #ff7a2e;
	/* phthalo: bars and icon tiles */
	--color-brand: var(--palette-phthalo);
	/* danger, pink-red so it never reads as the accent */
	--color-danger: #ff5d73;
	/* control borders, ≥3:1 on ground and surface */
	--color-edge: #5e6e67;
	/* page background */
	--color-ground: var(--palette-ink);
	/* dividers */
	--color-line: #2f3b36;
	/* links */
	--color-link: #3fcf9f;
	/* secondary text */
	--color-muted: #9aa49f;
	/* success */
	--color-ok: #7fcb6a;
	/* text on accent */
	--color-on-accent: var(--palette-ink);
	/* text on brand */
	--color-on-brand: var(--palette-concrete);
	/* text on secondary */
	--color-on-secondary: #f4eefc;
	/* menus and tabs */
	--color-raised: #1f2824;
	/* dioxazine: the second color, and the private band */
	--color-secondary: var(--palette-dioxazine);
	/* purple as text, and Private tags */
	--color-secondary-text: var(--palette-lilac);
	/* the private band's hazard stripes and lock */
	--color-stripe: var(--palette-lilac);
	/* cards and inputs */
	--color-surface: #161d1a;
	/* body text */
	--color-text: var(--palette-concrete);
	/* warning, amber so it never reads as the accent */
	--color-warn: #f0b23a;
	--focus-offset: 2px;
	--focus-width: 2px;
	/* running text and UI */
	--font-family-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* the wordmark and headings */
	--font-family-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
	/* code and codes */
	--font-family-mono: "Commit Mono", ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
	--font-weight-body: 400;
	--font-weight-display: 800;
	--font-weight-mono: 400;
	/* body emphasis, labels, and buttons */
	--font-weight-strong: 600;
	--icon-dot: var(--palette-safety-orange);
	--icon-shape: var(--palette-concrete);
	--icon-tile: var(--palette-phthalo);
	--mark-ink: var(--palette-ink);
	--mark-mid: var(--palette-sage);
	--mark-paper: var(--palette-concrete);
	/* the blue terminals and editors expect (base16's base0D); the site and apps don't use it */
	--palette-cerulean: #5fa8e8;
	--palette-concrete: #e3e1da;
	/* dioxazine purple, the second color */
	--palette-dioxazine: #34194f;
	/* green-tinted near-black */
	--palette-ink: #0e1311;
	--palette-lilac: #b99af5;
	/* phthalo green, the brand */
	--palette-phthalo: #123524;
	/* the accent, for fills */
	--palette-safety-orange: #ff6a13;
	--palette-sage: #6f877b;
	/* orange text on light grounds, where safety orange fails contrast */
	--palette-sunset-orange: #a63e09;
	/* buttons, inputs, menus, tags, and chips. bars and bands stay square */
	--radius-control: 2px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-6: 24px;
	--space-8: 32px;
	--space-12: 48px;
	--space-16: 64px;
}

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		color-scheme: light;
		/* safety orange: fills for the main action, one per screen */
		--color-accent: var(--palette-safety-orange);
		/* orange as text, and the focus outline */
		--color-accent-text: var(--palette-sunset-orange);
		/* phthalo: bars and icon tiles */
		--color-brand: var(--palette-phthalo);
		/* danger, pink-red so it never reads as the accent */
		--color-danger: #b3263e;
		/* control borders, ≥3:1 on ground and surface */
		--color-edge: #78807a;
		/* page background */
		--color-ground: #e7e5df;
		/* dividers */
		--color-line: #cfccc4;
		/* links */
		--color-link: #0e6e50;
		/* secondary text */
		--color-muted: #4f5853;
		/* success */
		--color-ok: #276b2b;
		/* text on accent */
		--color-on-accent: #121815;
		/* text on brand */
		--color-on-brand: var(--palette-concrete);
		/* text on secondary */
		--color-on-secondary: #f4eefc;
		/* menus and tabs */
		--color-raised: #f7f6f2;
		/* dioxazine: the second color, and the private band */
		--color-secondary: var(--palette-dioxazine);
		/* purple as text, and Private tags */
		--color-secondary-text: #5b2e99;
		/* the private band's hazard stripes and lock */
		--color-stripe: var(--palette-lilac);
		/* cards and inputs */
		--color-surface: #f1efea;
		/* body text */
		--color-text: #121815;
		/* warning, amber so it never reads as the accent */
		--color-warn: #8a5a00;
	}
}

:root[data-theme="light"] {
	color-scheme: light;
	/* safety orange: fills for the main action, one per screen */
	--color-accent: var(--palette-safety-orange);
	/* orange as text, and the focus outline */
	--color-accent-text: var(--palette-sunset-orange);
	/* phthalo: bars and icon tiles */
	--color-brand: var(--palette-phthalo);
	/* danger, pink-red so it never reads as the accent */
	--color-danger: #b3263e;
	/* control borders, ≥3:1 on ground and surface */
	--color-edge: #78807a;
	/* page background */
	--color-ground: #e7e5df;
	/* dividers */
	--color-line: #cfccc4;
	/* links */
	--color-link: #0e6e50;
	/* secondary text */
	--color-muted: #4f5853;
	/* success */
	--color-ok: #276b2b;
	/* text on accent */
	--color-on-accent: #121815;
	/* text on brand */
	--color-on-brand: var(--palette-concrete);
	/* text on secondary */
	--color-on-secondary: #f4eefc;
	/* menus and tabs */
	--color-raised: #f7f6f2;
	/* dioxazine: the second color, and the private band */
	--color-secondary: var(--palette-dioxazine);
	/* purple as text, and Private tags */
	--color-secondary-text: #5b2e99;
	/* the private band's hazard stripes and lock */
	--color-stripe: var(--palette-lilac);
	/* cards and inputs */
	--color-surface: #f1efea;
	/* body text */
	--color-text: #121815;
	/* warning, amber so it never reads as the accent */
	--color-warn: #8a5a00;
}
