:root{--ink:#173f38;--green:#287f70;--green-dark:#1c6257;--mint:#dcefe9;--mint-soft:#f1f8f5;--coral:#ee876a;--paper:#fffefa;--bg:#f4f7f3;--line:#d8e4de;--muted:#71817c;--shadow:0 18px 50px #18473e12}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{color:var(--ink);background:var(--bg);margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}input,textarea,select{outline:none}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px #287f7017;border-color:var(--green)!important}.mp-app{min-height:100vh}.mp-header{z-index:40;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#fffffcf0;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;padding:0 clamp(20px,5vw,76px);display:grid;position:sticky;top:0}.mp-brand{background:0 0;border:0;justify-self:start;align-items:center;gap:10px;display:flex}.mp-brand span{color:#fff;background:var(--green);border-radius:12px 12px 12px 3px;place-items:center;width:37px;height:37px;font:700 15px Georgia,serif;display:grid}.mp-brand b{font:700 20px Songti SC,STSong,serif}.mp-header nav{border:1px solid var(--line);background:#f2f6f3;border-radius:13px;gap:4px;padding:4px;display:flex}.mp-header nav button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:9px 16px;font-size:12px;font-weight:700}.mp-header nav button.active{color:var(--green);background:#fff;box-shadow:0 4px 14px #1c4d4317}.header-actions{justify-self:end;align-items:center;gap:6px;display:flex}.header-actions>button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:9px;padding:8px 10px;font-size:9px;font-weight:800}.header-actions>button.reminder-on{color:var(--green);background:var(--mint-soft);border-color:#bcd8cf}.header-actions .reset-link{color:#a4614d;background:#fff8f5;border-color:#ecd6ce}.mp-page{max-width:1280px;margin:auto;padding:52px 24px 100px}.hero-line,.page-title{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:28px;display:flex}.hero-line p,.page-title p{color:var(--green);letter-spacing:.15em;margin:0 0 9px;font-size:11px;font-weight:900}.hero-line h1,.page-title h1{letter-spacing:-.03em;margin:0 0 9px;font:700 38px/1.15 Songti SC,STSong,serif}.hero-line span,.page-title span{color:var(--muted);font-size:12px;line-height:1.7}.hero-line>button,.page-title>button,.primary{color:#fff;background:var(--green);border:0;border-radius:11px;flex:none;padding:13px 19px;font-size:12px;font-weight:900;box-shadow:0 10px 25px #287f702e}.hero-line>button:hover,.page-title>button:hover,.primary:hover{background:var(--green-dark)}.metric-row{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.metric-row>div{border:1px solid var(--line);background:#fff;border-radius:15px;flex-direction:column;justify-content:center;gap:7px;min-height:92px;padding:18px 21px;display:flex;box-shadow:0 9px 28px #18473e09}.metric-row span{color:var(--muted);font-size:10px}.metric-row b{font:700 25px Georgia,Songti SC,serif}.panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:18px;padding:24px}.panel-head{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.panel-head>div{flex-direction:column;gap:4px;display:flex}.panel-head b{font:700 18px Songti SC,serif}.panel-head span{color:var(--muted);font-size:10px}.panel-head>button{border:1px solid var(--line);color:var(--green);background:#fff;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:900}.dashboard-grid{grid-template-columns:1.05fr .95fr;gap:18px;display:grid}.quick-panel>button,.quick-panel>.workflow-step{text-align:left;background:0 0;border:0;border-top:1px solid #e8eeea;grid-template-columns:34px 1fr auto;align-items:center;gap:13px;width:100%;padding:15px 4px;display:grid}.quick-panel>button:hover{color:var(--green)}.quick-panel i{width:30px;height:30px;color:var(--green);background:var(--mint);border-radius:9px;place-items:center;font:800 12px Georgia,serif;display:grid}.quick-panel button div,.quick-panel .workflow-step>div{flex-direction:column;gap:4px;display:flex}.quick-panel button b,.quick-panel .workflow-step b{font-size:12px}.quick-panel button span,.quick-panel button strong,.quick-panel .workflow-step span,.quick-panel .workflow-step strong{color:var(--muted);font-size:9px}.quick-panel .workflow-step{cursor:default}.quick-panel .workflow-step strong{color:var(--green);background:var(--mint-soft);border-radius:20px;padding:5px 8px}.upcoming-list article{border-top:1px solid #e8eeea;grid-template-columns:120px 1fr;gap:15px;padding:14px 3px;display:grid}.upcoming-list time,.upcoming-list article>div{flex-direction:column;gap:4px;font-size:10px;display:flex}.upcoming-list time{color:var(--muted)}.upcoming-list time b{color:var(--green);font-size:13px}.upcoming-list article>div b{font-size:12px}.upcoming-list article>div span{color:var(--muted);font-size:9px}.empty-box{min-height:130px;color:var(--muted);text-align:center;place-items:center;padding:25px;font-size:11px;line-height:1.7;display:grid}.people-layout{grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr);align-items:start;gap:18px;display:grid}.matching-layout{grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr);align-items:start;gap:18px;display:grid}.matching-students{position:sticky;top:86px}.matching-student-list{flex-direction:column;gap:8px;margin-top:14px;display:flex}.matching-student-list>button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:12px;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;padding:12px;display:grid}.matching-student-list>button:hover{border-color:#9ecabd}.matching-student-list>button.active{border-color:var(--green);box-shadow:inset 3px 0 var(--green);background:#edf7f3}.matching-student-list i{color:#b75e47;background:#fee8df;border-radius:50%;place-items:center;width:39px;height:39px;font:700 14px Songti SC,serif;display:grid}.matching-student-list div{flex-direction:column;gap:4px;min-width:0;display:flex}.matching-student-list b{font-size:11px}.matching-student-list span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.matching-student-list em{color:var(--green);white-space:nowrap;font-size:8px;font-style:normal}.matching-main{flex-direction:column;gap:14px;display:flex}.time-scope-note{background:#f0f8f5;border:1px solid #c9e0d7;border-radius:10px;align-items:flex-start;gap:10px;margin-top:14px;padding:10px 12px;display:flex}.time-scope-note b{color:var(--green);flex:none;font-size:8px}.time-scope-note span{color:var(--muted);font-size:8px;line-height:1.55}.match-summary{grid-template-columns:1fr 1fr 1fr;gap:9px;margin-top:15px;display:grid}.match-summary>div,.match-summary label{border:1px solid var(--line);min-width:0;color:var(--muted);background:#fbfcfa;border-radius:10px;flex-direction:column;gap:6px;padding:11px 12px;font-size:8px;font-weight:800;display:flex}.match-summary b{color:var(--ink);font-size:12px}.match-summary small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:500;overflow:hidden}.match-summary .request-derived-hint{color:var(--green);white-space:normal;line-height:1.45}.match-summary .course-split-prompt{background:#fff5f1;border-color:#efc5b9;grid-column:1/-1;grid-template-columns:1fr auto;gap:10px 14px;display:grid}.course-split-prompt>div:first-child{flex-direction:column;gap:4px;display:flex}.course-split-prompt>div:first-child b{color:#a34f3d;font-size:9px}.course-split-prompt>div:first-child span{color:var(--muted);font-size:8px;font-weight:500;line-height:1.55}.course-split-prompt>div:last-child{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.course-split-prompt button{color:#9b4d3b;background:#fff;border:1px solid #dca895;border-radius:8px;padding:8px 10px;font-size:8px;font-weight:900}.course-split-prompt button.active{border-color:var(--green);color:#fff;background:var(--green)}.match-summary select,.match-summary input,.manual-teacher-select select{width:100%;color:var(--ink);background:0 0;border:0;outline:none;padding:0;font-size:11px;font-weight:800}.match-details{align-items:stretch}.match-summary .weekly-day-rule{grid-column:1/-1}.weekly-day-rule>div,.form-weekly-days>div{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.weekly-day-rule button,.form-weekly-days button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;padding:8px 4px;font-size:8px;font-weight:800}.weekly-day-rule button.active,.form-weekly-days button.active{border-color:var(--green);color:#fff;background:var(--green)}.weekly-day-rule small{color:var(--muted);font-size:8px;font-weight:500;line-height:1.5}.match-summary .weekly-auto-rule{background:#f0f8f5;grid-column:1/-1;grid-template-columns:1fr auto;gap:10px 14px;display:grid}.weekly-auto-rule>div:first-child{flex-direction:column;gap:4px;display:flex}.weekly-auto-rule>div:first-child b{color:var(--green);font-size:9px}.weekly-auto-rule>div:first-child span{color:var(--muted);font-size:8px;font-weight:500;line-height:1.55}.weekly-auto-days{grid-column:1/-1;grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.weekly-auto-days span{color:#7d9990;text-align:center;background:#fff;border:1px dashed #bed8cf;border-radius:8px;padding:7px 3px;font-size:8px}.weekly-auto-rule>button{border:1px solid var(--green);color:var(--green);background:#fff;border-radius:8px;padding:8px 10px;font-size:8px;font-weight:900}.match-mode{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0;display:grid}.match-mode button{border:1px solid var(--line);color:var(--ink);text-align:left;background:#fff;border-radius:11px;flex-direction:column;align-items:flex-start;gap:5px;padding:13px;display:flex}.match-mode button.active{border-color:var(--green);background:var(--mint-soft);box-shadow:inset 3px 0 var(--green)}.match-mode b{font-size:10px}.match-mode span{color:var(--muted);font-size:8px;line-height:1.5}.manual-teacher-select{border:1px solid var(--line);color:var(--muted);border-radius:10px;flex-direction:column;gap:7px;margin-bottom:12px;padding:11px 12px;font-size:8px;font-weight:800;display:flex}.manual-teacher-select small{color:var(--muted);font-size:8px;font-weight:500;line-height:1.5}.match-check{padding:13px}.match-result{padding:0;overflow:hidden}.match-result>header{border-bottom:1px solid var(--line);padding:19px 21px}.match-result.success>header{background:linear-gradient(145deg,#eaf7f2,#fffefa)}.match-result.failed>header{background:#fff4ef}.match-result>header>span{color:var(--green);background:#fff;border-radius:20px;margin-bottom:7px;padding:5px 8px;font-size:8px;font-weight:900;display:inline-block}.match-result.failed>header>span{color:#b25742}.match-result h2{margin:0 0 5px;font:700 21px Songti SC,serif}.match-result p{color:var(--muted);margin:0;font-size:9px;line-height:1.65}.optimization-proof{background:#eef8f4;border:1px solid #bcd9cf;border-radius:11px;grid-template-columns:155px 1fr;gap:12px;margin:14px 21px 0;padding:12px 14px;display:grid}.optimization-proof b{color:var(--green);font-size:9px;line-height:1.55}.optimization-proof span{color:var(--ink);font-size:9px;line-height:1.65}.match-options,.match-advice{padding:17px 21px}.match-options>b,.match-advice>b{color:var(--muted);letter-spacing:.08em;margin-bottom:10px;font-size:8px;display:block}.match-options>button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:11px;grid-template-columns:1fr auto;gap:5px 12px;margin-top:7px;padding:12px;display:grid}.match-options>button.active{border-color:var(--green);background:var(--mint-soft);box-shadow:inset 3px 0 var(--green)}.match-options>button div{align-items:center;gap:8px;display:flex}.match-options strong{font-size:11px}.match-options span,.match-options small{color:var(--muted);font-size:8px}.match-options em{color:var(--green);font-size:8px;font-style:normal;font-weight:900}.match-options small{grid-column:1/-1;line-height:1.55}.match-advice ol{flex-direction:column;gap:8px;margin:0;padding-left:20px;display:flex}.match-advice li{color:var(--ink);padding-left:3px;font-size:9px;font-weight:700;line-height:1.65}.match-advice li::marker{color:var(--coral);font-weight:900}.copy-message-card{background:#f1f8f5;border:1px solid #bcd9cf;border-radius:12px;grid-template-columns:1fr auto;gap:10px 14px;margin-top:15px;padding:14px;display:grid}.copy-message-card>div{flex-direction:column;gap:4px;display:flex}.copy-message-card>div b{color:var(--green);font-size:10px}.copy-message-card>div span{color:var(--muted);font-size:8px}.copy-message-card pre{max-height:230px;color:var(--ink);white-space:pre-wrap;background:#fff;border:1px solid #dbe9e3;border-radius:9px;grid-column:1/-1;margin:0;padding:12px;font:9px/1.75 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;overflow:auto}.copy-message-card>button{color:#fff;background:var(--green);border:0;border-radius:9px;align-self:center;padding:10px 13px;font-size:8px;font-weight:900}.student-message-section{flex-direction:column;gap:9px;margin-top:14px;display:flex}.student-message-section>header{justify-content:space-between;align-items:flex-start;gap:12px;padding:0 2px;display:flex}.student-message-section>header>div{flex-direction:column;gap:4px;display:flex}.student-message-section>header b{color:#a85441;font-size:10px}.student-message-section>header span{color:var(--muted);font-size:8px}.student-message-section>header em{color:#a85441;background:#fee9e2;border-radius:20px;flex:none;padding:5px 8px;font-size:8px;font-style:normal;font-weight:900}.student-message-section article{background:#fff8f5;border:1px solid #efd0c5;border-radius:12px;grid-template-columns:1fr auto;gap:10px 14px;padding:14px;display:grid}.student-message-section article>div{flex-direction:column;gap:4px;display:flex}.student-message-section article b{color:#a85441;font-size:9px}.student-message-section article span{color:var(--muted);font-size:8px}.student-message-section pre{max-height:210px;color:var(--ink);white-space:pre-wrap;background:#fff;border:1px solid #f1ddd6;border-radius:9px;grid-column:1/-1;margin:0;padding:12px;font:9px/1.75 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;overflow:auto}.student-message-section article>button{color:#fff;background:#b8644f;border:0;border-radius:9px;align-self:center;padding:10px 13px;font-size:8px;font-weight:900}.coordination-decision{background:#f5faf7;border:1px solid #bcd9cf;border-radius:12px;margin-top:14px;padding:14px}.decision-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.decision-head>div{flex-direction:column;gap:4px;display:flex}.decision-head b{color:var(--green);font-size:10px}.decision-head span{color:var(--muted);font-size:8px;line-height:1.5}.decision-head em{color:var(--green);background:var(--mint);border-radius:20px;flex:none;padding:5px 8px;font-size:8px;font-style:normal;font-weight:900}.confirmation-list{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.confirmation-list button{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;padding:9px 11px;font-size:8px;font-weight:800}.confirmation-list button.active{border-color:var(--green);color:var(--green);background:var(--mint-soft)}.class-save-mode{background:#fff;border:1px solid #d7e6e0;border-radius:10px;grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin:4px 0 11px;padding:10px;display:grid}.class-save-mode>div{flex-direction:column;gap:3px;display:flex}.class-save-mode b{color:var(--ink);font-size:9px}.class-save-mode span{color:var(--muted);font-size:8px}.class-save-mode button,.confirmed-save-actions button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;padding:8px 10px;font-size:8px;font-weight:900}.class-save-mode button.active,.confirmed-save-actions button.active{border-color:var(--green);color:var(--green);background:var(--mint-soft)}.finalize-schedule{color:#fff;background:var(--green);border:0;border-radius:9px;width:100%;padding:12px;font-size:9px;font-weight:900}.finalize-schedule:disabled{color:#82958e;cursor:not-allowed;background:#dfe8e4}.decline-actions{border-top:1px solid #dbe7e2;margin-top:13px;padding-top:12px}.decline-actions>b,.decline-actions>span{display:block}.decline-actions>b{color:#a85441;font-size:9px}.decline-actions>span{color:var(--muted);margin-top:3px;font-size:8px}.decline-actions>div{flex-wrap:wrap;gap:7px;margin-top:9px;display:flex}.decline-actions button{color:#a85441;background:#fff8f5;border:1px solid #edc9bd;border-radius:8px;padding:8px 10px;font-size:8px;font-weight:900}.match-advice .temporary-match-action{background:#eef8f4;border:1px solid #bcd9cf;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:12px;display:flex}.temporary-match-action>div{flex-direction:column;gap:4px;display:flex}.temporary-match-action b{color:var(--green);font-size:9px}.temporary-match-action span{color:var(--muted);font-size:8px;line-height:1.5}.temporary-match-action button{color:#fff;background:var(--green);border:0;border-radius:9px;flex:none;padding:10px 12px;font-size:8px;font-weight:900}.match-advice .permanent-time-actions{border-top:1px solid #f0ded7;flex-wrap:wrap;align-items:center;gap:7px;margin-top:13px;padding-top:12px;display:flex}.permanent-time-actions span{color:var(--muted);margin-right:auto;font-size:8px}.permanent-time-actions button{color:#ad5843;background:#fff8f5;border:1px solid #efc8bb;border-radius:9px;padding:9px 11px;font-size:8px;font-weight:900}.match-result>footer{border-top:1px solid var(--line);background:#f7faf8;justify-content:space-between;align-items:center;gap:15px;padding:15px 21px;display:flex}.match-result>footer>div{flex-direction:column;gap:4px;display:flex}.match-result>footer b{font-size:9px}.match-result>footer span{color:var(--muted);font-size:8px}.match-result>footer small{color:var(--green);font-size:7px}.match-result>footer button{color:#fff;background:var(--green);border:0;border-radius:10px;padding:12px 15px;font-size:9px;font-weight:900}.match-result>footer .confirmed-save-actions{flex-direction:row;align-items:center;gap:7px;display:flex}.match-result>footer .confirmed-save-actions button{padding:9px 11px}.match-result>footer .confirmed-save-actions button:last-child{color:#fff;background:var(--green);padding:12px 15px}.teacher-panel{position:sticky;top:92px}.standalone-field,.form-grid label,.date-pick{color:var(--ink);font-size:10px;font-weight:800;display:block}.standalone-field input,.form-grid input,.form-grid textarea,.form-grid select,.date-pick input{border:1px solid var(--line);background:#fff;border-radius:9px;width:100%;margin-top:7px;padding:10px 11px;font-size:11px;display:block}.standalone-field>small{color:var(--muted);margin:6px 0 10px;font-size:8px;font-weight:500;line-height:1.5;display:block}.form-weekly-days{border:1px solid var(--line);background:#fbfcfa;border-radius:10px;flex-direction:column;grid-column:1/-1;gap:8px;padding:11px;display:flex}.form-weekly-days>b{font-size:9px}.teacher-import{background:linear-gradient(145deg,#f0f8f5,#fffefa);border:1px solid #c7ddd5;border-radius:13px;margin-top:15px;padding:14px}.teacher-import>div{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.teacher-import>div b{color:var(--green);font-size:10px}.teacher-import>div span{color:var(--muted);font-size:8px}.teacher-import textarea{resize:vertical;background:#fff;border:1px dashed #b8d2c8;border-radius:9px;width:100%;padding:10px;font-size:10px;line-height:1.65}.teacher-import>button{color:#fff;background:var(--green);border:0;border-radius:9px;width:100%;margin-top:7px;padding:10px;font-size:9px;font-weight:900}.teacher-import>small{color:var(--green);margin-top:7px;font-size:8px;line-height:1.5;display:block}.rule-editor{background:var(--mint-soft);border:1px solid #cfe0d9;border-radius:13px;margin-top:17px;padding:15px}.sentence-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sentence-row select{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;padding:9px 10px;font-size:10px;font-weight:800}.weekday-picks{grid-template-columns:repeat(7,1fr);gap:4px;margin-top:9px;display:grid}.weekday-picks button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:7px;padding:8px 2px;font-size:8px;font-weight:800}.weekday-picks button.active{color:#fff;border-color:var(--green);background:var(--green)}.date-pick{margin-top:9px}.range-row{grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:7px;margin-top:10px;display:grid}.range-row>span{color:var(--muted);font-size:9px}.range-row input{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;padding:9px;font-size:10px;font-weight:800}.range-row button{color:#fff;background:var(--green);border:0;border-radius:8px;padding:10px 11px;font-size:9px;font-weight:900}.rule-editor>small{color:var(--muted);margin-top:9px;font-size:8px;line-height:1.5;display:block}.rule-list{flex-direction:column;gap:6px;margin-top:12px;display:flex}.rule-list>div{background:#fff;border:1px solid #d6e6df;border-radius:9px;grid-template-columns:48px 1fr auto 20px;align-items:center;gap:8px;padding:9px 10px;display:grid}.rule-list>div>span{color:var(--green);background:var(--mint);text-align:center;border-radius:20px;padding:4px;font-size:8px;font-weight:900}.rule-list>div.blocked{background:#fff9f6;border-color:#edd7ce}.rule-list>div.blocked>span{color:#b76149;background:#fee7df}.rule-list b,.rule-list time{font-size:9px}.rule-list time{color:var(--muted)}.rule-list button{color:#ad6b59;background:0 0;border:0;font-size:15px}.batch-student-import{background:linear-gradient(145deg,#fff7f3,#fffefa);border:1px solid #efd3c9;border-radius:13px;margin-bottom:15px;padding:14px}.batch-student-import>div{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.batch-student-import>div b{color:#b75f48;font-size:10px}.batch-student-import>div span{color:var(--muted);text-align:right;font-size:8px}.batch-student-import textarea{resize:vertical;background:#fff;border:1px dashed #e3bcae;border-radius:9px;width:100%;padding:10px;font-size:10px;line-height:1.65}.batch-student-import>button{color:#fff;background:var(--coral);border:0;border-radius:9px;width:100%;margin-top:7px;padding:10px;font-size:9px;font-weight:900}.batch-student-import>button:hover{background:#da755a}.batch-student-import>small{color:#a65f4c;margin-top:7px;font-size:8px;line-height:1.5;display:block}.student-cards{grid-template-columns:1fr 1fr;gap:9px;display:grid}.student-cards>article{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr auto;align-items:stretch;display:grid;overflow:hidden}.student-cards>article:hover{border-color:var(--green);background:var(--mint-soft)}.student-main{text-align:left;background:0 0;border:0;grid-template-columns:38px 1fr;align-items:center;gap:10px;min-width:0;padding:13px;display:grid}.student-main>span{color:#b76048;background:#fee8df;border-radius:50%;place-items:center;width:35px;height:35px;font:700 13px Songti SC,serif;display:grid}.student-main>div{flex-direction:column;gap:3px;min-width:0;display:flex}.student-cards b{font-size:11px}.student-cards small,.student-cards em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-style:normal;overflow:hidden}.student-actions{border-left:1px solid #e7edea;flex-direction:column;justify-content:center;gap:3px;padding:8px;display:flex}.student-actions button{color:var(--green);background:0 0;border:0;border-radius:6px;padding:5px 7px;font-size:8px;font-weight:800}.student-actions button:hover{background:var(--mint)}.student-actions button:last-child{color:#ad624f}.student-actions button:last-child:hover{background:#fee9e1}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f2d2747;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.student-modal{border:1px solid var(--line);background:var(--paper);border-radius:18px;width:min(780px,100%);max-height:calc(100vh - 36px);padding:25px;overflow:auto;box-shadow:0 30px 90px #0c2d2638}.modal-head{justify-content:space-between;align-items:flex-start;margin-bottom:15px;display:flex}.modal-head p{color:var(--green);letter-spacing:.12em;margin:0 0 4px;font-size:9px;font-weight:900}.modal-head h2{margin:0;font:700 25px Songti SC,serif}.modal-head>button{color:var(--muted);background:0 0;border:0;font-size:23px}.paste-box{grid-template-columns:1fr auto;align-items:stretch;gap:8px;margin-bottom:15px;display:grid}.paste-box textarea{resize:vertical;background:var(--mint-soft);border:1px dashed #bcd4cb;border-radius:10px;padding:10px;font-size:10px;line-height:1.6}.paste-box button{color:#fff;background:var(--green);border:0;border-radius:10px;padding:0 15px;font-size:9px;font-weight:900}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-grid textarea{resize:vertical}.form-grid .wide{grid-column:1/-1}.form-grid .field-with-help>small{color:var(--muted);margin-top:6px;font-size:8px;font-weight:500;line-height:1.55;display:block}.form-grid .teacher-active-field{border:1px solid var(--line);background:var(--mint-soft);border-radius:9px;align-items:center;gap:8px;padding:10px 12px;display:flex}.form-grid .teacher-active-field input{width:auto;box-shadow:none;margin:0}.modal-review{margin-top:14px}.batch-help{color:var(--muted);margin:-5px 0 12px;font-size:9px;line-height:1.6}.batch-teacher-input{resize:vertical;background:var(--mint-soft);border:1px dashed #b8d2c8;border-radius:12px;width:100%;padding:14px;font-size:10px;line-height:1.7}.time-field-explainer{background:#f1f8f5;border:1px solid #c6ddd4;border-radius:11px;align-items:center;gap:10px;margin-top:16px;padding:11px 13px;display:flex}.time-field-explainer b{color:var(--green);flex:none;font-size:9px}.time-field-explainer span{color:var(--ink);font-size:9px;line-height:1.55}.time-field-explainer strong{color:var(--green)}.subhead{align-items:center;gap:8px;margin-top:22px;display:flex}.subhead b{font-size:12px}.subhead span{color:var(--muted);font-size:8px}.time-sync-warning{background:#fff7f3;border:1px solid #efc8bb;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;padding:11px 12px;display:flex}.time-sync-warning>div{flex-direction:column;gap:3px;display:flex}.time-sync-warning b{color:#a95742;font-size:9px}.time-sync-warning span{color:var(--muted);font-size:8px;line-height:1.5}.time-sync-warning button{color:#fff;background:var(--coral);border:0;border-radius:8px;flex:none;padding:9px 11px;font-size:8px;font-weight:900}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.modal-actions>button:first-child{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 18px;font-size:10px}.class-layout{grid-template-columns:minmax(430px,.92fr) minmax(0,1.08fr);align-items:start;gap:18px;display:grid}.class-form{position:sticky;top:92px}.class-suggestions{background:var(--mint-soft);border:1px solid #bcd9d0;border-radius:12px;margin-bottom:15px;padding:13px}.class-suggestions>b{color:var(--green);font-size:10px;display:block}.class-suggestions>span{color:var(--muted);margin-top:4px;font-size:8px;line-height:1.5;display:block}.class-suggestions>div{flex-direction:column;gap:6px;margin-top:10px;display:flex}.class-suggestions button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:9px;grid-template-columns:1fr auto;gap:3px 8px;padding:9px 10px;display:grid}.class-suggestions button.active{border-color:var(--green);box-shadow:inset 3px 0 var(--green)}.class-suggestions strong{color:var(--ink);font-size:9px}.class-suggestions em{color:var(--green);font-size:8px;font-style:normal;font-weight:800}.class-suggestions small{color:var(--muted);grid-column:1/-1;font-size:7px;line-height:1.45}.student-checks{border-top:1px solid var(--line);margin:16px 0;padding-top:14px}.student-checks>b{margin-bottom:4px;font-size:11px;display:block}.student-checks>span{color:var(--muted);font-size:8px}.student-checks>div{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.student-checks button,.roster span{color:var(--green);background:#fff;border:1px solid #cfe0d9;border-radius:20px;padding:6px 10px;font-size:9px;font-weight:800}.student-checks button{align-items:center;gap:6px;display:inline-flex}.student-checks button small{color:var(--muted);font-size:8px;font-weight:500}.student-checks button.active{color:#fff;border-color:var(--green);background:var(--green)}.student-checks button.active small{color:#ffffffc7}.student-checks button:disabled{cursor:not-allowed;color:#b45d48;opacity:.76;background:#fff6f2;border-color:#f0c6ba}.student-checks button:disabled small{color:#b45d48}.teacher-pool-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 14px;display:grid}.teacher-pool-tabs button{border:1px solid var(--line);color:var(--ink);text-align:left;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 11px;display:flex}.teacher-pool-tabs button.active{border-color:var(--green);box-shadow:inset 3px 0 var(--green);background:#edf7f3}.teacher-pool-tabs b{align-items:center;gap:5px;display:flex}.teacher-pool-tabs em{color:#b8543d;background:#ffe5dc;border-radius:8px;padding:2px 5px;font-size:7px;font-style:normal}.teacher-pool-tabs small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:8px;overflow:hidden}.teacher-status{color:var(--muted);justify-content:space-between;align-items:center;margin:8px 0 14px;font-size:9px;display:flex}.teacher-status label{align-items:center;gap:6px;display:flex}.teacher-status button{color:#b45d48;background:0 0;border:0;font-size:9px}.availability-review{background:#f1f8f5;border:1px solid #cde3da;border-radius:12px;margin:0 0 14px;padding:12px}.availability-review.due{background:#fff6f2;border-color:#f1c6b8}.availability-review>div:first-child{flex-direction:column;gap:4px;display:flex}.availability-review span{color:var(--muted);font-size:8px;line-height:1.5}.availability-review>div:last-child{gap:6px;margin-top:10px;display:flex}.availability-review button{color:var(--green);background:#fff;border:1px solid #bfd8cf;border-radius:8px;flex:1;padding:7px;font-size:8px;font-weight:800}.availability-review.due button:last-child{border-color:var(--coral);background:var(--coral);color:#fff}.review-alert{width:100%;color:var(--ink);text-align:left;background:#fff5f1;border:1px solid #f0c3b5;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:-8px 0 20px;padding:14px 18px;display:flex}.review-alert div{flex-direction:column;gap:4px;display:flex}.review-alert span{color:#96604f;font-size:10px}.review-alert strong{color:#b8543d;white-space:nowrap;font-size:10px}.resource-section{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:18px;margin-top:20px;padding:24px}.resource-section>header{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px;display:flex}.resource-section>header>div{flex-direction:column;gap:4px;display:flex}.resource-section>header p{color:var(--green);letter-spacing:.12em;margin:0;font-size:9px;font-weight:900}.resource-section>header h2{margin:0;font:700 23px Songti SC,serif}.resource-section>header span{color:var(--muted);font-size:9px}.resource-section>header button{color:var(--green);background:#fff;border:1px solid #bcd8cf;border-radius:9px;padding:9px 12px;font-size:9px;font-weight:900}.resource-header-actions{gap:7px;display:flex}.resource-header-actions button:first-child{color:#fff;border-color:var(--green);background:var(--green)}.resource-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.resource-card{border:1px solid var(--line);min-width:0;color:var(--ink);text-align:left;background:#fff;border-radius:14px;flex-direction:column;transition:border-color .15s,transform .15s,box-shadow .15s;display:flex;overflow:hidden}.resource-card:hover{border-color:#9ecabd;transform:translateY(-2px);box-shadow:0 12px 25px #194d4214}.resource-card-main{color:inherit;text-align:left;background:0 0;border:0;flex-direction:column;flex:1;gap:14px;padding:16px;display:flex}.resource-delete{color:#ae5b47;text-align:right;background:#fff8f5;border:0;border-top:1px solid #f1ddd6;padding:8px 12px;font-size:8px;font-weight:800}.resource-delete:hover{background:#feece5}.student-filter-bar{border-bottom:1px solid #e8eeea;justify-content:space-between;align-items:center;gap:12px;margin:-4px 0 14px;padding-bottom:14px;display:flex}.year-filter{flex-wrap:wrap;gap:5px;display:flex}.year-filter button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:16px;padding:6px 9px;font-size:8px;font-weight:800}.year-filter button.active{color:#fff;border-color:var(--green);background:var(--green)}.student-filter-actions{gap:6px;display:flex}.student-filter-actions select,.student-filter-actions input{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:110px;padding:7px 9px;font-size:8px}.resource-card-top{grid-template-columns:39px 1fr auto;align-items:center;gap:10px;display:grid}.resource-card-top i{color:#fff;background:var(--green);border-radius:12px 12px 12px 3px;place-items:center;width:39px;height:39px;font:700 15px Songti SC,serif;display:grid}.student-resource-card .resource-card-top i{color:#b75e47;background:#fee8df;border-radius:50%}.resource-card-top>div{flex-direction:column;gap:4px;min-width:0;display:flex}.resource-card-top b{font-size:13px}.resource-card-top span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.resource-card-top em{color:#b8543d;background:#ffe7df;border-radius:12px;padding:4px 6px;font-size:7px;font-style:normal;font-weight:900}.resource-card-top em.ok{color:var(--green);background:var(--mint)}.resource-tags{flex-wrap:wrap;align-content:flex-start;gap:5px;min-height:27px;display:flex}.resource-tags span{color:var(--green);background:var(--mint-soft);border-radius:15px;padding:5px 8px;font-size:8px;font-weight:800}.student-resource-card .resource-tags span{color:#a85741;background:#fff0ea}.resource-tags .empty-tag{color:var(--muted);background:#f3f5f4}.resource-card footer{border-top:1px solid #e8eeea;justify-content:space-between;align-items:center;gap:8px;padding-top:11px;display:flex}.resource-card footer span{color:var(--muted);font-size:8px}.resource-card footer strong{color:var(--green);font-size:8px}.resource-empty-card{color:#a9604c;background:#fff9f6;border:1px dashed #d9b6aa;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:150px;display:flex}.resource-empty-card span{color:var(--muted);font-size:8px}.dashboard-next{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:8px;margin-top:20px;padding:16px 18px;display:flex}.dashboard-next>div{flex-direction:column;flex:1;gap:4px;display:flex}.dashboard-next b{font-size:11px}.dashboard-next span{color:var(--muted);font-size:8px}.dashboard-next button{border:1px solid var(--line);color:var(--green);background:var(--mint-soft);border-radius:9px;padding:9px 11px;font-size:8px;font-weight:900}.primary.full{width:100%}.class-cards{flex-direction:column;gap:11px;display:flex}.class-results{flex-direction:column;gap:13px;display:flex}.class-cards article{border:1px solid var(--line);border-left:4px solid var(--green);box-shadow:var(--shadow);background:#fff;border-radius:15px;padding:21px}.class-cards article.paused{opacity:.58;border-left-color:#aeb9b5}.class-card-head{justify-content:space-between;align-items:center;display:flex}.class-card-head>span{color:#b75e47;background:#fee9e1;border-radius:20px;padding:5px 8px;font-size:8px;font-weight:900}.class-card-head>div{gap:5px;display:flex}.class-card-head button{color:var(--muted);background:0 0;border:0;padding:4px;font-size:8px}.class-card-head button:last-child{color:#b6614d}.class-cards h3{margin:13px 0 5px;font:700 20px Songti SC,serif}.class-cards p{color:var(--muted);margin:0 0 12px;font-size:9px}.roster{flex-wrap:wrap;gap:5px;display:flex}.roster span{background:var(--mint-soft);padding:4px 8px}.class-time-override{background:#fff7f3;border:1px solid #efd4c9;border-radius:9px;align-items:center;gap:8px;margin-top:10px;padding:9px 10px;display:flex}.class-time-override b{color:#ad5944;font-size:8px}.class-time-override span{color:var(--muted);font-size:8px}.progress-line{grid-template-columns:auto 1fr;align-items:center;gap:15px;margin-top:16px;display:grid}.progress-line>div{flex-direction:column;gap:3px;display:flex}.progress-line b{font-size:11px}.progress-line span{color:var(--muted);font-size:8px}.progress-line i{background:#edf1ee;border-radius:5px;height:6px;overflow:hidden}.progress-line em{border-radius:inherit;background:var(--green);height:100%;display:block}.class-cards footer{border-top:1px solid #e8eeea;justify-content:space-between;margin-top:14px;padding-top:11px;display:flex}.class-cards footer span{color:var(--muted);font-size:8px}.class-cards footer b{color:var(--green);font-size:8px}.class-ai-cta{box-shadow:var(--shadow);background:linear-gradient(145deg,#e9f6f1,#fffefa);border:1px solid #acd1c5;border-radius:15px;justify-content:space-between;align-items:center;gap:18px;padding:19px 21px;display:flex}.class-ai-cta>div{flex-direction:column;gap:4px;display:flex}.class-ai-cta b{font:700 16px Songti SC,serif}.class-ai-cta span{color:var(--muted);font-size:8px;line-height:1.5}.class-ai-cta button{color:#fff;background:var(--green);border:0;border-radius:10px;flex:none;padding:13px 18px;font-size:10px;font-weight:900;box-shadow:0 9px 22px #287f702e}.class-ai-cta button:hover{background:var(--green-dark)}.class-ai-cta button:disabled,.schedule-actions button:disabled,.empty-schedule button:disabled{cursor:wait;opacity:.65}.schedule-title{align-items:center}.schedule-actions{gap:8px;display:flex}.schedule-actions button{border:1px solid var(--line);color:var(--green);background:#fff;border-radius:10px;padding:12px 15px;font-size:10px;font-weight:900}.schedule-actions button:last-child{color:#fff;border-color:var(--green);background:var(--green);box-shadow:0 10px 25px #287f7029}.teacher-calendar-overview{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:17px;margin-bottom:18px;overflow:hidden}.teacher-calendar-overview>header{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f4faf7,#fffdf9);justify-content:space-between;align-items:flex-end;gap:18px;padding:18px 20px;display:flex}.teacher-calendar-overview>header>div:first-child{flex-direction:column;gap:4px;display:flex}.teacher-calendar-overview>header p{color:var(--green);letter-spacing:.1em;margin:0;font-size:8px;font-weight:900}.teacher-calendar-overview>header h2{margin:0;font:700 20px Songti SC,serif}.teacher-calendar-overview>header span{color:var(--muted);font-size:8px}.overview-controls{align-items:flex-end;gap:10px;display:flex}.overview-controls label{color:var(--muted);flex-direction:column;gap:5px;font-size:8px;font-weight:800;display:flex}.overview-controls select{border:1px solid var(--line);min-width:150px;color:var(--ink);font:inherit;background:#fff;border-radius:9px;padding:9px 10px}.overview-controls>div{align-items:center;gap:7px;display:flex}.overview-controls>div b{min-width:94px;color:var(--ink);text-align:center;font-size:10px}.overview-controls button{border:1px solid var(--line);width:34px;height:34px;color:var(--green);background:#fff;border-radius:9px;font-weight:900}.overview-summary{border-bottom:1px solid var(--line);background:#fbfdfc;flex-wrap:wrap;align-items:center;gap:14px;padding:11px 18px;display:flex}.overview-summary span{color:var(--muted);font-size:8px}.overview-summary span b{color:var(--ink);margin-right:4px;font-size:13px}.overview-summary i{color:var(--muted);align-items:center;gap:5px;font-size:8px;font-style:normal;display:flex}.overview-summary i:first-of-type{margin-left:auto}.overview-summary i em{background:var(--green);border-radius:3px;width:9px;height:9px}.overview-summary i:last-child em{background:#8173ad}.overview-month-tabs{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;align-items:center;gap:7px;padding:9px 18px;display:flex}.overview-month-tabs>b{color:var(--muted);margin-right:3px;font-size:8px}.overview-month-tabs button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:20px;padding:6px 10px;font-size:8px;font-weight:900}.overview-month-tabs button span{color:var(--green);margin-left:3px}.overview-month-tabs button.active{border-color:var(--green);color:#fff;background:var(--green)}.overview-month-tabs button.active span{color:#fff}.calendar-weekdays,.teacher-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{border-bottom:1px solid var(--line);background:#f3f7f5}.calendar-weekdays b{color:var(--muted);text-align:center;padding:9px;font-size:8px}.teacher-calendar-grid>div{background:#fff;border-bottom:1px solid #e8eeeb;border-right:1px solid #e8eeeb;min-height:112px;padding:7px}.teacher-calendar-grid>div:nth-child(7n){border-right:0}.teacher-calendar-grid>div.blank{background:#f8faf9}.teacher-calendar-grid>div.today{box-shadow:inset 0 0 0 2px var(--coral)}.teacher-calendar-grid time{color:var(--muted);margin-bottom:5px;font-size:8px;font-weight:900;display:block}.teacher-calendar-grid article{border-left:3px solid var(--green);background:var(--mint-soft);border-radius:6px;flex-direction:column;gap:2px;margin-top:4px;padding:6px 7px;display:flex}.teacher-calendar-grid article.online{background:#f1eef8;border-left-color:#8173ad}.teacher-calendar-grid article b{color:var(--ink);font-size:8px}.teacher-calendar-grid article span{color:var(--green);text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:900;overflow:hidden}.teacher-calendar-grid article.online span{color:#6c5d98}.teacher-calendar-grid article small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.overview-empty{color:var(--muted);text-align:center;background:#fbfdfc;padding:14px;font-size:9px}.coordination-box{background:#fff8f4;border:1px solid #efd0c4;border-radius:13px;align-items:flex-start;gap:18px;margin-bottom:18px;padding:15px 18px;display:flex}.coordination-box>b{color:#b45c45;flex:none;font-size:10px}.coordination-box>div{flex-direction:column;gap:7px;display:flex}.coordination-box span{color:#9e6758;font-size:9px;line-height:1.55}.coordination-box span strong{color:#a94f39}.diagnosis-panel{background:#fff9f6;border:1px solid #efd0c4;border-radius:16px;margin-bottom:18px;padding:18px}.diagnosis-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.diagnosis-title b{color:#a9503b;font:700 16px Songti SC,serif}.diagnosis-title span{color:var(--muted);font-size:8px}.diagnosis-card{background:#fff;border:1px solid #edd8d0;border-radius:13px;overflow:hidden}.diagnosis-card+.diagnosis-card{margin-top:10px}.diagnosis-card>header{background:#fff4ef;border-bottom:1px solid #f0e1db;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:13px 15px;display:grid}.diagnosis-card>header>div{flex-direction:column;gap:3px;display:flex}.diagnosis-card>header b{color:var(--ink);font-size:11px}.diagnosis-card>header span{color:#b65e47;font-size:8px}.diagnosis-card>header>strong{color:#9e5c4a;font-size:9px;line-height:1.55}.diagnosis-card>section{padding:13px 15px}.diagnosis-card>section+section{border-top:1px solid #edf0ee}.diagnosis-card>section>b{color:var(--muted);letter-spacing:.08em;margin-bottom:9px;font-size:8px;display:block}.diagnosis-card section>div{grid-template-columns:1fr 1fr;gap:6px;display:grid}.diagnosis-card p{background:var(--mint-soft);border-radius:8px;grid-template-columns:62px 1fr;gap:8px;margin:0;padding:8px 9px;display:grid}.diagnosis-card p span{color:var(--green);font-size:9px;font-weight:900}.diagnosis-card p em{color:var(--muted);font-size:8px;font-style:normal;line-height:1.5}.action-advice{background:#f2f8f5}.action-advice ol{flex-direction:column;gap:7px;margin:0;padding-left:20px;display:flex}.action-advice li{color:var(--ink);padding-left:3px;font-size:9px;font-weight:650;line-height:1.65}.action-advice li::marker{color:var(--coral);font-weight:900}.empty-schedule{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:17px;padding:28px;font-size:11px;line-height:1.7;display:flex}.empty-schedule>b{color:var(--ink);font:700 17px Songti SC,serif}.empty-schedule>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.empty-schedule button{color:#fff;background:var(--green);border:0;border-radius:11px;padding:13px 20px;font-size:11px;font-weight:900;box-shadow:0 10px 25px #287f702e}.empty-schedule button:hover{background:var(--green-dark)}.empty-schedule button.secondary{color:var(--green);box-shadow:none;background:#fff;border:1px solid #bcd8cf}.empty-schedule button.secondary:hover{background:var(--mint-soft)}.scheduling-state{min-height:210px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.scheduling-state i{color:#fff;background:var(--green);border-radius:50%;place-items:center;width:42px;height:42px;font-style:normal;animation:1.1s ease-in-out infinite scheduling-pulse;display:grid}.scheduling-state b{color:var(--ink);font:700 18px Songti SC,serif}.scheduling-state span{font-size:9px}@keyframes scheduling-pulse{50%{transform:scale(1.08);box-shadow:0 0 0 10px #287f7014}}.schedule-board{flex-direction:column;gap:15px;display:flex}.schedule-board>section{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:16px;overflow:hidden}.schedule-board section>header{border-bottom:1px solid var(--line);background:#f2f7f4;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.schedule-board section>header b{font:700 16px Songti SC,serif}.schedule-board section>header span{color:var(--muted);font-size:9px}.schedule-board article{border-top:1px solid #e9eeeb;border-left:4px solid var(--green);grid-template-columns:135px 1fr auto auto;align-items:center;gap:16px;padding:15px 18px;display:grid}.schedule-board article:first-child{border-top:0}.schedule-board article.cancelled{opacity:.55;background:#f3f4f2;border-left-color:#9aa6a1}.schedule-board article.locked{border-left-color:var(--coral)}.schedule-board time,.schedule-board article>div{flex-direction:column;gap:4px;display:flex}.schedule-board time b,.schedule-board article>div>b{font-size:12px}.schedule-board time span,.schedule-board article>div span,.schedule-board article>div small{color:var(--muted);font-size:8px}.schedule-board article>div em{color:#ae624e;font-size:8px;font-style:normal}.schedule-board article>strong{color:var(--green);background:var(--mint);border-radius:20px;padding:6px 9px;font-size:8px}.schedule-board nav{gap:4px;display:flex}.schedule-board nav button,.schedule-board nav a{color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:5px;font-size:8px;text-decoration:none}.schedule-board nav a{color:var(--green);font-weight:900}.schedule-board nav button:last-child{color:#b15d49}.print-timetable{display:none}.mp-toast{z-index:100;color:#fff;background:var(--ink);border:0;border-radius:12px;align-items:center;gap:8px;max-width:min(640px,100% - 28px);padding:13px 16px;font-size:10px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 18px 45px #0a282240}.mp-toast span{background:var(--green);border-radius:50%;place-items:center;width:19px;height:19px;display:grid}.mp-toast b{color:#9eb0ab;margin-left:8px}@media (max-width:950px){.mp-header{grid-template-columns:1fr auto}.mp-header nav{grid-area:2/1/auto/-1;justify-self:center;margin-bottom:8px}.mp-header{height:auto;min-height:72px;padding-top:8px}.header-actions{grid-area:1/2}.dashboard-grid,.people-layout,.matching-layout,.class-layout{grid-template-columns:1fr}.matching-students{position:static}.resource-card-grid{grid-template-columns:1fr 1fr}.teacher-panel,.class-form{position:static}}@media (max-width:650px){.mp-header{padding:8px 12px}.mp-brand b{display:none}.mp-header nav{justify-content:flex-start;width:100%;overflow-x:auto}.mp-header nav button{flex:1;min-width:67px;padding:8px 7px;font-size:10px}.header-actions>button{padding:7px;font-size:0}.header-actions>button:first-letter{font-size:11px}.mp-page{padding:38px 13px 75px}.hero-line,.page-title{flex-direction:column;align-items:stretch}.hero-line h1,.page-title h1{font-size:31px}.hero-line>button,.page-title>button{width:100%}.schedule-actions{flex-direction:column;width:100%}.metric-row{grid-template-columns:1fr 1fr}.metric-row>div{min-height:78px}.teacher-calendar-overview>header,.overview-controls{flex-direction:column;align-items:stretch}.overview-controls select{width:100%}.overview-controls>div{justify-content:space-between}.overview-summary i:first-of-type{margin-left:0}.teacher-calendar-overview{overflow-x:auto}.calendar-weekdays,.teacher-calendar-grid{min-width:760px}.panel{padding:18px 14px}.student-cards,.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.range-row{grid-template-columns:auto 1fr auto 1fr}.range-row button{grid-column:1/-1}.weekday-picks{grid-template-columns:repeat(4,1fr)}.rule-list>div{grid-template-columns:46px 1fr 18px}.rule-list time{grid-area:2/2}.paste-box{grid-template-columns:1fr}.paste-box button{padding:10px}.time-field-explainer,.time-sync-warning{flex-direction:column;align-items:stretch}.time-sync-warning button{width:100%}.student-modal{padding:18px 14px}.progress-line{grid-template-columns:1fr}.class-ai-cta{flex-direction:column;align-items:stretch}.class-ai-cta button{width:100%}.schedule-board article{grid-template-columns:1fr auto;gap:9px}.schedule-board article>div{grid-area:2/1/auto/-1}.schedule-board nav{grid-area:2/2;align-self:end}.coordination-box{flex-direction:column;gap:8px}.diagnosis-title,.diagnosis-card>header{flex-direction:column;grid-template-columns:1fr;align-items:flex-start}.diagnosis-card section>div{grid-template-columns:1fr}.resource-section{padding:18px 14px}.resource-section>header{flex-direction:column;align-items:stretch}.resource-header-actions{flex-direction:column}.student-filter-bar,.student-filter-actions{flex-direction:column;align-items:stretch}.student-filter-actions input,.student-filter-actions select{width:100%}.resource-card-grid{grid-template-columns:1fr}.dashboard-next{flex-direction:column;align-items:stretch}.dashboard-next button{width:100%}.match-summary,.match-mode,.match-summary .course-split-prompt{grid-template-columns:1fr}.course-split-prompt>div:last-child{justify-content:flex-start}.match-result>footer{flex-direction:column;align-items:stretch}.match-result>footer button{width:100%}.class-save-mode{grid-template-columns:1fr 1fr}.class-save-mode>div{grid-column:1/-1}.match-result>footer .confirmed-save-actions{flex-direction:column;align-items:stretch}.optimization-proof,.copy-message-card{grid-template-columns:1fr}.copy-message-card pre{grid-column:1}.copy-message-card>button{width:100%}.student-message-section article{grid-template-columns:1fr}.student-message-section pre{grid-column:1}.student-message-section article>button{width:100%}.decision-head,.decline-actions>div{flex-direction:column;align-items:stretch}.decline-actions button{width:100%}.match-advice .temporary-match-action,.match-advice .permanent-time-actions{flex-direction:column;align-items:stretch}.temporary-match-action button,.permanent-time-actions button{width:100%}}@media print{@page{size:A4 landscape;margin:7mm}body{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}.mp-header,.schedule-title,.metric-row,.teacher-calendar-overview,.diagnosis-panel,.schedule-board,.coordination-box,.mp-toast{display:none!important}.mp-page{max-width:none;padding:0}.print-timetable{color:#17232d;font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;display:block}.print-timetable-title{justify-content:space-between;align-items:flex-end;margin-bottom:4mm;display:flex}.print-timetable-title p{color:#0877b8;letter-spacing:.12em;margin:0 0 1mm;font-size:9pt;font-weight:800}.print-timetable-title h1{margin:0;font-size:20pt}.print-legend{flex-wrap:wrap;justify-content:flex-end;gap:1.5mm;max-width:65%;display:flex}.print-legend span{border:.35mm solid #24313a;border-radius:1mm;padding:1mm 2mm;font-size:7.5pt;font-weight:800}.print-legend span.online{background:#d9e9ff;border-style:dashed}.print-legend span.offline{background:#e2f1d8}.print-week{break-inside:avoid;border:.5mm solid #111;margin-bottom:3.5mm}.print-week-row{grid-template-columns:27mm repeat(7,minmax(0,1fr));display:grid}.print-week-row>*{border-bottom:.35mm solid #111;border-right:.35mm solid #111;min-width:0}.print-week-row>:last-child{border-right:0}.print-weekdays{color:#fff;background:#087bbb}.print-weekdays b{text-align:center;padding:1.5mm 1mm;font-size:9pt}.print-dates b{text-align:center;background:#f8fbfd;padding:1.2mm 1mm;font-size:8.5pt}.print-time-row:last-child>*{border-bottom:0}.print-time-row time{background:#f8fbfd;place-items:center;padding:1.5mm 1mm;font-size:8pt;font-weight:800;display:grid}.print-course-cell{background:#fff;gap:1mm;min-height:12mm;padding:1mm;display:flex}.print-course-cell article{border-left:1.5mm solid var(--teacher-accent);background:var(--teacher-bg);text-align:center;border-radius:1mm;flex-direction:column;flex:1;justify-content:center;padding:1mm 1.3mm;line-height:1.3;display:flex;position:relative;overflow:hidden}.print-course-cell article.online{outline-offset:-.7mm;outline:.35mm dashed #3d6f9f}.print-course-cell article.offline{outline-offset:-.7mm;outline:.35mm solid #46703e7a}.print-course-cell strong{font-size:7.8pt}.print-course-cell span{font-size:6.7pt;font-weight:700}.print-course-cell small{text-overflow:ellipsis;white-space:nowrap;font-size:6.2pt;overflow:hidden}.print-course-cell em{color:#315875;font-size:5.8pt;font-style:normal;font-weight:800}.print-week-empty{text-align:center;color:#697b84;padding:5mm;font-size:9pt}.print-meeting-directory{break-inside:avoid;border:.45mm solid #1f536f;border-radius:1.5mm;margin-top:2mm;overflow:hidden}.print-meeting-directory>header{color:#fff;background:#176f9f;justify-content:space-between;align-items:center;padding:1.5mm 2mm;display:flex}.print-meeting-directory>header b{font-size:8pt}.print-meeting-directory>header span{font-size:6pt}.print-meeting-directory>div{background:#f4f9fc;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8mm;padding:1mm;display:grid}.print-meeting-directory article{border-left:1.3mm solid var(--teacher-accent);background:var(--teacher-bg);grid-template-columns:auto 1fr;align-items:baseline;gap:.4mm 1.5mm;padding:1mm 1.5mm;line-height:1.25;display:grid}.print-meeting-directory article b{font-size:6.8pt}.print-meeting-directory article span{text-overflow:ellipsis;white-space:nowrap;font-size:6pt;overflow:hidden}.print-meeting-directory article a,.print-meeting-directory article em{color:#075f91;overflow-wrap:anywhere;grid-column:1/-1;font-size:5.8pt;font-style:normal;text-decoration:underline}.print-timetable.compact .print-timetable-title{margin-bottom:2mm}.print-timetable.compact .print-timetable-title h1{font-size:16pt}.print-timetable.compact .print-timetable-title p{font-size:7pt}.print-timetable.compact .print-legend span{padding:.7mm 1.4mm;font-size:6pt}.print-timetable.compact .print-week{margin-bottom:1.8mm}.print-timetable.compact .print-weekdays b,.print-timetable.compact .print-dates b{padding:.7mm;font-size:7pt}.print-timetable.compact .print-course-cell{min-height:8mm;padding:.6mm}.print-timetable.compact .print-course-cell article{padding:.5mm .8mm;line-height:1.15}.print-timetable.compact .print-course-cell strong{font-size:6.5pt}.print-timetable.compact .print-course-cell span{font-size:5.7pt}.print-timetable.compact .print-course-cell small,.print-timetable.compact .print-course-cell em{font-size:5.2pt}.print-timetable.compact .print-time-row time{padding:.7mm;font-size:6.5pt}.print-timetable.compact .print-meeting-directory>header{padding:1mm 1.5mm}.print-timetable.compact .print-meeting-directory article{padding:.7mm 1mm}.print-timetable.ultra-compact .print-timetable-title{margin-bottom:1.3mm}.print-timetable.ultra-compact .print-timetable-title h1{font-size:14pt}.print-timetable.ultra-compact .print-legend span{padding:.5mm 1mm;font-size:5.4pt}.print-timetable.ultra-compact .print-week{margin-bottom:1mm}.print-timetable.ultra-compact .print-weekdays b,.print-timetable.ultra-compact .print-dates b{padding:.45mm;font-size:6pt}.print-timetable.ultra-compact .print-course-cell{min-height:6.2mm;padding:.35mm}.print-timetable.ultra-compact .print-course-cell article{border-left-width:1mm;padding:.3mm .5mm;line-height:1.05}.print-timetable.ultra-compact .print-course-cell strong{font-size:5.8pt}.print-timetable.ultra-compact .print-course-cell span{font-size:5pt}.print-timetable.ultra-compact .print-course-cell small,.print-timetable.ultra-compact .print-course-cell em{font-size:4.6pt}.print-timetable.ultra-compact .print-time-row time{padding:.4mm;font-size:5.7pt}.print-timetable.ultra-compact .print-meeting-directory{margin-top:1mm}.print-timetable.ultra-compact .print-meeting-directory article{padding:.45mm .8mm}.teacher-color-0{--teacher-bg:#dcecff;--teacher-accent:#4c7fc0}.teacher-color-1{--teacher-bg:#e2f1d8;--teacher-accent:#5d9651}.teacher-color-2{--teacher-bg:#ffedb8;--teacher-accent:#c18a16}.teacher-color-3{--teacher-bg:#f5ddf6;--teacher-accent:#a567a9}.teacher-color-4{--teacher-bg:#ffe0d1;--teacher-accent:#c86c48}.teacher-color-5{--teacher-bg:#d9f1ef;--teacher-accent:#3b938b}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
