@import url('./study-art.css?v=english-only-1');
/* Practice library: ordinary document flow, native controls, and visible focus. */
.practice-hub{max-width:1200px;--muted:#625c50;background:var(--paper)}
.practice-hub [hidden]{display:none!important}
.practice-hub h4{font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.45;margin:0 0 16px}
.practice-hub :is(button,a,input,select,summary,[tabindex]):focus-visible{outline:3px solid #276956;outline-offset:4px}
.practice-tabs{display:flex;gap:8px;padding-bottom:14px;margin:0 0 28px;border-bottom:1px solid #b9a985}
.practice-tab{flex:1;min-height:52px;padding:13px 16px;background:#fff9eb;border:1px solid #a4936f;border-radius:8px;font-weight:700;font-size:14px}
.practice-tab span{display:inline-block;margin-left:5px;font-size:12px}
.practice-tab[aria-selected=true]{background:var(--ink);color:#fff8e7;border-color:var(--ink)}
#practice-tab-quiz[aria-selected=true],#practice-tab-questions[aria-selected=true]{background:#3e2e24;color:#fff8e7;border-color:#3e2e24}
.practice-tab:hover{box-shadow:inset 0 0 0 2px #a4936f}
.practice-hub [role=tabpanel]{min-width:0;scroll-margin-top:20px}
.library-intro{max-width:780px;margin-bottom:24px}
.library-intro p,.quiz-tools p{font-size:14px;color:var(--muted)}
.browser-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:end;gap:18px}
.practice-hub label{display:grid;gap:9px;font-size:13px;font-weight:700;min-width:0}
.practice-hub :is(input[type=search],select){min-height:46px;width:100%;min-width:0;max-width:100%;padding:11px 12px;background:#fffaf0;border:1px solid #96886e;border-radius:6px;color:var(--ink);font-size:16px}
.practice-hub .pill{min-height:44px;white-space:normal}
.library-status{font-size:13px;color:#4b5349;margin:18px 0 8px;min-height:22px}
.tab-help{font-size:12px;color:var(--muted);margin-bottom:16px}
.browser-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.browser-results-heading span{font-size:12px;color:var(--muted)}
.browser-question{padding:26px 28px;margin-bottom:20px;background:#fff9eb;border:1px solid #c2b18c;border-radius:10px;overflow-wrap:anywhere}
.browser-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:#655b43;margin-bottom:18px;line-height:1.6}
.browser-meta>span:first-child{font-weight:700}
.browser-choices{margin:0 0 20px;padding-left:30px;font-size:15px;line-height:1.65}
.browser-choices li{padding:6px 4px}
.browser-choices li::marker{font-weight:bold;color:#675328}
.answer-reveal{margin:12px 0 6px;font-size:14px}
.answer-reveal summary{padding:13px 16px;border:1px solid #8d8063;border-radius:6px;background:#f2e9cf;min-height:46px;width:fit-content;max-width:100%}
.answer-reveal[open] summary{background:#dce9de}
.revealed-answer{border-left:3px solid #3f7154;padding:14px 18px;background:#eaf0df;margin-top:14px;line-height:1.7}
.revealed-answer p:last-child{margin-bottom:0}
.question-guide-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.text-button{background:none;text-align:left;text-decoration:underline;text-underline-offset:4px;padding:10px 0;min-height:44px;color:#285b49;line-height:1.6}
.question-guide-links .text-button{font-size:13px}
.question-source{display:block;margin-top:10px;color:var(--muted);font-size:11px;line-height:1.6}
.batch-pager{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:28px 0}
.empty-library{padding:30px 22px;border:1px dashed #8d8063;border-radius:8px;background:#fff9eb;line-height:1.7}
.guide-search{max-width:620px}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.guide-card{padding:22px;background:#fff9eb;border:1px solid #c2b18c;border-radius:10px;display:flex;flex-direction:column}
.guide-card .eyebrow{color:#62583f;font-size:9px;margin-bottom:8px;letter-spacing:1.5px}
.guide-card h4{font-size:22px;margin-bottom:5px}
.guide-card .text-button{font:inherit;padding:5px 0}
.guide-card p{font-size:14px;color:var(--muted);margin:8px 0 20px}
.guide-card small{font-size:12px;color:var(--muted);margin-top:auto;line-height:1.6}
.study-guide{max-width:820px;margin:24px auto;background:#fff9eb;border:1px solid #c2b18c;border-radius:10px;padding:36px 42px;overflow-wrap:anywhere}
.study-guide h3{font-size:clamp(27px,4vw,38px);line-height:1.2;margin:0 0 18px}
.study-guide .guide-summary{font-size:17px;color:#555d4d}
.study-guide section{border-top:1px solid var(--line);padding-top:25px;margin-top:25px}
.study-guide h4{font-size:23px}
.study-guide ul{padding-left:22px;margin:0;line-height:1.8;font-size:16px}
.study-guide li{padding-left:5px;margin-bottom:16px}
.study-guide .guide-points li{margin-bottom:9px}
.study-guide .guide-point strong{font-weight:800;color:#2f4a3c}
.study-guide .guide-point-rule{margin-top:22px;font-weight:600}
.study-guide .guide-point-rule:first-child{margin-top:0}
.study-guide .guide-point-rule strong{color:var(--ink)}
.study-guide :is(.guide-point-example,.guide-point-examples,.guide-point-not,.guide-point-test,.guide-point-why,.guide-point-exception,.guide-point-style,.guide-point-note,.guide-point-compare,.guide-point-tip){font-size:15px;color:#3f463b}
.study-guide .guide-point-not strong{color:#8a3b2a}
.study-guide .guide-point-test strong,.study-guide .guide-point-tip strong{color:#285b49}
.study-guide :is(.guide-point-on-a-question,.guide-point-common-mistake){margin-top:20px;padding:12px 14px;background:#f6efd9;border-left:4px solid #b9a985;border-radius:0 6px 6px 0;list-style:none;margin-left:-22px}
.guide-table{max-width:100%;overflow-x:auto;margin:22px 0 6px;border:1px solid #cdbb8d;border-radius:8px;background:#fffdf6}
.guide-table table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;min-width:520px;line-height:1.5}
.guide-table caption{caption-side:top;text-align:left;font-size:15px;font-weight:700;padding:12px 15px;color:var(--ink);background:#eee7ce}
.guide-table th,.guide-table td{padding:10px 13px;border-right:1px solid #e1d6b8;border-top:1px solid #e1d6b8;vertical-align:top}
.guide-table thead th{background:#f2ecd9;color:#3c4e33;font-weight:800;font-size:13px}
.guide-table tbody th{font-weight:700;min-width:120px}
.guide-table tbody tr:nth-child(even){background:#f9f5e9}
.study-guide section .guide-table{margin-top:18px}
@media(max-width:520px){.guide-table table{min-width:440px;font-size:13px}.study-guide :is(.guide-point-on-a-question,.guide-point-common-mistake){margin-left:-18px}}
@media print{.guide-table{overflow:visible}.guide-table table{min-width:0}}
.workbook-shelves{margin-top:36px}
.workbook-shelf{padding-top:26px;border-top:1px solid #c2b18c;margin-top:26px}
.workbook-shelf h3{font-family:Georgia,'Times New Roman',serif;font-size:24px;margin:0 0 8px}
.workbook-shelf .workbook-note{max-width:780px;font-size:14px;color:var(--muted);margin:0 0 6px}
.practice-hub .sandbox-study{margin:14px 0 0}
.practice-hub .sandbox-study-reader .sandbox-study-back:first-of-type{display:none}
.guide-related>div{display:flex;gap:10px;flex-wrap:wrap}
.guide-related .pill{font-size:13px;text-align:left}
.guide-references{font-size:12px;line-height:1.8;margin:25px 0 0}
.quiz-tools{display:flex;justify-content:space-between;align-items:end;gap:25px}
.quiz-tools>div{flex:1;min-width:0}
.quiz-tools label{width:340px;max-width:100%}
.practice-hub .progress-card{overflow-wrap:anywhere}
@media(max-width:800px){
 .browser-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .browser-filters>button{justify-self:start}
 .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .practice-tab{padding:12px 8px}
 .quiz-tools{display:block}.quiz-tools label{width:100%}
 .study-guide{padding:28px}
}
@media(max-width:520px){
 .practice-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .practice-tabs .practice-tab:last-child{grid-column:1 / -1}
 .browser-filters{grid-template-columns:minmax(0,1fr);gap:14px}
 .browser-question{padding:20px 16px}
 .browser-meta{font-size:11px;gap:4px;margin-bottom:12px}
 .browser-question h4{font-size:20px}
 .guide-grid{grid-template-columns:minmax(0,1fr)}
 .guide-card{padding:20px}
 .study-guide{padding:25px 18px}
 .study-guide ul{padding-left:18px}
 .practice-hub .progress-grid{grid-template-columns:minmax(0,1fr)}
 .batch-pager{justify-content:center}
 .browser-results-heading{align-items:start}
}
/* Topic tabs have their own scroll area so long labels remain readable on phones. */
.topic-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:286px;overflow-y:auto;padding:6px;margin:0 -6px 26px;scrollbar-gutter:stable;border-block:1px solid #c2b18c}
.topic-tab{border:1px solid #a4936f;border-radius:7px;background:#fff9eb;padding:12px;text-align:left;min-height:67px;line-height:1.5}
.topic-tab span{display:block;font-size:13px;font-weight:700}
.topic-tab small{display:block;font-size:11px;margin-top:4px}
.topic-tab[aria-selected=true]{background:#e8bd59;border:2px solid var(--ink);padding:11px}
.topic-tab:hover{box-shadow:inset 0 0 0 1px var(--ink)}
.batch-pager{align-items:center}.batch-pager span{font-size:13px}
.study-guide h1{font-size:clamp(27px,4vw,38px);line-height:1.2;letter-spacing:-.6px;margin:0 0 18px}
.study-guide h2{font-size:23px;letter-spacing:0;line-height:1.4;margin:0 0 16px}
.study-guide section{scroll-margin-top:24px}
.guide-contents{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:14px;line-height:1.7}
.guide-contents a{min-height:44px;display:flex;align-items:center;color:#285b49}
.guide-reader-actions{display:flex;gap:15px;flex-wrap:wrap}
.guide-reader-actions a{display:flex;align-items:center;line-height:1.6}
.guide-page-header{display:flex;justify-content:space-between;gap:20px;padding:24px max(20px,calc((100% - 1120px)/2));background:#f9f3e3;border-bottom:1px solid #b9a985;line-height:1.6;font-size:14px}
.guide-page-header a{font-weight:bold}
.standalone-guide{min-height:80vh}
.standalone-guide>.guide-search,.study-return-note{max-width:820px;margin:0 auto 24px}
.study-return-note{font-size:14px;line-height:1.7;color:#4b5349}
.standalone-guide-list{padding-left:24px;line-height:2.5}
.skip-link{position:absolute;top:0;left:15px;transform:translateY(-150%);padding:15px;background:#fff9eb;z-index:10}
.skip-link:focus{transform:none}
.study-feedback-link{display:block;padding:14px 16px;margin:16px 0 0;background:#fff9eb;border:2px solid #285b49;border-radius:6px;color:#285b49;font-weight:bold;font-size:14px;line-height:1.6}
.study-feedback-link small{display:block;font-weight:normal}
/* Darker small text also covers the quiz's existing option letters. */
.practice-hub .section-head .eyebrow{color:#62583f}
.practice-hub .answer b{color:#675328}
@media(max-width:600px){.topic-tabs{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px}.topic-tab{padding:10px}.topic-tab[aria-selected=true]{padding:9px}.topic-tab span{font-size:12px}.guide-page-header{flex-direction:column;gap:5px}.guide-reader-actions{gap:10px}}

.pause-overlay .button{color:var(--ink)}
