/* Slimmer Werken Check — assessment-specific styles (tokens from style.css) */

.check-body { background: var(--paper); }

.check-topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 240, 0.96);
  border-bottom: 1px solid var(--mist);
  backdrop-filter: blur(6px);
}
.check-topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

/* Offset sticky header when scrolling to the step top (progress + heading) */
#step-top {
  scroll-margin-top: 88px;
}
.check-step-anchor {
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
#step-heading:focus {
  outline: none;
}

.check-main { padding: 2rem 0 4rem; }
.check-shell { max-width: 720px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.check-progress { margin-bottom: 1.25rem; }
.check-progress-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 0.45rem;
}
.check-progress-track {
  height: 8px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.check-progress-fill {
  height: 100%;
  background: var(--petrol);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.check-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(23, 35, 30, 0.05);
}
.check-card h1,
.check-card h2 {
  margin-bottom: 0.75rem;
}
.check-card .lead { margin-bottom: 1.25rem; }
.check-card h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.05rem;
}

.check-bullets {
  margin: 0 0 1.25rem 1.1rem;
  color: var(--text);
}
.check-bullets li { margin-bottom: 0.35rem; }

.check-note,
.check-help {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.check-optional {
  font-weight: 500;
  color: var(--text-soft);
}

.check-fieldset {
  border: 0;
  margin: 0 0 1.4rem;
  padding: 0;
  min-width: 0;
}
.check-fieldset legend {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.7rem;
  padding: 0;
  max-width: 100%;
}

.check-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-option:hover { border-color: var(--petrol); }
.check-option:has(input:checked) {
  border-color: var(--petrol);
  background: rgba(15, 92, 82, 0.06);
}
.check-option input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--petrol);
}
.check-option input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.check-option-body { display: flex; flex-direction: column; gap: 0.15rem; }
.check-option-label { font-weight: 600; color: var(--ink); }
.check-option-hint { font-size: 0.88rem; color: var(--text-soft); }

.check-options-scale .check-option { padding: 0.7rem 0.85rem; }

.check-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.check-nav .btn {
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  border: none;
}
.check-nav-results .btn { flex: 1 1 auto; }

.check-count {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0.35rem 0 0;
}

.check-contact-form .form-stack { margin-top: 0.5rem; }
.check-contact-form .form-field input,
.check-contact-form .form-field textarea {
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 0.75rem;
  font: inherit;
  width: 100%;
  background: var(--white);
}
.check-contact-form .form-field input:focus,
.check-contact-form .form-field textarea:focus,
.check-contact-form .consent-label input:focus {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

/* Results */
.check-score-hero {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--tint);
  border-radius: var(--radius);
}
.check-score-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--petrol);
  line-height: 1;
  margin: 0;
  min-width: 4.5rem;
}
.check-score-band {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.check-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.check-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.check-bar-track {
  height: 10px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.check-bar-fill {
  height: 100%;
  background: var(--petrol);
  border-radius: 999px;
}
.check-bar-fill.is-empty { background: transparent; }

.check-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}
.check-stat {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.check-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin: 0 0 0.35rem;
}
.check-stat-value {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.check-stat-opportunity {
  margin-top: 0.75rem;
}

.check-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}
.check-matrix-cell {
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 0.85rem;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--white);
}
.check-matrix-cell.is-active {
  border-color: var(--petrol);
  background: rgba(15, 92, 82, 0.08);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--petrol);
}
.check-next-step { margin: 1rem 0 0.5rem; }
.check-actions-list { margin: 0 0 1rem 1.1rem; }
.check-actions-list li { margin-bottom: 0.4rem; }
.check-disclaimer {
  font-size: 0.88rem;
  color: var(--text-soft);
  border-top: 1px solid var(--mist);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.check-footer { margin-top: 2rem; }

@media (max-width: 600px) {
  .check-main { padding: 1.25rem 0 3rem; }
  .check-card { padding: 1.35rem 1.1rem; }
  .check-two-col { grid-template-columns: 1fr; }
  .check-score-number { font-size: 2.4rem; min-width: 3.5rem; }
  .check-nav .btn { width: 100%; text-align: center; }
}

@media (max-width: 375px) {
  .check-topnav-inner { padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .check-option { padding: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .check-progress-fill,
  .check-option { transition: none; }
}

@media print {
  .check-topnav,
  .check-nav,
  .check-footer,
  .check-progress,
  .check-contact-form { display: none !important; }
  .check-card {
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  .check-main { padding: 0; }
  body { background: #fff; }
}
