@charset "UTF-8";
:root{--bg:#f4f6f9;--paper:#fff;--ink:#24344e;--muted:#768398;--green:#284c85;--lime:#dce7fa;--line:#e0e6ee;--red:#a54d44;--gold:#b38b4b;--radius:15px;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px}h2{font-size:20px}h3{font-size:15px}p{line-height:1.8}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;background:#eef2ec;font-size:11px;color:#617363;white-space:nowrap}.pill.green{color:var(--green);background:#e6edf9}.pill.orange{background:#f8edd8;color:#97733b}.pill.red{background:#fcece8;color:var(--red)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 16px;border-radius:8px;background:var(--green);color:white;font-weight:550;font-size:13px;white-space:nowrap}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.soft{background:#eaf0f9;color:var(--green)}.btn.danger{background:#f8ebe8;color:var(--red)}.btn.small{padding:7px 10px;font-size:12px}.btn.link{background:none;color:var(--green);padding:6px}.icon{display:inline-flex;width:18px;height:18px;flex:none}.icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.gap24{gap:24px}.stack{display:flex;flex-direction:column;gap:16px}.divider{height:1px;background:var(--line);margin:20px 0}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.notice{padding:12px 16px;background:#faf4e6;border:1px solid #ede1c8;border-radius:9px;font-size:12px;line-height:1.7;color:#877046}.notice.info{background:#eef3fa;border-color:#dbe5f3;color:#45638b}.shell{display:flex;min-height:100vh}.sidebar{width:224px;flex:none;background:#fafbfd;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:24px;font-weight:650;letter-spacing:2px}.brandmark{background:var(--green);border-radius:11px;width:37px;height:37px;color:#ffffff;display:flex;align-items:center;justify-content:center;letter-spacing:0;font-size:25px;font-family:serif}.brand small{display:block;font-size:9px;letter-spacing:2.5px;color:var(--muted);margin-top:3px}.sidebar .eyebrow{margin:46px 10px 14px}.navitem{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;margin-bottom:7px;font-size:13px;color:#6f7d73}.navitem.active{background:#e8eef8;color:var(--green);font-weight:650}.navitem:hover{background:#f0f3f8}.sidebottom{margin-top:auto;padding-top:30px}.avatar{width:33px;height:33px;border-radius:50%;background:#e0e8f5;color:#496489;display:flex;align-items:center;justify-content:center;font-weight:600;flex:none}.sidebottom .name{font-size:12px}.sidebottom .role{font-size:10px;color:var(--muted);margin-top:4px}.main{margin-left:224px;flex:1;min-width:0}.topbar{height:70px;padding:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fafbfd;font-size:12px;color:var(--muted)}.topbar strong{color:var(--ink);font-weight:500}.content{max-width:1480px;padding:36px 38px;margin:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:20px}.pagehead p{margin-top:10px;color:var(--muted);font-size:13px}.hero{display:flex;justify-content:space-between;align-items:center;background:#eaf0f9;border:1px solid #d8e2f0;border-radius:16px;overflow:hidden;padding:30px 34px;margin-bottom:26px;position:relative}.hero h2{font-size:22px;font-weight:550;line-height:1.6}.hero p{font-size:12px;color:#647890;margin-top:10px;max-width:530px}.hero-art{width:230px;height:130px;position:relative;flex:none;margin-left:30px}.orbit{position:absolute;width:126px;height:126px;border:1px solid #becde3;border-radius:50%;left:35px;top:0}.orbit.second{left:92px;top:12px;width:112px;height:112px}.art-paper{position:absolute;width:80px;height:96px;left:74px;top:19px;background:#fbfcf7;transform:rotate(-13deg);border:1px solid #bdcde4;border-radius:7px;box-shadow:8px 8px 0 #d4deee;padding:15px}.art-paper i{display:block;height:3px;margin:7px 0;background:#b6c8e2;border-radius:3px}.art-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#f9f7ec;border:1px solid #aabedb;left:28px;top:30px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0 30px}.stat{padding:20px 22px;background:white;border:1px solid var(--line);border-radius:12px}.stat .number{font-size:30px;font-weight:550;letter-spacing:-1px;margin:15px 0 9px}.stat label{font-size:12px;color:#788578}.stat small{font-size:10px;color:var(--muted)}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px}.sectionhead h2{font-size:17px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.task-card{background:white;border:1px solid var(--line);padding:24px;border-radius:13px;transition:border-color .2s,transform .2s}.task-card:hover{border-color:#becde3;transform:translateY(-2px)}.task-card h3{font-size:17px;margin:16px 0 10px;line-height:1.6}.task-card p{color:var(--muted);font-size:12px;height:42px;overflow:hidden}.progress{height:5px;border-radius:4px;background:#edf0e8;margin:20px 0 10px;overflow:hidden}.progress-bar{height:100%;background:#8da875;width:var(--progress)}.task-meta{font-size:11px;color:var(--muted)}.task-card .bottom{margin-top:22px;border-top:1px solid var(--line);padding-top:17px}.empty{padding:50px 25px;text-align:center;color:var(--muted);font-size:13px;line-height:2}.empty .icon{width:35px;height:35px;margin-bottom:15px;color:#a4b393}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:#f8faf5;color:#7c877a;font-weight:500;padding:15px 20px;white-space:nowrap}td{padding:17px 20px;border-top:1px solid #edf0e8;white-space:nowrap}tbody tr:hover{background:#fafcf7}.search{width:220px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-size:12px;font-weight:550}.field small{color:var(--muted);line-height:1.6}input,textarea,select{border:1px solid #dbe2d6;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);width:100%;min-width:0}textarea{resize:vertical;line-height:1.8}input:focus,textarea:focus,select:focus{outline:2px solid #c5d6b8;border-color:#8eab79}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.check{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.8;color:#6c7c6b}.check input{width:14px;flex:none;margin-top:4px}.loading{padding:100px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);background:#253e36;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 8px 35px #132c3025;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:85vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:620px;max-width:94vw;max-height:90vh;color:var(--ink);box-shadow:0 30px 90px #18332930}dialog::backdrop{background:#23382a45;backdrop-filter:blur(3px)}dialog h2{margin-bottom:18px}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-intro{background:#e9eff8;padding:10vh 9vw;display:flex;flex-direction:column;justify-content:space-between}.login-intro h1{font-size:40px;line-height:1.5;font-weight:500;margin:70px 0 20px}.login-intro p{font-size:14px;color:#667a95}.login-intro .hero-art{transform:scale(1.4);margin:60px 0}.login-form{padding:9vh 7vw;display:flex;justify-content:center;flex-direction:column;max-width:700px}.login-form h2{font-size:25px;margin-bottom:12px}.login-form>p{color:var(--muted);font-size:13px;margin-bottom:30px}.login-form form{display:flex;flex-direction:column;gap:18px}.login-footer{margin-top:24px;font-size:12px;color:var(--muted)}.login-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:25px}.tab{background:none;padding:12px 3px;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.tab.active{border-bottom-color:var(--green);color:var(--green)}.error{font-size:12px;color:var(--red);line-height:1.8;white-space:pre-wrap}.workspace-shell{height:100vh;display:flex;flex-direction:column;background:#f3f5f9}.work-top{padding:14px 24px;background:#fafbfd;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.work-top .brand{font-size:20px;margin-right:16px}.work-top h2{font-size:14px}.work-top small{font-size:10px;color:var(--muted)}.workbody{display:grid;grid-template-columns:26% 39% 35%;flex:1;min-height:0}.panel{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line);background:#fff;min-height:0}.panel:last-child{border:0}.panelhead{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;min-height:62px;gap:10px}.panelhead h3{font-size:13px}.panel-scroll{overflow:auto;min-height:0;flex:1}.source-body{padding:28px 26px;line-height:2.1;font-family:Georgia,'Songti SC',serif;font-size:16px;white-space:pre-wrap}.source-note{margin:22px;padding:16px;background:#f3f6fb;font-size:12px;line-height:1.9;color:#6f7f95;border-radius:9px}.editor-wrap{flex:1;padding:28px 32px;display:flex;background:#ffffff;min-height:0;position:relative}.editor{height:100%;width:100%;border:0;background:none;border-radius:0;resize:none;font-family:'Songti SC',Georgia,serif;font-size:17px;line-height:2.15;padding:0;outline:none!important}.editor::placeholder{color:#b0b8a5}.editor-footer{padding:12px 22px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;background:#f9faf6}.chat-select{border:0;background:#f5f7f1;font-size:12px;padding:7px}.chat-list{overflow:auto;flex:1;padding:18px;min-height:0}.message{margin-bottom:24px}.message-meta{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);margin-bottom:8px}.message-meta .avatar{width:24px;height:24px;font-size:10px}.bubble{white-space:pre-wrap;word-break:break-word;line-height:1.9;font-size:12px;padding:15px 16px;border:1px solid var(--line);border-radius:2px 12px 12px;background:#fafbfd}.message.user .bubble{background:#ecf2fc;border-color:#dce5f5}.message-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}.message-actions button{background:none;color:#58769d;font-size:10px;padding:3px}.composer{border-top:1px solid var(--line);padding:15px;background:#fafbfd}.composer textarea{font-size:12px;min-height:85px;max-height:160px;background:white;resize:vertical}.composer .check{font-size:10px}.composer-options{display:flex;gap:10px;margin:10px 0;flex-wrap:wrap}.reference{font-size:11px;padding:9px 12px;background:#e8efe0;border-left:3px solid #92ab7a;margin-bottom:10px;max-height:90px;overflow:auto;line-height:1.7}.workspace-banner{padding:8px 24px;background:#f8f1e2;color:#8f784d;font-size:11px;border-bottom:1px solid #eee3cd}.workspace-banner.info{background:#eaf0f9;color:#49678d}.timeline{padding:15px 10px}.event-item{padding:13px 14px;margin:0 5px 7px;border-radius:9px;cursor:pointer;border:1px solid transparent}.event-item:hover{background:#f4f7ed}.event-item.active{background:#e9f0e1;border-color:#d5e1c6}.event-item .dot{width:7px;height:7px;border-radius:50%;background:#a3b28c;flex:none}.event-item.active .dot{background:var(--green)}.event-item h4{font-size:12px;margin:0;font-weight:500}.event-item small{display:block;margin:8px 0 0 19px;font-size:10px;color:var(--muted)}.researchbody{display:grid;grid-template-columns:210px minmax(300px,1fr) minmax(320px,1.1fr);flex:1;min-height:0}.research-doc{padding:25px;font-family:'Songti SC',serif;line-height:2;font-size:16px;white-space:pre-wrap;word-break:break-word}.diff{padding:20px;font-size:12px;line-height:1.9}.diff-block{border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:15px}.diff-label{font-size:10px;padding:7px 12px;background:#f6f8f2;color:var(--muted)}.diff-before{background:#fcf0ed;color:#9d6055;padding:12px;white-space:pre-wrap;text-decoration:line-through}.diff-after{background:#edf5e8;color:#466e3f;padding:12px;white-space:pre-wrap}.research-right{display:flex;flex-direction:column;min-height:0}.research-chats{flex:1;min-height:180px;overflow:auto;padding:18px;background:#fff}.message.selected .bubble{border-color:#7f9e6d;box-shadow:0 0 0 2px #e5eddb}.annotation-panel{max-height:44%;min-height:220px;overflow:auto;border-top:1px solid var(--line);background:#fafbf7;padding:18px}.annotation-card{border:1px solid var(--line);background:white;border-radius:9px;padding:12px;margin-top:12px;font-size:12px;line-height:1.8}.versionpick{max-width:180px;font-size:11px;padding:7px}.code-tags{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.help-content{max-width:780px}.help-content h2{margin:26px 0 12px}.help-content p{color:#66778f;font-size:13px;margin-bottom:15px}.details{font-size:11px;color:var(--muted);line-height:1.8}.details pre{white-space:pre-wrap;word-break:break-all;background:#f3f6ee;padding:12px;max-height:400px;overflow:auto}.hidden{display:none!important}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.autosave.bad{color:var(--red)}.filter{padding:12px;border-bottom:1px solid var(--line)}.filter select{font-size:11px;padding:8px}.selected-range{font-size:11px;background:#eff4e8;border:1px solid #dbe6cc;padding:10px;border-radius:7px;line-height:1.7;max-height:100px;overflow:auto}.kbd{border:1px solid var(--line);border-radius:4px;padding:2px 5px;font-size:10px}.footnote{font-size:11px;line-height:1.8;color:var(--muted);margin-top:18px}.no-margin{margin:0}
@media(min-width:1600px){.workbody{grid-template-columns:27% 41% 32%}}@media(max-width:1100px){.sidebar{width:185px;padding:24px 14px}.main{margin-left:185px}.content{padding:28px 24px}.topbar{padding:0 24px}.stats{gap:10px}.stat{padding:17px}.hero-art{width:180px}.researchbody{grid-template-columns:170px minmax(260px,1fr) minmax(300px,1.1fr)}.editor-wrap{padding:22px}.workbody{grid-template-columns:24% 37% 39%}.work-top .brand small{display:none}}@media(max-width:800px){.sidebar{width:68px;padding:22px 10px}.sidebar .brand{justify-content:center}.sidebar .brandtext,.sidebar .navlabel,.sidebar .eyebrow,.sidebottom .accounttext{display:none}.sidebar .navitem{padding:14px;justify-content:center}.sidebar nav{margin-top:35px}.sidebar .sidebottom .row{justify-content:center}.main{margin-left:68px}.stats{grid-template-columns:1fr 1fr}.task-grid{grid-template-columns:1fr}.hero-art{display:none}.hero{padding:24px}.content{padding:24px 18px}.topbar{padding:0 18px}.pagehead h1{font-size:25px}.login{grid-template-columns:1fr}.login-intro{display:none}.login-form{padding:40px 24px;margin:auto;width:100%}.workbody,.researchbody{display:flex;flex-direction:column;overflow:auto}.workspace-shell{height:auto;min-height:100vh}.workbody>.panel{min-height:400px}.workbody>.panel:first-child{min-height:250px}.editor{min-height:420px}.chat-list{min-height:300px;max-height:500px}.work-top{flex-wrap:wrap}.researchbody>.panel{min-height:300px}.researchbody>.panel:first-child{max-height:270px}.research-right{min-height:650px}.annotation-panel{max-height:none}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.topbar .rightlabel{display:none}.pagehead{align-items:flex-start}.source-body{font-size:15px}.work-top .toolbar{gap:6px}}
@media(max-width:600px){.pagehead{flex-direction:column;align-items:stretch}.pagehead>.btn{align-self:flex-start}.pagehead .toolbar{margin-top:4px}.pagehead h1{font-size:26px;line-height:1.45}.hero h2{margin-top:14px}.sectionhead{gap:12px;flex-wrap:wrap}.search{width:100%}.topbar{font-size:11px}.work-top .brand{display:none}.work-top .toolbar{width:100%;justify-content:space-between}.work-top h2{line-height:1.6}.researchbody>.panel:first-child{min-height:230px}.annotation-panel{min-height:240px}}
.hero h2{margin-top:12px}

/* TransTeaching: teaching-first identity and responsive sign-in. */
.brand{font-size:19px;letter-spacing:-.6px;white-space:nowrap;gap:9px}.brandmark{font-family:Georgia,serif;flex:none}.brand small{font-size:10px;letter-spacing:2px;font-weight:400}.sidebar .brand{font-size:18px;gap:7px}.sidebar .brandmark{width:32px;height:36px}.login-intro{padding:7vh 6vw}.login-intro>.brand{font-size:25px}.login-intro h1{margin:48px 0 20px;font-size:44px;letter-spacing:1px}.login-intro>div:nth-child(2){margin:35px 0 50px}.login-intro .eyebrow{font-size:10px;color:#6981a3}.learning-features{display:flex;flex-direction:column;gap:23px;margin-top:42px}.learning-features>div{display:flex;gap:15px;align-items:center;font-size:14px;font-weight:600}.learning-features .icon{width:38px;height:38px;padding:9px;background:#fff9;border:1px solid #d8e2f1;border-radius:10px;color:var(--green)}.learning-features small{display:block;color:#71839a;font-weight:400;font-size:12px;margin-top:5px}.login-form{max-width:760px;padding:7vh 6vw}.mobile-brand{display:none}.work-top .brand{font-size:18px}.btn:hover{filter:brightness(.96)}
@media(min-width:801px) and (max-width:1100px){.sidebar .brand{font-size:15px;gap:5px}.sidebar .brandmark{width:28px;height:32px;font-size:22px}.sidebar .brand small{letter-spacing:1px}.login-intro h1{font-size:35px}.login-form{padding:6vh 4vw}}
@media(max-width:800px){.mobile-brand{display:block;margin-bottom:34px}.login-form{padding:32px 24px;max-width:520px}.login-form h2{font-size:23px}.sidebar .brandmark{width:37px}.login-intro{display:none}}
