/* MU.lv design tokens — light, compact, restrained classic MU */
/* Values are consumed by mu-ui.css / mu-responsive.css. Do not duplicate them in pages. */

:root {
	/* Surfaces: cool light page, near-white content, warm-metal insets */
	--mu-bg: #eef1f4;
	--mu-surface: #fbfcfd;
	--mu-surface-alt: #f1ebe3;
	--mu-surface-inset: #ffffff;
	--mu-header-bg: #161412;
	--mu-header-top: #1d1a17;
	--mu-header-text: #f2eee4;
	--mu-header-hover: #26221e;
	--mu-header-line: #433e38;
	--mu-header-nav: #1e1b18;
	--mu-accent-soft: #f4eee2;

	/* Borders: thin neutral structure; gold reserved for emphasis */
	--mu-border: #cfd3d8;
	--mu-border-strong: #c4a35a;
	--mu-border-width: 1px;

	/* Text */
	--mu-text: #1f2328;
	--mu-text-muted: #5c6570;
	--mu-text-soft: #8a929c;
	--mu-text-on-accent: #f7f1e3;
	--mu-text-on-header: var(--mu-header-text);

	/* Accent + semantic: old gold / bronze, not orange office brown */
	--mu-accent: #c4a35a;
	--mu-accent-hover: #d4b56c;
	--mu-success: #2d6b48;
	--mu-success-bg: #e7f1eb;
	--mu-warning: #9a7a2c;
	--mu-warning-bg: #f4efe2;
	--mu-danger: #8f3d34;
	--mu-danger-hover: #7d342d;
	--mu-danger-bg: #f3e8e6;
	--mu-info: #3d5568;

	/* Spacing (compact scale) */
	--mu-space-2xs: 2px;
	--mu-space-xs: 4px;
	--mu-space-sm: 8px;
	--mu-space-md: 12px;
	--mu-space-lg: 16px;
	--mu-space-xl: 24px;

	/* Typography — system/local only; compact UI + distinct brand */
	--mu-font-family: "Segoe UI", Calibri, Tahoma, Geneva, sans-serif;
	--mu-font-family-heading: "Segoe UI", Calibri, Tahoma, sans-serif;
	--mu-font-family-brand: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
	--mu-font-size-xs: 11px;
	--mu-font-size-sm: 12px;
	--mu-font-size-base: 13px;
	--mu-font-size-md: 14px;
	--mu-font-size-lg: 16px;
	--mu-font-size-stat: 20px;
	--mu-line-height-tight: 1.25;
	--mu-line-height-body: 1.45;
	--mu-font-weight-regular: 400;
	--mu-font-weight-medium: 600;
	--mu-font-weight-bold: 700;
	--mu-letter-spacing-ui: 0.07em;
	--mu-letter-spacing-brand: 0.14em;

	/* Motion — hover/focus only; keep short */
	--mu-duration: 0.12s;
	--mu-ease: ease;

	/* Radius / shadow */
	--mu-radius: 2px;
	--mu-radius-sm: 2px;
	--mu-radius-pill: 2px;
	--mu-shadow: 0 1px 2px rgba(20, 19, 18, 0.08);
	--mu-shadow-none: none;

	/* Controls */
	--mu-control-height: 26px;
	--mu-control-height-compact: 22px;
	--mu-control-padding-x: 9px;

	/* Shell */
	--mu-shell-max-width: 1240px;
	--mu-col-side-min: 200px;
	--mu-dropdown-min-width: 180px;
	--mu-content-measure: 40rem;
	--mu-form-measure: 42rem;

	/* Breakpoint documentation (media queries use the same values) */
	--mu-bp-sm: 480px;
	--mu-bp-md: 768px;
	--mu-bp-lg: 1024px;
	--mu-bp-xl: 1280px;

	/* Stacking */
	--mu-z-base: 1;
	--mu-z-dropdown: 20;
	--mu-z-sticky: 30;
	--mu-z-overlay: 40;
	--mu-z-modal: 50;
	--mu-z-notice: 60;

	/* Focus */
	--mu-focus-ring: 2px solid var(--mu-accent);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	max-width: 100%;
	overflow-x: hidden;
	background: var(--mu-bg);
	color: var(--mu-text);
	font-family: var(--mu-font-family);
	font-size: var(--mu-font-size-base);
	font-weight: var(--mu-font-weight-regular);
	line-height: var(--mu-line-height-body);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

a {
	color: var(--mu-accent);
	text-decoration: none;
	transition: color var(--mu-duration) var(--mu-ease);
}

a:hover,
a:focus {
	color: var(--mu-accent-hover);
}

:focus-visible {
	outline: var(--mu-focus-ring);
	outline-offset: var(--mu-space-2xs);
}

button,
input,
select {
	font: inherit;
}
