@font-face{font-family:'MQB Lexend';src:url('fonts/Lexend.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'MQB OpenDyslexic';src:url('fonts/OpenDyslexic-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'MQB OpenDyslexic';src:url('fonts/OpenDyslexic-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:is(.mqb-page,.mq-editorial-reader){--mqb-reading-font:Georgia,'Times New Roman',serif;--mqb-reading-scale:1}
:is(.mqb-page,.mq-editorial-reader)[data-reading-font=lexend]{--mqb-reading-font:'MQB Lexend',Arial,sans-serif}
:is(.mqb-page,.mq-editorial-reader)[data-reading-font=dyslexia]{--mqb-reading-font:'MQB OpenDyslexic',Arial,sans-serif}
.mqb-table tbody td{font-family:var(--mqb-reading-font);font-size:calc(1.08rem * var(--mqb-reading-scale));line-height:1.8}
.mqb-reading-options{display:inline-flex;align-items:center}
.mqb-tools .mqb-reading-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:100px;min-height:44px;min-width:72px;padding:.45rem .8rem;background:#fcfaf5;color:#76531e}
.mqb-reading-toggle>span{font-family:Georgia,'Times New Roman',serif;font-size:1.15rem}
.mqb-tools .mqb-reading-toggle[aria-expanded=true]{background:#eee4cd;border-color:#a18041;box-shadow:0 0 0 2px #c8b89133}
.mqb-reading-panel{position:fixed;z-index:1000;width:min(328px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box;padding:1rem;background:#fffdf8;color:#202326;border:1px solid #d9cdb5;border-radius:14px;box-shadow:0 12px 38px #15191e26;font:normal .875rem/1.5 Arial,sans-serif;text-align:left;white-space:normal}
.mqb-reading-panel[hidden]{display:none!important}
.mqb-reading-panel header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-bottom:.7rem;border-bottom:1px solid #e5dccb;margin-bottom:1rem}
.mqb-reading-panel h3{font:600 .95rem/1.4 Arial,sans-serif;margin:0;color:#272b30}
.mqb-tools .mqb-reading-close{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;border:0;border-radius:50%;color:#69685f;font-size:1.45rem}
.mqb-reading-panel fieldset{border:0;margin:0 0 1.1rem;padding:0;min-width:0}
.mqb-reading-panel legend{font:600 .78rem/1.5 Arial,sans-serif;color:#6b675d;padding:0;margin-bottom:.7rem;float:none;width:auto}
.mqb-size-controls{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.mqb-tools .mqb-size-controls>button{border-radius:50%;width:44px;height:44px;padding:0;font:500 .95rem/1 Arial,sans-serif;color:#313333;background:#fffdf8;border:1px solid #d9cdb5}
.mqb-size-controls>div{display:flex;flex-direction:column;align-items:center;gap:.1rem;min-width:110px}
.mqb-size-sample{font:normal 1.35rem/1.25 Georgia,'Times New Roman',serif;color:#262a2e}
.mqb-size-controls output{font:normal .75rem/1.5 Arial,sans-serif;color:#746e62}
.mqb-font-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.mqb-font-choices label{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:76px;padding:.5rem .25rem;border:1px solid #ded6c7;border-radius:10px;background:#fffdf8;color:#555b5f;cursor:pointer;box-sizing:border-box}
.mqb-font-choices input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.mqb-font-choices label.is-selected{background:#eee4cd;border-color:#aa894c;color:#79551c}
.mqb-font-choices label:focus-within{outline:2px solid #8a611d;outline-offset:3px}
.mqb-font-choices strong{font:600 .76rem/1.4 Arial,sans-serif;color:inherit}
.mqb-font-sample{font-size:1.2rem;line-height:1.4}
[data-mqb-font-sample=default]{font-family:Georgia,'Times New Roman',serif}
[data-mqb-font-sample=lexend]{font-family:'MQB Lexend',Arial,sans-serif}
[data-mqb-font-sample=dyslexia]{font-family:'MQB OpenDyslexic',Arial,sans-serif}
.mqb-settings-help{font:normal .75rem/1.6 Arial,sans-serif;color:#746e62;margin:.2rem 0 .7rem}
.mqb-tools .mqb-reading-reset{font-size:.78rem;padding:.35rem 0;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;color:#79551c}
.mqb-reading-panel button:disabled{opacity:.4;cursor:default}
.mqb-reading-panel button:hover:not(:disabled){background:#f1eadb}
@media print{.mqb-reading-options{display:none!important}}

.mqb-theme-choices {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:.5rem;
}
.mqb-theme-choices label {
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:.35rem;
 min-height:54px;
 padding:.35rem .2rem;
 background:var(--mqb-control,#fffdf8);
 color:var(--mqb-ink,#202326);
 border:1px solid var(--mqb-line,#d9cdb5);
 border-radius:8px;
 font:600 .78rem/1.3 Arial,sans-serif;
 text-align:center;
 cursor:pointer;
}
.mqb-theme-choices input {
 margin:0;
 width:1rem;
 height:1rem;
 accent-color:var(--mqb-accent,#79551c);
}
.mqb-theme-choices label:has(input:checked) {
 background:var(--mqb-selected,#eee4cd);
 border-color:var(--mqb-accent,#957235);
}
.mqb-theme-choices label:focus-within {
 outline:2px solid var(--mqb-accent,#79551c);
 outline-offset:2px;
}

/* Only the three reading views load this sheet. The shell, header and
   footer stay outside the reading area in every theme. */
@media screen {
 [data-mqb-theme="dark"] :is(.mqb-page,.mq-editorial-reader) {
  --mqb-paper:#181b1e;
  --mqb-surface:#212529;
  --mqb-control:#282d31;
  --mqb-ink:#f1ece2;
  --mqb-muted:#c8c4ba;
  --mqb-accent:#f0cd89;
  --mqb-line:#81817a;
  --mqb-selected:#463b26;
  --mqb-highlight:#354750;
  --mqb-highlight-ink:#fff9ea;
 }
 [data-mqb-theme="contrast"] :is(.mqb-page,.mq-editorial-reader) {
  --mqb-paper:#000;
  --mqb-surface:#000;
  --mqb-control:#000;
  --mqb-ink:#fff;
  --mqb-muted:#fff;
  --mqb-accent:#ffeb56;
  --mqb-line:#fff;
  --mqb-selected:#332e00;
  --mqb-highlight:#fff;
  --mqb-highlight-ink:#000;
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) {
  color-scheme:dark;
  --color-heading:var(--mqb-ink);
  --color-accent:var(--mqb-accent);
  --color-text:var(--mqb-ink);
  --color-text-soft:var(--mqb-muted);
  accent-color:var(--mqb-accent);
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-intro,.mqb-player,.mqb-table th,.mqb-table tfoot td,
    .mqb-reading-panel,.mqb-picker-content,.mqb-order li,.mqb-notice) {
  background:var(--mqb-surface);
  color:var(--mqb-ink);
  border-color:var(--mqb-line);
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) .mqb-table-scroll {background:var(--mqb-paper)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-table td,.mqb-table th,.mqb-reading-panel header) {border-color:var(--mqb-line)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-intro h1,.mqb-reading-panel h3,.mqb-size-sample) {color:var(--mqb-ink)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-intro p:last-child,.mql-controls label,.mql-help,.mqb-reading-panel legend,.mqb-size-controls output) {color:var(--mqb-muted)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mq-eyebrow,.mqb-number,.mqb-table th strong,a) {color:var(--mqb-accent)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(select,input[type=text],input[type=search],.mqb-picker summary,
    .mqb-tools button,.mqb-table th button,.mqb-player button,.mqb-font-choices label) {
  background:var(--mqb-control);
  color:var(--mqb-ink);
  border-color:var(--mqb-line);
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) input::placeholder {color:var(--mqb-muted);opacity:1}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) .mqb-options input {accent-color:var(--mqb-accent)}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-button,.mqb-player .mql-play) {
  background:var(--mqb-accent);
  border-color:var(--mqb-accent);
  color:#161616;
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(.mqb-tools button:hover:not(:disabled),.mqb-tools [aria-expanded=true],
    .mqb-font-choices .is-selected) {
  background:var(--mqb-selected);
  color:var(--mqb-accent);
  border-color:var(--mqb-accent);
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) .mqb-table td.mqb-speaking {
  background:var(--mqb-highlight);
  color:var(--mqb-highlight-ink);
  box-shadow:inset 4px 0 var(--mqb-accent);
 }
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) .mqb-speaking :is(.mqb-number,.mqb-section-title,.mqb-gap) {color:inherit}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) :is(:focus-visible,.mqb-font-choices label:focus-within) {outline:3px solid var(--mqb-accent);outline-offset:2px}
 [data-mqb-theme] :is(.mqb-page,.mq-editorial-reader) ::selection {background:var(--mqb-accent);color:#000}
 [data-mqb-theme="contrast"] :is(.mqb-page,.mq-editorial-reader) a {text-decoration:underline;text-underline-offset:.18em}
}

.mq-reader-top {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:2rem}
.mq-reader-top :is(.mqa-back,.mq-project-back) {margin:0}
.mq-reader-top .mqb-tools button {cursor:pointer}
.mq-reader-top .mqb-reading-toggle {border:1px solid #b5a078}
.mq-reader-top .mqb-reading-close {background:transparent}
.mq-editorial-reader .mq-prose {font-size:calc(1.08rem * var(--mqb-reading-scale))}
.mq-editorial-reader :is(.mq-bcrp-overview,.mq-bcrp-samples) {font-size:calc(1rem * var(--mqb-reading-scale))}
.mq-editorial-reader:is([data-reading-font="lexend"],[data-reading-font="dyslexia"]) {
 --font-body:var(--mqb-reading-font);
 --font-display:var(--mqb-reading-font);
 font-family:var(--mqb-reading-font);
}
@media screen {
 [data-mqb-theme] .mq-editorial-reader {
  color:var(--mqb-ink);
  background:var(--mqb-paper);
  --color-canvas:var(--mqb-paper);
  --color-surface:var(--mqb-surface);
  --color-surface-muted:var(--mqb-control);
  --color-hero:var(--mqb-surface);
  --color-hero-text:var(--mqb-ink);
  --color-hero-text-soft:var(--mqb-muted);
  --color-accent-strong:var(--mqb-accent);
  --color-accent-hover:var(--mqb-accent);
  --color-accent-contrast:#141414;
  --color-link:var(--mqb-accent);
  --color-border:var(--mqb-line);
  --color-border-dark:var(--mqb-line);
  --color-border-strong:var(--mqb-line);
 }
 [data-mqb-theme] .mq-editorial-reader :is(.mqi-access,.mqi-verified,.mqi-notice,.mqi-rating-options label,.mql-reader) {
  background:var(--mqb-surface);color:var(--mqb-ink);border-color:var(--mqb-line);
 }
 [data-mqb-theme] .mq-editorial-reader :is(.mqi-hint,.mqi-comments time,.mql-help,.mql-feedback,.mql-controls label) {color:var(--mqb-muted)}
 [data-mqb-theme] .mq-editorial-reader :is(.mqi-rating-options label>span,.mqi-stars>span,.mqi-form summary,.mqi-link-button,
    .mq-prose .mql-reader .mql-eyebrow,.mq-prose .mql-reader .mql-help) {color:var(--mqb-accent)}
 [data-mqb-theme] .mq-editorial-reader :is(.mqi-form input,.mqi-form textarea,.mql-reader select,.mql-reader .mql-stop) {
  background:var(--mqb-control);color:var(--mqb-ink);border-color:var(--mqb-line);
 }
 [data-mqb-theme] .mq-editorial-reader :is(a.mq-button--primary,.mql-reader .mql-play) {background:var(--mqb-accent);color:#141414}
 [data-mqb-theme] .mq-editorial-reader .mq-prose :is(.has-text-color,.has-background,
    p[style*="color" i],span[style*="color" i],blockquote[style*="color" i],mark) {
  color:var(--mqb-ink)!important;background-color:var(--mqb-surface)!important;
 }
}
