/* Book and collection pages. Shared site header, footer and brand tokens stay authoritative. */
html body .qz-book-page,html body .qz-catalogue-page{width:100%;max-width:none;margin:0;padding:0;color:#0A3B66}
.qz-book-page *, .qz-catalogue-page *{box-sizing:border-box}
.qz-book-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-block:20px;font-size:14px}
html body .qz-product-hero{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:clamp(30px,5vw,90px);align-items:start;padding-block:28px 44px}
.qz-product-cover{margin:0;display:grid;gap:16px;align-content:start;background:#f0f8fc;padding:24px;min-width:0}
.qz-product-cover>img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain;object-position:center}
.qz-product-cover figcaption{font-size:14px;text-align:center;color:#374e60}
.qz-book-eyebrow{font:600 12px/1.5 Helvetica,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px;color:#a34b00}
html body .qz-product-intro h1{font-family:Fredoka,'Fredoka One',Arial,sans-serif;font-size:clamp(32px,3.2vw,48px);line-height:1.13;font-weight:400;margin:0 0 14px}
.qz-book-byline{margin:0 0 20px;font-size:15px}.qz-product-summary{font-size:18px;line-height:1.65;margin:0 0 24px}
.qz-product-quickfacts{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:18px;margin:0;padding:20px 0;border-block:1px solid #ccdde7}
.qz-product-quickfacts dt,.qz-book-specs dt{font-size:13px;color:#374e60;margin-bottom:5px}.qz-product-quickfacts dd,.qz-book-specs dd{margin:0;font-size:16px;font-weight:600;line-height:1.5}
.qz-book-buy{padding:22px 0}.qz-book-price-label{margin:0;font-size:13px}.qz-book-price{font-size:28px;font-weight:600;line-height:1.5}.qz-book-price-pending{font-size:17px;font-weight:600}.qz-book-small{font-size:14px;line-height:1.6;color:#374e60;margin:9px 0 15px}
.qz-book-price + .qz-book-small{display:block;margin:2px 0 14px}

html body .qz-book-page .qz-book-button,html body .qz-catalogue-page .qz-book-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid #F57C1F;border-radius:4px;background:#F57C1F;color:#0A3B66!important;font:600 16px/1.4 Helvetica,Arial,sans-serif;text-decoration:none;cursor:pointer;max-width:100%;white-space:normal;text-align:center}
html body .qz-book-page .qz-book-button:disabled{background:#e6ebee;border-color:#c9d4dc;color:#526675!important;cursor:not-allowed;opacity:1}
html body .qz-book-page .qz-book-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;border:1px solid #0A3B66;border-radius:4px;color:#0A3B66!important;font-weight:600;background:transparent;margin-left:8px}
.qz-book-access{border-left:3px solid #F57C1F;padding:0 0 0 18px}.qz-book-access h2{font-size:21px;margin:0 0 8px}.qz-book-access p{font-size:15px;line-height:1.6;margin:0 0 10px}
.qz-book-section-nav{display:flex;gap:24px;flex-wrap:wrap;padding-block:18px;border-block:1px solid #cbdce6;background:#fff}.qz-book-section-nav a{padding-block:8px}
html body .qz-book-section{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:clamp(28px,5vw,80px);padding-block:44px;border-bottom:1px solid #d5e2e9;scroll-margin-top:30px}
.qz-book-tint{background:#f0f8fc}.qz-book-section-heading h2,.qz-book-related>h2{font:400 clamp(26px,2.2vw,34px)/1.25 Fredoka,'Fredoka One',Arial,sans-serif;margin:0 0 16px}.qz-book-section-heading>p{line-height:1.65}.qz-book-section-content>p{margin:0 0 18px;line-height:1.75}.qz-book-section-content h3{font-size:22px;line-height:1.3;margin:24px 0 14px}.qz-book-section-content h3:first-child{margin-top:0}.qz-book-section-content li{padding:6px 0;line-height:1.6}.qz-book-section-content ul{padding-left:22px;margin:0 0 22px}
.qz-back-copy{border-top:2px solid #F57C1F;padding-top:4px;margin-top:26px}.qz-back-copy p{line-height:1.75}
.qz-book-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin:0}.qz-book-specs>div{padding:14px 0;border-bottom:1px solid #ccdce7}.qz-kit-status{padding:14px 18px;background:#f0f8fc;border-left:3px solid #F57C1F;font-size:14px}.qz-kit-access{border-top:1px solid #d1dfe8;margin-top:25px;padding-top:8px}.qz-kit-access>a:last-child{display:inline-block;margin-left:18px}.qz-kit-access p{line-height:1.7}.qz-book-sponsor-actions{display:flex;flex-wrap:wrap;gap:12px}.qz-book-sponsor-actions .qz-book-secondary{margin-left:0!important}
.qz-book-related{padding-block:40px}.qz-book-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.qz-cover-pending{min-height:280px;aspect-ratio:4/5;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:28px;background:#0A3B66;border-bottom:5px solid #F57C1F;color:#fff;overflow-wrap:break-word}.qz-cover-pending>strong{font:400 28px/1.3 Fredoka,'Fredoka One',Arial,sans-serif;color:#fff}.qz-cover-pending>span{font-size:12px;letter-spacing:.04em;color:#fff}
.qz-catalogue-heading{background:#eff8fc;padding-block:35px 22px}.qz-catalogue-heading h1{font:400 clamp(30px,3vw,44px)/1.2 Fredoka,'Fredoka One',Arial,sans-serif;margin:0 0 15px}.qz-catalogue-heading>p{font-size:18px;line-height:1.6;margin:0 0 20px}.qz-collection-menu{display:flex;align-items:start;gap:30px;flex-wrap:wrap;border-top:1px solid #cfdee7;padding-top:18px}.qz-collection-menu>details{position:relative}.qz-collection-menu summary{cursor:pointer;font-weight:600;min-height:30px}.qz-collection-menu details>div{position:absolute;top:35px;left:0;z-index:10;min-width:250px;display:grid;background:#fff;border:1px solid #d0dfe8;box-shadow:0 8px 20px #0a3b661a;padding:10px}.qz-collection-menu details a{padding:10px 14px}
.qz-catalogue-browser{padding-block:28px}.qz-catalogue-page .book-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px;background:#f0f8fc;border:1px solid #d0dfe8;border-radius:4px}.qz-catalogue-page .book-filters label{display:grid;gap:7px;font-size:14px;font-weight:600;min-width:0}.qz-catalogue-page .book-filters input,.qz-catalogue-page .book-filters select{width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid #a8bdcc;border-radius:4px;background:white;font:400 16px Helvetica,Arial,sans-serif;color:#0A3B66}.qz-catalogue-page .book-filters button{justify-self:start;min-height:44px;padding:10px 18px;border:1px solid #0A3B66;background:#0A3B66;color:#fff;border-radius:4px;font-weight:600}
html body .qz-catalogue-page .master-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
html body .qz-catalogue-card{padding:0!important;margin:0!important;border:1px solid #d2e0e8!important;border-radius:4px!important;background:white;overflow:hidden;display:flex;flex-direction:column;min-width:0;overflow-wrap:break-word}
html body .qz-catalogue-card[hidden]{display:none!important}.qz-card-visual{display:block;background:#f0f8fc;aspect-ratio:4/3;overflow:hidden;padding:14px}.qz-card-visual>img{display:block;width:100%;height:100%;object-fit:contain}.qz-card-visual .qz-cover-pending{aspect-ratio:auto;min-height:100%;height:100%;padding:16px}.qz-card-visual .qz-cover-pending>strong{font-size:21px}.qz-card-visual .qz-cover-pending>span{font-size:10px}
.qz-card-copy{padding:20px;display:flex;flex-direction:column;flex:1}.qz-card-age{font-size:14px;margin:0 0 10px}.qz-card-copy h2{font:400 23px/1.25 Fredoka,'Fredoka One',Arial,sans-serif;margin:0 0 14px}.qz-card-description{font-size:15px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin:0 0 20px}.qz-card-bottom{margin-top:auto;display:grid;gap:12px;border-top:1px solid #d4e0e7;padding-top:15px}.qz-card-bottom .qz-book-price{font-size:22px}.qz-card-bottom .qz-book-price-pending{font-size:14px}.qz-catalogue-page .qz-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0}.qz-pagination[hidden]{display:none}.qz-pagination button{min-height:44px;background:#0A3B66;color:white;border:0;border-radius:4px;padding:10px 18px;font:600 15px Helvetica,Arial,sans-serif}.qz-pagination button:disabled{background:#dbe5ec;color:#536b7b}
@media(max-width:1100px){html body .qz-catalogue-page .master-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.qz-product-quickfacts{grid-template-columns:1fr 1fr}.qz-book-related-grid{gap:18px}}
@media(max-width:900px){html body .qz-product-hero{grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:28px}.qz-product-cover{padding:18px}.qz-product-summary{font-size:16px}.qz-product-quickfacts{grid-template-columns:1fr;gap:12px}.qz-book-section{grid-template-columns:1fr 1.5fr!important;gap:28px!important}.qz-book-secondary{margin-left:0!important;margin-top:10px}.qz-book-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body .qz-catalogue-page .master-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body .qz-product-hero{grid-template-columns:1fr;padding-top:16px;gap:25px}.qz-product-cover{padding:20px}.qz-product-cover>img{max-height:340px}.qz-product-cover .qz-cover-pending{min-height:250px;aspect-ratio:auto}.qz-product-quickfacts{grid-template-columns:1fr 1fr}.qz-product-quickfacts>div:nth-child(2){grid-column:1/-1;grid-row:2}.qz-product-intro h1{font-size:34px!important}.qz-book-buy .qz-book-button,.qz-book-buy .qz-book-secondary{width:100%;margin-left:0!important}.qz-book-section-nav{gap:12px 20px}.qz-book-section-nav a{font-size:14px}.qz-book-section{grid-template-columns:1fr!important;padding-block:30px!important;gap:12px!important}.qz-book-specs{grid-template-columns:1fr}.qz-book-sponsor-actions>*{width:100%}.qz-kit-access>a:last-child{margin:14px 0 0}.qz-book-related-grid{grid-template-columns:1fr}.qz-collection-menu{gap:16px;font-size:14px}.qz-catalogue-page .book-filters{grid-template-columns:1fr 1fr;padding:16px;gap:16px}.qz-catalogue-page .book-filters label:last-of-type{grid-column:1/-1}html body .qz-catalogue-page .master-book-grid{grid-template-columns:1fr}.qz-card-visual{aspect-ratio:4/3}.qz-card-description{-webkit-line-clamp:5}}
@media(prefers-reduced-motion:reduce){.qz-book-page *,.qz-catalogue-page *{scroll-behavior:auto!important}}

/* Override the older boxed catalogue rule without changing other site templates. */
html body main.qz-book-page.master-catalogue,html body main.qz-catalogue-page.master-catalogue{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

.qz-kit-inventory{display:grid;grid-template-columns:1fr 1fr;gap:24px}.qz-kit-inventory h3{margin-top:0}.qz-kit-inventory li{font-size:15px}
@media(max-width:1100px){.qz-kit-inventory{grid-template-columns:1fr}}
@media(max-width:600px){.qz-product-intro{display:contents}.qz-product-title-block{grid-row:1}.qz-product-hero .qz-product-cover{grid-row:2}.qz-product-title-block .qz-book-byline{margin-bottom:0}}

.qz-collection-menu{position:relative}
@media(max-width:600px){.qz-collection-menu>details{position:static}.qz-collection-menu details>div{top:100%;left:0;min-width:0;width:100%;max-width:100%}}

/* Collection navigation and cover-aware catalogue presentation. */
html body .qz-collection-menu{align-items:center;gap:0;padding-top:0;border-top:1px solid #cfdee7;border-bottom:1px solid #cfdee7;margin-top:24px;min-height:62px}
html body .qz-collection-menu>a,html body .qz-collection-menu summary{display:flex;align-items:center;gap:10px;min-height:60px;padding:16px 24px;font-size:16px;line-height:1.4;font-weight:600;white-space:normal}
html body .qz-collection-menu .qz-collection-all{padding-left:0;padding-right:28px}
html body .qz-collection-menu>details{border-left:1px solid #cfdee7}
html body .qz-collection-menu summary{list-style:none}
html body .qz-collection-menu summary::-webkit-details-marker{display:none}
html body .qz-collection-menu summary::before{display:none!important}
html body .qz-collection-menu summary::after{display:none!important}
html body .qz-collection-menu summary svg{flex:none;transform:none}
html body .qz-collection-menu details[open] summary svg{transform:rotate(180deg)}
html body .qz-collection-menu details>div{top:100%;min-width:290px;max-width:calc(100vw - 40px);padding:8px;z-index:30}
html body .qz-collection-menu details a{display:block;min-height:44px;padding:11px 14px;line-height:1.4}
html body .qz-collection-menu details a:hover,html body .qz-collection-menu details a:focus-visible{background:#eff8fc}
html body .qz-collection-menu .qz-collection-access{margin-left:auto;padding:10px 16px;min-height:44px;border:1px solid #cfdee7;border-radius:4px;background:#fff}
html body .qz-collection-menu a:focus-visible,html body .qz-collection-menu summary:focus-visible{outline:2px solid #0A3B66;outline-offset:3px}
@media(max-width:600px){html body .qz-collection-menu{gap:0;align-items:stretch}html body .qz-collection-menu>a,html body .qz-collection-menu summary{font-size:14px;min-height:52px;padding:14px 16px}html body .qz-collection-menu .qz-collection-all{padding-right:18px}html body .qz-collection-menu .qz-collection-access{margin:0 0 14px;width:100%;justify-content:space-between;min-height:44px;padding:12px 14px}html body .qz-collection-menu details>div{top:52px;max-width:100%;min-width:0}}

html body .qz-book-page .qz-book-dedication{font:400 16px/1.7 Helvetica,Arial,sans-serif;margin:20px 0;padding:0 0 0 16px;border-left:2px solid #F57C1F;color:#0A3B66}
html body .qz-book-page .qz-book-sponsor-website{display:inline-flex;align-items:center;min-height:44px;margin:0 20px 8px 0;font-weight:600}

/* Progressive book tabs. All sections remain readable when JavaScript is unavailable. */
.qz-book-page .qz-book-section-nav{display:flex;flex-wrap:wrap;gap:8px 28px;position:relative;z-index:1}
.qz-book-page .qz-book-section-nav a{padding:16px 0;border-bottom:3px solid transparent;transition:none}
.qz-book-tabs-ready .qz-book-section-nav a[aria-selected="true"]{color:#0A3B66;border-bottom-color:#F57C1F}
.qz-book-tabs-ready .qz-book-section-nav a:focus-visible{outline:2px solid #F57C1F;outline-offset:4px}
.qz-book-tabs-ready .qz-book-panels{min-height:440px}
.qz-book-tabs-ready .qz-book-panels>[hidden]{display:none!important}
.qz-book-tabs-ready .qz-book-panels>.qz-book-section{animation:qz-book-panel-in .16s ease-out}
@keyframes qz-book-panel-in{from{opacity:.35}to{opacity:1}}
.qz-sponsored-by,.qz-sponsor-names{font:600 15px/1.6 Helvetica,Arial,sans-serif;color:#0A3B66}
@media(prefers-reduced-motion:reduce){.qz-book-tabs-ready .qz-book-panels>.qz-book-section{animation:none}.qz-book-tabs-ready .qz-book-section-nav a{transition:none}}
