/* Shared content-paper tokens. User supplied texture: libfile_53e658f82cc481919c8d8e4a65147caf.
   Enabled only on editorial review routes; reusable for future content pages. */
@font-face{font-family:EditorialReference;src:url('/vendor/editorial-inconsolata.ttf') format('truetype');font-weight:200 900;font-stretch:50% 200%;font-style:normal;font-display:swap}
:root{--editorial-paper-color:#f5f2e9;--editorial-paper-image:url('/assets/editorial/ivory-paper.jpg');--editorial-ink:#2e2e28;--editorial-body-size:18px;--editorial-caption-size:12px}
body.editorial-project-page{background-color:var(--editorial-paper-color);background-image:var(--editorial-paper-image);background-repeat:repeat;background-size:308px 328px;color:var(--editorial-ink)}
.editorial-project:before{display:none}.editorial-project{font-family:EditorialReference,'Courier New',monospace;font-variation-settings:'wght' 400,'wdth' 100;font-weight:400}.editorial-project .ed-title-block h1{font-size:28px;letter-spacing:0}.editorial-project .ed-deck{font-size:18px}.ed-introduction,.ed-chapter-copy{font-size:var(--editorial-body-size);line-height:1.55}.editorial-project .ed-section-heading h2{font-size:18px}.ed-chapter summary{font-size:15px}.ed-main-plate figcaption,.ed-label,.ed-masthead,.ed-colophon ul,.ed-summary-record{font-size:var(--editorial-caption-size)}.ed-opening{margin-top:70px}.ed-chapter-copy h3{font-size:17px;font-weight:500}.ed-introduction p,.ed-chapter-copy p{max-width:62ch}
body.about-book-page{font-family:EditorialReference,'Courier New',monospace;font-variation-settings:'wght' 400,'wdth' 100;font-weight:400;background-color:#deddd6;background-image:var(--editorial-paper-image);background-blend-mode:multiply}.abook-sheet{background-color:var(--editorial-paper-color);background-image:var(--editorial-paper-image);background-size:308px 328px}.about-book-page :is(h1,h2,h3,p,a,span,dt,dd,li,figcaption){font-family:inherit}.about-book-page .abook-name h1{font-size:30px;letter-spacing:0}.about-book-page .abook-story-note p{font-size:17px;line-height:1.6}.about-book-page .abook-opening-line{font-size:18px;line-height:1.55}.about-book-page .abook-running,.about-book-page .abook-folio,.about-book-page .abook-portrait figcaption{font-size:11px}.about-book-page .abook-practice dd,.about-book-page .abook-work .about-work-content>span{font-size:13px;line-height:1.6}.about-book-page .abook-practice dt{font-size:14px}.about-book-page .abook-sheet h2{font-size:24px}
@media(max-width:600px){:root{--editorial-body-size:17px;--editorial-caption-size:11px}.ed-opening{margin-top:43px}.editorial-project .ed-title-block h1{font-size:26px}.about-book-page .abook-name h1{font-size:28px}.about-book-page .abook-running,.about-book-page .abook-folio{font-size:10px}}
body.about-book-page{--abook-font:EditorialReference,'Courier New',monospace}
/* Review typography must override the legacy global type token, which is !important. */
body:is(.editorial-project-page,.about-book-page){--reference-type:EditorialReference,'Courier New',monospace}
body:is(.editorial-project-page,.about-book-page) :is(h1,h2,h3,h4,p,a,button,input,textarea,select,summary,label,dt,dd,li,figcaption,span,svg text){font-weight:400!important;letter-spacing:0!important;text-shadow:none!important}
/* Bound conceptual SVGs to their plate instead of intrinsic grid aspect sizing. */
.editorial-project .ed-concept-art{position:relative;overflow:hidden;aspect-ratio:auto}
.editorial-project .ed-concept-art>svg{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:100%;display:block;overflow:hidden}
/* Light printed-stock combinations sampled from the user's six-swatch reference.
   Pearl 232/229/224, Misty223/219/212, supporting Foggy208/203/194.
   Grain is original code-native SVG, rendered in the background, never over lettering. */
body:is(.editorial-project-page,.about-book-page){--paper-pearl:#e8e5e0;--paper-misty:#dfdbd4;--paper-foggy:#d0cbc2;--printed-grain:url('/assets/editorial/printed-grain.svg')}
body.editorial-project-page:has(.ed-specimen){background-color:var(--paper-pearl);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px;color:#2b2b26}
body.about-book-page{background-color:var(--paper-foggy);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px}
.about-book-page .abook-sheet{background-color:var(--paper-pearl);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px}
.about-book-page :is(.abook-story,.abook-work){background-color:var(--paper-misty)}
.editorial-project-page .ed-specimen :is(.ed-main-plate,.ed-secondary-plate){background-color:var(--paper-pearl);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px}
.editorial-project-page .ed-specimen .ed-spread:before{background-color:var(--paper-misty);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px}
.editorial-project-page .ed-specimen .ed-secondary-plate:after{background-color:var(--paper-foggy);background-image:var(--printed-grain);background-blend-mode:soft-light;background-size:360px 360px;border-color:#eee9df}
.editorial-project-page .ed-specimen .ed-concept-art{background-color:var(--paper-misty)}
