/* ═══════════════════════════════════════════════════════════════════════════
   CHILD PATHSHALA — TEACHER RESOURCE HUB DESIGN SYSTEM (/teachers)
   Modern, High-Contrast, Authoritative Educational Command Center
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --th-emerald: #059669;
  --th-emerald-dark: #047857;
  --th-emerald-light: #ecfdf5;
  --th-emerald-subtle: #d1fae5;
  --th-indigo: #4f46e5;
  --th-indigo-dark: #3730a3;
  --th-indigo-light: #eef2ff;
  --th-amber: #f59e0b;
  --th-amber-light: #fef3c7;
  --th-slate-50: #f8fafc;
  --th-slate-100: #f1f5f9;
  --th-slate-200: #e2e8f0;
  --th-slate-300: #cbd5e1;
  --th-slate-400: #94a3b8;
  --th-slate-600: #475569;
  --th-slate-700: #334155;
  --th-slate-800: #1e293b;
  --th-slate-900: #0f172a;
  --th-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --th-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --th-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --th-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(15, 23, 42, 0.04);
  --th-shadow-hover: 0 18px 36px -4px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(5, 150, 105, 0.16);
}

.teacher-hub-root {
  font-family: inherit;
  color: var(--th-slate-900);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* REVEAL SAFEGUARD */
.reveal, .reveal.in {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* SECTION FOUNDATIONS */
.th-sec {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: 130px;
}
.th-sec-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.th-sec-header.flex-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  max-width: 100%;
  margin-bottom: 2.5rem;
}
.th-link-bold {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--th-emerald-dark);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.th-link-bold:hover {
  text-decoration: underline;
  gap: 0.6rem;
}

/* PILL BADGES WITH COLOR MODIFIERS */
.th-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--th-emerald-light);
  color: var(--th-emerald-dark);
  border: 1px solid rgba(5, 150, 105, 0.25);
  margin-bottom: 0.85rem;
}
.th-pill-badge.purple {
  background: #f3e8ff;
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}
.th-pill-badge.blue {
  background: #e0f2fe;
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}
.th-pill-badge.green {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(5, 150, 105, 0.25);
}
.th-pill-badge.yellow {
  background: #fef3c7;
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.25);
}
.th-pill-badge.teal {
  background: #ccfbf1;
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.25);
}

.th-sec-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 850;
  line-height: 1.22;
  color: var(--th-slate-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}
.th-sec-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--th-slate-600);
  margin: 0;
}

/* BUTTONS */
.btn-th-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.22s ease;
}
.btn-th-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  color: #ffffff !important;
}
.btn-th-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: #ffffff;
  color: var(--th-slate-800) !important;
  border: 1.5px solid var(--th-slate-200);
  text-decoration: none;
  transition: all 0.22s ease;
}
.btn-th-secondary:hover {
  background: var(--th-slate-50);
  border-color: var(--th-emerald);
  color: var(--th-emerald-dark) !important;
  transform: translateY(-2px);
}
.btn-th-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--th-emerald-dark) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-th-ghost:hover {
  background: var(--th-emerald-light);
}

/* ══════════════ 01 · HERO SECTION ══════════════ */
.th-hero-sec {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(236, 253, 245, 0.85) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 90% 80%, rgba(238, 242, 255, 0.75) 0%, rgba(255, 255, 255, 0) 50%),
              #ffffff;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--th-slate-200);
  overflow: hidden;
}
.th-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.th-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--th-emerald-dark);
  background: var(--th-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.th-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}
.th-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--th-slate-900);
  margin-bottom: 1.25rem;
}
.th-grad-text {
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.th-hero-lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--th-slate-600);
  margin-bottom: 2rem;
  max-width: 620px;
}
.th-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.th-stats-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--th-slate-200);
}
.th-stat-item {
  display: flex;
  flex-direction: column;
}
.th-stat-item strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--th-slate-900);
  line-height: 1.2;
}
.th-stat-item span {
  font-size: 0.8rem;
  color: var(--th-slate-600);
}
.th-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--th-slate-200);
}

/* HERO VISUAL COLLAGE */
.th-hero-visual {
  position: relative;
}
.th-preview-collage {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 380px;
  margin: 0 auto;
}
.th-visual-card {
  position: absolute;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid var(--th-slate-200);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.th-vc-main {
  width: 310px;
  top: 20px;
  left: 10px;
  z-index: 2;
  padding: 1.25rem;
  transform: rotate(-1.5deg);
}
.th-vc-main:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 4;
}
.th-vc-sub {
  width: 250px;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  padding: 1.1rem;
  transform: rotate(2.5deg);
  background: #ffffff;
}
.th-vc-sub:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 5;
}
.th-vc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--th-slate-100);
}
.th-vc-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
}
.th-vc-pill.green {
  background: #ecfdf5;
  color: #047857;
}
.th-vc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}
.th-vc-timer {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4f46e5;
}
.th-mock-worksheet {
  display: flex;
  flex-direction: column;
}
.th-mw-title {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.th-mw-line {
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
}
.th-mw-line.w-60 { width: 60%; }
.th-mw-line.w-30 { width: 30%; }
.th-mw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.th-mw-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
}
.th-mw-box span {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}
.th-mw-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  padding-top: 0.5rem;
  border-top: 1px dashed #e2e8f0;
}
.th-station-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.th-st-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.th-st-row.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.th-st-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}
.th-st-row strong {
  display: block;
  font-size: 0.78rem;
  color: #0f172a;
  line-height: 1.1;
}
.th-st-row small {
  font-size: 0.68rem;
  color: #64748b;
}

/* FLOATING BADGES */
.th-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.6rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  z-index: 6;
  animation: thFloat 3.5s ease-in-out infinite alternate;
}
.th-fb-top {
  top: 0;
  right: 15px;
}
.th-fb-bottom {
  bottom: 0;
  left: 20px;
  animation-delay: -1.75s;
}
.th-fb-icon {
  font-size: 1.25rem;
}
.th-float-badge strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.th-float-badge small {
  font-size: 0.68rem;
  color: #64748b;
}
@keyframes thFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ══════════════ 02 · QUICK SEARCH ══════════════ */
.th-search-sec {
  background: #ffffff;
  padding: 2.5rem 0;
  margin-top: -1.5rem;
  position: relative;
  z-index: 5;
}
.th-search-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--th-slate-200);
  padding: 2rem 2.25rem;
}
.th-search-head {
  margin-bottom: 1.5rem;
  text-align: center;
}
.th-search-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.35rem;
}
.th-search-head p {
  font-size: 0.95rem;
  color: var(--th-slate-600);
  margin: 0;
}
.th-search-form {
  margin-bottom: 1.25rem;
}
.th-search-row-main {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.th-input-wrap {
  position: relative;
  flex: 1;
}
.th-input-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 2;
}
.th-search-input {
  width: 100%;
  height: 52px;
  padding: 0 1.25rem 0 3.4rem !important;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--th-slate-200);
  background: var(--th-slate-50);
  color: var(--th-slate-900);
  transition: all 0.2s ease;
}
.th-search-input:focus {
  background: #ffffff;
  border-color: var(--th-emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
  outline: none;
}
.th-search-btn {
  height: 52px;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.th-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.th-filters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.th-filter-col {
  display: flex;
  flex-direction: column;
}
.th-filter-col label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--th-slate-600);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}
.th-filter-col select {
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--th-slate-200) !important;
  padding: 0 2.2rem 0 1rem !important;
  font-size: 0.95rem !important;
  color: var(--th-slate-800) !important;
  background-color: #ffffff !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
  cursor: pointer !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.th-filter-col select:focus {
  border-color: var(--th-emerald) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
  outline: none !important;
}
.th-popular-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--th-slate-100);
}
.th-tag-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-slate-600);
}
.th-tag-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: var(--th-slate-100);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.th-tag-pill:hover {
  background: var(--th-emerald-light);
  color: var(--th-emerald-dark);
}

/* ══════════════ 03 · TEACHER TOOLS DASHBOARD ══════════════ */
.th-tools-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
  border-bottom: 1px solid var(--th-slate-200);
}
.th-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.th-tool-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--th-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.th-tool-card:hover {
  transform: translateY(-6px);
  border-color: var(--th-emerald);
  box-shadow: var(--th-shadow-hover);
}
.th-tool-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.th-tool-ico {
  font-size: 2rem;
}
.th-tool-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  letter-spacing: 0.05em;
}
.th-tool-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.25rem;
}
.th-tool-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.th-tool-desc {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--th-slate-600);
  margin-bottom: 1.25rem;
  flex: 1;
}
.th-tool-inputs {
  background: var(--th-slate-50);
  border: 1px solid var(--th-slate-200);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 1.5rem;
}
.th-tool-inputs strong {
  color: #0f172a;
}
.th-tool-foot {
  margin-top: auto;
}
.btn-th-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--th-emerald-dark) !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-th-card:hover {
  text-decoration: underline;
  gap: 0.6rem;
}

/* ══════════════ 04 · POPULAR RESOURCES ══════════════ */
.th-popular-sec {
  background: #ffffff;
}
.th-popular-sec .cards {
  margin-bottom: 2.5rem;
}

/* ══════════════ 05 · BROWSE BY GRADE ══════════════ */
.th-grades-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-grades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.th-grade-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  transition: all 0.25s ease;
}
.th-grade-card:hover {
  border-color: var(--th-emerald);
  transform: translateY(-4px);
  box-shadow: var(--th-shadow-md);
}
.th-grade-card.highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #10b981;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  gap: 1.5rem;
}
.th-grade-card.highlight .th-gc-all-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.th-grade-card.highlight .th-gc-top {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.th-grade-card.highlight .th-gc-all-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--th-slate-900);
}
.th-grade-card.highlight .th-gc-all-text .th-gc-desc {
  margin: 0;
  max-width: 650px;
  color: var(--th-slate-600);
}
.th-grade-card.highlight .th-gc-foot {
  margin-top: 0;
  white-space: nowrap;
}
.th-gc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.th-gc-icon {
  font-size: 1.75rem;
}
.th-gc-age {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}
.th-grade-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.25rem;
}
.th-gc-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  margin-bottom: 0.5rem;
}
.th-gc-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--th-slate-600);
  margin-bottom: 1rem;
  flex: 1;
}
.th-gc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-indigo);
  padding-top: 0.65rem;
  border-top: 1px solid var(--th-slate-100);
}
.th-gc-count {
  color: #64748b;
  font-size: 0.75rem;
}

/* ══════════════ 06 · BROWSE BY SUBJECT ══════════════ */
.th-subjects-sec {
  background: #ffffff;
}
.th-subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.th-subj-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--th-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.th-subj-card:hover {
  border-color: var(--th-emerald);
  transform: translateY(-4px);
  box-shadow: var(--th-shadow-md);
}
.th-sc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.th-subj-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.5rem;
}
.th-subj-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 1.25rem;
}
.th-sc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.th-sc-list li a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--th-slate-700);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.th-sc-list li a:hover {
  color: var(--th-emerald);
}
.th-sc-list li a::before {
  content: "•";
  color: var(--th-emerald);
  font-weight: 900;
}
.th-sc-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.th-sc-btn:hover {
  text-decoration: underline;
}

/* ══════════════ 07 · SPOTLIGHT: AI WORKSHEET GENERATOR ══════════════ */
.th-spotlight-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-spotlight-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--th-shadow-lg);
}
.th-spotlight-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.th-sl-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--th-slate-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.th-sl-copy p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--th-slate-600);
  margin-bottom: 1.75rem;
}
.th-sl-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.th-sl-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.th-sl-chk {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.th-sl-point strong {
  display: block;
  font-size: 0.95rem;
  color: var(--th-slate-900);
  margin-bottom: 0.15rem;
}
.th-sl-point p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--th-slate-600);
  margin: 0;
}
.th-sl-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* INTERACTIVE MOCK WORKBENCH */
.th-interactive-mock {
  background: var(--th-slate-900);
  border-radius: 18px;
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.th-im-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}
.th-im-dots {
  display: flex;
  gap: 6px;
}
.th-im-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
}
.th-im-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a7f3d0;
}
.th-im-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.th-im-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}
.th-im-row label {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
}
.th-im-chip {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}
.th-im-chip.green {
  color: #a7f3d0;
}
.th-im-preview {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.15rem;
  color: var(--th-slate-900);
}
.th-imp-paper {
  display: flex;
  flex-direction: column;
}
.th-imp-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #cbd5e1;
  margin-bottom: 0.65rem;
}
.th-imp-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
}
.th-imp-problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.th-imp-stamp {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--th-emerald-dark);
  margin-top: 0.65rem;
  text-align: right;
}

/* ══════════════ 08 · HOMEWORK PACKET BANNER ══════════════ */
.th-packet-sec {
  background: #ffffff;
}
.th-packet-banner {
  background: #f8fafc;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--th-shadow-md);
}
.th-pb-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.th-pb-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--th-slate-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.th-pb-copy p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--th-slate-600);
  margin-bottom: 1.75rem;
}
.th-pb-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.th-pb-checklist li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--th-slate-700);
}
.th-pb-checklist li strong {
  color: var(--th-slate-900);
}
.th-pb-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.th-packet-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.th-ps-layer {
  border-radius: 16px;
}
.th-ps-layer.s3 {
  position: absolute;
  top: -16px;
  left: 14px;
  right: 14px;
  height: 100%;
  background: #e2e8f0;
  border: 1.5px solid #cbd5e1;
  z-index: 1;
}
.th-ps-layer.s2 {
  position: absolute;
  top: -8px;
  left: 7px;
  right: 7px;
  height: 100%;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  z-index: 2;
}
.th-ps-layer.s1 {
  position: relative;
  z-index: 3;
}
.th-ps-cover {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-300);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--th-shadow-lg);
}
.th-ps-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #3730a3;
  background: #e0e7ff;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.th-ps-cover h4 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
}
.th-ps-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.th-ps-fields div {
  font-size: 0.75rem;
  color: #64748b;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.25rem;
}
.th-ps-contents {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.th-ps-pill {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--th-emerald-dark);
  text-align: right;
}

/* ══════════════ 09 · DIFFERENTIATED INSTRUCTION ══════════════ */
.th-diff-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.th-diff-card {
  border-radius: 18px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  border: 1.5px solid var(--th-slate-200);
  background: #ffffff;
  transition: all 0.3s ease;
}
.th-diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--th-shadow-hover);
}
.th-diff-card.tier-support {
  border-top: 5px solid #0284c7;
}
.th-diff-card.tier-onlevel {
  border-top: 5px solid #059669;
}
.th-diff-card.tier-challenge {
  border-top: 5px solid #7c3aed;
}
.th-dc-header {
  margin-bottom: 1rem;
}
.th-dc-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.tier-support .th-dc-badge {
  color: #0284c7;
  background: #e0f2fe;
}
.tier-onlevel .th-dc-badge {
  color: #059669;
  background: #ecfdf5;
}
.tier-challenge .th-dc-badge {
  color: #7c3aed;
  background: #f3e8ff;
}
.th-diff-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.65rem;
}
.th-dc-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--th-slate-600);
  margin-bottom: 1.5rem;
}
.th-dc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.th-dc-features li {
  font-size: 0.88rem;
  color: var(--th-slate-800);
  line-height: 1.45;
}
.th-dc-action {
  margin-top: auto;
}
.th-dc-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-decoration: none;
}
.th-dc-link:hover {
  text-decoration: underline;
}

/* ══════════════ 10 · ASSESSMENT TOOLS ══════════════ */
.th-assess-sec {
  background: #ffffff;
}
.th-assess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.th-ac-item {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  transition: all 0.25s ease;
}
.th-ac-item:hover {
  border-color: var(--th-indigo);
  transform: translateY(-4px);
  box-shadow: var(--th-shadow-md);
}
.th-ac-ico {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}
.th-ac-item h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.5rem;
}
.th-ac-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 1.25rem;
  flex: 1;
}
.th-ac-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--th-indigo);
  text-decoration: none;
}
.th-ac-btn:hover {
  text-decoration: underline;
}

/* ══════════════ 11 · WORKFLOW 3 STEPS ══════════════ */
.th-steps-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.th-step-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
}
.th-sc-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--th-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.th-step-card .th-sc-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.th-step-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.65rem;
}
.th-step-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--th-slate-600);
  margin: 0;
}

/* ══════════════ 12 · QUALITY & PREVIEWS ══════════════ */
.th-library-preview-sec {
  background: #ffffff;
}
.th-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.th-quality-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--th-shadow-sm);
  display: flex;
  flex-direction: column;
}
.th-qc-thumb {
  padding: 1.5rem;
  border-bottom: 1px solid var(--th-slate-200);
}
.th-qc-preview-mock {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: var(--th-shadow-xs);
}
.th-qc-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1d4ed8;
  display: block;
  margin-bottom: 0.35rem;
}
.th-qc-tag.red { color: #b91c1c; }
.th-qc-tag.green { color: #15803d; }
.th-qc-preview-mock h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.35rem;
}
.th-qc-preview-mock p {
  font-size: 0.8rem;
  color: var(--th-slate-600);
  margin: 0;
}
.th-qc-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.th-qc-body h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.5rem;
}
.th-qc-body p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 1rem;
  flex: 1;
}
.th-qc-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
}
.th-qc-pill.red { color: #b91c1c; background: #fef2f2; }
.th-qc-pill.green { color: #15803d; background: #f0fdf4; }
.th-qc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.th-qc-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-decoration: none;
  transition: all 0.15s ease;
}
.th-qc-link:hover {
  color: var(--th-emerald);
  transform: translateX(2px);
}

/* ══════════════ 13 · SEASONAL RESOURCES ══════════════ */
.th-seasonal-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.th-sn-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--th-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.th-sn-card:hover {
  transform: translateY(-4px);
  border-color: var(--th-emerald);
  box-shadow: var(--th-shadow-md);
}
.th-sn-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
}
.th-sn-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.4rem;
}
.th-sn-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 1.25rem;
  flex: 1;
}
.th-sn-card a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-decoration: none;
}
.th-sn-card a:hover {
  text-decoration: underline;
}

/* ══════════════ 14 · TEACHER GUIDES ══════════════ */
.th-guides-sec {
  background: #ffffff;
}
.th-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.th-guide-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  transition: all 0.25s ease;
}
.th-guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--th-emerald);
  box-shadow: var(--th-shadow-md);
}
.th-guide-card .th-gc-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--th-emerald-dark);
  margin-bottom: 0.65rem;
}
.th-guide-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--th-slate-900);
  margin-bottom: 0.65rem;
}
.th-guide-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 1.25rem;
  flex: 1;
}
.th-gc-read {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--th-emerald-dark);
  text-decoration: none;
}
.th-gc-read:hover {
  text-decoration: underline;
}

/* ══════════════ 15 · WHY CHILD PATHSHALA ══════════════ */
.th-why-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-why-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 3.5rem;
  color: #ffffff;
}
.th-why-box h2 {
  color: #ffffff !important;
}
.th-why-box .th-sec-sub {
  color: #cbd5e1 !important;
}
.th-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.th-why-item {
  display: flex;
  flex-direction: column;
}
.th-why-ico {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.th-why-item h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.th-why-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* ══════════════ 16 · TESTIMONIALS ══════════════ */
.th-testi-sec {
  background: #ffffff;
}
.th-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.th-quote-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  margin: 0;
}
.th-quote-card .th-qc-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.th-quote-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--th-slate-800);
  font-style: italic;
  margin: 0 0 1.5rem;
  flex: 1;
}
.th-quote-card footer {
  display: flex;
  flex-direction: column;
  padding-top: 0.85rem;
  border-top: 1px solid var(--th-slate-100);
}
.th-quote-card footer strong {
  font-size: 0.95rem;
  color: var(--th-slate-900);
}
.th-quote-card footer span {
  font-size: 0.8rem;
  color: var(--th-slate-600);
}

/* ══════════════ 17 · FAQ ACCORDION ══════════════ */
.th-faq-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
}
.th-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.th-faq-item {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.th-faq-item[open] {
  border-color: var(--th-emerald);
  box-shadow: var(--th-shadow-sm);
}
.th-faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--th-slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.th-faq-item summary::-webkit-details-marker {
  display: none;
}
.th-faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--th-emerald);
  transition: transform 0.2s ease;
}
.th-faq-item[open] summary::after {
  content: "−";
}
.th-faq-ans {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--th-slate-600);
}

/* ══════════════ 18 · FINAL CTA ══════════════ */
.th-final-cta-sec {
  padding: 5rem 0 6rem;
  background: #ffffff;
}
.th-final-cta-card {
  background: linear-gradient(135deg, #059669 0%, #047857 50%, #0f172a 100%);
  border-radius: 28px;
  padding: 4.5rem 3rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.35);
}
.th-final-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.th-final-cta-card h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}
.th-final-cta-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d1fae5;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.th-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.btn-th-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  background: #ffffff;
  color: #047857 !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.btn-th-cta-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}
.btn-th-cta-trans {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-th-cta-trans:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.th-final-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a7f3d0;
}

/* ══════════════ RESPONSIVE BREAKPOINTS ══════════════ */
@media (max-width: 1024px) {
  .th-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .th-hero-actions, .th-stats-strip {
    justify-content: center;
  }
  .th-preview-collage {
    margin: 0 auto;
  }
  .th-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-grades-grid,
  .th-quality-grid,
  .th-seasonal-grid,
  .th-assess-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-subjects-grid,
  .th-testi-grid,
  .th-guides-grid,
  .th-diff-grid,
  .th-steps-grid {
    grid-template-columns: 1fr;
  }
  .th-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-spotlight-grid,
  .th-pb-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .th-spotlight-card,
  .th-packet-banner {
    padding: 2.5rem 2rem;
  }
  .th-sec-header.flex-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .th-filters-row {
    grid-template-columns: 1fr;
  }
  .th-search-row-main {
    flex-direction: column;
  }
  .th-search-btn {
    width: 100%;
    justify-content: center;
  }
  .th-tools-grid,
  .th-grades-grid,
  .th-quality-grid,
  .th-seasonal-grid,
  .th-assess-grid,
  .th-why-grid {
    grid-template-columns: 1fr;
  }
  .th-sec,
  .th-hero-sec,
  .th-tools-sec,
  .th-grades-sec,
  .th-subjects-sec,
  .th-spotlight-sec,
  .th-packet-sec,
  .th-diff-sec,
  .th-assess-sec,
  .th-steps-sec,
  .th-library-preview-sec,
  .th-seasonal-sec,
  .th-guides-sec,
  .th-why-sec,
  .th-testi-sec,
  .th-faq-sec,
  .th-final-cta-sec {
    padding: 3rem 0;
  }
  .th-why-box {
    padding: 2rem 1.5rem;
  }
  .th-final-cta-card {
    padding: 3rem 1.5rem;
  }
}

/* ══════════════ TEACHER QUICK-NAV DIRECTORY ══════════════ */
.th-quick-nav-bar {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--th-slate-200);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  overflow: hidden;
}
.th-qnav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  max-width: 100%;
}
.th-qnav-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--th-slate-500);
  white-space: nowrap;
  flex-shrink: 0;
}
.th-qnav-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  flex: 1;
  min-width: 0;
}
.th-qnav-track::-webkit-scrollbar {
  display: none;
}
.th-qnav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--th-slate-700);
  background: var(--th-slate-100);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.th-qnav-item:hover {
  background: #f0fdf4;
  color: var(--th-emerald-dark);
  border-color: rgba(5, 150, 105, 0.2);
  transform: translateY(-1px);
}
.th-qnav-item.active {
  background: var(--th-emerald);
  color: #ffffff;
}

/* ══════════════ 03B · INTERACTIVE WHITEBOARD STUDIOS ══════════════ */
.th-studios-sec {
  background: #f8fafc;
  border-top: 1px solid var(--th-slate-200);
  border-bottom: 1px solid var(--th-slate-200);
}
.th-studio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.th-sf-btn {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  color: var(--th-slate-700);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.th-sf-btn:hover {
  border-color: var(--th-emerald);
  color: var(--th-emerald);
}
.th-sf-btn.active {
  background: var(--th-emerald);
  color: #ffffff;
  border-color: var(--th-emerald);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.th-studios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.th-studio-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--th-shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.th-studio-card:hover {
  transform: translateY(-4px);
  border-color: var(--th-emerald);
  box-shadow: var(--th-shadow-md);
}
.th-sc-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.th-sc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.th-sc-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.th-sc-wb-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.th-sc-grade-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}
.th-studio-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.th-studio-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--th-slate-600);
  margin-bottom: 1rem;
  flex: 1;
}
.th-sc-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.th-sc-feature-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--th-slate-700);
  background: var(--th-slate-100);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.th-studio-card .btn-studio-launch {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--th-slate-50);
  border: 1.5px solid var(--th-slate-200);
  color: var(--th-slate-800);
  transition: all 0.2s ease;
}
.th-studio-card:hover .btn-studio-launch {
  background: var(--th-emerald);
  color: #ffffff;
  border-color: var(--th-emerald);
}

/* ══════════════ 07B · COMPLETE AI WORKSHEET GENERATOR SUITE ══════════════ */
.th-ai-tools-heading {
  margin-top: 3.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
}
.th-ai-tools-heading h3 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--th-slate-900);
  margin-bottom: 0.35rem;
}
.th-ai-tools-heading p {
  font-size: 0.95rem;
  color: var(--th-slate-600);
}
.th-ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.th-ait-card {
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: var(--th-shadow-sm);
}
.th-ait-card:hover {
  transform: translateY(-3px);
  border-color: #8b5cf6;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
}
.th-ait-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.th-ait-ico {
  font-size: 1.6rem;
}
.th-ait-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.th-ait-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.th-ait-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--th-slate-600);
  margin-bottom: 0.85rem;
  flex: 1;
}
.th-ait-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.th-ait-card:hover .th-ait-action {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .th-studios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-ai-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .th-studios-grid {
    grid-template-columns: 1fr;
  }
  .th-ai-tools-grid {
    grid-template-columns: 1fr;
  }
  .th-quick-nav-bar {
    top: 56px;
  }
}

/* ══════════════ SECTION 5: TABS & DIRECTORY BANNER ══════════════ */
.th-tab-panel {
  display: none;
}
.th-tab-panel.active {
  display: block;
}
.th-studios-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #ffffff;
  border: 1.5px solid var(--th-slate-200);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  margin-top: 2.25rem;
  box-shadow: var(--th-shadow-sm);
}
.th-scb-copy h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--th-slate-900);
  margin-bottom: 0.25rem;
}
.th-scb-copy p {
  font-size: 0.88rem;
  color: var(--th-slate-600);
  margin: 0;
}
@media (max-width: 768px) {
  .th-studios-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   40-PILLAR TEACHER PROBLEM & SOLUTIONS COMMAND CENTER CSS
   ═══════════════════════════════════════════════════════════════════════════ */

.th-matrix-sec {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 5rem 0;
  position: relative;
}

.th-matrix-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.th-matrix-controls {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.th-matrix-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 1.25rem;
}

.th-matrix-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}

.th-matrix-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.th-matrix-pill-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.th-matrix-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.th-matrix-pill-btn.active {
  background: #0d4b52;
  border-color: #0d4b52;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 75, 82, 0.25);
}

.th-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.th-pillar-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.th-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(2, 132, 199, 0.12);
}

.th-pillar-card.core-pillar {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.th-pillar-card.core-pillar::before {
  content: "CORE PRIORITY";
  position: absolute;
  top: 12px;
  right: -32px;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.th-pillar-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.th-pillar-icon {
  font-size: 2rem;
  line-height: 1;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pillar-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.th-pillar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.th-pillar-problem {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}

.th-pillar-tools-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0d4b52;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.th-pillar-tools-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.th-pillar-tools-list li {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.th-pillar-tools-list li:not(.more-tools-item)::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.th-pillar-tools-list li.more-tools-item::before {
  content: none !important;
}

.th-pillar-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-pillar-badge-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.th-pillar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0d4b52;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.th-pillar-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Quick Tool Runner Modal */
.th-qtool-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.th-qtool-container {
  background: #ffffff;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.th-qtool-head {
  background: #0d4b52;
  color: #ffffff;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.th-qtool-nav {
  display: flex;
  background: #083344;
  overflow-x: auto;
  border-bottom: 2px solid #0d4b52;
  scrollbar-width: thin;
}

.th-qtool-tab-btn {
  padding: 10px 18px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.th-qtool-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.th-qtool-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: #38bdf8;
}

.th-qtool-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
  background: #f8fafc;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDUCATOR QUICK TOOLS DEDICATED PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
@media print {
  @page {
    margin: 10mm;
    size: auto;
  }

  body.printing-rules-poster > *:not(#thQuickToolModal),
  body.printing-reflection-slip > *:not(#thQuickToolModal),
  body.printing-seating-chart > *:not(#thQuickToolModal),
  body.printing-rubric-sheet > *:not(#thQuickToolModal),
  body.printing-parent-notice > *:not(#thQuickToolModal),
  body.printing-hall-pass > *:not(#thQuickToolModal),
  body.printing-student-award > *:not(#thQuickToolModal),
  body.printing-survival-kit > *:not(#thQuickToolModal) {
    display: none !important;
  }

  body[class*="printing-"] #thQuickToolModal {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  body[class*="printing-"] #thQuickToolModal .th-qtool-container {
    box-shadow: none !important;
    border: none !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  body[class*="printing-"] #thQuickToolModal .th-qtool-head,
  body[class*="printing-"] #thQuickToolModal .th-qtool-nav,
  body[class*="printing-"] #thQuickToolModal button,
  body[class*="printing-"] #thQuickToolModal select,
  body[class*="printing-"] #thQuickToolModal input,
  body[class*="printing-"] #thQuickToolModal label,
  body[class*="printing-"] #thQuickToolModal .th-matrix-pill-btn,
  body[class*="printing-"] #thQuickToolModal .no-print {
    display: none !important;
  }

  body[class*="printing-"] #thQuickToolModal .th-qtool-body {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 1. When printing Classroom Rules Poster */
  body.printing-rules-poster #rulesPosterPrint,
  body.printing-rules-poster #rulesPosterPrint * {
    visibility: visible !important;
  }
  body.printing-rules-poster #rulesPosterPrint {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 96vh !important;
    margin: 0 !important;
    padding: 2rem !important;
    box-shadow: none !important;
    border: 3.5px solid #0d4b52 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  /* 2. When printing 2-Up Reflection Slips */
  body.printing-reflection-slip #reflectionSheetPrint,
  body.printing-reflection-slip #reflectionSheetPrint * {
    visibility: visible !important;
  }
  body.printing-reflection-slip #reflectionSheetPrint {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* 3. When printing Seating Chart */
  body.printing-seating-chart #seatingGridBox,
  body.printing-seating-chart #seatingGridBox * {
    visibility: visible !important;
  }
  body.printing-seating-chart #seatingGridBox {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  /* 4. When printing Analytic Rubric */
  body.printing-rubric-sheet #rubricTableBox,
  body.printing-rubric-sheet #rubricTableBox * {
    visibility: visible !important;
  }
  body.printing-rubric-sheet #rubricTableBox {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    overflow: visible !important;
  }

  /* 5. When printing Parent Backpack Notice */
  body.printing-parent-notice #parentNoticePrint,
  body.printing-parent-notice #parentNoticePrint * {
    visibility: visible !important;
  }
  body.printing-parent-notice #parentNoticePrint {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2.5rem !important;
    box-shadow: none !important;
    border: 2px solid #0d4b52 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  /* 6. When printing 4-Up Hall Passes */
  body.printing-hall-pass #hallPassSheetPrint,
  body.printing-hall-pass #hallPassSheetPrint * {
    visibility: visible !important;
  }
  body.printing-hall-pass #hallPassSheetPrint {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  /* 7. When printing Student Award Certificate */
  body.printing-student-award #studentAwardPrint,
  body.printing-student-award #studentAwardPrint * {
    visibility: visible !important;
  }
  body.printing-student-award #studentAwardPrint {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 94vh !important;
    margin: 0 !important;
    padding: 3rem 2.5rem !important;
    box-shadow: none !important;
    border: 8px double #d97706 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  /* 8. When printing 5-in-1 Teacher Survival Kit */
  body.printing-survival-kit #survivalKitPrint,
  body.printing-survival-kit #survivalKitPrint * {
    visibility: visible !important;
  }
  body.printing-survival-kit #survivalKitPrint {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }
  body.printing-survival-kit .survival-kit-page {
    page-break-after: always !important;
    break-after: page !important;
    min-height: 94vh !important;
    box-sizing: border-box !important;
    padding: 2rem !important;
    border: 2.5px solid #0d4b52 !important;
    margin-bottom: 2rem !important;
    background: #ffffff !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS FOR QUICK TOOL RUNNER
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .th-qtool-overlay {
    padding: 0.5rem !important;
  }
  .th-qtool-container {
    border-radius: 14px !important;
    max-height: 94vh !important;
  }
  .th-qtool-head {
    padding: 1rem 1.25rem !important;
  }
  .th-qtool-body {
    padding: 1rem 1.25rem !important;
  }
  #reflectionSheetPrint {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .th-pillar-tools-list li {
    font-size: 0.8rem !important;
  }
}

