.teach-wrap{max-width:860px;padding-bottom:72px}
.teach-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.teach-toc ol{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.teach-toc a{display:flex;flex-direction:column;gap:4px;min-height:44px;height:100%;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--card);text-decoration:none;box-shadow:var(--shadow)}
.teach-toc a:hover{border-color:var(--brand)}
.teach-toc strong{line-height:1.3}
.teach-toc span{color:var(--muted);font-size:.82rem}
.teach-how,.teach-plan,.teach-notes{border-top:1px solid var(--line);padding:32px 0}
.teach-how{margin-top:32px}
.teach-page h2{font-size:1.6rem;line-height:1.25;letter-spacing:-.035em;margin:6px 0 10px}
.teach-page h3{font-size:1.1rem;margin:26px 0 8px}
.teach-page h4{font-size:.95rem;margin:18px 0 6px}
.teach-goal{font-size:1.05rem}
.teach-loop{padding-left:1.2em}
.teach-loop li,.teach-list li{margin:6px 0}
.teach-list{padding-left:1.2em}
.teach-plan,.teach-how,.teach-notes{scroll-margin-top:90px}
.teach-list a,.teach-facts a{display:inline-block;padding:5px 0}
.teach-plan a,.teach-notes a,.teach-how a{color:var(--brand)}
.teach-toc a{color:var(--ink)}
.teach-facts{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin:18px 0 0}
.teach-facts div{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.teach-facts dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--muted)}
.teach-facts dd{margin:4px 0 0}
.teach-facts ul{margin:0;padding-left:1.1em}
.teach-table{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.teach-table table{width:100%;border-collapse:collapse}
.teach-table th,.teach-table td{padding:12px 14px;text-align:left;vertical-align:top;border-top:1px solid var(--line)}
.teach-table tr:first-child th,.teach-table tr:first-child td{border-top:0}
.teach-table th{white-space:nowrap;font-size:.85rem;color:var(--brand);width:7.5em}
.teach-worksheet{margin-top:26px;padding:18px 20px;border:1px dashed var(--line);border-radius:16px;background:var(--card)}
.teach-worksheet h3{margin-top:0}
.teach-questions{padding-left:1.3em;margin:0}
.teach-questions li{margin:10px 0}
.teach-questions p{margin:0}
.teach-lines,.teach-print-only{display:none}
.teach-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:16px 0}
.teach-actions .text-action{min-height:44px;display:inline-flex;align-items:center}
.teach-answers{margin:12px 0;border:1px solid var(--line);border-radius:14px;background:var(--card);padding:0 16px}
.teach-answers summary{cursor:pointer;font-weight:750;min-height:48px;display:flex;align-items:center}
.teach-answers[open]{padding-bottom:12px}
.teach-answers ol,.teach-answers ul{padding-left:1.2em}
.teach-answers li{margin:6px 0}
.teach-page summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:720px){.teach-toc ol,.teach-facts{grid-template-columns:1fr}.teach-table th{width:auto}.teach-table tr{display:block;border-top:1px solid var(--line)}.teach-table tr:first-child{border-top:0}.teach-table th,.teach-table td{display:block;border-top:0}.teach-table th{padding-bottom:0}}
@media print{
  .topbar,.footer,.learning-intro,.teach-toc,.teach-how,.teach-notes,.teach-actions,.teach-answers{display:none!important}
  body{background:#fff;color:#000}
  html[data-printing] .teach-plan{display:none}
  html[data-printing] .teach-plan.is-printing{display:block;border:0;padding:0}
  html[data-printing] .teach-plan.is-printing>*:not(.teach-worksheet){display:none}
  .teach-worksheet{border:0;padding:0;background:#fff;break-inside:auto}
  .teach-print-only{display:block;font-size:.85rem}
  .teach-lines{display:block;height:4.2em;background:repeating-linear-gradient(transparent 0 1.35em,#999 1.35em calc(1.35em + 1px))}
  .teach-questions li{break-inside:avoid}
  a{color:#000;text-decoration:none}
}
