/* Restrained prototype palette; deployment theme is selected at boot. */
.reader-shell { --reader-bg: #f6f4ed; --reader-paper: #fffef9; --reader-ink: #293b34; --reader-muted: #64736a; --reader-rule: #dce1d8; --reader-accent: #375d48; background: var(--reader-bg); color: var(--reader-ink); min-height: 100vh; padding: 0 1rem 3rem; font: 1rem/1.5 system-ui, sans-serif; }
body:has(.reader-shell) { margin: 0; }
.reader-shell * { box-sizing: border-box; }
.reader-shell a { color: var(--reader-accent); text-underline-offset: .3em; }
.reader-header { max-width: 68rem; margin: auto; padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.reader-brand { font: 1.5rem Georgia, serif; text-decoration: none; }
.reader-product { color: var(--reader-muted); font-size: .8rem; }
.reader-account { display: flex; align-items: center; gap: 1rem; margin-left: auto; font-size: .8rem; }
.reader-account button { background: none; border: 0; color: var(--reader-muted); font: inherit; padding: .7rem 0; cursor: pointer; }
.reader-tabs { display: flex; justify-content: center; gap: 2rem; border-bottom: 1px solid var(--reader-rule); }
.reader-tabs a { padding: .8rem .3rem; text-decoration: none; border-bottom: 2px solid transparent; }
.reader-tabs a[aria-current=page] { border-color: var(--reader-accent); font-weight: 600; }
.reader-feed { max-width: 42rem; margin: 2rem auto; }
.reader-feed h1 { font-size: 1.2rem; margin-bottom: .3rem; }
.reader-intro, .reader-empty { color: var(--reader-muted); }
.passage-card { background: var(--reader-paper); border: 1px solid var(--reader-rule); border-radius: .7rem; padding: 1.4rem; margin: 1.5rem 0; overflow-wrap: anywhere; }
.passage-text { white-space: pre-wrap; font: 1.25rem/1.75 Georgia, serif; margin: 0 0 1.5rem; }
.passage-identity { font-size: .9rem; margin: 0 0 .5rem; }
.passage-identity span, .passage-citation { color: var(--reader-muted); }
.passage-citation { font-size: .8rem; line-height: 1.6; margin: 0; }
.passage-citation cite { font-style: normal; }
.passage-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid var(--reader-rule); margin-top: 1.2rem; padding-top: .7rem; }
.passage-actions button { background: none; border: 0; font: inherit; font-size: .8rem; padding: .6rem 0; color: var(--reader-muted); opacity: .75; }
.reader-load-more { display: block; width: fit-content; padding: .8rem 1.2rem; margin: 2rem auto; border: 1px solid var(--reader-rule); border-radius: .5rem; }
.reader-shell a:focus-visible, .reader-shell button:focus-visible { outline: 2px solid var(--reader-accent); outline-offset: 4px; }
@media (min-width: 48rem) { .reader-shell { padding: 0 2rem 4rem; } .passage-card { padding: 2.5rem; } .passage-text { font-size: 1.4rem; } }
