/* ==========================================================================
   میوو‌پزشک v1.2 — task-first page: header with one action, emergency card,
   five-step visit request, service cards, how it works, collapsed FAQ.
   Calm surfaces: white cards with a hairline and one soft shadow on the site's
   cream background, flat light fills inside cards (never a second shadow layer).
   One accent per meaning: mint = progress and selection, coral = main action,
   sun = draft or pending, red = danger only.
   ========================================================================== */

.vt1 {
  --vt-surface: var(--ds-surface-1, #fff);
  --vt-fill: var(--ds-surface-2, #eef1f6);
  --vt-line: var(--ds-line, rgba(26, 39, 64, .10));
  --vt-line-2: var(--ds-line-2, rgba(26, 39, 64, .16));
  --vt-shadow: none;
  --vt-shadow-hover: none;
  --vt-select: #effaf7;
  --vt-select-line: rgba(10, 113, 102, .28);
  --vt-ring: 0 0 0 2px var(--b-mint-ink);
  --vt-red: #b8321f;
  --vt-red-hover: #9c2818;
  --vt-red-ink: #8f2414;
  --vt-red-soft: #fff5f1;
  --vt-red-line: rgba(184, 50, 31, .16);
  --vt-radius: var(--ds-radius-lg, 18px);
  animation-name: sv1Fade;
}
.vt1 [hidden] { display: none !important; }
.vt1 h1, .vt1 h2, .vt1 h3, .vt1 h4 { margin: 0; color: var(--b-ink); font-family: var(--font-display); letter-spacing: -.02em; }
.vt1 :focus-visible { outline: 3px solid var(--b-mint); outline-offset: 2px; }
.vt1 [tabindex="-1"]:focus { outline: none; }
.vt1 .flip { transform: scaleX(-1); }
.vt1-wrap { display: grid; gap: 8px; padding-block: 8px 64px; }
.vt1-overline { display: block; color: var(--b-mint-ink); font-size: .68rem; font-weight: 650; line-height: 1.35; }
/* ---------- Buttons ---------- */
.vt1-btn {
  min-height: 46px; padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; background: var(--b-cta);
  border: 0; border-radius: 14px;
  box-shadow: 0 8px 18px -10px rgba(210, 64, 47, .6);
  font: 650 .88rem/1.3 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, box-shadow .25s var(--b-ease), transform .2s var(--b-ease);
}
.vt1-btn svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt1-btn:hover { background: var(--b-cta-hover); transform: translateY(-1px); }
.vt1-btn:active { transform: none; background: var(--b-cta-hover); box-shadow: none; }
.vt1-btn:focus-visible { outline: 3px solid var(--b-mint); outline-offset: 3px; }
.vt1-btn--danger { background: var(--vt-red); box-shadow: 0 8px 18px -10px rgba(143, 36, 20, .55); }
.vt1-btn--danger:hover, .vt1-btn--danger:active { background: var(--vt-red-hover); }
.vt1-btn--ghost, .vt1-btn--soft { color: var(--b-ink); background: var(--vt-surface); border: 1px solid var(--vt-line-2); box-shadow: none; }
.vt1-btn--soft { color: var(--b-mint-ink); }
.vt1-btn--ghost:hover, .vt1-btn--soft:hover { background: var(--vt-fill); border-color: rgba(34, 48, 74, .24); }
.vt1-btn--ghost:active, .vt1-btn--soft:active { background: #f3ede6; }
.vt1-textbtn {
  min-height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--b-ink-2); background: none; border: 0; border-radius: 10px;
  font: 600 .8rem/1 var(--font); cursor: pointer;
}
.vt1-textbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vt1-textbtn:hover { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Compact top actions; emergency stays closed until tile ---------- */
.vt1-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.vt1-topline {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 0;
}
.vt1-page-title {
  margin: 0;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.2;
  color: var(--b-ink);
}
.vt1-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 148px));
  gap: 8px;
}
.vt1-tilebtn {
  min-height: 58px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--b-ink);
  background: var(--vt-surface);
  border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-md, 14px);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.vt1-tilebtn:hover { border-color: var(--vt-select-line); background: var(--vt-fill); }
.vt1-tilebtn:focus-visible { outline: 3px solid var(--b-mint); outline-offset: 2px; }
.vt1-tilebtn__art {
  width: 36px; height: 36px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--vt-fill);
}
.vt1-tilebtn__ic {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--vt-red);
  border-radius: 10px;
}
.vt1-tilebtn__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt1-tilebtn strong { font-size: .76rem; font-weight: 750; line-height: 1.25; }
.vt1-tilebtn--sos strong { color: var(--vt-red-ink); }
.vt1-tilebtn--sos:hover { border-color: var(--vt-red-line); background: var(--vt-red-soft); }
.vt1-pilot-line {
  margin: 0;
  color: var(--b-ink-2);
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.vt1-pilot-line a { color: var(--b-mint-ink); font-weight: 700; text-decoration: none; }
.vt1-pilot-line a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Closed emergency must not consume first-viewport space. */
.vt1-sos:not([open]) { display: none; }
.vt1-sos[open] {
  display: grid;
  border: 1px solid var(--vt-red-line);
  border-radius: var(--vt-radius);
  background: var(--vt-red-soft);
  scroll-margin-top: 90px;
}
.vt1-sos > summary {
  min-height: 44px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  color: var(--vt-red-ink);
}
.vt1-sos > summary::-webkit-details-marker { display: none; }
.vt1-sos__icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--vt-red); border-radius: 10px; }
.vt1-sos__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt1-sos__sum { display: grid; gap: 2px; min-width: 0; }
.vt1-sos__sum strong { font-size: .9rem; font-weight: 750; line-height: 1.3; }
.vt1-sos__sum small { color: var(--b-ink); font-size: .74rem; font-weight: 500; line-height: 1.45; }
.vt1-sos__chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--b-ease); }
.vt1-sos[open] > summary .vt1-sos__chev { transform: rotate(180deg); }
.vt1-sos__body { display: grid; gap: 12px; padding: 0 12px 14px; }
.vt1-sos .vt1-btn--danger { width: 100%; }
.vt1-sos__offline { margin: 0; color: var(--vt-red-ink); font-size: .8rem; font-weight: 600; line-height: 1.7; }
.vt1-more { border-top: 1px solid var(--vt-red-line); padding-top: 4px; }
.vt1-more summary, .vt1-faq__list summary {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  list-style: none; cursor: pointer; border-radius: 12px;
  font-size: .86rem; font-weight: 650;
}
.vt1-more summary { color: var(--vt-red-ink); }
.vt1-more summary::-webkit-details-marker, .vt1-faq__list summary::-webkit-details-marker, .vt1-sources summary::-webkit-details-marker { display: none; }
.vt1-more summary svg, .vt1-faq__list summary svg, .vt1-sources__chev, .vt1-services__chev, .vt1-faq__chev { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--b-ease); }
.vt1-more[open] summary svg, .vt1-faq__list details[open] summary svg, .vt1-sources[open] .vt1-sources__chev, .vt1-services[open] .vt1-services__chev, .vt1-faq[open] > summary .vt1-faq__chev { transform: rotate(180deg); }
.vt1-flags { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vt1-flags li { position: relative; padding-inline-start: 18px; color: var(--b-ink); font-size: .82rem; line-height: 1.75; }
.vt1-flags li::before { content: ""; position: absolute; top: .65em; inset-inline-start: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--vt-red); }
.vt1-dont { margin-top: 12px; padding: 10px 12px; background: var(--vt-surface); border: 1px solid var(--vt-red-line); border-radius: var(--ds-radius-md, 14px); }
.vt1-dont strong { color: var(--b-ink); font-size: .82rem; }
.vt1-dont ul { margin: 6px 0 0; padding-inline-start: 18px; color: var(--b-ink-2); font-size: .8rem; line-height: 1.8; }
.vt1-sos__read { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vt1-sos__read a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--vt-red-ink); background: var(--vt-surface); border: 1px solid var(--vt-red-line); border-radius: 999px; font-size: .76rem; font-weight: 600; text-decoration: none; }
.vt1-sos__read a:hover { border-color: rgba(184, 50, 31, .4); }
.vt1-draft-note { margin: 12px 0 0; color: var(--b-ink-2); font-size: .74rem; line-height: 1.7; }
.vt1-draft-note a { color: var(--vt-red-ink); font-weight: 650; }

/* ---------- Request flow ---------- */
.vt1-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
.vt1-flow {
  padding: 12px;
  background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--vt-radius);
  box-shadow: none;
  scroll-margin-top: 72px;
}
.vt1-flow__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 4px 10px; }
.vt1-flow__head h2 { font-size: 1rem; font-weight: 750; line-height: 1.3; }
.vt1-flow__tools { display: flex; align-items: center; gap: 6px; }
.vt1-draft { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; color: var(--b-sun-ink); background: #fff7df; border: 1px solid rgba(138, 90, 0, .14); border-radius: var(--ds-radius-sm, 10px); font-size: .64rem; font-weight: 650; white-space: nowrap; }

/* Quiet track: done = ✓, current = white pill with its label, upcoming = plain number. */
.vt1-steps {
  margin: 8px 0 10px; padding: 2px; list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
  background: var(--vt-fill); border: 1px solid var(--vt-line); border-radius: var(--ds-radius-md, 14px);
  counter-reset: vtstep;
}
.vt1-steps li {
  min-width: 0; min-height: 34px; padding: 2px 4px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  color: var(--b-ink-2); border: 1px solid transparent; border-radius: 10px;
  font-size: .7rem; font-weight: 600; counter-increment: vtstep;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
.vt1-steps li::before {
  content: counter(vtstep, persian); flex: none;
  width: 20px; height: 20px; display: grid; place-items: center;
  color: var(--b-ink-2); background: var(--vt-surface); border: 1px solid var(--vt-line-2); border-radius: 50%;
  font-size: .68rem; font-weight: 700; line-height: 1;
}
.vt1-steps li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt1-steps li.is-done { color: var(--b-mint-ink); }
.vt1-steps li.is-done::before { content: "✓"; color: var(--b-mint-ink); background: var(--b-mint-soft); border-color: transparent; }
.vt1-steps li.is-current {
  color: var(--b-ink); background: var(--vt-surface); border-color: var(--vt-select-line);
  box-shadow: 0 1px 3px rgba(34, 48, 74, .08); font-weight: 700;
}
.vt1-steps li.is-current::before { color: #fff; background: var(--b-mint-ink); border-color: transparent; }

.vt1-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.vt1-q { display: block; margin: 0 0 8px; padding: 0; color: var(--b-ink); font: 700 .95rem/1.4 var(--font-display); }
.vt1-q--sm { margin: 12px 0 6px; color: var(--b-ink-2); font: 650 .78rem/1.45 var(--font); }
.vt1-q small { color: var(--b-ink-2); font-weight: 500; }
.vt1-hint { margin: -4px 0 12px; color: var(--b-ink-2); font-size: .8rem; line-height: 1.8; }

.vt1 label { position: relative; }
.vt1-tiles input, .vt1-chips input, .vt1-checks input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vt1-tiles { display: grid; gap: 8px; }
.vt1-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vt1-tiles--service { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vt1-tile--wide { grid-column: span 2; }
.vt1-tile span {
  min-height: 52px; padding: 8px 12px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--b-ink); background: var(--vt-surface);
  border: 1px solid var(--vt-line-2); border-radius: var(--ds-radius-md, 14px);
  font-size: .86rem; font-weight: 650; line-height: 1.45; text-align: center;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.vt1-tile svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.vt1-tile:hover span { border-color: rgba(34, 48, 74, .28); background: var(--vt-fill); }
.vt1-tile input:checked + span { color: var(--b-mint-ink); background: var(--vt-select); border-color: var(--b-mint-ink); box-shadow: inset 0 0 0 1px var(--b-mint-ink); font-weight: 700; }
.vt1-tile input:checked + span svg { opacity: 1; }

/* Picture tiles: art above the label; selected adds a check badge and the art hops once. */
.vt1-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vt1-tiles--pic .vt1-tile span {
  flex-direction: column; gap: 4px; min-height: 0; padding: 10px 8px 8px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .25s var(--b-ease), transform .25s var(--b-ease);
}
.vt1-tiles--pic .vt1-tile:hover span { transform: none; border-color: rgba(34, 48, 74, .28); }
.vt1-tiles--pic .vt1-tile input:checked + span { box-shadow: inset 0 0 0 1px var(--b-mint-ink); }
.vt1-pic { display: block; flex: none; width: 56px; height: 56px; object-fit: contain; pointer-events: none; transform-origin: 50% 100%; }
.vt1-tiles--age .vt1-pic { width: 40px; height: 40px; }
.vt1-tiles--service .vt1-pic { width: 44px; height: 44px; }
.vt1-tiles--service .vt1-tile--wide span { flex-direction: row; gap: 12px; }
.vt1-tiles--mini .vt1-pic { width: 40px; height: 40px; }
.vt1-tiles--mini .vt1-tile span { gap: 4px; padding: 10px 8px; font-size: .82rem; }
.vt1-pic.is-dog { display: none; }
.vt1-step:has(input[name="species"][value="dog"]:checked) .vt1-pic.is-cat { display: none; }
.vt1-step:has(input[name="species"][value="dog"]:checked) .vt1-pic.is-dog { display: block; }
.vt1-tiles--pic .vt1-tile span::after {
  content: ""; position: absolute; top: 8px; inset-inline-end: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--b-mint-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 13px no-repeat;
  opacity: 0; transform: scale(.4);
  transition: opacity .2s ease, transform .3s var(--b-ease);
}
.vt1-tiles--pic .vt1-tile input:checked + span::after { opacity: 1; transform: none; }
.vt1-tiles--pic .vt1-tile input:checked + span .vt1-pic { animation: vtHop .55s var(--b-ease); }
@keyframes vtHop {
  0% { transform: none; }
  35% { transform: translateY(-7px) scale(1.05); }
  65% { transform: translateY(0) scale(1.03, .97); }
  100% { transform: none; }
}

/* Guides kept for any remaining serious hints; speech-bubble style removed. */
.vt1-guide { display: none; }
.vt1-hint { margin: 0 0 12px; color: var(--b-ink-2); font-size: .78rem; line-height: 1.65; }

.vt1-chips {
  display: flex; gap: 4px; padding: 4px;
  background: var(--vt-fill); border: 1px solid var(--vt-line); border-radius: 14px;
}
.vt1-chips label { flex: 1 1 0; min-width: 0; }
.vt1-chips span {
  min-height: 40px; padding: 4px 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--b-ink-2); border: 1px solid transparent; border-radius: 10px;
  font-size: .82rem; font-weight: 600; line-height: 1.4; text-align: center;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.vt1-chips label:hover span { color: var(--b-ink); }
.vt1-chips input:checked + span { color: var(--b-mint-ink); background: var(--vt-surface); border-color: var(--vt-select-line); box-shadow: 0 1px 3px rgba(34, 48, 74, .08); font-weight: 700; }
.vt1-chips--wrap { flex-wrap: wrap; gap: 8px; padding: 0; background: none; border: 0; }
.vt1-chips--wrap label { flex: 0 0 auto; }
.vt1-chips--wrap span { min-height: 40px; padding: 4px 14px; color: var(--b-ink); background: var(--vt-surface); border-color: var(--vt-line-2); border-radius: 999px; }
.vt1-chips--wrap label:hover span { border-color: rgba(34, 48, 74, .28); }
.vt1-chips--wrap input:checked + span { color: var(--b-mint-ink); background: var(--vt-select); border-color: var(--b-mint-ink); box-shadow: inset 0 0 0 1px var(--b-mint-ink); }

.vt1-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vt1-checks span {
  min-height: 50px; padding: 8px 12px;
  display: flex; align-items: center; gap: 10px;
  color: var(--b-ink); background: var(--vt-surface); border: 1px solid var(--vt-line-2); border-radius: 14px;
  font-size: .82rem; font-weight: 550; line-height: 1.6;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.vt1-checks label:hover span { border-color: rgba(34, 48, 74, .28); }
.vt1-checks span::before {
  content: ""; flex: none; width: 20px; height: 20px;
  background: var(--vt-surface) center / 14px no-repeat; border: 1.5px solid rgba(34, 48, 74, .35); border-radius: 6px;
}
.vt1-checks input:checked + span { color: var(--vt-red-ink); background: var(--vt-red-soft); border-color: var(--vt-red); box-shadow: inset 0 0 0 1px var(--vt-red); font-weight: 650; }
.vt1-checks input:checked + span::before {
  background-color: var(--vt-red); border-color: var(--vt-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.vt1-tiles input:focus-visible + span, .vt1-checks input:focus-visible + span, .vt1-chips input:focus-visible + span {
  outline: 3px solid var(--b-mint); outline-offset: 2px; box-shadow: var(--vt-ring);
}

.vt1-problem { margin-top: 18px; padding-top: 2px; border-top: 1px solid var(--vt-line); }
.vt1-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.vt1-note-field { display: block; margin-top: 4px; }
.vt1-note-field textarea {
  width: 100%; min-height: 64px; padding: 12px 14px; resize: vertical;
  color: var(--b-ink); background: var(--vt-surface); border: 1px solid var(--vt-line-2); border-radius: 14px;
  font: 500 .88rem/1.8 var(--font);
}
.vt1-note-field textarea::placeholder { color: #6f6a64; }
.vt1-note-field textarea:focus-visible { outline: 3px solid var(--b-mint); outline-offset: 2px; box-shadow: var(--vt-ring); }
.vt1-privacy { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: var(--b-ink-2); font-size: .78rem; line-height: 1.8; }
.vt1-privacy svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--b-mint-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vt1-error { margin: 14px 0 0; padding: 10px 14px; color: var(--vt-red-ink); background: var(--vt-red-soft); border: 1px solid var(--vt-red-line); border-radius: 14px; font-size: .82rem; font-weight: 600; line-height: 1.7; }
.vt1-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
/* Progressive disclosure: age waits until species is chosen — keeps fold clean. */
.vt1-step[data-vt-step="1"]:not(:has(input[name="species"]:checked)) .vt1-q--sm,
.vt1-step[data-vt-step="1"]:not(:has(input[name="species"]:checked)) .vt1-tiles--age {
  display: none;
}
.vt1-nav > .vt1-btn:not(.vt1-btn--ghost) { margin-inline-start: auto; }

/* ---------- Result ---------- */
.vt1-result { display: grid; gap: 16px; }
.vt1-level { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--vt-select); border: 1px solid var(--vt-select-line); border-radius: 20px; }
.vt1-level__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--b-mint-ink); border-radius: 14px; }
.vt1-level__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt1-level small { color: var(--b-mint-ink); font-size: .76rem; font-weight: 700; }
.vt1-level h3 { margin: 2px 0 4px; font-size: 1.06rem; font-weight: 750; line-height: 1.6; }
.vt1-level p { margin: 0; color: var(--b-ink); font-size: .86rem; line-height: 1.85; }
.vt1-result[data-level="urgent"] .vt1-level { background: var(--vt-red-soft); border-color: var(--vt-red-line); }
.vt1-result[data-level="urgent"] .vt1-level__icon { background: var(--vt-red); }
.vt1-result[data-level="urgent"] .vt1-level small, .vt1-result[data-level="urgent"] .vt1-level h3 { color: var(--vt-red-ink); }
.vt1-result[data-level="sameday"] .vt1-level { background: #fff9e8; border-color: rgba(138, 90, 0, .2); }
.vt1-result[data-level="sameday"] .vt1-level__icon { background: var(--b-sun-ink); }
.vt1-result[data-level="sameday"] .vt1-level small { color: var(--b-sun-ink); }
.vt1-level__todo { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vt1-level__todo li { position: relative; padding-inline-start: 20px; color: var(--b-ink); font-size: .84rem; line-height: 1.8; }
.vt1-level__todo li::before { content: ""; position: absolute; top: .7em; inset-inline-start: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--b-mint-ink); }
.vt1-result[data-level="urgent"] .vt1-level__todo li::before { background: var(--vt-red); }
.vt1-level__todo a { color: var(--vt-red-ink); font-weight: 700; text-underline-offset: 3px; }
.vt1-summary { padding: 16px; background: var(--vt-fill); border: 1px solid var(--vt-line); border-radius: 18px; }
.vt1-summary__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.vt1-summary h4 { font-size: .9rem; font-weight: 700; }
.vt1-summary__head span { color: var(--b-ink-2); font-size: .74rem; }
.vt1-summary dl { margin: 0; display: grid; gap: 6px; }
.vt1-summary dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding-top: 6px; border-top: 1px solid var(--vt-line); }
.vt1-summary dl > div:first-child { padding-top: 0; border-top: 0; }
.vt1-summary dt { color: var(--b-ink-2); font-size: .78rem; font-weight: 600; line-height: 1.8; }
.vt1-summary dd { margin: 0; color: var(--b-ink); font-size: .84rem; line-height: 1.8; overflow-wrap: anywhere; }
.vt1-pending { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--vt-surface); border: 1px dashed rgba(138, 90, 0, .35); border-radius: 16px; }
.vt1-pending svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--b-sun-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vt1-pending p { margin: 0; color: var(--b-ink); font-size: .8rem; line-height: 1.85; }
.vt1-pending a { color: var(--b-mint-ink); font-weight: 700; white-space: nowrap; }
.vt1-result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vt1-fine { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--b-ink-2); font-size: .76rem; line-height: 1.85; }
.vt1-fine img { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--vt-fill); }

/* ---------- Services: collapsed by default; tiny row when open ---------- */
.vt1-services {
  padding: 0 12px;
  background: var(--vt-surface);
  border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-md, 14px);
}
.vt1-services > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}
.vt1-services > summary::-webkit-details-marker { display: none; }
.vt1-sechead { margin: 0; }
.vt1-sechead h2, .vt1-faq h2 { font-size: .95rem; font-weight: 750; line-height: 1.3; }
.vt1-sechead__more { color: var(--b-ink-2); font-size: .72rem; font-weight: 650; }
.vt1-services__chev {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  transition: transform .25s var(--b-ease);
}
.vt1-services[open] > summary .vt1-services__chev { transform: rotate(180deg); }
.vt1-services .vt1-svc { margin-bottom: 8px; }
.vt1-sechead p { margin: 0; color: var(--b-ink-2); font-size: .78rem; line-height: 1.7; }
.vt1-svc {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 104px));
  gap: 10px;
  justify-content: start;
}
.vt1-svc li { display: flex; min-width: 0; }
.vt1-svc__card {
  width: 100%;
  aspect-ratio: 1;
  padding: 10px 8px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: var(--b-ink);
  background: var(--vt-surface);
  text-align: center;
  border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-md, 14px);
  box-shadow: none;
  font: inherit;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.vt1-svc__card:hover { border-color: var(--vt-select-line); background: var(--vt-fill); }
.vt1-svc__card:focus-visible { outline: 3px solid var(--b-mint); outline-offset: 3px; }
.vt1-svc__card img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--vt-fill);
}
.vt1-svc__card strong { font-size: .78rem; font-weight: 750; line-height: 1.3; }
.vt1-svc__card small, .vt1-svc__card em, .vt1-svc__icon { display: none; }
.vt1-clinic {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 0 0; padding: 8px 12px;
  background: var(--vt-fill); border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-sm, 10px);
  color: var(--b-ink-2); font-size: .74rem; line-height: 1.55;
}
.vt1-clinic svg { flex: none; width: 16px; height: 16px; color: var(--vt-red); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vt1-clinic strong { color: var(--b-ink); }

/* ---------- FAQ + sources ---------- */
.vt1-faq {
  padding: 0 12px;
  background: var(--vt-surface);
  border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-md, 14px);
}
.vt1-faq__head {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}
.vt1-faq__head::-webkit-details-marker { display: none; }
.vt1-faq__chev {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  transition: transform .25s var(--b-ease);
}
.vt1-faq[open] > summary .vt1-faq__chev { transform: rotate(180deg); }
.vt1-faq__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  margin: 0 0 10px;
  max-width: 720px;
}
.vt1-faq__list > details {
  background: var(--vt-fill);
  border: 1px solid var(--vt-line);
  border-radius: var(--ds-radius-md, 14px);
  transition: border-color .2s ease, background-color .2s ease;
}
.vt1-faq__list > details > summary {
  min-height: 44px;
  padding: 0 12px;
  color: var(--b-ink);
  font-size: .84rem;
}
.vt1-faq__list > details:hover { border-color: var(--vt-line-2); }
.vt1-faq__list > details[open] { border-color: var(--vt-select-line); background: #fbfcfe; }
.vt1-faq__list > details[open] > summary { color: var(--b-mint-ink); }
.vt1-faq__list > details > ul, .vt1-faq__list > details > p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--b-ink-2);
  font-size: .8rem;
  line-height: 1.8;
}
.vt1-faq__list > details > ul { padding-inline-start: 30px; }
.vt1-sources { padding: 0 14px; background: var(--vt-surface); border: 1px solid var(--vt-line); border-radius: var(--ds-radius-md, 14px); scroll-margin-top: 90px; }
.vt1-sources summary { min-height: 58px; padding: 8px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; list-style: none; cursor: pointer; }
.vt1-sources summary > span { display: inline-flex; align-items: center; gap: 8px; }
.vt1-sources summary > span svg { width: 18px; height: 18px; color: var(--b-mint-ink); fill: none; stroke: currentColor; stroke-width: 1.8; }
.vt1-sources summary strong { font-size: .86rem; font-weight: 700; }
.vt1-sources summary small { color: var(--b-ink-2); font-size: .74rem; line-height: 1.6; }
.vt1-refs { margin: 0; padding: 0 0 12px; padding-inline-start: 20px; display: grid; gap: 6px; }
.vt1-refs li { color: var(--b-ink-2); font-size: .76rem; line-height: 1.7; }
.vt1-refs a { color: var(--b-sky-ink); font-weight: 600; }
.vt1-refs span { display: block; }
.vt1-refs__note { margin: 0 0 16px; color: var(--b-ink-2); font-size: .76rem; line-height: 1.8; }
.vt1-disclaimer { margin: 0; color: var(--b-ink-2); font-size: .78rem; line-height: 1.8; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .vt1-actions { gap: 6px; }
  .vt1-tilebtn { padding: 6px 8px; }
  .vt1-tilebtn__art { width: 32px; height: 32px; }
  .vt1-tilebtn__ic { width: 30px; height: 30px; }
  .vt1-tilebtn__ic svg { width: 16px; height: 16px; }
  .vt1-tilebtn strong { font-size: .68rem; }
  .vt1-svc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .vt1-svc__card { padding: 6px 4px; border-radius: var(--ds-radius-sm, 10px); }
  .vt1-svc__card img { width: 36px; height: 36px; border-radius: 10px; }
  .vt1-svc__card strong { font-size: .66rem; }
}
@media (max-width: 380px) {
  .vt1-svc { grid-template-columns: repeat(2, minmax(0, 80px)); }
}
/* The floating Mio dock (bottom-left) and the bottom nav are on screen up to this width. */
@media (max-width: 760px) {
  .vt1-wrap { gap: 6px; padding-block: 6px 110px; }
  .vt1-top { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .vt1-topline { display: flex; align-items: baseline; justify-content: space-between; }
  .vt1-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt1-tilebtn { min-height: 52px; }
  .vt1 :is(button, a[href], input, textarea, summary) { scroll-margin-block: 72px 100px; }
  .vt1-sos > summary { min-height: 40px; padding: 8px 10px; }
  .vt1-sos__sum strong { font-size: .82rem; }
  .vt1-sos__sum small { font-size: .68rem; }
  .vt1-more summary { min-height: 40px; }
  .vt1-flow { padding: 10px; border-radius: var(--vt-radius); }
  .vt1-flow__head h2 { font-size: .95rem; }
  /* Compact track, sized to its content from the inline start, so the dock corner stays empty. */
  .vt1-steps { width: fit-content; max-width: 100%; margin: 6px 0 8px; display: flex; gap: 3px; padding: 2px; border-radius: 999px; }
  .vt1-steps li { flex: none; min-height: 30px; padding: 2px; gap: 4px; border-radius: 999px; font-size: .7rem; }
  .vt1-steps li::before { width: 22px; height: 22px; }
  .vt1-steps li:not(.is-current) span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .vt1-steps li.is-current { padding-inline-end: 10px; }
  .vt1-tiles--service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vt1-tile span { min-height: 44px; padding: 6px 8px; font-size: .8rem; }
  .vt1-tiles--pic .vt1-tile span { padding: 8px 6px; gap: 3px; }
  .vt1-tiles--2.vt1-tiles--pic .vt1-pic { width: 52px; height: 52px; }
  .vt1-tiles--age .vt1-pic { width: 36px; height: 36px; }
  .vt1-tiles--service .vt1-pic { width: 40px; height: 40px; }
  .vt1-tiles--mini .vt1-tile span { padding: 8px 4px; font-size: .78rem; }
  .vt1-tiles--2.vt1-tiles--mini .vt1-pic, .vt1-tiles--mini .vt1-pic { width: 36px; height: 36px; }
  .vt1-tiles--pic .vt1-tile span::after { top: 6px; inset-inline-end: 6px; width: 18px; height: 18px; background-size: 11px; }
  .vt1-btn { min-height: 42px; }
  .vt1-nav { margin-top: 10px; }
  .vt1-nav .vt1-btn { flex: 1 1 auto; }
  .vt1-nav .vt1-btn--ghost { flex: 0 0 auto; }
  .vt1-checks { grid-template-columns: minmax(0, 1fr); }
  .vt1-row { grid-template-columns: minmax(0, 1fr); }
  .vt1-chips span { padding: 4px 6px; font-size: .78rem; }
  .vt1-summary dl > div { grid-template-columns: 92px minmax(0, 1fr); }
  .vt1-result__actions .vt1-btn { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .vt1-faq__list { gap: 6px; }
  .vt1-sources summary { grid-template-columns: minmax(0, 1fr) auto; }
  .vt1-sources summary small { grid-column: 1; grid-row: 2; }
  .vt1-sources__chev { grid-column: 2; grid-row: 1 / span 2; }
}
@media (hover: none) {
  .vt1-btn:hover, .vt1-svc__card:hover, .vt1-tiles--pic .vt1-tile:hover span { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vt1 { animation: none; }
  .vt1-btn, .vt1-tile span, .vt1-chips span, .vt1-checks span, .vt1-steps li, .vt1-svc__card, .vt1-faq details,
  .vt1-more summary svg, .vt1-faq summary svg, .vt1-sources__chev, .vt1-tiles--pic .vt1-tile span::after { transition: none; }
  .vt1-btn:hover, .vt1-svc__card:hover, .vt1-tiles--pic .vt1-tile:hover span { transform: none; }
  .vt1-tiles--pic .vt1-tile input:checked + span .vt1-pic { animation: none; }
}
