/* ================================
   6A01 — Zaburzenia rozwojowe mowy i języka
   ================================ */

.speech-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.speech-disclaimer {
  font-size: 12px;
  color: #6b7280;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}

.speech-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-top: 2px;
}

.speech-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.speech-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: white;
  cursor: pointer;
  transition: background 0.13s ease, border-color 0.13s ease;
  user-select: none;
}

.speech-check-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent, #1976d2);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.speech-check-row:hover {
  border-color: var(--accent, #1976d2);
  background: #eef3ff;
}

.speech-check-row.active {
  background: color-mix(in srgb, var(--accent, #1976d2) 10%, white);
  border-color: var(--accent, #1976d2);
}

.speech-check-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.speech-check-main {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.speech-check-row.active .speech-check-main {
  color: #1e3a6e;
  font-weight: 600;
}

.speech-check-desc {
  font-size: 11.5px;
  color: #9ca3af;
  line-height: 1.4;
}

.speech-check-row.active .speech-check-desc {
  color: #4b6fa8;
}

.speech-result {
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}

.speech-result:empty { display: none; }
.speech-result.ok    { background: #e8f5e9; color: #2e7d32; }
.speech-result.warn  { background: #fff8e1; color: #8a6500; }
.speech-result.info  { background: #e3f2fd; color: #1565c0; }

.speech-severity {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 5px;
  margin-left: 4px;
}

.speech-severity.mild     { background: #e8f5e9; color: #2e7d32; }
.speech-severity.moderate { background: #fff8e1; color: #8a6500; }
.speech-severity.complex  { background: #fdecea; color: #c62828; }
