/* =====================================================================
   teach.css - the teacher kit (teach.html), on top of style/home/lens
   ===================================================================== */
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.t-glance { margin-top: 18px; }
.t-glance h2 { margin: 0 0 10px; }
.t-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.t-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; color: #cfd3d8; line-height: 1.55; }
.t-steps b { color: var(--text); }
.t-min { font: 600 12px var(--mono); color: var(--gold); padding: 4px 0; }
.t-key { display: grid; gap: 12px; }
@media (min-width: 700px) { .t-key { grid-template-columns: repeat(3, 1fr); } }
.t-key .l-card { margin-top: 0; }
.t-key h3 { margin: 0 0 8px; font-size: 18px; }
.t-key p { font-size: 14px; }
.t-key .tag { margin-right: 4px; }

/* the worksheet: on screen, a white "paper" card; printed, the whole page */
.t-sheet { margin-top: 34px; padding: 22px; border-radius: 14px; background: #fff; color: #111; }
.t-sheet h2 { margin: 0 0 6px; font-size: 20px; color: #111; }
.t-sheet p { color: #111; }
.t-sheet-site { font-size: 13px; color: #444 !important; margin: 0 0 12px; }
.t-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.t-table th, .t-table td { border: 1px solid #999; padding: 8px; text-align: left; vertical-align: top; }
.t-table thead th { background: #eee; }
.t-table tbody td { height: 84px; }
.t-line { margin: 16px 0 0; font-size: 14px; }
.t-blank { height: 46px; border-bottom: 1px solid #999; margin: 0; }
.t-sheet-foot { margin-top: 16px; font-size: 11px; color: #555 !important; }
@media (max-width: 560px) { .t-table { font-size: 11px; } .t-table th, .t-table td { padding: 5px; } }

/* printing: only the worksheet, on plain paper */
@media print {
  body.teach-page { background: #fff !important; }
  body.teach-page > *:not(main), .teach-page main > *:not(.t-sheet), .menu-btn, .home-btn, .h-grain { display: none !important; }
  .teach-page main { padding: 0; max-width: none; }
  .t-sheet { margin: 0; padding: 0; border-radius: 0; }
  .t-table tbody td { height: 120px; }
  .t-blank { height: 60px; }
}

/* ---------- Myths, checked (myths.html) ---------- */
.m-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.m-toc a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 13px; }
.m-toc a:hover { border-color: var(--gold); }
.m-myth { margin-top: 16px; scroll-margin-top: 16px; }
.m-myth h2 { margin: 0 0 8px; font-size: 21px; }
.m-verdict { font-size: 17px; color: var(--text) !important; }
.m-verdict b { color: var(--gold); }
.m-myth .tag { margin-right: 4px; }
.m-src { font-size: 13px; color: var(--muted) !important; }

/* ---------- Press (press.html) ---------- */
.p-copy { font-size: 16px; color: var(--text) !important; border-left: 3px solid var(--gold); padding-left: 14px; }
.p-grid { display: grid; gap: 12px; margin: 12px 0; }
@media (min-width: 640px) { .p-grid { grid-template-columns: 1fr 1fr; } }
.p-grid figure { margin: 0; }
.p-grid img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.p-grid figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ---------- one page per question (q/*.html, made by tools/build-questions.js) ---------- */
/* on the myths page, each question is a link to its own page: keep it looking like a heading */
.m-myth h2 a.m-own { color: inherit; text-decoration: none; }
.m-myth h2 a.m-own:hover { color: var(--gold); }
.q-page .h-kicker a { color: inherit; text-decoration: none; }
.q-page .q-title { font-size: clamp(30px, 6.5vw, 48px); line-height: 1.08; }
.q-photo { margin: 16px 0 0; }
.q-photo img { display: block; width: 100%; height: auto; border-radius: 20px; }
.q-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.q-photo figcaption a { color: inherit; }
.q-more ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
