/* Public and editor tokens. Keep palette and type presets aligned with theme.json. */
:root,
.editor-styles-wrapper {
	/* Text and brand surfaces are separate roles; navy matches the public portal. */
	--eb-ink: #20262d;
	--eb-navy: #0b2944;
	--eb-navy-deep: #071b2d;
	--eb-paper: #f9f6ee;
	--eb-white: #ffffff;
	--eb-muted: #eef0f2;
	--eb-text-secondary: #526170;
	--eb-accent: #0b2944;
	--eb-accent-hover: #123a5b;
	--eb-line: #ccd2d8;
	--eb-light-line: #6c7f91;
	--eb-highlight: #e5ebf1;
	--eb-on-dark-muted: #d0d9e1;
	--eb-focus-light: #e9c267;
	--eb-field-line: #788694;
	--eb-error: #9d3034;
	--eb-error-surface: #fff4f2;
	--eb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--eb-font-mono: Consolas, "Liberation Mono", monospace;
	--eb-text-sm: 0.875rem;
	--eb-text-base: 1rem;
	--eb-text-lead: clamp(1.125rem, 1.5vw, 1.375rem);
	--eb-h1: clamp(2.75rem, 5.4vw, 5.5rem);
	--eb-h2: clamp(2rem, 3.2vw, 3.5rem);
	--eb-h3: clamp(1.25rem, 1.7vw, 1.625rem);
	--eb-space-1: 0.25rem;
	--eb-space-2: 0.5rem;
	--eb-space-3: 0.75rem;
	--eb-space-4: 1rem;
	--eb-space-6: 1.5rem;
	--eb-space-8: 2rem;
	--eb-space-12: 3rem;
	--eb-space-16: 4rem;
	--eb-space-24: 6rem;
	--eb-section-space: clamp(3.5rem, 7vw, 7rem);
	--eb-gutter: clamp(1.25rem, 4vw, 3.5rem);
	--eb-width: 80rem;
	--eb-content-width: 48rem;
	--eb-radius: 0.125rem;
	--eb-border: 1px solid var(--eb-line);
	--eb-shadow: 0 0.25rem 1rem rgb(7 27 45 / 8%);
	/* CSS custom properties cannot be used in media conditions. See main.css:
	 * compact < 48rem; medium >= 48rem; expanded/navigation >= 64rem.
	 * navigation.js uses the same 64rem query. */
}
