:root{--ink:#26332e;--muted:#8b958f;--line:#e8ede7;--green:#416c50;--lime:#dcebb3;--paper:#f7f8f3;--orange:#d17d4b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'Noto Sans SC',system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button,input,select,textarea{outline-color:#72986a}button:disabled{opacity:.4;cursor:not-allowed}input,select,textarea{border:1px solid #dfe6dd;border-radius:11px;background:#fff;padding:11px 13px;min-width:0;color:var(--ink)}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}textarea{resize:vertical;min-height:90px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px}h2{font-size:21px}h3{font-size:16px}.layout{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:31px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:218px;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:800;padding:0 10px 32px}.brand-icon{background:var(--green);color:#fff;width:38px;height:38px;border-radius:13px;display:grid;place-items:center;font-size:24px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:4px}.navlabel{font-size:10px;letter-spacing:2px;color:#a6ada6;margin:14px 14px 9px}.nav{display:flex;gap:13px;align-items:center;width:100%;padding:13px 15px;border-radius:11px;text-align:left;margin:3px 0;color:#839087;font-size:13px;font-weight:600}.nav i{font-style:normal;width:20px;font-size:18px}.nav.active{background:#edf3e7;color:var(--green)}.nav:hover{background:#f2f5ed}.sidebar-foot{margin-top:auto;padding:16px 10px 0;border-top:1px solid var(--line);color:#8c958d;font-size:11px}.avatar{width:33px;height:33px;border-radius:50%;display:inline-grid;place-items:center;background:#f4e8d9;color:#a47549;margin-right:9px}.main{grid-column:2;padding:0 38px 36px;max-width:1800px;width:100%}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:14px}.breadcrumb{font-size:12px;color:#9aa49a}.breadcrumb b{color:#4e6253;font-weight:500}.top-actions{display:flex;gap:10px;align-items:center}.pill{font-size:11px;background:#edf3e6;padding:7px 11px;border-radius:20px;color:#658455}.status-dot{height:6px;width:6px;background:#789d52;border-radius:50%;display:inline-block;margin-right:5px}.icon-btn{border:1px solid #e1e6dd;background:#fff;border-radius:10px;padding:9px 12px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:30px 0 23px}.eyebrow{font-size:10px;color:#839477;letter-spacing:2px;font-weight:700;margin-bottom:8px}.subtitle{font-size:12px;color:var(--muted);margin-top:9px;line-height:1.8}.btn{background:var(--green);color:white;border:1px solid var(--green);border-radius:10px;padding:11px 16px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn.secondary{background:#fff;color:#596451;border-color:#e0e5da}.btn.soft{background:#eef3e7;color:#527044;border-color:transparent}.btn.danger{background:#fff2ed;color:#b26750;border-color:#f4d9cc}.btn.small{padding:7px 10px;font-size:11px}.hero{background:#e8eedc;border:1px solid #e0e7d4;border-radius:20px;position:relative;display:flex;align-items:center;justify-content:space-between;padding:24px 29px;margin-bottom:24px;overflow:hidden;min-height:151px}.hero h2{font-size:21px;margin-bottom:10px}.hero p{font-size:12px;color:#7c8a70;line-height:1.9}.hero-art{position:absolute;right:28px;bottom:-18px;opacity:.85;width:200px;transform:rotate(-8deg)}.hero .spark{font-size:28px;color:#a6b989;margin-right:12px}.hero-label{background:#fff8d9;color:#9b8954;font-size:10px;border-radius:6px;padding:4px 8px;display:inline-block;margin-bottom:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 26px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:17px 20px;display:flex;gap:14px;align-items:center}.stat-icon{width:38px;height:38px;border-radius:12px;background:#f2f5eb;color:#7b935d;display:grid;place-items:center;font-size:20px}.stat:nth-child(2) .stat-icon{background:#fff1e7;color:#d99b6e}.stat:nth-child(3) .stat-icon{background:#f0ecf8;color:#a38cbd}.stat:nth-child(4) .stat-icon{background:#fff6df;color:#c3a25b}.stat b{font-size:23px;font-weight:700;letter-spacing:-1px}.stat small{display:block;color:#969f95;font-size:10px;margin-top:3px}.toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.toolbar .search{width:230px;background:white}.toolbar select{font-size:11px;padding:11px 12px}.toolbar .spacer{flex:1}.section-label{font-size:12px;color:#7b8876;margin:19px 0;display:flex;gap:10px;align-items:center}.section-label:before{content:'';width:4px;height:14px;border-radius:3px;background:#b5c891}.section-label small{color:#a1a99c;font-size:10px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(214px,1fr));gap:17px}.petcard{border:1px solid #e4e9df;border-radius:17px;background:white;overflow:hidden;transition:.2s;position:relative}.petcard:hover{transform:translateY(-3px);box-shadow:0 8px 25px #28391909;border-color:#bfceaa}.petcard.selected{outline:2px solid #779a5c}.card-top{padding:13px 15px 0;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#a4ae9d}.badge{font-size:9px;background:#f0f3e8;border-radius:5px;padding:4px 7px;color:#90a075}.badge.purple{background:#f0ebf7;color:#a18cb4}.pet-art{height:151px;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.pet-art svg{height:149px;width:172px;transition:.2s}.pet-art:hover svg{transform:translateY(-3px) rotate(3deg)}.pet-art .pet-name{position:absolute;bottom:2px;font-size:10px;color:#9ba691}.pet-info{padding:12px 17px 16px}.pet-info .name{font-weight:700;font-size:14px}.student-row{display:flex;justify-content:space-between;align-items:center}.student-row small{font-size:10px;color:#a7afa2;margin-left:5px}.points{font-size:17px;font-weight:700;color:#567b48}.points span{font-size:10px;color:#a1ac98;font-weight:400}.progress{height:5px;background:#eef2e8;border-radius:8px;margin:13px 0 7px;overflow:hidden}.progress i{display:block;height:100%;border-radius:8px;background:#aac27d}.level-row{display:flex;justify-content:space-between;font-size:9px;color:#a4ad9d}.level-row b{color:#94a47e;font-weight:500}.card-actions{display:flex;gap:7px;margin-top:15px}.card-actions button{flex:1;border:1px solid #e5ebdc;border-radius:7px;padding:7px;font-size:11px;color:#7c925e;background:#fafcf7}.card-actions button:last-child{background:#fff;color:#a2a99b}.empty-card{border:1px dashed #d1ddc4;border-radius:17px;min-height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#a1af90;gap:13px;font-size:12px;background:#f7f9f2}.empty-card b{font-size:28px;font-weight:300}.bottom-note{text-align:center;color:#afb6a9;font-size:10px;margin-top:32px;letter-spacing:1px}.batchbar{position:sticky;bottom:20px;z-index:20;background:#344f3a;color:white;box-shadow:0 10px 30px #263a3333;border-radius:14px;display:flex;align-items:center;gap:14px;padding:15px 20px;max-width:650px;margin:20px auto}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;color:#9aa491;font-size:10px;font-weight:500;background:#f8faf4;padding:12px}td{padding:14px 12px;border-bottom:1px solid #f0f3ec}tr:last-child td{border:0}.positive{color:#6a914f}.negative{color:#ce8b70}.muted{color:#a1a99b;font-size:11px}.empty{text-align:center;padding:52px 20px;color:#9eaa94;line-height:2}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.tab{padding:9px 16px;border-radius:8px;font-size:12px;color:#99a28f;background:#f1f4ec}.tab.on{color:#547346;background:#e8efdf}.rule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:11px}.rule{border:1px solid #e4eadc;border-radius:12px;padding:17px;text-align:left;display:flex;justify-content:space-between;gap:10px;align-items:center}.rule:hover{background:#f3f7ec}.rule.on{background:#eaf2df;border-color:#a8bf8c}.rule strong{font-size:18px;color:#7f9c61}.rule small{display:block;font-size:10px;color:#9ca68f;margin-top:6px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#28362866;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(720px,96vw);max-height:90vh;overflow:auto;background:#fafbf7;border-radius:22px;box-shadow:0 20px 80px #1a281c33}.modal.wide{width:min(950px,96vw)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid #e6ebdf;background:white;position:sticky;top:0;z-index:2}.modal-header h2{font-size:18px}.modal-header small{display:block;letter-spacing:2px;font-size:9px;color:#a3ad98;margin-top:7px}.close{font-size:25px;color:#a4ad9b;padding:0 6px}.modal-body{padding:24px 26px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;font-size:12px;color:#7b8971}.field.full{grid-column:1/-1}.form-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.petchoices{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.petchoice{border:1px solid #e4eadc;background:#fff;border-radius:13px;padding:10px;text-align:center;font-size:11px}.petchoice.on{background:#eaf2df;border-color:#a0b982}.petchoice svg{width:100%;height:92px}.student-picks{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px}.student-pick{border:1px solid #e3e9da;padding:8px 11px;border-radius:8px;background:white;font-size:12px}.student-pick.on{background:#e5eddc;border-color:#a0ba85;color:#51743e}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.prize-icon{height:100px;display:grid;place-items:center;font-size:48px;background:#f2f5e9;border-radius:12px;margin-bottom:16px}.prize-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:17px}.prize-card p{font-size:11px;color:#9aa48f;line-height:1.8;margin:8px 0 14px}.price{color:#b5974f;font-size:14px;font-weight:700}.rank{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #eef2e7}.rank-num{font-size:17px;color:#b1bb9f;width:30px}.rank:first-child .rank-num{color:#c6a65f}.rank .bar{height:6px;background:#eaf0df;border-radius:5px;flex:1;overflow:hidden}.rank .bar i{display:block;height:100%;background:#abc581}.rank strong{width:45px;text-align:right;font-size:17px;color:#6f8a50}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #edf1e6}.setting-row p{font-size:10px;color:#9aa58e;margin-top:7px;line-height:1.7}.loading{padding:80px;text-align:center;color:#839477}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(90px);z-index:300;background:#344f3a;color:white;padding:13px 24px;border-radius:12px;font-size:12px;transition:.25s;opacity:0;box-shadow:0 6px 24px #283b3333}#toast.show{transform:translateX(-50%);opacity:1}.detail-art{height:190px;display:flex;align-items:center;justify-content:center;background:#edf2e4;border-radius:15px}.detail-art svg{height:180px}.mini-stats{display:flex;gap:10px;margin:16px 0}.mini-stats div{flex:1;text-align:center;background:#fff;border:1px solid var(--line);padding:13px;border-radius:10px}.mini-stats b{display:block;font-size:21px;color:#6e8b53}.mini-stats small{font-size:10px;color:#a0ab93}.banner{background:#f3f7ea;border:1px solid #e2ead3;border-radius:10px;padding:12px 16px;font-size:11px;color:#8d9d78;line-height:1.9;margin:14px 0}.compact .pet-art{height:100px}.compact .pet-art svg{height:100px}.compact .grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}a{color:#6c8e50}.mobile-head{display:none}.check-label{display:flex;align-items:center;gap:8px}.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.mobile-menu{display:none}@media(min-width:1450px){.grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:1050px){.sidebar{width:180px;padding:25px 12px}.layout{grid-template-columns:180px 1fr}.main{padding:0 22px 25px}.stats{gap:8px}.stat{padding:14px 12px;gap:9px}.stat-icon{width:30px;height:30px}.hero-art{right:0;opacity:.55}.brand{padding-left:5px;font-size:16px}}@media(max-width:720px){.layout{display:block}.sidebar{width:100%;height:auto;top:auto;bottom:0;flex-direction:row;padding:7px 5px;border-right:0;border-top:1px solid var(--line);justify-content:space-around}.brand,.navlabel,.sidebar-foot,.nav.extra{display:none}.nav{flex-direction:column;font-size:9px;gap:4px;padding:7px;margin:0;justify-content:center;width:auto;flex:1}.nav i{font-size:18px}.main{padding:0 16px 90px}.topbar{height:65px}.breadcrumb{font-size:10px}.top-actions .pill{display:none}.heading{margin:23px 0 20px;gap:10px}h1{font-size:24px}.heading .btn{padding:10px;font-size:11px}.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:20px}.stat{padding:13px}.stat b{font-size:21px}.hero{padding:20px;min-height:140px}.hero h2{font-size:18px}.hero-art{width:130px;right:-7px;bottom:-15px;opacity:.4}.hero p{font-size:10px;max-width:230px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.pet-art{height:125px}.pet-art svg{height:125px;width:145px}.pet-info{padding:10px 12px 13px}.pet-info .name{font-size:12px}.card-top{padding:10px 12px 0}.toolbar .search{width:100%}.toolbar .spacer{display:none}.toolbar select{flex:1}.toolbar .btn{flex:1}.toolbar .icon-btn{padding:9px}.section-label{font-size:11px}.points{font-size:15px}.empty-card{min-height:250px}.modal-backdrop{padding:10px}.modal-body{padding:18px}.modal-header{padding:18px}.formgrid,.split{grid-template-columns:1fr}.petchoices{grid-template-columns:repeat(3,1fr)}.panel{padding:17px}.panel-head{flex-wrap:wrap}.batchbar{font-size:11px;padding:12px;gap:8px;bottom:70px}.batchbar .btn{padding:8px}.rule-grid{grid-template-columns:repeat(2,1fr)}.prize-card{padding:12px}.stat small{font-size:9px}.compact .grid{grid-template-columns:repeat(2,1fr)}#toast{bottom:85px;width:max-content;max-width:90vw}.hero-label{font-size:9px}.detail-art{height:150px}.detail-art svg{height:145px}}
@media print{body *{visibility:hidden}#certificate,#certificate *{visibility:visible}#certificate{position:fixed;inset:20px;width:calc(100% - 40px);height:85vh}.modal-backdrop{background:white}.modal-header,.form-footer{display:none}}
@media(max-width:720px){.nav.extra{display:flex}.sidebar{overflow-x:auto}.nav{min-width:55px;font-size:8px}.nav i{font-size:16px}.brand small{letter-spacing:1px}}
/* Soft 3D pet collection, three individually painted growth stages per species. */
.pet-sprite{display:block;width:174px;height:174px;flex:0 0 auto;background-image:var(--sheet);background-size:300% 300%;background-position:var(--sx) var(--sy);background-repeat:no-repeat;border-radius:17px;mix-blend-mode:multiply}.pet-egg{display:grid;place-items:center;font-size:94px;width:174px;height:174px;filter:drop-shadow(0 8px 4px #c4cfb655)}.petcard .pet-art{height:181px;background:linear-gradient(#f5faff,#fff)}.petcard .pet-sprite{width:176px;height:176px}.petcard .pet-art .pet-name{bottom:0;background:#ffffffc9;padding:3px 10px;border-radius:12px}.petcard .pet-art:hover .pet-sprite{animation:pet-nod 1.1s ease-in-out}.petcard .level-row b{color:#638d58;font-weight:700}.detail-art{height:250px;background:#f4f9fc}.detail-art .pet-sprite{width:235px;height:235px}.hero-art .pet-sprite{width:180px;height:180px}.petchoice .pet-sprite{width:100%;height:auto;aspect-ratio:1;border-radius:10px}.petchoice{padding:8px 8px 12px}.petchoice.on{box-shadow:0 0 0 2px #b0c99a55}.evolution-intro{text-align:center;padding:5px 0 25px}.evolution-intro h2{font-size:23px}.evolution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.evolution-card{border:1px solid #e0e9db;border-radius:18px;background:linear-gradient(#f3f9fd,#fff);padding:18px 10px;text-align:center;position:relative}.evolution-card .pet-sprite{width:100%;height:auto;aspect-ratio:1}.evolution-card h3{font-size:13px;margin-top:8px}.evolution-card p{font-size:10px;color:#94a388;margin-top:7px}.evolution-card.locked{opacity:.65}.evolution-card.locked .pet-sprite{filter:saturate(.65)}.evolution-level{display:inline-block;background:#e7f1e0;color:#698650;border-radius:15px;font-size:12px;font-weight:800;padding:5px 14px}.evolution-card:nth-child(2) .evolution-level{background:#e6eefb;color:#7a95ba}.evolution-card:nth-child(3) .evolution-level{background:#fff0c4;color:#b4944c}.level-celebration{position:relative;text-align:center;overflow:hidden;padding:13px 0 20px}.upgrade-label{display:inline-block;background:#fff0c5;color:#ae8c39;padding:8px 17px;border-radius:25px;letter-spacing:1px;font-size:11px}.upgrade-pet{position:relative;display:flex;justify-content:center;margin:14px 0 6px;z-index:1;animation:pet-reveal 1.1s cubic-bezier(.22,.8,.3,1.2)}.upgrade-pet:before{content:'';position:absolute;width:230px;height:230px;border-radius:50%;background:radial-gradient(#fff2bf88,#d9edfa33,transparent);top:12px;z-index:-1}.upgrade-pet .pet-sprite{width:250px;height:250px}.level-jump{display:flex;align-items:center;justify-content:center;gap:18px;font-weight:800;position:relative;z-index:1}.level-jump span{font-size:20px;color:#a0aea0}.level-jump i{font-style:normal;color:#c5d4bb}.level-jump b{font-size:38px;background:linear-gradient(110deg,#789d5d,#c3a057);color:transparent;background-clip:text}.level-celebration h2{font-size:21px;margin:12px 0}.level-celebration p{font-size:12px;color:#94a088;margin-bottom:25px}.level-celebration .btn{margin:5px}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-12px;left:calc(var(--i)*4.1%);width:6px;height:11px;border-radius:2px;background:var(--color);animation:confetti-fall calc(1.8s + var(--i)*.03s) ease-in calc(var(--i)*.04s) both}.growth-event,.growth-milestone{display:flex;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid #eaf0e4}.growth-event>div,.growth-milestone>div{flex:1}.growth-event p,.growth-milestone p{font-size:10px;color:#9ca993;margin-top:6px}.event-dot{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f4ebce;color:#c8a448}.growth-milestone{border:1px solid #e9dcaf;background:#fffbed;border-radius:12px;padding:15px;margin:10px 0}.growth-milestone>span{font-size:25px}@keyframes pet-reveal{0%{transform:scale(.65);opacity:0;filter:brightness(2)}65%{transform:scale(1.04);filter:brightness(1.1)}100%{transform:scale(1);opacity:1;filter:brightness(1)}}@keyframes pet-nod{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-6px) rotate(-3deg)}70%{transform:translateY(-2px) rotate(2deg)}}@keyframes confetti-fall{0%{transform:translateY(-20px) rotate(0);opacity:0}12%{opacity:1}100%{transform:translateY(460px) rotate(420deg);opacity:0}}@media(max-width:720px){.petcard .pet-art{height:151px}.petcard .pet-sprite{width:145px;height:145px}.evolution-grid{gap:7px}.evolution-card{padding:12px 4px}.evolution-card h3{font-size:10px}.evolution-level{font-size:10px;padding:4px 8px}.evolution-intro h2{font-size:19px}.detail-art{height:225px}.detail-art .pet-sprite{width:210px;height:210px}}.compact .petcard .pet-art{height:120px}.compact .petcard .pet-sprite{width:115px;height:115px}@media(prefers-reduced-motion:reduce){.upgrade-pet,.confetti i,.petcard .pet-art:hover .pet-sprite{animation:none}}
/* Home-school cooperation and living pet states. */
.family-hero{min-height:125px;background:linear-gradient(120deg,#e8efdf,#e8f3ed)}.homework-teacher-row{display:flex;gap:15px;padding:22px 0;border-bottom:1px solid var(--line);align-items:flex-start}.homework-teacher-row:last-child{border-bottom:0}.subject-icon{width:44px;height:44px;background:#f1f5e9;border-radius:13px;display:grid;place-items:center;font-size:22px;flex:0 0 auto}.task-main{flex:1;min-width:0}.task-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.task-title h3{font-size:14px;line-height:1.7}.task-main p{font-size:12px;color:#8e9b86;line-height:1.9;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.task-tools{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pet-state-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f2f7e9;border-radius:12px;padding:15px;margin-top:14px}.pet-state-strip b{font-size:12px}.pet-state-strip p{font-size:10px;color:#93a080;margin-top:6px}.pet-hungry .pet-sprite{animation:hungry-breathe 3.2s ease-in-out infinite;filter:saturate(.85)}.pet-content .pet-sprite{animation:content-breathe 4s ease-in-out infinite}.pet-happy{position:relative}.pet-happy .pet-sprite{transform-origin:50% 88%;animation:happy-wiggle .65s ease-in-out infinite}.pet-heart{position:absolute;pointer-events:none;animation:pet-heart-rise 1.7s ease-out infinite;font-size:21px;color:#dba0ad;top:25%;left:15%}.pet-heart.h2{left:75%;top:30%;animation-delay:.55s;color:#e7b47a}.pet-heart.h3{left:62%;top:5%;animation-delay:1.05s;color:#d2bf72}.happy-pet-modal{text-align:center;padding:10px 0}.happy-pet-modal .pet-happy{width:250px;margin:0 auto}.happy-pet-modal .pet-sprite{width:250px;height:250px}.happy-pet-modal .btn{margin-top:25px}.hunger-thought{position:absolute;right:2px;top:2px;background:#fff9ee;border:1px solid #f1e2c9;color:#b69b6d;font-size:10px;padding:7px 11px;border-radius:18px;animation:thought-float 3s ease-in-out infinite}.parent-shell{max-width:700px;margin:auto;padding:30px 22px 45px;min-height:100vh}.parent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.parent-header h1{font-size:25px;letter-spacing:-.7px;margin:9px 0}.parent-header p{font-size:11px;color:#8e9c86}.parent-avatar{width:45px;height:45px;border-radius:16px;background:#e7efdf;display:grid;place-items:center;color:#7e9d67;font-size:25px}.parent-pet-card{border:1px solid #e1e9d8;border-radius:24px;background:linear-gradient(135deg,#edf4e5,#f9fcf3);padding:24px 24px 0;display:grid;grid-template-columns:1fr 210px;overflow:hidden;position:relative}.parent-pet-card.is-hungry{background:linear-gradient(130deg,#f6f0e2,#f9fcf5);border-color:#ebe3d0}.parent-pet-copy{position:relative;z-index:1;padding-top:6px}.pet-status-pill{display:inline-block;font-size:10px;font-weight:700;border-radius:20px;padding:7px 11px;background:#ffffffc4;color:#94a376}.is-hungry .pet-status-pill{color:#b19565}.parent-pet-copy h2{font-size:24px;margin:16px 0 8px}.parent-pet-copy p{font-size:11px;line-height:1.9;color:#8f9c82;max-width:245px}.parent-level{font-size:11px;color:#738f5c;font-weight:700;margin-top:19px}.parent-pet-copy .progress{max-width:235px;background:#dfe8d4}.parent-pet-copy small{font-size:9px;color:#9aa68b}.parent-pet-art{position:relative;display:flex;justify-content:center;align-items:center;align-self:center;margin:0 -13px 10px -10px}.parent-pet-art .pet-sprite{width:220px;height:220px}.parent-pet-bottom{grid-column:1/-1;border-top:1px solid #dfe8d4;display:flex;align-items:center;justify-content:space-between;padding:17px 0;margin-top:18px;gap:8px;font-size:10px;color:#839772}.parent-pet-bottom b{font-size:20px;color:#66864f;margin-left:5px}.parent-pet-bottom .btn{font-size:10px;white-space:normal}.parent-tabs{display:flex;padding:7px;background:#eaf0e2;border-radius:14px;gap:5px;margin:25px 0}.parent-tabs button{flex:1;padding:12px 5px;font-size:12px;font-weight:600;color:#8b9a7f;border-radius:10px}.parent-tabs button.on{background:#fff;color:#58764c;box-shadow:0 2px 7px #334a2510}.parent-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.parent-section-title h2{font-size:18px;letter-spacing:-.4px}.parent-section-title p{font-size:10px;color:#9aa68f;margin-top:8px}.parent-section-title input{max-width:150px;font-size:11px;background:#fff;padding:9px}.homework-check-list{display:flex;flex-direction:column;gap:13px}.parent-task{display:flex;align-items:flex-start;gap:13px;background:white;border:1px solid #e4eadd;border-radius:16px;padding:19px 16px}.parent-task.done{background:#f6faf0;border-color:#dce8ce}.parent-task.done .task-title h3{color:#8d9f7e}.parent-task .task-main p{font-size:11px;margin:7px 0}.parent-task .task-main small{font-size:9px;color:#9eaa91}.task-check{position:relative;flex:0 0 25px;cursor:pointer;padding-top:3px}.task-check input{position:absolute;opacity:0;inset:0;width:25px;height:25px;cursor:pointer;margin:0;z-index:1}.task-check>span{display:block;width:24px;height:24px;border:1.5px solid #cfdcc3;border-radius:8px;background:#fff;position:relative}.task-check input:checked+span{background:#8aab6b;border-color:#8aab6b}.task-check input:checked+span:after{content:'✓';color:#fff;position:absolute;inset:0;text-align:center;line-height:22px;font-weight:800}.task-check input:focus-visible+span{outline:2px solid #779b5b;outline-offset:4px}.task-check input:disabled+span{opacity:.65}.task-reward{color:#a8a061;background:#faf6e6;padding:8px 9px;border-radius:10px;flex:0 0 auto;text-align:center;font-size:12px;font-weight:700;white-space:nowrap}.task-reward small{font-size:9px;font-weight:400;display:block;margin-top:3px}.parent-task.done .task-reward{background:#e9f1de;color:#849a68}.task-reward.voided{background:#f6eae5;color:#bd9482}.parent-note{text-align:center;font-size:9px;color:#a4b096;margin:20px 0}.parent-empty{padding:35px 20px;text-align:center;color:#a1af93;line-height:2;font-size:12px}.parent-empty h3{font-size:15px;margin:12px 0 5px}.parent-empty p{font-size:11px}.parent-footer{text-align:center;margin-top:27px;font-size:10px;color:#a6b199;line-height:2}.parent-footer button{display:block;font-size:10px;color:#8ba074;margin:10px auto}.parent-score-row{display:flex;gap:12px;padding:17px 0;border-bottom:1px solid #edf2e5;align-items:center}.parent-score-row>div{flex:1;min-width:0}.parent-score-row b{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.parent-score-row p{font-size:9px;color:#9da992;margin-top:5px}.parent-score-row strong{font-size:19px}.score-dot{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-size:11px;background:#edf3e3;color:#91a778;flex:0 0 auto}.score-dot.home{background:#fbf0df;color:#b7a06c}.score-void{text-decoration:line-through;opacity:.5}.parent-shell .panel{padding:21px}.parent-shell .evolution-card .pet-sprite{width:100%;height:auto}.parent-shell .evolution-card h3{font-size:12px}.parent-shell .evolution-grid{gap:9px}@keyframes hungry-breathe{0%,100%{transform:translateY(3px) rotate(-1deg)}50%{transform:translateY(0) rotate(1deg)}}@keyframes content-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes happy-wiggle{0%,100%{transform:rotate(-6deg) translateY(0)}25%{transform:rotate(0) translateY(-8px)}50%{transform:rotate(6deg) translateY(0)}75%{transform:rotate(0) translateY(-8px)}}@keyframes pet-heart-rise{0%{transform:translateY(20px) scale(.4);opacity:0}20%{opacity:1}100%{transform:translateY(-60px) scale(1.2);opacity:0}}@keyframes thought-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@media(max-width:720px){.homework-teacher-row{flex-wrap:wrap;gap:10px}.task-tools{width:100%;padding-left:53px;justify-content:flex-start}.parent-shell{padding:22px 15px 30px}.parent-header{margin-bottom:19px}.parent-header h1{font-size:22px}.parent-header .eyebrow{font-size:8px}.parent-pet-card{padding:20px 17px 0;grid-template-columns:1fr 150px}.parent-pet-art .pet-sprite{width:165px;height:165px}.parent-pet-copy h2{font-size:22px;margin-top:14px}.parent-pet-copy p{font-size:10px}.parent-pet-copy .progress{max-width:175px}.parent-pet-copy small{font-size:8px}.parent-pet-bottom{flex-wrap:wrap;justify-content:space-between;gap:10px;padding:15px 0}.parent-pet-bottom .btn{padding:10px 12px}.parent-pet-bottom>span .muted{display:none}.parent-task{padding:16px 12px;gap:11px}.parent-task h3{font-size:12px}.task-reward{font-size:11px;padding:8px}.parent-section-title h2{font-size:16px}.parent-section-title input{max-width:134px}.parent-shell .panel{padding:18px}.parent-pet-art .hunger-thought{font-size:8px;right:0;top:-5px}.pet-state-strip{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.pet-hungry .pet-sprite,.pet-content .pet-sprite,.pet-happy .pet-sprite,.pet-heart,.hunger-thought{animation:none}}
/* Registration and linked school identities. */
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1320px;margin:auto;padding:38px;gap:32px;align-items:stretch}.auth-story{border-radius:30px;background:linear-gradient(145deg,#e6efdc,#eff6e9 60%,#e7f2ed);padding:38px 42px;display:flex;flex-direction:column;overflow:hidden;position:relative}.auth-story .brand{padding:0;margin-bottom:65px}.auth-story h1{font-size:37px;line-height:1.65;letter-spacing:-1.8px;margin:12px 0 20px}.auth-story>p{font-size:12px;color:#869a77;line-height:2.2}.auth-pets{display:flex;margin:35px -15px 0;justify-content:center;align-items:flex-end;flex:1;min-height:200px}.auth-pets .pet-sprite{width:220px;height:220px}.auth-pets .pet-sprite:last-child{margin-left:-42px;transform:translateY(-8px)}.auth-story-foot{font-size:10px;color:#9cad8d;line-height:2;margin-top:30px}.auth-form-pane{padding:30px 42px;align-self:center}.auth-tabs{display:flex;background:#eaf0e3;padding:6px;border-radius:13px;margin-bottom:34px}.auth-tabs button{flex:1;font-size:12px;color:#95a389;padding:11px;border-radius:9px;font-weight:600}.auth-tabs button.on{background:white;color:#597c4b;box-shadow:0 3px 8px #2a482b09}.auth-title h2{font-size:25px;letter-spacing:-.7px;margin:9px 0}.auth-title p{color:#a0ad95;font-size:11px;line-height:1.9;margin-bottom:26px}.auth-form .field{margin-bottom:17px;font-size:11px}.auth-form input,.auth-form select{padding:12px 14px;border-radius:10px;width:100%;font-size:12px}.auth-form .banner{font-size:10px;padding:12px}.auth-submit{width:100%;padding:14px;font-size:13px;margin-top:5px}.password-field{display:flex;align-items:center;background:white;border:1px solid #dfe6dd;border-radius:10px}.password-field input{border:0;background:transparent;flex:1}.password-field button{font-size:10px;color:#95a886;padding:12px}.auth-switch{font-size:11px;color:#a0ae94;line-height:1.9;text-align:center;margin-top:23px}.auth-switch button{font-size:11px;color:#648849;font-weight:700;margin-left:4px}.auth-fine-print{text-align:center;font-size:9px;color:#b0bca4;margin-top:30px;line-height:2}.claim-legacy{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#889d76;line-height:1.9;margin:15px 0}.claim-legacy input{width:16px;height:16px;margin-top:3px;flex:0 0 auto}.claim-legacy small{display:block;font-size:9px;color:#adb9a2}.setting-row code{font-size:10px;overflow-wrap:anywhere;color:#8ca078;max-width:70%}#auth-error{font-size:11px;color:#bd8470;line-height:1.9;margin-bottom:12px}.identity-tag{font-size:9px;color:#a3af97;overflow-wrap:anywhere;line-height:1.9;margin-top:14px}.top-actions{flex-wrap:wrap}.top-actions>.icon-btn{max-width:180px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:900px){.auth-shell{padding:20px;gap:10px;grid-template-columns:.85fr 1fr}.auth-story{padding:30px 23px}.auth-story h1{font-size:29px}.auth-form-pane{padding:24px}.auth-pets .pet-sprite{width:170px;height:170px}.auth-story .brand{margin-bottom:45px}}@media(max-width:650px){.auth-shell{display:block;padding:0;min-height:100vh}.auth-story{border-radius:0 0 30px 30px;padding:24px 24px 20px;min-height:215px}.auth-story .brand{margin-bottom:23px;font-size:16px}.auth-story .brand small{font-size:7px}.auth-story h1{font-size:24px;line-height:1.6;margin:5px 0 8px;position:relative;z-index:1}.auth-story>.eyebrow{font-size:8px}.auth-story>p{font-size:9px;max-width:65%;line-height:1.9}.auth-pets{position:absolute;right:-25px;bottom:-12px;min-height:0;opacity:.86;margin:0;pointer-events:none}.auth-pets .pet-sprite{width:150px;height:150px}.auth-pets .pet-sprite:first-child{display:none}.auth-story-foot{display:none}.auth-form-pane{padding:24px 26px 35px;max-width:500px;margin:auto}.auth-tabs{margin-bottom:24px}.auth-title h2{font-size:22px}.auth-title p{font-size:10px;margin-bottom:20px}.auth-fine-print{margin-top:22px}.topbar{height:auto;min-height:70px;padding:12px 0;flex-wrap:wrap}.top-actions{gap:6px}.top-actions>.icon-btn{font-size:9px;padding:8px;max-width:150px}.top-actions select{font-size:10px;padding:8px}}
