/* Illustrated, purpose-specific page experiences — not a single card template. */
:root{--scene-mint:#e3f4f0;--scene-lilac:#edf0fb;--scene-ice:#e4f3fb}
.scene{display:block;width:100%;aspect-ratio:3/2;background-image:url('/assets/exploration-scenes.webp');background-size:200% 200%;background-repeat:no-repeat;background-color:#e8f5fb;overflow:hidden}
.scene-news{background-position:left top}.scene-note{background-position:right top}.scene-book{background-position:left bottom}.scene-travel{background-position:right bottom}
.illustrated-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;min-height:115px;border-bottom:1px solid #cfe2ec}
.illustrated-heading>h1,.illustrated-heading>h2{flex:1;margin:0;max-width:760px}.illustrated-heading>.scene{width:210px;flex-shrink:0;border-radius:7px}
#modal-body>.illustrated-heading{max-width:760px}.page-head:has(.illustrated-heading){max-width:none}
#main[data-area=clues]{--accent:#147f83}#main[data-area=picks]{--accent:#586aa0}
#main[data-area=clues] .paper-title{background:#e3f4f0}#main[data-area=picks] .paper-title{background:#edf0fb}
.paper-title{background:none;border-radius:0;padding:10px 0 16px;border-bottom:1px solid #cfe2ec}.paper-title:before{display:none}
.paper-title .eyebrow{margin-bottom:8px}.paper-title h1{font-size:36px}
.illustrated-doors{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:22px}
.illustrated-doors>a,.illustrated-doors>a:nth-child(even){display:block;padding:0;min-height:0;border:0;border-radius:0;background:transparent;overflow:hidden}
.illustrated-doors .door-art{display:block;height:170px;overflow:hidden;border-radius:9px;background:#e8f4fb}
.illustrated-doors .door-art .scene{height:100%;aspect-ratio:auto}
.illustrated-doors .door-art img{width:100%;height:100%;object-fit:contain;padding:16px}
.illustrated-doors .door-caption{padding:16px 3px 12px;border-bottom:1px solid #cfe2ec}
.illustrated-doors .door-caption>span{font-size:13px;color:#516e80}.illustrated-doors h2{font-size:24px;margin:5px 0 0;display:flex;justify-content:space-between}.illustrated-doors h2 span{font-size:22px;color:#167ba4}
.illustrated-doors>a:focus-visible{outline:3px solid #0879b4;outline-offset:5px}.illustrated-doors>a:hover{outline:none}.illustrated-doors>a:hover h2{color:#0879b4}
#main[data-area=clues] .illustrated-doors{grid-template-columns:repeat(3,minmax(0,1fr))}
#main[data-area=clues] .illustrated-doors>a:nth-child(2) .door-art{filter:hue-rotate(12deg)}
#main[data-area=clues] .illustrated-doors>a:nth-child(3) .door-art{filter:hue-rotate(-12deg)}

/* Question shelf: visual subject navigation; search is optional. */
.question-categories,.news-topics{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:4px 2px 12px;margin:10px 0;scroll-snap-type:x proximity}
.question-categories button,.news-topics button{flex:none;white-space:nowrap;padding:8px 14px;border:1px solid #c7dfe9;border-radius:22px;background:#fff;color:#285b73;min-height:44px;font-size:14px;scroll-snap-align:start}
.question-categories button[aria-pressed=true],.news-topics button[aria-pressed=true]{background:#176b91;color:#fff;border-color:#176b91}
.news-topics button[data-tone="2"],.question-categories button:nth-child(3n){border-bottom:3px solid #b1bce2}.news-topics button[data-tone="3"],.question-categories button:nth-child(3n+1){border-bottom:3px solid #8dcbbd}
.question-search-details{border-bottom:1px solid #cfe2ec;padding:0 0 10px;margin-bottom:14px}.question-search-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#39758e;font-size:14px}.question-search-details>summary:after{content:'＋';margin-left:8px}.question-search-details[open]>summary:after{content:'−'}
.question-search-details .school-search{padding:10px 0}.school-results{font-size:13px;color:#516e80;margin-bottom:14px}
.school-question:not(.news-card){position:relative;overflow:hidden;background:#fff;padding:0 20px 20px;border:1px solid #cfe2ec;border-radius:8px}
.school-question:not(.news-card) .question-art{display:block;height:95px;margin:0 -20px 18px;overflow:hidden}.question-art .scene{height:100%;aspect-ratio:auto}
.school-question[data-tone=mint]{background:#eff9f5}.school-question[data-tone=lavender]{background:#f3f4fb}.school-question[data-tone=ice]{background:#f4f9fc}
.school-question:not(.news-card) h3{font-family:"Songti SC",serif;font-size:23px;line-height:1.5}.school-question details{margin-top:12px}
.school-question details p{display:block}.school-question-grid:has(.question-art){gap:20px}
.reading-stage-tabs{display:flex;width:100%;gap:5px;border-bottom:1px solid #cfe2ec;overflow:auto;padding-bottom:8px;margin-bottom:6px}
.reading-stage-tabs button{white-space:nowrap;background:transparent;color:#516e80;border:0;min-height:44px;padding:8px 16px;border-radius:5px;font-size:14px}
.reading-stage-tabs button[aria-current]{background:#176b91;color:#fff}
.paper-page-nav:has(.reading-stage-tabs){flex-wrap:wrap}.paper-sheet{padding:14px 0}.paper-sheet[data-sheet="1"]{background:#eef8f6;padding:22px;border-radius:8px}.paper-sheet[data-sheet="2"]{background:#f2f3fb;padding:22px;border-radius:8px}

/* The news desk: one lead headline plus a compact list, not four identical panels. */
.news-masthead{border-bottom:2px solid #176b91;padding:0 0 14px;position:relative}
.news-masthead h1{font-size:38px;margin-bottom:0}.news-masthead .eyebrow{font-size:12px;margin-bottom:7px}.news-masthead>.scene{width:190px;flex:none;border-radius:6px}
.news-masthead>[data-news-refresh]{align-self:flex-end;font-size:12px;white-space:nowrap}.news-update{padding-top:9px}
.news-grid.school-question-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:0 25px;background:#fff;padding:22px;border:1px solid #cfe2ec;border-radius:9px}
.news-grid .news-card{padding:16px 0;background:transparent;border:0;border-bottom:1px solid #cfe2ec;border-radius:0}.news-grid .news-lead{grid-row:span 3;border-right:1px solid #cfe2ec;border-bottom:0;padding:16px 25px 16px 0}
.news-grid .news-lead h3{font-family:"Songti SC",serif;font-size:29px;line-height:1.55;margin-top:20px}.news-grid .news-card:not(.news-lead) h3{font-size:17px;margin:0 0 8px;line-height:1.6}
.news-grid .news-card .row{margin-top:10px}.news-grid .news-lead .row{margin-top:auto}.news-grid .news-card:not(.news-lead) .button{padding:5px 10px;background:transparent;border:0;min-height:40px;font-size:13px}.news-grid .news-card:not(.news-lead) .tag{font-size:11px;margin-bottom:8px}.news-grid .news-source{margin:10px 0;font-size:12px}

/* A three-step notebook, keeping the actual child's willingness explicit. */
.split:has(#clue-form){max-width:830px}.split:has(#clue-form)>.panel{border:0;border-radius:12px;background:#eaf7f4;padding:24px 30px}
.clue-steps-nav{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #bcded8;padding-bottom:16px;margin-bottom:22px}
.clue-steps-nav button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#476c70;font-size:14px;min-height:44px;padding:0}
.clue-steps-nav button>span{width:27px;height:27px;border:1px solid #a3c8c4;border-radius:50%;display:grid;place-items:center;font-size:13px}
.clue-steps-nav button[aria-current]{color:#126a70;font-weight:700}.clue-steps-nav button[aria-current]>span{background:#177d83;color:#fff;border-color:#177d83}
.clue-step{min-height:250px}.clue-step:focus{outline:none}.clue-step textarea{background:#ffffffd9;min-height:150px;line-height:1.8}.clue-step .field>label{font-size:16px}
.clue-step .button,.clue-step-controls>.button:not(.secondary){background:#177d83;border-color:#177d83;color:#fff}
.clue-step-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.clue-step-controls>span{font-size:13px;color:#516e80}
.willing-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.willing-choices>button{background:#fff;border:1px solid #bbd9d6;border-radius:7px;min-height:80px;padding:16px;color:#265b60;font-size:15px;text-align:left}
.willing-choices>button[aria-pressed=true]{background:#177d83;color:#fff;border-color:#177d83;box-shadow:inset 0 0 0 2px #eaf7f4}
.step-invitation{font-size:14px;color:#516e80;line-height:1.8}
.record-empty{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:28px;background:#eaf7f4;border-radius:10px}.record-empty h2{font:26px/1.6 "Songti SC",serif}.record-empty .scene{border-radius:7px}
#main[data-area=works] .record-note{display:block;background:#fff;border:1px solid #d1e6f0;border-top:4px solid #66b9d1;padding:22px;transform:rotate(-.5deg)}
#main[data-area=works] .record-note:nth-child(even){background:#eff8f4;border-top-color:#82bdb0;transform:rotate(.5deg)}.record-stage{display:block;color:#177d83;font-size:12px;margin-bottom:16px}.record-note h2{font-family:"Songti SC",serif}

/* Stories: keep the current work visually present while reading or writing. */
.story-resume{display:flex;align-items:center;gap:14px;padding:10px 14px;margin-bottom:18px;background:#e8f4f8;border-left:3px solid #52a4c3;text-decoration:none;color:#285b73;font-size:12px}
.story-resume img{width:80px;height:46px;object-fit:cover;border-radius:4px}.story-resume strong{display:block;font-size:15px;font-weight:500}.story-resume>span:last-child{margin-left:auto;font-size:22px}
.story-context-art{margin:0 0 22px;position:relative;overflow:hidden;border-radius:6px;background:#e6f1f8}.story-context-art img{width:100%;height:125px;object-fit:cover;display:block}.story-context-art figcaption{position:absolute;right:10px;bottom:8px;font-size:11px;background:#f5fbfff0;color:#285b73;padding:3px 9px;border-radius:3px}
main[data-experience=read]>.reader{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:0 24px;border-top:0;background:transparent;padding:0}
main[data-experience=read] .story-context-art{grid-column:2;grid-row:1 / 6;align-self:start;margin:0;position:sticky;top:24px}main[data-experience=read] .story-context-art img{height:250px}
main[data-experience=read] .reader>:not(.story-context-art){grid-column:1}main[data-experience=read] .reading-text{border-left:3px solid #92cbdc;padding:4px 0 4px 24px;background:#fff}
main[data-experience=discuss] .question{background:#eef2fb;padding:24px;border-radius:10px}main[data-experience=write] .question,main[data-experience=create] .question{background:#eaf7f3;padding:24px;border-radius:10px}
main[data-experience=lens] .question{border-left:4px solid #8ca0ce;padding-left:24px}.question .options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.question .options button{min-height:64px;text-align:left;background:#fff;border:1px solid #c9d4ed;padding:16px}
.question .options button[aria-pressed=true]{background:#456591;color:#fff}.creation-modes{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.creation-modes button{min-height:44px;border:1px solid #bad9d0;background:#fff;color:#285b62;padding:8px 13px;border-radius:20px;font-size:14px}.creation-modes button[aria-pressed=true]{background:#177d83;color:#fff}
.color-story .entry-list>a{display:block;padding:24px;background:#edf7f3;border-left:4px solid #71b6a3;border-bottom:1px solid #cee4dc;font-family:"Songti SC",serif;font-size:23px;margin-bottom:14px}

/* Travel: day-by-day map and illustrated reading postcards. */
.journey-day-pager{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#e5f3fa;padding:14px 18px;margin:0 0 20px;border-radius:8px}.journey-day-pager>span{text-align:center;font-size:13px;color:#516e80}.journey-day-pager strong{display:block;font:25px/1.4 Georgia,serif;color:#176b91}.journey-day-pager button{background:#fff;border:1px solid #bedde9;color:#176b91;border-radius:5px;min-height:44px;padding:8px 14px}
body[data-paper-page=place] .journey-day-pager{display:none}.creator-intro .illustrated-heading{margin-bottom:0}.creator-intro .paper-short-intro{border:0;padding-bottom:0}
.route-card-art{display:block;height:100px;overflow:hidden;margin:-18px -18px 16px}.route-card-art .scene{height:100%;aspect-ratio:auto}.reading-card{overflow:hidden;background:#fff;border-color:#cfe2ec}.connection-card{overflow:hidden;background:#edf4fc}.connection-card .route-card-art{margin:-24px -24px 18px;height:140px}.place-vignette{float:right;width:180px;margin:0 0 15px 24px;border-radius:7px;overflow:hidden}.place-readings{clear:both}
#reader-body>.illustrated-heading>.scene{width:150px}.journey-day-pager button:disabled{opacity:.4;cursor:default}

/* Museum shelf: real objects for related stories, book illustration otherwise. */
.series-object{margin:0 0 16px;height:150px;background:#eaf4f8;overflow:hidden;border-radius:5px;position:relative}.series-object img{width:100%;height:125px;object-fit:contain;padding:10px}.series-object figcaption{font-size:11px;color:#365c71;text-align:center;position:absolute;bottom:4px;width:100%}.series-object .scene{height:100%;aspect-ratio:auto}
.series-card details>summary{cursor:pointer;min-height:44px;font-size:13px;color:#39758e}.series-card>h3{font-family:"Songti SC",serif;font-size:24px}.series-card{border:1px solid #cfe2ec;border-radius:7px;background:#fff}.series-card:nth-child(even){background:#edf6f7}
.museum-reading-art{height:110px;overflow:hidden;margin:0 0 20px;border-radius:7px}.museum-reading-art>.scene{height:100%;aspect-ratio:auto}.museum-reading-art img{height:100%;width:100%;object-fit:contain;background:#eaf4f8}.museum-reading-art figcaption{font-size:12px;color:#516e80}
.page#notes textarea{background:#f3faf7}.page#talk .conversation{border-left:3px solid #8fa4d4;background:#f0f3fb}

@media(max-width:650px){
 .illustrated-heading{gap:12px;min-height:85px;margin-bottom:17px}.illustrated-heading>.scene{width:115px}.illustrated-heading>h1{font-size:27px}.illustrated-heading>h2{font-size:24px}
 .paper-title h1{font-size:30px}.illustrated-doors{gap:18px 12px}.illustrated-doors .door-art{height:115px}.illustrated-doors .door-caption{padding:12px 0}.illustrated-doors .door-caption>span{font-size:11px}.illustrated-doors h2{font-size:20px;line-height:1.4}.illustrated-doors h2 span{font-size:18px}
 #main[data-area=clues] .illustrated-doors{grid-template-columns:1fr}.illustrated-doors:has(>a:nth-child(3):last-child){grid-template-columns:1fr}.illustrated-doors:has(>a:nth-child(3):last-child)>a{display:grid;grid-template-columns:125px 1fr;gap:18px;align-items:center}.illustrated-doors:has(>a:nth-child(3):last-child) .door-art{height:105px}.illustrated-doors:has(>a:nth-child(3):last-child) .door-caption{border:0}
 .question-categories button,.news-topics button{font-size:13px;padding:8px 12px}.school-question-grid:has(.question-art){grid-template-columns:1fr;gap:14px}.school-question:not(.news-card){padding:0 18px 18px}.school-question:not(.news-card) .question-art{height:90px;margin:0 -18px 15px}.school-question:not(.news-card) h3{font-size:22px}
 .reading-stage-tabs{gap:2px}.reading-stage-tabs button{padding:8px 12px;font-size:13px}
 .news-masthead{padding-bottom:12px;gap:10px!important;flex-wrap:wrap}.news-masthead .eyebrow{font-size:10px}.news-masthead h1{font-size:27px!important}.news-masthead>.scene{width:100px;order:2}.news-masthead>div{flex:1;order:1}.news-masthead>[data-news-refresh]{order:3;margin-left:auto;min-height:30px;padding:2px 0;position:absolute;bottom:-33px;right:0}.news-update{font-size:10px;padding-right:65px;min-height:26px}
 .news-topics{margin:10px 0 0;padding-bottom:8px}.news-search-panel{margin:7px 0}.news-search-panel>summary{padding:7px 12px;font-size:13px}.news-period{margin:10px 0}
 .news-grid.school-question-grid{grid-template-columns:1fr;padding:0 18px;gap:0}.news-grid .news-card,.news-grid .news-lead{grid-row:auto;border-right:0;border-bottom:1px solid #cfe2ec;padding:18px 0}.news-grid .news-lead{background:#edf7fc;margin:0 -18px;padding:20px 18px}.news-grid .news-lead h3{font-size:23px;margin-top:8px}.news-grid .news-card:not(.news-lead) h3{font-size:18px}.news-grid .news-card:last-child{border-bottom:0}
 .split:has(#clue-form)>.panel{padding:18px}.clue-steps-nav{gap:8px;margin-bottom:18px}.clue-steps-nav button{font-size:12px;gap:5px}.clue-steps-nav button>span{width:23px;height:23px;font-size:11px}.clue-step{min-height:235px}.clue-step textarea{min-height:140px}.willing-choices{gap:10px}.willing-choices>button{font-size:13px;padding:12px;min-height:85px}.clue-step-controls .button{font-size:13px;padding:9px 12px}
 .record-empty{grid-template-columns:1fr;padding:20px;gap:18px}.record-empty>.scene{height:150px;aspect-ratio:auto}.record-empty h2{font-size:23px}
 main[data-experience=read]>.reader{display:block}main[data-experience=read] .story-context-art{position:relative;margin:0 0 18px}main[data-experience=read] .story-context-art img{height:90px}.story-context-art img{height:105px}main[data-experience=read] .reading-text{padding-left:15px}
 main[data-experience=discuss] .question,main[data-experience=write] .question,main[data-experience=create] .question{padding:18px}.question .options{grid-template-columns:1fr}.question .options button{min-height:54px;font-size:15px}.creation-modes{gap:6px}.creation-modes button{font-size:12px;padding:8px 10px}
 .journey-day-pager{gap:10px;padding:12px;margin-bottom:15px}.journey-day-pager strong{font-size:22px}.journey-day-pager>span{font-size:11px}.journey-day-pager button{padding:8px 10px;font-size:12px}.route-card-art{height:90px}.connection-card .route-card-art{height:115px}.place-vignette{width:110px;margin-left:14px}.reading-card strong{font-size:18px!important}
 .series-grid{grid-template-columns:1fr!important}.series-card{display:block}.series-object{height:120px}.series-object img{height:100px}.series-card>h3{font-size:23px}.museum-reading-art{height:85px}
 .ai-launch{bottom:calc(16px + env(safe-area-inset-bottom));right:12px;min-height:44px;padding:10px 15px;font-size:13px}.footer,footer{padding-bottom:72px}
}
@media(hover:hover){.illustrated-doors .door-art,.question-art{transition:filter .18s}.illustrated-doors>a:hover .door-art{filter:brightness(1.04)}.clue-steps-nav button:hover{color:#086caa}}
@media(prefers-reduced-motion:reduce){.illustrated-doors .door-art,.question-art{transition:none}}
