@charset "UTF-8";
:root{--ink:#203c34;--muted:#64746b;--green:#205b4b;--pale:#e7efe6;--paper:#f5f5ef;--line:#dce3d9;--gold:#9f6e2d;--white:#fffef9;--red:#a23c32;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 16px;cursor:pointer;transition:.15s}button:hover{border-color:var(--green);background:#f0f5ef}button:disabled{cursor:wait;opacity:.5}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:#164738}button.danger{color:var(--red)}button.small{font-size:13px;padding:7px 11px}button.ghost{background:transparent;border-color:transparent}a{color:var(--green);text-underline-offset:4px}input,textarea,select{width:100%;border:1px solid #cbd6ca;background:white;border-radius:8px;padding:11px 12px;color:var(--ink)}textarea{resize:vertical;line-height:1.8}label{display:block;font-size:14px;line-height:1.6;margin-bottom:16px}label input,label select,label textarea{display:block;margin-top:7px}input[type=checkbox]{width:auto;display:inline;margin-right:7px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #91b6a2;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.45;letter-spacing:-1px}h2{font-size:21px;line-height:1.5}h3{font-size:16px;line-height:1.6}p{line-height:1.85}small,.muted{color:var(--muted)}.skip{position:absolute;left:10px;top:-60px;background:white;z-index:99;padding:10px}.skip:focus{top:10px}.loading{padding:30vh 10vw}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:700;white-space:nowrap}.brandmark{width:35px;height:35px;border-radius:11px;background:var(--green);display:grid;place-items:center;color:#e4f4d9;font-size:24px;font-weight:400}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid var(--line);background:rgba(255,254,249,.94)}.toplinks{display:flex;gap:25px;align-items:center;font-size:13px}.tag{font-size:12px;color:var(--green);background:var(--pale);border-radius:50px;padding:5px 10px;display:inline-block}.landing{max-width:1260px;margin:0 auto;padding:68px 40px 32px}.welcome{display:grid;grid-template-columns:1.35fr 1fr;gap:90px;align-items:center}.eyebrow{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:3px;color:var(--green);margin-bottom:28px}.eyebrow:before{content:'';width:25px;height:1px;background:var(--green)}.hero h1{font-size:52px;font-weight:600;line-height:1.45;margin:0 0 22px}.hero h1 em{font-style:normal;color:#7f955d}.hero>p{font-size:16px;max-width:480px;color:var(--muted)}.cycle{margin-top:38px;display:flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:13px}.cycle b{color:#94a18c;font-weight:normal}.visual{width:100%;max-width:500px;height:190px;margin-top:20px}.login{background:var(--white);border:1px solid var(--line);border-radius:19px;padding:31px;box-shadow:0 18px 60px #183d3210}.login h2{margin-bottom:5px;font-size:24px}.tabs{display:flex;gap:5px;background:#edf1e9;padding:5px;border-radius:9px;margin:25px 0}.tabs button{flex:1;border:0;padding:9px;background:transparent;font-size:14px}.tabs button.active{background:white;box-shadow:0 2px 8px #1f392a10}.login .primary{width:100%;margin-top:6px;padding:13px}.login-note{font-size:12px;margin:18px 0 0}.footer{margin-top:50px;padding:25px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;font-size:12px;line-height:1.8}.footer nav{display:flex;gap:24px}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:#eaf0e6;border-right:1px solid var(--line);padding:26px 20px;display:flex;flex-direction:column;gap:24px}.sidebar .brand{margin-bottom:13px}.navbtn{background:transparent;border:0;text-align:left;width:100%;margin:3px 0;padding:12px 15px;color:#536a5a}.navbtn.active{background:white;color:var(--green);font-weight:700;box-shadow:0 3px 15px #1a442608}.sidebar .bottom{margin-top:auto;font-size:12px;line-height:2.2}.main{min-width:0;padding:32px clamp(20px,4vw,60px)}.heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:26px}.heading h1{font-size:29px;margin-bottom:7px}.heading p{font-size:14px;color:var(--muted);margin:0}.toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.toolbar select{width:auto;max-width:360px}.panel{background:var(--white);border:1px solid var(--line);border-radius:13px;padding:24px;min-width:0;margin-bottom:18px}.panel h2{margin-bottom:15px}.empty{padding:60px 25px;text-align:center;max-width:720px;margin:50px auto}.empty .symbol{font-size:35px;color:#89a379;margin-bottom:20px}.empty p{color:var(--muted)}.course-list{display:grid;gap:18px}.course-row{display:flex;gap:25px;justify-content:space-between;align-items:center}.course-row h2{margin:0 0 8px}.course-row p{margin:0;font-size:14px;color:var(--muted)}.badge-line{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.run-strip{display:flex;justify-content:space-between;gap:20px;align-items:center;background:var(--green);color:white;padding:22px 26px;border-radius:13px;margin-bottom:24px}.run-strip .muted{color:#d6e3d6}.join-code{font-size:28px;letter-spacing:4px;font-family:ui-monospace,monospace}.stagebar{display:flex;gap:10px;overflow:auto;padding:2px 1px 15px;margin-bottom:10px}.stagebar button{white-space:nowrap}.stagebar .active{background:var(--green);color:white;border-color:var(--green)}.stagebar small{font-size:10px;margin-left:6px}.metrics{display:flex;flex-wrap:wrap;gap:28px;padding:0 0 24px}.metric{display:flex;gap:10px;align-items:baseline}.metric b{font-size:28px;font-weight:500}.metric span{font-size:13px;color:var(--muted)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px;font-weight:500;padding:13px 10px;border-bottom:1px solid var(--line)}td{padding:17px 10px;border-bottom:1px solid #e9ede4}tr:last-child td{border-bottom:0}.status{display:inline-block;border-radius:50px;font-size:12px;padding:4px 9px;background:#eef1eb;color:#5b6c59}.status.ready{background:#e5f0e8;color:#2d6e4d}.status.pending{background:#fbf0d8;color:#9f7625}.status.failed,.status.clarify{background:#f9e9de;color:#9b573c}.student-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,1fr);gap:22px}.student-grid .panel{margin-bottom:20px}.tasktext{white-space:pre-wrap;line-height:1.9;font-size:15px}.materials{background:#f1f4eb;padding:16px;border-radius:8px;font-size:14px;white-space:pre-wrap;line-height:1.9;margin-top:12px}.workarea{min-height:210px}.formfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin:12px 0}.attachment-list{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.attachment{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;padding:5px;max-width:170px}.attachment img{width:52px;height:48px;object-fit:cover;border-radius:4px}.attachment span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70px}.attachment button{padding:3px 5px;border:0}.notice{padding:12px 15px;border-radius:7px;background:#f8efd9;color:#785c2c;font-size:13px;line-height:1.8;margin-bottom:15px}.feedback-head{display:flex;justify-content:space-between;align-items:center}.score{font-size:33px;color:var(--green);white-space:nowrap}.score small{font-size:14px;font-weight:normal}.feedback-list{padding-left:20px;line-height:1.9;font-size:14px}.feedback-list li{margin:7px 0}.feedback-part{margin-top:20px}.feedback-part h3{font-size:13px;color:var(--muted);margin-bottom:8px}.subtle{font-size:12px;color:var(--muted);line-height:1.8}.result{border-left:3px solid #9eb590;padding:5px 0 5px 15px;margin:15px 0}.result p{margin:5px 0}.chatlog{max-height:380px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:6px 0 18px}.bubble{padding:11px 14px;border-radius:10px;font-size:14px;white-space:pre-wrap;line-height:1.85;background:#eff3e9;max-width:95%;align-self:flex-start}.bubble.user{background:#e3eeea;align-self:flex-end}.bubble.failed{background:#fff0e9}.chatform{display:flex;gap:8px;align-items:stretch}.chatform textarea{min-height:65px}.keyword{display:inline-block;padding:8px 12px;background:#edf3e6;border-radius:7px;margin:5px;font-size:14px}.summary-item{padding:16px 0;border-bottom:1px solid var(--line)}.summary-item:last-child{border:0}.summary-item h3{margin-bottom:5px}.summary-item p{font-size:14px;margin-bottom:7px}.quote{font-size:12px;color:var(--muted);padding:5px 10px;border-left:2px solid var(--line);margin:7px 0}.editor{max-width:950px}.editor-stage{border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:20px}.editor-stage h3{display:flex;justify-content:space-between;align-items:center}.checks{display:flex;gap:25px}.checks label{margin:0 0 14px}.checks input{display:inline}.editor details{margin:14px 0}.editor summary{cursor:pointer;font-size:14px}.editor .mono{font:12px/1.8 ui-monospace,monospace}.history{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.history summary{cursor:pointer;font-size:13px}.history article{padding:13px 0;border-bottom:1px solid var(--line)}.history article p{font-size:13px;margin:5px 0}.history-score{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.history-score span{font-size:12px;background:var(--pale);padding:6px 9px;border-radius:5px}dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:min(850px,95vw);max-height:92vh;background:var(--white);color:var(--ink)}dialog::backdrop{background:#162b2470;backdrop-filter:blur(3px)}.modal{padding:30px}.modal-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:20px}.modal-head h2{margin:0}.modal-body{overflow:auto}.modal .photo{max-width:100%;max-height:75vh;object-fit:contain}.projection{width:96vw;max-width:96vw}.projection .modal{padding:32px}.projection .tasktext,.projection .feedback-list{font-size:23px}.projection .score{font-size:45px}.projection .two{display:grid;grid-template-columns:1fr 1fr;gap:35px}.barplot{display:flex;align-items:end;gap:15px;height:160px;border-bottom:1px solid var(--line);margin:15px 0 36px}.barplot .bar{flex:1;position:relative;background:#8ca98c;min-height:2px;border-radius:5px 5px 0 0}.barplot .bar b{position:absolute;top:-25px;width:100%;text-align:center;font-size:12px}.barplot .bar span{position:absolute;bottom:-27px;width:100%;text-align:center;white-space:nowrap;font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#243e33;color:white;border-radius:9px;max-width:90vw;font-size:14px;z-index:100;display:none;box-shadow:0 8px 30px #0002}.error{color:var(--red);font-size:13px;line-height:1.7}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.divider{border-top:1px solid var(--line);margin:25px 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1600px){.main{max-width:1500px;width:100%;margin:auto}.welcome{gap:120px}}
@media(max-width:1050px){.welcome{gap:40px;grid-template-columns:1.1fr 1fr}.hero h1{font-size:42px}.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:24px 13px}.student-grid{grid-template-columns:1fr}.visual{height:140px}.heading{flex-wrap:wrap}}
@media(max-width:700px){.topbar{height:65px;padding:0 22px}.toplinks .hide-mobile{display:none}.landing{padding:30px 22px}.welcome{display:flex;flex-direction:column;gap:24px;align-items:stretch}.hero h1{font-size:33px;letter-spacing:0;margin-bottom:13px}.eyebrow{margin-bottom:15px;font-size:10px}.hero>p{font-size:14px;margin:0}.visual{display:none}.cycle{margin-top:22px;font-size:12px;gap:9px}.login{padding:24px}.footer{margin-top:25px;flex-direction:column}.footer nav{flex-wrap:wrap;gap:16px}.shell{display:block}.sidebar{padding:12px 18px;flex-direction:row;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0;font-size:15px}.brandmark{width:30px;height:30px;font-size:20px}.sidebar .bottom,.sidebar .sideinfo{display:none}.sidebar nav{display:flex;margin-left:auto}.navbtn{width:auto;padding:9px;font-size:12px}.main{padding:23px 18px}.heading h1{font-size:25px}.heading{gap:14px}.heading .toolbar{width:100%}.toolbar select{max-width:100%;width:100%}.panel{padding:18px}.run-strip{padding:18px;flex-wrap:wrap;gap:10px}.join-code{font-size:24px}.course-row{align-items:flex-start;flex-direction:column;gap:18px}.two,.projection .two{grid-template-columns:1fr}.modal{padding:22px}.metrics{gap:15px}.metric b{font-size:23px}.metric span{font-size:11px}.formfoot{align-items:flex-start;flex-direction:column}.student-grid{gap:0}.projection .tasktext,.projection .feedback-list{font-size:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
