/* Visum-Check – nur innerhalb von #vc-app, damit das Site-CSS unberührt bleibt. */
#vc-app {
  --vc-bg: #f6f8fb;
  --vc-card: #ffffff;
  --vc-ink: #0f172a;
  --vc-muted: #64748b;
  --vc-line: #e2e8f0;
  --vc-accent: #2563eb;
  --vc-red: #dc2626;
  --vc-amber: #d97706;
  --vc-green: #16a34a;
  color: var(--vc-ink);
  background: var(--vc-bg);
  border: 1px solid var(--vc-line);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

#vc-app .vc-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: start;
}

#vc-app .vc-context {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

#vc-app .vc-context label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--vc-muted);
  gap: 0.25rem;
}

#vc-app .vc-context input,
#vc-app .vc-context select {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--vc-line);
  border-radius: 0.5rem;
  font: inherit;
  min-width: 190px;
  background: #fff;
  color: var(--vc-ink);
}

#vc-app .vc-section h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vc-muted);
  margin: 1.5rem 0 0.5rem;
}

#vc-app .vc-q {
  border: 1px solid var(--vc-line);
  background: var(--vc-card);
  border-radius: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  margin: 0 0 0.75rem;
}

#vc-app .vc-q legend {
  font-weight: 600;
  padding: 0 0.25rem;
  font-size: 1rem;
  float: none;
  width: auto;
  margin-bottom: 0.35rem;
}

#vc-app .vc-opt {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.35rem 0.25rem;
  cursor: pointer;
  border-radius: 0.4rem;
  font-size: 0.95rem;
}

#vc-app .vc-opt:hover { background: #f1f5f9; }
#vc-app .vc-opt input { margin-top: 0.2rem; }

#vc-app .vc-result {
  position: sticky;
  top: 1rem;
  background: var(--vc-card);
  border: 1px solid var(--vc-line);
  border-radius: 0.9rem;
  padding: 1.1rem;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

#vc-app .vc-result-head h2 { margin: 0.1rem 0; font-size: 1.4rem; }
#vc-app .vc-result-head.idle h2 { color: var(--vc-muted); }
#vc-app .vc-result-head.critical h2 { color: var(--vc-red); }
#vc-app .vc-result-head.review h2 { color: var(--vc-amber); }
#vc-app .vc-result-head.ok h2 { color: var(--vc-green); }
#vc-app .vc-result-head.route h2 { color: var(--vc-accent); }

#vc-app .vc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--vc-muted);
}

#vc-app .vc-muted { color: var(--vc-muted); }
#vc-app .vc-small { font-size: 0.85rem; }

#vc-app .vc-progress {
  height: 0.45rem;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0 0.25rem;
}

#vc-app .vc-progress-bar {
  height: 100%;
  background: var(--vc-accent);
  transition: width 0.25s ease;
}

#vc-app .vc-counts { font-size: 0.9rem; color: var(--vc-muted); margin: 0.5rem 0; }

#vc-app .vc-group h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.9rem 0 0.3rem;
}

#vc-app .vc-group.critical h3 { color: var(--vc-red); }
#vc-app .vc-group.major h3 { color: var(--vc-amber); }
#vc-app .vc-group.minor h3 { color: var(--vc-green); }

#vc-app .vc-group ul { margin: 0; padding-left: 1.1rem; }
#vc-app .vc-group li { margin: 0.35rem 0; font-size: 0.92rem; }
#vc-app .vc-group a { color: inherit; }

#vc-app .vc-empty { color: var(--vc-muted); font-style: italic; }

#vc-app .vc-route {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.6rem;
  padding: 0.75rem;
  margin: 0.75rem 0;
}

#vc-app .vc-disclaimer {
  font-size: 0.78rem;
  color: var(--vc-muted);
  margin-top: 1rem;
  border-top: 1px solid var(--vc-line);
  padding-top: 0.75rem;
}

#vc-app .vc-privacy { font-size: 0.78rem; color: var(--vc-muted); }

#vc-app .vc-reset {
  margin-top: 0.5rem;
  background: none;
  border: 1px solid var(--vc-line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
  color: var(--vc-ink);
}

#vc-app .vc-toggle {
  display: none;
  margin-top: 0.5rem;
  background: none;
  border: 1px solid var(--vc-line);
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--vc-ink);
}

#vc-app .vc-reset:hover { background: #f1f5f9; }

@media (max-width: 900px) {
  #vc-app .vc-layout { grid-template-columns: 1fr; padding-bottom: 45vh; }
  #vc-app .vc-result {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 10;
    max-height: 32vh;
    overflow: auto;
    border-radius: 0.9rem 0.9rem 0 0;
  }
  #vc-app .vc-result.vc-expanded { max-height: 60vh; }
  #vc-app .vc-toggle { display: inline-block; }
  #vc-app .vc-details { display: none; }
  #vc-app .vc-expanded .vc-details { display: block; }
}
