.wpc-reader-tools {max-width:1440px; margin:0 auto; padding:12px 56px; display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:10px; font:14px/1.5 var(--sans,system-ui);}
.wpc-reader-tools button {min-height:40px; padding:6px 14px; background:var(--paper); color:var(--ink); border:1px solid var(--line); border-radius:6px; font:inherit;}
.wpc-reader-tools button[aria-pressed=true] {outline:2px solid var(--ink); outline-offset:-3px; font-weight:700;}
.wpc-reader-tools button:focus-visible {outline:3px solid #409cf0; outline-offset:3px;}
html[data-wpc-theme=light] {color-scheme:light;}
html[data-wpc-theme=dark] {color-scheme:dark; --ink:#e2ede7; --muted:#afc0b6; --line:#3d5247; --paper:#111c17; --tint:#1c2b23; --accent:#efc188;}
html[data-wpc-theme=dark] :is(.prose p,.keypoints ul,.terms dd,.solutionlinks p,.readercomment time,.articleimage figcaption) {color:var(--muted);}
html[data-wpc-theme=dark] :is(h1,h2,h3,h4,h5,h6) {color:var(--ink);}
html[data-wpc-theme=dark] :is(.mark,.searchbox button,.startpanel,.button,.filterbar a.active,thead,.citationactions button,.skip,footer) {background:#244e3c; color:#f2f7f4;}
html[data-wpc-theme=dark] .reference-footer {background:#0b1711;}
html[data-wpc-theme=dark] :is(.searchbox,input,select,textarea,#comment-form input:not([type=checkbox]),#comment-form textarea) {background:var(--tint); color:var(--ink); border-color:var(--line);}
html[data-wpc-theme=dark] :is(a:hover,.referencehero em) {color:#efc188;}
html[data-wpc-theme=dark] .solutionlinks>a:hover {background:#233c2f; border-color:#759c87;}
html[data-wpc-theme=dark] .previewnote {background:#42351b; color:#ffe0a0;}
html[data-wpc-theme=dark] #wpc-cookie-notice {color:var(--ink);}
html[data-wpc-theme=dark] #wpc-cookie-notice :is(.wpc-cookie-banner,dialog,button) {background:var(--paper); color:var(--ink); border-color:#6d8e7b;}
html[data-wpc-theme=dark] #wpc-cookie-notice :is(.wpc-cookie-inventory,button:hover) {background:var(--tint);}
html[data-wpc-theme=dark] #wpc-cookie-notice :is(h2,a) {color:var(--ink);}
@media(max-width:640px) {.wpc-reader-tools {padding:10px 20px; justify-content:flex-start;}}
@media print {.wpc-reader-tools {display:none;} html[data-wpc-theme] {color-scheme:light; --ink:#193c31; --muted:#637169; --paper:#fff; --tint:#f2f6f2; --line:#d8dfda;} html[data-wpc-theme=dark] :is(.prose p,.keypoints ul,.terms dd) {color:#193c31;}}
