/* Shared course presentation; content and answer stores remain reader-owned. */
body.ke-course{--ink:#223e33;--text:#304238;--green:#174b3b;--paper:#fff;--bg:#f5f7f4;--line:#dce5dd;--ga-ink:#223e33;--ga-muted:#647268;--ga-line:#dce5dd;--ga-white:#fff;--ga-green:#174b3b;background:#f5f7f4;color:#304238;font-family:StudySans,StudyHindi,Arial,sans-serif;line-height:1.75}
.ke-course header.ke-header{position:sticky;top:0;z-index:30;height:auto;min-height:76px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:15px 28px 0;background:#fff;border-bottom:1px solid #dce5dd;backdrop-filter:none}
.ke-header .brand,.ke-header .ga-brand{font-family:StudySans,StudyHindi,Arial,sans-serif;font-size:23px;font-weight:750;letter-spacing:-.5px;color:#174b3b;text-decoration:none;display:flex;align-items:center;gap:10px;margin:0}
.ke-header .brand svg,.ke-header .ga-brand svg{width:30px;height:30px}.ke-header .brand span span{font-weight:750}
.ke-header .book-link,.ke-header .ga-header-label{display:block;border:0;padding:0;color:#637569;font-size:14px;margin:0}
.ke-header .language,.ke-header .ga-language{margin-left:auto;display:flex;gap:3px;padding:3px;border:1px solid #dce5dd;border-radius:8px;background:#f7f9f6}
.ke-header .language button,.ke-header .ga-language button{border:0;background:transparent;color:#174b3b;font:600 14px StudySans,StudyHindi,sans-serif;padding:7px 12px;border-radius:5px;min-height:36px}
.ke-header .language button[aria-pressed=true],.ke-header .ga-language button[aria-pressed=true]{background:#174b3b;color:white}
.ke-header .ga-top-controls{display:flex;align-items:center;gap:12px;margin-left:auto}.ke-header .ga-size button{font-size:14px;padding:5px 9px}.ke-subjects{display:flex;gap:6px;width:100%;overflow-x:auto;scrollbar-width:thin;margin:0;padding:9px 0 0}.ke-subjects a{font-size:14px;text-decoration:none;padding:10px 16px;color:#596e60;white-space:nowrap;border-bottom:3px solid transparent}.ke-subjects a[aria-current=page]{color:#174b3b;border-bottom-color:#174b3b;font-weight:700;background:#f0f6ef;border-radius:6px 6px 0 0}.ke-subjects a:hover{background:#eef4ed}
.ke-course :is(button,a,summary,select):focus-visible{outline:3px solid #b77b32;outline-offset:3px}
.ke-course :is(.wrap,.ga-wrap){max-width:1400px;margin-inline:auto;padding:30px 28px 60px}
.ke-course :is(.reader-wrap,.gk-layout){max-width:1400px;margin-inline:auto;padding:30px 28px 60px;gap:28px;grid-template-columns:245px minmax(0,1fr)}
.ke-course .ga-reader-grid{grid-template-columns:245px minmax(0,1fr);gap:28px}
.ke-course :is(.reader-side,.gk-nav,.ga-desktop-toc){position:sticky;top:155px;max-height:calc(100dvh - 175px);height:auto;overflow:auto;padding:18px;background:#fff;border:1px solid #dce5dd;border-radius:12px;scrollbar-width:thin}
.ke-course :is(.reader-side,.gk-nav,.ga-desktop-toc) a{font-family:StudySans,StudyHindi,sans-serif;font-size:14px;line-height:1.65;border-radius:6px}
.ke-course :is(.reader-side,.gk-nav,.ga-desktop-toc) a:is(.active,[aria-current=page],[aria-current=true]){background:#e8f2e9;color:#174b3b;font-weight:700}
.ke-course :is(.reading,.question-card,.gk-question,.gk-intro,.ga-lesson,.ga-test){background:#fff;border:1px solid #dce5dd;border-radius:14px;padding:clamp(20px,3vw,36px);box-shadow:none}
.ke-course :is(.reading-body,.ga-prose,.gk-reader>.reading){font-family:StudySans,StudyHindi,Arial,sans-serif;line-height:1.85}
.ke-course .reading-body{font-size:var(--body,19px)}.ke-course .ga-prose{font-size:var(--ga-font,19px)}
.ke-course :is(.reader-title h1,.gk-intro h1,.ga-hero h1,.wrap>h1){font-size:clamp(30px,3.5vw,44px);line-height:1.25;color:#223e33;letter-spacing:-.5px}
.ke-course :is(.reading h2,.ga-lesson h2,.gk-reader h2){font-size:clamp(25px,2.6vw,32px);line-height:1.35;color:#223e33}
.ke-course :is(.btn,.ga-button){border-radius:8px;min-height:44px;font-size:14px;font-weight:650;padding:10px 18px}
.ke-course :is(.lesson-card,.gk-card,.ga-card){border-radius:12px;border-color:#dce5dd;box-shadow:none}
.ke-course :is(.option,.gk-option,.ga-option){border:2px solid #dce5dd;border-radius:9px;background:#fff;color:#263e32;padding:13px 16px;font-family:StudySans,StudyHindi,Arial,sans-serif;font-size:17px;line-height:1.65;text-align:start;box-shadow:none;outline:none}
.ke-course :is(.option,.gk-option,.ga-option):is(.selected,[aria-pressed=true]){border-color:#174b3b;background:#e8f2ec;padding:13px 16px;outline:none}
.ke-course :is(.option,.gk-option,.ga-option):is(.selected,[aria-pressed=true]) :is(.letter,.ga-letter){background:#174b3b;color:#fff}
.ke-course :is(.option,.gk-option,.ga-option).correct{border-color:#397c45;background:#eaf5e8;opacity:1}
.ke-course :is(.option,.gk-option,.ga-option):is(.wrong,.incorrect){border-color:#af513e;background:#fff0ea;opacity:1}
.ke-course :is(.feedback,.gk-feedback,.ga-feedback){border-radius:10px;padding:20px;line-height:1.8;font-size:17px}
.ke-course :is(.result-grid,.ga-review-scores){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.ke-course :is(.result-grid>.card,.ga-review-scores>div,.gk-score-summary){background:#edf4ed;border:1px solid #d6e3d7;border-radius:12px;padding:20px;color:#214a33}
.ke-course :is(.result-number,.ga-review-scores strong){font-size:32px;font-family:StudySans,StudyHindi,sans-serif;font-weight:700}
.ke-course :is(.result-item,.gk-review-item){border:1px solid #dce5dd;border-radius:9px;padding:16px;margin:12px 0;background:white}
.ke-course :is(.fine,.ga-muted,.gk-meta,.reader-tools,.ga-source-note){font-size:14px}
.ke-course :is(.table-wrap,.ga-table-wrap,.table-scroll){overflow-x:auto}.ke-course :is(.reader-main,.gk-main,.ga-reader-main){min-width:0}
html{scroll-padding-top:165px}
@media(max-width:900px){.ke-header .book-link,.ke-header .ga-header-label{display:none}.ke-course :is(.reader-wrap,.gk-layout){grid-template-columns:210px minmax(0,1fr);gap:18px}.ke-course .ga-reader-grid{grid-template-columns:210px minmax(0,1fr);gap:18px}}
@media(max-width:760px){.ke-course header.ke-header{padding:12px 14px 0;gap:8px;min-height:70px}.ke-header .brand,.ke-header .ga-brand{font-size:20px}.ke-header .ga-size{display:none}.ke-header .language button,.ke-header .ga-language button{padding:6px 9px}.ke-subjects a{padding:9px 12px;font-size:14px}.ke-course :is(.wrap,.ga-wrap,.reader-wrap,.gk-layout){padding:20px 14px 45px;display:block}.ke-course .ga-reader-grid{display:block}.ke-course :is(.reader-side,.ga-desktop-toc){display:none}.ke-course .gk-nav{position:relative;top:auto;max-height:60vh;margin-bottom:18px}.ke-course :is(.mobile-outline,.ga-mobile-toc,.gk-mobile-contents){font-size:15px;border-radius:8px}.ke-course :is(.result-grid,.ga-review-scores){gap:7px}.ke-course :is(.result-grid>.card,.ga-review-scores>div){padding:12px}.ke-course :is(.option,.gk-option,.ga-option){font-size:16px}.ke-course :is(.reading,.question-card,.gk-question,.gk-intro,.ga-lesson,.ga-test){padding:20px}}

.ke-subject-picker{display:none}.ke-preview-watermark{position:fixed;bottom:10px;right:15px;z-index:50;pointer-events:none;color:#174b3b70;background:#ffffffb0;padding:3px 9px;border-radius:4px;font:12px StudySans,StudyHindi,sans-serif}
@media(max-width:760px){.ke-header .ke-subjects{display:none}.ke-subject-picker{display:block;width:100%;min-height:42px;margin:5px 0 10px;padding:8px 35px 8px 12px;border:1px solid #dce5dd;border-radius:7px;background:#f4f8f2;color:#174b3b;font:600 15px StudySans,StudyHindi,sans-serif;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#174b3b 50%),linear-gradient(135deg,#174b3b 50%,transparent 50%);background-position:calc(100% - 18px) 18px,calc(100% - 13px) 18px;background-size:5px 5px;background-repeat:no-repeat}}

/* Course overview */
.topbar .ke-account-link {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 9px;
  background: #174b3b;
  color: #fff;
  font: 700 .95rem/1.4 StudySans, StudyHindi, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.topbar .ke-account-link:hover { background: #103b2d; }
.topbar .ke-account-link:focus-visible { outline: 3px solid #aa7629; outline-offset: 3px; }
@media (max-width: 600px) {
  .topbar[data-course-page="index.html"]:has(.ke-account-link), .ke-course header.ke-header.topbar:has(.ke-account-link) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 9px;
    height: auto;
    padding: 9px 14px;
  }
  .topbar .top-center { display: none; }
  .topbar .brand { grid-area: 1 / 1; }
  .topbar .ke-account-link { grid-area: 1 / 2; justify-self: end; }
  .topbar .top-actions { grid-area: 2 / 2; justify-self: end; }
  .topbar .ke-subject-picker { grid-area: 2 / 1; min-width: 0; margin-block: 0; }
}
.ke-header.topbar .top-center { color: #54675a; font-size: .875rem; }
.ke-header.topbar .top-actions .language { margin: 0; }
.ke-landing .ke-intro {
  background: #eaf2eb;
  border: 1px solid #d7e5d9;
  border-radius: 16px;
  padding: clamp(24px, 5vw, 60px);
}
.ke-landing .ke-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.2;
  color: #173e30;
}
.ke-intro p { max-width: 65ch; font-size: clamp(16px, 2vw, 20px); margin: 0; }
.ke-intro p + p { margin-top: 12px; }
.ke-intro .ke-exam-notice { text-decoration: underline; }
.ke-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ke-subject-section, .ke-course-guide { margin-block: 32px; }
.ke-subject-section { margin-bottom: 20px; }
.ke-landing :is(h2,h3) { color: #223e33; margin-block: 0 10px; }
.ke-landing .subjectgrid .subject { min-width: 0; display: flex; flex-direction: column; }
.ke-landing .subject p { flex: 1; font-size: 1rem; }
.ke-landing .subject .cardfoot { font-size: .875rem; font-weight: 700; }
.ke-course-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ke-course-guide-grid article, .ke-course-status {
  background: #fff;
  border: 1px solid #dce5dd;
  border-radius: 12px;
  padding: 20px;
}
.ke-course-guide-grid p, .ke-course-status p { margin: 0; }
.ke-course-guide-grid p + p { margin-top: .75rem; }
.ke-course-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 14px;
  background: #edf6f0;
  border-color: #bbd3c3;
  color: #344f42;
}
.ke-mock-schedule {
  flex: 0 0 100%;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #bbd3c3;
}
.ke-mock-schedule p + p { margin-top: 4px; }
.ke-course-status strong { color: #174b3b; }
.ke-course-status a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #174b3b;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.ke-course-status a:is(:hover, :focus-visible) { background: #103b2d; }
.ke-course-status a:focus-visible { outline: 3px solid #174b3b; outline-offset: 3px; }
@media (max-width: 480px) {
  .ke-course-status a { width: 100%; }
}

/* Reading, visuals and end-of-unit practice */
.ke-course :is(.reader-title h1,.gk-reader h1,.ga-lesson h1,.ke-landing h1) {
  font-family: Georgia, StudyHindi, serif;
  line-height: 1.25;
}
.ke-course.hindi :is(.reader-title h1,.gk-reader h1,.ga-lesson h1,.ke-landing h1) {
  font-family: StudyHindi, Georgia, serif;
}
.ke-course :is(.ga-prose,.reading-body,.gk-reader>.reading) {
  line-height: 1.8;
  overflow-wrap: break-word;
}
.ke-course :is(.rv-figure,.ga-figure,.math-visual,.reading-body figure.pairs) {
  border: 1px solid #dce5dd;
  background: #f4f7f2;
  border-radius: 12px;
  max-width: 100%;
}
.ke-course :is(.ga-figure,.rv-figure,.math-visual,.reading-body figure.pairs) figcaption {
  color: #41594a;
  font: 1rem/1.65 StudySans, StudyHindi, Arial, sans-serif;
  padding: 12px 16px;
}
.ke-course :is(.ga-figure,.rv-figure) img { object-fit: contain; }
.ke-course :is(.visual-toolbar button,.ga-figure-head button,.visual-expand,.gk-reader [data-gzoom]) {
  min-height: 44px;
  border: 1px solid #c5d7c8;
  border-radius: 8px;
  color: #174b3b;
  background: #fff;
  font: 650 .875rem/1.4 StudySans, StudyHindi, Arial, sans-serif;
  padding: 8px 12px;
}
.ke-course .ke-practice-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: space-between;
  align-items: center;
  background: #edf4ed;
  border: 1px solid #d2e1d4;
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  margin-block: 20px;
}
.ke-course .ke-practice-entry h2 { font: 700 1.25rem/1.4 StudySans, StudyHindi, Arial, sans-serif; margin: 0 0 4px; }
.ke-course .ke-practice-entry p { margin: 0; font-size: 1rem; color: #41594a; }

/* Shared MCQ typography, option markers and answer feedback */
.ke-course :is(.question-card .stem,.gk-question h1,.ga-test .ga-stem) {
  font: 650 clamp(18px, 2vw, 22px)/1.55 StudySans, StudyHindi, Arial, sans-serif;
  color: #223e33;
  margin-block: 12px 18px;
}
.ke-course :is(.options,.gk-options,.ga-options) { display: grid; gap: 10px; margin-block: 14px 18px; }
.ke-course :is(.option,.gk-option,.ga-option) {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  overflow-wrap: anywhere;
}
.ke-course :is(.option .letter,.gk-option b,.ga-option .ga-letter) {
  display: inline-grid;
  place-items: center;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid #cddacd;
  border-radius: 6px;
  background: #eef4eb;
  color: #174b3b;
  font: 700 .875rem/1 StudySans, Arial, sans-serif;
}
.ke-course :is(.option,.gk-option,.ga-option)[aria-pressed=true] :is(.letter,b:first-child,.ga-letter) {
  border-color: #174b3b;
  background: #174b3b;
  color: #fff;
}
.ke-course :is(.option .state,.gk-option-status,.ga-option small) { font-size: .8125rem; line-height: 1.4; }
.ke-course :is(.option .state,.gk-option-status) { margin-inline-start: auto; text-align: end; }
.ke-course :is(.feedback,.gk-feedback,.ga-feedback) {
  border: 1px solid #d2e1d4;
  background: #f1f6ef;
  color: #263e32;
  margin-block: 16px;
}
.ke-course :is(.gk-question .gk-actions,.question-card .reader-bottom,.ga-test .ga-reader-nav) {
  border-top: 1px solid #dce5dd;
  padding-top: 14px;
  margin-top: 20px;
}
@media(max-width:760px){
  .ke-course-guide-grid { grid-template-columns: 1fr; }
  .ke-header.topbar .top-center { display: none; }
}
@media(max-width:460px){
  .ke-landing .subjectgrid { grid-template-columns: 1fr; }
  .ke-course .ke-practice-entry :is(a,button) { width: 100%; text-align: center; justify-content: center; }
  .ke-course :is(.option,.gk-option,.ga-option) { flex-wrap: wrap; }
  .ke-course :is(.option .opt-text,.gk-option-copy,.ga-option > span:nth-child(2)) { flex: 1 1 calc(100% - 3rem); min-width: 0; }
  .ke-course :is(.option .state,.gk-option-status) { max-width: none; text-align: start; margin-inline: 2.5rem auto; }
  .ke-course :is(.option .state:empty,.gk-option-status:empty) { display: none; }
}
.ke-course :is(.option,.gk-option,.ga-option):focus-visible {
  outline: 3px solid #b77b32;
  outline-offset: 3px;
}

/* Subject index on the course overview */
.ke-landing .subjectgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin-block: 22px 0;
}
.ke-landing .ke-subject-card {
  --subject-ink: #285640;
  --subject-paper: #edf6f0;
  --subject-edge: #c2d7c9;
  --subject-mark: #52816a;
  padding: 0;
  min-height: 0;
  border: 1px solid var(--subject-edge);
  border-radius: 18px;
  background: linear-gradient(125deg, var(--subject-paper), #fff 93%);
  color: var(--subject-ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ke-landing .ke-subject-english {
  --subject-ink: #784524;
  --subject-paper: #fbf2e8;
  --subject-edge: #dfcebb;
  --subject-mark: #ae7652;
}
.ke-landing .ke-subject-quant {
  --subject-ink: #275479;
  --subject-paper: #edf4fa;
  --subject-edge: #c2d5e2;
  --subject-mark: #6286a4;
}
.ke-landing .ke-subject-agriculture {
  --subject-ink: #476026;
  --subject-paper: #f2f6e8;
  --subject-edge: #ced8b7;
  --subject-mark: #788e4d;
}
.ke-landing .ke-subject-card:hover {
  border-color: var(--subject-mark);
  box-shadow: 0 4px 14px #1b37270e;
  transform: none;
}
.ke-landing .ke-subject-card:focus-visible {
  outline: 3px solid var(--subject-ink);
  outline-offset: 3px;
}
.ke-subject-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.8vw, 36px);
}
.ke-subject-copy::before {
  content: "";
  width: 36px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--subject-mark);
}
.ke-landing .ke-subject-copy h3 {
  margin: 0 0 9px;
  color: var(--subject-ink);
  font: 600 clamp(23px, 2.25vw, 31px)/1.3 Georgia, StudyHindi, serif;
  overflow-wrap: break-word;
}
.hindi .ke-landing .ke-subject-copy h3 {
  font-family: StudyHindi, Georgia, serif;
  line-height: 1.5;
}
.ke-landing .ke-subject-copy p {
  flex: none;
  margin: 0 0 20px;
  line-height: 1.55;
  color: #435448;
}
.ke-landing .ke-subject-copy .cardfoot {
  margin-top: auto;
  padding: 6px 15px;
  border: 1px solid #174b3b;
  border-radius: 999px;
  background: #174b3b;
  color: #fff;
  line-height: 1.55;
}
.ke-landing .ke-subject-card:is(:hover,:focus-visible) .cardfoot {
  background: #103b2d;
  border-color: #103b2d;
}
.ke-subject-card:is(:hover,:focus-visible) .cardfoot span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .ke-landing .subjectgrid { grid-template-columns: 1fr; gap: 16px; }
  .ke-subject-copy { padding: 20px 22px; }
  .ke-subject-copy::before { margin-bottom: 12px; }
  .ke-landing .ke-subject-copy p { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ke-landing .ke-subject-card { transition: none; }
}

.ke-access-card {
  margin-block: 24px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #cbd9cc;
  background: #f0f6ef;
  border-radius: 12px;
}
.ke-access-card h2 { margin: 0; color: #223e33; }
.ke-access-card p { max-width: 62ch; }
.ke-free-note { margin: 0 0 14px; color: #41594a; }
.ke-access-label {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f0eee8;
  color: #5b4d38;
  font: 650 .875rem/1.5 StudySans, StudyHindi, sans-serif;
}
.ke-access-label.is-free { background: #e4f0e5; color: #24523d; }

.ke-free-note { margin: 0 0 14px; color: #41594a; }
.ke-access-label {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f0eee8;
  color: #5b4d38;
  font: 650 .875rem/1.5 StudySans, StudyHindi, sans-serif;
}
.ke-access-label.is-free { background: #e4f0e5; color: #24523d; }

.ke-billing { max-width: 760px; }
.ke-billing-brand { font-weight: 750; color: #174b3b; }
.ke-billing-mode { font-weight: 700; color: #536b5b; }
.ke-billing h1 { margin: 6px 0 10px; }
.ke-billing-price { font-weight: 700; }
.ke-billing-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ke-billing-actions [hidden] { display: none; }

/* Catalog layout shared by all four subjects. */
.ke-catalog-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 36px 0 18px;
}
.ke-catalog-title h2 {
  margin: 0;
  color: #223e33;
  font: 400 clamp(29px, 4vw, 38px)/1.25 Georgia, StudyHindi, serif;
}
.ke-unit-group { margin: 30px 0 42px; }
.ke-unit-group-title {
  margin: 0 0 14px;
  color: #995e20;
  font: 700 .875rem/1.5 StudySans, StudyHindi, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ke-unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}
.ke-unit-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 23px;
  border: 1px solid #d7e1d8;
  border-radius: 14px;
  background: #fff;
  color: #223e33;
  text-decoration: none;
}
.ke-unit-card:hover { border-color: #78947d; background: #f7fbf3; }
.ke-unit-card[hidden], .ke-unit-group[hidden] { display: none; }
.ke-unit-number { margin-top: 2px; color: #748569; font: 400 26px/1.35 Georgia, serif; }
.ke-unit-card h4 {
  margin: 0 0 10px;
  color: #223e33;
  font: 400 clamp(22px, 2.8vw, 29px)/1.23 Georgia, StudyHindi, serif;
  overflow-wrap: anywhere;
}
.ke-unit-card p {
  margin: 4px 0 18px;
  color: #53685c;
  font: 400 .9375rem/1.45 StudySans, StudyHindi, sans-serif;
}
.ke-unit-card progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #dce2d6;
  color: #537a5b;
  accent-color: #537a5b;
}
.ke-unit-card progress::-webkit-progress-bar { background: #dce2d6; }
.ke-unit-card progress::-webkit-progress-value { background: #537a5b; }
.ke-unit-card progress::-moz-progress-bar { background: #537a5b; }
.ke-unit-chevron {
  width: 8px;
  height: 8px;
  border-top: 2px solid #789177;
  border-right: 2px solid #789177;
  transform: rotate(45deg);
  margin: 10px 2px 0 0;
  justify-self: end;
}
.ke-course .wrap.ke-agriculture-page { width: 100%; }
.ke-catalog-intro, .ke-catalog-ending {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #d7e1d8;
  border-radius: 14px;
  background: #fff;
  color: #223e33;
}
.ke-catalog-intro { margin: 0 0 24px; }
.ke-catalog-intro h1, .ke-catalog-ending h2 {
  margin: 0 0 12px;
  font: 400 clamp(30px, 5vw, 50px)/1.15 Georgia, StudyHindi, serif;
}
.ke-catalog-ending h2 { font-size: clamp(26px, 4vw, 34px); }
.ke-catalog-intro > p:not(.ke-unit-group-title), .ke-catalog-ending > p:not(.ke-unit-group-title) {
  max-width: 67ch;
  margin: 0;
  color: #53685c;
  font: 400 1rem/1.65 StudySans, StudyHindi, sans-serif;
}
.ke-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ke-catalog-actions .btn {
  display: inline-flex;
  align-items: center;
  background: #174b3b;
  border: 1px solid #174b3b;
  color: #fff;
  text-decoration: none;
}
.ke-catalog-actions .btn.light { background: #fff; color: #174b3b; }
.ke-catalog-footer {
  margin-top: 26px;
  padding: 16px 0;
  border-top: 1px solid #d7e1d8;
  color: #53685c;
  font: 400 .875rem/1.5 StudySans, StudyHindi, sans-serif;
}

@media (max-width: 960px) {
  .ke-unit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ke-unit-card { padding: 16px; gap: 10px; grid-template-columns: 29px minmax(0, 1fr) 12px; }
  .ke-unit-number { font-size: 22px; }
}

.ke-setup-form { display: grid; gap: 14px; max-width: 430px; }
.ke-setup-form label { display: grid; gap: 6px; font-weight: 650; }
.ke-setup-form input {
  width: 100%;
  border: 1px solid #b7cbbb;
  border-radius: 7px;
  font: inherit;
  padding: 10px 12px;
}
.ke-setup-form button { justify-self: start; }

.ke-catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 25px;
  margin: 4px 0 34px;
  border-bottom: 1px solid #d7e1d8;
}
.ke-catalog-tabs a {
  padding: 13px 0;
  border-bottom: 3px solid transparent;
  color: #53685c;
  text-decoration: none;
  font: 400 .9375rem/1.45 StudySans, StudyHindi, sans-serif;
}
.ke-catalog-tabs a[aria-current="page"] {
  border-bottom-color: #174b3b;
  color: #174b3b;
  font-weight: 700;
}
.ke-catalog-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin: 0 0 38px;
  padding: 22px 0;
  border-block: 1px solid #d7e1d8;
  color: #53685c;
  font: 400 .875rem/1.5 StudySans, StudyHindi, sans-serif;
}
.ke-catalog-stats > div { display: flex; flex-direction: column; }
.ke-catalog-stats .ke-pyq-detail { display: block; margin-top: 2px; }
.ke-catalog-stats dd {
  order: -1;
  margin: 0 0 3px;
  color: #223e33;
  font-size: clamp(22px,3vw,30px);
  font-weight: 600;
  line-height: 1.25;
}
.ke-catalog-resources {
  padding: clamp(20px,4vw,36px);
  border: 1px solid #d7e1d8;
  border-radius: 14px;
  background: #fff;
}
.ke-catalog-resources > ul { margin: 24px 0 0; padding: 0; list-style: none; }
.ke-catalog-resources > ul > li { padding: 13px 0; border-top: 1px solid #d7e1d8; }
.ke-catalog-resources li :is(h2,p) { margin: 0; }
.ke-catalog-resources li h2 { font-size: 1.18rem; }
.ke-catalog-resources li a { color: #174b3b; }
@media (max-width: 760px) {
  .ke-catalog-tabs { gap: 0 17px; margin-bottom: 24px; }
  .ke-catalog-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 12px; }
}

.ke-practice-list .ke-unit-card h2 {
  margin: 0 0 10px;
  color: #223e33;
  font: 400 clamp(22px,2.8vw,29px)/1.23 Georgia, StudyHindi, serif;
  overflow-wrap: anywhere;
}
.ke-practice-list .ke-unit-card p { margin-bottom: 0; }
.ke-practice-list .ke-catalog-intro > a { display: inline-block; margin-bottom: 12px; }

.ke-coverage-search {
  display: grid;
  gap: 6px;
  max-width: 32rem;
  margin: 0 0 20px;
  font-weight: 650;
}
.ke-coverage-search input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #b7cbbb;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}
.ke-coverage-units { display: grid; gap: 12px; }
.ke-coverage-unit {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 16px;
  padding: clamp(16px,3vw,24px);
  border: 1px solid #d7e1d8;
  border-radius: 14px;
  background: #fff;
}
.ke-coverage-unit[hidden] { display: none; }
.ke-coverage-unit h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font: 400 clamp(22px,2.8vw,29px)/1.23 Georgia, StudyHindi, serif;
}
.ke-coverage-unit p { margin: 5px 0; color: #53685c; }
.ke-coverage-unit details { margin-top: 8px; }
.ke-coverage-unit summary { cursor: pointer; color: #174b3b; }
.ke-coverage-unit ul { padding-inline-start: 20px; }
.ke-coverage-scope { margin: 0 0 18px; color: #53685c; }
.ke-coverage-scope summary { color: #174b3b; cursor: pointer; }

.ke-paper-question {
  margin: 0 0 18px;
  padding: 15px 18px;
  border: 1px solid #d7e1d8;
  border-radius: 10px;
  background: #f5f8f3;
}
.ke-paper-question p { margin: 5px 0 9px; }

/* Untimed Unit Practice is shared by all four subjects. */
.up-screen {
  --up-ink:#223e33; --up-green:#174b3b; --up-line:#dce5dd; --up-muted:#4f6759;
  width:100%; max-width:1120px; margin-inline:auto; color:var(--up-ink);
  font:16px/1.6 StudySans,StudyHindi,Arial,sans-serif;
}
.up-screen, .up-screen * {box-sizing:border-box}
.up-screen .up-heading {margin:0 0 20px}
.up-screen .up-heading > a {font-weight:700; color:var(--up-green)}
.up-screen .up-heading h1 {margin:6px 0 0; color:var(--up-ink); font:700 clamp(28px,4vw,42px)/1.2 StudySans,StudyHindi,Arial,sans-serif; letter-spacing:-.025em}
.up-screen .up-heading p {margin:5px 0 0; color:var(--up-muted)}
.up-screen .up-heading p a {color:inherit}
.up-filters {display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-bottom:18px}
.up-filters :is(label,.practice-filter,.ga-topic-picker) {margin:0}
.up-filters .practice-filter {display:flex; flex-wrap:wrap; gap:6px}
.up-layout {display:grid; grid-template-columns:minmax(0,1fr) minmax(215px,260px); align-items:start; gap:20px}
.up-card, .up-sidebar {min-width:0; margin:0; background:#fff; border:1px solid var(--up-line); border-radius:14px; padding:clamp(16px,3vw,28px)}
.up-screen .up-sidebar {padding:18px}
.up-screen .up-sidebar h2 {margin:0; color:var(--up-ink); font:700 17px/1.5 StudySans,StudyHindi,Arial,sans-serif}
.up-screen .up-sidebar p, .up-screen .up-position {margin:0 0 12px; color:var(--up-muted); font-size:14px; font-weight:650}
.up-screen .up-stem {margin:12px 0 16px; overflow-wrap:anywhere}
.up-screen .up-stem :is(h2,h3) {margin:0; color:var(--up-ink); font:650 clamp(18px,2.2vw,24px)/1.5 StudySans,StudyHindi,Arial,sans-serif; letter-spacing:normal}
.up-screen .up-meta {margin:0 0 10px; color:var(--up-muted); font-size:14px; overflow-wrap:anywhere}
.up-screen .up-meta p {margin:0 0 5px}
.up-screen .up-meta details {margin:5px 0}
.up-screen .up-meta summary, .up-working summary {cursor:pointer}
.up-screen .up-options {display:grid; gap:8px}
.up-screen button.up-option {
  width:100%; min-height:52px; display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:10px;
  border:1px solid #cbd8ce; border-radius:9px; background:white; padding:9px 12px;
  color:var(--up-ink); font:inherit; text-align:start; cursor:pointer;
}
.up-screen .up-choice {overflow-wrap:anywhere}
.up-screen .up-letter {display:grid; place-items:center; width:32px; height:32px; border-radius:6px; background:#eef3ee; font-size:14px; font-weight:750}
.up-screen button.up-option:enabled:hover, .up-screen button.up-option[aria-pressed=true] {border-color:var(--up-green); background:#e8f2ec}
.up-screen .up-option[aria-pressed=true] .up-letter {background:var(--up-green); color:white}
.up-screen button.up-option.is-correct {border-color:#397c45; background:#e8f5e9}
.up-screen button.up-option.is-wrong {border-color:#a84334; background:#fff1ed}
.up-screen button.up-option:disabled {opacity:1; cursor:default}
.up-choice-status {font-size:13px; font-weight:650}
.up-screen .is-wrong .up-letter {background:#94352a; color:white}
.up-actions, .up-footer {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px}
.up-footer {border-top:1px solid var(--up-line); padding-top:16px}
.up-screen .up-review {margin-inline-end:auto}
.up-screen .up-button, .up-screen :is(.up-number,.up-range) {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px; margin:0;
  border:1px solid #cbd8ce; border-radius:7px; background:white; color:var(--up-green);
  padding:7px 12px; font:700 14px/1.35 StudySans,StudyHindi,Arial,sans-serif; text-align:center; text-decoration:none; cursor:pointer;
}
.up-screen .up-button.is-primary {background:var(--up-green); border-color:var(--up-green); color:white}
.up-screen :is(.up-button,.up-number,.up-range):enabled:hover, .up-screen a:is(.up-button,.up-number,.up-range):hover {box-shadow:inset 0 0 0 1px currentColor}
.up-screen .up-button:disabled {opacity:.48; cursor:default}
.up-numbers {display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px}
.up-ranges {display:flex; flex-wrap:wrap; gap:5px; margin-bottom:10px}
.up-screen :is(.up-number,.up-range) {min-height:38px; padding:4px 6px}
.up-screen .up-number.is-selected {background:#eaf1fb; color:#224266}
.up-screen .up-number.is-checked {background:#e5f3e6; color:#255930}
.up-screen :is(.up-number,.up-range)[aria-current] {background:var(--up-green); color:white; border-color:var(--up-green)}
.up-screen .up-feedback {margin:14px 0 0; border:1px solid #bed9c2; border-radius:9px; background:#eef7ef; padding:14px 16px; overflow-wrap:anywhere}
.up-screen .up-feedback.is-wrong {border-color:#e5c3b7; background:#fff5ef}
.up-screen .up-feedback p {margin:7px 0 0}
.up-working {margin-top:12px; font-size:14px}
.up-working textarea {display:block; width:100%; min-height:80px; margin-top:8px; padding:8px; border:1px solid #cbd8ce; border-radius:7px; font:inherit}
@media (max-width:760px) {
  .up-layout {grid-template-columns:minmax(0,1fr); gap:12px}
  .up-screen .up-sidebar {padding:14px}
  .up-numbers {grid-template-columns:repeat(auto-fit,minmax(37px,1fr))}
}
@media (max-width:460px) {
  .up-screen button.up-option {grid-template-columns:32px minmax(0,1fr)}
  .up-choice-status {grid-column:2}
  .up-screen .up-footer .up-button {flex:1 1 90px; margin:0}
}

.course-info h2 { margin: 1.5rem 0 0.4rem; font-size: 1.3rem; }
.course-info a, .course-info-links a { text-decoration: underline; text-underline-offset: 0.2em; }
.course-info-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding: 1rem 0; }

.syllabus-topics dt { font-weight: 700; margin-top: 1rem; }
.syllabus-topics dd { margin: .25rem 0 0; max-width: 65ch; }
.study-resources li { margin-block: .55rem; }
.study-extract { padding: .25rem 0 1rem; border-top: 1px solid #cbd9cc; scroll-margin-top: 1rem; }
.study-extract details { max-width: 65ch; padding: .75rem 1rem; border: 1px solid #cbd9cc; border-radius: .5rem; background: #fff; }
.study-extract summary { cursor: pointer; font-weight: 600; }

.free-unit-start nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}
.free-unit-card { display:flex; flex-direction:column; gap:.25rem; padding:.8rem 1rem; border:1px solid #c4d3c9; border-radius:.65rem; background:#f5f9f5; color:#194737; }
.free-unit-card strong span { font-weight:500; }
.free-unit-actions { display:flex; flex-wrap:wrap; gap:.3rem .9rem; margin-top:auto; }
.course-info .free-unit-actions a { display:inline-flex; align-items:center; min-height:44px; gap:.25rem; font-weight:650; color:#194737; text-underline-offset:.18em; }
.free-unit-start a:hover,.free-unit-start a:focus-visible{outline:2px solid #28664b;outline-offset:2px}

.course-info .ke-free-jump { display:inline-flex; flex-wrap:wrap; align-items:center; gap:.35em; min-height:44px; padding:.5rem 1rem; color:white; background:#20533f; border-radius:.5rem; text-decoration:none; }
#start-free-unit { scroll-margin-top:1rem; }
.ke-access-actions { display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; }
.ke-access-actions a { display:inline-flex; align-items:center; min-height:44px; }
.ke-billing [hidden] { display:none !important; }
.ke-filter-options > summary { cursor:pointer; padding:.65rem 0; min-height:44px; }

.ke-telegram-link, .course-info .ke-telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: .55rem .9rem;
  border: 1px solid #b5cbbf;
  border-radius: .5rem;
  background: #f5f9f5;
  color: #214f3c;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  text-decoration: none;
}
.ke-telegram-link:hover { background: #e1eee5; }
.ke-telegram-link:focus-visible { outline: 2px solid #28664b; outline-offset: 2px; }
.ke-telegram-note { margin: .25rem 0 1rem; }

/* Compact first impression: zero new image or font requests. */
.ke-landing .ke-intro:has(.ke-hero-copy){display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:center;gap:clamp(18px,4vw,48px);background:#153f32;border:1px solid #153f32;color:#e7f1e8;padding:clamp(22px,4vw,48px);border-radius:20px}
.ke-course .ke-landing .ke-intro h1,.ke-landing .ke-intro h1{font-family:StudySans,StudyHindi,system-ui,sans-serif;color:#fff;font-weight:750;letter-spacing:-.035em;font-size:clamp(30px,4vw,49px);line-height:1.15;margin:.6rem 0 1rem}
.ke-hero-eyebrow,.ke-hero-summary-label{display:block;font-size:.85rem;font-weight:750;letter-spacing:.07em;color:#c1e6cb}
.ke-hero-copy .ke-hero-links{margin-top:22px}
.ke-hero-copy .ke-hero-links .btn{background:#e2b95e;color:#182b23;border:1px solid #e2b95e;font-size:1rem;padding:.8rem 1rem}
.ke-hero-copy .ke-hero-links .btn.light{background:transparent;color:white;border-color:#9db9aa}
.ke-hero-copy .ke-hero-note{font-size:.9rem;margin-top:14px;color:#cfe2d5}
.ke-hero-summary{background:#fff;border-radius:14px;padding:clamp(16px,3vw,26px);color:#1c3d30}
.ke-hero-summary-label{color:#3d7253}
.ke-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.ke-hero-stats div{border-right:1px solid #dce5dd;padding-right:6px;min-width:0}
.ke-hero-stats div:last-child{border:0}
.ke-hero-stats b{display:block;color:#174b3b;font-size:clamp(25px,3.5vw,38px);line-height:1.15;font-variant-numeric:tabular-nums}
.ke-hero-stats span{display:block;font-size:.875rem}
.ke-hero-summary p{font-size:1rem;margin-bottom:1rem}
.ke-hero-summary a{font-weight:700;text-decoration:underline;color:#174b3b}
.ke-hero-tools{display:flex;flex-wrap:wrap;gap:10px 20px;padding:14px 4px;font-size:.9rem}
.ke-hero-tools a{color:#174b3b;text-decoration:underline}
@media(max-width:760px){.ke-landing .ke-intro:has(.ke-hero-copy){grid-template-columns:1fr;gap:18px;padding:20px;border-radius:14px}.ke-hero-copy .ke-hero-links{gap:8px;display:grid;grid-template-columns:1fr}.ke-hero-copy .ke-hero-links .btn{text-align:center;justify-content:center}.ke-hero-stats{margin:10px 0}.ke-hero-summary{padding:16px}.ke-hero-tools{gap:8px 18px}.ke-landing .ke-subject-section{margin-top:16px}}

/* Equal entry points for the two core learning experiences. */
.ke-landing .ke-intro:has(.ke-study-options){grid-template-columns:1fr;gap:20px;padding:clamp(20px,3.4vw,36px)}
.ke-landing .ke-intro:has(.ke-study-options) h1{font-size:clamp(28px,4vw,44px);margin:.4rem 0 .65rem}
.ke-landing .ke-intro:has(.ke-study-options) .ke-hero-copy>p{max-width:100%;font-size:clamp(16px,1.7vw,19px)}
.ke-landing .ke-intro:has(.ke-study-options) .ke-hero-copy>.ke-hero-note{font-size:.9rem;margin-top:8px}
.ke-study-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ke-study-option{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:#fff;color:#254238;border-radius:12px;padding:clamp(16px,2.5vw,24px)}
.ke-option-label{font-size:.85rem;font-weight:800;letter-spacing:.04em;color:#246744}
.ke-landing .ke-study-option h2{color:#153f32;font-family:StudySans,StudyHindi,system-ui,sans-serif;font-size:clamp(20px,2.2vw,26px);line-height:1.25;margin:.45rem 0 .65rem}
.ke-landing .ke-study-option p{font-size:1rem;line-height:1.6;margin:0 0 12px;flex:1}
.ke-option-detail{font-size:.9rem;color:#345c47;font-weight:650;margin-bottom:14px}
.ke-landing .ke-study-option .btn{background:#e2b95e;border:1px solid #e2b95e;color:#182b23;text-align:center;font-weight:750;min-height:44px;justify-content:center;width:100%;white-space:normal}
.ke-exam-strip{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;font-size:.9rem;color:#dcebe0}
.ke-exam-strip a{color:#fff;font-weight:650;text-decoration:underline}
@media(max-width:760px){.ke-landing .ke-intro:has(.ke-study-options){padding:17px;gap:14px}.ke-study-options{grid-template-columns:1fr;gap:10px}.ke-study-option{padding:15px}.ke-landing .ke-study-option h2{font-size:21px}.ke-landing .ke-study-option p{font-size:.95rem;margin-bottom:8px}.ke-option-detail{margin-bottom:10px}.ke-exam-strip{font-size:.85rem}}
.ke-daily-callout{margin:1rem 0 .25rem;display:flex;gap:1.2rem;justify-content:space-between;align-items:center;padding:clamp(1rem,3vw,1.55rem);border:1px solid #c2d5bc;border-left:5px solid #2c6a46;border-radius:14px;background:#f4f8ee;color:#153d2d}.ke-daily-callout h2{font-size:clamp(1.25rem,3vw,1.6rem);margin:.25rem 0;color:#1b4d36}.ke-daily-callout p{margin:.25rem 0;color:#486252}.ke-daily-label{font-size:.85rem;font-weight:800;letter-spacing:.05em;color:#366349}.ke-daily-callout .btn{white-space:nowrap;flex-shrink:0}@media(max-width:600px){.ke-daily-callout{align-items:flex-start;flex-direction:column}.ke-daily-callout .btn{width:100%;text-align:center}}

.ke-daily-picker{max-width:100%;min-height:44px;padding:8px 32px 8px 12px;border:1px solid #3a6b4c;border-radius:8px;color:#174b3b;background-color:#f0f7eb;font:700 .95rem/1.4 StudySans,StudyHindi,sans-serif;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#174b3b 50%),linear-gradient(135deg,#174b3b 50%,transparent 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-size:5px 5px;background-repeat:no-repeat;cursor:pointer}.ke-daily-picker:focus-visible{outline:3px solid #aa7629;outline-offset:2px}@media(max-width:600px){.ke-header .ke-daily-picker{width:100%;min-width:0;margin-top:2px}.topbar:has(.ke-account-link) .ke-daily-picker{grid-area:3 / 1 / 4 / 3}}

/* Price presentation only, no change to checkout amount or access. */
.ke-launch-price{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;margin:0 0 1rem;padding:1rem;background:#f1f7ef;border:1px solid #c7dcc7;border-radius:12px}
.ke-launch-badge{background:#e6c56e;color:#21392a;border-radius:6px;padding:.3rem .65rem;font-size:.9rem;font-weight:750}
.ke-launch-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:.65rem;color:#174b3b}
.ke-launch-amount strong{font-size:clamp(1.85rem,5vw,2.5rem);line-height:1.2;font-weight:800}
