:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none;--background:#f5f5f7;--surface:#fff;--text:#1d1d1f;--muted:#6e6e73;--line:#e5e5ea;--soft:#f5f5f7;--danger:#a52d27;--focus:#0068c9}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8bbbf0;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.3;font-weight:600;letter-spacing:-.7px;margin-bottom:10px}h2{font-size:17px;font-weight:600;line-height:1.4;margin-bottom:18px}h3{font-size:14px;font-weight:600}p{margin-bottom:12px}code{font-family:ui-monospace,Consolas,monospace;font-size:12px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:12px;color:var(--muted);margin-bottom:8px;font-weight:500;letter-spacing:.2px}.brand-logo{display:block;width:230px;max-width:100%;height:auto;object-fit:contain}.button{min-height:42px;border:1px solid #d9d9de;border-radius:9px;padding:9px 16px;background:#fff;color:var(--text);font-weight:500;font-size:13px;line-height:1.5}.button:hover:not(:disabled){background:#f5f5f7}.button.primary{background:#1d1d1f;color:#fff;border-color:#1d1d1f}.button.primary:hover:not(:disabled){background:#343437}.button.quiet{background:transparent;border-color:transparent;color:#55555a}.button.secondary{background:var(--soft)}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.message{font-size:13px;padding:12px 15px;border-radius:9px;background:#ececf0;line-height:1.65;margin-bottom:16px;overflow-wrap:anywhere}.message.error{background:#fff4f2;color:#9c2f29;border-left:2px solid #b9362e}.empty-state{padding:24px 0;color:var(--muted);font-size:13px;line-height:1.8}.spinner{display:inline-block;width:23px;height:23px;border:2px solid #dadade;border-top-color:#4a4a50;border-radius:50%;animation:spin .8s linear infinite}.spinner.mini{width:14px;height:14px;border-width:1.5px;margin-right:6px;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}.boot-screen{min-height:100dvh;max-width:560px;margin:auto;padding:40px 24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px}.boot-screen h1{font-size:22px}.boot-screen .brand-logo{margin-bottom:16px}.boot-screen p{color:var(--muted);margin:0}
.login-page{max-width:480px;padding:50px 24px 40px;margin:auto}.login-brand{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:32px}.login-brand>span{font-size:12px;color:var(--muted);letter-spacing:3px}.login-card{background:#fff;padding:34px 32px 28px;border-radius:20px}.login-card h1{font-size:27px;margin-bottom:10px}.login-card>.muted{font-size:13px;margin-bottom:25px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0;font-weight:500}.field input,.field textarea,.field select{border:1px solid #d8d8de;border-radius:8px;background:#fff;color:var(--text);padding:10px 12px;min-width:0;width:100%;font-weight:400;line-height:1.5;min-height:43px}.field textarea{resize:vertical;min-height:88px}.field input[aria-invalid=true]{border-color:#b9362e}.field-help{font-size:12px;color:var(--muted);font-weight:400;margin-bottom:17px}.field-error{font-size:12px;color:var(--danger);font-weight:400}.login-card .field{margin-bottom:18px}.login-submit{width:100%;margin-top:7px;min-height:45px}.login-footnote{color:var(--muted);font-size:11px;margin-top:20px;text-align:center}.demo-logins{margin-top:25px;color:var(--muted);font-size:12px}.demo-logins summary{cursor:pointer;text-align:center;min-height:44px;padding:12px}.demo-logins>p{padding:0 6px;margin-bottom:14px}.demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.demo-grid button{background:transparent;border:1px solid #dedee3;border-radius:9px;text-align:left;padding:11px 9px;min-width:0;color:var(--text)}.demo-grid button:hover{background:#fff}.demo-grid button span{display:block;font-size:12px}.demo-grid button small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:2px}.demo-password{text-align:center;margin-top:16px}
.workspace{min-height:100dvh;display:grid;grid-template-columns:220px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;min-height:100dvh}.sidebar-brand{padding:0 5px 32px}.sidebar-brand .brand-logo{width:175px}.sidebar-brand>span{display:block;color:var(--muted);font-size:11px;letter-spacing:2px;margin-top:13px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{border:0;background:transparent;text-align:left;padding:11px 14px;border-radius:9px;color:#626268;font-size:13px}.sidebar nav button[aria-current=page]{background:#f1f1f4;color:var(--text);font-weight:500}.sidebar-foot{margin-top:auto;padding:35px 12px 0;color:#8c8c92;font-size:11px;line-height:1.9}.workspace-body{min-width:0}.topbar{height:82px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.identity{display:flex;gap:13px;align-items:center;min-width:0;flex-wrap:wrap}.identity strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.role-label{color:var(--muted);font-size:12px}.topbar-actions{display:flex;gap:13px;align-items:center;flex-shrink:0}.device-control{display:flex;padding:3px;border-radius:9px;border:1px solid #dedee3;gap:2px}.device-control button{border:0;border-radius:6px;background:transparent;font-size:11px;color:var(--muted);padding:5px 11px;min-height:30px}.device-control button[aria-pressed=true]{background:#fff;color:var(--text)}#main-content{padding:34px 36px 24px;max-width:1420px;margin:auto;min-height:calc(100dvh - 148px)}.page-heading{margin-bottom:28px}.page-heading>p:last-child{font-size:13px;color:var(--muted);margin-bottom:0;max-width:720px}.surface{background:#fff;border-radius:15px;padding:25px 27px;margin-bottom:20px;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.section-heading h2{margin:0}.workspace-footer{display:flex;gap:16px;justify-content:space-between;color:#8a8a90;font-size:11px;max-width:1420px;margin:auto;padding:16px 36px 25px}.workspace-footer span{color:#99999e}.mobile-nav,.mobile-brand{display:none}.facts{margin:0}.facts>div{display:flex;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.facts>div:last-child{border-bottom:0}.facts dt{width:90px;color:var(--muted);font-size:13px;flex-shrink:0}.facts dd{margin:0;overflow-wrap:anywhere}.subject-list{display:flex;gap:10px;flex-wrap:wrap}.subject-list>span{background:#f5f5f7;border-radius:8px;padding:9px 15px;font-size:13px}.roadmap{padding:22px 2px 12px;border-top:1px solid var(--line);margin-top:24px}.roadmap h2{font-size:16px;margin-bottom:10px}.roadmap p{font-size:13px;color:#6e6e73;max-width:780px}.roadmap p:last-child{font-size:12px;margin-bottom:0}.table-scroll{overflow-x:auto;max-width:100%;margin:0 0 12px}.table-scroll:last-child{margin-bottom:0}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th,td{padding:13px 18px 13px 0;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}th{font-weight:400;color:var(--muted);font-size:12px}th:last-child,td:last-child{padding-right:0}tbody tr:last-child td{border-bottom:0}.loading-block{padding:40px 20px;text-align:center;color:var(--muted)}.loading-block p{margin:12px 0 0;font-size:13px}
.adviser-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:23px;align-items:start}.student-panel{min-width:0;background:#fff;border-radius:15px;padding:21px 16px}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:0 6px 14px}.list-heading h2{font-size:14px;margin:0}.student-list{display:flex;flex-direction:column;gap:5px}.student-list>button{position:relative;display:flex;flex-direction:column;width:100%;border:0;border-radius:9px;text-align:left;background:transparent;padding:14px 24px 14px 11px;gap:4px;color:var(--text);min-height:90px}.student-list>button:hover{background:#f7f7f9}.student-list>button[aria-current=true]{background:#f0f0f3}.student-list strong{font-weight:500;font-size:14px;overflow-wrap:anywhere}.student-list span:not(.student-arrow){font-size:11px;color:var(--muted);overflow-wrap:anywhere}.student-list small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.student-arrow{position:absolute;right:8px;top:31px;font-size:19px;color:#9b9ba0}.archive-panel{min-width:0}.archive-back{display:none}.selection-empty{min-height:260px;display:flex;flex-direction:column;justify-content:center}.selection-empty p{max-width:500px;font-size:13px}.archive-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.archive-heading h2{font-size:21px;margin-bottom:7px}.archive-heading p{margin-bottom:0}.archive-heading .eyebrow{margin-bottom:5px}.independent-note{padding:13px 15px;background:#f7f7f9;border-radius:9px;color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:24px}.archive-surface fieldset{margin:0;padding:24px 0;border:0;border-top:1px solid var(--line);min-width:0}.archive-surface legend{font-size:15px;font-weight:500;padding:0 10px 0 0}.archive-surface fieldset:first-of-type{padding-top:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 21px}.form-grid+.field{margin-top:22px}.target-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:start;margin-bottom:14px}.target-row .remove-target{margin-top:26px;min-height:43px;padding:8px}.target-actions{margin:7px 0 22px}.total-target{max-width:calc(50% - 10px)}.checkbox-group{display:flex;gap:13px 20px;flex-wrap:wrap;margin-top:4px}.checkbox-group label{display:flex;align-items:center;gap:8px;min-height:42px;font-weight:400}.checkbox-group input{width:17px;height:17px;min-height:0;accent-color:#29292d;margin:0;padding:0}.form-savebar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:19px;border-top:1px solid var(--line);margin-top:5px}.save-status{font-size:12px;color:#526257;line-height:1.6;display:inline-block;white-space:normal}.save-status.warning{color:#8a5b22}.save-status.busy{color:var(--muted)}.form-savebar .small{display:block;margin-top:4px}.history-section h2{font-size:15px}.history-list{padding:0;margin:0;list-style:none}.history-list>li{padding:15px 0;border-bottom:1px solid var(--line)}.history-list>li:first-child{padding-top:2px}.history-list>li:last-child{border-bottom:0;padding-bottom:0}.history-list>li>div{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;font-size:12px}.history-list strong{font-size:13px;font-weight:500}.history-list span,.history-list small{color:var(--muted);font-size:11px}.history-list p{margin:6px 0 3px;font-size:13px;overflow-wrap:anywhere}.recovery-note,.conflict-note{padding:17px 18px;background:#f7f6f1;border-radius:11px;font-size:13px;line-height:1.75;margin-bottom:23px}.recovery-note>strong,.conflict-note>strong{font-size:14px;font-weight:500}.recovery-note p,.conflict-note p{font-size:12px;color:#686157;margin:7px 0 12px}.conflict-note h3{margin:21px 0 10px}.comparison-list>div{border-top:1px solid #e3e0d6;padding:12px 0}.comparison-list>div>strong{font-size:12px;font-weight:500}.comparison-list dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:5px 10px;font-size:12px;margin:7px 0 0}.comparison-list dt{color:var(--muted)}.comparison-list dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.device-mobile{display:block;max-width:430px;margin:20px auto;background:#f5f5f7;min-height:calc(100dvh - 40px);border:1px solid #dedee3;border-radius:23px;overflow:hidden}.device-mobile .sidebar{display:none}.device-mobile .topbar{height:auto;min-height:65px;padding:14px 17px;align-items:flex-start}.device-mobile .identity{flex-direction:column;align-items:flex-start;gap:1px}.device-mobile .identity strong{font-size:13px}.device-mobile .role-label{font-size:10px}.device-mobile .topbar-actions{gap:2px}.device-mobile .topbar .button{min-height:36px;padding:6px 7px;font-size:12px}.device-mobile .device-control button{min-height:30px;padding:4px 8px;font-size:10px}.device-mobile .mobile-brand{display:block;padding:19px 19px 12px}.device-mobile .mobile-brand .brand-logo{width:193px}.device-mobile .mobile-nav{display:flex;gap:3px;margin:3px 14px 0;padding:4px 0 12px;border-bottom:1px solid var(--line)}.device-mobile .mobile-nav button{flex:1;border:0;background:transparent;padding:10px 6px;min-height:44px;color:var(--muted);font-size:12px;border-radius:8px}.device-mobile .mobile-nav button[aria-current=page]{background:#e9e9ee;color:var(--text);font-weight:500}.device-mobile #main-content{padding:23px 15px 16px;min-height:calc(100dvh - 250px)}.device-mobile h1{font-size:23px;letter-spacing:-.4px}.device-mobile .page-heading{margin-bottom:23px}.device-mobile .page-heading>p:last-child{font-size:12px}.device-mobile .surface{padding:21px 18px;border-radius:14px;margin-bottom:15px}.device-mobile .workspace-footer{padding:12px 17px 22px;font-size:10px;gap:6px}.device-mobile .adviser-layout{display:block}.device-mobile .student-panel{padding:19px 14px}.device-mobile .adviser-layout .archive-panel{display:none}.device-mobile .adviser-layout.has-selection .student-panel{display:none}.device-mobile .adviser-layout.has-selection .archive-panel{display:block}.device-mobile .archive-back{display:block;margin:-8px 0 13px}.device-mobile .archive-back .button{padding-left:0;min-height:44px}.device-mobile .form-grid{grid-template-columns:1fr;gap:18px}.device-mobile .archive-heading{display:block;margin-bottom:17px}.device-mobile .archive-heading>div:last-child{margin-top:11px}.device-mobile .archive-heading h2{font-size:20px}.device-mobile .archive-surface fieldset{padding:23px 0}.device-mobile .target-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;border-bottom:1px solid var(--line);padding-bottom:9px}.device-mobile .target-row .remove-target{grid-column:1 / -1;margin:0;justify-self:end;min-height:44px}.device-mobile .total-target{max-width:none}.device-mobile .form-savebar{align-items:stretch;flex-direction:column;gap:15px}.device-mobile .form-savebar>.button{width:100%;min-height:46px}.device-mobile .recovery-note,.device-mobile .conflict-note{padding:15px}.device-mobile .actions{gap:8px}.device-mobile .button{min-height:44px}.device-mobile .facts>div{gap:12px}.device-mobile .facts dt{width:72px}.device-mobile .checkbox-group{gap:6px 19px}.device-mobile .checkbox-group label{min-height:44px}.device-mobile .field input,.device-mobile .field textarea{min-height:45px;font-size:16px}.device-mobile .field textarea{min-height:98px}.device-mobile .roadmap{padding-top:20px;margin-top:23px}.device-mobile .comparison-list dl{grid-template-columns:1fr;gap:4px}.device-mobile .comparison-list dd{margin-bottom:7px}.device-mobile .history-list>li>div{gap:8px}.device-mobile .table-scroll{overflow:auto}.device-mobile table{font-size:12px}.device-mobile td,.device-mobile th{padding:12px 10px 12px 0}.device-mobile .subject-list>span{padding:9px 13px}
@media(max-width:470px){.login-page{padding:30px 18px}.login-card{padding:28px 23px}.login-card h1{font-size:25px}.device-mobile{max-width:none;border:0;border-radius:0;margin:0;min-height:100dvh}.device-mobile #main-content{padding-left:14px;padding-right:14px}.device-mobile .workspace-footer{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.demo-grid{gap:7px}.demo-grid button{padding:11px 8px}.demo-grid button small{font-size:10px}}
@media(min-width:471px) and (max-width:1100px){.device-pc{grid-template-columns:185px minmax(0,1fr)}.device-pc .sidebar{padding-left:14px;padding-right:14px}.device-pc #main-content{padding:27px 25px}.device-pc .adviser-layout{grid-template-columns:200px minmax(0,1fr);gap:17px}.device-pc .surface{padding:23px 21px}.device-pc .form-grid{gap:17px}.device-pc .topbar{padding:0 25px}}
@media(max-width:800px){.device-pc{min-width:980px}.role-adviser.device-pc{min-width:1000px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
.device-mobile .topbar .button,.device-mobile .device-control button{min-height:44px;min-width:44px}
.device-mobile.role-teacher .mobile-nav{overflow-x:visible;flex-wrap:nowrap}.device-mobile.role-teacher .mobile-nav button{flex:1 1 0;min-width:0;white-space:normal;padding-left:3px;padding-right:3px;overflow-wrap:anywhere}
.sch-filter-row{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end}.sch-filter-row>.field{flex:1;min-width:160px}.sch-filter-row>.button{margin-bottom:1px}.sch-loading{font-size:12px;color:var(--muted);margin:0 0 14px}.sch-lessons{display:flex;flex-direction:column}.sch-lesson{display:grid;grid-template-columns:125px minmax(0,1fr) auto;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}.sch-lesson:first-child{padding-top:4px}.sch-lesson:last-child{border-bottom:0;padding-bottom:3px}.sch-lesson-time{font-size:12px;display:flex;flex-direction:column;gap:5px}.sch-lesson-time strong{font-weight:500}.sch-lesson-time span{color:var(--muted);font-variant-numeric:tabular-nums}.sch-lesson-main h3{font-size:14px;margin:5px 0 10px;overflow-wrap:anywhere}.sch-lesson-main dl{display:grid;grid-template-columns:65px minmax(0,1fr);gap:4px 10px;font-size:12px;margin:0;line-height:1.7}.sch-lesson-main dt{color:var(--muted)}.sch-lesson-main dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.sch-form-actions{margin-top:19px}.sch-check{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.7;margin:10px 0 17px;min-height:36px}.sch-check input{width:17px;height:17px;accent-color:#29292d;flex-shrink:0}.sch-import-source{padding:20px 0;margin-top:8px}.sch-import-source input[type=file]{font-size:12px;padding:10px;background:var(--soft)}.sch-import-source .small{margin-top:9px}.sch-import-preview{border-top:1px solid var(--line);padding-top:23px;margin-top:25px}.sch-import-table{min-width:1550px}.sch-import-table th:first-child{width:125px}.sch-import-table th:last-child{width:180px}.sch-import-table th{white-space:nowrap}.sch-import-table input:not([type=checkbox]),.sch-import-table select{width:100%;min-width:86px;border:1px solid #d8d8de;border-radius:6px;padding:7px;font-size:12px;background:#fff;min-height:35px}.sch-import-table td{padding:12px 10px 12px 0}.sch-import-table .sch-check{font-size:11px;gap:5px;margin:7px 0;white-space:nowrap}.sch-import-table .field-error{margin:0 0 7px;font-size:11px}.sch-enrollment-list{list-style:none;padding:0;margin:0 0 24px}.sch-enrollment-list>li{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;padding:13px 0;border-bottom:1px solid var(--line)}.sch-enrollment-list strong{font-size:13px;font-weight:500}a.button{display:inline-flex;align-items:center;text-decoration:none;line-height:1.5}details>summary{cursor:pointer;font-size:13px;padding:8px 0}.independent-note p:last-child{margin:7px 0 0}.device-mobile .sch-filter-row{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.device-mobile .sch-filter-row>.field{min-width:0}.device-mobile .field select{font-size:16px;min-height:45px}.device-mobile .sch-lesson{display:block;padding:19px 0}.device-mobile .sch-lesson-time{flex-direction:row;flex-wrap:wrap;gap:8px 16px;margin-bottom:8px}.device-mobile .sch-lesson-main dl{grid-template-columns:60px minmax(0,1fr)}.device-mobile .sch-lesson>.button{margin-top:13px}.device-mobile .sch-enrollment-list>li{display:block}.device-mobile .sch-enrollment-list span{display:block;margin-top:4px}.device-mobile .mobile-nav{overflow-x:auto;flex-wrap:wrap}.device-mobile .mobile-nav button{min-width:75px;flex:1 0 auto}.device-mobile .sch-check{min-height:44px}

.learning-toolbar{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.learning-toolbar>.field{flex:1;min-width:170px}.learning-toolbar+.small{margin:13px 0 0}.learning-badge{display:inline-block;font-size:11px;font-weight:400;background:#f1f1f4;color:#616169;border-radius:5px;padding:3px 8px;line-height:1.7}.learning-queue{display:flex;flex-wrap:wrap;gap:8px}.learning-queue>button{display:flex;gap:15px;align-items:center;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 13px;background:#fff;text-align:left}.learning-queue strong{font-size:13px;font-weight:500}.learning-queue span{font-size:11px;color:var(--muted)}.learning-days{display:flex;gap:4px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:21px 0 13px;padding-bottom:6px}.learning-days>button{flex:1 0 46px;border:0;border-radius:8px;min-height:51px;padding:7px 5px;background:transparent;color:var(--muted)}.learning-days>button[aria-pressed=true]{background:#eeeef2;color:var(--text)}.learning-days span,.learning-days small{display:block;font-size:11px}.learning-days small{font-size:10px;margin-top:3px}.learning-day{border-top:1px solid var(--line);padding:0 3px}.learning-day>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;min-height:54px;padding:13px 0}.learning-day>summary strong{font-size:13px;font-weight:500}.learning-period{padding:17px 0;border-top:1px solid var(--line)}.learning-period>h3{color:var(--muted);font-size:12px;font-weight:500;margin-bottom:11px}.learning-period>.small:last-child{margin-bottom:0}.learning-task{padding:12px 0;border-bottom:1px solid #f0f0f3;overflow-wrap:anywhere}.learning-task:last-child{border-bottom:0;padding-bottom:2px}.learning-task>div{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.learning-task strong{font-size:13px;font-weight:500}.learning-task p{font-size:12px;margin:5px 0;color:var(--muted);line-height:1.75}.learning-self-editor{padding:22px 0;border-top:1px solid var(--line)}.learning-self-editor .section-heading h3{margin:0;font-size:13px}.learning-self-editor>.field{margin-top:17px}.learning-self-editor .section-heading{align-items:center}.learning-action-row{margin-top:18px}.learning-local-status{margin:13px 0 0}.learning-formal-list>article{padding:15px 0;border-top:1px solid var(--line)}.learning-formal-list .sch-check{margin:0 0 5px}.learning-formal-list .learning-task{padding-top:5px}.learning-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:16px 0}.learning-photo-grid figure{min-width:0;margin:0;overflow-wrap:anywhere}.learning-photo-grid img{display:block;width:100%;max-width:100%;aspect-ratio:1;object-fit:contain;background:#f5f5f7;border:1px solid #ededf0;border-radius:8px}.learning-photo-grid a{display:block}.learning-photo-grid figcaption{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0}.learning-photo-grid figure>.button{font-size:11px;padding:8px 5px;min-height:42px}.learning-photo-grid figure>.field{font-size:11px}.learning-upload{padding:7px 0 15px}.learning-upload input[type=file]{padding:10px;background:#f8f8fa;font-size:12px}.learning-attendance>article{padding:24px 0;border-bottom:1px solid var(--line)}.learning-attendance>article:first-child{padding-top:5px}.learning-attendance>article:last-child{border:0;padding-bottom:0}.learning-attendance .section-heading h3{margin:0;font-size:14px}.learning-recovery p{font-size:12px}.device-mobile .learning-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.device-mobile .learning-toolbar>.field{min-width:0}.device-mobile .learning-toolbar>.button{min-height:44px}.device-mobile .learning-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.device-mobile .learning-photo-grid figure>.button{min-height:44px;width:100%;white-space:normal}.device-mobile .learning-photo-grid input[type=file]{font-size:12px;padding:8px}.device-mobile .learning-self-editor .section-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.device-mobile .learning-self-editor .section-heading .button{padding-left:0;white-space:normal}.device-mobile .learning-action-row>.button{flex:1;min-height:45px}.device-mobile .learning-day>summary{min-height:54px;align-items:flex-start;flex-direction:column;justify-content:center}.device-mobile .learning-recovery .actions>.button{flex:1;min-width:95px;white-space:normal}.device-mobile .learning-task .learning-badge{font-size:10px}.device-mobile .learning-queue>button{width:100%;justify-content:space-between}.device-mobile .learning-period{padding:16px 0}.device-mobile:not(.role-teacher) .mobile-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;max-width:calc(100% - 28px);padding-bottom:9px;scrollbar-width:thin}.device-mobile:not(.role-teacher) .mobile-nav button{flex:0 0 auto;min-width:83px;min-height:44px;white-space:nowrap;padding:10px 9px}.device-mobile .surface,.device-mobile .learning-week,.device-mobile .learning-upload,.device-mobile .learning-photo-grid{min-width:0;max-width:100%}

.change-controls{display:flex;gap:17px;align-items:flex-end;flex-wrap:wrap;margin-bottom:21px}.change-controls>.field{flex:1;min-width:210px}.change-reason{margin-top:21px}.change-actions{margin-top:20px}.change-form-status{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-top:19px;font-size:12px;color:var(--muted)}.change-task{padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.change-task:last-child{border-bottom:0}.change-task>strong{font-size:13px;font-weight:500}.change-task>p{font-size:12px;line-height:1.75;margin:5px 0;color:var(--muted)}.change-history>article{padding:22px 0;border-top:1px solid var(--line)}.change-history>article:first-child{padding-top:0;border:0}.change-history h3{font-size:14px;margin:0}.change-history>article>p{font-size:13px}.change-summary{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 14px;font-size:13px;margin:16px 0}.change-summary dt{color:var(--muted)}.change-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.change-revision{padding:21px 0;border-top:1px solid var(--line)}.change-revision .section-heading h3{font-size:14px;margin:0}.change-revision>.actions{margin-top:17px}.change-revision:last-child{padding-bottom:0}.device-mobile .change-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.device-mobile .change-controls>.field{min-width:0}.device-mobile .change-summary{grid-template-columns:1fr;gap:5px}.device-mobile .change-summary dd{margin-bottom:8px}.device-mobile .change-actions>.button{min-height:45px;flex:1;white-space:normal}.device-mobile .change-form-status{display:block;line-height:1.8}.device-mobile .change-form-status>span{display:block}.device-mobile .change-revision .section-heading{align-items:flex-start;flex-wrap:wrap}.device-mobile .change-revision>.actions>.button{width:100%;min-height:45px;white-space:normal}.device-mobile .change-task{padding:14px 0}.device-mobile .change-history .section-heading{align-items:flex-start}

.device-mobile .mobile-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;max-width:calc(100% - 28px);padding-bottom:9px;scrollbar-width:thin}.device-mobile .mobile-nav button{flex:0 0 auto;min-width:83px;min-height:44px;white-space:nowrap;padding:10px 9px}

.exam-list>article,.exam-entry-list>article{padding:20px 0;border-bottom:1px solid var(--line)}.exam-list>article:first-child,.exam-entry-list>article:first-child{padding-top:0}.exam-list>article:last-child,.exam-entry-list>article:last-child{border:0;padding-bottom:0}.exam-list h3{font-size:16px;margin:0;font-weight:550}.exam-entry-list>article{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.exam-entry-list p{margin:5px 0 0}.exam-entry-list .button{flex-shrink:0}.exam-file-list{list-style:none;padding:0;font-size:13px;line-height:2}.exam-file-list a{color:var(--accent);overflow-wrap:anywhere}.exam-upload{padding:10px 0}.exam-upload>.field input[type=file]{padding:11px;background:#f6f6f8;max-width:100%;font-size:12px}.exam-upload>ul{list-style:none;padding:0;margin:10px 0}.exam-upload>ul>li{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;overflow-wrap:anywhere}.exam-upload>ul>li>span{min-width:0}.exam-upload .button.quiet{font-size:11px}.exam-config-row,.exam-config-question{padding:22px 0;border-bottom:1px solid var(--line)}.exam-config-question:first-of-type,.exam-config-row:first-of-type{padding-top:0}.exam-config-question:last-of-type,.exam-config-row:last-of-type{border-bottom:0}.exam-config-question .section-heading h3{font-size:14px;margin:0}.exam-page-checks,.exam-check-list{display:flex;flex-wrap:wrap;gap:14px 22px;margin:18px 0}.exam-page-checks .sch-check,.exam-check-list .sch-check{margin:0;min-height:44px;font-size:13px}.exam-config-question>.field{margin-top:16px}.exam-sticky-actions{margin-top:22px}.exam-page-upload{padding:20px 0;border-bottom:1px solid var(--line)}.exam-page-upload:last-of-type{border:0}.exam-page-upload h3{font-size:14px;margin:0 0 12px}.exam-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}.exam-photo-grid figure{margin:0;min-width:0}.exam-photo-grid img{width:100%;max-width:100%;height:210px;object-fit:contain;background:#f4f4f6;border-radius:8px}.exam-photo-grid figcaption{font-size:12px;color:var(--muted);padding:8px 0;overflow-wrap:anywhere}.exam-grade-list>article{border-top:1px solid var(--line);padding:17px 0;font-size:13px}.exam-grade-list p{color:var(--muted);white-space:pre-wrap;line-height:1.8}.exam-grading-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr);gap:22px;align-items:start}.exam-grading-layout>.surface{min-width:0}.exam-question-nav{display:flex;gap:8px;overflow-x:auto;padding:6px 0;scrollbar-width:thin}.exam-question-nav>.button{min-width:88px;flex-shrink:0;min-height:44px}.exam-question-nav>.button[aria-pressed=true],.exam-canvas-tools>.button[aria-pressed=true]{color:#fff;background:#303034;border-color:#303034}.exam-question-score>.field{margin:18px 0}.exam-question-score .sch-check{align-items:flex-start;line-height:1.7;min-height:44px}.exam-rubric{font-size:13px;color:var(--muted);white-space:pre-wrap;line-height:1.8}.exam-canvas-tools{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.exam-canvas-tools>.button{min-height:44px;padding:9px 12px;font-size:12px}.exam-canvas-viewport{height:570px;position:relative;overflow:hidden;max-width:100%;background:#f1f2f4;border-radius:9px}.exam-canvas-viewport canvas{width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none}.exam-canvas-status{min-height:30px;font-size:11px;line-height:1.7;color:var(--muted);padding:7px 0}.exam-canvas-status[role=alert]{color:var(--danger)}.exam-canvas-panel .section-heading h2{font-size:15px}.exam-canvas-panel .section-heading>.actions{flex-wrap:wrap;justify-content:flex-end}.exam-canvas-panel.exam-canvas-fullscreen{position:fixed;inset:12px;z-index:120;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:22px;background:#fff;box-shadow:0 0 0 30px #0008;max-width:1400px;margin-inline:auto}.exam-canvas-fullscreen .exam-canvas-viewport{height:calc(100dvh - 260px);min-height:220px}.exam-inline-stats{display:flex;gap:15px 28px;flex-wrap:wrap;font-size:13px;line-height:1.7;color:var(--muted)}.exam-inline-stats strong{color:var(--ink);font-size:18px;font-weight:550;margin-left:8px}.exam-distribution>div{display:grid;grid-template-columns:70px minmax(0,1fr) 55px;gap:15px;align-items:center;padding:8px 0;font-size:12px}.exam-distribution meter{width:100%;height:14px;accent-color:#60616a}.exam-label-stats{list-style:none;padding:0;font-size:13px}.exam-label-stats>li{display:flex;gap:15px;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.device-mobile .exam-list .section-heading,.device-mobile .exam-entry-list>article{flex-wrap:wrap;align-items:flex-start;gap:12px}.device-mobile .exam-list h3{font-size:15px;line-height:1.6}.device-mobile .exam-check-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.device-mobile .exam-check-list .sch-check{width:100%;padding:8px 0}.device-mobile .exam-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.device-mobile .exam-photo-grid img{height:190px}.device-mobile .exam-grading-layout{display:block}.device-mobile .exam-canvas-viewport{height:410px}.device-mobile .exam-canvas-panel .section-heading{flex-wrap:wrap}.device-mobile .exam-canvas-panel .section-heading>.actions{justify-content:flex-start}.device-mobile .exam-canvas-tools{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;gap:7px;scrollbar-width:thin}.device-mobile .exam-canvas-tools>.button{flex-shrink:0;min-width:63px;min-height:44px;padding:9px 12px}.device-mobile .exam-canvas-panel.exam-canvas-fullscreen{inset:0;padding:14px 12px calc(16px + env(safe-area-inset-bottom));border-radius:0;box-shadow:none}.device-mobile .exam-canvas-fullscreen .exam-canvas-viewport{height:calc(100dvh - 300px);min-height:230px}.device-mobile .exam-upload>ul>li{align-items:flex-start;flex-wrap:wrap}.device-mobile .exam-upload>ul>li>.button{min-height:44px;padding-left:0}.device-mobile .exam-sticky-actions{position:sticky;bottom:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:#fff;z-index:5;gap:9px}.device-mobile .exam-sticky-actions>.button{flex:1;min-width:115px;min-height:46px;white-space:normal;line-height:1.5}.device-mobile .exam-config-row .actions{flex-wrap:wrap}.device-mobile .exam-inline-stats{gap:12px 20px}.device-mobile .exam-inline-stats strong{font-size:17px}.device-mobile .exam-question-score .field input{font-size:16px}.device-mobile .exam-grading-layout>.surface,.device-mobile .exam-canvas-panel,.device-mobile .exam-upload,.device-mobile .exam-photo-grid{max-width:100%;min-width:0}

.insight-filters{display:flex;gap:17px;align-items:flex-end;flex-wrap:wrap}.insight-filters>.field{flex:1;min-width:160px}.insight-filters>.button{margin-bottom:0;min-height:44px}.insight-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:20px 0}.insight-summary>div{display:flex;flex-direction:column;gap:9px;padding-right:15px;border-right:1px solid var(--line)}.insight-summary>div:last-child{border:0}.insight-summary span{font-size:12px;color:var(--muted)}.insight-summary strong{font-size:22px;font-weight:550;letter-spacing:-.5px}.insight-summary small{font-size:11px;color:var(--muted);line-height:1.7}.insight-table{width:100%;font-size:13px;border-collapse:collapse}.insight-table th,.insight-table td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:left;font-weight:400}.insight-table th{color:var(--muted);font-size:12px}.insight-task-rows>article,.insight-exam-rows>article{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.insight-task-rows>article:last-child,.insight-exam-rows>article:last-child{border:0}.insight-task-rows p,.insight-exam-rows p{line-height:1.8;margin:7px 0 0}.insight-record-list{list-style:none;padding:0;margin:12px 0;font-size:12px;color:var(--muted);line-height:2}.insight-record-list li{padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.insight-rule-text,.insight-comment{white-space:pre-wrap;font-size:13px;line-height:1.95;overflow-wrap:anywhere}.insight-rule-text{color:var(--muted);padding:16px 0;border-block:1px solid var(--line)}.insight-sticky-actions{margin-top:20px}.insight-material-list>article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13px}.insight-material-list>article:first-child{padding-top:0}.insight-material-list>article:last-child{border:0;padding-bottom:0}.insight-material-list strong{font-size:14px;font-weight:500}.insight-material-list .button{flex-shrink:0}.insight-files{list-style:none;padding:0;font-size:13px;line-height:2.3}.insight-files a{overflow-wrap:anywhere}.insight-file-row{display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:12px;line-height:1.8;padding:9px 0;border-bottom:1px solid var(--line)}.insight-file-row>a,.insight-file-row>span{min-width:0;overflow-wrap:anywhere}.insight-file-row>.button{flex-shrink:0;font-size:11px}.insight-recipient-list{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:15px 0;gap:12px 22px;font-size:13px}.insight-file-row a,.insight-files a{color:var(--accent)}.device-mobile .insight-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}.device-mobile .insight-filters>.field{min-width:0}.device-mobile .insight-filters>.button{width:100%;min-height:44px}.device-mobile .insight-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}.device-mobile .insight-summary>div{border:0;padding:0}.device-mobile .insight-summary strong{font-size:20px}.device-mobile .insight-material-list>article{flex-wrap:wrap;align-items:flex-start;gap:10px}.device-mobile .insight-file-row{align-items:flex-start;flex-wrap:wrap;gap:5px}.device-mobile .insight-file-row>.button{padding-left:0;min-height:44px}.device-mobile .insight-sticky-actions{position:sticky;bottom:0;background:#fff;padding:12px 0 calc(12px + env(safe-area-inset-bottom));z-index:5;gap:9px}.device-mobile .insight-sticky-actions>.button{flex:1;min-height:46px;min-width:105px;white-space:normal;line-height:1.5}.device-mobile .insight-table{font-size:12px;min-width:0}.device-mobile .insight-table td,.device-mobile .insight-table th{padding:12px 5px}.device-mobile .insight-record-list{font-size:11px}.device-mobile .insight-summary,.device-mobile .insight-task-rows,.device-mobile .insight-material-list,.device-mobile .insight-file-row{min-width:0;max-width:100%}

/* Teacher mobile navigation keeps primary actions readable at phone widths. */
.device-mobile.role-teacher .teacher-primary-nav{position:relative;overflow:visible;max-width:calc(100% - 28px);z-index:8}
.device-mobile.role-teacher .teacher-primary-nav>button{flex:1 1 0;min-width:0;white-space:nowrap;overflow-wrap:normal;padding-inline:4px}
.teacher-mobile-more{flex:1 1 0;min-width:0}.teacher-mobile-more>summary{list-style:none;cursor:pointer;text-align:center;padding:10px 4px;min-height:44px;font-size:12px;color:var(--muted);border-radius:8px}.teacher-mobile-more>summary::-webkit-details-marker{display:none}.teacher-mobile-more[open]>summary{background:#e9e9ee;color:var(--text)}.teacher-mobile-more>div{position:absolute;right:0;top:100%;width:210px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 28px #00000010}.device-mobile.role-teacher .teacher-primary-nav .teacher-mobile-more button{display:block;width:100%;text-align:left;white-space:nowrap;min-height:44px;padding:11px 14px}

/* P7A本人选项确认：原卡对照、明确手动输入与只读自动评分。 */
.exam-option-question{padding:20px 0;border-top:1px solid var(--line)}.exam-option-question h3{font-size:15px;margin:0 0 12px}.exam-option-choices{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px}.exam-option-choices label{display:flex;align-items:center;gap:9px;min-height:46px;min-width:64px;padding:10px 15px;border:1px solid var(--line);border-radius:10px;font-size:14px;cursor:pointer}.exam-option-choices input{width:17px;height:17px;accent-color:var(--accent)}.exam-confirmed-options{display:flex;gap:12px 24px;flex-wrap:wrap}.exam-score-parts{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f5f7;padding:18px;border-radius:12px;margin:18px 0}.exam-score-parts span{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.exam-score-parts strong{font-size:20px;font-weight:500}.exam-score-parts b{font-size:17px;color:#a1a1aa;font-weight:400}.exam-options-editor .actions>.button{min-height:46px}.device-mobile .exam-score-parts{padding:14px;gap:6px}.device-mobile .exam-score-parts strong{font-size:16px}.device-mobile .exam-option-choices{gap:8px}.device-mobile .exam-option-choices label{padding:10px 12px;min-width:60px}.device-mobile .exam-options-editor{min-width:0;max-width:100%}
