/* Reading preferences: the button beside Save / PDF, its panel, and the chosen article text. */
.mhc-readpref { position: relative; display: inline-flex; }
.mhc-readpref__toggle { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d8d8d8; border-radius: 0; padding: 8px 12px 7px; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; color: inherit; }
.mhc-readpref__toggle:hover, .mhc-readpref__toggle[aria-expanded="true"] { border-color: #126788; color: #126788; }
.mhc-readpref__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 280px; max-width: calc(100vw - 32px); box-sizing: border-box; background: #fff; border: 1px solid #d8d8d8; border-radius: 0; padding: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); font-size: 13px; line-height: 1.4; text-transform: none; letter-spacing: normal; font-weight: 400; text-align: left; }
.mhc-readpref__panel[hidden] { display: none; }
.mhc-readpref__panel p { margin: 0 0 10px; }
.mhc-readpref__panel a { color: #126788; font-weight: 600; }
.mhc-readpref__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.mhc-readpref__stepper, .mhc-readpref__choice { display: inline-flex; align-items: center; gap: 6px; }
.mhc-readpref__stepper output { min-width: 24px; text-align: center; font-weight: 600; }
.mhc-readpref__panel button { background: #fff; border: 1px solid #d8d8d8; border-radius: 0; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; color: inherit; }
.mhc-readpref__panel button:hover:not(:disabled) { border-color: #126788; color: #126788; }
.mhc-readpref__panel button:disabled { opacity: .4; cursor: default; }
.mhc-readpref__panel button[aria-pressed="true"] { background: #126788; border-color: #126788; color: #fff; }
.mhc-readpref__panel .mhc-readpref__reset { border: 0; padding: 0; color: #A06B3E; text-decoration: underline; }
.mhc-readpref__toggle:focus-visible, .mhc-readpref__panel button:focus-visible, .mhc-readpref__panel a:focus-visible { outline: 2px solid #126788; outline-offset: 2px; }

/* The reader's own choice (set by reading-prefs.js on <html>). */
.mhc-readpref-on .single-post .entry-content p,
.mhc-readpref-on .single-post .entry-content li,
.mhc-readpref-on .single-post .entry-content blockquote,
.mhc-readpref-on .single-post .entry-content figcaption { font-size: var(--mhc-read-size) !important; line-height: var(--mhc-read-line) !important; }
@media (max-width: 480px) { .mhc-readpref__panel { right: auto; left: 0; } }
