/* OREVYON / PURSUITS 5.1 QUALITY SYSTEM
   Reuses all existing content. The additional reading loads only when selected.
   Design: quiet premium utility, warm ivory, charcoal stone and restrained bronze. */
.pq-deepening,.pq-course-fold,.pq-worlds-fold{--pq-gold:#d3ae79;--pq-text:#efe6d7;--pq-muted:#c5b8a6;--pq-line:rgba(209,174,123,.29);font-family:'DM Sans',sans-serif;color:var(--pq-text);box-sizing:border-box}
.pq-deepening *,.pq-course-fold *,.pq-worlds-fold *{box-sizing:border-box}
.pq-deepening{margin:22px 0 36px;background:linear-gradient(110deg,#29251f,#191e19);border:1px solid var(--pq-line)}
.pq-deepening>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px clamp(18px,3vw,33px);cursor:pointer;list-style:none;min-height:104px}
.pq-deepening>summary::-webkit-details-marker,.pq-course-fold>summary::-webkit-details-marker,.pq-worlds-fold>summary::-webkit-details-marker{display:none}
.pq-summary-main,.pq-course-head,.pq-worlds-fold summary>span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}
.pq-kicker,.pq-course-head small,.pq-worlds-fold summary small{font:500 10px/1.6 'DM Sans',sans-serif;letter-spacing:.13em;color:var(--pq-gold)}
.pq-deepening-summary strong,.pq-course-head strong,.pq-worlds-fold summary strong{font:400 clamp(26px,3.3vw,43px)/1.13 'Italiana',Georgia,serif;color:var(--pq-text);letter-spacing:-.025em}
.pq-summary-copy,.pq-course-head em,.pq-worlds-fold summary em{font:400 12px/1.65 'DM Sans',sans-serif;color:var(--pq-muted);font-style:normal}
.pq-chevron,.pq-course-fold>summary>span:last-child,.pq-worlds-fold>summary>span:last-child{font:400 28px/1 Georgia,serif;color:var(--pq-gold);transition:transform .2s;flex-shrink:0}
.pq-deepening[open] .pq-chevron,.pq-course-fold[open]>summary>span:last-child,.pq-worlds-fold[open]>summary>span:last-child{transform:rotate(180deg)}
.pq-deepening-body{padding:0 clamp(13px,2.7vw,31px) 25px;border-top:1px solid var(--pq-line)}
.pq-deepening-intro{color:var(--pq-muted);font:400 13px/1.7 'DM Sans',sans-serif!important;margin:16px 0 20px!important}
.pq-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(164px,1fr));gap:8px;margin-bottom:11px}
.pq-tab{display:flex;gap:12px;text-align:left;align-items:flex-start;padding:17px 14px;min-height:83px;border:1px solid var(--pq-line);background:#22241f;color:var(--pq-text);cursor:pointer}
.pq-tab[aria-selected=true]{border-color:#d5b27d;background:#3d3225;box-shadow:inset 0 3px 0 #d5b27d}
.pq-tab-number{font:400 27px/1.2 'Italiana',Georgia,serif;color:var(--pq-gold)}
.pq-tab-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.pq-tab-copy strong{font:500 13px/1.45 'DM Sans',sans-serif;color:var(--pq-text)}
.pq-tab-copy small{font:400 11px/1.55 'DM Sans',sans-serif;color:var(--pq-muted)}
.pq-panels{max-width:100%;min-width:0}
.pq-panel{min-width:0;padding:0 0 4px}
.pq-panel[hidden]{display:none!important}
.pq-panel :is(.ser-editorial,.ser-terms,.fc-book,.lea-edition,.sea-studio,.sfd-reader){margin:0 0 20px;max-width:100%;width:100%}
.pq-panel :is(.study-focused-lesson,.study-editorial-chapter,.study-module-dossier,.study-signature){margin:0 0 20px;max-width:100%}
.pq-panel> :last-child{margin-bottom:0!important}
.pq-deepening :is(button,a,summary):focus-visible,.pq-course-fold summary:focus-visible,.pq-worlds-fold summary:focus-visible{outline:2px solid #e2c28c;outline-offset:4px}
.pq-reading-map{margin:24px 0 22px;padding:17px clamp(14px,2vw,23px);background:#20241e;border:1px solid rgba(209,174,123,.27)}
.pq-reading-map>small{font:500 10px/1.5 'DM Sans',sans-serif;letter-spacing:.12em;color:#d2b079}
.pq-reading-map>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.pq-reading-map a{display:inline-flex;align-items:center;gap:5px;text-decoration:none!important;border:1px solid rgba(213,179,123,.31);padding:10px 12px;min-height:42px;color:#e9dfcd!important;background:#181c17;font:500 12px/1.5 'DM Sans',sans-serif}
.pq-reading-map a span{color:#d2b079}
.pq-reading-map a:hover{border-color:#d2b079;background:#302b21}
.pq-reader-loaded .study-reader-shell .study-reading>p{font:400 clamp(18px,1.7vw,20px)/1.88 Georgia,serif!important;max-width:850px;color:#eee4d6}
.pq-course-fold{background:linear-gradient(110deg,#27241d,#192019);border:1px solid var(--pq-line);margin:23px 0 30px}
.pq-course-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;padding:21px clamp(17px,3vw,30px)}
.pq-course-head strong{font-size:clamp(24px,2.7vw,36px)}
.pq-course-fold>.sfd-course,.pq-course-fold>.fc-index{margin:0 20px 22px}
.pq-worlds-fold{margin:16px 0 20px;border:1px solid var(--pq-line);background:#1c1d18}
.pq-worlds-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px clamp(17px,2.5vw,29px)}
.pq-worlds-fold summary strong{font-size:clamp(22px,2.5vw,31px)}
.pq-worlds-fold>.hp-study-worlds{margin:0!important;border:0!important;border-top:1px solid var(--pq-line)!important;background:transparent!important}
body.study-member .house-pursuits-v4+.study-main .study-preface{display:none!important}
body.study-member .house-pursuits-v4+.study-main{padding-top:19px}
body.study-member .study-switch{margin:0 0 22px!important}
body.study-member .study-switch [data-study-view]{padding:15px 20px!important;font:500 13px/1.5 'DM Sans',sans-serif!important;min-height:46px}
body.study-member .study-filters .study-filter-controls:has(#studyCategory){display:none!important}
body.study-member .study-filter-controls label{font-size:12px;letter-spacing:.08em}
body.study-member .study-filters input,body.study-member .study-filters select{font-size:15px!important;min-height:48px}
body.study-member .study-browse-categories{scrollbar-width:thin}
body.study-member .study-browse-hero{margin-top:8px}
body.study-member .study-card h3{font-size:clamp(24px,2.5vw,32px)!important;line-height:1.2!important}
body.study-member .study-card p{font-size:13px!important;line-height:1.68!important}
body.study-member .study-course-hero p,body.study-member .study-course-modules p{font-size:14px!important;line-height:1.75!important}
body.study-member .study-reader .study-reader-title{font-size:clamp(37px,5vw,64px)!important;line-height:1.08!important}
body.study-member .study-reader #studyReflection{font-size:16px!important;line-height:1.75!important}
body.study-member .pq-deepening~.study-reader-section{scroll-margin-top:105px}
@media(max-width:730px){
 .pq-deepening{margin:16px 0 24px}
 .pq-deepening>summary{padding:18px 15px;min-height:88px}
 .pq-deepening-summary strong{font-size:30px}
 .pq-deepening-body{padding:0 11px 15px}
 .pq-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .pq-tab{min-height:95px;gap:8px;padding:13px 10px}
 .pq-tab-copy strong{font-size:12px}
 .pq-tab-copy small{font-size:11px;line-height:1.4}
 .pq-tab-number{font-size:24px}
 .pq-reading-map{padding:14px 12px;margin:15px 0 17px}
 .pq-reading-map>div{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}
 .pq-reading-map a{white-space:nowrap;flex-shrink:0;font-size:12px}
 .pq-course-fold>.sfd-course,.pq-course-fold>.fc-index{margin:0 9px 12px}
 .pq-worlds-fold summary strong{font-size:24px}
 body.study-member .house-pursuits-v4+.study-main{padding-top:10px}
 body.study-member .study-browse-hero{margin-top:0}
 body.study-member .study-filters{flex-wrap:wrap;gap:11px!important;margin:13px 0 24px!important}
 body.study-member .study-search{flex:1 1 100%;width:100%}
 body.study-member .study-filter-controls{flex:1 1 100%;min-width:0}
 body.study-member .study-switch [data-study-view]{padding:13px 15px!important}
 body.study-member .study-reader .study-reader-title{font-size:38px!important}
}
@media(max-width:380px){.pq-tabs{grid-template-columns:1fr}.pq-tab{min-height:62px}}
.os52-load-hint{margin:18px 0;padding:12px 15px;border:1px solid rgba(211,174,121,.29);background:#25261f;color:#d9c7ad;font:400 13px/1.65 'DM Sans',sans-serif}
.os52-load-hint.is-error{border-color:#af7d62;color:#ead0b9}
@media(prefers-reduced-motion:reduce){.pq-deepening *,.pq-course-fold *,.pq-worlds-fold *{transition:none!important}}
/* Pursuits 5.1 legibility and navigation accessibility overrides. */
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-tab{font-size:13px!important;min-height:51px!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-panel-head p{font-size:13px!important;line-height:1.65!important;max-width:380px!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-panel :is(.pv2-onboarding p,.pv2-world p,.pv2-found p,.pv2-path p,.pv2-story p){font-size:13px!important;line-height:1.68!important;max-width:560px!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-panel :is(.pv2-choice,.pv2-world-card,.pv2-found-card) :is(span,b){font-size:12px!important;line-height:1.5!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-location{font-size:12px!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-tab:focus-visible{outline:2px solid #d4b27e!important;outline-offset:3px!important}
body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .hp-linked-learning p{font-size:13px!important;line-height:1.65!important}
@media(max-width:730px){
 body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-tab{font-size:12px!important;padding:11px 8px!important}
 body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-panel-head{align-items:flex-start}
 body.member-shell-v2[data-member-surface="pursuits"].ph3-member-workspace .ph3-panel-head p{font-size:12px!important;max-width:100%!important}
}