*{box-sizing:border-box}html{font:18px/1.5 system-ui,sans-serif;color:#26352e;background:#f8f4ea}body{margin:0}main{max-width:580px;margin:0 auto;padding:24px}header{text-align:center;padding:24px 0}h1{font-size:2.5rem;line-height:1;margin:12px 0 4px;color:#315d43}h2{color:#315d43;font-size:1.45rem;margin-top:0}.mark{display:inline-grid;place-items:center;width:78px;height:78px;border-radius:24px;background:#e6efe4;font-size:2.5rem}.eyebrow{font-size:.75rem;letter-spacing:.18em;font-weight:700}section{padding:20px;background:white;border:1px solid #ded9ce;border-radius:20px;margin:12px 0}#accessNotice{background:#fff0d5;color:#5c431d;font-size:.85rem}label{display:block;font-weight:600;margin-top:12px}input,button{font:inherit;min-height:48px;width:100%;border:1px solid #819282;border-radius:12px;padding:10px 12px}button{color:white;background:#315d43;margin-top:12px;cursor:pointer}button:disabled,input:disabled{opacity:.65;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #527faf;outline-offset:3px}#profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#profiles button{background:#e6efe4;color:#315d43;text-align:left;overflow-wrap:anywhere}.note{font-size:.85rem;color:#44594b;margin-bottom:0}#accessStatus{font-size:.9rem}[hidden]{display:none!important}@media(max-width:360px){main{padding:12px}#profiles{grid-template-columns:1fr}}
select,textarea{font:inherit;width:100%;min-height:48px;padding:10px 12px;border:1px solid #819282;border-radius:12px;background:white;color:#26352e}textarea{resize:vertical}input[type=checkbox]{width:24px;min-height:24px;vertical-align:middle;margin:8px}#childProjects,#childPortfolio,#childSchool,#adultPortfolio,#adultSchool{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}pre{white-space:pre-wrap;overflow-wrap:anywhere}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #527faf;outline-offset:3px}

#childWorld{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}.world-scene{padding:18px;border-radius:20px;text-align:center;font-size:1.15rem;overflow-wrap:anywhere}.world-day{background:#e6eef7;color:#26352e}.world-night{background:#263b58;color:#fff}.world-scene p:first-child{font-size:1.8rem}.world-scene p{margin:8px 0}

#adultLife,#childLife{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}

#childFamily{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}

#childFaith{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}

#childPlay{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}.private-memory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.private-memory button{font-size:.95rem;min-height:65px;padding:6px;margin:0;overflow-wrap:anywhere}.private-memory button:disabled{background:#e6efe4;color:#26352e;opacity:1}.private-maze{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.private-maze span{display:grid;place-items:center;aspect-ratio:1;border-radius:8px;font-size:1.35rem}.private-wall{background:#315d43;color:#fff}.private-path{background:#e6efe4;color:#26352e}@media(max-width:380px){.private-memory{grid-template-columns:repeat(2,minmax(0,1fr))}}

#childArt{border-top:1px solid #ded9ce;padding-top:12px;margin-top:20px}.private-canvas{display:block;width:100%;height:auto;background:white;border:2px solid #819282;border-radius:12px;margin-top:16px;touch-action:none;cursor:crosshair}

/* Tablet-first navigation; all modules share typography and touch targets. */
main{max-width:1080px;padding:clamp(12px,3vw,32px)}main>header{padding:16px 0 8px}#locked,#accessNotice{max-width:540px;margin:12px auto}
.workspace{padding:clamp(14px,2.5vw,26px)}.home-hero{background:#315d43;color:#fff;border-radius:22px;padding:clamp(20px,4vw,36px);margin-bottom:20px}.home-hero h2{color:#fff;font-size:clamp(1.5rem,4vw,2.1rem);margin:.4em 0}.home-hero p{margin:.5em 0}.home-motto{font-size:.85rem;color:#e6efe4}.rest-note{font-size:.9rem;color:#44594b;text-align:center;margin:24px 0 0}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.module-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:5px;min-height:142px;margin:0;padding:16px;border:1px solid #b7c5b5;border-radius:20px;color:#26352e;background:#e6efe4;overflow-wrap:anywhere}.module-icon{font-size:2rem;line-height:1.2}.module-name{font-size:1.1rem;color:#26352e}.module-desc{font-size:.85rem;color:#39473e}.module-school,.module-play{background:#e6eef7}.module-discover,.module-life{background:#e6efe4}.module-create{background:#f3e3db}.module-faith,.module-family{background:#eee8f5}.module-world,.module-portfolio{background:#f8ead8}
.module-bar{display:flex;align-items:center;gap:16px;padding-bottom:12px;border-bottom:1px solid #ded9ce}.module-bar button{width:auto;margin:0;flex-shrink:0}.module-bar h2{margin:0;overflow-wrap:anywhere}.module-bar h2:focus-visible{outline:3px solid #527faf;outline-offset:4px}
#childLogout,#adultLogout{background:#fff;color:#315d43;border-color:#315d43;margin-top:24px}#childDiscover,#childCreations{padding-top:12px}fieldset{min-width:0;border:1px solid #ded9ce;border-radius:12px;margin:12px 0;padding:12px}input,select,textarea,button{max-width:100%}#childCreate .private-canvas{max-width:800px;margin-inline:auto}
@media(min-width:700px){.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.module-card{min-height:168px}.workspace{min-height:420px}}
@media(max-width:380px){.module-grid{grid-template-columns:1fr}.module-bar{flex-wrap:wrap}.module-card{min-height:112px}}
