#reader{--reader-paper:#f5f2eb;--reader-ink:#28333e;--accent:#344b60;--blue:#344b60;--border:#344b6026;--reader-margin:22px;color-scheme:light;box-sizing:border-box}
#reader[data-paper=mist]{--reader-paper:#dfe4eb;--reader-ink:#253646}#reader[data-paper=dark]{--reader-paper:#202a34;--reader-ink:#e5ebf1;--accent:#b4cce0;--blue:#b4cce0;color-scheme:dark}#reader[data-paper=sage]{--reader-paper:#e8eee4;--reader-ink:#29382b}
#reader [hidden]{display:none!important}#reader>.sticky{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:6px;padding-inline:16px;min-height:52px}#reader>.sticky button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;padding:8px;color:var(--accent)!important}#reader .nordicIcon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#reader #readerMenu .ic{width:23px;height:23px}#reader #readerActions:not([hidden]){position:absolute;right:12px;top:calc(62px + env(safe-area-inset-top,0px));z-index:12;width:min(260px,calc(100% - 24px));display:grid;padding:8px;background:var(--reader-paper);border:1px solid var(--border);border-radius:16px;box-shadow:0 10px 32px #0002}#reader #readerActions button{background:transparent;border:0;color:var(--reader-ink);text-align:left;min-height:44px;font-size:15px;padding:10px 12px}#reader #readerPrefs:not([hidden]){grid-template-columns:1fr 1fr;max-height:calc(100% - 100px - env(safe-area-inset-top,0px));padding:18px;gap:14px}#reader .nordicThemes{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}#reader .nordicThemes button{min-height:44px;padding:4px;border:1px solid #82909b66;border-radius:10px;font-family:Georgia,serif;font-size:20px}#reader .nordicThemes button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}#reader .nordicThemes button[data-theme=paper]{background:#f5f2eb;color:#28333e}#reader .nordicThemes button[data-theme=light]{background:white;color:#222}#reader .nordicThemes button[data-theme=mist]{background:#dfe4eb;color:#253646}#reader .nordicThemes button[data-theme=sage]{background:#e8eee4;color:#29382b}#reader .nordicThemes button[data-theme=dark]{background:#202a34;color:#e5ebf1}#reader input[type=checkbox],#reader input[type=range]{accent-color:var(--accent)}#reader #paper{width:100%;max-width:44rem;margin-inline:auto;padding-inline:var(--reader-margin);padding-top:clamp(26px,6vw,60px)}#reader #readTitle{font-family:system-ui,sans-serif;letter-spacing:-.035em;font-weight:650}#reader #readerMeta{font-size:13px}#reader #progress::-webkit-progress-bar{background:transparent}#reader #progress::-webkit-progress-value{background:var(--accent)}#reader #progress::-moz-progress-bar{background:var(--accent)}#reader #privateNote summary{list-style:none;display:flex;gap:8px;align-items:center}#reader #privateNote summary::-webkit-details-marker{display:none}#reader #privateNote summary::before{content:'＋';font-size:18px}#reader #privateNote[open] summary::before{content:'−'}#reader button:focus:not(:focus-visible){outline:none;box-shadow:none}

/* 4.14.1: preserve independent theme swatches */
#reader #readerPrefs .nordicThemes button[data-theme="paper"]{background:#f5f2eb!important;color:#28333e!important;border:1px solid #82909b99!important;}
#reader #readerPrefs .nordicThemes button[data-theme="light"]{background:#ffffff!important;color:#222222!important;border:1px solid #82909b99!important;}
#reader #readerPrefs .nordicThemes button[data-theme="mist"]{background:#dfe4eb!important;color:#253646!important;border:1px solid #82909b99!important;}
#reader #readerPrefs .nordicThemes button[data-theme="sage"]{background:#e8eee4!important;color:#29382b!important;border:1px solid #82909b99!important;}
#reader #readerPrefs .nordicThemes button[data-theme="dark"]{background:#202a34!important;color:#e5ebf1!important;border:1px solid #82909b99!important;}
#reader #readerPrefs .nordicThemes button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px}#reader #readerPrefs .nordicThemes button small{font:11px system-ui,sans-serif;color:inherit!important}
