/* Teaching tools follow the existing red, yellow and blue visual system. */
.quick-setup{margin-top:26px;display:grid;grid-template-columns:240px 1fr;gap:24px;border:3px solid var(--ink);background:var(--white);padding:20px}
.quick-heading .index,.report-heading .index{display:block;font-size:11px;letter-spacing:1px;color:var(--muted);margin-bottom:6px;font-weight:700}
.quick-heading h2,.report-heading h2{font-size:21px;line-height:1.5}
.quick-heading p{font-size:12px;line-height:1.8;margin-top:6px;color:var(--muted)}
.quick-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.quick-preset{border:2px solid var(--ink);padding:14px;text-align:left;min-height:92px;background:#fff4bd;font-size:18px;line-height:1.5}
.quick-preset:nth-child(2){background:#e6edff}.quick-preset:nth-child(3){background:#ffe4df}
.quick-preset strong{display:block;font-size:17px}.quick-preset span{display:block;font-size:12px;margin-top:6px}
.setup-summary{font-size:13px;line-height:1.9;background:#edf1ff;border-left:4px solid var(--blue);padding:10px 12px;margin-bottom:10px}
.settings{scroll-margin-top:20px}.checkbox-row{padding:5px 0;align-items:center;min-height:44px}.checkbox-row input{flex-shrink:0;width:20px;height:20px;margin:0 3px 0 0}.checkbox-row small{font-size:11px;color:var(--muted)}
.strategy{margin-top:12px;border-top:1px dashed var(--line);padding-top:8px;width:100%;text-align:left;grid-column:1/-1}
.strategy summary,.reflection summary{font-family:'PingFang TC','Microsoft JhengHei',sans-serif;font-size:14px;font-weight:700;cursor:pointer;min-height:44px;display:list-item;align-content:center;line-height:1.7}
.strategy p{font-size:17px;line-height:1.9;padding:6px 0}.zhuyin-grade .strategy p{font-family:'Zihi Bopomofo','PingFang TC',sans-serif;font-size:25px;line-height:1.8}
.reflection{border-top:1px solid #b9ab61;margin-top:12px;padding-top:4px}.reflection p{margin:5px 0!important}
.answer-cue{font-family:'PingFang TC',sans-serif!important;font-size:11px!important;white-space:nowrap;line-height:1.5;margin-left:auto;flex-shrink:0}
.learning-report{border:3px solid var(--ink);background:var(--white);margin:35px 0;padding:24px;text-align:left}
.report-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:14px}
.report-heading label{font-size:12px;display:block;font-weight:700;margin-bottom:5px}.report-heading select{font-size:14px;min-width:150px}
.learning-report>p{font-size:13px;line-height:1.9;color:var(--muted)}
.report-table-wrap{margin-top:16px;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.6}
.report-table th,.report-table td{padding:12px 10px;border-bottom:1px solid #c9c7bc;text-align:left;vertical-align:middle}
.report-table thead{background:var(--yellow)}.report-table th{font-weight:800}.report-table td small{display:block;font-size:11px;color:var(--muted)}
.report-table .small-btn{font-size:13px;white-space:nowrap;min-height:44px;padding:8px 12px}
.rate-track{display:inline-block;vertical-align:middle;width:64px;height:8px;background:#e7e5db;margin-right:9px}.rate-track i{display:block;background:var(--blue);height:100%}
.learning-report .next-step{background:#edf1ff;padding:12px 14px;margin-top:18px;color:var(--ink);border-left:4px solid var(--blue)}
.learning-report .report-note{font-size:12px;margin-top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mode-card.active small{color:inherit}.topbar nav button,.scope-presets button,.text-btn,.small-btn{min-height:44px}.icon-btn{min-width:44px;min-height:44px}
.reading-large.in-game .question-prompt{font-size:30px;line-height:1.8}.reading-large.in-game .question-display{font-size:34px;line-height:1.8}.reading-large.in-game .question-context{font-size:23px;line-height:1.8}
.reading-large.in-game .answer,.reading-large.in-game .teams.four .answer{font-size:28px;line-height:1.8;min-height:70px;flex-wrap:wrap}
.reading-large.in-game .question-display.glyph,.reading-large.in-game .question-display.sound{font-size:46px}
.reading-large.in-game .memory-card.face,.reading-large.in-game .memory-card.matched,.reading-large.in-game .order-line{font-size:28px;line-height:1.8}
.reading-large.in-game .reveal-bar b,.reading-large.in-game .reveal-bar p{font-size:26px;line-height:1.8}
@media(max-width:1100px){.quick-setup{grid-template-columns:1fr;gap:14px}.quick-heading p{margin-top:3px}.quick-preset strong{font-size:16px}}
@media(max-width:560px){.quick-setup{margin-top:20px;padding:16px;gap:12px}.quick-options{grid-template-columns:1fr;gap:8px}.quick-preset{display:grid;grid-template-columns:1fr auto;min-height:66px;padding:10px 12px;column-gap:10px;align-items:center}.quick-preset span{grid-column:1;grid-row:2;margin-top:2px}.quick-preset strong{grid-row:1}.report-heading{align-items:stretch;flex-direction:column;gap:12px}.learning-report{padding:15px;margin-top:25px}.report-table{font-size:12px}.report-table th,.report-table td{padding:10px 5px}.report-table .small-btn{font-size:12px;white-space:normal;padding:6px;max-width:76px}.rate-track{display:none}.report-table th:first-child{min-width:64px}.report-table td:nth-child(2){min-width:60px}.answer-cue{font-size:10px!important}.reading-large.in-game .question-prompt{font-size:27px}.reading-large.in-game .question-display{font-size:30px}.reading-large.in-game .answer,.reading-large.in-game .teams.four .answer{font-size:26px}}
@media print{.report-heading select,.report-heading label,.report-table .small-btn,.strategy,.reflection{display:none}.learning-report{break-inside:avoid;box-shadow:none;border:1px solid black;padding:15px}.report-table-wrap{overflow:visible}.rate-track{display:none}}
