.practice-text-list-toggle{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:40px;font-size:.82rem;font-weight:600;color:#475569;cursor:pointer;user-select:none}
.practice-text-list-toggle input{width:16px;height:16px;margin:0;flex:0 0 auto;accent-color:#2563eb}
.practice-text-list-row{display:none;width:100%;margin:2px 0 8px}
#practiceSetupControls.practice-list-mode{width:100%;max-width:none}
#practiceSetupControls.practice-list-mode>.practice-config-grid>.practice-config-row{width:min(100%,960px);margin-inline:auto}
#practiceSetupControls.practice-list-mode>.practice-config-grid>.practice-text-list-row{width:100%;margin-inline:0}
#practiceSetupControls.practice-list-mode .practice-text-list-row{display:block}
#practiceSetupControls.practice-list-mode #practiceSearchRow,#practiceSetupControls.practice-list-mode #practiceTextRow,#practiceSetupControls.practice-list-mode #practiceSummaryRow{display:none!important}
.practice-text-list-panel{width:100%;box-sizing:border-box;border:1px solid #dbe3ef;border-radius:12px;background:#fff;padding:10px;min-height:56px}
.practice-text-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:8px;width:100%;min-width:0}
.practice-text-list-item{appearance:none;border:1px solid #d6deea;border-radius:9px;background:#f8fafc;color:#1f2937;min-width:0;width:100%;padding:9px 11px;text-align:left;font:inherit;font-size:.86rem;line-height:1.35;overflow-wrap:anywhere;word-break:break-word;cursor:pointer;contain:layout paint style;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}
.practice-text-list-item:hover{background:#eff6ff;border-color:#93c5fd}.practice-text-list-item:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.practice-text-list-message{padding:8px 6px;color:#64748b;font-size:.84rem;line-height:1.45}.practice-text-list-panel.error .practice-text-list-message{color:#b91c1c}.practice-text-list-panel.unsupported .practice-text-list-message{color:#7c5b17}
body.theme-dark .practice-text-list-toggle{color:#cbd5e1}body.theme-dark .practice-text-list-panel{background:#111827;border-color:#334155}body.theme-dark .practice-text-list-item{background:#172033;border-color:#3b475c;color:#e5e7eb}body.theme-dark .practice-text-list-item:hover{background:#1e3a5f;border-color:#60a5fa}body.theme-dark .practice-text-list-message{color:#94a3b8}body.theme-dark .practice-text-list-panel.error .practice-text-list-message{color:#fca5a5}body.theme-dark .practice-text-list-panel.unsupported .practice-text-list-message{color:#fcd34d}
@media(max-width:760px){.practice-text-list-toggle{font-size:.78rem;min-height:36px}.practice-text-list-panel{padding:8px}.practice-text-list-grid{grid-template-columns:repeat(auto-fill,minmax(min(180px,100%),1fr));gap:7px}.practice-text-list-item{padding:8px 9px;font-size:.82rem}}
@media(max-width:420px){.practice-text-list-grid{grid-template-columns:repeat(auto-fill,minmax(min(145px,100%),1fr));gap:6px}.practice-text-list-item{font-size:.79rem}}

/* v163.465 follow-up: result actions and dark settings selection. */
#resultsModal #btnPracticeRetry,#resultsModal #btnUserChallengeRetry,#resultsModal #btnSoloRetry{margin-right:auto}
body.theme-dark #fontSizeLanguages button[aria-pressed="true"]{background:#2563eb!important;color:#fff!important;border-color:#60a5fa!important}

#practiceSetupControls.practice-list-mode~#practiceMsg{display:none!important}
