/**
 * Pidalu — base layer
 *
 * Design tokens are NOT defined here. Colours, typography, spacing, radii and
 * shadows all come from theme.json and are consumed as CSS custom properties
 * (var(--wp--preset--…)). Changing a colour in the Customizer re-skins the whole
 * site without touching this file.
 *
 * 1. Reset
 * 2. Tokens computed from theme.json
 * 3. Base typography
 * 4. Accessibility
 * 5. Buttons
 * 6. Badges & chips
 * 7. Forms
 * 8. Alerts
 * 9. Utilities
 */

/* -------------------------------------------------------------------------
 * 1. Reset
 * ---------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

/* -------------------------------------------------------------------------
 * 2. Tokens computed from theme.json
 * ---------------------------------------------------------------------- */

:root {
	--pidalu-container: 1240px;
	--pidalu-container-narrow: 700px;
	--pidalu-container-pad: clamp(1.25rem, 4vw, 2.75rem);
	--pidalu-radius-button: var(--wp--custom--radius--md);
	--pidalu-header-height: var(--wp--custom--header--height, 76px);
	--pidalu-gap: clamp(1.15rem, 2.4vw, 2rem);
	--pidalu-section-space: clamp(3.5rem, 7.5vw, 7rem);
	--pidalu-section-space-sm: clamp(2.5rem, 5vw, 4rem);
	/* One soft, brand-tinted shadow used for lifted surfaces. */
	--pidalu-lift: 0 18px 40px -18px color-mix(in srgb, var(--wp--preset--color--primary) 30%, transparent);
	--pidalu-ring: 0 0 0 3px var(--wp--preset--color--primary-pale);
	--pidalu-focus-outline: 2px solid var(--wp--preset--color--primary-accent);
}

/* -------------------------------------------------------------------------
 * 3. Base typography
 * ---------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/*
 * Fluid display sizes. Big headlines are the single biggest signal of a
 * "startup quality" interface, so h1/h2 scale with the viewport instead of
 * sitting at a fixed 36px on every screen.
 */
h1 {
	font-size: clamp(2.125rem, 1.55rem + 2.5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.032em;
}

h2 {
	font-size: clamp(1.6rem, 1.28rem + 1.4vw, 2.4rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

h3 {
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.018em;
}

h4 {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	letter-spacing: -0.012em;
}

h5,
h6 {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	letter-spacing: 0;
}

p {
	margin: 0 0 1rem;
	text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: color var(--wp--custom--transition--fast, 140ms ease);
}

a:hover,
a:focus {
	color: var(--wp--preset--color--primary-dark);
}

small {
	font-size: var(--wp--preset--font-size--small);
}

strong,
b {
	font-weight: 700;
}

blockquote {
	margin: 1.5rem 0;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 4px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--large);
}

code,
pre,
kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

code {
	background: var(--wp--preset--color--primary-pale);
	border-radius: 6px;
	padding: 0.15em 0.4em;
}

pre {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	padding: 1.25rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	margin: 2.5rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

/* -------------------------------------------------------------------------
 * 4. Accessibility
 * ---------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--pidalu-focus-outline);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--wp--preset--color--base);
	border-radius: var(--wp--custom--radius--sm);
	box-shadow: var(--wp--preset--shadow--md);
	clip-path: none;
	color: var(--wp--preset--color--primary);
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 0.85rem 1.25rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.pidalu-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.pidalu-skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 100000;
}

.pidalu-main:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * 5. Buttons
 * ---------------------------------------------------------------------- */

.pidalu-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 46px; /* comfortable touch target */
	padding: 0.75rem 1.45rem;
	border: 1.5px solid transparent;
	border-radius: var(--pidalu-radius-button);
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.002em;
	text-align: center;
	text-decoration: none;
	/* A hairline of light along the top edge reads as a real, tactile button. */
	box-shadow: inset 0 1px 0 0 color-mix(in srgb, var(--wp--preset--color--base) 24%, transparent);
	cursor: pointer;
	transition: transform var(--wp--custom--transition--fast, 140ms ease),
		box-shadow var(--wp--custom--transition--fast, 140ms ease),
		background-color var(--wp--custom--transition--fast, 140ms ease),
		color var(--wp--custom--transition--fast, 140ms ease),
		border-color var(--wp--custom--transition--fast, 140ms ease);
}

.pidalu-button:hover,
.wp-block-button__link:hover {
	background: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--base);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 0 color-mix(in srgb, var(--wp--preset--color--base) 24%, transparent), var(--wp--preset--shadow--brand);
}

.pidalu-button:active {
	transform: translateY(0);
}

.pidalu-button__label {
	display: inline-block;
}

.pidalu-button .pidalu-icon {
	flex: none;
}

/* Sizes */
.pidalu-button--small {
	min-height: 40px;
	padding: 0.5rem 1.05rem;
	font-size: var(--wp--preset--font-size--small);
}

.pidalu-button--large {
	min-height: 56px;
	padding: 1rem 1.9rem;
	font-size: var(--wp--preset--font-size--large);
	border-radius: var(--wp--custom--radius--lg);
}

/* Variants */
.pidalu-button--outline,
.is-style-pidalu-outline .wp-block-button__link {
	background: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--preset--shadow--sm);
}

.pidalu-button--outline:hover,
.is-style-pidalu-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary-pale);
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 45%, var(--wp--preset--color--border));
	color: var(--wp--preset--color--primary-dark);
	box-shadow: var(--wp--preset--shadow--sm), var(--wp--preset--shadow--brand);
}

.pidalu-button--ghost {
	background: transparent;
	color: var(--wp--preset--color--primary);
	padding-inline: 0.75rem;
}

.pidalu-button--ghost:hover {
	background: var(--wp--preset--color--primary-pale);
	color: var(--wp--preset--color--primary-dark);
	box-shadow: none;
}

.pidalu-button--light,
.is-style-pidalu-light .wp-block-button__link {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary-dark);
}

.pidalu-button--light:hover,
.is-style-pidalu-light .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary-pale);
	color: var(--wp--preset--color--primary-dark);
}

.pidalu-button--danger {
	background: var(--wp--preset--color--danger);
	color: var(--wp--preset--color--base);
}

.pidalu-button--danger:hover {
	background: var(--wp--preset--color--danger);
	filter: brightness(0.92);
}

.pidalu-button[disabled],
.pidalu-button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.pidalu-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.pidalu-link-arrow:hover {
	text-decoration: none;
	gap: 0.6rem;
}

.pidalu-link-arrow .pidalu-icon {
	transition: transform var(--wp--custom--transition--fast, 140ms ease);
}

.pidalu-link-arrow:hover .pidalu-icon {
	transform: translateX(3px);
}

/* -------------------------------------------------------------------------
 * 6. Badges & chips
 * ---------------------------------------------------------------------- */

.pidalu-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 26px;
	padding: 0.3rem 0.75rem;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.005em;
	text-decoration: none;
	white-space: nowrap;
}

.pidalu-badge__label {
	display: inline-block;
}

.pidalu-badge__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.pidalu-badge--primary {
	background: var(--wp--preset--color--primary-pale);
	color: var(--wp--preset--color--primary-dark);
	border-color: transparent;
}

.pidalu-badge--success {
	background: var(--wp--preset--color--success-pale);
	color: var(--wp--preset--color--success);
}

.pidalu-badge--warning {
	background: var(--wp--preset--color--warning-pale);
	color: var(--wp--preset--color--warning);
}

.pidalu-badge--danger {
	background: var(--wp--preset--color--danger-pale);
	color: var(--wp--preset--color--danger);
}

.pidalu-badge--neutral {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
}

.pidalu-badge--outline {
	background: transparent;
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
}

.pidalu-badge--trust {
	background: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
}

.pidalu-badge--verified {
	background: var(--wp--preset--color--primary-pale);
	border-color: transparent;
	color: var(--wp--preset--color--primary-dark);
}

.pidalu-badge--analytics {
	background: var(--wp--preset--color--success-pale);
	border-color: transparent;
	color: var(--wp--preset--color--success);
}

.pidalu-badge--availability-available {
	background: var(--wp--preset--color--success-pale);
	color: var(--wp--preset--color--success);
}

.pidalu-badge--availability-limited {
	background: var(--wp--preset--color--warning-pale);
	color: var(--wp--preset--color--warning);
}

.pidalu-badge--availability-unavailable {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
}

.pidalu-verified-tick {
	display: inline-flex;
	align-items: center;
	color: var(--wp--preset--color--primary);
	margin-left: 0.35rem;
	vertical-align: -2px;
}

.pidalu-eyebrow {
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * 7. Forms
 * ---------------------------------------------------------------------- */

.pidalu-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.pidalu-field label {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.005em;
}

.pidalu-field__hint {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.pidalu-required {
	color: var(--wp--preset--color--danger);
}

.pidalu-field input[type="text"],
.pidalu-field input[type="email"],
.pidalu-field input[type="tel"],
.pidalu-field input[type="url"],
.pidalu-field input[type="search"],
.pidalu-field input[type="number"],
.pidalu-field input[type="date"],
.pidalu-field input[type="password"],
.pidalu-field select,
.pidalu-field textarea,
.pidalu-filters select,
.pidalu-sort select,
.pidalu-searchform__input {
	width: 100%;
	min-height: 50px;
	padding: 0.7rem 1rem;
	border: 1.5px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
	transition: border-color var(--wp--custom--transition--fast, 140ms ease),
		box-shadow var(--wp--custom--transition--fast, 140ms ease),
		background-color var(--wp--custom--transition--fast, 140ms ease);
	appearance: none;
}

/* A tinted field background lifts forms into the premium register and makes
   the focus state read as a deliberate change of state. */
.pidalu-field input:hover:not(:focus),
.pidalu-field select:hover:not(:focus),
.pidalu-field textarea:hover:not(:focus) {
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 26%, var(--wp--preset--color--border));
}

.pidalu-field select,
.pidalu-filters select,
.pidalu-sort select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2.4rem;
}

.pidalu-field textarea {
	min-height: 140px;
	resize: vertical;
}

.pidalu-field input:focus,
.pidalu-field select:focus,
.pidalu-field textarea:focus {
	border-color: var(--wp--preset--color--primary-accent);
	box-shadow: var(--pidalu-ring);
	outline: none;
}

.pidalu-field input::placeholder,
.pidalu-field textarea::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 0.85;
}

.pidalu-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: var(--wp--preset--font-size--small);
}

.pidalu-checkbox input {
	width: 20px;
	height: 20px;
	margin-top: 0.15rem;
	accent-color: var(--wp--preset--color--primary);
	flex: none;
}

/*
 * Media picker (profile photo, cover image). The same markup is rendered by the
 * creator dashboard and the WordPress admin meta box, so it is styled once here
 * with theme tokens.
 */
.pidalu-media {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.pidalu-media__preview {
	flex: none;
	width: 132px;
	height: 88px;
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--surface) no-repeat center / cover;
}

.pidalu-media__clear {
	border: 0;
	padding: 0.4rem 0;
	background: none;
	color: var(--wp--preset--color--muted);
	font: inherit;
	font-size: var(--wp--preset--font-size--x-small);
	text-decoration: underline;
	cursor: pointer;
}

.pidalu-media__clear:hover,
.pidalu-media__clear:focus-visible {
	color: var(--wp--preset--color--danger);
}

.pidalu-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

.pidalu-form__grid .pidalu-field--half {
	grid-column: span 1;
}

.pidalu-form__grid .pidalu-field:not(.pidalu-field--half) {
	grid-column: 1 / -1;
}

.pidalu-form__actions {
	margin-top: 1.5rem;
}

.pidalu-form__privacy {
	margin: 1rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.pidalu-honeypot {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/*
 * WordPress' own forms (comments, search, password) are not wrapped in the
 * Pidalu field markup, so they inherit the same look here. The explicit
 * max-width keeps the fixed `cols` width of a textarea from overflowing on
 * small screens.
 */
.pidalu-site .comment-form input:not([type="submit"]):not([type="checkbox"]),
.pidalu-site .comment-form textarea,
.pidalu-site .post-password-form input:not([type="submit"]) {
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	padding: 0.7rem 1rem;
	border: 1.5px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium);
}

.pidalu-site .comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.pidalu-site .comment-form input:focus,
.pidalu-site .comment-form textarea:focus,
.pidalu-site .post-password-form input:focus {
	border-color: var(--wp--preset--color--primary-accent);
	box-shadow: var(--pidalu-ring);
	outline: none;
}

.pidalu-site .comment-form > p {
	margin-bottom: 1rem;
}

.pidalu-site .comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.pidalu-site .comment-form .form-submit {
	margin: 1.25rem 0 0;
}

/* -------------------------------------------------------------------------
 * 8. Alerts
 * ---------------------------------------------------------------------- */

.pidalu-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.9rem 1.1rem;
	margin: 0 0 1.25rem;
	border: 1px solid var(--wp--preset--color--border);
	border-left-width: 4px;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--small);
}

.pidalu-alert--success {
	background: var(--wp--preset--color--success-pale);
	border-color: var(--wp--preset--color--success);
	color: var(--wp--preset--color--success);
}

.pidalu-alert--error {
	background: var(--wp--preset--color--danger-pale);
	border-color: var(--wp--preset--color--danger);
	color: var(--wp--preset--color--danger);
}

.pidalu-alert--warning {
	background: var(--wp--preset--color--warning-pale);
	border-color: var(--wp--preset--color--warning);
	color: var(--wp--preset--color--warning);
}

.pidalu-alert--info {
	background: var(--wp--preset--color--primary-pale);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-dark);
}

/* -------------------------------------------------------------------------
 * 9. Utilities
 * ---------------------------------------------------------------------- */

.pidalu-container {
	width: 100%;
	max-width: var(--pidalu-container);
	margin-inline: auto;
	padding-inline: var(--pidalu-container-pad);
}

.pidalu-container--narrow {
	max-width: var(--pidalu-container-narrow);
}

.pidalu-grid {
	display: grid;
	gap: var(--pidalu-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 640px) {
	.pidalu-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

@media (min-width: 1024px) {
	.pidalu-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

.pidalu-prose {
	max-width: var(--pidalu-container-narrow);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75;
}

.pidalu-prose h2 {
	margin-top: 2.25rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.pidalu-prose h3 {
	margin-top: 1.75rem;
}

.pidalu-prose ul,
.pidalu-prose ol {
	padding-left: 1.25rem;
}

.pidalu-prose li {
	margin-bottom: 0.5rem;
}

.pidalu-notice-block {
	padding: 1rem 1.25rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--warning-pale);
	border-left: 4px solid var(--wp--preset--color--warning);
	font-weight: 600;
}

.pidalu-check-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.pidalu-check-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
}

.pidalu-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--primary-pale);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B35D5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.pidalu-metric-source {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0.35rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
}

.pidalu-metric-source--api {
	color: var(--wp--preset--color--success);
}

/* Subtle reveal on scroll. Disabled automatically for reduced-motion users and
   when the owner turns animations off in the Customizer. */
.pidalu-fade {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 420ms ease, transform 420ms ease;
}

.pidalu-fade.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.pidalu-fade {
		opacity: 1;
		transform: none;
	}
}

.is-loading {
	opacity: 0.7;
	cursor: progress;
}
