.school-header,.school-shell{font-family:ui-sans-serif,system-ui,sans-serif;color:#173a5e}.school-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px max(24px,calc((100% - 1160px)/2));border-bottom:1px solid #d9e5dd;background:#fff}.school-header nav{display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:14px}.school-brand{font-weight:850;font-size:24px;white-space:nowrap}.school-shell{max-width:1160px;margin:0 auto;padding:48px 24px 80px;line-height:1.65}.school-shell h1{font-size:clamp(32px,5vw,56px);line-height:1.08;letter-spacing:-.035em;font-weight:800;margin:12px 0 24px}.school-shell h2{font-weight:800;font-size:24px;line-height:1.25;margin:0 0 16px}.school-shell h3{font-size:20px;font-weight:750}.school-shell p{margin:12px 0}.school-shell a:not(.school-button),.school-header nav a,.school-link{color:#17665e;text-decoration:underline;text-underline-offset:4px}.school-narrow{max-width:760px}.school-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800;color:#2d776a}.school-lead{font-size:20px;color:#506e68;max-width:650px}.school-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;margin-bottom:48px}.school-hero-image{width:100%;border-radius:36px;aspect-ratio:1;object-fit:cover}.school-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.school-grid.three{grid-template-columns:repeat(3,1fr)}.school-card{padding:28px;border:1px solid #cbded4;border-radius:24px;background:#fff;margin:24px 0;box-shadow:0 4px 20px #173a5e06}.school-grid>.school-card{margin:0 0 24px}.school-offer,.school-share{background:#edf6ee}.school-offer{max-width:760px}.school-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:24px 0}.school-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 20px;border:1px solid #19776e;border-radius:12px;background:#19776e;color:white!important;font:inherit;font-weight:750;cursor:pointer;text-decoration:none}.school-button.secondary{background:#fff;color:#17665e!important}.school-button:disabled{opacity:.5;cursor:not-allowed}.school-form{display:flex;flex-direction:column;gap:8px}.school-form label,.school-form legend,.school-invitation label,.school-share label{font-weight:750}.school-form input:not([type=checkbox]):not([type=submit]),.school-form select,.school-form textarea,.school-invitation input,.school-share input{padding:12px;border:1px solid #9bb9ac;border-radius:9px;background:white;color:#173a5e;min-height:46px;width:100%;box-sizing:border-box;font:inherit}.school-form p{font-size:14px;color:#506e68;margin:0 0 14px}.school-form fieldset{border:0;padding:16px 0;margin:0}.school-check{display:flex;align-items:center;gap:12px;padding:8px 0}.school-check input{width:20px;height:20px;accent-color:#19776e}.school-form input[type=submit]{margin-top:16px}.school-license{display:flex;justify-content:space-between;gap:24px;background:#f4f8f3}.school-shell ol,.school-shell ul{padding-left:24px;list-style:revert}.school-shell li{margin:8px 0}.school-message,.school-error{padding:16px;border-radius:10px;background:#e3f4e9}.school-error{background:#fff0eb;color:#8b3022}.school-invitation{padding:24px 0;border-top:1px solid #cbded4;margin-top:24px}.school-link{background:none;border:none;font:inherit;cursor:pointer;margin-top:20px}.school-link.danger{color:#a23325}.school-share{text-align:center}.school-share ul{text-align:left}.school-expiry{padding:16px;border-radius:12px;background:#fff}.school-expiry strong,.school-expiry small{display:block}.school-qr{width:200px;max-width:100%;margin:20px auto}.school-qr svg{width:100%;height:auto}.school-code{font-size:clamp(17px,3vw,23px);letter-spacing:.05em;display:block;font-family:ui-monospace,monospace}.school-parent-note{border-top:1px solid #cbded4;margin-top:24px;padding-top:24px}.school-wrap,.school-parent-note{overflow-wrap:anywhere}.school-share .school-button{margin:16px 0}.school-story-card{display:flex;gap:24px;align-items:center}.school-story-card img{width:100px;height:100px;border-radius:14px;object-fit:cover}.school-story-image{max-height:320px;width:100%;object-fit:cover;border-radius:16px}.school-reader section{padding:20px 0;border-bottom:1px solid #e3ece6;font-size:24px}.school-entry-banner{display:flex;gap:16px;flex-wrap:wrap;padding:20px 32px;background:#e6f3eb;color:#173a5e}.school-entry-banner a{font-weight:bold;text-decoration:underline}.school-shell :focus-visible,.school-header :focus-visible{outline:3px solid #19776e;outline-offset:4px}
@media(max-width:760px){.school-header{align-items:flex-start;flex-direction:column;padding:20px}.school-grid,.school-grid.three,.school-hero{grid-template-columns:1fr}.school-hero{gap:20px}.school-hero-image{aspect-ratio:16/9}.school-license{display:block}.school-shell{padding:32px 18px 60px}.school-card{padding:22px}.school-story-card{gap:14px}.school-story-card img{width:72px;height:72px}}
@media print{.no-print,.school-header,.school-entry-banner{display:none!important}.school-shell{padding:0;max-width:none;margin:0;color:#000;font-size:11pt}.collection-layout{display:block}.school-share{border:1px solid #aaa;background:#fff;box-shadow:none;max-width:620px;margin:0 auto!important;padding:24px;break-inside:avoid}.school-qr{width:145px;margin:12px auto}.school-share h2{font-size:24pt}.school-share p{margin:8px 0}.school-expiry{border:1px solid #ccc;padding:10px}.school-parent-note{padding-top:12px;margin-top:12px}.school-code{font-size:18pt}.school-reader section{break-inside:avoid}}
@media print{.collection-layout{display:block!important;margin:0!important}.collection-detail{padding:0!important}.collection-handout{max-width:6.8in;margin:0 auto!important;background:#fff!important;box-shadow:none!important;border:1px solid #aaa!important;break-inside:avoid}.collection-qr{width:1.4in!important}.collection-handout p{margin-top:8px!important}.collection-handout h2{font-size:22pt!important}}

/* Reader banners borrow the marketing site's layered paper illustrations. */
.school-shell .reader-banner{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:center;background:#f5f5ec;border-color:#d9e0d1;box-shadow:none}
.school-shell .reader-banner--family{background:#fbf5e9;border-color:#e5dcc7}
.reader-banner-copy{min-width:0}
.reader-banner-art{position:relative;width:180px;height:190px;isolation:isolate}
.reader-art-backdrop{position:absolute;inset:15px 0 6px;background:#e4eada;border-radius:52% 42% 35% 48%;transform:rotate(-8deg);background-image:url("/marketing/assets/ripples-sage.svg");background-size:cover;opacity:.8}
.reader-art-browser,.reader-art-story{position:absolute;left:0;top:22px;width:145px;padding:8px;background:#fffdf7;border:1px solid #d3dac9;border-radius:8px;transform:rotate(-7deg);box-shadow:0 8px 15px #183e3310}
.reader-art-chrome{display:flex;gap:4px;height:11px}.reader-art-chrome i{width:3px;height:3px;border-radius:50%;background:#bbcbb4}
.reader-art-browser>img,.reader-art-story>img{display:block;width:100%;height:84px;object-fit:cover;border-radius:4px}
.reader-art-browser>span{display:block;margin-top:7px;font-size:9px;font-weight:700;color:#376d58}
.reader-art-phone{position:absolute;right:2px;bottom:11px;width:60px;padding:7px 4px;background:#fffdf7;border:2px solid #8fa47e;border-radius:11px;transform:rotate(8deg);box-shadow:0 8px 15px #183e3310}
.reader-art-phone>span{display:block;width:18px;height:3px;background:#c3cdb9;border-radius:3px;margin:0 auto 7px}.reader-art-phone>img{width:100%;height:60px;object-fit:cover;border-radius:4px}.reader-art-phone>svg{display:block;width:23px;height:23px;margin:5px auto 0;background:#e4eada;border-radius:50%;color:#376d58;padding:3px}
.reader-art-story{left:15px;top:18px;transform:rotate(7deg)}.reader-art-story>span{display:block;margin-bottom:7px;font-family:Georgia,serif;font-style:italic;font-size:11px;color:#376d58}.reader-art-lines{padding-top:7px}.reader-art-lines i{display:block;height:3px;width:80%;margin-bottom:4px;background:#d5decb;border-radius:2px}.reader-art-lines i:last-child{width:60%}.reader-art-handout{position:absolute;left:-10px;bottom:-3px;width:86px;transform:rotate(-10deg)}
.school-shell .reader-story-card{border:1px solid #d9e0d1;border-radius:20px;background:#fffefa;box-shadow:0 3px 12px #173a5e05}
.school-shell .reader-story-card--school{border-color:#d9bd79;background:#fffaf0;box-shadow:0 5px 16px rgba(139,104,35,.09)}
.school-shell .reader-story-card--family{border-color:#acd2c7;background:#f4fbf8;box-shadow:0 5px 16px rgba(35,112,101,.08)}
.reader-story-source-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}
.reader-story-source-badge{display:inline-flex;min-height:28px;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;letter-spacing:.02em}
.reader-story-card--school .reader-story-source-badge{background:#f1dfae;color:#604915}
.reader-story-card--family .reader-story-source-badge{background:#cfeae2;color:#175b56}
.reader-story-source-detail{font-size:13px;font-weight:700;color:#62716a}
.reader-story-card--school .reader-story-link{border-top-color:#e7d6aa;background:#fffdf8}
.reader-story-card--family .reader-story-link{border-top-color:#cfe5de;background:#f9fdfb}
.reader-library-filters{display:grid;align-items:end;gap:12px;max-width:1024px}
.reader-library-detail-filters{display:grid;gap:12px}
@media(min-width:768px){.reader-library-filters{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.reader-library-detail-filters{display:contents}}
.school-shell .reader-story-card h2 a{text-decoration:none;color:#173e39}.school-shell a.reader-story-link{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:16px 20px;border-top:1px solid #e3e6db;font-weight:750;text-decoration:none;color:#245f53}.school-shell a.reader-story-link:hover{background:#f0f3e8}.reader-story-link svg{width:20px;height:20px;flex-shrink:0}
@media(max-width:600px){.school-shell .reader-banner{grid-template-columns:minmax(0,1fr);gap:12px}.reader-banner-art{justify-self:center;width:180px;height:175px}.school-shell .reader-banner h2{font-size:26px}.school-shell .reader-banner p{font-size:16px}}
.school-shell .reader-access-banner{position:relative;background:#edf3e8 url("/marketing/assets/ripples-light.svg") no-repeat right top;background-size:240px auto;border-color:#d4dfcc;padding:22px 26px;color:#173a5e;box-shadow:none}
.school-shell .reader-access-banner h2{font-size:22px;margin-bottom:8px}.school-shell .reader-access-banner p{margin:8px 0;font-size:16px}.reader-access-banner summary{cursor:pointer;padding:8px 0;font-weight:750}.reader-save-form{max-width:640px;margin-top:12px}.school-shell .reader-access-banner a,.school-shell .reader-banner a,.school-shell .reader-story-card h2 a,.school-shell a.reader-story-link{color:#173a5e}.reader-access-banner details[open]{margin-top:12px}.school-shell .reader-banner-copy h2{color:#173a5e}
.school-shell .reader-access-banner{overflow:hidden;background-image:url("/marketing/assets/ripples-sage.svg");background-position:right -55px top -100px;background-size:300px 300px}
.school-shell .reader-family-footer{position:sticky;bottom:12px;z-index:20;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:14px 20px;box-shadow:0 6px 24px #173a5e16;margin-bottom:0}.reader-family-footer .reader-banner-art{width:180px;height:150px;transform:scale(.5);transform-origin:top left;margin-right:-90px;margin-bottom:-75px}.school-shell .reader-family-footer h2{font-size:20px;margin-bottom:4px}.school-shell .reader-family-footer p{font-size:14px;margin:3px 0}.school-shell .reader-family-footer a{display:inline-block;padding:8px 0;font-size:16px}.school-shell:has(.reader-family-footer){padding-bottom:24px}
@media(max-width:600px){.school-shell .reader-family-footer{bottom:calc(8px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);padding:12px 18px}.reader-family-footer .reader-banner-art{display:none}.school-shell .reader-family-footer h2{font-size:18px}}
.school-shell .reader-family-footer{width:100%;max-width:520px;margin-left:auto;margin-right:auto}
.school-shell .reader-story-category{display:inline-block;margin:0 0 12px;padding:5px 10px;border-radius:8px;background:#f0ebdf;color:#173a5e;font-size:14px;font-weight:700;line-height:1.4}
.school-shell .reader-family-footer{margin-right:0;padding-right:48px}.reader-family-dismiss{position:absolute;right:4px;top:4px;width:40px;height:40px;border-radius:50%;font-size:24px;line-height:1;color:#173a5e;cursor:pointer}.reader-family-dismiss:hover{background:#eae4d8}.school-shell .reader-family-footer[hidden]{display:none}
.school-shell .reader-access-banner{padding-right:48px}.school-shell [data-dismissible-banner][hidden]{display:none}
.reader-access-banner summary.reader-create-account{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;padding:10px 18px;border:1px solid #173a5e;border-radius:10px;background:#173a5e;color:#fff;list-style:none;font-weight:750}.reader-create-account::-webkit-details-marker{display:none}.reader-create-account:hover{background:#244b70}.reader-create-account:focus-visible{outline:2px solid #173a5e;outline-offset:3px}.school-shell .reader-account-caption{font-size:14px;margin-top:6px}
.reader-family-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.school-shell .reader-family-actions .reader-trial-link{padding:8px 12px;border:1px solid #173a5e;border-radius:8px;font-weight:750;text-decoration:none}

.onboarding-assign-hint{animation:onboarding-assign-pulse 1.8s ease-in-out 3}
@keyframes onboarding-assign-pulse{50%{box-shadow:inset 0 0 0 3px currentColor}}
@media(prefers-reduced-motion:reduce){.onboarding-assign-hint{animation:none}}

#educator-onboarding{scroll-margin-top:24px}#story-page-workspace,#share-with-home{scroll-margin-top:24px}
#educator-onboarding .onboarding-action{border-color:#477699;color:#244e74;background:#fff}
#educator-onboarding .onboarding-action.bg-teal-700{background:#356c98;color:#fff}
#educator-onboarding .onboarding-action:hover{background:#d9e9f7;color:#173a5e}

/* A quiet invitation at the end of the school's assigned stories. */
.reader-catalog-teaser{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:28px;border-radius:20px;background:#f1f2f3;color:#173a5e}
.school-shell .reader-catalog-teaser h2{font-size:28px;margin-bottom:4px}
.school-shell .reader-catalog-teaser p{font-size:16px;color:#536174}
.school-shell .reader-catalog-teaser .school-eyebrow{margin-top:12px;font-size:12px;color:#536174}
.school-shell .reader-catalog-link{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;margin-top:auto;padding-top:20px;font-weight:750;color:#173a5e}
.reader-catalog-link:hover{color:#17665e}

.story-tag-drawer{inset:0 0 0 auto!important;width:min(28rem,100%)!important;max-width:100%!important;height:100dvh;max-height:100dvh!important;margin:0!important;border-radius:20px 0 0 20px!important;padding-bottom:max(24px,env(safe-area-inset-bottom))}

/* Hidden catalog stories stay readable and actionable, with muted artwork. */
.catalog-story--hidden{background:#f5f6f7;border-color:#d5d9df}
.catalog-story--hidden .catalog-story-cover{filter:grayscale(1)}
.catalog-story-hidden-overlay{background:rgba(148,163,184,.18)}

.story-question-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr)}
@media(min-width:1024px){.story-question-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}}

.dashboard-metric-card{position:relative;isolation:isolate;overflow:hidden}
.dashboard-metric-art{width:200px;height:200px;position:absolute;top:-66px;right:-58px;z-index:-1;opacity:.18;pointer-events:none;transform:rotate(-15deg)}
.dashboard-metric-card{box-shadow:0 2px 5px #173f3c08;border-radius:12px}

.organization-logo-input{color:#567269;border-radius:10px}
.organization-logo-input::file-selector-button{min-height:44px;margin-right:12px;padding:10px 18px;border:1px solid #28766f;border-radius:10px;background:#edf6f3;color:#175b56;font:inherit;font-weight:700;cursor:pointer}
.organization-logo-input::file-selector-button:hover{background:#dceee8}
.organization-logo-input:focus-visible{outline:2px solid #28766f;outline-offset:4px}

.reader-collection-page{position:relative;isolation:isolate;min-height:100dvh;background:#f8faf6}
.reader-collection-backdrop{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none}
.reader-catalog-teaser{position:relative;isolation:isolate;overflow:hidden}
.reader-catalog-teaser::before{content:"";position:absolute;z-index:-1;top:-75px;right:-85px;width:340px;height:340px;background:url("/marketing/assets/ripples-light.svg") center/contain no-repeat;filter:grayscale(1);pointer-events:none}

.reader-catalog-teaser .reader-banner-art{width:180px;height:175px;flex-shrink:0}
.reader-catalog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:0;padding-top:12px;font-size:15px;font-weight:650}
.school-shell .reader-catalog-trial{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:10px;padding:10px 16px;background:#173a5e;color:#fff;text-decoration:none}
.reader-catalog-trial:hover{background:#244b70}
.reader-trial-banner{position:relative;isolation:isolate;overflow:hidden;border-color:#a9d2c5;background:linear-gradient(120deg,#e7f6f0 0%,#f8fbf6 58%,#fff1ca 100%)}
.reader-trial-banner::after{content:"";position:absolute;z-index:-1;right:-4rem;top:-6rem;width:28rem;height:28rem;opacity:.48;background:url("/marketing/assets/ripples-sage.svg") center/contain no-repeat;transform:rotate(9deg)}
.reader-trial-banner>h2,.reader-trial-banner>p,.reader-trial-banner>form{position:relative;z-index:1;max-width:52rem}
@media(max-width:640px){.reader-trial-banner::after{right:-10rem;opacity:.3}}

.reader-story-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.school-shell .reader-story-title-row h2{min-width:0;margin:0}
.reader-story-rating{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px;color:#62716a}
.reader-rating-stars{display:inline-flex;align-items:center;gap:2px;font-size:15px;color:#173a5e}.reader-star-cluster{display:inline-flex;align-items:center}.reader-star-cluster svg{width:19px;height:19px}.reader-star-cluster svg+svg{margin-left:-12px}

.school-shell .reader-story-intro{margin:12px 0 0;font-size:14px;line-height:1.65;color:#62716a}

.school-shell a.reader-catalog-learn{color:#17665e}
.school-shell a.reader-home-brand{color:#173a5e;text-decoration:none}
