/* One publishing family, distinct identities. Reader controls remain authoritative. */
:root{--subject-ink:#183D3C;--subject-paper:#F0F6F3;--subject-accent:#286B65;--subject-muted:#526F68;--subject-line:#BBD2C9;--subject-soft:#DCEBE3;--subject-heading:Editorial,serif}
.book.subject-cover{display:flex;flex-direction:column;background:var(--subject-paper);color:var(--subject-ink);border:1px solid var(--subject-line);border-left:6px solid var(--subject-accent);box-shadow:none;transition:none}
.book.subject-cover:hover{transform:none;outline:2px solid var(--subject-accent);outline-offset:3px;box-shadow:none}
.book.subject-cover h3{font-family:var(--subject-heading);font-size:clamp(25px,2.8vw,37px);line-height:1.13;max-width:100%;overflow-wrap:anywhere}
.book.subject-cover .book-bottom{margin-top:auto}.book.subject-cover .book-top,.book.subject-cover .book-bottom{border-color:var(--subject-line);color:var(--subject-accent)}
.book.subject-cover .book-top{font-size:8px;letter-spacing:1px;gap:12px}
.book.subject-cover p{opacity:1;color:var(--subject-muted)}
.subject-cover .cover-art{color:var(--subject-accent);opacity:.8;width:140px;height:90px}
.subject-cover .cover-art i{display:block;transform:none;border:1px solid currentColor;left:8px;width:55px;height:74px;border-radius:0}
.subject-cover .cover-art i:nth-child(2){left:31px;height:90px}.subject-cover .cover-art i:nth-child(3){left:55px;height:74px}.subject-cover .cover-art i:nth-child(4){left:79px;height:58px}
[data-motif=archive] .cover-art i{border-top:4px solid currentColor;border-radius:50% 50% 0 0}
[data-motif=rules] .cover-art i{width:110px;height:1px;left:10px;bottom:20px;border-width:1px 0 0}
[data-motif=rules] .cover-art i:nth-child(2){bottom:40px;width:80px;left:10px;height:1px}[data-motif=rules] .cover-art i:nth-child(3){bottom:60px;width:110px;left:10px;height:1px}[data-motif=rules] .cover-art i:nth-child(4){bottom:80px;width:50px;left:10px;height:1px}
[data-motif=grid] .cover-art{background:repeating-linear-gradient(0deg,transparent 0 19px,var(--subject-line) 19px 20px),repeating-linear-gradient(90deg,transparent 0 19px,var(--subject-line) 19px 20px)}
[data-motif=grid] .cover-art i{width:100px;height:60px;left:15px!important;bottom:14px!important;border-width:0 0 2px 2px;border-radius:0}
[data-motif=grid] .cover-art i:not(:first-child){display:none}
[data-motif=dots] .cover-art{background:radial-gradient(circle,var(--subject-accent) 1.4px,transparent 1.7px) 0 0/16px 16px}
[data-motif=dots] .cover-art i{display:none}
[data-motif=circles] .cover-art i{width:72px;height:72px;border-radius:50%;left:0;bottom:8px}
[data-motif=circles] .cover-art i:nth-child(2){left:32px;height:72px}[data-motif=circles] .cover-art i:nth-child(3){left:64px;height:72px}[data-motif=circles] .cover-art i:nth-child(4){display:none}
[data-motif=type] .cover-art i{display:none}[data-motif=type] .cover-art:after{content:'Aa';font:100px/1 Editorial,serif;letter-spacing:-8px}
[data-motif=rays] .cover-art i{width:75px;height:75px;left:32px;bottom:5px;border-radius:50%}[data-motif=rays] .cover-art i:nth-child(2){width:55px;height:55px;left:42px;bottom:15px}[data-motif=rays] .cover-art i:nth-child(3){width:35px;height:35px;left:52px;bottom:25px}[data-motif=rays] .cover-art i:nth-child(4){width:15px;height:15px;left:62px;bottom:35px}
.subject-scope .subject-hero{background:var(--subject-paper);color:var(--subject-ink);border-top:4px solid var(--subject-accent);border-bottom:1px solid var(--subject-line)}
.subject-scope .subject-hero h1,.subject-scope .reading-header h1{font-family:var(--subject-heading);color:var(--subject-ink);line-height:1.08}
.subject-scope .reading-header{border-left:4px solid var(--subject-accent);padding-left:22px}
.subject-scope .eyebrow{color:var(--subject-accent)}
.subject-scope .study-choice{border-top:3px solid var(--subject-accent);background:var(--subject-paper)}
.subject-scope .study-choice h3{font-family:var(--subject-heading);color:var(--subject-ink)}
.subject-scope .button:not(.secondary){background:var(--subject-accent);color:white}
.subject-scope .study-reader[data-identity=subject]{--reader-accent:var(--subject-accent);--reader-line:var(--subject-line)}
.study-reader[data-identity=subject][data-theme=paper]{--reader-bg:var(--subject-paper);--reader-ink:var(--subject-ink);--reader-muted:var(--subject-muted);background:var(--subject-paper);padding:20px}
.study-reader[data-identity=subject] .study-block h1,.study-reader[data-identity=subject] .study-block h2,.study-reader[data-identity=subject] .study-block h3{font-family:var(--subject-heading);color:var(--reader-accent)}
.subject-scope .study-reader[data-identity=subject][data-theme=night]{--reader-accent:var(--subject-soft);--reader-line:#58636A}
[data-motif=archive] .study-reader[data-identity=subject] .study-block h2,[data-motif=rules] .study-reader[data-identity=subject] .study-block h2{border-top:3px double var(--reader-accent);padding-top:16px}
[data-motif=dots] .study-reader[data-identity=subject] .study-block h2,[data-motif=grid] .study-reader[data-identity=subject] .study-block h2{border-bottom:1px solid var(--reader-line);padding-bottom:12px;font-variant-numeric:tabular-nums}
[data-motif=circles] .study-reader[data-identity=subject] .study-block blockquote{border-radius:0 20px 20px 0}
[data-motif=type] .study-reader[data-identity=subject] .study-block blockquote{font-family:Editorial,serif;font-size:1.2em}
@media(max-width:650px){.book.subject-cover h3{max-width:calc(100% - 66px);font-size:30px}.book.subject-cover .cover-art{display:block;position:absolute;right:18px;top:66px;margin:0;transform:scale(.45);transform-origin:top right;opacity:.6}.subject-scope .subject-hero h1{font-size:34px}.subject-scope .reading-header{padding-left:14px}.study-reader[data-identity=subject][data-theme=paper]{padding:12px}}
@media print{.study-reader[data-identity=subject]{print-color-adjust:exact;-webkit-print-color-adjust:exact}.subject-scope .reading-header{padding-left:12pt;border-left:3pt solid var(--subject-accent)}}
