/* Shared adult workspace: same palette, restrained decoration and compact working space. */
:root{--blue:#2F3A8F;--navy:#252D65;--yellow:#FFC93C;--coral:#FF6B5B;--mint:#3CC9A6}body{background:#F5F5FA;color:#292F58;font-family:'Microsoft YaHei','PingFang SC',sans-serif;font-size:16px;line-height:1.65}a{color:#2F3A8F}button{background:#2F3A8F;border-radius:10px;min-height:44px;font-size:15px;padding:10px 18px}button:hover{transform:none;filter:brightness(.97)}button.secondary{color:#2F3A8F;background:white;border-color:#C7CCE3}button.danger{background:#FF6B5B;color:#482436}input,select,textarea{font-size:16px;border-radius:10px;min-height:44px;color:#292F58;border-color:#C7CCE3;padding:10px 12px}input[type=checkbox]{display:inline-block;width:20px;min-height:20px;vertical-align:middle;margin:0 10px 0 0;accent-color:#2F3A8F}input:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2F3A8F;outline-offset:3px}.panel{border-color:#DEE0ED;border-radius:16px;box-shadow:none;padding:22px}.sidebar{background:#2F3A8F;width:216px;padding:26px 18px;color:white;border:0}.sidebar .brand{font:900 25px Arial,sans-serif;color:white;letter-spacing:2px}.workspace-label{font-size:13px;color:#DADEF8;margin:12px 0}.sidebar nav{margin-top:28px;gap:5px}.sidebar nav a{color:#E9EAF8;min-height:44px;display:flex;align-items:center;padding:11px 14px;border-radius:10px;font-size:15px;margin:3px 0}.sidebar nav a.active{background:#FFC93C;color:#222954;font-weight:750}.sidebar-foot{color:#DADEF8;font-size:13px;left:22px}.teacher-main{margin-left:216px;padding:0 30px 40px;max-width:1650px}.teacher-main .topbar{height:72px;min-height:72px}.teacher-main .topbar .brand{font-size:17px;letter-spacing:0}.teacher-main h1{font-size:28px}.teacher-main h2{font-size:21px}.teacher-main .hint{color:#636984;font-size:14px}.page-title{margin:26px 0 20px}.start-class{background:#2F3A8F;border-radius:16px;padding:22px 26px;min-height:110px}.start-class p{color:#E1E4F6}.dashboard-quick{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 22px}.dashboard-quick a{background:white;border:1px solid #D8DCEC;border-radius:10px;min-height:48px;padding:10px 16px;font-weight:650}.stats>div{border:1px solid #DEE0ED;box-shadow:none;border-radius:14px;padding:20px}.stats strong{color:#2F3A8F}.create-form{max-width:1000px}.create-form .course-preview{margin:0 0 14px}.create-form .course-preview img{width:105px;height:75px;object-fit:contain}.create-form .course-preview h2{font-size:21px}.create-form .course-preview p{font-size:14px}.course-guide,.class-settings{border:1px solid #DEE0ED;padding:8px 16px;border-radius:12px;margin:14px 0}.course-guide summary,.class-settings summary{min-height:44px;cursor:pointer;font-weight:650;padding:8px 0}.create-form>button{position:sticky;bottom:16px;z-index:2;box-shadow:0 0 0 10px #FFFFFFED;min-height:48px;border-radius:12px}.create-form label{font-size:15px;margin-bottom:14px}.create-form .field-row{gap:18px}.console-view-switch{display:flex;gap:10px;margin:20px 0}.console-view-switch button[aria-pressed=true]{background:#FFC93C;color:#292F58;border-color:#FFC93C}.teaching-layout[data-console-view=students]{display:flex;flex-direction:column}.teaching-layout[data-console-view=students] .teaching-material{display:none}.teaching-layout[data-console-view=students] .classroom-operations{width:100%}.teaching-layout[data-console-view=students] .student-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teaching-layout[data-console-view=teaching]{grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr)}.student-card{border-radius:14px;box-shadow:none}.student-card .priority-badge{font-size:14px}.student-card .usage-line{font-size:13px}.teacher-main .class-code{display:flex;align-items:center;gap:22px;padding:18px}.teacher-main .class-code #qr{height:90px;width:90px}.teacher-main #attention-summary{padding:14px 18px;margin:14px 0}.teacher-main .section-title{margin:18px 0}.student-card img{max-height:180px;object-fit:contain}.workspace-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #D8DCEC;padding:12px 0;margin:16px 0 22px;position:sticky;top:0;background:#F5F5FAf7;z-index:10}.workspace-tabs button{background:transparent;color:#5D6480;border:1px solid transparent;white-space:nowrap;min-height:44px}.workspace-tabs button[aria-selected=true]{background:#2F3A8F;color:white}.workspace-panel{min-width:0}.workspace-panel>section:first-child{margin-top:0}.workspace-intro{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:18px}.workspace-intro p{font-size:15px;color:#626982}.teacher-projects{max-width:1500px;width:auto;margin:0 0 0 216px;padding:28px 30px 48px}.teacher-projects>h1{font-size:28px;margin:0}.teacher-projects>p{font-size:14px;color:#626982}.learning-header{margin-left:216px;min-height:72px;background:white;color:#292F58;border-bottom:1px solid #DFE1ED;padding:16px 30px}.learning-header>a{color:#2F3A8F}.learning-header>a:first-child{font-size:23px;font-weight:900}.learning-header>span{font-size:14px;color:#626982}.teacher-projects .panel{margin:16px 0;padding:22px}.teacher-projects h2{font-size:20px}.teacher-projects h3{font-size:18px}.teacher-projects p{font-size:15px;line-height:1.7}.teacher-projects label{font-size:15px;margin:12px 0}.teacher-projects input,.teacher-projects select,.teacher-projects textarea{padding:10px 12px;font-size:16px;min-height:44px;margin-top:6px}.teacher-projects input[type=checkbox]{width:20px;min-height:20px;display:inline-block;vertical-align:middle}.teacher-projects .actions{justify-content:flex-start;margin-top:16px}.teacher-projects button{border-radius:10px;min-height:44px;font-size:15px}.teacher-projects #roster-text{min-height:130px}.teacher-projects #account-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-projects .hint{font-size:14px}.teacher-projects details.panel>section{padding:10px 0;margin:0;border:0}.workflow-note{padding:14px 18px;background:#FFF4CD;border-radius:12px;font-size:15px}.review-current-image{float:right;max-width:34%;max-height:220px;object-fit:contain;border-radius:10px;margin:0 0 16px 22px}.teacher-main #feedback-panel{margin:16px 0}.teacher-main .dimension-fields{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.teacher-main #teacher-comment{min-height:120px;font-size:16px}.teacher-main #evidence-panel{margin:18px 0}.teacher-main #evidence-panel>textarea{min-height:80px;margin-bottom:14px}.teacher-main #evidence-panel>button{margin:4px 8px 4px 0}.teacher-main .report-controls{margin:18px 0}.teacher-main .report-controls p{font-size:14px}.teacher-main .review-versions{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-main #feedback-panel:after{content:'';display:block;clear:both}.workspace-panel .panel>details{margin-top:12px}body.hq,body.institution{background:#F5F5FA;color:#292F58}body.hq aside{background:#2F3A8F}body.institution aside{background:#205C66}body.hq nav a.active,body.institution nav a.active{background:#FFC93C;color:#252D65}body.institution button:not(.secondary){background:#2F3A8F}body.institution a{color:#2F3A8F}body.institution aside a{color:#EAF6F3}body.hq main,body.institution main{margin-left:224px;padding:0 30px 40px}body.hq section:where(:not(.entry-intro, .entry-panel)),body.institution section{border-color:#DEE0ED;border-radius:14px;padding:20px}.hq header:where(:not(.entry-top)),.institution header{font-size:14px}.hq h1,.institution h1{font-size:28px}.hq h2,.institution h2{font-size:19px}.hq nav a,.institution nav a{min-height:44px}.hq .grid,.institution .grid{gap:14px}.hq .grid section,.institution .grid section{padding:18px}.hq .metric strong,.institution .metric strong{font-size:28px;margin:8px 0}.hq button,.institution button{min-height:44px}.hq label,.institution label{font-size:15px;color:#545D7B}.hq small,.institution small,.hq .muted,.institution .muted{color:#626982}.hq td,.institution td,.hq th,.institution th{font-size:14px;padding:12px;line-height:1.6}.hq td a,.institution td a{display:inline-flex;align-items:center;min-height:44px}.hq .tag,.institution .tag{font-size:13px}.table-search{max-width:360px;margin:0 0 14px;min-height:44px}.management-editor{padding:0;border-radius:12px;margin:18px 0;border:1px solid #DEE0ED;background:white}.management-editor>summary{padding:14px 20px;min-height:48px;color:#2F3A8F}.management-editor>section{margin:0;border:0}.fields:has(fieldset){grid-template-columns:1fr}.fields fieldset{min-width:0;margin:0;border:1px solid #DEE0ED;border-radius:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;padding:18px}.fields legend{font-size:16px;font-weight:700;color:#2F3A8F;padding:0 8px}.setup-path{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#FFFAE8}.setup-path h2{margin:0 10px 0 0}.setup-path a{min-height:44px;display:inline-flex;align-items:center;padding:8px 14px;background:white;border-radius:10px;border:1px solid #EADCA8}.id-copy{background:transparent;color:#2F3A8F;border:1px solid #D5D8E8;font:13px/1.4 monospace;min-height:44px;padding:6px 10px}.hq .password-control .password-toggle,.institution .password-control .password-toggle{min-height:36px;top:4px;background:transparent;color:#2F3A8F}.parent-report{background:#F5F5FA;color:#292F58}.parent-report .report-shell{max-width:1150px}.parent-report .report-final{background:white;border:1px solid #DEE0ED;border-radius:16px;padding:24px;margin:24px 0;gap:26px}.parent-report .report-final>img{border:8px ridge #E0B651;border-radius:0;max-height:340px;object-fit:contain;background:#F4F2EC}.parent-report .child-quote{font-size:21px;line-height:1.8;color:#292F58}.parent-report .eyebrow{color:#2F3A8F}.parent-report h1{font-size:30px}.parent-report h2{font-size:22px}.parent-report .teacher-feedback{border-top:5px solid #3CC9A6}.parent-report details.panel{padding:18px 22px;border:1px solid #DEE0ED;border-radius:14px;background:white;margin:18px 0}.parent-report details summary{font-weight:700;font-size:17px;min-height:44px;cursor:pointer;padding:8px 0}.parent-report .report-final details{font-size:15px}.parent-report .teacher-comment{font-size:18px}.parent-report .process-observations{gap:12px}.parent-report .report-candidates img{max-height:180px;object-fit:contain}.parent-report .report-header{margin-bottom:20px}.parent-report .goal-panel{padding:18px 22px;margin:18px 0}.parent-report footer{font-size:14px;color:#626982}.parent-report .simulation{font-size:14px}.parent-report .original-expression>p{font-size:15px}.parent-report .original-expression{margin-top:20px}.teacher-main footer{color:#626982}summary{min-height:44px}.course-search{margin-bottom:20px;max-width:420px}.teaching-library .lesson-card{border-radius:14px}
@media(max-width:1100px){.sidebar{width:190px;padding:22px 14px}.sidebar nav a{font-size:14px;padding:10px 12px}.teacher-main,.teacher-projects{margin-left:190px;padding-left:24px;padding-right:24px}.learning-header{margin-left:190px;padding-left:24px;padding-right:24px}.teacher-main .dimension-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.teaching-layout[data-console-view=students] .student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-tabs{gap:6px}.workspace-tabs button{padding:9px 12px;font-size:14px}.teacher-projects .workspace-intro{align-items:flex-start}.teacher-projects .workspace-intro button{white-space:nowrap}.teaching-layout[data-console-view=teaching]{grid-template-columns:1fr}.teacher-projects #account-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-main .review-versions{grid-template-columns:repeat(2,minmax(0,1fr))}.hq .fields fieldset,.institution .fields fieldset{gap:14px}.hq aside,.institution aside{width:200px;padding:24px 16px}body.hq main,body.institution main{margin-left:200px;padding:0 24px 30px}.parent-report .report-shell{padding:24px}.parent-report .report-header h1{font-size:27px}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px}.sidebar .workspace-label,.sidebar-foot{display:none}.sidebar nav{display:flex;overflow:auto;gap:6px;flex-direction:row;margin-top:12px}.sidebar nav a{white-space:nowrap;padding:8px 12px}.teacher-main,.teacher-projects{margin:0;padding:0 16px 30px}.learning-header{margin:0;padding:12px 16px}.learning-header>span{display:none}.teacher-main .topbar{display:none}.workspace-tabs{overflow:auto;flex-wrap:nowrap;top:0;gap:4px}.workspace-tabs button{font-size:14px}.workspace-intro{display:block}.workspace-intro button{margin-bottom:12px}.teacher-main .dimension-fields{grid-template-columns:1fr}.teacher-main .review-versions{grid-template-columns:1fr}.review-current-image{float:none;max-width:100%;width:100%;margin:0 0 16px}.teacher-main .class-code{flex-wrap:wrap}.teacher-projects #account-cards{grid-template-columns:1fr}.teacher-projects>h1{margin-top:22px}.hq aside,.institution aside{position:static;width:auto}.hq nav,.institution nav{display:flex;overflow:auto}.hq nav a,.institution nav a{white-space:nowrap}body.hq main,body.institution main{margin:0;padding:0 16px 24px}.hq .fields fieldset,.institution .fields fieldset{grid-template-columns:1fr}.hq header #identity,.institution header #identity{display:none}.parent-report .report-final{grid-template-columns:1fr;padding:16px}.parent-report .report-shell{padding:18px}.parent-report h1{font-size:26px}.parent-report .report-header{gap:12px}.parent-report .process-observations{grid-template-columns:1fr}.parent-report .report-header button{font-size:14px}}
@media print{.parent-report details{display:block!important}.parent-report details>*{display:block!important}.parent-report .report-final{break-inside:avoid}.sidebar,.workspace-tabs,.no-print{display:none!important}.parent-report{background:white}.parent-report .report-shell{max-width:none;padding:0}}
.material-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:8px}.material-filters button{white-space:nowrap;flex-shrink:0;min-height:44px}.material-list .material-card{border-top:4px solid #FFC93C;box-shadow:none}.material-list .material-card p{font-size:15px}
@media(min-width:900px) and (max-width:1150px){.teaching-mode>.sidebar{display:block;width:190px}.teaching-mode>.teacher-main{margin-left:190px;padding-left:24px;padding-right:24px}.teaching-mode .teaching-layout[data-console-view=students]{display:flex}.teaching-mode .teaching-layout[data-console-view=teaching]{grid-template-columns:1fr}}
.parent-report .report-short{padding:22px;border:1px solid #D8DCEE;background:white;border-radius:16px}.parent-report .report-short h2{font-size:23px;margin:0 0 16px}.short-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;align-items:center}.short-work>img{width:100%;max-height:250px;object-fit:contain;background:#F2F0FA;border:7px ridge #DFB54F}.short-work h3,.report-short>section h3{font-size:17px;margin:6px 0}.short-work p,.report-short>section p{font-size:16px;margin:8px 0;line-height:1.7}.report-short>section{margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid #D8DCEE}.short-observations{display:flex;gap:8px 16px;flex-wrap:wrap}.short-observations span{font-size:13px;color:#4B5675}.short-note{font-size:13px;color:#555F7B;margin:14px 0 0}.parent-report #toggle-report-view{margin:16px 0;min-height:48px}.parent-report [hidden]{display:none!important}.parent-report[data-report-view=short] .report-header{margin-bottom:16px}.parent-report[data-report-view=short] .report-header h1{font-size:27px}.parent-report[data-report-view=short] .report-header p{margin:6px 0}.parent-report[data-report-view=short] .simulation{margin:12px 0;padding:10px 16px}
@media(max-width:700px){.short-work{grid-template-columns:1fr}.short-work>img{max-height:220px}.parent-report .report-short{padding:16px}}
@media print{.parent-report[data-report-view=short] #report-full{display:none!important}.parent-report[data-report-view=full] #report-short{display:none!important}.parent-report[data-report-view=short] .report-short{padding:12px;border:0;break-inside:avoid}.parent-report[data-report-view=short] .short-work img{max-height:62mm}.parent-report[data-report-view=short] .report-header h1{font-size:22px}.parent-report[data-report-view=short] .report-short p{font-size:11pt}.parent-report[data-report-view=short] .report-shell{padding:0;margin:0}.parent-report[data-report-view=short] .simulation{font-size:9pt}}
.class-drawer{position:fixed;inset:0 0 0 auto;width:min(680px,96vw);height:100dvh;max-height:100dvh;max-width:96vw;margin:0;padding:24px;border:0;border-radius:20px 0 0 20px;background:#F5F5FA;color:#292F58;overflow:auto;box-shadow:-12px 0 50px #22285033}.class-drawer::backdrop{background:#20275088}.drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.drawer-heading h2{font-size:25px;margin:0}.class-drawer>section{margin:16px 0 0;border:0;padding:20px}.class-drawer>section>h2{display:none}.class-step-status{font-size:16px;font-weight:650;margin:18px 0}.class-wizard-steps{display:flex;list-style:none;padding:0;margin:0;gap:12px;font-size:14px}.class-wizard-steps li{flex:1;border-bottom:3px solid #D5D9EB;padding:10px 0}.class-wizard-steps [aria-current=step]{border-color:#2F3A8F;color:#2F3A8F;font-weight:750}.class-drawer .fields{display:block}.class-drawer .class-wizard-panel{display:block;border:0;padding:0;margin:0}.class-drawer .class-wizard-panel[hidden]{display:none!important}.class-wizard-panel legend{font-size:20px;padding:0;margin-bottom:18px;font-weight:700}.class-drawer .class-wizard-panel label{margin-bottom:22px}.class-drawer select[multiple]{min-height:170px}.class-drawer .actions{position:sticky;bottom:0;background:#F5F5FA;padding:16px 0 8px;border-top:1px solid #D9DDED;margin-top:20px}.class-drawer .actions .muted{flex-basis:100%;font-size:13px}.class-drawer-open{margin-top:18px}.class-drawer:focus{outline:none}@media(max-width:700px){.class-drawer{padding:18px}.class-wizard-steps{gap:8px;font-size:13px}}
.class-drawer .class-wizard-panel{padding-bottom:85px}
/* X-02: teacher sidebar = light background, menu text black #111 bold, active item blue with white text (all teacher pages). */
.sidebar{background:#edf3fc;color:#17365d;border-right:1px solid #e0e8f3}.sidebar .brand{color:#17365d}.workspace-label,.sidebar-foot{color:#587394}.sidebar nav a,.sidebar nav>span{color:#111;font-weight:700}.sidebar nav a.active{background:#2F6BFF;color:#fff;font-weight:700}
