/* Section renderer styles (Phase 101A, F-058, ADR-0015) — every class the six
 * app/js/sections/*.js renderers put on the DOM they build inside a host
 * page's container. Linked by each of the six thin task pages after ui.css
 * and report.css (both DO NOT TOUCH), which already supply the shared tokens
 * (--paper, --panel, --ink, --line, --muted, --serif, --sans) and classes
 * (.sheet, .toolbar, .button, .brand, .eyebrow, .lead, .small, .primary,
 * .notice, .option) this file builds on. Moved here, unchanged, from each
 * page's own former <style> block or ad hoc inline style attribute — a
 * renderer never sets an inline style itself. Each
 * page's own remaining done/summary-view styles (a page-owned concern, never
 * the renderer's) stay in that page's own <style> block.
 */

/* ---- pattern-comparison (speed): practice and timed-block views ---- */
.pc-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 22px 0; }
.pc-pattern { background: #fffef9; border: 1px solid var(--line); border-radius: 4px; padding: 6px; line-height: 0; }
.pc-pattern svg { display: block; width: 180px; height: 180px; }
.pc-buttons { display: flex; gap: 14px; justify-content: center; margin: 18px 0; }
.pc-buttons button { min-width: 130px; font-size: 1.05rem; letter-spacing: 1.5px; }

/* ---- symmetry-span: judge/remember/recall figures ---- */
.sym-figure { margin: 16px 0; display: flex; justify-content: center; }
.sym-figure svg { max-width: 100%; height: auto; }
.sym-judge-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* The remember and recall steps' controls and notes sit on the same centre line as their grid. */
.sym-actions { text-align: center; }
.sym-continue { margin-top: 10px; }
.sym-recall-grid { display: grid; grid-template-columns: repeat(4, 56px); gap: 6px; }
.sym-recall-cell {
    width: 56px; height: 56px; border: 1px solid #c3bcab; border-radius: 4px;
    background: #f2ede6; color: #fff; font-weight: 700; cursor: default;
}
.sym-recall-cell.is-interactive { cursor: pointer; }
.sym-recall-cell.is-highlighted { background: #3c5a9c; }
.sym-recall-cell.is-marked { background: #c8451f; }

/* ---- lexical-decision: the word display and its two buttons ---- */
.lex-stage { display: flex; justify-content: center; align-items: center; margin: 34px 0; min-height: 120px; }
.lex-string { font-family: var(--serif); font-size: 2.6rem; letter-spacing: 0.02em; text-align: center; }
.lex-prompt { text-align: center; }
.lex-buttons { display: flex; gap: 14px; justify-content: center; margin: 10px 0 18px; }
.lex-buttons button { min-width: 120px; font-size: 1.05rem; }

/* ---- figural-recognition: study/retention/test figures ---- */
.recognition-stage { display: flex; justify-content: center; align-items: center; margin: 18px 0; min-height: 200px; }
.recognition-stage svg { width: 200px; height: 200px; }
.recognition-remember, .recognition-retention, .recognition-prompt { text-align: center; }
.recognition-test-stage { display: flex; gap: 22px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.recognition-test-stage button.option { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; }
.recognition-test-stage button.option svg { width: 160px; height: 160px; }

/* ---- visual-arrays: the study/probe array and its two buttons ---- */
.arrays-stage { display: flex; justify-content: center; align-items: center; margin: 18px 0; min-height: 300px; }
.arrays-stage svg { width: 100%; max-width: 380px; height: auto; }
.arrays-question { text-align: center; }
.arrays-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }

/* ---- reflection: the scenario and its four options ---- */
.refl-stage { margin: 22px 0; }
.refl-text { font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; }
.refl-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.refl-options button { text-align: left; }
