/*
Theme Name: Haybox
Theme URI: https://haybox.ai/
Author: Haybox
Author URI: https://haybox.ai/
Description: The Haybox brand system as a block theme. Ships the cost-tier palette (Local Green, Cloud Amber, Frontier Violet), the three brand faces self-hosted as WOFF2, and a set of block patterns for receipts, tier ladders and savings reports. Dark by default ("Overnight Simmer"), with a light style variation ("Morning Kitchen"); every menu, template and piece of copy is edited with the standard WordPress editor rather than in code.
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haybox
Tags: full-site-editing, block-patterns, block-styles, style-variations, one-column, wide-blocks, custom-colors, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, translation-ready

Haybox is distributed under the terms of the GNU GPL v2 or later.

The bundled typefaces are third-party works under the SIL Open Font License 1.1:
Inter, Space Grotesk and JetBrains Mono. Their licenses are in
assets/fonts/ and travel with the theme.
*/

/*
 * Nearly everything lives in theme.json. What is here is the handful of rules
 * that theme.json has no field for.
 */

/* The site logo is a line drawing, so let it size to the header rather than
   inheriting the block editor's image defaults. */
.wp-block-site-logo img {
	height: auto;
}

/* Keep long ledger figures and command lines from forcing a horizontal
   scrollbar on narrow screens. */
.wp-block-code,
.wp-block-preformatted {
	overflow-x: auto;
}

/* A terminal sample is a block of aligned text (site plan 8.3): let it scroll
   rather than reflow, so a column of money stays a column. */
.wp-block-preformatted {
	white-space: pre;
}

/* A table of numbers is a receipt: give it room and align the figures. */
.wp-block-table td,
.wp-block-table th {
	border-color: var(--wp--preset--color--border);
	padding: 0.6rem 0.75rem;
}

.wp-block-table th {
	font-weight: 600;
}

/* Skip link, shown on focus. Block themes render this automatically. */
.skip-link:focus {
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
