#check h2 { font-size: clamp(1.48rem, 3vw, 2.25rem); }
#check p { margin-bottom: 0; }
#check {
  max-width: 800px;
  margin-top: clamp(1.3rem, 4vw, 2.5rem);
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgb(28 47 43 / 9%);
}
#check .progress-label { color: var(--muted); font-size: .87rem; font-weight: 650; }
#check progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--paper);
  color: var(--petrol);
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  margin: .4rem 0 1.3rem;
}
#check progress::-webkit-progress-bar { background: var(--paper); }
#check progress::-webkit-progress-value { background: var(--petrol); }
#check progress::-moz-progress-bar { background: var(--petrol); }
#check .topic {
  color: #a94000;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
#check .options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1.35rem; }
#check .option {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 51px;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
#check .option:hover { border-color: var(--petrol); }
#check .option:has(input:checked) { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); background: var(--paper); }
#check .option input { accent-color: var(--petrol); width: 1rem; height: 1rem; margin: 0; flex: none; }
#check .symbol {
  display: grid;
  place-items: center;
  flex: 0 0 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-weight: 750;
}
#check .symbol.yes { color: #17643a; background: #e4f4e9; }
#check .symbol.partial { color: #745000; background: #ffefb5; }
#check .symbol.no { color: #a02732; background: #fce8eb; }
#check .symbol.unknown { color: #465870; background: #e8eef6; }
#check .actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: space-between; margin-top: 1.35rem; }
#check button { border: 1px solid var(--petrol); border-radius: 9px; padding: .58rem .85rem; cursor: pointer; font: inherit; font-weight: 650; }
#check .primary { background: var(--petrol); color: white; margin-inline-start: auto; }
#check .secondary { background: transparent; color: var(--petrol); }
#check button:disabled { opacity: .52; cursor: default; }
#check :focus-visible { outline: 3px solid var(--petrol); outline-offset: 4px; }
#check .summary { margin-top: .7rem; color: var(--muted); }
#check .rating { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: .85rem 1rem; border-left: 4px solid; border-radius: 9px; }
#check .rating.green { color: #17643a; background: #e4f4e9; }
#check .rating.yellow { color: #745000; background: #ffefb5; }
#check .rating.red { color: #a02732; background: #fce8eb; }
#check .rating-signal {
  display: grid;
  flex: none;
  gap: 4px;
  padding: 5px;
  border-radius: 14px;
  background: #172943;
}
#check .rating-lamp { width: 13px; height: 13px; border-radius: 50%; background: #66758b; }
#check .rating-lamp.active { box-shadow: inset 0 0 0 1px #fff8; }
#check .rating-lamp.red.active { background: #ff6168; }
#check .rating-lamp.yellow.active { background: #ffd14a; }
#check .rating-lamp.green.active { background: #53dc88; }
#check .rating p + p { margin-top: .25rem; }
#check .suggestions { padding-inline-start: 1.3rem; margin: .65rem 0 0; }
#check .suggestions li + li { margin-top: .75rem; }
#check .tip-explanation { color: var(--muted); margin-top: .18rem; }
#check .result h3 { font-size: 1.2rem; margin-top: 1.2rem; }
@media (max-width: 540px) {
  #check .options { grid-template-columns: 1fr; margin-top: 1rem; }
}

#check + .check-explainer { max-width: 800px; margin-block: 1.25rem; }
#check-scope { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin-bottom: .65rem; }
