/* Existing cards, buttons and colours are retained; only content flow changes. */
.reader-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.reader-controls .reader-count{font-weight:700}.reader-panel{min-width:0;overflow-wrap:anywhere}.reader-panel>h3:first-child{margin-top:0}.reader-panel blockquote,.mock-passage{white-space:pre-line;max-height:340px;overflow-y:auto;overflow-x:hidden;overflow-wrap:anywhere;overscroll-behavior:contain}.reader-panel .lesson-choices{gap:14px}.reader-reveal{margin:16px 0}.reader-feedback[hidden],.reader-panel[hidden]{display:none!important}.reader-jump{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.reader-jump select{width:auto;max-width:100%;min-width:150px}.protected-learning-page main{min-width:0;max-width:100%;overflow-wrap:anywhere}.protected-learning-page .footer-links a[href^="/terms.html"],.protected-learning-page .footer-links a[href^="terms.html"]{display:none}.statistics-dialog{width:min(600px,calc(100% - 24px));max-height:85dvh;overflow-y:auto;border:1px solid var(--line);border-radius:18px;padding:18px;background:var(--surface,#fff);color:var(--text,#202747)}.statistics-dialog::backdrop{background:#11182b99}.statistics-dialog #usage-choice{margin:0!important;padding:0!important;max-width:none!important}.statistics-dialog details{margin-top:18px;font-size:13px}.statistics-dialog .statistics-close{display:flex;justify-content:flex-end;margin-bottom:12px}.bexley-guide,.kent-guide,.bexley-guide section,.kent-guide section,.bexley-guide details,.kent-guide details{min-width:0;max-width:100%;box-sizing:border-box}.bexley-guide table,.kent-guide table{width:100%;table-layout:fixed}.bexley-guide th,.bexley-guide td,.kent-guide th,.kent-guide td{overflow-wrap:anywhere;word-break:normal;white-space:normal;padding:10px}.bexley-grid,.kent-grid{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))!important}.mock-options{display:grid;gap:12px;margin:20px 0}.mock-options .answer-option{width:100%;text-align:left;min-width:0}.mock-options img{max-width:100%}.mock-question img{max-width:100%;max-height:260px;background:white}.mock-question{min-width:0}.mock-status{min-height:24px}.protected-learning-page [data-print-policy],.protected-learning-page [data-print-policy]~[download]{display:none}html[data-theme="dark"] .statistics-dialog{background:#1b2539;color:#eef0ff}@media(max-width:600px){.reader-controls .button{padding:10px 13px}.bexley-guide th,.bexley-guide td,.kent-guide th,.kent-guide td{padding:8px;font-size:14px}.reader-panel blockquote,.mock-passage{max-height:270px}.bexley-guide .profile-actions,.kent-guide .profile-actions{min-width:0}.bexley-guide .button,.kent-guide .button{white-space:normal;max-width:100%;text-align:center}}@media print{body.protected-learning-page>*{display:none!important}body.protected-learning-page::before{content:"";display:block!important;color:#202747!important;background:white!important;font:16pt sans-serif;padding:30px}body.protected-learning-page{background:white!important;color:#202747!important}}

#bexley-catalog,#kent-catalog,#topic-catalog{min-width:0;grid-template-columns:minmax(0,1fr)}.reader-topic-select{display:block;width:100%;max-width:100%;min-width:0;font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--ink)}#bexley-catalog>label,#kent-catalog>label,#topic-catalog>label{min-width:0;max-width:100%}
html[data-theme="dark"] .reader-topic-select{background:#1b2539;color:#eef0ff}

/* One compact home-page cookie notice, with equally prominent choices. */
#usage-choice.cookie-notice{position:fixed;z-index:90;bottom:18px;left:50%;transform:translateX(-50%);width:min(860px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow-y:auto;margin:0;padding:18px 20px;box-shadow:0 10px 42px #25233f30;background:var(--paper,#fff);color:var(--ink,#202747)}
#usage-choice h2{font-size:17px;margin:0 0 5px}#usage-choice p{margin:5px 0;font-size:13px;line-height:1.6}#usage-choice .cookie-parent-note{font-size:11px;color:var(--muted)}#usage-choice .cookie-actions{margin-top:12px;gap:8px}#usage-choice .cookie-actions .button{font-size:12px;padding:9px 13px;min-height:40px;box-shadow:none}#usage-choice .cookie-advanced{margin-top:14px;font-size:13px}#usage-choice .cookie-advanced summary{cursor:pointer}
html[data-theme="dark"] #usage-choice.cookie-notice{background:#1b2539;color:#eef0ff}@media(max-width:600px){#usage-choice.cookie-notice{bottom:10px;padding:14px 16px}#usage-choice .cookie-actions{display:grid;grid-template-columns:1fr 1fr 1fr}#usage-choice .cookie-actions .button{padding:8px 6px;font-size:11px}}
