:root{--ink:#263e35;--green:#2f6b54;--paper:#f7f5ed;--muted:#66756a;--line:#dfe3d7;--gold:#f2ce6b;--soft:#eef0e5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.7}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #207d9c}button{border:0}p,h1,h2,h3{margin:0}button{background:transparent}.header{max-width:1240px;padding:29px 30px 25px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:25px;letter-spacing:.04em;font-weight:900;display:flex;align-items:center;gap:10px}.brand-dark{color:var(--green)}.brand-icon{background:var(--gold);width:42px;height:42px;display:grid;place-items:center;border-radius:14px;font-size:32px;line-height:1;color:var(--green);transform:rotate(-8deg)}nav{display:flex;align-items:center;gap:30px;font-weight:700;font-size:13px}.nav-record{border:1px solid #cfd6c9;border-radius:99px;padding:10px 16px;display:flex;gap:9px;align-items:center}.nav-record b{background:var(--green);color:#fff;border-radius:50%;width:23px;height:23px;font-size:12px;display:grid;place-items:center}main{max-width:1180px;margin:auto}.hero{display:grid;grid-template-columns:.95fr 1.1fr;align-items:center;gap:25px;padding:37px 0 43px}.eyebrow{font-weight:700;font-size:12px;letter-spacing:.08em;display:flex;gap:8px;align-items:center}.eyebrow i{width:7px;height:7px;background:#d59f30;border-radius:50%}h1{font-size:clamp(29px,3vw,39px);font-weight:900;line-height:1.65;letter-spacing:.005em;margin:16px 0 19px}h1 span{color:var(--green);background:linear-gradient(transparent 73%,#f5db8d 73%,#f5db8d 90%,transparent 90%)}.hero-copy>p{font-size:15px;color:#5e6b61;line-height:1.9;margin-bottom:27px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:33px;padding:16px 25px;border-radius:14px;background:var(--green);color:#fff;font-weight:800;box-shadow:0 4px 0 #1e4c3a;font-size:15px;transition:transform .15s,background .15s}.primary:hover{background:#235940;transform:translateY(-2px)}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #1e4c3a}.primary span{font-size:22px;line-height:1}.hero-tags{display:flex;gap:16px;color:var(--muted);font-size:11px;font-weight:700;margin-top:21px}.hero-tags span+span:before{content:'・';padding-right:12px}.map-wrap{position:relative;border-radius:24px;background:white;padding:17px;box-shadow:0 12px 45px #304a3410;transform:rotate(1deg);border:1px solid #e6e8df}.map-label{display:flex;justify-content:space-between;align-items:center;padding:1px 5px 13px;font-weight:800;font-size:13px}.map-label b{font-size:12px;color:var(--green);background:#edf1e8;padding:3px 11px;border-radius:20px}.island{width:100%;display:block}.map-bottom{display:flex;align-items:center;justify-content:space-between;padding:13px 5px 0;font-size:11px;font-weight:700;color:#587463}.little-star{font-size:24px;color:#d3a241}.map-stamp{filter:drop-shadow(0 3px 0 #b4b99b)}.map-stamp text{font-family:inherit}.how{display:flex;align-items:center;justify-content:space-evenly;background:#eeefe5;border:1px solid #e0e4d8;border-radius:17px;padding:20px 30px;gap:15px;margin-bottom:58px}.how>div{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:800}.how b{color:#82927a;font-size:18px;letter-spacing:-.04em}.how-arrow{color:#9ba78d}.nowrap{white-space:nowrap}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.section-kicker{font-size:11px;letter-spacing:.08em;font-weight:700;color:#6e806b;display:block;margin-bottom:6px}h2{font-size:25px;line-height:1.6;font-weight:900;letter-spacing:.025em}.text-btn{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;padding:9px 3px}.text-btn:hover{text-decoration:underline}.text-btn span{font-size:19px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0}.filters button{border:1px solid #d8ded0;border-radius:50px;padding:8px 19px;font-size:12px;font-weight:700;background:#fcfcf7}.filters button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}.filters button span{font-size:10px;opacity:.75;margin-left:5px}.quest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.quest-card{background:#fff;border:1px solid #e1e4db;border-radius:20px;overflow:hidden;transition:transform .2s,box-shadow .2s}.quest-card:hover{transform:translateY(-4px);box-shadow:0 12px 22px #27462f0c}.quest-card>button{width:100%;height:100%;text-align:left;display:flex;flex-direction:column;padding:0}.card-art{height:126px;width:100%;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:var(--card-bg)}.card-art:before{content:'';width:180px;height:180px;background:#ffffff33;position:absolute;border-radius:50%;right:-22px;bottom:-90px}.card-art:after{content:'✧';font-size:23px;position:absolute;right:28px;top:18px;color:var(--card-ink);opacity:.4}.card-art svg{width:90px;height:90px;transform:rotate(-7deg);z-index:1}.art-number{position:absolute;left:20px;top:14px;font-size:10px;letter-spacing:.1em;color:var(--card-ink);font-weight:800}.completed-badge{position:absolute;right:12px;bottom:12px;background:#fff;padding:3px 8px;border-radius:20px;color:var(--green);font-size:10px;font-weight:800;z-index:2}.card-body{padding:21px 22px 18px;width:100%;display:flex;flex-direction:column;flex:1}.card-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:9px;gap:10px}.subject-label{color:var(--card-ink);font-weight:800}.card-body h3{font-size:17px;line-height:1.6;font-weight:900;margin-bottom:8px}.card-body p{font-size:12px;line-height:1.85;color:#6f786d;flex:1;margin-bottom:18px}.card-bottom{border-top:1px dashed #dce1d6;display:flex;justify-content:space-between;padding-top:13px;font-size:11px;font-weight:800}.card-bottom b{font-size:17px;line-height:1}.more-btn{display:block;border:1px solid #becbbb;border-radius:12px;margin:26px auto 0;padding:12px 45px;font-size:12px;font-weight:800;background:var(--paper)}.more-btn:hover{background:#edf0e6}.more-btn span{margin-left:16px}.notebook-banner{display:flex;align-items:center;gap:35px;padding:36px 46px;margin:64px 0 40px;background:#ebeedd;border-radius:22px;position:relative;overflow:hidden}.notebook-banner h2{font-size:21px;margin-bottom:10px}.notebook-banner p{font-size:12px;color:#62745d;line-height:1.9}.mini-notebook{position:relative;flex-shrink:0;transform:rotate(-9deg);width:110px;height:132px;background:#fffcf0;border:1px solid #d4d7bc;border-left:10px solid #6b9474;border-radius:3px 10px 10px 3px;box-shadow:4px 5px 0 #d1d9bd;padding:12px 15px}.mini-notebook>span:first-child{font-weight:900;font-size:30px;color:#b68830}.mini-notebook i{display:block;height:1px;background:#cbd5c1;margin:11px 0}.mini-notebook .pencil{position:absolute;font-size:135px;color:#d8ac45;font-weight:900;line-height:1;bottom:-10px;right:-23px}.banner-spark{font-size:110px;position:absolute;right:36px;top:19px;line-height:1.4;color:#d2dbc0;transform:rotate(10deg)}footer{max-width:1180px;margin:0 auto;padding:25px 0 35px;border-top:1px solid #dfe4d8;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;color:#7a8676}footer button{font-size:10px;padding:5px;text-decoration:underline}.footer-brand{font-size:15px;color:#62775c;font-weight:800}.mobile-br{display:none}.skip{position:fixed;top:-100px;left:10px;background:white;padding:10px;z-index:99}.skip:focus{top:10px}
dialog{color:var(--ink);border:1px solid #d8dfd1;border-radius:24px;background:var(--paper);padding:38px;width:calc(100% - 28px);max-height:90vh;max-height:90dvh;box-shadow:0 25px 100px #13271d40}dialog::backdrop{background:#1d352b88;backdrop-filter:blur(4px)}body.has-dialog{overflow:hidden}.close{position:absolute;right:15px;top:12px;border-radius:50%;width:36px;height:36px;font-size:26px;line-height:1;background:#e9eddf;display:grid;place-items:center;z-index:2}.close:hover{background:#d9e2d1}.quest-dialog{max-width:740px;padding:0}.quest-top{background:var(--card-bg);padding:35px 38px 29px;position:relative;overflow:hidden}.quest-top h2{font-size:27px;padding-right:20px;margin:9px 0}.quest-top p{font-size:14px;position:relative;z-index:1;max-width:520px}.quest-top .subject-label{font-size:11px}.quest-top svg{width:100px;height:100px;position:absolute;right:-5px;bottom:-35px;opacity:.15;transform:rotate(-12deg)}.quest-info{padding:27px 38px 35px}.prep{display:flex;font-size:12px;gap:15px;margin-bottom:25px;align-items:baseline}.prep b{white-space:nowrap;color:#778567}.quest-info h3{font-size:16px;margin-bottom:14px}.steps{padding:0;list-style:none;counter-reset:step;display:grid;gap:16px}.steps li{counter-increment:step;display:flex;gap:14px;font-size:14px;line-height:1.8;align-items:flex-start}.steps li:before{content:counter(step);flex-shrink:0;width:27px;height:27px;border-radius:50%;background:#e5ebd9;display:grid;place-items:center;font-size:12px;font-weight:900;color:#5b7957}.hint{background:#fff7dd;border:1px solid #ede0b3;border-radius:12px;padding:15px 17px;margin:22px 0;font-size:12px;line-height:1.9}.hint strong{display:block;color:#8c6c22;font-size:11px;margin-bottom:3px}.notebook-template{padding:23px;border:1px solid #dbe1d5;border-left:6px solid #7a9a77;background:#fffef8;border-radius:5px 14px 14px 5px;margin-top:26px}.notebook-template h3{display:flex;justify-content:space-between;align-items:center;gap:10px}.print-btn{font-size:10px;text-decoration:underline;white-space:nowrap}.template-row{font-size:12px;padding:9px 0;border-bottom:1px solid #e5e9df}.template-row:last-child{border:0}.template-row b{display:block;color:#557951;font-size:11px}.template-row p{color:#72806c}.quest-end{margin-top:25px;padding-top:22px;border-top:1px dashed #c9d2be}.goal{font-size:13px;margin-bottom:18px}.goal b{color:var(--green);display:block;font-size:11px;margin-bottom:5px}.checklist{display:grid;gap:9px;font-size:12px;margin:16px 0 23px}.checklist label{display:flex;align-items:center;gap:8px;cursor:pointer}.checklist input{accent-color:var(--green);width:17px;height:17px}.quest-end .primary{width:100%}.quest-end .primary:disabled{background:#aab5a2;box-shadow:0 4px 0 #87927e}.answer{border:1px solid #d4deca;border-radius:12px;padding:13px 16px;margin-top:19px;font-size:12px}.answer summary{font-weight:800;cursor:pointer}.answer p{margin-top:12px;line-height:1.9}.small-dialog{max-width:470px}.small-dialog h2{font-size:22px;margin:4px 0 18px}.small-dialog p{font-size:13px;margin:13px 0;line-height:1.9}.small-dialog details{border-top:1px solid #d3dcca;padding-top:16px;margin-top:20px;font-size:12px}.small-dialog summary{cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:27px}.secondary{border:1px solid #c3cfba;padding:12px 18px;border-radius:12px;font-size:13px}.record-dialog{max-width:650px}.record-dialog h2{margin-bottom:22px}.record-total{background:#e9eddf;border-radius:16px;padding:20px;text-align:center;margin-bottom:20px}.record-total strong{font-size:42px;line-height:1.2;color:var(--green)}.record-total span{font-size:12px;margin-left:6px}.record-total p{font-size:12px;margin-top:10px}.stamps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stamp-tile{text-align:center;background:#fffdf4;border:1px dashed #cfd9c4;border-radius:15px;padding:15px 5px}.stamp-tile .seal{font-size:25px;color:#aeb9a4;display:block;line-height:1.4}.stamp-tile.complete{border:1px solid #91ac83;background:#f2f4dd}.stamp-tile.complete .seal{color:#47794b}.stamp-tile b{display:block;font-size:10px;margin:7px 0 3px}.stamp-tile small{font-size:9px;color:#78876d}.record-subjects{display:flex;gap:10px;margin:23px 0;flex-wrap:wrap}.record-subjects span{font-size:11px;flex:1;text-align:center;background:#eef0e7;padding:10px 5px;border-radius:10px;white-space:nowrap}.subtle{font-size:10px;color:#7c8676}.success-dialog{max-width:500px;text-align:center;padding:35px 30px}.success-seal{background:#f5d776;border:3px dashed #ac8527;border-radius:50%;height:95px;width:95px;display:grid;place-items:center;margin:5px auto 23px;font-size:64px;color:#516e3a;animation:stamp .55s ease}.success-dialog h2{font-size:23px}.success-dialog>p{font-size:13px;margin:15px 0;color:#65765c}.success-dialog .primary{margin:20px auto 5px}.success-dialog p.rest{font-size:11px}#success-count{background:#edf0e0;padding:12px;border-radius:12px;font-weight:800;font-size:14px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#233e30;color:#fff;border-radius:12px;padding:12px 20px;font-size:12px;z-index:50;display:none;max-width:calc(100% - 30px)}#toast.show{display:block}@keyframes stamp{0%{transform:scale(1.3) rotate(-10deg);opacity:.2}70%{transform:scale(.95) rotate(2deg)}100%{transform:scale(1) rotate(0);opacity:1}}@media(min-width:1440px){main,.header,footer{max-width:1240px}.hero{gap:60px;padding-top:48px}}@media(max-width:1250px){main,footer{margin-left:30px;margin-right:30px}.hero{gap:25px}.hero h1{font-size:32px}.banner-spark{opacity:.65;right:15px}}@media(max-width:850px){.header{padding:20px 22px}.brand{font-size:21px}nav{gap:15px}nav>a{display:none}.nav-record{font-size:11px;padding:8px 12px}.hero{grid-template-columns:1fr 1fr;gap:20px;padding:25px 0 35px}.hero h1{font-size:25px}.hero-copy>p{font-size:13px}.hero-tags{font-size:10px;gap:3px}.hero-tags span+span:before{padding-right:2px}.map-wrap{padding:12px}.map-label{font-size:10px}.map-bottom{font-size:9px}.how{padding:18px;gap:7px}.how>div{font-size:11px;gap:8px}.quest-grid{gap:13px}.card-body{padding:18px 15px}.card-body h3{font-size:15px}.card-art{height:110px}.notebook-banner{padding:30px;gap:25px}.banner-spark{display:none}.notebook-banner h2{font-size:20px}}@media(max-width:640px){.header{padding:19px 20px}.brand{font-size:20px;gap:8px}.brand-icon{width:35px;height:35px;font-size:27px;border-radius:11px}.nav-record{font-size:0;gap:7px;padding:7px 9px}.nav-record>span{font-size:22px;line-height:1}.nav-record b{font-size:11px;width:22px;height:22px}.hero{grid-template-columns:1fr;gap:28px;padding:22px 0 25px}.hero-copy{text-align:center}.eyebrow{justify-content:center;font-size:10px}.hero h1{font-size:28px;line-height:1.65;margin:14px 0}.hero-copy>p{font-size:12px;margin-bottom:22px}.primary{padding:14px 22px;font-size:14px}.hero-tags{justify-content:center;font-size:10px;gap:12px;margin-top:18px}.hero-tags span+span:before{padding-right:8px}.map-wrap{margin:0 1px;padding:12px;border-radius:19px;transform:rotate(.7deg)}.map-label{font-size:11px;padding-bottom:10px}.map-bottom{font-size:10px;padding-top:9px}.little-star{font-size:20px}main,footer{margin-left:20px;margin-right:20px}.how{margin-bottom:37px;padding:16px 10px;gap:3px;border-radius:14px}.how>div{display:block;text-align:center;flex:1;font-size:10px;line-height:1.7}.how>div b{display:block;font-size:13px;margin-bottom:4px}.how>div>span{display:block}.how-arrow{font-size:12px}.how .nowrap{display:block}.section-head{gap:7px}.section-kicker{font-size:10px;margin-bottom:4px}h2{font-size:22px}.text-btn{font-size:10px;gap:5px;white-space:nowrap}.text-btn span{font-size:17px}.filters{gap:7px;margin:19px 0}.filters button{font-size:10px;padding:7px 12px}.quest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-art{height:100px}.card-art svg{width:70px;height:70px}.art-number{top:9px;left:12px;font-size:8px}.card-art:after{right:13px;top:8px;font-size:17px}.card-body{padding:15px 12px 12px}.card-body h3{font-size:13px;line-height:1.65;margin-bottom:7px}.card-body p{font-size:10px;line-height:1.8;margin-bottom:12px}.card-meta{font-size:8px;display:block;margin-bottom:7px}.card-meta>span+span{float:right}.card-bottom{font-size:9px;padding-top:10px}.completed-badge{font-size:8px;right:8px;bottom:8px;padding:2px 6px}.more-btn{margin-top:22px;font-size:11px;padding:11px 28px}.notebook-banner{padding:27px 19px;gap:20px;margin:42px 0 28px;align-items:flex-start}.notebook-banner h2{font-size:16px;line-height:1.75}.notebook-banner p{font-size:10px}.notebook-banner .section-kicker{font-size:9px}.mini-notebook{width:64px;height:87px;padding:8px 9px;border-left-width:6px;margin-top:25px;box-shadow:3px 4px 0 #d1d9bd}.mini-notebook>span:first-child{font-size:20px}.mini-notebook i{margin:7px 0}.mini-notebook .pencil{font-size:89px;right:-17px}.mobile-br{display:block}footer{flex-wrap:wrap;gap:9px;padding:22px 0 27px}footer>span:nth-child(2){order:3;width:100%;font-size:9px}.footer-brand{font-size:13px}footer button{margin-left:auto}dialog{padding:27px 22px;border-radius:20px}.quest-dialog{padding:0;max-height:94dvh;width:calc(100% - 16px)}.quest-top{padding:28px 24px 24px}.quest-top h2{font-size:22px;margin-top:10px}.quest-top p{font-size:12px}.quest-info{padding:24px}.prep{display:block;font-size:11px;margin-bottom:22px}.prep b{display:block;margin-bottom:4px}.steps li{font-size:13px;gap:10px}.steps{gap:17px}.hint{font-size:11px;padding:13px 15px}.notebook-template{padding:17px 15px;margin-top:22px}.notebook-template h3{font-size:13px}.template-row{font-size:11px}.goal{font-size:12px}.checklist{font-size:11px}.small-dialog h2{font-size:20px}.small-dialog p{font-size:12px}.dialog-actions{gap:12px}.stamps{gap:8px}.stamp-tile{padding:12px 4px}.stamp-tile b{font-size:9px}.stamp-tile small{font-size:8px}.record-dialog h2{font-size:23px}.success-dialog h2{font-size:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}@media print{body{background:#fff}body>*:not(#quest-dialog){display:none!important}#quest-dialog{position:static;max-height:none;width:100%;max-width:none;margin:0;padding:0;border:0;box-shadow:none;overflow:visible;background:#fff}#quest-dialog::backdrop{display:none}.quest-top{background:white;padding:0 0 15px;border-bottom:2px solid #777}.quest-top h2{font-size:22px}.quest-top svg,.close,.quest-end,.answer,.print-btn{display:none!important}.quest-info{padding:18px 0}.hint{background:white}.notebook-template{min-height:260px;break-inside:avoid}.template-row{height:70px}.template-row p{color:#666;font-size:10px}.steps li{font-size:12px}.steps{gap:10px}}
/* Keep small-screen reading comfortable for children. */
@media(max-width:640px){.eyebrow,.hero-tags,.map-label,.map-bottom,.section-kicker,.text-btn,.filters button,.card-meta,.card-body p,.card-bottom,.completed-badge,.notebook-banner p,.notebook-banner .section-kicker,.prep,.hint,.template-row,.template-row b,.checklist,.answer,.goal,.success-dialog p.rest,.record-subjects span,.stamp-tile b,.stamp-tile small,.print-btn,footer,footer button,footer>span:nth-child(2){font-size:12px}.card-body h3{font-size:16px}.filters button{min-height:42px;padding:9px 14px}.filters button span{font-size:11px}.how>div{font-size:12px}.how>div b{font-size:14px}.hero-copy>p{font-size:14px}.card-meta{display:flex;flex-wrap:wrap;gap:5px}.card-meta>span+span{float:none}.card-body{padding:17px 15px 14px}.completed-badge{font-size:11px}.notebook-banner{gap:17px}.notebook-banner h2{font-size:17px}.notebook-banner p br{display:none}.stamp-tile small{font-size:11px}.stamps{grid-template-columns:repeat(2,1fr)}.record-subjects{gap:7px}.record-subjects span{font-size:11px}.print-btn{font-size:11px}.small-dialog p{font-size:13px}.success-dialog .primary{width:100%}.success-dialog p.rest{font-size:12px}}
@media(max-width:440px){.quest-grid{grid-template-columns:1fr}.card-art{height:104px}.card-art svg{width:78px;height:78px}.card-body h3{font-size:18px}.card-body p{font-size:13px;margin-bottom:14px}.card-body{padding:17px 20px}.card-meta{margin-bottom:8px}.card-bottom{font-size:12px}.card-meta>span+span{margin-left:auto}.section-head{align-items:flex-start;flex-wrap:wrap}.section-head .text-btn{padding-top:3px}.notebook-banner{display:block;padding:26px 23px}.mini-notebook{display:none}.notebook-banner h2{font-size:21px}.mobile-br{display:none}.how>div{font-size:11px}.map-bottom{font-size:11px}.map-label{font-size:12px}.hero-tags{font-size:11px;gap:9px}}
/* Five subjects, three levels, readable learning cards. */
.filter-box{background:#eef0e5;border:1px solid #dce2d3;border-radius:20px;padding:20px 24px;margin-top:24px}.filter-caption{font-size:12px;font-weight:800;color:#586d52}.filter-box .filters{margin:9px 0 19px}.filter-box .filters:last-child{margin-bottom:0}.level-filters button[aria-pressed=true]{background:#2f6b54;border-color:#2f6b54}.level-filters button{min-height:44px}.result-count{font-size:12px;color:#586c54;margin:18px 0}.level-tag{font-size:11px;font-weight:800;color:#56684c;margin-bottom:7px}.legacy-shelf{margin:30px 0 0;border-top:1px solid #d5ddcd;padding-top:20px;font-size:13px}.legacy-shelf summary{cursor:pointer;font-weight:800;min-height:44px}.legacy-shelf summary span{font-weight:400;font-size:12px;color:#65775c;margin-left:10px}.legacy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.legacy-grid button{background:#fffdf6;text-align:left;padding:13px 15px;border:1px solid #d9e1d0;border-radius:10px;min-height:48px}.legacy-grid button span{display:block;font-size:11px;color:#65775c}.learning-note{font-size:12px;margin-top:-13px;margin-bottom:20px;color:#586c51}.resource-card{background:#fffef8;border:1px solid #d4ddc8;border-radius:14px;padding:20px;margin:18px 0 28px;font-size:14px}.resource-card p{margin:10px 0;line-height:1.9;white-space:pre-line}.resource-card h3{color:#466747}.resource-caption{font-size:12px;color:#5c6e54}.table-scroll{max-width:100%;overflow:auto}.resource-card table{width:100%;border-collapse:collapse;margin:16px 0;font-size:13px}.resource-card th,.resource-card td{border:1px solid #d4ddc8;padding:9px 10px;text-align:left}.resource-card th{background:#eef2e6}.safety{font-size:13px;background:#fff4d3;border-left:4px solid #c7a44b;padding:12px 16px;margin:20px 0}.hint summary,.extension summary,.sources summary{font-weight:800;cursor:pointer;min-height:24px}.hint p,.extension p{margin-top:12px;line-height:1.9;white-space:pre-line}.answer p{white-space:pre-line}.extension,.sources{border:1px solid #d4deca;border-radius:12px;padding:13px 16px;margin-top:16px;font-size:13px}.sources ul{padding-left:22px}.sources li{margin:12px 0}.sources a{color:#29634f;text-decoration:underline;text-underline-offset:4px}.legacy-count{font-size:13px}.completed-list{list-style:none;margin:16px 0;padding:0}.completed-list li{display:flex;align-items:center;gap:15px;justify-content:space-between;border-top:1px solid #dce3d3;padding:7px 0;font-size:12px}.completed-list button{text-align:left;min-height:44px;text-decoration:underline;text-underline-offset:4px}.completed-list span{white-space:nowrap;color:#65775c}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quest-card .subject-label{color:var(--card-ink)}.nav-record b{min-width:27px;width:auto;padding:0 4px}.close{width:44px;height:44px}.record-subjects span{min-width:80px}.print-btn{min-height:44px}.empty{grid-column:1/-1;padding:30px}
@media(max-width:640px){.filter-box{padding:18px}.filter-caption{font-size:13px}.filter-box .filters{gap:7px;margin-bottom:18px}.level-filters{display:grid;grid-template-columns:1fr}.level-filters button{text-align:left;padding-left:19px}.result-count{font-size:12px}.legacy-grid{grid-template-columns:1fr 1fr}.legacy-grid button{font-size:13px}.level-tag{font-size:12px}.resource-card{padding:16px;font-size:14px}.resource-card table{font-size:12px}.resource-card th,.resource-card td{padding:8px}.quest-top p{font-size:15px}.steps li{font-size:15px}.answer,.hint,.extension,.sources{font-size:14px}.prep,.learning-note,.goal{font-size:13px}.notebook-template h3{align-items:flex-start;flex-direction:column}.record-subjects{display:grid;grid-template-columns:repeat(3,1fr)}.completed-list li{display:block}.completed-list span{display:block;margin-bottom:6px}.hero-tags{gap:13px}.hero-tags span+span:before{padding-right:8px}}
@media print{.extension,.sources,.legacy-shelf{display:none!important}.resource-card{break-inside:avoid;background:#fff}.safety{background:#fff}.hint:not([open]){display:none}.table-scroll{overflow:visible}.resource-card table{font-size:11px}.learning-note{margin-top:0}}

[hidden]{display:none!important}

.read-after{padding:15px;border:1px solid #c8d5be;border-radius:12px;margin-top:22px}.read-after>summary{font-weight:800;font-size:14px;cursor:pointer}.read-after .resource-card{margin-bottom:0}
@media print{.read-after:not([open]){display:none}.read-after{break-inside:avoid}}

.quest-diagram{margin:18px 0 28px;padding:15px;background:#fffef8;border:1px solid #d4ddc8;border-radius:14px}.quest-diagram img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain}.quest-diagram figcaption{font-size:13px;margin-top:12px;color:#52674c}
@media(max-width:640px){.quest-diagram{padding:8px;margin:18px -5px 24px}}
@media print{.quest-diagram{break-inside:avoid;border:0;padding:0}.quest-diagram img{max-height:280px}}
