:root {
	--cremo-control-ink: #2a1912;
	--cremo-control-bark: #3c2117;
	--cremo-control-cream: #f3e4cf;
	--cremo-control-paper: #fff8ed;
	--cremo-control-gold: #eac131;
	--cremo-control-muted: #7b6759;
}

.cremo-site-tools,
.cremo-site-tools *,
.cremo-tools-panel,
.cremo-tools-panel *,
.cremo-cookie-banner,
.cremo-cookie-banner *,
.cremo-cookie-dialog,
.cremo-cookie-dialog * {
	box-sizing: border-box;
}

.cremo-site-tools[hidden],
.cremo-tools-panel[hidden],
.cremo-cookie-banner[hidden],
.cremo-cookie-dialog[hidden] {
	display: none !important;
}

.cremo-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.cremo-site-tools {
	position: fixed;
	left: 20px;
	bottom: 100px;
	z-index: 2147481000;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.cremo-site-tool {
	display: flex !important;
	width: 48px !important;
	height: 48px !important;
	min-width: 48px !important;
	min-height: 48px !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	border: 1px solid rgba(234, 193, 49, .65) !important;
	border-radius: 50% !important;
	background: var(--cremo-control-ink) !important;
	box-shadow: 0 8px 22px rgba(20, 8, 3, .28) !important;
	color: var(--cremo-control-gold) !important;
	cursor: pointer !important;
	transition: transform .2s ease, background-color .2s ease !important;
}

.cremo-site-tool:hover,
.cremo-site-tool:focus-visible {
	background: var(--cremo-control-gold) !important;
	color: var(--cremo-control-ink) !important;
	transform: translateY(-2px);
}

.cremo-site-tool svg {
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.cremo-cookie-footer-link {
	display: inline !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: inherit !important;
	cursor: pointer !important;
	font: inherit !important;
	line-height: inherit !important;
	text-decoration: none !important;
}

.cremo-cookie-footer-link:hover,
.cremo-cookie-footer-link:focus-visible {
	color: var(--cremo-control-gold) !important;
	text-decoration: underline !important;
}

body.cremo-cookie-banner-open .cremo-site-tools {
	opacity: 0;
	pointer-events: none;
}

body.cremo-cookie-banner-open .hustle-ui,
body.cremo-controls-dialog-open .hustle-ui {
	display: none !important;
}

.cremo-tools-panel {
	position: fixed;
	left: 20px;
	bottom: 210px;
	z-index: 2147481100;
	width: min(370px, calc(100vw - 32px));
	max-height: calc(100dvh - 230px);
	padding: 24px;
	overflow-y: auto;
	border: 1px solid rgba(234, 193, 49, .55);
	background: var(--cremo-control-ink);
	box-shadow: 0 24px 60px rgba(18, 7, 2, .45);
	color: var(--cremo-control-cream);
	font-family: "Martel Sans", Arial, sans-serif;
}

.cremo-tools-panel header,
.cremo-cookie-dialog header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.cremo-tools-panel header > div,
.cremo-cookie-dialog header > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cremo-tools-panel header span,
.cremo-cookie-dialog header span,
.cremo-cookie-banner__copy > span {
	color: var(--cremo-control-gold);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1.5;
	text-transform: uppercase;
}

.cremo-tools-panel h2,
.cremo-cookie-dialog h2,
.cremo-cookie-banner h2 {
	margin: 0 !important;
	color: var(--cremo-control-cream) !important;
	font-family: "Martel", Georgia, serif !important;
	font-size: 24px !important;
	font-weight: 900 !important;
	line-height: 1.18 !important;
	text-transform: uppercase !important;
}

.cremo-tools-panel header > button,
.cremo-cookie-dialog header > button {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	padding: 0 !important;
	border: 1px solid rgba(243, 228, 207, .3) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cremo-control-cream) !important;
	cursor: pointer;
	font-size: 24px !important;
	line-height: 30px !important;
}

.cremo-a11y-text-control {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	border-top: 1px solid rgba(243, 228, 207, .15);
	border-bottom: 1px solid rgba(243, 228, 207, .15);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cremo-a11y-text-control > div {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cremo-a11y-text-control button {
	min-width: 36px !important;
	height: 34px !important;
	padding: 0 8px !important;
	border: 1px solid rgba(234, 193, 49, .45) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cremo-control-gold) !important;
	cursor: pointer;
	font-weight: 800;
}

.cremo-a11y-text-control output {
	min-width: 47px;
	font-size: 10px;
	text-align: center;
}

.cremo-a11y-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding-top: 16px;
}

.cremo-a11y-options button {
	display: flex !important;
	min-height: 68px !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 9px !important;
	padding: 11px !important;
	border: 1px solid rgba(243, 228, 207, .18) !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, .025) !important;
	color: var(--cremo-control-cream) !important;
	cursor: pointer;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: .05em;
	line-height: 1.35 !important;
	text-align: left !important;
	text-transform: uppercase;
}

.cremo-a11y-options button[aria-pressed="true"] {
	border-color: var(--cremo-control-gold) !important;
	background: var(--cremo-control-gold) !important;
	color: var(--cremo-control-ink) !important;
}

.cremo-a11y-options button > span {
	display: flex;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	font-size: 16px;
}

.cremo-tools-reset {
	width: 100% !important;
	margin-top: 14px !important;
	padding: 10px !important;
	border: 0 !important;
	background: transparent !important;
	color: rgba(243, 228, 207, .72) !important;
	cursor: pointer;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .1em;
	text-decoration: underline;
	text-transform: uppercase;
}

.cremo-cookie-banner {
	position: fixed;
	right: 18px;
	bottom: 18px;
	left: 18px;
	z-index: 2147482000;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 30px;
	max-width: 1160px;
	margin: 0 auto;
	padding: 24px 26px;
	border: 1px solid rgba(234, 193, 49, .7);
	background: var(--cremo-control-ink);
	box-shadow: 0 22px 70px rgba(15, 6, 2, .52);
	color: var(--cremo-control-cream);
	font-family: "Martel Sans", Arial, sans-serif;
}

.cremo-cookie-banner__copy {
	display: flex;
	max-width: 760px;
	flex-direction: column;
	gap: 5px;
}

.cremo-cookie-banner h2 {
	font-size: 21px !important;
}

.cremo-cookie-banner p,
.cremo-cookie-dialog p {
	margin: 2px 0 0;
	color: rgba(243, 228, 207, .76);
	font-family: "Martel Sans", Arial, sans-serif;
	font-size: 12px;
	line-height: 1.65;
}

.cremo-cookie-banner a {
	color: var(--cremo-control-gold) !important;
	text-decoration: underline;
}

.cremo-cookie-banner__actions,
.cremo-cookie-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
}

.cremo-control-button,
.cremo-control-link {
	min-height: 42px !important;
	padding: 11px 14px !important;
	border: 1px solid rgba(243, 228, 207, .45) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cremo-control-cream) !important;
	cursor: pointer !important;
	font-family: "Martel Sans", Arial, sans-serif !important;
	font-size: 9px !important;
	font-weight: 800 !important;
	letter-spacing: .1em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.cremo-control-button--primary {
	border-color: var(--cremo-control-gold) !important;
	background: var(--cremo-control-gold) !important;
	color: var(--cremo-control-ink) !important;
}

.cremo-control-button:hover,
.cremo-control-button:focus-visible,
.cremo-control-link:hover,
.cremo-control-link:focus-visible {
	border-color: var(--cremo-control-gold) !important;
	color: var(--cremo-control-gold) !important;
}

.cremo-control-button--primary:hover,
.cremo-control-button--primary:focus-visible {
	border-color: var(--cremo-control-paper) !important;
	background: var(--cremo-control-paper) !important;
	color: var(--cremo-control-ink) !important;
}

.cremo-control-link {
	min-height: 0 !important;
	padding: 7px 4px !important;
	border: 0 !important;
	color: rgba(243, 228, 207, .72) !important;
	text-decoration: underline;
}

.cremo-cookie-dialog {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	background: rgba(18, 7, 3, .76);
	backdrop-filter: blur(5px);
}

.cremo-cookie-dialog__panel {
	width: min(620px, 100%);
	max-height: calc(100dvh - 44px);
	padding: 30px;
	overflow-y: auto;
	border: 1px solid rgba(234, 193, 49, .62);
	background: var(--cremo-control-ink);
	box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
	color: var(--cremo-control-cream);
	font-family: "Martel Sans", Arial, sans-serif;
}

.cremo-cookie-dialog__intro {
	margin: -5px 0 22px !important;
}

.cremo-cookie-choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	padding: 18px 0;
	border-top: 1px solid rgba(243, 228, 207, .15);
}

.cremo-cookie-choice strong {
	color: var(--cremo-control-cream);
	font-family: "Martel", Georgia, serif;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.cremo-cookie-choice p {
	margin-top: 5px;
}

.cremo-cookie-switch {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 5px;
	cursor: pointer;
}

.cremo-cookie-switch input {
	position: absolute;
	opacity: 0;
}

.cremo-cookie-switch > span {
	position: relative;
	display: block;
	width: 48px;
	height: 26px;
	border: 1px solid rgba(243, 228, 207, .4);
	border-radius: 99px;
	background: rgba(0, 0, 0, .25);
	transition: background-color .2s ease;
}

.cremo-cookie-switch > span::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--cremo-control-cream);
	content: "";
	transition: transform .2s ease;
}

.cremo-cookie-switch input:checked + span {
	border-color: var(--cremo-control-gold);
	background: var(--cremo-control-gold);
}

.cremo-cookie-switch input:checked + span::after {
	background: var(--cremo-control-ink);
	transform: translateX(22px);
}

.cremo-cookie-switch input:focus-visible + span {
	outline: 2px solid var(--cremo-control-gold);
	outline-offset: 3px;
}

.cremo-cookie-switch input:disabled + span {
	opacity: .68;
}

.cremo-cookie-switch b {
	color: rgba(243, 228, 207, .62);
	font-size: 8px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cremo-cookie-dialog__actions {
	justify-content: flex-start;
	padding-top: 22px;
	border-top: 1px solid rgba(243, 228, 207, .15);
}

.cremo-cookie-status {
	min-height: 18px;
	color: var(--cremo-control-gold) !important;
}

body.cremo-controls-dialog-open {
	overflow: hidden !important;
}

/* Text scaling is applied from measured computed sizes in site-controls.js.
 * Theme templates use a mix of px, em, and rem values, so changing only the
 * root font size does not resize content reliably. */

html { --cremo-a11y-gray: 0; --cremo-a11y-contrast-value: 1; }
html.cremo-a11y-grayscale { --cremo-a11y-gray: 1; }
html.cremo-a11y-contrast { --cremo-a11y-contrast-value: 1.35; }
html.cremo-a11y-grayscale #qodef-page-wrapper,
html.cremo-a11y-contrast #qodef-page-wrapper {
	filter: grayscale(var(--cremo-a11y-gray)) contrast(var(--cremo-a11y-contrast-value));
}

html.cremo-a11y-links #qodef-page-wrapper a {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: .18em !important;
}

html.cremo-a11y-readable #qodef-page-wrapper :is(h1,h2,h3,h4,h5,h6,p,li,a,button,label,input,select,textarea,blockquote,span:not([class*="icon"])) {
	font-family: Arial, Helvetica, sans-serif !important;
	letter-spacing: normal !important;
}

html.cremo-a11y-motion *,
html.cremo-a11y-motion *::before,
html.cremo-a11y-motion *::after {
	scroll-behavior: auto !important;
	animation-duration: .001ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: .001ms !important;
}

html.cremo-a11y-focus #qodef-page-wrapper :focus,
html.cremo-a11y-focus .cremo-site-tools :focus,
html.cremo-a11y-focus .cremo-tools-panel :focus,
html.cremo-a11y-focus .cremo-cookie-banner :focus,
html.cremo-a11y-focus .cremo-cookie-dialog :focus {
	outline: 3px solid #00e5ff !important;
	outline-offset: 3px !important;
}

html.cremo-a11y-cursor,
html.cremo-a11y-cursor body,
html.cremo-a11y-cursor body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' stroke='%23000' stroke-width='2' d='M3 2l20 18-9 1-5 8z'/%3E%3C/svg%3E") 3 2, auto !important;
}

@media (max-width: 767px) {
	.cremo-site-tools {
		left: 14px;
		bottom: 88px;
	}

	.cremo-site-tool {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
	}

	.cremo-tools-panel {
		left: 14px;
		bottom: 190px;
		width: calc(100vw - 28px);
		max-height: calc(100dvh - 205px);
		padding: 20px;
	}

	.cremo-cookie-banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		grid-template-columns: 1fr;
		gap: 17px;
		padding: 21px 19px;
	}

	.cremo-cookie-banner__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		justify-content: stretch;
	}

	.cremo-cookie-banner__actions .cremo-control-link {
		grid-column: 1 / -1;
	}

	.cremo-cookie-dialog {
		align-items: flex-end;
		padding: 10px;
	}

	.cremo-cookie-dialog__panel {
		max-height: calc(100dvh - 20px);
		padding: 23px 19px;
	}

	.cremo-cookie-choice {
		gap: 14px;
	}

	.cremo-cookie-dialog__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.cremo-cookie-dialog__actions .cremo-control-link {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cremo-site-tool,
	.cremo-cookie-switch > span,
	.cremo-cookie-switch > span::after {
		transition: none !important;
	}
}
