/* Teachers guide (9 Nov 2026): letters home in two languages, classroom phrase tables, sources. Uses the site tokens. */
.gx-tch-tips{margin-top:18px}
.gx-tch-cards{margin-top:22px}
.gx-tch-letters .gx-tabs [role="tablist"]{margin-bottom:18px}
.gx-tch-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gx-tch-pane{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--paper);overflow:hidden}
.gx-tch-pane-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0!important;padding:10px 12px 10px 16px;border-bottom:1px solid var(--line);background:#fff;font:600 13px/1.2 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.gx-tch-pane-head .gx-ar{text-transform:none;letter-spacing:0;font-size:15px}
.gx-tch-pane-head .gx-btn{min-height:38px;padding:0 12px;font-size:14px;text-transform:none;letter-spacing:0}
.gx-tch-text{flex:1;margin:0;padding:16px 18px 18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15.5px;line-height:1.65;color:var(--ink)}
.gx-tch-text.gx-ar{font-size:17px;line-height:1.9;text-align:right}
.gx-tch-actions{margin:16px 0 0!important;display:flex;justify-content:flex-start}
[dir="rtl"] .gx-tch-actions{justify-content:flex-end}
.gx-btn.is-ghost[data-done-on]{background:var(--gx-ok-bg);color:var(--gx-ok)}
.gx-tch-table{width:100%;border-collapse:collapse;font-size:15.5px}
.gx-tch-table th{padding:10px 12px;border-bottom:2px solid var(--line-strong);text-align:start;font:600 13px/1.2 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.gx-tch-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--ink)}
.gx-tch-table td.gx-tch-ar{font-size:18px;line-height:1.7;text-align:right}
.gx-tch-table td.gx-tch-say{color:var(--muted);font-style:italic}
.gx-tch-sources{margin-top:56px;padding-top:24px;border-top:1px solid var(--line)}
.gx-tch-sources h2{margin:0 0 10px;font-size:18px!important;letter-spacing:-.01em}
.gx-tch-sources ul{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:14.5px}
.gx-tch-sources a{color:var(--muted);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}
@media (max-width:760px){
  .gx-tch-pair{grid-template-columns:minmax(0,1fr)}
  .gx-tch-table thead{display:none}
  .gx-tch-table tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 0;border-bottom:1px solid var(--line)}
  .gx-tch-table td{padding:2px 4px;border:0}
  .gx-tch-table td.gx-tch-ar{font-size:19px}
}
/* Print: only the letter the teacher chose, both languages, nothing else on the page */
@media print{
  body.gx-tch-printing *{visibility:hidden}
  body.gx-tch-printing .gx-tch-printme,body.gx-tch-printing .gx-tch-printme *{visibility:visible}
  body.gx-tch-printing .gx-tch-printme{position:absolute;left:0;top:0;width:100%}
  body.gx-tch-printing .gx-tch-printme .gx-tch-pane-head .gx-btn,body.gx-tch-printing .gx-tch-printme .gx-tch-actions{display:none}
  body.gx-tch-printing .gx-tch-printme .gx-tch-pair{grid-template-columns:1fr 1fr;gap:10mm}
  body.gx-tch-printing .gx-tch-printme .gx-tch-pane{border:0;background:none}
  body.gx-tch-printing .gx-tch-printme .gx-tch-text{font-size:11.5pt}
}
