/* The agreed text palette: brand red and dark grey throughout. */
:root{--red:#ad0012;--grey:#303438;--ink:#303438;--muted:#303438;--text:#303438;--brand:#ad0012;--brand-dark:#ad0012;--eb-red:#ad0012;--eb-grey:#303438}
html,body,main,article,section,nav,header,footer,p,li,span,div,label,input,select,textarea,option,summary,details,table,td,th,figcaption,small,strong,em{color:#303438}
h1,h2,h3,h4,h5,h6,a,a:visited,.eyebrow,.price{color:#ad0012}
button,.button,.button:visited,.button.secondary,button.secondary,.reader-settings button,.reader-nav .button,.tools button,.controls button{background:#fff;color:#ad0012;border:1px solid #ad0012}
.cta,.cta:visited{background:#fff;color:#ad0012;border:1px solid #ad0012}.legacy-art{background:#f5f4f2;color:#ad0012}.legacy-art span{color:#ad0012}.review,.status{color:#303438}.library-link{padding:8px 12px;text-decoration:none}
button:hover,.button:hover,button.secondary:hover,.button.secondary:hover{background:#f9eeef;color:#ad0012}
button:disabled,.button.disabled{color:#303438;border-color:#d3d0cc;background:#f4f2ee;opacity:1}
input,select,textarea{background:#fff;color:#303438}
input::placeholder,textarea::placeholder{color:#303438;opacity:1}
.small,.muted,.notice,.access-footnote,.reader-count,.recorded-voice,footer,footer p,.reader-status,[role=status],[role=alert]{color:#303438}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ad0012;outline-offset:3px}
.library-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 20px 20px}
.library-actions .button{white-space:normal;text-align:center}
.library-intro{max-width:760px}.account-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}
.access-form{max-width:600px}.access-form input[name=code]{width:100%;max-width:440px}
input[type=checkbox]{accent-color:#ad0012}
.reader-spread,.reading-warm .reader-spread{color:#303438}
.recorded-voice{font-size:14px}.sampler-library{display:inline-block;margin-right:12px}
body a.story-link,body a.story-link:visited{color:#ad0012}
body p.small{color:#303438}
header img{width:230px;max-width:65vw;height:auto}
@media print{button,.account-actions,header nav{display:none}body{background:white;color:#303438}}

/* Final presentation: red signposts and actions, dark-grey reading text. */
html{scroll-padding-top:20px}body{color:#303438}h1,.eyebrow{color:#ad0012}h2,h3,h4,h5,h6{color:#303438}
a,a:visited,button,.button,.cta{color:#ad0012}body .small,body .copyright,body .note,body .reader-count{color:#303438!important}
body .legacy-art,body .legacy-art span{color:#ad0012!important}body .price,body .purchase-price{color:#ad0012}
body .format-guide{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}
body .format-guide>div{padding:24px;border:1px solid #ded9d4;border-radius:12px;background:#fff}
body .format-guide h2{font-size:22px;margin:0 0 10px}body .format-guide p{margin:0}
.format-note{font-size:15px;line-height:1.65;max-width:780px}.launch-notice{border-left:3px solid #ad0012;background:#faf5f3;padding:14px 18px;font-size:16px}
.story-illustration{-webkit-touch-callout:none;user-select:none}footer nav{display:flex;flex-wrap:wrap;gap:10px 18px}header nav{flex-wrap:wrap}
.reader-page main>h1{margin-bottom:18px}.reader-bar{flex-wrap:wrap}.library-actions .button{flex:1 1 190px}
.reader-settings{flex-wrap:wrap}input,select,textarea{max-width:100%}body a[aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:5px}
@media(max-width:650px){body .format-guide{grid-template-columns:1fr;gap:14px}body .format-guide>div{padding:20px}header{gap:16px}header nav{gap:10px}main{overflow-wrap:break-word}.library-actions{padding:0 16px 20px}body .reader-settings .recorded-voice{width:100%}}
@media print{.story-illustration{user-select:auto}.launch-notice{border:1px solid #ddd}}

.reader-settings #speak[aria-pressed="true"],.reading-options #speak[aria-pressed="true"]{background:#ad0012;color:white}
