/* Quiet is fixed. Only publication captions are being compared. */
body.final-mode.quiet-mode .collection-grid{row-gap:68px}
body.final-mode.quiet-mode .collection-art{height:clamp(265px,27vw,430px)}
body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-card-copy{display:block;padding:0 5%;position:relative}
body.final-mode.quiet-mode .collection-description h3{font:400 clamp(29px,2.6vw,38px)/1.14 'Public Sans',Arial,sans-serif;letter-spacing:-.028em;margin:0 0 10px;color:var(--display-ink)}
body.final-mode.quiet-mode .collection-description p{font:14px/1.65 var(--font);max-width:38ch;color:var(--muted);margin:0}
body.final-mode.quiet-mode .collection-caption-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;min-height:44px}
body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-count{position:static;margin:0;font:12px/1.5 var(--font);color:var(--quiet)}
body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;font:16px/1.4 var(--font);gap:0;padding:0;white-space:nowrap}
body.final-mode.quiet-mode .collection-entry .entry-caption{font:inherit}
body.final-mode.quiet-mode .tile-title-row{gap:14px;margin-top:19px;align-items:start}
body.final-mode.quiet-mode .tile-title-row h3{font:400 19px/1.3 'Public Sans',Arial,sans-serif;letter-spacing:-.02em}
body.final-mode.quiet-mode .tile-title-row p{font:13px/1.55 var(--font);margin-top:8px}
body.final-mode.quiet-mode .card-meta .card-sub span:first-child{font-size:14px;line-height:1.55}
/* Editorial: title and context share the width, with a literary title voice. */
body.final-mode.quiet-mode[data-caption=editorial][data-action-style=type][data-combination=line] .collection-card-copy{display:grid;grid-template-columns:1.05fr 1fr;column-gap:28px;row-gap:0;align-items:start}
body.final-mode.quiet-mode[data-caption=editorial] .collection-description{display:contents}
body.final-mode.quiet-mode[data-caption=editorial] .collection-description h3{grid-column:1;grid-row:1/3;font:400 clamp(32px,2.8vw,42px)/1.06 'Bona Nova',Georgia,serif;letter-spacing:-.025em;margin:0}
body.final-mode.quiet-mode[data-caption=editorial] .collection-description p{grid-column:2;grid-row:1;font-size:13px;line-height:1.75;padding-top:3px}
body.final-mode.quiet-mode[data-caption=editorial] .collection-caption-footer{grid-column:2;grid-row:2;display:flex;justify-content:start;align-items:start;flex-direction:column;gap:6px;margin-top:15px}
body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row h3{font:400 24px/1.15 'Bona Nova',Georgia,serif;letter-spacing:-.015em}
body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row p{font-size:12px}
body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px}
body.final-mode.quiet-mode[data-caption=editorial] .card-meta .card-sub span:first-child{font-family:'Bona Nova',Georgia,serif;font-size:19px}
/* Centred: a compact gallery label with a shared metadata/action baseline. */
body.final-mode.quiet-mode[data-caption=centred][data-action-style=type][data-combination=line] .collection-card-copy{max-width:450px;margin:auto;text-align:center;padding:0 16px}
body.final-mode.quiet-mode[data-caption=centred] .collection-description h3{font-size:clamp(28px,2.25vw,34px);line-height:1.18;letter-spacing:-.025em}
body.final-mode.quiet-mode[data-caption=centred] .collection-description p{margin:auto;max-width:34ch;font-size:13px;line-height:1.7}
body.final-mode.quiet-mode[data-caption=centred] .collection-caption-footer{justify-content:center;gap:24px;margin-top:14px}
body.final-mode.quiet-mode[data-caption=centred] .tile-title-row{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
body.final-mode.quiet-mode[data-caption=centred] .tile-title-row>div{width:100%;flex:none}
body.final-mode.quiet-mode[data-caption=centred] .tile-title-row h3{font-size:18px;line-height:1.4}
body.final-mode.quiet-mode[data-caption=centred] .tile-title-row p{font-size:12px}
body.final-mode.quiet-mode[data-caption=centred] .reading-order{display:block;text-align:center}
body.final-mode.quiet-mode[data-caption=centred] .tile-purpose{margin-left:auto;margin-right:auto;text-align:center}
body.final-mode.quiet-mode[data-caption=centred] .card-meta{flex-direction:column;text-align:center;align-items:center;gap:14px}
body.final-mode.quiet-mode[data-caption=centred] .book-card>.card-sub{text-align:center}
/* Lighting is measured from the same foreground, including reader themes. */
body.quiet-mode :where([data-light]:not([data-light=object])){--light-color:var(--reader-text,var(--text));--light-amount:5%;--light-shadow:0 4px 14px -8px color-mix(in srgb,var(--light-color) 8%,transparent);position:relative;isolation:isolate;transition:color .2s ease-out}
body.quiet-mode [data-light=primary]{--light-amount:10%;--light-shadow:0 6px 20px -8px color-mix(in srgb,var(--light-color) 20%,transparent)}
body.quiet-mode [data-light=tertiary]{--light-amount:2.5%;--light-shadow:none}
body.quiet-mode [data-light]:not([data-light=object]):before{content:'';position:absolute;inset:-3px -7px;border-radius:5px;background:color-mix(in srgb,var(--light-color) var(--light-amount),transparent);box-shadow:var(--light-shadow);z-index:-1;opacity:0;pointer-events:none;transition:opacity .2s ease-out}
body.quiet-mode .collection-entry[data-light]:before{inset:1px -13px;border-radius:5px}
body.quiet-mode .comparison-tools [data-light]:before{inset:0;border-radius:3px}
body.quiet-mode .main-nav [data-light]:before{inset:3px -10px}
body.quiet-mode .header-search[data-light]:before,body.quiet-mode .header-menu[data-light]:before,body.quiet-mode .icon-button[data-light]:before{inset:0}
body.quiet-mode [data-light][aria-disabled=true]:before,body.quiet-mode [data-light]:disabled:before{opacity:0!important;box-shadow:none}
body.quiet-mode [data-light]:focus-visible{outline:1.5px solid var(--reader-text,var(--text));outline-offset:5px}
body.quiet-mode [data-light]:not([data-light=object]):not(:disabled):not([aria-disabled=true]):focus-visible:before{opacity:1}
body.quiet-mode .collection-card-link:focus-visible .collection-entry:before{opacity:1}
body.quiet-mode .collection-card-link:focus-visible .entry-caption{color:var(--action-hover)}
body.quiet-mode [data-light]:not([data-light=object]):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]):not(.selected):not(.selection-button):focus-visible{color:var(--reader-text,var(--action-hover))}
@media(hover:hover) and (pointer:fine){
 body.quiet-mode [data-light]:not([data-light=object]):not(:disabled):not([aria-disabled=true]):hover:before{opacity:1}
 body.quiet-mode [data-light]:not([data-light=object]):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]):not(.selected):not(.selection-button):hover{color:var(--reader-text,var(--action-hover))}
 body.quiet-mode [data-light=tertiary]:not(:disabled):hover{color:var(--reader-text,var(--text))}
 body.quiet-mode .collection-card-link:hover .collection-entry:before{opacity:.35}
 body.quiet-mode .collection-card-link .collection-entry:hover:before{opacity:1}
 body.quiet-mode .collection-card-link:hover .entry-caption{color:var(--text)}
 body.quiet-mode .collection-card-link .collection-entry:hover .entry-caption{color:var(--action-hover)}
 body.quiet-mode .catalogue-tile:hover .tile-title-row h3{color:var(--text)}
}
@media(max-width:1150px){body.final-mode.quiet-mode[data-caption=editorial][data-action-style=type][data-combination=line] .collection-card-copy{column-gap:20px}body.final-mode.quiet-mode[data-caption=editorial] .collection-description h3{font-size:33px}}
@media(max-width:760px){
 body.final-mode.quiet-mode .collection-grid{row-gap:44px}
 body.final-mode.quiet-mode .collection-art{height:275px}
 body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-card-copy{padding:0}
 body.final-mode.quiet-mode .collection-description h3{font-size:29px;line-height:1.15;margin-bottom:9px}
 body.final-mode.quiet-mode .collection-description p{font-size:13px;line-height:1.65}
 body.final-mode.quiet-mode .collection-caption-footer{margin-top:12px}
 body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-count{font-size:11px}
 body.final-mode.quiet-mode[data-action-style=type][data-combination=line] .collection-entry{font-size:15px;min-height:44px}
 body.final-mode.quiet-mode .tile-title-row{gap:12px}
 body.final-mode.quiet-mode .tile-title-row h3{font-size:16px;line-height:1.35}
 body.final-mode.quiet-mode .tile-title-row p{font-size:12px}
 body.final-mode.quiet-mode[data-caption=editorial][data-action-style=type][data-combination=line] .collection-card-copy{display:block}
 body.final-mode.quiet-mode[data-caption=editorial] .collection-description{display:block}
 body.final-mode.quiet-mode[data-caption=editorial] .collection-description h3{font-size:35px;line-height:1.05;margin-bottom:16px;max-width:17ch}
 body.final-mode.quiet-mode[data-caption=editorial] .collection-description p{padding:0 0 0 20px;font-size:13px}
 body.final-mode.quiet-mode[data-caption=editorial] .collection-caption-footer{flex-direction:row;align-items:center;justify-content:space-between;margin-top:10px;padding-left:20px;gap:18px}
 body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row{display:flex;flex-direction:column;align-items:start;gap:12px;text-align:left}
 body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row h3{font-size:20px;line-height:1.13}
 body.final-mode.quiet-mode[data-caption=editorial] .tile-title-row p{font-size:11px}
 body.final-mode.quiet-mode[data-caption=centred][data-action-style=type][data-combination=line] .collection-card-copy{padding:0 6px}
 body.final-mode.quiet-mode[data-caption=centred] .collection-description h3{font-size:28px;line-height:1.18}
 body.final-mode.quiet-mode[data-caption=centred] .collection-description p{font-size:13px}
 body.final-mode.quiet-mode[data-caption=centred] .collection-caption-footer{gap:22px}
 body.final-mode.quiet-mode[data-caption=centred] .tile-title-row h3{font-size:16px}
 body.final-mode.quiet-mode .action-study-select select{width:118px}
}
@media(max-width:360px){body.final-mode.quiet-mode .collection-art{height:245px}body.final-mode.quiet-mode .collection-description h3{font-size:27px}body.final-mode.quiet-mode[data-caption=editorial] .collection-description h3{font-size:32px}body.final-mode.quiet-mode[data-caption=centred] .collection-description h3{font-size:26px}body.final-mode.quiet-mode .action-study-select select{width:99px}}
@media(prefers-reduced-motion:reduce){.quiet-mode *,.quiet-mode *:before,.quiet-mode *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Reader utility panels keep their dark chrome independently of paper colour. */
body.quiet-mode .reader-panel{--reader-text:var(--text)}
body.quiet-mode .selection-button{--light-color:var(--text)}
body.quiet-mode .reader-bottom .button:hover,body.quiet-mode .reader-bottom .button:focus-visible{background:transparent;color:var(--reader-text,var(--text))}
body.quiet-mode .reader-header-left .text-link{color:var(--reader-text,var(--text))}
body.quiet-mode .curator-disclosure{max-width:62ch;margin:16px 0 0;line-height:1.7}
body.quiet-mode .curator-reply{font-size:18px;line-height:1.65;max-width:50ch;margin:0 0 24px}
body.quiet-mode .curator-question{font-size:20px;line-height:1.6;margin:18px 0}
body.quiet-mode .curator-collections{margin-top:36px}
body.quiet-mode .curator-collections>h3{font-size:22px;font-weight:400;margin:0 0 22px}
body.quiet-mode .curator-collection{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 26px}
body.quiet-mode .curator-collection h4{font-size:18px;font-weight:400;margin:0 0 8px}
body.quiet-mode .curator-collection p{font-size:14px;line-height:1.7;color:var(--muted);max-width:45ch;margin:0 0 9px}
body.quiet-mode .curator-collection>.button{flex-shrink:0}
@media(max-width:760px){body.quiet-mode .curator-collection{align-items:start;flex-direction:column;gap:15px}}
