:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#273c35;background:#f7f8f2;font-synthesis:none;--green:#365c49;--muted:#7d8a80;--line:#e6eade;--orange:#ecaa65;--mint:#e9f1df;--radius:22px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #a8bc87;outline-offset:4px}a{color:var(--green)}svg{width:21px;height:21px;flex-shrink:0}h1,h2,h3,p{margin:0}button{color:inherit}button svg{pointer-events:none}a{text-decoration:none}button{border:0}strong{font-weight:650}.site-header{height:88px;max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:#263e33;font-size:20px;font-weight:750;letter-spacing:1px}.brand img{height:36px;width:36px}.brand small{display:block;font-size:10px;letter-spacing:2.2px;color:var(--muted);margin-top:1px}.view-switch{display:flex;gap:4px;background:#ecefe5;padding:5px;border-radius:12px}.view-switch a{font-size:13px;padding:10px 18px;border-radius:9px;color:#78857b;display:flex;gap:7px;align-items:center}.view-switch a.active{background:#fff;color:var(--green);box-shadow:0 2px 5px #273c3509}.view-switch svg{width:16px;height:16px}.shell{max-width:1200px;margin:auto;padding:36px 40px 22px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:18px}.eyebrow{font-size:11px;letter-spacing:2px;color:#8b998b;font-weight:650;margin-bottom:10px}.intro h1{font-size:29px;letter-spacing:-.5px;line-height:1.45}.intro p{font-size:13px;color:var(--muted);margin-top:8px}.greeting{display:flex;align-items:center;gap:14px}.sun{width:47px;height:47px;color:#dfa75f;background:#fbf1d9;display:grid;place-items:center;border-radius:50%}.sun svg{width:27px;height:27px}.primary,.secondary,.ghost,.danger{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:11px;padding:12px 17px;font-size:13px;font-weight:600;min-height:44px;line-height:1.4}.primary{background:var(--green);color:white}.primary:hover{background:#294b3a}.secondary{background:#eff3e9;color:var(--green)}.secondary:hover{background:#e4ecd9}.ghost{background:#fff;border:1px solid var(--line)}.ghost:hover{background:#f5f7ef}.danger{color:#ac6455;background:#fbefeb}.small{padding:7px 11px;min-height:36px;font-size:12px}.progress-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf0df;border:1px solid #e0e9d0;border-radius:var(--radius);padding:24px 30px;margin-bottom:30px;overflow:hidden;position:relative}.banner-copy{display:flex;align-items:center;gap:21px}.progress-ring{position:relative;width:68px;height:68px;flex-shrink:0;display:grid;place-items:center;background:conic-gradient(#6d8b51 calc(var(--percent)*1%),#d8e3c9 0);border-radius:50%}.progress-ring:before{content:"";position:absolute;inset:6px;background:#eaf0df;border-radius:50%}.progress-ring span{position:relative;font-size:17px;font-weight:700}.progress-ring span small{font-size:11px;color:#78876d;font-weight:400}.progress-banner h2{font-size:17px;margin-bottom:7px}.progress-banner p{font-size:12px;color:#7c8a70;line-height:1.7}.banner-art{width:190px;height:96px;margin:-15px 4px -18px 0;flex-shrink:0}.banner-art svg{width:100%;height:100%}.workspace{display:grid;grid-template-columns:322px minmax(0,1fr);gap:30px;align-items:start}.calendar{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px 20px 19px}.calendar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-top h2{font-size:16px}.icon-button{width:32px;height:32px;border-radius:9px;display:inline-grid;place-items:center;background:transparent;color:#7d897d}.icon-button:hover{background:#f1f4eb}.icon-button svg{width:17px;height:17px}.calendar-nav{display:flex;gap:5px}.weekdays,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekdays{color:#9ba493;font-size:11px;text-align:center;margin-bottom:9px}.weekdays span{padding:4px 0}.days{row-gap:5px}.day{background:transparent;position:relative;height:39px;width:36px;margin:auto;border-radius:11px;font-size:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#546052}.day:hover{background:#eff3e8}.day.today{font-weight:800;color:var(--green);box-shadow:inset 0 0 0 1px #a8b79a}.day.selected{background:var(--green);color:white;box-shadow:none}.day.weekend:not(.selected){color:#a2a99a}.day i{width:4px;height:4px;border-radius:50%;background:#c5a66c;position:absolute;bottom:5px}.day.done i{background:#86a76d}.day.selected i{background:#d9e6b9}.calendar-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2eb;margin-top:16px;padding-top:14px;color:#9ca58f;font-size:10px}.legend-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#c5a66c;margin-right:5px}.today-link{color:var(--green);background:none;font-size:11px}.side-note{padding:22px 12px 0;display:flex;gap:10px;color:#8c9984}.side-note svg{width:18px;height:18px;color:#b6bc8c}.side-note p{font-size:11px;line-height:1.9}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 20px}.day-heading h2{font-size:20px;line-height:1.5}.day-heading p{font-size:12px;color:var(--muted);margin-top:5px}.day-heading .date-tag{font-size:11px;color:#8d9c80;background:#edf2e4;padding:4px 8px;border-radius:6px;margin-left:8px;font-weight:400;vertical-align:middle}.sync{display:flex;align-items:center;font-size:10px;color:#8f9b87;gap:6px;white-space:nowrap}.sync i{width:5px;height:5px;border-radius:50%;background:#8da475}.list-tabs{display:flex;gap:7px;margin-bottom:18px;overflow:auto;padding-bottom:3px}.filter{padding:8px 13px;font-size:11px;color:#8c9684;background:transparent;border-radius:8px;white-space:nowrap}.filter.active{background:#e9efdf;color:#526d44;font-weight:650}.filter span{margin-left:6px;opacity:.7}.assignment-card{width:100%;background:white;border:1px solid var(--line);border-radius:17px;padding:22px;display:flex;gap:17px;text-align:left;align-items:start;margin-bottom:13px;transition:transform .15s,border-color .15s,box-shadow .15s}.assignment-card:hover{transform:translateY(-2px);border-color:#bdcdb0;box-shadow:0 7px 18px #365c4907}.subject-icon{height:48px;width:48px;border-radius:14px;background:#fcf0de;color:#bf9656;display:grid;place-items:center;flex-shrink:0}.subject-icon.quiz{background:#edf1df;color:#7f9753}.subject-icon.video{background:#e9eff6;color:#859bb5}.subject-icon svg{width:23px;height:23px}.card-content{min-width:0;flex:1}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.subject-tag{font-size:10px;color:#9da588;letter-spacing:1px}.status{padding:5px 8px;border-radius:7px;background:#f3f4ee;color:#969e88;font-size:10px;font-weight:500;white-space:nowrap;display:inline-flex;gap:4px;align-items:center}.status.submitted{background:#fff2dc;color:#ad894a}.status.approved{background:#edf5e6;color:#729458}.status.returned{background:#fbebe3;color:#c48c6e}.status svg{width:12px;height:12px}.card-content h3{font-size:16px;line-height:1.6;margin:6px 0;color:#344638;font-weight:650;overflow-wrap:anywhere}.card-content p{font-size:12px;line-height:1.8;color:#99a18f;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.card-meta{display:flex;align-items:center;gap:15px;margin-top:13px;font-size:10px;color:#a0a795;flex-wrap:wrap}.card-meta span{display:flex;gap:5px;align-items:center}.card-meta svg{width:13px;height:13px}.card-action{color:#8e9d7e;font-size:11px;display:flex;align-items:center;gap:5px;margin-left:auto}.card-action svg{width:14px;height:14px}.empty{border:1px dashed #d9e0cf;border-radius:20px;text-align:center;padding:48px 20px;background:#fafbf6}.empty-art{width:66px;height:66px;border-radius:22px;background:#edf2e3;color:#a4b48b;margin:0 auto 18px;display:grid;place-items:center}.empty-art svg{width:32px;height:32px}.empty h3{font-size:16px;font-weight:550;margin-bottom:10px}.empty p{font-size:12px;color:#96a089;line-height:1.9}.empty .primary{margin-top:20px}.footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:44px;padding-top:20px;color:#a7ae9b;font-size:10px;gap:12px;line-height:1.8}.footer span{display:flex;align-items:center;gap:6px}.footer svg{width:13px;height:13px}.month-stats{display:flex;gap:14px;margin-bottom:27px}.stat{flex:1;border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px 21px}.stat p{font-size:11px;color:#97a08c;margin-bottom:7px}.stat strong{font-size:23px;color:#5f7854}.stat small{font-size:11px;font-weight:400;color:#a0a88e;margin-left:5px}.stat.pending strong{color:#b29057}.loading{margin:100px auto;text-align:center;color:#87927e;font-size:14px}.error-bar{padding:12px 15px;border-radius:12px;background:#fbebe3;color:#9f6956;font-size:12px;margin:0 0 18px;line-height:1.8}.error-bar button{background:none;text-decoration:underline;font-size:12px;color:inherit;margin-left:12px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(20px);max-width:calc(100vw - 32px);width:max-content;background:#365c49;color:white;font-size:13px;padding:13px 23px;border-radius:12px;z-index:20;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;box-shadow:0 5px 25px #223a3322;line-height:1.7}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#a26e58}dialog{width:min(720px,calc(100% - 30px));max-height:90dvh;border:1px solid var(--line);border-radius:24px;padding:0;color:inherit;background:#fff;box-shadow:0 25px 100px #13291e20}dialog::backdrop{background:#273c3555;backdrop-filter:blur(4px)}.dialog-head{padding:25px 28px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:start;gap:12px;position:sticky;top:0;background:#fff;z-index:2}.dialog-head h2{font-size:21px;margin:7px 0 8px;overflow-wrap:anywhere}.dialog-head p{font-size:11px;color:#8a9682}.dialog-body{padding:24px 28px}.dialog-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;background:#fafbf7;position:sticky;bottom:0;z-index:2}.dialog-body h3{font-size:14px;margin:20px 0 12px}.instructions{font-size:13px;line-height:1.95;white-space:pre-wrap;color:#7e8b75;overflow-wrap:anywhere}.detail-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.document-preview{width:100%;height:340px;border:1px solid var(--line);border-radius:12px;margin-top:15px;background:#f9faf6}.questions{display:grid;gap:12px;margin:18px 0}.question{padding:15px 17px;background:#f7f9f2;border:1px solid #ebefdf;border-radius:12px}.question-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.question label,.question .prompt{font-size:13px;line-height:1.8}.question label b,.question .prompt b{color:#a6af96;font-size:11px;margin-right:9px;font-weight:400}.question input{width:130px;background:#fff}.question-answer{display:flex;gap:20px;margin-top:9px;font-size:12px;color:#839171;flex-wrap:wrap}.question-answer .wrong{color:#b57662}.field{display:block;margin-bottom:17px;font-size:12px;color:#728167}.field>span{display:block;margin-bottom:8px}.field small{font-size:10px;display:block;color:#9ba58e;line-height:1.8;margin-top:6px}input,textarea,select{border:1px solid #e1e6d8;border-radius:10px;padding:11px 12px;background:#fff;color:#405139;max-width:100%;width:100%;font-size:13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#9db683;box-shadow:0 0 0 3px #eff4e7}textarea{resize:vertical;min-height:90px;line-height:1.9}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.three-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px}.checkbox{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.8;color:#6d7c61;margin:18px 0}.checkbox input{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}.upload-box{border:1px dashed #cad6bc;border-radius:12px;padding:17px;background:#f9fbf4;display:block;text-align:center;cursor:pointer;color:#879975;font-size:12px;line-height:1.9;margin:12px 0}.upload-box svg{display:block;margin:0 auto 6px}.upload-box input{width:100%;font-size:11px;margin-top:9px;padding:6px;background:#fff}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.photo{position:relative;min-width:0}.photo a{display:block}.photo img{width:100%;height:120px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.photo button{position:absolute;right:4px;top:4px;background:#fffffff2;border-radius:50%;height:25px;width:25px;display:grid;place-items:center;color:#9c7667}.photo button svg{width:13px;height:13px}.feedback{border-radius:12px;padding:16px 18px;background:#f9efe4;margin:17px 0;color:#a17f55;font-size:13px;line-height:1.9;white-space:pre-wrap}.feedback strong{display:block;font-size:11px;margin-bottom:5px}.history{margin-top:22px;border-top:1px solid var(--line);padding-top:15px}.history summary{font-size:11px;color:#9ba58e;cursor:pointer}.history p{font-size:11px;color:#99a28e;margin:10px 0;line-height:1.8;white-space:pre-wrap}.fine{font-size:10px;color:#a0aa92;line-height:1.9;margin:12px 0}.generator{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f4f7ed;border-radius:12px;padding:12px 14px;margin-bottom:16px;font-size:11px;color:#899879}.generator select{width:100px;font-size:11px;padding:8px}.spacer{flex:1}.hidden{display:none!important}#print-area{display:none}.file-chosen{font-size:12px;color:#7a915f;background:#eff4e7;padding:12px;border-radius:9px;overflow-wrap:anywhere}.section-label{font-size:10px;letter-spacing:1px;color:#96a084;margin:21px 0 11px}.day-tip{display:flex;align-items:center;gap:7px;font-size:10px;color:#a5ae96;justify-content:center;margin-top:21px}.day-tip svg{width:14px;height:14px}.pending-header{font-size:12px;color:#9ca68b;line-height:1.8;margin-bottom:15px}
.day i.day-count{width:auto;height:auto;min-width:14px;background:transparent;bottom:2px;font-size:7px;line-height:9px;color:#9da98c;font-style:normal;letter-spacing:.3px}.day.selected i.day-count{color:#d9e6b9}.day.done i.day-count{color:#7e9b63}
@media(min-width:1000px){.workspace{grid-template-columns:322px minmax(0,1fr)}.assignment-card{padding:23px 24px}.calendar{padding:23px 23px}.day{height:40px}.day-heading{margin-bottom:19px}.intro{margin-bottom:30px}}
@media(max-width:760px){.site-header{height:74px;padding:0 20px}.brand{font-size:17px;gap:9px}.brand img{width:32px;height:32px}.brand small{font-size:8px;letter-spacing:1.6px}.view-switch a{padding:9px 11px;font-size:11px;gap:5px}.view-switch{padding:4px}.shell{padding:25px 20px 18px}.intro{align-items:flex-start;margin-bottom:23px}.intro h1{font-size:23px;line-height:1.5}.intro p{font-size:11px}.eyebrow{font-size:9px;margin-bottom:8px}.sun{width:36px;height:36px}.sun svg{width:23px;height:23px}.greeting{gap:10px}.intro>.primary{padding:11px 12px;font-size:11px}.intro>.primary svg{width:16px;height:16px}.progress-banner{padding:20px;margin-bottom:23px;gap:8px}.banner-copy{gap:14px}.progress-ring{width:55px;height:55px}.progress-ring span{font-size:15px}.progress-banner h2{font-size:14px}.progress-banner p{font-size:10px}.banner-art{width:87px;height:74px;margin:-8px -5px -10px 0;opacity:.85}.workspace{grid-template-columns:1fr;gap:25px}.calendar{padding:18px 18px 14px}.calendar-top{margin-bottom:12px}.calendar-top h2{font-size:15px}.day{height:36px;width:36px}.weekdays{margin-bottom:5px}.calendar-bottom{padding-top:11px;margin-top:12px}.side-note{display:none}.day-heading h2{font-size:19px}.day-heading p{font-size:11px}.sync{font-size:9px}.assignment-card{padding:18px;gap:13px;border-radius:16px;margin-bottom:11px}.subject-icon{width:41px;height:41px;border-radius:12px}.subject-icon svg{width:21px;height:21px}.card-content h3{font-size:15px;margin:5px 0}.card-content p{font-size:11px}.card-meta{gap:10px;margin-top:11px;font-size:9px}.card-action{font-size:10px}.status{font-size:9px;padding:4px 6px}.filter{padding:8px 10px;font-size:10px}.list-tabs{gap:2px;margin-bottom:15px}.footer{font-size:9px;align-items:flex-start;margin-top:30px;flex-direction:column;gap:5px;padding-top:17px}.month-stats{gap:8px;margin-bottom:24px}.stat{padding:14px 12px;border-radius:13px}.stat p{font-size:10px}.stat strong{font-size:21px}.stat small{font-size:9px;margin-left:4px}.dialog-head{padding:20px 20px 15px}.dialog-head h2{font-size:19px}.dialog-body{padding:18px 20px}.dialog-footer{padding:15px 20px}.dialog-footer .primary,.dialog-footer .secondary,.dialog-footer .ghost{font-size:12px;padding:11px 12px}.three-fields{grid-template-columns:1fr 1fr}.three-fields .field:last-child{grid-column:1/-1}.question-line{flex-wrap:wrap}.question input{width:100%}.photo img{height:90px}.document-preview{height:270px}.date-tag{display:none}.empty{padding:35px 18px}dialog{max-height:92dvh;border-radius:20px}.intro .sun{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media print{@page{size:A4;margin:15mm}body>*{display:none!important}#print-area{display:block!important;color:#111;font-family:"PingFang SC",sans-serif}#print-area h1{font-size:20px;text-align:center;margin:0 0 12px}#print-area .print-meta{font-size:12px;display:flex;justify-content:space-between;margin:15px 0 25px}#print-area .print-questions{display:grid;grid-template-columns:1fr 1fr;gap:38px 40px}#print-area .print-question{font-size:17px;break-inside:avoid;min-height:38px;line-height:1.8}#print-area .print-note{white-space:pre-wrap;font-size:14px;line-height:2;margin-bottom:25px}#print-area img{max-width:100%;max-height:240mm}#print-area .print-page{break-after:page}#print-area .print-page:last-child{break-after:auto}}
