.vl-diagnostic-page {
  color-scheme: light;
  --ink: #171c2e;
  --muted: #7a849d;
  --muted-readable: #626d86;
  --muted-strong: #505a72;
  --paper: #eef2f8;
  --surface: #f8f9fc;
  --surface-strong: #ffffff;
  --line: #dfe4ef;
  --line-strong: #8995ad;
  --accent: #1374e7;
  --accent-strong: #0d5fc0;
  --accent-on-dark: #8fc3ff;
  --accent-soft: #eaf4ff;
  --accent-ink: #ffffff;
  --dark: #0c101f;
  --danger: #c53b47;
  --danger-dark: #8f2630;
  --danger-soft: #fff0f1;
  --warning: #946200;
  --warning-soft: #fff6df;
  --success: #237a4b;
  --success-soft: #eaf7f0;
  --shadow: 0 18px 48px rgba(23, 28, 46, 0.07);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --content: 1460px;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.vl-diagnostic-page,
.vl-diagnostic-page *,
.vl-diagnostic-page *::before,
.vl-diagnostic-page *::after {
  box-sizing: border-box;
}

.vl-diagnostic-page .sr-only {
  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;
}

.vl-diagnostic-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  scroll-behavior: smooth;
  color: var(--ink);
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.vl-diagnostic-page button,
.vl-diagnostic-page input,
.vl-diagnostic-page select,
.vl-diagnostic-page textarea {
  min-width: 0;
  max-width: 100%;
  font: inherit;
}

.vl-diagnostic-page button,
.vl-diagnostic-page a {
  -webkit-tap-highlight-color: transparent;
}

.vl-diagnostic-page button {
  color: inherit;
}

.vl-diagnostic-page .skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.vl-diagnostic-page .skip-link:focus {
  transform: translateY(0);
}

.vl-diagnostic-page .site-shell {
  width: min(calc(100% - 28px), var(--content));
  max-width: 100%;
  min-width: 0;
  margin: 14px auto;
}

.vl-diagnostic-page .topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 34px rgba(23, 28, 46, 0.04);
  backdrop-filter: blur(16px);
}

.vl-diagnostic-page .brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.vl-diagnostic-page .brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  background: var(--accent-strong);
  border: 1px solid rgba(13, 95, 192, 0.28);
  border-radius: 13px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.vl-diagnostic-page .brand-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.vl-diagnostic-page .brand-copy strong {
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.vl-diagnostic-page .brand-copy small {
  overflow: hidden;
  color: var(--muted-readable);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-diagnostic-page .topbar-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vl-diagnostic-page .office-note {
  color: var(--muted-readable);
  font-size: 13px;
}

.vl-diagnostic-page .text-button {
  min-height: 48px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.vl-diagnostic-page .text-button:hover {
  border-color: var(--ink);
}

.vl-diagnostic-page .diagnostic-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.66fr) minmax(0, 1.7fr);
  gap: 14px;
  margin-top: 14px;
}

.vl-diagnostic-page .context-rail,
.vl-diagnostic-page .stage-wrap {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.vl-diagnostic-page .context-rail {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  overflow: clip;
  color: #f8f9fc;
  background: #0c101f;
}

.vl-diagnostic-page .context-rail-inner {
  position: sticky;
  top: 14px;
  min-height: min(760px, calc(100vh - 118px));
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.9vw, 42px);
}

.vl-diagnostic-page .rail-restart {
  min-height: 48px;
  align-self: flex-start;
  margin-top: 28px;
  padding: 9px 0;
  color: #f8f9fc;
  border: 0;
  border-bottom: 1px solid rgba(248, 249, 252, 0.42);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.vl-diagnostic-page .rail-restart:hover,
.vl-diagnostic-page .rail-restart:focus-visible {
  border-color: var(--accent-on-dark);
}

.vl-diagnostic-page .rail-restart:focus-visible {
  outline: 2px solid var(--accent-on-dark);
  outline-offset: 4px;
}

.vl-diagnostic-page .context-rail-inner::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: -82px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(19, 116, 231, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(19, 116, 231, 0.04), 0 0 0 68px rgba(19, 116, 231, 0.025);
  pointer-events: none;
}

.vl-diagnostic-page .eyebrow {
  margin: 0 0 20px;
  color: var(--accent-on-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vl-diagnostic-page .context-rail h2 {
  max-width: 630px;
  margin: 0;
  color: #f8f9fc !important;
  font-family: var(--font-sans);
  font-size: clamp(26px, 2.15vw, 35px);
  font-stretch: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.vl-diagnostic-page .rail-lead {
  max-width: 470px;
  margin: 18px 0 28px;
  color: #b4bdd0;
  font-size: 15px;
}

.vl-diagnostic-page .progress-list {
  min-width: 0;
  display: grid;
  gap: 0;
  margin: auto 0 34px;
  padding: 0;
  list-style: none;
}

.vl-diagnostic-page .progress-list li {
  position: relative;
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  color: #b4bdd0;
}

.vl-diagnostic-page .progress-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: -2px;
  width: 1px;
  height: 17px;
  background: #4a546d;
}

.vl-diagnostic-page .progress-list li span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #59647c;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.vl-diagnostic-page .progress-list li strong {
  font-size: 13px;
  font-weight: 600;
}

.vl-diagnostic-page .progress-list li.is-active {
  color: #fff;
}

.vl-diagnostic-page .progress-list li.is-active span {
  color: var(--accent-ink);
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.vl-diagnostic-page .progress-list li.is-complete {
  color: #e1e5ef;
}

.vl-diagnostic-page .progress-list li.is-complete span {
  color: var(--accent-on-dark);
  border-color: var(--accent-on-dark);
}

.vl-diagnostic-page .trust-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  padding-top: 22px;
  border-top: 1px solid #30384d;
}

.vl-diagnostic-page .trust-note svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent-on-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.vl-diagnostic-page .trust-note div {
  display: grid;
  gap: 5px;
}

.vl-diagnostic-page .trust-note strong {
  font-size: 13px;
}

.vl-diagnostic-page .trust-note span {
  color: #b4bdd0;
  font-size: 13px;
  line-height: 1.5;
}

.vl-diagnostic-page .stage-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 44px);
  background: var(--surface);
}

.vl-diagnostic-page .stage-surface {
  width: min(100%, 900px);
  flex: 1;
  margin: 0 auto;
  animation: vl-diagnostic-stage-enter 260ms ease both;
}

.vl-diagnostic-page .stage-surface.is-changing {
  animation: none;
}

@keyframes vl-diagnostic-stage-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.vl-diagnostic-page .review-banner,
.vl-diagnostic-page .resume-banner {
  width: min(100%, 900px);
  margin: 0 auto 18px;
  border-radius: var(--radius-md);
}

.vl-diagnostic-page .review-banner {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 15px;
  color: #5f3900;
  background: var(--warning-soft);
  border: 1px solid #ead09f;
  font-size: 12px;
}

.vl-diagnostic-page .review-banner[hidden],
.vl-diagnostic-page .resume-banner[hidden],
.vl-diagnostic-page .toast[hidden] {
  display: none;
}

.vl-diagnostic-page .resume-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 15px 17px;
  background: var(--accent-soft);
  border: 1px solid #c8dffb;
}

.vl-diagnostic-page .resume-banner > div:first-child {
  display: grid;
  gap: 3px;
}

.vl-diagnostic-page .resume-banner strong {
  font-size: 13px;
}

.vl-diagnostic-page .resume-banner span {
  color: var(--muted-strong);
  font-size: 12px;
}

.vl-diagnostic-page .resume-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vl-diagnostic-page .stage-footer {
  width: min(100%, 900px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  margin: 32px auto 0;
  padding-top: 17px;
  color: var(--muted-readable);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.vl-diagnostic-page .stage-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 26px;
}

.vl-diagnostic-page .stage-head-main {
  min-width: 0;
}

.vl-diagnostic-page .step-label {
  display: block;
  margin: 0 0 10px;
  color: var(--muted-readable);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vl-diagnostic-page .stage-title {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  outline: none;
}

.vl-diagnostic-page .stage-subtitle {
  min-width: 0;
  max-width: 670px;
  margin: 13px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .counter {
  align-self: start;
  padding-top: 3px;
  padding-bottom: 4px;
  color: var(--muted-readable);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.vl-diagnostic-page .search-field {
  position: relative;
  margin: 0 0 18px;
}

.vl-diagnostic-page .search-field-spaced {
  margin-top: 17px;
}

.vl-diagnostic-page .search-field svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.vl-diagnostic-page .search-field input,
.vl-diagnostic-page .field input,
.vl-diagnostic-page .field select,
.vl-diagnostic-page .field textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.vl-diagnostic-page .search-field input {
  height: 52px;
  padding: 0 45px 0 47px;
}

.vl-diagnostic-page .search-field input:focus,
.vl-diagnostic-page .field input:focus,
.vl-diagnostic-page .field select:focus,
.vl-diagnostic-page .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(19, 116, 231, 0.18);
}

.vl-diagnostic-page .search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.vl-diagnostic-page .search-clear:hover {
  background: var(--paper);
}

.vl-diagnostic-page .option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.vl-diagnostic-page .choice-card {
  position: relative;
  min-height: 112px;
  height: 100%;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.vl-diagnostic-page .choice-card:hover {
  z-index: 1;
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(23, 28, 46, 0.08);
  transform: translateY(-2px);
}

.vl-diagnostic-page .choice-card:focus-visible,
.vl-diagnostic-page .button:focus-visible,
.vl-diagnostic-page .text-button:focus-visible,
.vl-diagnostic-page .icon-button:focus-visible,
.vl-diagnostic-page .search-clear:focus-visible,
.vl-diagnostic-page .answer-option:focus-within,
.vl-diagnostic-page .channel-button:focus-visible,
.vl-diagnostic-page .back-button:focus-visible,
.vl-diagnostic-page .link-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vl-diagnostic-page .choice-card.is-fallback {
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 22px;
  padding: 15px 17px;
  background: transparent;
}

.vl-diagnostic-page .choice-card.is-fallback .choice-icon {
  display: none;
}

.vl-diagnostic-page .choice-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border-radius: 13px;
}

.vl-diagnostic-page .choice-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.vl-diagnostic-page .choice-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.vl-diagnostic-page .choice-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
}

.vl-diagnostic-page .choice-copy small {
  overflow: hidden;
  display: -webkit-box;
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .choice-arrow {
  color: var(--muted);
  font-size: 20px;
}

.vl-diagnostic-page .option-grid.compact .choice-card {
  min-height: 78px;
  grid-template-columns: 1fr 22px;
  padding: 15px 17px;
}

.vl-diagnostic-page .option-grid.compact .choice-icon {
  display: none;
}

.vl-diagnostic-page .fallback-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.vl-diagnostic-page .fallback-section h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vl-diagnostic-page .fallback-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
}

.vl-diagnostic-page .show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.vl-diagnostic-page .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.vl-diagnostic-page .button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.vl-diagnostic-page .button:active:not(:disabled),
.vl-diagnostic-page .choice-card:active {
  transform: translateY(1px);
}

.vl-diagnostic-page .button:disabled {
  cursor: not-allowed;
  opacity: 0.43;
}

.vl-diagnostic-page .button-primary {
  color: #fff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 8px 20px rgba(13, 95, 192, 0.14);
}

.vl-diagnostic-page .button-primary:hover:not(:disabled) {
  background: #0b55ab;
  border-color: #0b55ab;
  box-shadow: 0 10px 24px rgba(13, 95, 192, 0.18);
}

.vl-diagnostic-page .button-secondary {
  color: #fff;
  background: var(--ink);
}

.vl-diagnostic-page .button-quiet {
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.vl-diagnostic-page .button-danger {
  color: #fff;
  background: var(--danger-dark);
}

.vl-diagnostic-page .button-small {
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.vl-diagnostic-page .button svg,
.vl-diagnostic-page .channel-button svg,
.vl-diagnostic-page .back-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.vl-diagnostic-page .back-button,
.vl-diagnostic-page .link-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  color: var(--muted-strong);
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.vl-diagnostic-page .back-button:hover,
.vl-diagnostic-page .link-button:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.vl-diagnostic-page .question-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.vl-diagnostic-page .question-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -4px 0 22px;
  padding: 11px 13px;
  color: var(--muted-strong);
  background: var(--paper);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.vl-diagnostic-page .question-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.vl-diagnostic-page .answers-list {
  display: grid;
  gap: 9px;
}

.vl-diagnostic-page .answer-option {
  min-height: 55px;
  display: grid;
  grid-template-columns: 23px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.vl-diagnostic-page .answer-option:hover {
  border-color: var(--accent);
}

.vl-diagnostic-page .answer-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.vl-diagnostic-page .answer-option input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--accent);
}

.vl-diagnostic-page .answer-option span {
  font-size: 14px;
  font-weight: 600;
}

.vl-diagnostic-page .conditional-field {
  margin-top: 15px;
  padding: 16px;
  background: var(--paper);
  border-radius: 12px;
}

.vl-diagnostic-page .question-actions,
.vl-diagnostic-page .model-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.vl-diagnostic-page .question-actions-right {
  display: flex;
  gap: 8px;
}

.vl-diagnostic-page .progress-bar {
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--accent);
  border: 0;
  background: var(--line);
  border-radius: 4px;
  appearance: none;
}

.vl-diagnostic-page .progress-bar::-webkit-progress-bar {
  background: var(--line);
  border-radius: 4px;
}

.vl-diagnostic-page .progress-bar::-webkit-progress-value {
  background: var(--accent);
  border-radius: 4px;
  transition: transform 220ms ease;
}

.vl-diagnostic-page .progress-bar::-moz-progress-bar {
  background: var(--accent);
  border-radius: 4px;
}

.vl-diagnostic-page .question-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.vl-diagnostic-page .field {
  display: grid;
  gap: 7px;
}

.vl-diagnostic-page .field label,
.vl-diagnostic-page .field > span {
  font-size: 14px;
  font-weight: 700;
}

.vl-diagnostic-page .field input,
.vl-diagnostic-page .field select,
.vl-diagnostic-page .field textarea {
  min-height: 52px;
  padding: 13px 14px;
}

.vl-diagnostic-page .field select {
  font: inherit;
  cursor: pointer;
}

.vl-diagnostic-page .field textarea {
  min-height: 96px;
  resize: vertical;
}

.vl-diagnostic-page .field-help {
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.5;
}

.vl-diagnostic-page .field-error {
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.vl-diagnostic-page .field-error:empty {
  display: none;
}

.vl-diagnostic-page .field input[aria-invalid="true"],
.vl-diagnostic-page .field select[aria-invalid="true"],
.vl-diagnostic-page .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.vl-diagnostic-page .field input[aria-invalid="true"]:focus,
.vl-diagnostic-page .field select[aria-invalid="true"]:focus,
.vl-diagnostic-page .field textarea[aria-invalid="true"]:focus {
  border-color: var(--danger-dark);
  box-shadow: 0 0 0 4px rgba(192, 46, 46, 0.14);
}

.vl-diagnostic-page .field input::placeholder,
.vl-diagnostic-page .field textarea::placeholder,
.vl-diagnostic-page .search-field input::placeholder {
  color: #626d86;
  opacity: 1;
}

.vl-diagnostic-page .model-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.vl-diagnostic-page .model-benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px;
  background: var(--paper);
  border-radius: 12px;
}

.vl-diagnostic-page .model-benefit svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.vl-diagnostic-page .model-benefit div {
  display: grid;
  gap: 3px;
}

.vl-diagnostic-page .model-benefit strong {
  font-size: 13px;
}

.vl-diagnostic-page .model-benefit span {
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.5;
}

.vl-diagnostic-page .model-panel form {
  display: grid;
  gap: 18px;
}

.vl-diagnostic-page .model-panel .model-actions {
  margin-top: 4px;
}

.vl-diagnostic-page .model-actions .question-actions-right {
  flex: 1 1 520px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vl-diagnostic-page .model-search-shell {
  position: relative;
}

.vl-diagnostic-page .model-search-shell.is-open {
  z-index: 3;
}

.vl-diagnostic-page .model-search-status {
  min-height: 20px;
  margin-top: 7px;
  color: var(--muted-readable);
  font-size: 13px;
}

.vl-diagnostic-page .model-suggestions {
  min-width: 0;
  display: grid;
  max-height: 320px;
  margin: 8px 0 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(23, 28, 46, 0.14);
}

.vl-diagnostic-page .model-suggestion {
  min-width: 0;
  min-height: 48px;
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 2px solid transparent;
  border-radius: 9px;
  cursor: pointer;
}

.vl-diagnostic-page .model-suggestion + .model-suggestion {
  border-top-color: var(--line);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.vl-diagnostic-page .model-suggestion:hover,
.vl-diagnostic-page .model-suggestion.is-active,
.vl-diagnostic-page .model-suggestion[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.vl-diagnostic-page .model-suggestion strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.vl-diagnostic-page .model-suggestion span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted-readable);
  font-size: 13px;
}

.vl-diagnostic-page .selected-model,
.vl-diagnostic-page .model-index-warning {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #bad8fa;
  background: var(--accent-soft);
  border-radius: 12px;
}

.vl-diagnostic-page .selected-model > div,
.vl-diagnostic-page .model-index-warning > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.vl-diagnostic-page .selected-model small {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vl-diagnostic-page .selected-model strong,
.vl-diagnostic-page .model-index-warning strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.vl-diagnostic-page .selected-model span,
.vl-diagnostic-page .model-index-warning span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted-readable);
  font-size: 13px;
}

.vl-diagnostic-page .model-index-warning {
  align-items: flex-start;
  justify-content: flex-start;
  border-color: #b68b36;
  background: #fff7df;
}

.vl-diagnostic-page .model-index-warning svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
}

/* Media intake v2: selectors are ready for the separately loaded client flow. */
.vl-diagnostic-page .media-entry-link {
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid #c8dffb;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.vl-diagnostic-page .media-entry-link > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.vl-diagnostic-page .media-entry-link strong,
.vl-diagnostic-page .media-entry-link span {
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .media-entry-link strong {
  font-size: 14px;
}

.vl-diagnostic-page .media-entry-link span {
  color: var(--muted-strong);
  font-size: 13px;
}

.vl-diagnostic-page .media-file-row button:focus-visible,
.vl-diagnostic-page .media-sticky-action button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vl-diagnostic-page .media-form {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.vl-diagnostic-page .media-form > * {
  min-width: 0;
}

.vl-diagnostic-page .media-context {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0 0 18px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid #c8dffb;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.vl-diagnostic-page .media-context strong {
  font-size: 13px;
}

.vl-diagnostic-page .media-context span {
  min-width: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .media-form-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vl-diagnostic-page .media-upload-field {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.vl-diagnostic-page .media-upload-field > div,
.vl-diagnostic-page .media-file-copy,
.vl-diagnostic-page .media-file-state {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.vl-diagnostic-page .media-upload-field strong {
  font-size: 13px;
}

.vl-diagnostic-page .media-upload-field strong small {
  color: var(--muted-strong);
  font-weight: 500;
}

.vl-diagnostic-page .media-upload-field > div > span,
.vl-diagnostic-page .media-upload-field > small,
.vl-diagnostic-page .media-files-summary {
  margin: 0;
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .media-add-button {
  position: relative;
  justify-self: start;
  overflow: hidden;
}

.vl-diagnostic-page .media-add-button input,
.vl-diagnostic-page .media-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.vl-diagnostic-page .media-add-button:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vl-diagnostic-page .consent-field.media-consent {
  padding: 12px 13px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.vl-diagnostic-page .consent-field.media-consent:has(input[aria-invalid="true"]) {
  color: var(--danger-dark);
  border-color: #e6b6b0;
  background: var(--danger-soft);
}

.vl-diagnostic-page .media-privacy-note {
  margin: 0;
  padding: 12px 14px;
  color: #6b4000;
  border: 1px solid #ead09f;
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  font-size: 13px;
  line-height: 1.5;
}

.vl-diagnostic-page .media-form-error {
  display: block;
}

.vl-diagnostic-page .media-files {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-diagnostic-page .media-file-row {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 0.42fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.vl-diagnostic-page .media-file-row > * {
  min-width: 0;
}

.vl-diagnostic-page .media-file-row strong,
.vl-diagnostic-page .media-file-row span {
  display: block;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .media-file-row span {
  color: var(--muted-readable);
  font-size: 13px;
}

.vl-diagnostic-page .media-file-row button {
  min-width: 48px;
  min-height: 48px;
}

.vl-diagnostic-page .media-file-state {
  gap: 5px;
}

.vl-diagnostic-page .media-file-remove {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted-strong);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-strong);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.vl-diagnostic-page .media-file-remove:hover:not(:disabled) {
  color: var(--danger-dark);
  border-color: var(--danger);
  background: var(--danger-soft);
}

.vl-diagnostic-page .media-file-remove:disabled {
  cursor: not-allowed;
  opacity: 0.43;
}

.vl-diagnostic-page .media-progress {
  width: 100%;
  height: 5px;
  display: block;
  overflow: hidden;
  color: var(--accent);
  border: 0;
  border-radius: 999px;
  background: var(--line);
  appearance: none;
}

.vl-diagnostic-page .media-progress::-webkit-progress-bar {
  background: var(--line);
}

.vl-diagnostic-page .media-progress::-webkit-progress-value {
  background: var(--accent);
}

.vl-diagnostic-page .media-progress::-moz-progress-bar {
  background: var(--accent);
}

.vl-diagnostic-page .media-sticky-action {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: grid;
  gap: 8px;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  background: rgba(248, 249, 252, 0.96);
  border-top: 1px solid var(--line);
}

.vl-diagnostic-page .media-sticky-action .button {
  width: 100%;
}

.vl-diagnostic-page .media-success {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.vl-diagnostic-page .media-success .urgency-badge {
  justify-self: start;
  margin: 0;
}

.vl-diagnostic-page .media-success h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.vl-diagnostic-page .media-success p {
  max-width: 680px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.55;
}

.vl-diagnostic-page .media-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.vl-diagnostic-page .question-selection-hint {
  margin: 0 0 12px;
  color: var(--muted-strong);
  font-size: 13px;
}

.vl-diagnostic-page .safety-details {
  border-top-color: #e6b6b0;
}

.vl-diagnostic-page .result-shell {
  display: grid;
  gap: 14px;
}

/* Compact result v2: price and evidence stay ahead of secondary details. */
.vl-diagnostic-page .result-summary {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-lg);
  background: var(--dark);
}

.vl-diagnostic-page .result-summary > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.vl-diagnostic-page .result-summary::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -76px;
  width: 176px;
  height: 176px;
  border: 25px solid rgba(19, 116, 231, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.vl-diagnostic-page .result-summary.is-stop {
  background: var(--danger-dark);
}

.vl-diagnostic-page .result-summary.is-stop::after {
  border-color: rgba(255, 255, 255, 0.09);
}

.vl-diagnostic-page .result-summary h2 {
  max-width: 720px;
  margin: 0;
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-summary p {
  max-width: 700px;
  margin: 0;
  color: #b8c0d1;
  font-size: 14px;
}

.vl-diagnostic-page .result-summary.is-stop p {
  color: #f1d4d4;
}

.vl-diagnostic-page .result-summary .urgency-badge {
  justify-self: start;
  margin-bottom: 0;
}

.vl-diagnostic-page .result-context {
  color: #e1e5ef !important;
  font-size: 13px !important;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-price-primary {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: clamp(18px, 3vw, 26px);
  color: var(--ink);
  border: 1px solid #c8dffb;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.vl-diagnostic-page .result-price-primary > strong {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 38px);
  letter-spacing: 0;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-evidence {
  min-width: 0;
  margin: 12px 0 0;
  padding: 14px 16px;
  color: var(--muted-strong);
  border-left: 3px solid var(--accent);
  background: var(--surface-strong);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-example {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-evidence strong {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.vl-diagnostic-page .result-details {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.vl-diagnostic-page .result-details > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-details > summary::-webkit-details-marker {
  display: none;
}

.vl-diagnostic-page .result-details > summary::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--accent-strong);
  font-size: 20px;
  line-height: 1;
}

.vl-diagnostic-page .result-details[open] > summary::after {
  content: "−";
}

.vl-diagnostic-page .result-details > summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vl-diagnostic-page .result-details > :not(summary) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-details[open] {
  padding-bottom: 16px;
}

.vl-diagnostic-page .result-details h3 {
  margin: 16px 0 10px;
  font-size: 13px;
}

.vl-diagnostic-page .result-details p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.vl-diagnostic-page .result-contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.vl-diagnostic-page .result-contact-card > div {
  min-width: 0;
}

.vl-diagnostic-page .result-contact-card h3,
.vl-diagnostic-page .result-contact-card p {
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-contact-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.vl-diagnostic-page .result-contact-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.vl-diagnostic-page .result-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.vl-diagnostic-page .result-contact-actions .button {
  min-height: 46px;
  text-align: center;
}

.vl-diagnostic-page .result-policy-line {
  margin: 0;
  padding: 2px 4px;
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .result-hero {
  position: relative;
  padding: clamp(25px, 4vw, 42px);
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius-lg);
}

.vl-diagnostic-page .result-hero::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 25px solid rgba(19, 116, 231, 0.2);
  border-radius: 50%;
}

.vl-diagnostic-page .result-hero.is-stop {
  background: var(--danger-dark);
}

.vl-diagnostic-page .result-hero.is-stop::after {
  border-color: rgba(255, 255, 255, 0.09);
}

.vl-diagnostic-page .urgency-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 9px;
  color: #fff;
  background: var(--accent-strong);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vl-diagnostic-page .is-stop .urgency-badge {
  color: var(--danger-dark);
  background: #fff;
}

.vl-diagnostic-page .result-hero h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: 0;
  line-height: 1.2;
}

.vl-diagnostic-page .result-hero p {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 17px 0 0;
  color: #b8c0d1;
  font-size: 14px;
}

.vl-diagnostic-page .is-stop p {
  color: #f1d4d4;
}

.vl-diagnostic-page .result-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.vl-diagnostic-page .result-meta span {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 7px 9px;
  color: #e1e5ef;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  font-size: 13px;
}

.vl-diagnostic-page .result-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.vl-diagnostic-page .result-card h3 {
  margin: 0 0 15px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.vl-diagnostic-page .result-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
}

.vl-diagnostic-page .cause-grid,
.vl-diagnostic-page .work-list,
.vl-diagnostic-page .action-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-diagnostic-page .cause-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vl-diagnostic-page .cause-grid li {
  min-height: 66px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--paper);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.vl-diagnostic-page .cause-grid li span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent-strong);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.vl-diagnostic-page .result-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.vl-diagnostic-page .assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 22px;
}

.vl-diagnostic-page .work-list,
.vl-diagnostic-page .action-list {
  display: grid;
  gap: 9px;
}

.vl-diagnostic-page .work-list li,
.vl-diagnostic-page .action-list li {
  position: relative;
  padding-left: 19px;
  color: var(--muted-strong);
  font-size: 14px;
}

.vl-diagnostic-page .work-list li::before,
.vl-diagnostic-page .action-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.vl-diagnostic-page .action-list.prohibited li::before {
  width: 8px;
  height: 2px;
  top: 0.7em;
  background: var(--danger);
  border-radius: 0;
}

.vl-diagnostic-page .price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--accent-soft);
  border-color: #c8dffb;
}

.vl-diagnostic-page .price-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vl-diagnostic-page .price-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.vl-diagnostic-page .price-note {
  max-width: 470px;
  margin-top: 9px !important;
  color: #3d526d !important;
  font-size: 13px !important;
}

.vl-diagnostic-page .diagnostic-pill {
  min-width: 0;
  max-width: 260px;
  padding: 12px 14px;
  color: #174a80;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19, 116, 231, 0.2);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.vl-diagnostic-page .review-price {
  margin-top: 12px;
  padding: 10px 12px;
  color: #6b4000;
  background: var(--warning-soft);
  border-radius: 9px;
  font-size: 13px;
}

.vl-diagnostic-page .safety-card {
  border-color: #e6b6b0;
  background: var(--danger-soft);
}

.vl-diagnostic-page .safety-card h3 {
  color: var(--danger-dark);
}

.vl-diagnostic-page .result-disclaimer {
  padding: 2px 7px;
  color: var(--muted-readable);
  font-size: 13px;
  line-height: 1.55;
}

.vl-diagnostic-page .share-card {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.vl-diagnostic-page .share-card h3 {
  color: #fff !important;
  font-size: 17px;
}

.vl-diagnostic-page .share-card p {
  color: #b4bdd0;
}

.vl-diagnostic-page .channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.vl-diagnostic-page .channel-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #fff;
  border: 1px solid #69758e;
  border-radius: 9px;
  background: #171c2e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.vl-diagnostic-page .channel-button:hover {
  border-color: #79849d;
  background: #232a40;
}

.vl-diagnostic-page .demo-tag {
  padding: 2px 5px;
  color: #fff;
  background: var(--accent-strong);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vl-diagnostic-page .callback-panel {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #30384d;
}

.vl-diagnostic-page .callback-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 12px;
}

.vl-diagnostic-page .callback-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.vl-diagnostic-page .callback-form-error {
  display: block;
}

.vl-diagnostic-page .callback-form > .button {
  width: 100%;
}

.vl-diagnostic-page .callback-submit {
  margin-top: 2px;
}

.vl-diagnostic-page .callback-form .field input {
  color: #fff;
  border-color: #69758e;
  background: #171c2e;
}

.vl-diagnostic-page .callback-form .field > span {
  color: #f8f9fc;
}

.vl-diagnostic-page .callback-form .field input::placeholder {
  color: #b8c0d1;
  opacity: 1;
}

.vl-diagnostic-page .callback-form .field input[aria-invalid="true"] {
  border-color: #ff8e86;
  background: #311f20;
}

.vl-diagnostic-page .callback-form .field input[aria-invalid="true"]:focus {
  border-color: #ffb3ad;
  box-shadow: 0 0 0 4px rgba(255, 142, 134, 0.18);
}

.vl-diagnostic-page .callback-form .field > span small {
  font-size: 12px;
  font-weight: 400;
}

.vl-diagnostic-page .consent-field {
  min-height: 48px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: #b4bdd0;
  font-size: 13px;
  line-height: 1.45;
}

.vl-diagnostic-page .consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.vl-diagnostic-page .consent-field:has(input[aria-invalid="true"]) {
  color: #ffd1cd;
}

.vl-diagnostic-page .consent-field input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vl-diagnostic-page .consent-field input[aria-invalid="true"] {
  outline: 3px solid rgba(255, 142, 134, 0.72);
  outline-offset: 3px;
}

.vl-diagnostic-page .consent-error {
  display: block;
}

.vl-diagnostic-page .callback-errors {
  display: grid;
  gap: 5px;
  color: #ffd1cd;
}

.vl-diagnostic-page .callback-errors .field-error {
  color: #ffd1cd;
}

.vl-diagnostic-page .callback-success {
  margin-top: 12px;
  padding: 12px;
  color: #dfffdc;
  background: rgba(87, 151, 76, 0.15);
  border: 1px solid rgba(130, 207, 116, 0.3);
  border-radius: 9px;
  font-size: 12px;
}

.vl-diagnostic-page .result-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}

.vl-diagnostic-page .empty-state,
.vl-diagnostic-page .error-state {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.vl-diagnostic-page .empty-state > div,
.vl-diagnostic-page .error-state > div {
  max-width: 460px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.vl-diagnostic-page .empty-state svg,
.vl-diagnostic-page .error-state svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.3;
}

.vl-diagnostic-page .empty-state h2,
.vl-diagnostic-page .error-state h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.vl-diagnostic-page .empty-state p,
.vl-diagnostic-page .error-state p {
  margin: 0;
  color: var(--muted-readable);
  font-size: 14px;
}

.vl-diagnostic-page .toast {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  max-width: min(380px, calc(100% - 36px));
  padding: 12px 15px;
  color: #fff;
  background: var(--ink);
  border: 1px solid #30384d;
  border-radius: 11px;
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 600;
  animation: vl-diagnostic-toast-in 180ms ease both;
}

@keyframes vl-diagnostic-toast-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.vl-diagnostic-page .skeleton {
  display: grid;
  gap: 12px;
  padding-top: 32px;
}

.vl-diagnostic-page .skeleton-line,
.vl-diagnostic-page .skeleton-block {
  display: block;
  overflow: hidden;
  background: #e2e7f0;
  border-radius: 8px;
}

.vl-diagnostic-page .skeleton-line::after,
.vl-diagnostic-page .skeleton-block::after {
  content: "";
  width: 45%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: vl-diagnostic-shimmer 1.2s infinite;
}

@keyframes vl-diagnostic-shimmer {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

.vl-diagnostic-page .skeleton-kicker { width: 120px; height: 13px; }
.vl-diagnostic-page .skeleton-title { width: 68%; height: 58px; margin-bottom: 5px; }
.vl-diagnostic-page .skeleton-copy { width: 50%; height: 18px; margin-bottom: 18px; }
.vl-diagnostic-page .skeleton-block { height: 102px; }

.vl-diagnostic-page .noscript-message {
  margin: 20px;
  padding: 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
}

@media (max-width: 980px) {
  .vl-diagnostic-page .site-shell {
    width: min(calc(100% - 20px), 900px);
    margin: 10px auto;
  }

  .vl-diagnostic-page .diagnostic-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .vl-diagnostic-page .context-rail {
    min-height: 0;
  }

  .vl-diagnostic-page .context-rail-inner {
    position: relative;
    top: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
  }

  .vl-diagnostic-page .context-rail-inner::after,
  .vl-diagnostic-page .context-rail h2,
  .vl-diagnostic-page .rail-lead,
  .vl-diagnostic-page .trust-note {
    display: none;
  }

  .vl-diagnostic-page .eyebrow {
    margin: 0;
    white-space: nowrap;
  }

  .vl-diagnostic-page .progress-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .vl-diagnostic-page .progress-list li {
    min-height: 48px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 6px;
  }

  .vl-diagnostic-page .progress-list li:not(:last-child)::after {
    display: none;
  }

  .vl-diagnostic-page .progress-list li strong {
    font-size: 12px;
    line-height: 1.2;
  }

  .vl-diagnostic-page .rail-restart {
    margin: 0;
    padding: 8px 0;
    white-space: nowrap;
  }

  .vl-diagnostic-page .stage-wrap {
    min-height: 0;
    padding: clamp(24px, 5vw, 38px);
  }

  .vl-diagnostic-page .fallback-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vl-diagnostic-page .model-actions {
    margin-top: 4px;
  }

  .vl-diagnostic-page .question-actions-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 800px) {
  .vl-diagnostic-page .context-intro {
    display: none;
  }

  .vl-diagnostic-page .context-rail-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .vl-diagnostic-page .progress-list li {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 4px;
    text-align: center;
  }

  .vl-diagnostic-page .progress-list li strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.2;
  }
}

@media (max-width: 760px) {
  .vl-diagnostic-page .result-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vl-diagnostic-page {
    background: var(--paper);
    border-radius: 0;
  }

  .vl-diagnostic-page .site-shell {
    width: 100%;
    margin: 0;
  }

  .vl-diagnostic-page .topbar {
    min-height: 67px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .vl-diagnostic-page .brand-mark {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 11px;
    font-size: 15px;
  }

  .vl-diagnostic-page .brand-copy small,
  .vl-diagnostic-page .office-note {
    display: none;
  }

  .vl-diagnostic-page .topbar-meta {
    gap: 0;
  }

  .vl-diagnostic-page .diagnostic-layout {
    gap: 0;
    margin: 0;
  }

  .vl-diagnostic-page .context-rail {
    border-radius: 0;
    box-shadow: none;
  }

  .vl-diagnostic-page .context-rail-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 14px;
  }

  .vl-diagnostic-page .context-intro {
    display: none;
  }

  .vl-diagnostic-page .progress-list {
    gap: 3px;
    margin: 0;
  }

  .vl-diagnostic-page .progress-list li {
    min-height: 52px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .vl-diagnostic-page .progress-list li span {
    width: 30px;
    height: 30px;
  }

  .vl-diagnostic-page .rail-restart {
    min-width: 48px;
    max-width: none;
    font-size: 0;
  }

  .vl-diagnostic-page .rail-restart::after {
    content: "Заново";
    font-size: 12px;
  }

  .vl-diagnostic-page .stage-wrap {
    min-height: 0;
    padding: 22px 14px 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .vl-diagnostic-page .stage-head {
    align-items: start;
    margin-bottom: 20px;
  }

  .vl-diagnostic-page .stage-title {
    font-size: clamp(23px, 6.4vw, 28px);
    line-height: 1.24;
  }

  .vl-diagnostic-page .stage-subtitle {
    margin-top: 10px;
    font-size: 15px;
  }

  .vl-diagnostic-page .option-grid,
  .vl-diagnostic-page .fallback-list,
  .vl-diagnostic-page .cause-grid,
  .vl-diagnostic-page .result-split {
    grid-template-columns: 1fr;
  }

  .vl-diagnostic-page .choice-card {
    min-height: 82px;
    padding: 14px;
  }

  .vl-diagnostic-page .choice-icon {
    width: 42px;
    height: 42px;
  }

  .vl-diagnostic-page .option-grid.compact .choice-card {
    min-height: 66px;
  }

  .vl-diagnostic-page .fallback-list {
    gap: 7px;
  }

  .vl-diagnostic-page .choice-card.is-fallback {
    min-height: 58px;
  }

  .vl-diagnostic-page .question-card,
  .vl-diagnostic-page .model-panel,
  .vl-diagnostic-page .result-card,
  .vl-diagnostic-page .result-hero,
  .vl-diagnostic-page .result-summary,
  .vl-diagnostic-page .result-contact-card {
    border-radius: 15px;
  }

  .vl-diagnostic-page .question-actions,
  .vl-diagnostic-page .model-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .vl-diagnostic-page .question-actions-right {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .vl-diagnostic-page .model-actions .question-actions-right {
    flex: none;
  }

  .vl-diagnostic-page .question-actions-right .button {
    width: 100%;
  }

  .vl-diagnostic-page .question-actions .back-button,
  .vl-diagnostic-page .model-actions .back-button {
    align-self: flex-start;
  }

  .vl-diagnostic-page .selected-model {
    align-items: stretch;
    flex-direction: column;
  }

  .vl-diagnostic-page .price-card {
    grid-template-columns: 1fr;
  }

  .vl-diagnostic-page .diagnostic-pill {
    max-width: none;
  }

  .vl-diagnostic-page .resume-banner {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .vl-diagnostic-page .resume-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vl-diagnostic-page .review-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .vl-diagnostic-page .media-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vl-diagnostic-page .media-file-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .vl-diagnostic-page .media-file-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .vl-diagnostic-page .media-file-state {
    grid-column: 1;
    grid-row: 2;
  }

  .vl-diagnostic-page .media-file-row > button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .vl-diagnostic-page .media-success-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vl-diagnostic-page .media-success-actions .button {
    width: 100%;
  }

  .vl-diagnostic-page .stage-footer {
    display: grid;
    gap: 5px;
  }

  .vl-diagnostic-page .channel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vl-diagnostic-page .channel-button:first-child {
    grid-column: 1 / -1;
  }

  .vl-diagnostic-page .channel-button:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .vl-diagnostic-page .context-rail-inner {
    padding-inline: 12px;
  }

  .vl-diagnostic-page .progress-list li span {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .vl-diagnostic-page .rail-restart::after {
    font-size: 11px;
  }

  .vl-diagnostic-page .stage-wrap {
    padding-inline: 14px;
  }

  .vl-diagnostic-page .stage-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .vl-diagnostic-page .counter {
    grid-row: 1;
    padding: 0;
  }

  .vl-diagnostic-page .stage-head-main {
    grid-row: 2;
  }

  .vl-diagnostic-page .search-field input {
    height: 56px;
    padding-right: 50px;
  }

  .vl-diagnostic-page .choice-card {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 11px;
    padding: 13px 12px;
  }

  .vl-diagnostic-page .question-card,
  .vl-diagnostic-page .model-panel,
  .vl-diagnostic-page .result-card,
  .vl-diagnostic-page .result-hero,
  .vl-diagnostic-page .result-summary,
  .vl-diagnostic-page .result-price-primary,
  .vl-diagnostic-page .result-contact-card {
    padding-inline: 16px;
  }

  .vl-diagnostic-page .media-entry-link {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    padding: 14px;
  }

  .vl-diagnostic-page .media-entry-link .button {
    width: 100%;
  }

  .vl-diagnostic-page .media-context,
  .vl-diagnostic-page .media-upload-field,
  .vl-diagnostic-page .consent-field.media-consent,
  .vl-diagnostic-page .media-success {
    padding-inline: 14px;
  }

  .vl-diagnostic-page .media-add-button {
    width: 100%;
  }

  .vl-diagnostic-page .media-success-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .vl-diagnostic-page .media-file-row {
    gap: 8px;
    padding: 8px 9px;
  }

  .vl-diagnostic-page .result-price-primary > strong {
    font-size: clamp(23px, 8vw, 32px);
  }

  .vl-diagnostic-page .result-summary h2 {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.18;
  }

  .vl-diagnostic-page .result-contact-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .vl-diagnostic-page .result-contact-card .button {
    width: 100%;
  }

  .vl-diagnostic-page .result-contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .vl-diagnostic-page .result-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .vl-diagnostic-page .result-meta span {
    width: 100%;
  }

  .vl-diagnostic-page .resume-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .vl-diagnostic-page .stage-wrap {
    padding-inline: 12px;
  }

  .vl-diagnostic-page .choice-card {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 9px;
  }

  .vl-diagnostic-page .choice-icon {
    width: 38px;
    height: 38px;
  }

  .vl-diagnostic-page .choice-icon svg {
    width: 21px;
    height: 21px;
  }

  .vl-diagnostic-page .channel-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .vl-diagnostic-page .channel-button {
    grid-column: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-diagnostic-page,
  .vl-diagnostic-page *,
  .vl-diagnostic-page *::before,
  .vl-diagnostic-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
