/* Consistent reading and practice hierarchy, preserving the course identity. */
body.gk-family .gk-reader .table-scroll {
  border: 1px solid #dbe4dc;
  border-radius: 10px;
  background: #fff;
}
body.gk-family .gk-reader .table-scroll table { margin: 0; }
body.gk-family .gk-reader .table-scroll th { background: #edf4ef; color: #234c3c; }
body.gk-family .gk-reader .table-scroll td + td { border-left: 1px solid #e8eee9; }
body.gk-family .gk-reader .table-scroll tr:last-child td { border-bottom: 0; }
.gk-reading-practice {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: 18px 0 2px; margin-top: 18px; border-top: 1px solid #dbe4dc;
  font: 500 1rem/1.6 StudySans, StudyHindi, Symbols, sans-serif;
}
.gk-reading-practice > div { display: flex; flex-wrap: wrap; gap: 8px; }
.gk-reading-practice a {
  display: inline-block; padding: 8px 12px; background: #edf4ef; color: #234c3c;
  border: 1px solid #ccdcd1; border-radius: 7px; font-size: .875rem; text-decoration: none;
}
.gk-reading-practice a:hover { background: #dfece3; }
.gk-practice-progress {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 10px; color: #56655d; font-size: .875rem;
}
.gk-practice-progress + .gk-qnav { margin-top: 0; }
.gk-question { background: #fff; border-color: #d6e1d8; }
.gk-question-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.gk-question-label {
  display: inline-block; padding: 6px 10px; background: #eaf3ed; border-radius: 6px;
  color: #24513d; font-size: .875rem; font-weight: 600; line-height: 1.5;
}
body.gk-family .gk-question-top .gk-meta { font-size: .875rem; color: #5e6a62; }
.gk-provenance { margin: 14px 0 20px; font-size: .875rem; line-height: 1.65; color: #53635b; }
.gk-provenance summary { cursor: pointer; width: fit-content; }
.gk-provenance p { max-width: 80ch; margin: 10px 0 0; padding: 12px 15px; background: #f4f7f4; border-radius: 7px; }
body.gk-family .gk-question .gk-stem { margin: 24px 0 18px; font-size: 1.25rem; line-height: 1.7; }
body.gk-family .gk-review-item .gk-stem { font: 600 1.125rem/1.7 StudySans, StudyHindi, Symbols, sans-serif; }
.gk-statements { font-family: StudySans, StudyHindi, Symbols, sans-serif; margin: 16px 0 22px; padding: 4px 20px; border-left: 3px solid #a6c4b0; background: #f5f8f5; border-radius: 0 8px 8px 0; font-size: 1.0625rem; line-height: 1.8; }
.gk-statements p { margin: 12px 0; }
.gk-options { gap: 10px; }
body.gk-family .gk-option { padding: 14px 16px; border-width: 1px; border-color: #cfdad2; background: #fff; align-items: flex-start; }
.gk-option b { display: grid; place-items: center; flex-basis: 30px; min-height: 30px; border: 1px solid #d5e0d8; border-radius: 6px; font-size: .875rem; }
.gk-option-copy { flex: 1; padding-top: 1px; min-width: 0; }
.gk-option-status { flex: 0 0 auto; font-size: .875rem; font-weight: 600; padding-top: 3px; }
body.gk-family .gk-option[aria-pressed=true] { background: #eef4fa; border-color: #477ba7; }
body.gk-family .gk-option.correct { border-color: #4f865e; background: #edf7ef; }
body.gk-family .gk-option.wrong { border-color: #b06551; background: #fcf0eb; }
.gk-feedback { margin-top: 24px; padding: 22px; background: #f1f7f2; border: 1px solid #cbdece; }
.gk-feedback-heading { display: block; font-size: 1.0625rem; }
.gk-solution { margin-top: 10px; }
.gk-solution > :first-child { margin-top: 0; }
.gk-solution > :last-child { margin-bottom: 0; }
.gk-solution-steps { padding-left: 25px; }
.gk-solution-steps li { margin: 7px 0; padding-left: 4px; }
.gk-feedback .gk-sources { font-size: .875rem; margin-top: 18px; }
.gk-revisit { display: inline-block; margin-top: 14px; font-size: .9375rem; font-weight: 600; }
.gk-review-item { margin: 18px 0; border: 1px solid #d9e3dc; border-radius: 12px; background: #fff; }
.gk-stem img, .gk-stem svg { max-width: 100%; height: auto; }
body.gk-family .gk-question .btn,
body.gk-family .gk-qnav button { font-size: .875rem; }
@media(max-width:600px) {
  .gk-question { padding: 22px 18px; }
  .gk-question-top { align-items: flex-start; }
  body.gk-family .gk-question .gk-stem { font-size: 1.125rem; }
  .gk-statements { padding-left: 15px; padding-right: 14px; font-size: 1rem; }
  body.gk-family .gk-option { flex-wrap: wrap; gap: 10px; }
  .gk-option-copy { flex-basis: calc(100% - 42px); }
  .gk-option-status { margin-left: 42px; padding-top: 0; }
  .gk-feedback { padding: 18px; }
  .gk-practice-progress { font-size: .875rem; }
}
