/*
 * Masáže – prodej dárkových poukazů na webu ([masaze_poukazy]).
 * Texty formuláře přebírají písmo šablony webu. Barvy přicházejí z nastavení firmy
 * v systému poukazů (proměnné --mzv-*). Náhled je skutečný poukaz ze systému poukazů (iframe).
 */


/* ---------- Základ ---------- */

.mzv {
	--mzv-brand: #2d3a3f; --mzv-brand-on: #fff; --mzv-brand-ink: #2d3a3f;
	--mzv-accent: #d4a24c; --mzv-accent-ink: #83642f;
	--mzv-v-ink: #2d3a3f; --mzv-v-tint: #f1f2f3; --mzv-v-line: #d3d7d9; --mzv-soft: #f2f4f4;
	--mzv-ink: #1c2024; --mzv-ink-2: #4f575d; --mzv-ink-3: #737c82;
	--mzv-line: #d5d9dc; --mzv-line-2: #e7eaec;
	--mzv-ok: #146b45; --mzv-ok-bg: #e4f2ea; --mzv-bad: #a8261d; --mzv-bad-bg: #fbe9e6;
	--mzv-ring: color-mix(in srgb, var(--mzv-brand) 30%, transparent);
	--mzv-gap: 44px;
	container-type: inline-size;
	color: var(--mzv-ink);
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}
.mzv *, .mzv *::before, .mzv *::after { box-sizing: border-box; }
.mzv p { margin: 0; }
.mzv form { margin: 0; }
.mzv [hidden] { display: none !important; }
.mzv img { max-width: 100%; height: auto; }
.mzv .mzv-step-h, .mzv .mzv-done-h, .mzv .mzv-checker-h {
	margin: 0; padding: 0; border: 0; font-family: inherit; color: var(--mzv-ink);
	letter-spacing: normal; text-transform: none; font-style: normal;
}
.mzv.mzv-page, .mzv.mzv-page.alignwide { max-width: min(1120px, 100%); margin-left: auto; margin-right: auto; }

/* ---------- Pole formuláře (nezávisle na šabloně webu) ---------- */

.mzv .mzv-field { margin: 0 0 16px; }
.mzv .mzv-field > label, .mzv .mzv-label-row label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--mzv-ink); }
.mzv .mzv-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mzv .mzv-count { margin-bottom: 6px; font-size: 13px; color: var(--mzv-ink-3); font-variant-numeric: tabular-nums; }
.mzv .mzv-count.is-near { color: var(--mzv-bad); }
.mzv-opt { margin-left: 4px; font-weight: 400; font-size: 14px; color: var(--mzv-ink-3); }
.mzv input[type="text"], .mzv input[type="email"], .mzv input[type="tel"], .mzv textarea {
	display: block; width: 100%; height: auto; min-height: 48px; margin: 0; padding: 11px 14px;
	border: 1px solid var(--mzv-line); border-radius: 10px; background: #fff; color: var(--mzv-ink);
	font: inherit; font-size: 16px; line-height: 1.4; letter-spacing: normal; box-shadow: none; outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.mzv textarea { min-height: 80px; resize: vertical; }
.mzv input::placeholder, .mzv textarea::placeholder { color: #9aa2a7; opacity: 1; }
.mzv input[type="text"]:hover, .mzv input[type="email"]:hover, .mzv input[type="tel"]:hover, .mzv textarea:hover { border-color: #b9bfc3; }
.mzv input:focus, .mzv textarea:focus { border-color: var(--mzv-brand); box-shadow: 0 0 0 3px var(--mzv-ring); }
.mzv-has-error input, .mzv-has-error textarea { border-color: var(--mzv-bad) !important; }
.mzv .mzv-error { margin: 6px 0 0; font-size: 14px; font-weight: 500; color: var(--mzv-bad); }
.mzv .mzv-alert { margin: 0 0 24px; padding: 13px 16px; border-radius: 10px; background: var(--mzv-bad-bg); color: var(--mzv-bad); font-weight: 500; }
.mzv .mzv-hint { margin-top: 12px; font-size: 14px; color: var(--mzv-ink-3); }
.mzv-affix { display: flex; }
.mzv .mzv-affix input { border-top-right-radius: 0; border-bottom-right-radius: 0; font-size: 18px; font-weight: 600; }
.mzv-affix span { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--mzv-line); border-left: 0; border-radius: 0 10px 10px 0; background: var(--mzv-soft); color: var(--mzv-ink-2); font-weight: 600; }
.mzv .mzv-check, .mzv .mzv-field > .mzv-check { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--mzv-ink-2); cursor: pointer; }
.mzv .mzv-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mzv-brand); }
.mzv-has-error .mzv-check { color: var(--mzv-bad); }
.mzv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.mzv-grid .mzv-field:last-child { grid-column: 1 / -1; max-width: calc(50% - 7px); }

/* Tlačítka */
.mzv .mzv-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; margin: 0; padding: 0 24px; border: 0; border-radius: 10px;
	background: var(--mzv-brand); color: var(--mzv-brand-on);
	font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: normal; text-transform: none; text-decoration: none;
	cursor: pointer; box-shadow: none; transition: background-color .15s, transform .1s;
}
.mzv .mzv-button:hover { background: color-mix(in srgb, var(--mzv-brand) 86%, #000); color: var(--mzv-brand-on); }
.mzv .mzv-button:active { transform: translateY(1px); }
.mzv .mzv-button:focus-visible, .mzv .mzv-copy:focus-visible, .mzv-again a:focus-visible { outline: 3px solid var(--mzv-ring); outline-offset: 2px; }
.mzv .mzv-button:disabled { opacity: .65; cursor: default; transform: none; }
.mzv .mzv-button--big { width: 100%; min-height: 56px; font-size: 17px; border-radius: 12px; }
.mzv .mzv-button--line { background: #fff; color: var(--mzv-brand-ink); box-shadow: inset 0 0 0 1.5px var(--mzv-brand); }
.mzv .mzv-button--line:hover { background: var(--mzv-soft); color: var(--mzv-brand-ink); }
.mzv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mzv-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

/* ---------- Rozvržení objednávky ---------- */

.mzv-order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: "main side"; gap: 0 var(--mzv-gap); align-items: start; }
.mzv-form, .mzv-done-main { grid-area: main; min-width: 0; }
.mzv-side { grid-area: side; position: sticky; top: 24px; }

/* Kroky formuláře – svislá linka spojuje čísla, protože jde o pořadí vyplňování. */
.mzv-step { position: relative; padding-bottom: 34px; }
.mzv-step::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 1.5px; background: var(--mzv-line-2); }
.mzv .mzv-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 21px; font-weight: 700; line-height: 1.25; }
.mzv-step-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--mzv-brand); color: var(--mzv-brand-ink); font-size: 15px; font-weight: 700; line-height: 1; }
.mzv-step-body { padding-left: 44px; }
.mzv .mzv-step-lead { margin: -6px 0 16px; font-size: 15px; color: var(--mzv-ink-2); }

/* Výběr poukazu */
.mzv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.mzv .mzv-tile {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
	min-height: 96px; margin: 0; padding: 15px 44px 14px 16px;
	border: 1px solid var(--mzv-line); border-radius: 12px; background: #fff;
	font-weight: 400; line-height: 1.3; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.mzv .mzv-tile:hover { border-color: #aab1b6; }
.mzv-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mzv-tile::after {
	content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%;
	border: 1.5px solid #b9c0c4; background: #fff;
}
.mzv .mzv-tile.is-checked, .mzv .mzv-tile:has(input:checked) { border-color: var(--mzv-brand); box-shadow: inset 0 0 0 1px var(--mzv-brand); background: var(--mzv-soft); }
.mzv-tile.is-checked::after, .mzv-tile:has(input:checked)::after {
	border-color: var(--mzv-brand);
	background: var(--mzv-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.mzv-tile:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--mzv-ring); }
.mzv-tile-title { font-size: 16px; font-weight: 700; color: var(--mzv-ink); }
.mzv-tile-title--value { font-size: 22px; letter-spacing: -0.01em; }
.mzv-tile-sub { font-size: 14px; color: var(--mzv-ink-3); }
.mzv-tile-sub strong { font-size: 16px; color: var(--mzv-ink); }
.mzv .mzv-tile--custom { border-style: dashed; }
.mzv-has-error .mzv-tile { border-color: var(--mzv-bad); }
.mzv .mzv-custom { max-width: 280px; margin: 16px 0 0; }

/* Dokončení */
.mzv-finish { padding-left: 44px; }
.mzv-finish .mzv-field { margin-bottom: 18px; }
.mzv .mzv-finish-note { margin-top: 10px; font-size: 14px; color: var(--mzv-ink-3); }

/* ---------- Náhled poukazu ---------- */

.mzv .mzv-vmini-wrap { margin: 0; padding: 8px 6px 0; }
/* Skutečný poukaz ze systému (iframe) – zmenšená kopie níže je jen záloha. */
.mzv-vmini-wrap.has-frame .mzv-vmini { display: none; }
.mzv-vmini-wrap.has-frame.is-fallback .mzv-vmini { display: flex; }
.mzv-vmini-wrap.has-frame.is-fallback .mzv-vframe { display: none; }
.mzv .mzv-vframe {
	position: relative; aspect-ratio: 210 / 297; overflow: hidden;
	border-radius: 3px; background: var(--mzv-soft);
	box-shadow: 0 1px 2px rgba(20, 24, 28, .08), 0 14px 34px -10px rgba(20, 24, 28, .3);
}
.mzv .mzv-vframe iframe {
	position: absolute; inset: 0; display: block;
	width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; border: 0;
	opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.mzv .mzv-vframe.is-ready iframe { opacity: 1; }
.mzv-vmini-wrap figcaption { margin: 18px 4px 0; font-size: 13.5px; line-height: 1.45; color: var(--mzv-ink-3); text-align: center; }
.mzv-vmini {
	--mzv-v-on: var(--mzv-brand-on);
	container-type: inline-size;
	position: relative; display: flex; flex-direction: column;
	aspect-ratio: 210 / 268; overflow: hidden;
	background: #fff; border-radius: 1.6cqw;
	box-shadow: 0 1px 2px rgba(20, 24, 28, .08), 0 14px 34px -10px rgba(20, 24, 28, .3);
	transform: rotate(-1.4deg);
	font-family: Georgia, "Times New Roman", serif;
	color: #2a2623; text-align: center; line-height: 1.2;
}
.mzv-v-hero { position: relative; flex: none; padding: 6.5cqw 6cqw 2.6cqw; background: var(--mzv-brand); color: var(--mzv-v-on); }
.mzv-v-wave { position: absolute; left: 0; top: calc(100% - 1px); display: block; width: 100%; height: 7cqw; }
.mzv-v-wave path { fill: var(--mzv-brand); }
.mzv-v-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.mzv-v-dot--1 { width: 41cqw; height: 41cqw; left: -14cqw; top: -18cqw; background: currentColor; opacity: .08; }
.mzv-v-dot--2 { width: 22cqw; height: 22cqw; right: -7cqw; top: 15cqw; border: .55cqw solid var(--mzv-accent); opacity: .6; }
.mzv-v-dot--3 { width: 2.8cqw; height: 2.8cqw; right: 18cqw; top: 8.5cqw; background: var(--mzv-accent); }
.mzv-v-logo { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 2.2cqw 4.4cqw; border-radius: 2.6cqw; background: #fff; }
.mzv .mzv-v-logo img { display: block; width: auto; max-width: 40cqw; height: auto; max-height: 10cqw; margin: 0; border: 0; box-shadow: none; }
.mzv-v-brand { position: relative; font-size: 5.2cqw; font-weight: 700; }
.mzv-v-orn { position: relative; display: flex; align-items: center; justify-content: center; gap: 2cqw; margin: 3.6cqw 0 1.4cqw; }
.mzv-v-orn span { width: 9.5cqw; height: .3cqw; background: var(--mzv-accent); }
.mzv-v-orn i { width: 1.3cqw; height: 1.3cqw; background: var(--mzv-accent); transform: rotate(45deg); }
.mzv-v-heading { position: relative; font-size: 9.6cqw; font-style: italic; font-weight: 400; line-height: 1.12; }
.mzv-v-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 9cqw 8cqw 3cqw; min-height: 0; }
.mzv-v-title { max-width: 100%; color: var(--mzv-v-ink); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em; overflow-wrap: anywhere; transform-origin: center; }
.mzv-v-title.is-xl { font-size: 15cqw; }
.mzv-v-title.is-lg { font-size: 11cqw; }
.mzv-v-title.is-md { font-size: 8cqw; line-height: 1.12; }
.mzv-v-title.is-sm { font-size: 6cqw; line-height: 1.16; }
.mzv-v-title.is-bump { animation: mzv-bump .32s ease-out; }
@keyframes mzv-bump { from { transform: scale(1.06); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.mzv-v-for { margin-top: 4.2cqw; }
.mzv-v-label {
	display: block; margin-bottom: 1.1cqw;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 2.15cqw; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mzv-accent-ink);
}
.mzv-v-name { display: block; font-size: 5.6cqw; line-height: 1.2; overflow-wrap: anywhere; }
.mzv-v-msg { margin-top: 3.4cqw; max-width: 100%; font-size: 3.9cqw; font-style: italic; line-height: 1.45; color: #4a4440; overflow-wrap: anywhere; }
.mzv-v-msg::before { content: "\201E"; margin-right: .08em; color: var(--mzv-accent-ink); font-style: normal; }
.mzv-v-msg::after { content: "\201C"; margin-left: .08em; color: var(--mzv-accent-ink); font-style: normal; }
.mzv-v-meta {
	flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 0 6.5cqw 7cqw; padding: 3.6cqw 4.4cqw;
	border: 1px solid var(--mzv-v-line); border-radius: 2.6cqw; background: var(--mzv-v-tint); text-align: left;
}
.mzv-v-meta { display: block; }
.mzv-v-meta .mzv-v-label { margin-bottom: 1.2cqw; }
.mzv-v-code, .mzv-v-valid { display: block; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 2.9cqw; line-height: 1.3; color: #5d5753; }
.mzv-v-frame { position: absolute; inset: 3cqw; border: .28cqw solid var(--mzv-accent); border-radius: 2.2cqw; opacity: .9; pointer-events: none; }

/* Postup pod náhledem – skutečné pořadí kroků, proto čísla. */
.mzv .mzv-flow { counter-reset: mzv-flow; display: grid; gap: 14px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--mzv-line-2); list-style: none; }
.mzv .mzv-flow li { counter-increment: mzv-flow; position: relative; margin: 0; padding: 0 0 0 38px; font-size: 14.5px; line-height: 1.45; color: var(--mzv-ink-2); }
.mzv-flow li::before { content: counter(mzv-flow); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mzv-soft); color: var(--mzv-brand-ink); font-size: 13px; font-weight: 700; }
.mzv-flow strong { display: block; color: var(--mzv-ink); font-weight: 600; }

/* ---------- Po odeslání ---------- */

.mzv .mzv-progress { display: flex; gap: 0; margin: 0 0 34px; padding: 0; list-style: none; counter-reset: none; }
.mzv .mzv-progress li { position: relative; flex: 1 1 0; margin: 0; padding: 0 8px 0 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--mzv-ink-3); }
.mzv-progress li::after { content: ""; position: absolute; left: 30px; right: 10px; top: 10px; height: 2px; background: var(--mzv-line-2); }
.mzv-progress li:last-child::after { display: none; }
.mzv-progress li.is-done::after { background: var(--mzv-brand); }
.mzv-progress-dot { position: relative; z-index: 1; display: block; width: 22px; height: 22px; margin-bottom: 8px; border-radius: 50%; border: 2px solid var(--mzv-line); background: #fff; }
.mzv-progress li.is-done { color: var(--mzv-ink); }
.mzv-progress li.is-done .mzv-progress-dot {
	border-color: var(--mzv-brand);
	background: var(--mzv-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.mzv-progress li.is-current { color: var(--mzv-brand-ink); }
.mzv-progress li.is-current .mzv-progress-dot { border-color: var(--mzv-brand); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 11px var(--mzv-brand); }

.mzv .mzv-done-h { font-size: clamp(24px, 4cqw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.mzv .mzv-done-lead { margin: 10px 0 24px; max-width: 60ch; color: var(--mzv-ink-2); }
.mzv-paybox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: start; padding: 24px; border: 1px solid var(--mzv-line); border-radius: 14px; background: #fff; }
.mzv-paybox--noqr { grid-template-columns: minmax(0, 1fr); }
.mzv .mzv-payrows { display: grid; gap: 0; margin: 0; }
.mzv .mzv-payrows > div { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--mzv-line-2); }
.mzv .mzv-payrows > div:first-child { padding-top: 0; }
.mzv .mzv-payrows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.mzv .mzv-payrows dt { margin: 0 0 2px; font-size: 13.5px; font-weight: 400; color: var(--mzv-ink-3); }
.mzv .mzv-payrows dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: 16px; }
.mzv-payval { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mzv .mzv-payrow-quiet dd { font-size: 14.5px; color: var(--mzv-ink-2); }
.mzv .mzv-copy {
	display: inline-flex; align-items: center; min-height: 28px; margin: 0; padding: 0 10px; border: 1px solid var(--mzv-line); border-radius: 999px;
	background: #fff; color: var(--mzv-brand-ink); font: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal;
}
.mzv .mzv-copy:hover { border-color: var(--mzv-brand); background: var(--mzv-soft); color: var(--mzv-brand-ink); }
.mzv .mzv-copy.is-done { border-color: var(--mzv-ok); background: var(--mzv-ok-bg); color: var(--mzv-ok); }
.mzv .mzv-qr { margin: 0; width: 180px; }
.mzv .mzv-qr img { display: block; width: 180px; height: 180px; margin: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.mzv-qr figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--mzv-ink-3); }
.mzv-qr figcaption strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--mzv-ink); }
.mzv .mzv-again { margin-top: 26px; }

/* Úzký sloupec (např. šablona s postranním panelem): QR kód pod údaji, vedle něj popisek. */
.mzv-done-main { container: mzv-done / inline-size; }
@container mzv-done (max-width: 560px) {
	.mzv-paybox { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; }
	.mzv .mzv-qr { display: flex; align-items: center; gap: 16px; width: auto; padding-top: 18px; border-top: 1px solid var(--mzv-line-2); }
	.mzv .mzv-qr img { flex: none; width: 128px; height: 128px; }
	.mzv-qr figcaption { margin-top: 0; }
}
.mzv-again a { color: var(--mzv-brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ověření poukazu ---------- */

.mzv-checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 40px; align-items: center; }
.mzv-checker--in-page { margin-top: 64px; padding: 30px 32px; border-radius: 16px; background: var(--mzv-soft); }
.mzv .mzv-checker-h { font-size: 21px; font-weight: 700; line-height: 1.25; }
.mzv-checker-intro p { margin-top: 4px; color: var(--mzv-ink-2); font-size: 15px; }
.mzv .mzv-lookup { display: flex; gap: 10px; margin: 0; }
.mzv .mzv-lookup input { flex: 1 1 auto; min-width: 0; font-size: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mzv .mzv-lookup input::placeholder { letter-spacing: .12em; }
.mzv .mzv-lookup .mzv-button { flex: none; min-width: 110px; }
.mzv-result-slot { grid-column: 1 / -1; }
.mzv-result-slot:empty { display: none; }
.mzv .mzv-result { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--mzv-ok-bg); }
.mzv .mzv-result--bad { background: var(--mzv-bad-bg); }
.mzv-checker--in-page .mzv-result { background: #fff; box-shadow: inset 0 0 0 1px var(--mzv-line); }
.mzv-result-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mzv-ok); color: #fff; font-size: 16px; font-weight: 700; line-height: 1; }
.mzv-result--bad .mzv-result-icon { background: var(--mzv-bad); }
.mzv .mzv-result-verdict { font-weight: 700; color: var(--mzv-ok); line-height: 1.35; margin-top: 4px; }
.mzv .mzv-result--bad .mzv-result-verdict { color: var(--mzv-bad); }
.mzv .mzv-result-big { margin-top: 2px; font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--mzv-ink); letter-spacing: -0.01em; }
.mzv .mzv-result-meta { margin-top: 4px; font-size: 15px; color: var(--mzv-ink-2); }
.mzv-result-slot.is-loading { opacity: .5; }

/* ---------- Ostatní ---------- */

.mzv .mzv-check a { color: var(--mzv-brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.mzv-admin-note { padding: 10px 14px; border: 1px dashed #c9a227; border-radius: 8px; background: #fffbea; font-size: 14px; }
.mzv-unavailable { color: #737c82; }

/* ---------- Užší prostor (podle šířky bloku, ne okna) ---------- */

@container (max-width: 820px) {
	.mzv-order-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
	.mzv-form, .mzv-done-main { grid-area: auto; order: 1; }
	.mzv-side { display: contents; }
	.mzv .mzv-vmini-wrap { order: 0; width: min(100%, 300px); margin: 0 auto 36px; }
	.mzv-order--done .mzv-vmini-wrap { order: 2; margin: 44px auto 0; }
	.mzv .mzv-flow { order: 2; margin-top: 36px; }
	.mzv-checker { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 560px) {
	.mzv-step::before { display: none; }
	.mzv-step-body, .mzv-finish { padding-left: 0; }
	.mzv-grid { grid-template-columns: minmax(0, 1fr); }
	.mzv-grid .mzv-field:last-child { max-width: none; }
	.mzv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mzv .mzv-tile { min-height: 88px; padding: 13px 38px 12px 14px; }
	.mzv-tile::after { top: 12px; right: 12px; }
	.mzv-tile-title--value { font-size: 20px; }
	.mzv-checker--in-page { margin-top: 52px; padding: 22px 18px; }
	.mzv .mzv-lookup { flex-wrap: wrap; }
	.mzv .mzv-lookup .mzv-button { flex: 1 1 100%; }
	.mzv .mzv-progress li { font-size: 13px; }
}
@container (max-width: 300px) {
	.mzv-tiles { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.mzv *, .mzv *::before, .mzv *::after { animation: none !important; transition: none !important; }
}
