/* Shared reading shell. Teaching stages and checkout behavior are preserved. */
body.xy-reading-site{--xinyu-paper:#fcfaf7;--xinyu-paper-deep:#f5f0e8;--xinyu-ink:#182b53;--xinyu-line:#e5e1d9;--courseware-paper:#fcfaf7;--courseware-ink:#182b53;--courseware-line:#e5e1d9;--tool-paper:#fcfaf7;--tool-line:#e5e1d9;min-height:100vh;background-color:#fcfaf7!important;background-image:linear-gradient(180deg,rgba(252,250,247,.75),rgba(252,250,247,.90) 38%,#fcfaf7 100%),url('/assets/home-reading-20261012-v2-quiet-reading.jpg')!important;background-size:100% 800px,auto 800px!important;background-position:center top,right top!important;background-repeat:no-repeat!important;background-attachment:scroll!important;color:#182b53}
body.xy-reading-site::after,body.xy-reading-site.workbench-page::before{content:none!important}
body.xy-reading-site :is(.header,.class-header){background:transparent;border-bottom-color:transparent}
body.xy-reading-site .header:before{background:transparent;border-bottom:0}
body.xy-reading-site :is(.topbar,.site-return-link){background:rgba(255,253,249,.90);border-color:#e5e1d9;box-shadow:0 5px 20px #5d4e3610}
body.xy-reading-site :is(.brand,.header .nav){color:#182b53}
body.xy-reading-site .brand-symbol{color:#3768ce}
body.xy-reading-site :is(.browse-card,.product-hero-visual,.product-module figure,.product-vr-layout figure,.product-video-frame,.order,.empty){border-color:#e5e1d9;box-shadow:0 6px 20px #5d4e3610;background:#fffdf9}
body.xy-reading-site .browse-card:hover{box-shadow:0 12px 26px #5d4e361a}
body.xy-reading-site :is(.product-teaching,.product-reading-note,.material-content){background:#f5f0e8;border-color:#e5e1d9}
body.xy-reading-site :is(.product-module,.product-learning-path li,.product-details>div+div,.product-final-cta){border-color:#e5e1d9}
body.xy-reading-site .product-window-label{background:#f5f0e8;color:#64738a}
body.xy-reading-site :is(.site-footer,footer){background:rgba(252,250,247,.95);border-top-color:#e5e1d9;color:#64738a}
body.xy-reading-site :is(.footer-company,.footer-links,.footer-legal,.footer-legal a){color:#64738a;border-color:#e5e1d9}
body.xy-reading-site .hero .wrap::before,body.xy-reading-site .hero .wrap::after{content:none!important}
body.xy-reading-site.xy-reading-requests{--line:#e5e1d9;--sage:#f5f0e8}
body.xy-reading-requests .request-form{border:1px solid #e5e1d9;background:rgba(255,253,249,.92);box-shadow:0 6px 20px #5d4e3610}
body.xy-reading-requests .rank-row{background:rgba(255,253,249,.60)}
body.xy-reading-requests .back-home{background:#fffdf9;border-color:#d9d4cb}
body.xy-reading-login main{background:rgba(255,253,249,.95);border-color:#e5e1d9;box-shadow:0 14px 40px #5d4e3610}
body.xy-reading-login .notice{background:#f5f0e8}
body.xy-reading-classroom .welcome{background:#f5f0e8 url('/assets/home-reading-20261012-v2-quiet-reading.jpg') center/cover no-repeat;border-color:#e5e1d9}
body.xy-reading-classroom .class-slogan{background:#fffdf9d9}
body.xy-reading-classroom .filters button:not([aria-pressed=true]){background:#f5f0e8}
@media(max-width:720px){body.xy-reading-site{background-size:100% 600px,auto 600px!important;background-image:linear-gradient(180deg,rgba(252,250,247,.86),rgba(252,250,247,.94) 38%,#fcfaf7 100%),url('/assets/home-reading-20261012-v2-quiet-reading.jpg')!important}}

/* Legacy category pages use the same light cards and blue actions. */
body.xy-reading-site{--chain-bg:#fcfaf7;--chain-surface:#fffdf9;--chain-surface-soft:#f5f0e8;--chain-ink:#182b53;--chain-muted:#64738a;--chain-blue:#214a99;--chain-line:#e5e1d9;--courseware-structure:#214a99;--workbench-ink:#182b53;--workbench-muted:#64738a;--workbench-line:#e5e1d9;--workbench-structure:#214a99}
body.xy-reading-site.workbench-courseware-entry .hero .wrap,body.xy-reading-site.workbench-recording .hero .hero-grid{background:rgba(255,253,249,.86);border-color:#e5e1d9;box-shadow:0 12px 34px #5d4e3610;color:#182b53}
body.xy-reading-site:is(.workbench-courseware-entry,.workbench-recording) h1,body.xy-reading-site.workbench-recording .summary h2{color:#182b53}
body.xy-reading-site:is(.workbench-courseware-entry,.workbench-recording) :is(.crumb,.crumb a,.eyebrow,.lead){color:#64738a}
body.xy-reading-site.workbench-courseware-entry .stage-tab{background:#fffdf9;color:#214a99;border-color:#e5e1d9}
body.xy-reading-site.workbench-courseware-entry .stage-tab.active{background:#214a99;color:#fff}
body.xy-reading-site.workbench-recording .button{background:#fffdf9;color:#214a99;box-shadow:inset 0 0 0 1px #e5e1d9}
body.xy-reading-site.workbench-recording .button.primary{background:#214a99;color:#fff;box-shadow:0 6px 18px #214a9920}
body.xy-reading-site.workbench-recording .summary{background:#f5f0e8;color:#182b53;border-color:#e5e1d9;box-shadow:none}
body.xy-reading-site.workbench-recording .summary-item{border-color:#e5e1d9}
body.xy-reading-site.workbench-recording .summary-item strong{color:#214a99}
body.xy-reading-site.workbench-recording .summary-item span{color:#64738a}
