/* Reading, discovery, and Atlas components. The brand palette remains centralized. */
.menu-toggle,.mobile-seerah{display:none!important}.editorial-byline{font-size:12px;color:var(--muted);margin:0 0 18px}.editorial-byline a{text-decoration:underline;text-underline-offset:3px}.source-box .source-link,.account-source-row .source-link,.learning-event-sources .source-link{font-size:14px;line-height:1.65}.source-link:focus-visible{outline:3px solid var(--pl-dark-gold);outline-offset:4px}.collection-learning{max-width:1120px;margin:24px auto 52px;width:88%}.chapter-learning{margin:26px 0 36px}.chapter-learning figcaption{display:block!important;background:transparent!important;color:var(--ink)!important}.chapter-learning figcaption .eyebrow{color:var(--pl-dark-gold)!important}.chapter-learning h2{font-family:var(--serif);font-size:29px!important}.chapter-learning-art .learning-symbol{max-height:200px}.chapter-learning figcaption p{font-size:16px;line-height:1.75}.reading>figure.chapter-learning{background:#fffdf6;border-color:#c49a5055}.reading>figure.chapter-learning .chapter-learning-art{background:var(--pl-midnight)}
.recap-content .journey-grid>li{display:grid;grid-template-columns:47px minmax(0,1fr);gap:14px 18px;align-items:start}.recap-content .journey-grid .recap-learning-cue{grid-column:1/-1;grid-row:1;border-bottom:1px solid #c49a503b;margin:0 0 3px;padding:0 0 15px}.recap-content .journey-grid .journey-number{grid-column:1;grid-row:2}.recap-content .journey-grid>li>div:last-child{grid-column:2;grid-row:2}.recap-content .journey-grid .source-link{font-size:13px}
.collection-progress{margin-top:18px}.learning-progress{display:grid;grid-template-columns:auto minmax(80px,180px);gap:9px 16px;align-items:center;max-width:450px}.learning-progress>div{display:flex;gap:7px;align-items:baseline;font-size:12px}.learning-progress strong{font-size:14px;white-space:nowrap}.learning-progress small{grid-column:1/-1;font-size:11px;opacity:.8}.learning-progress progress{appearance:none;width:100%;height:6px;border:0;border-radius:3px;overflow:hidden;background:#c49a5038}.learning-progress progress::-webkit-progress-bar{background:#c49a5038}.learning-progress progress::-webkit-progress-value{background:var(--pl-antique-gold)}.learning-progress progress::-moz-progress-bar{background:var(--pl-antique-gold)}.story-hero .learning-progress{color:var(--pl-sand)}.recap-summary{flex-wrap:wrap}.recap-summary .collection-progress{flex:1 0 100%;margin:0}.completion-control{padding:23px 0 12px;display:flex;align-items:center;flex-wrap:wrap;gap:15px}.complete-chapter{font-size:14px;min-height:46px;text-transform:none!important;letter-spacing:0!important}.complete-chapter[aria-pressed=true]{background:var(--pl-deep-teal);color:var(--pl-ivory);border-color:var(--pl-deep-teal)}.completion-status{font-size:13px;color:var(--muted)}.chapter-status{display:block;font-size:11px;color:var(--pl-dark-gold);margin-top:8px;font-weight:600}
.filter-reset{display:block;padding:11px 18px;background:var(--pl-midnight);color:var(--pl-ivory);border-radius:5px;font-size:13px;margin:20px 0}.filter-reset[hidden]{display:none}.chapter-search-results:empty{display:none}.chapter-search-results{padding:28px 0 15px}.search-heading h2{font-size:32px;margin-bottom:12px}.search-heading p{font-size:14px}.search-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;max-height:600px;overflow:auto;padding:3px 6px 12px 0}.search-chapters>a{display:flex;flex-direction:column;gap:10px;background:#fffdf6;border:1px solid #c49a5050;border-radius:7px;padding:22px}.search-chapters>a:hover{border-color:var(--pl-dark-gold);background:#f1ead8}.search-chapters>a>span:first-child{font-size:12px;font-weight:600;color:var(--pl-dark-gold)}.search-chapters strong{font-family:var(--serif);font-size:25px;font-weight:400;line-height:1.2}.search-chapters small{font-size:13px;line-height:1.7}.search-reference{font-size:11px;margin-top:auto;color:var(--muted)}.bibliography-panel{margin:35px 0}.bibliography-panel article{padding:22px;background:#fffdf6;border:1px solid #c49a5045;border-radius:7px;margin-bottom:16px}.bibliography-panel h3{font-size:26px}.bibliography-panel article p{margin-bottom:9px}
.atlas-map-toolbar{align-items:center;gap:12px}.atlas-map-toolbar #expand-map{padding:10px 15px;min-height:44px;background:var(--pl-midnight);color:var(--pl-ivory);border:1px solid var(--pl-midnight);border-radius:4px;font-size:12px}.map-quick-detail{display:none}.atlas-map-surface>svg{width:100%;height:100%;display:block}.atlas-static-preview{width:100%;height:100%;object-fit:fill;display:block}.atlas-map-column.is-expanded{position:fixed;inset:14px;z-index:100;display:flex;flex-direction:column;background:var(--pl-ivory);border:1px solid var(--pl-antique-gold);border-radius:9px;box-shadow:0 0 0 30px #061f29cc;overflow:auto;padding:12px}.atlas-map-column.is-expanded .atlas-map-surface{flex:1;min-height:260px;max-height:none;height:auto;aspect-ratio:auto}.atlas-map-column.is-expanded .atlas-map-toolbar{padding:8px;border:0}.atlas-map-column.is-expanded .atlas-map-help,.atlas-map-column.is-expanded .atlas-legend,.atlas-map-column.is-expanded .atlas-intro,.atlas-map-column.is-expanded .atlas-attribution{display:none}.atlas-map-column.is-expanded .map-quick-detail{display:block;max-height:180px;overflow:auto;padding:18px}.map-expanded{overflow:hidden}.map-quick-detail h3{font-size:25px;margin-bottom:10px}.map-quick-detail p{font-size:14px;margin-bottom:12px;line-height:1.7}.map-quick-detail .eyebrow{font-size:10px;margin-bottom:9px}.map-quick-detail .source-link{display:inline-block;margin-right:14px;font-size:13px}.atlas-story-stages{margin:35px 0 10px;padding:28px;background:#fffdf6;border:1px solid #c49a5050;border-radius:8px}.atlas-story-stages h3{font-size:29px}.atlas-story-stages>p{font-size:14px}.atlas-story-stages ol{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.atlas-story-stages li{padding:18px;border-top:2px solid var(--pl-antique-gold);background:var(--pl-ivory)}.atlas-story-stages li>a:first-child{display:flex;flex-direction:column;gap:12px}.atlas-story-stages li span{font-family:var(--serif);font-size:25px;color:var(--pl-dark-gold)}.atlas-story-stages li strong{font-weight:500;font-size:15px;line-height:1.5}.atlas-story-stages .source-link{font-size:12px;display:inline-block;margin-top:14px}
@media(max-width:1050px){.search-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-story-stages ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){:root{--header-height:76px}html{scroll-padding-top:96px}.site-header{height:76px;min-height:76px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 6%;gap:14px;position:sticky;top:0}.site-header .brand{margin:0;padding:0;max-width:55%;flex:1}.site-header .brand-logo{width:164px;height:auto;max-height:62px;object-fit:contain;object-position:left center}.site-header .menu-toggle{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:76px;padding:9px 12px;order:3;border:1px solid #c49a5070;border-radius:5px;color:var(--pl-ivory);background:#ffffff08;font-size:12px}.menu-toggle span{font-size:18px;line-height:1}.site-header nav{display:none;position:absolute;left:0;right:0;top:76px;width:auto;height:auto;margin:0;padding:12px 6%;background:var(--pl-midnight);border-top:1px solid #c49a5040;border-bottom:1px solid #c49a5060;box-shadow:0 8px 20px #061f2920;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.site-header.menu-open nav{display:grid}.site-header nav a{min-height:50px;height:auto;flex-direction:column;gap:7px;padding:9px 3px;font-size:12px}.site-header nav .mobile-seerah{display:flex!important;justify-content:center;color:var(--pl-midnight);background:var(--pl-antique-gold);border-radius:4px}.site-header .header-seerah{order:2;min-height:44px;padding:11px 14px;white-space:nowrap;font-size:12px}.collection-jump{top:76px;padding:7px 6%;height:49px}.mobile-chapter-picker{top:76px;height:64px;display:grid;grid-template-columns:minmax(0,1fr) 103px;gap:10px;padding:10px 6%;align-items:center}.mobile-chapter-picker>label{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.mobile-chapter-picker select{height:44px;min-height:44px;max-width:100%;font-size:12px;padding-top:8px;padding-bottom:8px}.chapter-drawer{position:relative;height:44px}.chapter-drawer summary{display:flex;align-items:center;justify-content:center;height:44px;padding:9px 10px;list-style:none;background:var(--pl-midnight);color:var(--pl-ivory);font-size:12px;border-radius:4px;cursor:pointer}.chapter-drawer summary::-webkit-details-marker{display:none}.chapter-drawer summary:after{content:'+';font-size:16px;margin-left:8px}.chapter-drawer[open] summary:after{content:'−'}.chapter-drawer nav{position:absolute;right:0;top:51px;width:calc(88vw);max-height:55vh;overflow:auto;display:flex;flex-direction:column;gap:0;padding:10px 15px;background:#fffdf6;border:1px solid var(--pl-antique-gold);border-radius:5px;box-shadow:0 12px 30px #061f2930}.chapter-drawer nav a{font-size:13px;padding:12px 7px;line-height:1.5;border-bottom:1px solid #c49a5025}.chapter-drawer nav a[aria-current=page]{color:var(--pl-dark-gold);font-weight:600}.collection-learning{width:88%;margin:24px auto 35px}.search-chapters{max-height:540px}.atlas-map-surface{height:350px;aspect-ratio:auto}.map-quick-detail{display:block;border:1px solid #c49a5050;border-top:0;border-radius:0 0 6px 6px;padding:20px;background:#fffdf6}.atlas-map-column.is-expanded{inset:6px;padding:6px}.atlas-map-column.is-expanded .atlas-map-surface{min-height:230px}.atlas-map-column.is-expanded .map-quick-detail{max-height:185px;padding:14px}.atlas-map-toolbar{padding:10px;gap:9px}.atlas-map-toolbar .atlas-layers{gap:12px;font-size:12px}.atlas-map-toolbar .atlas-pan button{font-size:11px;padding:8px 10px;min-height:36px}.atlas-zoom button{min-height:40px}.atlas-story-stages{padding:23px}.atlas-story-stages ol{gap:10px}.recap-content .journey-grid>li{grid-template-columns:37px minmax(0,1fr);gap:12px}.learning-progress{grid-template-columns:1fr;gap:8px}.learning-progress progress{max-width:260px}.learning-progress small{grid-column:auto}}
@media(max-width:480px){.site-header .header-seerah{display:none}.site-header .brand{max-width:65%}.site-header nav{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header nav a{flex-direction:row;min-height:46px}.site-header nav .nav-icon{width:18px}.search-chapters{grid-template-columns:1fr;max-height:520px}.search-chapters>a{padding:19px}.chapter-learning{grid-template-columns:1fr}.chapter-learning-art{min-height:155px!important}.chapter-learning figcaption{padding:23px 20px!important}.chapter-learning-art .learning-symbol{height:132px;width:132px}.chapter-learning h2{font-size:26px!important}.chapter-learning figcaption p{font-size:14px}.recap-content .journey-grid h2{font-size:24px}.completion-control{align-items:flex-start;flex-direction:column}.complete-chapter{width:100%;justify-content:center}.atlas-story-stages ol{grid-template-columns:1fr}.atlas-map-surface{height:330px}.map-quick-detail .source-link{font-size:13px}.editorial-byline{font-size:11px}}
@media(prefers-reduced-motion:reduce){.search-chapters a,.complete-chapter{transition:none}}
@media print{.menu-toggle,.mobile-chapter-picker,.completion-control,.collection-progress,#expand-map,.map-quick-detail{display:none!important}.atlas-map-column.is-expanded{position:static;box-shadow:none}.atlas-story-stages ol{grid-template-columns:repeat(4,1fr)}.search-chapters{max-height:none;overflow:visible}}
.chapter-learning-art{background-size:cover!important;background-position:center!important}.chapter-learning-art .learning-symbol{color:#e3c58b}.art-context{font-size:12px!important;line-height:1.7!important;border-top:1px solid #c49a5040;padding-top:13px;margin:18px 0 0}.art-context a{text-decoration:underline;text-underline-offset:3px}
.source-inline{font:inherit;color:inherit;text-decoration:underline;text-decoration-color:var(--pl-dark-gold);text-underline-offset:4px}.source-inline:hover{color:var(--pl-dark-gold)}.chapter-drawer summary:focus-visible{outline:3px solid var(--pl-dark-gold);outline-offset:3px}
.controls-retry{padding:18px 6%;margin:0;background:#eee5ce;font-size:14px}.controls-retry button{padding:9px 13px;border-radius:4px;background:var(--pl-midnight);color:var(--pl-ivory);margin-left:12px}

/* Use the compact header on tablets and phones in landscape too. */
@media(max-width:1100px){:root{--header-height:76px}html{scroll-padding-top:96px}.site-header{height:76px;min-height:76px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 6%;gap:14px;position:sticky;top:0}.site-header .brand{margin:0;padding:0;max-width:55%;flex:1}.site-header .brand-logo{width:164px;height:auto;max-height:62px;object-fit:contain;object-position:left center}.site-header .menu-toggle{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:76px;padding:9px 12px;order:3;border:1px solid #c49a5070;border-radius:5px;color:var(--pl-ivory);background:#ffffff08;font-size:12px}.menu-toggle span{font-size:18px;line-height:1}.site-header nav{display:none;position:absolute;left:0;right:0;top:76px;width:auto;height:auto;margin:0;padding:12px 6%;background:var(--pl-midnight);border-top:1px solid #c49a5040;border-bottom:1px solid #c49a5060;box-shadow:0 8px 20px #061f2920;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.site-header.menu-open nav{display:grid}.site-header nav a{min-height:50px;height:auto;flex-direction:column;gap:7px;padding:9px 3px;font-size:12px}.site-header nav .mobile-seerah{display:flex!important;justify-content:center;color:var(--pl-midnight);background:var(--pl-antique-gold);border-radius:4px}.site-header .header-seerah{order:2;min-height:44px;padding:11px 14px;white-space:nowrap;font-size:12px}.site-header .header-seerah{display:none}.site-header.seerah-fits .header-seerah{display:flex}.site-header.seerah-fits nav .mobile-seerah{display:none!important}.site-header.seerah-fits nav{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keep all primary links visible whenever the measured header contents fit. */
@media(max-width:1100px){
 .site-header.nav-fits .menu-toggle{display:none!important}
 .site-header.nav-fits nav{display:flex;position:static;flex:0 0 auto;width:auto;height:auto;margin:0;padding:0;gap:2px;background:transparent;border:0;box-shadow:none}
 .site-header.nav-fits nav a{min-height:44px;height:auto;flex-direction:row;padding:8px;gap:6px;font-size:12px}
 .site-header.nav-fits nav .nav-icon{width:17px;height:17px;flex-basis:17px}
 .site-header.nav-fits nav .mobile-seerah{display:none!important}
}

/* Section navigation sits directly beneath the current responsive masthead. */
.collection-jump,.mobile-chapter-picker{top:var(--header-height)}
