/* ==========================================================================
   BMI Kalkulator - Layout and components
   --------------------------------------------------------------------------
   Every color here resolves through a semantic token from ___root.css.
   No raw hex values are allowed outside the print block at the bottom.
   ========================================================================== */

/* ==========================================================================
   1. Reset and base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-family-ui);
	font-size: var(--font-size-m);
	line-height: 1.65;
	color: var(--text-primary);
	background: var(--bg-base);
	-webkit-tap-highlight-color: var(--tap-highlight-color);
	transition: background var(--transition-base), color var(--transition-base);
}

img,
svg {
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	line-height: 1.25;
	color: var(--text-primary);
	margin: 0 0 var(--space-m);
}

h1 {
	font-size: var(--font-size-e);
}

h2 {
	font-size: var(--font-size-h);
	margin-top: var(--space-x);
}

h3 {
	font-size: var(--font-size-l);
	margin-top: var(--space-l);
}

h4 {
	font-size: var(--font-size-b);
	margin-top: var(--space-l);
}

p {
	margin: 0 0 var(--space-l);
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: var(--color-primary-hover);
	text-decoration: underline;
}

ul,
ol {
	margin: 0 0 var(--space-l);
	padding-inline-start: 1.4em;
}

li {
	margin-bottom: var(--space-s);
}

code,
kbd,
samp {
	font-family: var(--font-family-api);
	font-size: 0.92em;
	background: var(--bg-inset);
	border-radius: var(--radius-s);
	padding: 0.1em 0.4em;
}

:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
	border-radius: var(--radius-s);
}

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: var(--space-l);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--color-primary);
	color: var(--color-primary-contrast);
	padding: var(--space-m) var(--space-l);
	border-radius: 0 0 var(--radius-m) 0;
}

.skip-link:focus {
	left: 0;
}

/* Screen-reader-only helper */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   2. Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg-base);
	border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: var(--space-l);
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-m);
	font-family: var(--font-display);
	font-size: var(--font-size-l);
	font-weight: 700;
	color: var(--text-primary);
	white-space: nowrap;
}

.brand:hover {
	text-decoration: none;
	color: var(--color-primary);
}

.brand-mark {
	display: inline-flex;
	width: 34px;
	height: 34px;
	color: var(--color-primary);
}

.brand-mark svg {
	width: 100%;
	height: 100%;
}

.brand-text em {
	font-style: normal;
	color: var(--color-primary);
}

.main-nav {
	margin-inline-start: auto;
}

.main-nav ul {
	display: flex;
	gap: var(--space-s);
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav li {
	margin: 0;
}

.main-nav a {
	display: inline-block;
	padding: var(--space-s) var(--space-m);
	border-radius: var(--radius-m);
	font-size: var(--font-size-s);
	font-weight: 600;
	color: var(--text-secondary);
}

.main-nav a:hover {
	background: var(--bg-trans-hover);
	color: var(--text-primary);
	text-decoration: none;
}

.main-nav a[aria-current="page"] {
	background: var(--color-primary-light);
	color: var(--color-primary);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-s);
	margin-inline-start: auto;
}

.main-nav + .header-actions {
	margin-inline-start: 0;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-m);
	color: var(--text-secondary);
	cursor: pointer;
	transition: background var(--transition-fast), color var(--transition-fast);
}

.icon-btn:hover {
	background: var(--bg-trans-hover);
	color: var(--text-primary);
}

.icon-btn svg {
	width: 20px;
	height: 20px;
}

/* The toggle shows the theme the visitor will switch TO. */
.theme-toggle .theme-ico-sun {
	display: none;
}

[data-theme="dark"] .theme-toggle .theme-ico-sun {
	display: block;
}

[data-theme="dark"] .theme-toggle .theme-ico-moon {
	display: none;
}

/* ---------- Language dropdown ---------- */

.lang-switch {
	position: relative;
}

.lang-switch summary {
	display: inline-flex;
	align-items: center;
	gap: var(--space-s);
	min-height: 40px;
	padding: 0 var(--space-m);
	background: transparent;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-m);
	color: var(--text-secondary);
	font-size: var(--font-size-s);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.lang-switch summary::-webkit-details-marker {
	display: none;
}

.lang-switch summary:hover {
	background: var(--bg-trans-hover);
	color: var(--text-primary);
}

.lang-switch summary svg {
	width: 18px;
	height: 18px;
}

.lang-switch .caret {
	width: 14px;
	height: 14px;
	transition: transform var(--transition-fast);
}

.lang-switch[open] .caret {
	transform: rotate(180deg);
}

.lang-menu {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + var(--space-s));
	min-width: 190px;
	list-style: none;
	margin: 0;
	padding: var(--space-s);
	background: var(--bg-base);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-drop);
	z-index: 60;
}

.lang-menu li {
	margin: 0;
}

.lang-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-m);
	padding: var(--space-s) var(--space-m);
	border-radius: var(--radius-s);
	font-size: var(--font-size-s);
	color: var(--text-primary);
}

.lang-menu a:hover {
	background: var(--bg-trans-hover);
	text-decoration: none;
}

.lang-menu a[aria-current="true"] {
	background: var(--color-primary-light);
	color: var(--color-primary);
	font-weight: 700;
}

.lang-code {
	font-size: var(--font-size-t);
	color: var(--text-tertiary);
	text-transform: uppercase;
}

.lang-menu a[aria-current="true"] .lang-code {
	color: inherit;
}

.nav-toggle {
	display: none;
}

/* ==========================================================================
   3. Page hero and sections
   ========================================================================== */

.page-hero {
	padding: var(--space-x) 0 var(--space-l);
	background: linear-gradient(
		180deg,
		var(--bg-elevated) 0%,
		var(--bg-base) 100%
	);
	border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
	margin-bottom: var(--space-m);
	max-width: 22ch;
}

.page-hero .lede {
	max-width: 68ch;
	font-size: var(--font-size-b);
	color: var(--text-secondary);
	margin-bottom: 0;
}

.breadcrumb {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-s);
	margin: 0 0 var(--space-m);
	padding: 0;
	font-size: var(--font-size-s);
	color: var(--text-tertiary);
}

.breadcrumb li {
	margin: 0;
}

.breadcrumb li + li::before {
	content: "/";
	margin-inline-end: var(--space-s);
	color: var(--border-strong);
}

.section {
	padding: var(--space-x) 0;
}

.section--tight {
	padding-top: var(--space-l);
}

.section--alt {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}

.section-head {
	max-width: 68ch;
	margin-bottom: var(--space-l);
}

.section-head h2 {
	margin-top: 0;
}

/* ==========================================================================
   4. Prose (long-form article body)
   ========================================================================== */

.prose {
	max-width: 76ch;
}

.prose h2 {
	padding-top: var(--space-m);
}

.prose table {
	margin-bottom: var(--space-l);
}

.prose > :last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   5. Cards and grids
   ========================================================================== */

.grid {
	display: grid;
	gap: var(--space-l);
}

.grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	padding: var(--space-l);
	background: var(--bg-base);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.card h3 {
	margin-top: 0;
	margin-bottom: var(--space-s);
	font-size: var(--font-size-b);
}

.card p {
	color: var(--text-secondary);
	font-size: var(--font-size-s);
	margin-bottom: 0;
}

.card-link {
	margin-top: auto;
	padding-top: var(--space-m);
	font-size: var(--font-size-s);
	font-weight: 700;
}

a.card {
	color: inherit;
}

a.card:hover {
	text-decoration: none;
	border-color: var(--color-primary);
	box-shadow: var(--shadow-drop);
	transform: translateY(-2px);
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-icon {
	display: inline-flex;
	width: 40px;
	height: 40px;
	margin-bottom: var(--space-m);
	color: var(--color-primary);
}

.card-icon svg {
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-s);
	min-height: 44px;
	padding: 0 var(--space-l);
	background: var(--color-primary);
	color: var(--color-primary-contrast);
	border: 1px solid transparent;
	border-radius: var(--radius-m);
	font-family: inherit;
	font-size: var(--font-size-m);
	font-weight: 700;
	cursor: pointer;
	transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
	background: var(--color-primary-hover);
	color: var(--color-primary-contrast);
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

.btn--ghost {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--border-default);
}

.btn--ghost:hover {
	background: var(--color-primary-light);
	color: var(--color-primary);
}

.btn--sm {
	min-height: 38px;
	padding: 0 var(--space-m);
	font-size: var(--font-size-s);
}

.btn--block {
	width: 100%;
}

/* ==========================================================================
   7. Tables
   ========================================================================== */

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--font-size-s);
}

caption {
	caption-side: bottom;
	padding: var(--space-m);
	color: var(--text-tertiary);
	font-size: var(--font-size-t);
	text-align: start;
}

th,
td {
	padding: var(--space-m);
	text-align: start;
	border-bottom: 1px solid var(--border-subtle);
	vertical-align: top;
}

thead th {
	background: var(--bg-elevated);
	font-weight: 700;
	color: var(--text-primary);
	white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
	border-bottom: 0;
}

tbody tr:hover {
	background: var(--bg-trans-hover);
}

/* ==========================================================================
   8. Callouts, FAQ accordions, lists
   ========================================================================== */

.callout {
	padding: var(--space-l);
	margin-bottom: var(--space-l);
	background: var(--color-primary-light);
	border-inline-start: 4px solid var(--color-primary);
	border-radius: var(--radius-md);
}

.callout > :last-child {
	margin-bottom: 0;
}

.callout h3,
.callout h2 {
	margin-top: 0;
	font-size: var(--font-size-b);
	color: var(--text-primary);
}

.callout--note {
	background: var(--bg-elevated);
	border-inline-start-color: var(--color-info);
}

.callout--warn {
	background: var(--color-warning-bg);
	border-inline-start-color: var(--color-warning);
}

.faq-list {
	display: grid;
	gap: var(--space-m);
}

.faq-item {
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-base);
	overflow: hidden;
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-m);
	padding: var(--space-m) var(--space-l);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary:hover {
	background: var(--bg-trans-hover);
}

.faq-item summary::after {
	content: "+";
	font-size: var(--font-size-l);
	color: var(--color-primary);
	flex: none;
}

.faq-item[open] summary::after {
	content: "\2212";
}

.faq-item .faq-body {
	padding: 0 var(--space-l) var(--space-l);
	color: var(--text-secondary);
}

.faq-item .faq-body > :last-child {
	margin-bottom: 0;
}

.check-list,
.stat-list {
	list-style: none;
	padding: 0;
}

.check-list li {
	position: relative;
	padding-inline-start: 1.8em;
}

.check-list li::before {
	content: "\2713";
	position: absolute;
	inset-inline-start: 0;
	color: var(--color-primary);
	font-weight: 700;
}

.stat-list {
	display: grid;
	gap: var(--space-m);
}

.stat-list li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-m);
	padding-bottom: var(--space-s);
	border-bottom: 1px dashed var(--border-subtle);
}

.stat-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.stat-list strong {
	color: var(--text-primary);
}

/* ==========================================================================
   9. Calculator tool UI
   ========================================================================== */

.tool {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-l);
	align-items: start;
}

.tool-panel {
	padding: var(--space-l);
	background: var(--bg-base);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.tool-panel h2,
.tool-panel h3 {
	margin-top: 0;
	font-size: var(--font-size-b);
}

.tool-panel--result {
	background: var(--bg-elevated);
}

/* Unit switch (metric / imperial segmented control) */
.unit-toggle {
	display: inline-flex;
	padding: var(--space-s);
	margin-bottom: var(--space-l);
	background: var(--bg-inset);
	border-radius: var(--radius-full);
}

.unit-toggle button {
	padding: var(--space-s) var(--space-l);
	background: transparent;
	border: 0;
	border-radius: var(--radius-full);
	font-family: inherit;
	font-size: var(--font-size-s);
	font-weight: 700;
	color: var(--text-secondary);
	cursor: pointer;
}

.unit-toggle button[aria-pressed="true"] {
	background: var(--bg-base);
	color: var(--color-primary);
	box-shadow: var(--shadow-card);
}

.field {
	margin-bottom: var(--space-l);
}

.field > label,
.field-label {
	display: block;
	margin-bottom: var(--space-s);
	font-size: var(--font-size-s);
	font-weight: 700;
	color: var(--text-secondary);
}

.field input,
.field select {
	width: 100%;
	min-height: 46px;
	padding: 0 var(--space-m);
	background: var(--bg-base);
	color: var(--text-primary);
	border: 1px solid var(--border-default);
	border-radius: var(--radius-m);
	font-family: inherit;
	font-size: var(--font-size-m);
}

.field input:focus,
.field select:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--color-primary-light);
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-m);
}

.field-hint {
	margin: var(--space-s) 0 0;
	font-size: var(--font-size-t);
	color: var(--text-tertiary);
}

.field input.is-invalid,
.field select.is-invalid {
	border-color: var(--color-danger);
}

/* Result block */
.bmi-readout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-l);
	margin-bottom: var(--space-l);
}

.bmi-value {
	font-family: var(--font-display);
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-primary);
}

.bmi-value small {
	display: block;
	font-size: var(--font-size-t);
	font-weight: 400;
	color: var(--text-tertiary);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bmi-badge {
	display: inline-flex;
	align-items: center;
	padding: var(--space-s) var(--space-m);
	border-radius: var(--radius-full);
	font-size: var(--font-size-s);
	font-weight: 700;
}

.bmi-badge[data-cat="under"] {
	background: var(--bmi-under-bg);
	color: var(--bmi-under);
}

.bmi-badge[data-cat="normal"] {
	background: var(--bmi-normal-bg);
	color: var(--bmi-normal);
}

.bmi-badge[data-cat="over"] {
	background: var(--bmi-over-bg);
	color: var(--bmi-over);
}

.bmi-badge[data-cat="obese"] {
	background: var(--bmi-obese-bg);
	color: var(--bmi-obese);
}

/* Horizontal BMI scale with a marker.
   The track maps BMI 16-40 across its full width, so each segment is sized by
   the share of that 24-point range it covers:
     under   16.0-18.5 -> 10.4%   normal 18.5-25.0 -> 27.1%
     over    25.0-30.0 -> 20.8%   obese  30.0-40.0 -> 41.7% */
.bmi-scale {
	position: relative;
	margin-bottom: var(--space-l);
}

.bmi-scale-track {
	display: flex;
	height: 12px;
	border-radius: var(--radius-full);
	overflow: hidden;
}

.bmi-scale-track span {
	display: block;
	height: 100%;
}

.bmi-scale-track .seg-under {
	background: var(--bmi-under);
	width: 10.4%;
}

.bmi-scale-track .seg-normal {
	background: var(--bmi-normal);
	width: 27.1%;
}

.bmi-scale-track .seg-over {
	background: var(--bmi-over);
	width: 20.8%;
}

.bmi-scale-track .seg-obese {
	background: var(--bmi-obese);
	width: 41.7%;
}

.bmi-scale-marker {
	position: absolute;
	top: -6px;
	width: 24px;
	height: 24px;
	margin-inline-start: -12px;
	background: var(--bg-base);
	border: 3px solid var(--text-primary);
	border-radius: 50%;
	box-shadow: var(--shadow-card);
	transition: inset-inline-start var(--transition-base);
	inset-inline-start: 0;
}

.bmi-scale-legend {
	display: flex;
	justify-content: space-between;
	margin-top: var(--space-s);
	font-size: var(--font-size-t);
	color: var(--text-tertiary);
}

.result-rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.result-rows li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-m);
	padding: var(--space-s) 0;
	border-bottom: 1px dashed var(--border-subtle);
	font-size: var(--font-size-s);
}

.result-rows li:last-child {
	border-bottom: 0;
}

.result-rows .label {
	color: var(--text-secondary);
}

.result-rows .value {
	font-weight: 700;
	color: var(--text-primary);
	text-align: end;
}

.tool-note {
	margin: var(--space-m) 0 0;
	font-size: var(--font-size-t);
	color: var(--text-tertiary);
}

.result-placeholder {
	color: var(--text-tertiary);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.site-footer {
	margin-top: var(--space-x);
	padding-top: var(--space-x);
	background: var(--bg-elevated);
	border-top: 1px solid var(--border-subtle);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: var(--space-l);
}

.footer-brand p {
	margin-top: var(--space-m);
	color: var(--text-secondary);
	font-size: var(--font-size-s);
	max-width: 40ch;
}

.footer-col h2 {
	margin: 0 0 var(--space-m);
	font-size: var(--font-size-s);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-tertiary);
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: var(--space-s);
}

.footer-col a {
	font-size: var(--font-size-s);
	color: var(--text-secondary);
}

.footer-col a:hover {
	color: var(--color-primary);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-m);
	margin-top: var(--space-x);
	padding: var(--space-l) 0;
	border-top: 1px solid var(--border-subtle);
	font-size: var(--font-size-s);
	color: var(--text-tertiary);
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-l);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-bottom li {
	margin: 0;
}

.footer-bottom a {
	color: var(--text-tertiary);
}

/* ==========================================================================
   11. 404 page
   ========================================================================== */

.notfound {
	padding: var(--space-x) 0;
	text-align: center;
}

.notfound .code {
	font-family: var(--font-display);
	font-size: 88px;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	color: var(--color-primary);
}

.notfound .lede {
	max-width: 52ch;
	margin: var(--space-l) auto;
	color: var(--text-secondary);
}

.notfound .btn {
	margin: 0 var(--space-s);
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */

@media (max-width: 980px) {
	.tool {
		grid-template-columns: minmax(0, 1fr);
	}

	.grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex;
	}

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		margin: 0;
		padding: var(--space-m);
		background: var(--bg-base);
		border-bottom: 1px solid var(--border-subtle);
		box-shadow: var(--shadow-drop);
		transform: translateY(-120%);
		visibility: hidden;
		transition: transform var(--transition-base), visibility var(--transition-base);
	}

	.main-nav.is-open {
		transform: translateY(0);
		visibility: visible;
	}

	.main-nav ul {
		flex-direction: column;
		gap: var(--space-s);
	}

	.main-nav a {
		display: block;
		padding: var(--space-m);
	}

	.header-actions {
		margin-inline-start: auto;
	}

	.main-nav + .header-actions {
		margin-inline-start: auto;
	}
}

@media (max-width: 640px) {
	h1 {
		font-size: var(--font-size-h);
	}

	.grid--2,
	.grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmi-value {
		font-size: 42px;
	}

	.page-hero {
		padding-top: var(--space-l);
	}
}

/* Respect the visitor's motion preference. */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   13. Print - the only place raw colors are allowed, because paper has no
   theme. Black text on white, no shadows, no decorative surfaces.
   ========================================================================== */

@media print {
	body {
		background: #FFFFFF;
		color: #000000;
	}

	.site-header,
	.site-footer,
	.theme-toggle,
	.nav-toggle {
		display: none;
	}

	a {
		color: #000000;
		text-decoration: underline;
	}

	.card,
	.tool-panel {
		box-shadow: none;
		border: 1px solid #000000;
	}
}
