:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#233b36;background:#f5f7f8;font-synthesis:none;font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:0;border-radius:10px;padding:11px 18px;background:#edf3ef;color:#315f53;font-weight:600}button:disabled{opacity:.5;cursor:wait}button:hover:not(:disabled){filter:brightness(.96)}button.primary{background:#315f53;color:#fff}.outline{background:#fff;border:1px solid #cfdbd6}.quiet{background:transparent;color:#536e65}.wide{width:100%}h1{font-size:32px;line-height:1.3;margin:8px 0 12px;letter-spacing:-.8px}h2{font-size:21px;margin:0 0 12px}h3{font-size:18px}p{margin:8px 0 14px}label{display:block;font-size:14px;color:#536e65}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #cfdcd5;border-radius:9px;background:#fff;padding:11px 12px;color:#233b36;min-height:46px;margin:6px 0 16px}textarea{resize:vertical}input[type=checkbox]{width:19px;height:19px;accent-color:#315f53}fieldset{border:0;padding:0;margin:0 0 16px}legend{font-size:14px;color:#536e65}.check{display:inline-flex;align-items:center;gap:8px;margin-right:16px;min-height:44px}.muted{color:#637a74}.small,small{font-size:14px}.eyebrow{font-size:12px;letter-spacing:1.8px;color:#73867f;font-weight:600}.brand-icon{display:inline-flex;justify-content:center;align-items:center;width:45px;height:45px;border-radius:14px;background:#315f53;color:#fff;font-family:serif;font-size:25px}.app-shell{display:grid;grid-template-columns:232px 1fr;min-height:100dvh}.sidebar{background:#fff;border-right:1px solid #e5ebe7;padding:32px 22px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:18px}.brand{color:#233b36;text-decoration:none;font-size:25px;font-weight:700;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.brand-sub{font-size:12px;color:#74877e;width:100%;padding-left:57px;margin-top:-14px;font-weight:400}.sidebar .eyebrow{margin:26px 12px 0}.sidebar nav{display:flex;flex-direction:column;gap:10px}.sidebar nav button{text-align:left;background:transparent;font-size:15px;padding:14px}.sidebar nav button.active{background:#eaf2ed;color:#315f53}.sidebar-note{margin-top:auto;background:#f1f5f2;border-radius:14px;padding:20px 15px;color:#688074;font-size:14px}main{min-width:0;padding:0 48px;max-width:1440px;width:100%;margin:auto}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e9e4;font-size:14px;color:#73837d}.badge{display:inline-block;background:#e9f0ea;color:#406d56;padding:5px 11px;border-radius:7px;font-size:13px;white-space:nowrap}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:36px 0 24px}.toolbar{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.toolbar>label{min-width:150px}.toolbar .check{padding-top:14px}.progress-card{background:#315f53;color:#fff;border-radius:20px;padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin:12px 0 35px;box-shadow:0 8px 25px #315f5310}.progress-card .badge{background:#ffffff1c;color:#e2efe5}.progress-card h2{font-size:27px;margin-top:14px}.progress-card p,.progress-card small{color:#c5d7d0}.progress-ring{background:conic-gradient(#d2df97 var(--progress),#ffffff24 0);width:130px;height:130px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.progress-ring>span{background:#315f53;border-radius:50%;width:108px;height:108px;display:flex;justify-content:center;align-items:center;font-size:34px}.progress-ring small{margin-left:3px}.subject-group{margin:28px 0}.subject-group h2{display:flex;align-items:center;gap:12px}.subject-group h2 small{font-weight:400;color:#798a83;font-size:13px}.subject-mark{display:inline-grid;place-items:center;width:34px;height:34px;background:#e4ece6;border-radius:10px;color:#3e6556;font-size:16px}.assignment{display:flex;align-items:flex-start;gap:18px;padding:24px;border:1px solid #e3e9e5;background:#fff;border-radius:14px;margin:12px 0;box-shadow:0 4px 15px #243c2e03}.completion{padding:0;width:30px;height:30px;min-width:30px;border:2px solid #c9d8ce;background:#fff;border-radius:9px;margin-top:3px;font-size:19px;line-height:24px}.completed .completion{background:#315f53;border-color:#315f53;color:#fff}.assignment-body{flex:1;min-width:0}.assignment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:1px 0 12px;font-size:18px}.completed .assignment-text{color:#82918a;text-decoration:line-through}.meta{display:flex;gap:18px;color:#7b8b83;font-size:13px;flex-wrap:wrap}.update-label{display:inline-block;color:#986118;background:#fcf1d9;border-radius:6px;padding:3px 9px;font-size:13px;margin-bottom:8px}.empty{text-align:center;padding:45px 20px;color:#78877f;border:1px dashed #cddad0;border-radius:14px;margin:20px 0}.panel{border:1px solid #e1e8e2;border-radius:16px;padding:28px;background:#fff;margin-bottom:24px}.import-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid #e5ebe7;padding:18px 0}.import-row>div:first-child{flex:1;min-width:0}.source-snippet{max-width:500px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:0}.error{background:#fff0eb;color:#a3442e;padding:12px 16px;border-radius:8px;overflow-wrap:anywhere}.success{background:#e7f3e9;color:#315f53;padding:12px 16px;border-radius:8px}footer{padding:35px 0;color:#7c8c84;font-size:13px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.child-list{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:26px}.child-card{background:#f3f6f3;border-radius:12px;padding:18px;display:flex;align-items:center;gap:15px;min-width:210px}.child-card p{margin:0;font-size:14px}.avatar{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#dbe7da;color:#315f53;font-size:22px}.pair-code{font-size:30px;letter-spacing:4px;font-weight:700}.pair-code small{display:block;letter-spacing:0;font-weight:400}.modal-backdrop{position:fixed;inset:0;background:#172f2aaa;z-index:10;display:flex;justify-content:center;align-items:center;padding:24px}.modal{max-height:92dvh;overflow:auto;background:#fff;max-width:850px;width:100%;border-radius:18px;padding:28px}.modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal pre{white-space:pre-wrap;max-height:240px;overflow:auto;font:inherit;background:#f3f6f4;padding:16px;font-size:14px}.modal details{margin-bottom:20px}.draft-item{padding:18px;border:1px solid #dbe6dd;background:#f7faf7;border-radius:12px;margin:15px 0}.modal-actions{display:flex;gap:12px;justify-content:flex-end;position:sticky;bottom:-28px;background:#fff;padding:20px 0;border-top:1px solid #e2e9e4;margin-top:20px}.preview{z-index:20;flex-direction:column;gap:10px}.preview iframe{width:90%;height:85dvh;border:0;background:#fff;border-radius:10px}.login-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-card{max-width:450px;width:100%;margin:auto;padding:35px}.login-card h1{font-size:30px}.tabs{display:flex;background:#e9efeb;border-radius:11px;padding:4px;margin:30px 0 22px}.tabs button{flex:1;font-size:14px;background:transparent;padding:10px}.tabs button.active{background:#fff;box-shadow:0 2px 5px #00000007}.login-art{background:#315f53;color:#ecf0df;padding:12%;display:flex;flex-direction:column;justify-content:center;gap:40px}.login-art>span{font-size:44px;font-weight:600;line-height:1.7;letter-spacing:3px}.art-card{background:#ffffff12;padding:28px;border:1px solid #ffffff20;border-radius:20px;line-height:2.8;font-size:17px;transform:rotate(-3deg)}@media(max-width:1100px){.app-shell{grid-template-columns:190px 1fr}.sidebar{padding:25px 14px}main{padding:0 26px}.page-heading{align-items:flex-start;flex-direction:column}.assignment{padding:18px;gap:12px}.assignment>.quiet{padding:7px;font-size:14px}.progress-card{padding:24px}.progress-card h2{font-size:23px}}@media(max-width:700px){.app-shell{display:block}.sidebar{height:auto;position:static;padding:15px 18px;gap:8px;border-right:0}.sidebar .eyebrow,.brand-sub,.sidebar-note{display:none}.brand{font-size:22px}.brand-icon{width:36px;height:36px;font-size:22px}.sidebar nav{flex-direction:row;gap:4px;overflow-x:auto}.sidebar nav button{font-size:14px;padding:10px;white-space:nowrap}.sidebar>.quiet{position:absolute;right:10px;top:15px;font-size:12px}main{padding:0 18px}.topbar{height:54px}.page-heading{margin-top:25px}h1{font-size:28px}.progress-card{padding:22px;gap:12px}.progress-card h2{font-size:20px}.progress-card small{font-size:12px}.progress-ring{width:85px;height:85px}.progress-ring>span{width:69px;height:69px;font-size:25px}.assignment{flex-wrap:wrap}.assignment>.quiet{margin-left:42px}.panel{padding:20px}.import-row{flex-wrap:wrap}.import-row>div:first-child{flex-basis:100%}.login-shell{display:block}.login-card{padding-top:12vh}.login-art{display:none}.modal-backdrop{padding:10px}.modal{padding:20px}.modal-actions{bottom:-20px;flex-wrap:wrap}.preview iframe{width:100%}}@media print{@page{size:A4;margin:16mm}.no-print,.completion{display:none!important}:root,body{background:#fff;color:#000;font-size:12pt}.app-shell{display:block}main{padding:0;max-width:none}.page-heading{margin-top:0}.page-heading h1{font-size:24pt}.eyebrow,.page-heading .muted,.progress-ring,footer span{display:none}.progress-card{background:#fff!important;color:#000;border:1px solid #aaa;box-shadow:none;padding:14px;margin-bottom:20px}.progress-card p,.progress-card small{color:#555}.progress-card h2{font-size:16pt}.progress-card .badge{background:#fff;color:#000}.assignment{box-shadow:none;border:1px solid #bbb;break-inside:avoid;padding:14px}.assignment:before{content:"□";font-size:20pt}.assignment.completed:before{content:"☑"}.assignment-text{font-size:13pt}.completed .assignment-text{text-decoration:none;color:#555}.subject-mark{background:#fff}.subject-group h2{break-after:avoid}.meta{color:#555}.toolbar{display:none}}
