:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;background:#f5f6fc;color:#1a2241;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{color:#1c2845}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9ba9fe;outline-offset:2px}[hidden]{display:none!important}.sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app-shell{max-width:920px;min-height:100dvh;margin:auto;padding:22px 28px 34px}.header{display:flex;justify-content:space-between;align-items:center;gap:12px}.brand-wrap{display:flex;gap:10px;align-items:center}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#5249db;color:white;font-size:29px;box-shadow:0 8px 19px #5249db30}.brand{font-weight:850;font-size:23px;letter-spacing:-.9px}.brand-dot{color:#6761e9}.brand-sub{font-size:12px;color:#818aa5;margin-top:2px}.header-right{display:flex;align-items:center;gap:12px}.lang-select{border:1px solid #e1e5f1;border-radius:12px;padding:10px 12px;background:white;font-size:13px;font-weight:700}.online-pill{font-size:11px;color:#687598;border-radius:999px;padding:8px 11px;background:#eceffc;white-space:nowrap}.desktop-nav{display:flex;gap:5px;margin:26px 0 27px;padding:6px;border:1px solid #eaecf5;border-radius:16px;background:#fff}.navbtn{flex:1;border:0;border-radius:11px;padding:12px 6px;background:transparent;color:#7b849e;font-weight:700;font-size:13px}.navbtn span:first-child{font-size:18px;vertical-align:middle;margin-right:5px}.navbtn.active{background:#efefff;color:#5144d4}.page{display:none;animation:fade .16s ease-out}.page.active{display:block}@keyframes fade{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.hero{background:linear-gradient(123deg,#4942c9 0%,#7663e9 74%,#9984ff 100%);border-radius:27px;position:relative;overflow:hidden;min-height:265px;display:flex;align-items:center;padding:31px 35px;color:white}.hero-content{position:relative;z-index:2;max-width:68%}.eyebrow{font-size:11px;font-weight:790;letter-spacing:1.3px;color:#e0dcff}.hero h1{margin:12px 0 11px;max-width:470px;font-size:clamp(28px,4vw,38px);line-height:1.1;letter-spacing:-1.4px}.hero p{color:#eeeaff;max-width:430px;font-size:14px;line-height:1.65}.hero-button{padding:12px 18px;border:0;border-radius:12px;background:#fff;color:#4e44cb;font-size:13px;font-weight:800;margin-top:7px;box-shadow:0 6px 15px #291e9d33}.hero-deco{position:absolute;border:1px solid #ffffff27;border-radius:50%}.deco1{right:-90px;top:-125px;width:310px;height:310px}.deco2{right:-35px;bottom:-185px;width:380px;height:380px}.hero-art{position:absolute;right:70px;top:55px;transform:rotate(9deg)}.art-card{width:135px;height:150px;background:#ffffffe3;box-shadow:0 22px 35px #21176535;border-radius:19px;padding:24px 16px;position:relative}.art-star{color:#8674ff;font-size:40px;line-height:1}.art-line{margin-top:12px;height:8px;width:95px;background:#e7e7fc;border-radius:10px}.art-line.short{width:60px;margin-top:8px}.art-check{position:absolute;right:-14px;bottom:-10px;border-radius:50%;background:#87e5c1;border:6px solid #9f8bff;color:#245949;width:51px;height:51px;display:grid;place-items:center;font-size:23px;font-weight:900}.section-heading{margin:27px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2,.panel h2{font-size:19px;letter-spacing:-.45px;margin:5px 0 0}.kicker{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#8a82c1}.link-button{background:transparent;border:0;color:#5046d9;font-size:13px;font-weight:800}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-card{border-radius:17px;border:1px solid #e7e9f3;padding:17px 20px;display:flex;align-items:center;gap:14px;background:white}.stat-ico{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:24px}.stat-ico.purple{background:#efedff;color:#6757df}.stat-ico.mint{background:#def9ef;color:#289876}.stat-number{font-weight:850;font-size:25px;line-height:1.15}.stat-label{font-size:12px;color:#8a93a9;margin-top:4px}.family-row{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:24px 0 8px}.family-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.family-tabs button{border:1px solid #e3e5f1;background:white;border-radius:999px;padding:10px 14px;color:#79839c;white-space:nowrap;font-size:12px;font-weight:750}.family-tabs button.active{background:#5046db;color:white;border-color:#5046db}.outline-small{border:1px dashed #c9c5ec;background:#f3f1ff;color:#5848c7;border-radius:999px;padding:10px 12px;white-space:nowrap;font-size:12px;font-weight:750}.section-heading.near{margin-top:15px}.tasks{display:flex;flex-direction:column;gap:8px}.task-card{background:#fff;border:1px solid #e7e9f1;border-radius:14px;padding:14px;display:flex;align-items:flex-start;gap:11px;min-width:0}.task-card.done{opacity:.65}.task-tick{border:2px solid #c6c8e2;width:23px;height:23px;border-radius:8px;flex:none;background:#fff;color:#fff;display:grid;place-items:center;margin-top:2px;font-size:14px;font-weight:900}.task-card.done .task-tick{border-color:#36af8e;background:#36af8e}.task-body{flex:1;min-width:0}.task-title{font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.task-card.done .task-title{text-decoration:line-through}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.chip{font-size:10px;font-weight:650;background:#eef1fc;color:#707a9b;padding:5px 8px;border-radius:7px}.chip.due{background:#fff2e6;color:#b0783e}.chip.overdue{background:#ffeded;color:#bb5959}.icon-button{background:#f2f2fb;border:0;border-radius:10px;color:#625c9c;width:35px;height:35px;display:grid;place-items:center;font-size:23px}.edit-btn{border:0;background:transparent;color:#8b91a9;font-size:18px;padding:3px 5px}.empty{background:#fff;border:1px dashed #cfd2e8;border-radius:17px;padding:28px 18px;text-align:center;color:#8490a8;font-size:13px;line-height:1.6}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.quick-actions button{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e7e9f3;border-radius:17px;background:white;padding:14px}.qa-icon{display:grid;place-items:center;border-radius:12px;width:45px;height:45px;font-size:23px}.qa-icon.blue{color:#5c69de;background:#eeeefe}.qa-icon.orange{color:#d28643;background:#fff1df}.quick-actions b{font-size:13px;display:block}.quick-actions small{font-size:11px;color:#8791aa;display:block;margin-top:4px}.qa-arrow{margin-left:auto;color:#b0b7c9}.page-heading{margin-bottom:22px}.page-heading h1{font-size:clamp(26px,4.3vw,35px);line-height:1.15;letter-spacing:-1.2px;margin:8px 0}.page-heading p{font-size:14px;color:#778199;line-height:1.7;max-width:680px;margin:0}.panel{border:1px solid #e7e9f3;border-radius:20px;padding:22px;background:#fff;margin:14px 0}.panel h2{margin:0 0 11px}.field-label{display:block;color:#56617f;font-size:12px;font-weight:800;margin:17px 0 8px}.control{width:100%;max-width:100%;background:#fff;border:1px solid #dbe0ee;border-radius:12px;padding:12px 13px;font-size:14px;line-height:1.4}textarea.control{resize:vertical;min-height:95px}.native-file{display:block;width:100%;border:2px dashed #b6b1ed;background:#f8f7ff;border-radius:12px;color:#41488a;padding:13px;font-weight:650;min-height:58px;font-size:12px}.native-file::file-selector-button{background:#544bdf;color:white;border:0;padding:11px;border-radius:9px;margin-right:12px;font-weight:800}.photo-status,.help-text{font-size:12px;line-height:1.65;color:#818aa3;margin:10px 0}.image-box{margin:15px 0;border:1px solid #e2e6f1;border-radius:13px;overflow:hidden;background:#f8f9fd}.image-box img{display:block;max-height:350px;max-width:100%;width:100%;object-fit:contain}.image-description{padding:10px 12px;font-size:12px;color:#7a839a}.primary-button,.ghost-button,.upload-backup{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:12px;border:0;padding:12px 17px;font-weight:800;font-size:13px;text-align:center}.primary-button{background:#5449da;color:white}.ghost-button,.upload-backup{color:#554bcf;background:#efeeff}.panel>.primary-button{margin-top:14px}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.button-row>*{flex:1}.notice-card{background:#eeefff;border:1px solid #e2e2fa;padding:17px 19px;border-radius:17px;margin:17px 0;color:#5b5984;font-size:13px}.notice-card b{color:#44438e}.notice-card p{line-height:1.7;margin:7px 0 0;font-size:12px}progress{width:100%;accent-color:#5549da;margin-top:12px}.suggestion-card{border:1px solid #e7e9f3;background:#fcfcff;padding:14px;border-radius:13px;margin:10px 0}.suggestion-card textarea{min-height:60px}.suggestion-top{display:flex;align-items:flex-start;gap:10px}.suggestion-top input{width:18px;height:18px;accent-color:#574fdd;margin-top:13px}.suggestion-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-left:28px}.suggestion-fields label{font-size:11px;color:#747e99;font-weight:700}.suggestion-fields .control{margin-top:4px;padding:9px;font-size:12px}.suggestion-fields label:last-child{grid-column:1/-1}.session-badge{display:inline-flex;background:#efedff;color:#6355d6;padding:7px 9px;border-radius:7px;font-size:10px;letter-spacing:1px;font-weight:850}.study-session h2{font-size:19px;margin:16px 0;overflow-wrap:anywhere}.hint-list{display:flex;flex-direction:column;gap:10px;margin:12px 0}.hint-item{border-radius:12px;background:#f2f0ff;border:1px solid #e9e7ff;padding:13px 15px;font-size:13px;line-height:1.65;color:#52508b}.hint-item:before{content:'✦ ';font-weight:900;color:#7768dd}.hint-button{border:1px dashed #8b86dd;background:#f9f8ff;color:#584eca;border-radius:12px;padding:13px 14px;font-size:13px;font-weight:800;width:100%;margin:7px 0}.study-session .primary-button{width:100%}.feedback{border-radius:10px;padding:13px;font-size:13px;line-height:1.5;margin:12px 0;display:none}.feedback.show{display:block;background:#f2f0ff;color:#564ca1}.feedback.good{background:#e6f9f1;color:#266b58}.feedback.again{background:#fff3e8;color:#a36a34}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.calendar-head h2{margin:0}.weekday-row,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday-row{margin-top:18px;color:#8d96aa;font-size:11px;text-align:center;font-weight:800}.month-grid{margin-top:10px}.calendar-day{aspect-ratio:1;min-height:42px;border:1px solid transparent;border-radius:12px;background:#f6f7fc;color:#596078;font-size:13px;font-weight:700;position:relative}.calendar-day.active{background:#544add;color:white}.calendar-day.today{border-color:#8c85e5}.calendar-day.outside{opacity:.36}.calendar-day .dot{position:absolute;bottom:4px;left:calc(50% - 2px);width:5px;height:5px;background:#8c81e5;border-radius:50%}.calendar-day.active .dot{background:white}.date-details{border-top:1px solid #edf0f5;margin-top:18px;padding-top:15px}.date-details h3{font-size:14px;margin:0 0 13px}.kids-list{display:flex;flex-direction:column;gap:8px}.kid-item{border:1px solid #ecedf4;border-radius:12px;padding:12px;display:flex;align-items:center;gap:11px;font-size:13px;font-weight:750}.kid-avatar{width:34px;height:34px;border-radius:12px;background:#efedff;color:#6c5cd7;display:grid;place-items:center}.kid-item .grow{flex:1}.inline-form{display:flex;gap:9px;margin-top:13px}.inline-form .control{flex:1;min-width:0}.upload-backup{position:relative;cursor:pointer}.upload-backup input{position:absolute;opacity:0;width:100%;height:100%;left:0;top:0;cursor:pointer}.footer{font-size:11px;color:#a2a9bc;display:flex;justify-content:space-between;border-top:1px solid #e6e8f2;padding-top:22px;margin-top:38px}.bottom-nav{display:none}.modal{position:fixed;inset:0;z-index:20;background:#15193690;display:flex;justify-content:center;align-items:center;padding:16px}.modal-card{background:white;border-radius:20px;padding:20px;width:min(100%,490px);max-height:90dvh;overflow:auto;box-shadow:0 18px 70px #11182a45}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#222448;color:white;padding:12px 18px;border-radius:12px;box-shadow:0 12px 30px #211c5536;z-index:40;display:none;max-width:90%;min-width:200px;text-align:center;font-size:13px}.toast.show{display:block}@media(max-width:650px){.app-shell{padding:16px 16px 104px}.header{align-items:center}.brand{font-size:21px}.brand-sub{font-size:10px}.online-pill{display:none}.lang-select{font-size:11px;padding:9px 7px}.desktop-nav{display:none}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);bottom:0;left:0;right:0;background:#fffffff4;backdrop-filter:blur(18px);border-top:1px solid #e8e9f1;padding:7px 4px max(7px,env(safe-area-inset-bottom));z-index:9}.bottom-nav button{border:0;background:transparent;color:#8b95b0;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:5px 1px}.bottom-nav button span{font-size:24px;line-height:1}.bottom-nav button small{font-size:9px;font-weight:750;line-height:1.2}.bottom-nav button.active{color:#554ad8}.hero{margin-top:22px;padding:24px 23px;min-height:250px}.hero-content{max-width:80%}.hero h1{font-size:29px}.hero p{font-size:12px}.hero-art{right:0;top:78px;transform:rotate(12deg) scale(.7);opacity:.75}.stats{gap:9px}.stat-card{padding:14px;gap:9px}.stat-ico{width:37px;height:37px;font-size:20px}.stat-number{font-size:22px}.stat-label{font-size:11px}.quick-actions{grid-template-columns:1fr}.page-heading{margin-top:25px}.panel{padding:16px}.suggestion-fields{grid-template-columns:1fr}.suggestion-fields label:last-child{grid-column:1}.month-grid,.weekday-row{gap:3px}.calendar-day{min-height:34px;font-size:12px}.footer{margin-top:24px}.family-row{gap:4px}.family-tabs button{padding:9px 12px}.outline-small{padding:9px 10px}.inline-form{flex-wrap:wrap}.inline-form .primary-button{flex:none}.button-row{flex-wrap:wrap}.button-row>*{min-width:44%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}

.due-alert{background:#fff4e9;border:1px solid #f4e4d0;border-radius:13px;padding:12px 14px;margin:14px 0;color:#a16a39;font-size:12px;line-height:1.6;font-weight:700}

.camera-button{display:inline-flex;align-items:center;gap:8px;margin:4px 0 8px;border:1px solid #b6b1ed;border-radius:10px;color:#4c45ca;background:#fff;padding:11px 15px;font-size:13px;font-weight:750;position:relative;overflow:hidden;cursor:pointer}
.camera-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.example-button{display:inline-flex;align-items:center;justify-content:center;background:#f2f1ff;color:#4c45ca;padding:9px 14px;border:0;border-radius:9px;font-weight:800;font-size:13px;margin-bottom:6px}
#subjectExample{margin-bottom:6px}
