.ngss-box {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 24px 0;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid #dbe4ee;
  border-inline-start: 4px solid #2563eb;
  border-radius: 12px;
  background: #f8fafc;
  color: #172033;
  overflow-wrap: anywhere;
  text-align: start;
}
.ngss-box *, .ngss-box *::before, .ngss-box *::after {
  box-sizing: border-box;
}
.ngss-box h2 {
  margin: 0 0 12px;
  color: #172033;
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.4;
}
.ngss-box p { line-height: 1.7; }
.ngss-box .ngss-badge {
  margin: 0 0 10px;
  color: #1e40af;
  font-size: 12px;
  font-weight: 700;
}
.ngss-form > label { display: block; margin-bottom: 8px; }
.ngss-row { display: flex; align-items: flex-start; gap: 12px; }
.ngss-row textarea {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #64748b;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}
.ngss-row textarea::placeholder { color: #5b6474; opacity: 1; }
.ngss-row button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ngss-row button:hover { background: #1e40af; }
.ngss-row button:disabled { opacity: .65; cursor: wait; }
.ngss-row textarea:focus-visible,
.ngss-row button:focus-visible,
.ngss-consent input:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.ngss-box .ngss-small { font-size: 12px; color: #475569; }
.ngss-form .ngss-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}
.ngss-consent input { flex: 0 0 auto; margin-top: 4px; }
.ngss-status { font-size: 14px; color: #334155; }
.ngss-result {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #fff;
}
.ngss-result[hidden] { display: none !important; }
.ngss-answer-title { margin-top: 0; font-weight: 700; }
.ngss-answer { white-space: pre-wrap; color: #172033; }
.ngss-box .ngss-trap { display: none !important; }
@media (max-width: 600px) {
  .ngss-row { flex-direction: column; }
  .ngss-row button { width: 100%; }
}.ngss-summary {
  margin: 0 0 20px;
  color: #172033;
  font-size: 16px;
  line-height: 1.85;
}

.ngss-summary p {
  margin: 0 0 12px;
}

.ngss-summary p:last-child {
  margin-bottom: 0;
}

.ngss-divider {
  height: 0;
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #dbe4ee;
}

.ngss-box .ngss-question-heading {
  margin: 0 0 12px;
  color: #172033;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.4;
}
