/* Editable course workflow and learning archive; photographic layers remain separate. */
.role-teacher .tc-system{position:relative;isolation:isolate;overflow:hidden;padding:65px 0 48px;background:radial-gradient(ellipse at 7% 62%,#dceaff99,transparent 55%),radial-gradient(ellipse at 100% 0,#e5eeff,transparent 52%),linear-gradient(130deg,#f8fcff,#f1f8ff 58%,#fafdff);color:#111a36}
.tc-system:before{content:"";position:absolute;z-index:-1;pointer-events:none;right:-16%;top:-25%;width:95%;height:50%;border-radius:0 0 60% 60%;background:linear-gradient(130deg,#fff9,#bed4ff70);border-bottom:2px solid #ffffffa6;transform:rotate(-20deg)}
.tc-system:after{content:"";position:absolute;z-index:-1;pointer-events:none;left:-19%;bottom:-30%;width:142%;height:48%;border-radius:50%;border-top:2px solid #ffffffc2;background:linear-gradient(#ffffff30,#def0ff50);transform:rotate(9deg)}
.tc-wrap{width:min(1160px,calc(100% - 80px));margin-inline:auto}
.tc-heading{padding:0 32px;margin:0 0 28px}
.role-teacher .tc-heading h2{font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:44px;font-weight:800;line-height:1.35;letter-spacing:-.04em;color:#0c1533;margin:0 0 15px}
.tc-heading h2 span{color:#2876ff}
.tc-heading h2:after{content:"";display:block;width:49px;height:4px;margin-top:13px;border-radius:3px;background:linear-gradient(90deg,#9766ff,#39c8ff)}
.role-teacher .tc-heading p{font-size:20px;line-height:1.65;color:#607291;margin:0}
.tc-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start}
.tc-panel{min-width:0;overflow:hidden;padding:26px 28px 25px;border:1px solid #fffffff0;border-radius:21px;background:linear-gradient(140deg,#ffffffa8,#ffffff57);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px 0 #fff,0 10px 30px #628bb50a}
.role-teacher .tc-panel h3{font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:25px;font-weight:750;line-height:1.55;letter-spacing:-.03em;color:#121b36;margin:0 0 8px}
.role-teacher .tc-panel>header p{font-size:15px;line-height:1.8;color:#7a8ca9;margin:0}
.role-teacher .tc-system .tc-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;list-style:none;margin:27px 0 20px;padding:0}
.tc-flow li{position:relative;min-width:0}
.tc-step{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;padding:0;border:0;border-radius:10px;background:transparent;font:inherit;cursor:pointer;position:relative;min-height:118px;transition:transform .2s}
.tc-step:after{content:"";position:absolute;left:calc(50% + 31px);top:24px;width:calc(100% - 53px);height:8px;background:var(--tc-color,#9077ff);clip-path:polygon(0 38%,75% 38%,75% 0,100% 50%,75% 100%,75% 62%,0 62%);opacity:.6}
.tc-flow li:last-child .tc-step:after{display:none}
.tc-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;color:var(--tc-color,#9077ff);background:var(--tc-soft,#ede7ff);box-shadow:inset 0 1px 2px #fff;flex:none}
.tc-icon svg{width:27px;height:27px;fill:currentColor;filter:drop-shadow(0 3px 3px color-mix(in srgb,currentColor 20%,transparent))}
.tc-purple{--tc-color:#916bff;--tc-soft:linear-gradient(140deg,#f2ecff,#e1d8ff)}
.tc-mint{--tc-color:#13c4ad;--tc-soft:linear-gradient(140deg,#e8fcf7,#cff6ed)}
.tc-blue{--tc-color:#328fff;--tc-soft:linear-gradient(140deg,#e9f6ff,#d5eaff)}
.tc-pink{--tc-color:#ff7095;--tc-soft:linear-gradient(140deg,#fff2f6,#ffe0e9)}
.tc-gold{--tc-color:#ffa92f;--tc-soft:linear-gradient(140deg,#fff9ef,#ffeccd)}
.tc-step strong{font-size:13px;line-height:1.5;font-weight:650;color:#18233e;white-space:nowrap}
.tc-step small{font-size:10px;line-height:1.5;color:#8b9bb2;text-align:center;white-space:nowrap}
.tc-step[aria-pressed=true] .tc-icon{box-shadow:inset 0 1px 2px #fff,0 0 0 3px color-mix(in srgb,var(--tc-color) 16%,transparent)}
.tc-step:focus-visible{outline:2px solid #7fa8f8;outline-offset:5px}
.tc-mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.tc-mini{min-width:0;height:164px;padding:9px 8px;border:1px solid color-mix(in srgb,var(--tc-color) 23%,#fff);border-radius:12px;background:#ffffffdb;box-shadow:0 5px 15px #5f8dc409;transition:box-shadow .2s,border-color .2s,transform .2s;overflow:hidden}
.tc-mini[data-active=true]{border-color:color-mix(in srgb,var(--tc-color) 65%,#fff);box-shadow:0 6px 18px color-mix(in srgb,var(--tc-color) 16%,transparent);transform:translateY(-3px)}
.role-teacher .tc-mini h4{display:flex;align-items:center;gap:4px;font-size:9px;line-height:1.5;font-weight:650;white-space:nowrap;color:#253653;margin:5px 0 11px}
.tc-mini h4 svg{width:12px;height:12px;fill:var(--tc-color);flex:none}
.tc-video-cover{position:relative;height:60px;overflow:hidden;border-radius:7px;background:linear-gradient(140deg,#d5eaff,#a3b8fb)}
.tc-video-cover>svg{position:absolute;bottom:0;width:100%;height:80%;opacity:.75}.tc-cover-dots{position:absolute;top:6px;left:7px;display:flex;gap:3px}.tc-cover-dots i{width:3px;height:3px;border-radius:50%;background:#fff9}
.tc-mini-play{display:grid;place-items:center;position:absolute;left:50%;top:50%;width:25px;height:25px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);color:#6c8ff6}.tc-mini-play svg{width:12px;height:12px;fill:currentColor}
.tc-mini-line{display:flex;gap:5px;align-items:center;margin-bottom:9px}.tc-mini-line>i{display:block;width:13px;height:13px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--tc-color) 16%,#fff);color:var(--tc-color);font-size:9px;text-align:center;line-height:13px;font-style:normal}.tc-mini-line>span{flex:1;display:grid;gap:4px}.tc-mini-line b{display:block;height:5px;border-radius:4px;background:#e6edf9}.tc-mini-line b:nth-child(2){width:72%;background:#eff4fc}
.tc-mini-task .tc-mini-line>i{background:#26c7ae;color:#fff;box-shadow:0 0 0 3px #ddf8f1}.tc-mini-task .tc-mini-line{margin:15px 0}
.tc-mini-exam .tc-mini-line{margin:13px 0}.tc-submit{display:block;margin-top:11px;padding:4px 0;border-radius:12px;background:linear-gradient(#61b4ff,#2d83fc);text-align:center;font-size:9px;line-height:1.5;color:#fff}
.tc-week-label{display:flex;justify-content:space-between;color:#d2acbc;font-size:7px;margin-bottom:8px}.tc-calendar{display:grid;grid-template-columns:repeat(5,1fr);gap:6px 4px}.tc-calendar i{display:grid;place-items:center;aspect-ratio:1;font-size:6px;font-style:normal;color:#eccdd9;border-radius:4px;background:#fff1f6}.tc-calendar i.done{background:#fb789a;color:#fff;border-radius:50%;font-size:8px}
.tc-ring{display:grid;place-items:center;width:55px;height:55px;margin:10px auto 12px;border-radius:50%;background:conic-gradient(#ffad31 0 80%,#ffead0 80% 100%);position:relative}.tc-ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}.tc-ring strong{position:relative;color:#2a3b56;font-size:13px;font-weight:650}
.tc-mini-bars{display:flex;justify-content:center;align-items:flex-end;gap:5px;height:31px}.tc-mini-bars i{width:8px;border-radius:4px 4px 0 0;background:linear-gradient(#ffeac8,#ffcd79)}.tc-mini-bars i:nth-child(1){height:25%}.tc-mini-bars i:nth-child(2){height:50%}.tc-mini-bars i:nth-child(3){height:75%;background:linear-gradient(#eef4ff,#d5e5ff)}.tc-mini-bars i:nth-child(4){height:95%}
.tc-archive-panel{padding-bottom:0;display:flex;flex-direction:column}
.tc-archive-scene{position:relative;isolation:isolate;container-type:inline-size;min-width:0;min-height:325px;flex:1;margin:14px -28px 0;overflow:hidden}
.tc-study-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;mask-image:linear-gradient(transparent,#000 20%);-webkit-mask-image:linear-gradient(transparent,#000 20%)}
.tc-orbit{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.tc-student{position:absolute;left:4%;bottom:0;width:81%;height:88%;object-fit:contain;object-position:left bottom;z-index:2}
.tc-badge{position:absolute;display:flex;align-items:center;gap:1cqw;padding:1.1cqw 1.2cqw;width:22%;min-height:8cqw;border:1px solid #ffffffed;border-radius:1.7cqw;background:linear-gradient(140deg,#ffffffa8,#ffffff70);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px 0 #fff,0 5px 16px #6189c00d;z-index:3;transition:transform .2s,border-color .2s,box-shadow .2s}
.tc-badge>.tc-icon{width:4.8cqw;height:4.8cqw;border-radius:1.3cqw}.tc-badge .tc-icon svg{width:2.7cqw;height:2.7cqw}
.tc-badge strong{display:block;font-size:clamp(9px,1.6cqw,12px);line-height:1.5;font-weight:650;color:#223452;white-space:nowrap}.tc-badge-line{display:block;width:6cqw;height:.75cqw;margin-top:.5cqw;border-radius:5px;background:#dce8fc}.tc-badge-check{position:absolute;bottom:.6cqw;right:.7cqw;display:grid;place-items:center;width:1.9cqw;height:1.9cqw;border-radius:50%;background:var(--tc-color);color:#fff;font-size:1.2cqw;box-shadow:0 0 0 2px #fff}
.tc-watch{left:2%;top:18%}.tc-homework{left:30%;top:3%}.tc-exam{left:55%;top:3%}.tc-checkin{right:3%;top:16%}.tc-archive{right:3%;top:33%;width:25%;min-height:8cqw}
.tc-badge[data-active=true]{border-color:#8eb6ff;box-shadow:inset 0 1px 0 #fff,0 6px 20px #4c85dd21;transform:translateY(-3px)}
.tc-profile{position:absolute;z-index:4;right:5%;bottom:3%;width:46%;padding:11px 14px;border:1px solid #ffffffed;border-radius:15px;background:linear-gradient(140deg,#ffffffe8,#f7fbffb8);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 #fff,0 8px 24px #5e88c013}
.tc-profile-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.tc-profile-head img{width:27px;height:27px;border-radius:50%;object-fit:cover}.tc-profile-head strong{font-size:12px;line-height:1.5;color:#273b5e;font-weight:650}
.tc-profile-row{display:grid;grid-template-columns:79px minmax(0,1fr) 28px;align-items:center;gap:8px;margin-top:8px;border-radius:5px;transition:background .2s,box-shadow .2s}
.tc-profile-row>span{display:flex;align-items:center;gap:5px;color:#516987;font-size:9px;white-space:nowrap}.tc-profile-row svg{width:14px;height:14px;fill:var(--tc-color);flex:none}.tc-profile-row>i{display:block;height:6px;border-radius:8px;background:#e4ecfc;overflow:hidden}.tc-profile-row>i>b{display:block;width:var(--tc-progress);height:100%;border-radius:8px;background:var(--tc-color)}.tc-profile-row>small{font-size:9px;color:#657895;text-align:right}
.tc-profile-row[data-active=true]{background:#edf5ff;box-shadow:0 0 0 5px #edf5ff}
@media(hover:hover){.tc-step:hover{transform:translateY(-2px)}}
@media(max-width:1300px){.tc-heading{padding:0 50px}.role-teacher .tc-heading h2{font-size:39px}.role-teacher .tc-heading p{font-size:18px}.role-teacher .tc-panel h3{font-size:22px}.role-teacher .tc-panel>header p{font-size:14px}.tc-panel{padding:24px 22px}.tc-archive-panel{padding-bottom:0}.tc-archive-scene{margin-inline:-22px}.tc-mini{padding-inline:6px}.tc-mini-grid,.role-teacher .tc-system .tc-flow{gap:7px}.tc-profile{padding:12px}.tc-profile-row{grid-template-columns:73px minmax(0,1fr) 26px;gap:6px}}
@media(max-width:1040px){.tc-wrap{width:calc(100% - 48px)}.tc-heading{padding:0 25px}.tc-panels{grid-template-columns:1fr;gap:20px}.tc-panel{padding:28px}.tc-archive-panel{padding-bottom:0}.tc-archive-scene{min-height:430px;margin-inline:-28px}.tc-checkin{top:12%}.tc-archive{top:29%}.role-teacher .tc-panel h3{font-size:26px}.role-teacher .tc-panel>header p{font-size:16px}.tc-mini{height:185px;padding:12px}.role-teacher .tc-mini h4{font-size:11px}.tc-icon{width:58px;height:58px}.tc-step strong{font-size:15px}.tc-step small{font-size:12px}.tc-step:after{top:27px;left:calc(50% + 36px);width:calc(100% - 63px)}.role-teacher .tc-system .tc-flow{margin-top:28px;margin-bottom:24px}.tc-video-cover{height:73px}.tc-profile{width:43%;padding:18px}.tc-profile-row{grid-template-columns:100px minmax(0,1fr) 32px;gap:10px;margin-top:15px}.tc-profile-row>span,.tc-profile-row>small{font-size:12px}.tc-profile-head strong{font-size:15px}.tc-profile-head img{width:33px;height:33px}.tc-badge strong{font-size:14px}}
@media(max-width:680px){.role-teacher .tc-system{padding:43px 0 30px}.tc-wrap{width:calc(100% - 36px)}.tc-heading{padding:0 8px;margin-bottom:25px}.role-teacher .tc-heading h2{font-size:29px;line-height:1.5}.role-teacher .tc-heading p{font-size:14px;line-height:1.85}.tc-heading p br{display:none}.tc-panel{padding:21px 16px}.role-teacher .tc-panel h3{font-size:21px;line-height:1.6}.role-teacher .tc-panel>header p{font-size:13px;line-height:1.9}.tc-panel>header p br{display:none}.role-teacher .tc-system .tc-flow{gap:5px;margin:23px 0 17px}.tc-icon{width:42px;height:42px}.tc-icon svg{width:23px;height:23px}.tc-step{gap:6px;min-height:105px}.tc-step strong{font-size:12px}.tc-step small{font-size:9px}.tc-step:after{top:20px;left:calc(50% + 24px);width:calc(100% - 41px)}.tc-mini-grid{gap:5px}.tc-mini{height:147px;padding:7px 5px;border-radius:9px}.role-teacher .tc-mini h4{font-size:8px;gap:2px;margin:4px 0 9px}.tc-mini h4 svg{width:10px;height:10px}.tc-video-cover{height:49px}.tc-mini-play{width:19px;height:19px}.tc-mini-play svg{width:10px;height:10px}.tc-mini-line{gap:3px;margin-bottom:9px}.tc-mini-line>i{width:10px;height:10px;font-size:7px;line-height:10px}.tc-mini-line b{height:4px}.tc-mini-task .tc-mini-line{margin:14px 0}.tc-mini-task .tc-mini-line>i{box-shadow:0 0 0 2px #ddf8f1}.tc-mini-exam .tc-mini-line{margin:12px 0}.tc-submit{font-size:8px;padding:3px 0}.tc-calendar{gap:5px 3px}.tc-ring{width:44px;height:44px;margin:8px auto 13px}.tc-ring strong{font-size:11px}.tc-mini-bars{height:26px;gap:3px}.tc-mini-bars i{width:6px}.tc-archive-panel{padding-bottom:0}.tc-archive-scene{min-height:282px;margin:12px -16px 0}.tc-profile{width:47%;padding:10px 9px;right:3%;bottom:3%}.tc-profile-head{gap:6px;margin-bottom:10px}.tc-profile-head img{width:23px;height:23px}.tc-profile-head strong{font-size:11px}.tc-profile-row{grid-template-columns:61px minmax(0,1fr) 23px;gap:5px;margin-top:10px}.tc-profile-row>span,.tc-profile-row>small{font-size:8px}.tc-profile-row svg{width:12px;height:12px}.tc-profile-row>span{gap:3px}.tc-profile-row>i{height:5px}.tc-badge strong{font-size:clamp(8px,1.7cqw,11px)}.tc-badge{border-radius:9px}.tc-profile{border-radius:11px}}
/* Wide stacked cards: native diagrams reflow; photographic layers keep their proportions. */
@media(min-width:1041px){
 .tc-panel{padding:30px 34px 32px}
 .tc-heading{padding-inline:34px}
 .tc-flow-panel>header p br{display:none}
 .tc-flow,.tc-mini-grid{max-width:960px;margin-inline:auto;gap:20px}
 .role-teacher .tc-system .tc-flow{margin:30px auto 22px}
 .tc-step{min-height:133px;gap:8px}
 .tc-icon{width:60px;height:60px}.tc-icon svg{width:31px;height:31px}
 .tc-step strong{font-size:16px}.tc-step small{font-size:12px}
 .tc-step:after{top:28px;left:calc(50% + 39px);width:calc(100% - 58px)}
 .tc-mini{height:auto;aspect-ratio:176 / 228;padding:14px 12px}
 .role-teacher .tc-mini h4{font-size:12px;gap:5px;margin:6px 0 16px}.tc-mini h4 svg{width:16px;height:16px}
 .tc-video-cover{height:auto;aspect-ratio:1.8}.tc-mini-play{width:32px;height:32px}.tc-mini-play svg{width:15px;height:15px}
 .tc-mini-line{margin-bottom:14px;gap:7px}.tc-mini-line>i{width:18px;height:18px;font-size:11px;line-height:18px}.tc-mini-line b{height:6px}
 .tc-mini-task .tc-mini-line{margin:23px 0}.tc-mini-exam .tc-mini-line{margin:19px 0}.tc-submit{font-size:11px;padding:6px 0}
 .tc-week-label{font-size:9px;margin-bottom:12px}.tc-calendar{gap:8px 6px}.tc-calendar i{font-size:8px}.tc-calendar i.done{font-size:11px}
 .tc-ring{width:78px;height:78px;margin:17px auto 18px}.tc-ring:before{inset:7px}.tc-ring strong{font-size:18px}.tc-mini-bars{height:45px;gap:8px}.tc-mini-bars i{width:12px}

}
/* Compact process cards follow the arch, with a separate area for the learning profile. */
@media(min-width:681px){
 .tc-archive-panel{padding-bottom:0}
 .tc-archive-scene{flex:none;min-height:0;aspect-ratio:2 / 1;margin-top:18px}
 .tc-student{left:3%;width:76%;height:87%}
 .tc-badge{width:18%;min-height:0;padding:1.05cqw 1.15cqw;gap:.85cqw;border-radius:1.5cqw}
 .tc-badge>.tc-icon{width:3.8cqw;height:3.8cqw;border-radius:1.05cqw}.tc-badge .tc-icon svg{width:2.2cqw;height:2.2cqw}
 .tc-badge strong{font-size:clamp(10px,1.35cqw,15px)}
 .tc-badge-line{width:4.9cqw;height:.5cqw;margin-top:.45cqw}
 .tc-badge-check{width:1.5cqw;height:1.5cqw;font-size:.95cqw;bottom:.55cqw;right:.6cqw}
 .tc-watch{left:6%;top:21%}.tc-homework{left:27%;top:5%}.tc-exam{left:50%;top:5%}.tc-checkin{right:9%;top:21%}.tc-archive{right:9%;top:42%;width:18%;min-height:0}
 .tc-profile{right:7%;bottom:5%;width:36%;padding:1.45cqw 1.65cqw;border-radius:1.6cqw}
 .tc-profile-head{gap:.8cqw;margin-bottom:1.1cqw}.tc-profile-head img{width:2.8cqw;height:2.8cqw}.tc-profile-head strong{font-size:clamp(11px,1.25cqw,15px)}
 .tc-profile-row{grid-template-columns:8.2cqw minmax(0,1fr) 2.7cqw;gap:.7cqw;margin-top:1cqw}
 .tc-profile-row>span,.tc-profile-row>small{font-size:clamp(8px,.95cqw,11px)}.tc-profile-row svg{width:1.3cqw;height:1.3cqw}.tc-profile-row>i{height:.5cqw}
}
@media(min-width:1041px){.tc-archive-scene{margin-inline:-34px}}
@media(max-width:680px){
 .tc-archive-scene{min-height:0;aspect-ratio:1.35 / 1}
 .tc-student{left:0;width:83%;height:72%}
 .tc-badge{width:27%;min-height:0;padding:2cqw;gap:1.2cqw}
 .tc-badge>.tc-icon{width:6cqw;height:6cqw}.tc-badge .tc-icon svg{width:3.5cqw;height:3.5cqw}
 .tc-badge strong{font-size:2.4cqw}.tc-badge-line{width:8cqw}
 .tc-watch{left:5%;top:3%}.tc-homework{left:36.5%;top:3%}.tc-exam{left:68%;top:3%}
 .tc-checkin{right:5%;top:24%}.tc-archive{right:5%;top:40%;width:27%;min-height:0}
 .tc-profile{right:4%;bottom:4%;width:46%;padding:2cqw}
 .tc-profile-head{margin-bottom:1.5cqw}.tc-profile-head img{width:5cqw;height:5cqw}.tc-profile-head strong{font-size:2.4cqw}
 .tc-profile-row{grid-template-columns:13cqw minmax(0,1fr) 5cqw;gap:1cqw;margin-top:1.8cqw}.tc-profile-row>span,.tc-profile-row>small{font-size:1.8cqw}.tc-profile-row svg{width:2.7cqw;height:2.7cqw}
}
@media(prefers-reduced-motion:reduce){.tc-system button,.tc-mini,.tc-badge,.tc-profile-row{transition:none}.tc-step:hover,.tc-mini[data-active=true],.tc-badge[data-active=true]{transform:none}}
