*{box-sizing:border-box}body{margin:0;color:#1f2329;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1fr) minmax(420px,520px)}.login-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:48px;overflow:hidden;color:#fff;background:linear-gradient(135deg,#0c2043eb,#1e64aab8),url(https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1600&q=80) center/cover}.brand-lockup{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;color:#12315e;background:#fff}.visual-copy{max-width:560px;padding-bottom:48px}.visual-copy .ant-typography{color:#fff}.visual-copy h1.ant-typography{margin:0 0 16px;font-size:56px;line-height:1.05}.visual-copy .ant-typography+.ant-typography{font-size:20px;line-height:1.7;opacity:.9}.login-form-wrap{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:40px;background:#fff}.login-form-panel{width:100%;max-width:380px}.login-form-panel h2.ant-typography{margin:0 0 8px;font-size:32px}.login-form{margin-top:32px}.login-form .ant-form-item{margin-bottom:22px}.student-home{min-height:100vh;padding:28px;background:linear-gradient(180deg,#eef5ff 0,#f7f9fc 360px),#f7f9fc}.home-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1180px,100%);margin:0 auto 22px}.home-topbar-left{display:flex;align-items:center;gap:28px}.home-brand{color:#1f2d3d}.home-brand .brand-mark{color:#fff;background:#1677ff}.home-nav-link.ant-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 12px;border:1px solid rgba(22,119,255,.16);border-radius:999px;color:#1f2d3d;background:#ffffffb8;box-shadow:0 8px 24px #205daf14;font-size:15px;font-weight:700;line-height:1}.home-nav-link.ant-btn:hover{color:#1677ff;border-color:#1677ff59;background:#fff;box-shadow:0 10px 28px #1677ff24}.home-nav-badge{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#1677ff,#44a2ff);font-size:13px;font-weight:800}.home-nav-badge.is-exam{background:linear-gradient(135deg,#13a8a8,#52c41a)}.home-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;width:min(1180px,100%);margin:0 auto 20px;padding:34px;overflow:hidden;border:1px solid #e5e8ef;border-radius:8px;background:#fff;box-shadow:0 16px 40px #274c7714}.home-hero-copy h1.ant-typography{margin:8px 0 10px;font-size:42px;line-height:1.12}.home-hero-copy .ant-typography+.ant-typography{max-width:620px;color:#687587;font-size:16px;line-height:1.8}.home-kicker{color:#1677ff;font-weight:700}.home-hero-panel{display:flex;flex-direction:column;justify-content:center;min-height:160px;padding:24px;border:1px solid #e9edf5;border-radius:8px;background:#f8fbff}.home-status{margin:8px 0 12px;color:#162033;font-size:34px;font-weight:800;line-height:1}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:min(1180px,100%);margin:0 auto 20px}.metric-item{min-height:106px;padding:20px;border:1px solid #e5e8ef;border-radius:8px;background:#fff}.metric-item strong{display:block;margin-top:10px;color:#152238;font-size:30px;line-height:1}.home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr);gap:20px;width:min(1180px,100%);margin:0 auto}.home-section{padding:24px;border:1px solid #e5e8ef;border-radius:8px;background:#fff}.home-section h3.ant-typography,.home-section h4.ant-typography{margin-top:0}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.course-card{display:grid;gap:18px;padding:22px;border:1px solid #e9edf5;border-radius:8px;background:linear-gradient(135deg,#f9fbff,#fff)}.course-card h3.ant-typography{margin:0 0 6px}.course-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.course-meta span{padding:12px;border-radius:8px;color:#59677a;background:#f3f6fa}.profile-card,.actions-section{align-self:start}.profile-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #eef1f6}.profile-line:last-child{border-bottom:0}.profile-line span{color:#7a8494}.timeline-section{min-height:260px}.step-list{display:grid;gap:18px}.step-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;color:#6a7380}.step-item>span{width:12px;height:12px;margin-top:5px;border:2px solid #ccd5e2;border-radius:50%;background:#fff}.step-item.done>span{border-color:#19a15f;background:#19a15f}.step-item.active>span{border-color:#1677ff;background:#1677ff}.step-item strong{display:block;margin-bottom:4px;color:#202939}.action-list{display:grid;gap:12px}.student-homework-page{min-height:100vh;padding:34px 28px;background:radial-gradient(circle at 16% 0,rgba(22,119,255,.12),transparent 28%),linear-gradient(180deg,#eef5ff 0,#f7f9fc 360px),#f7f9fc}.homework-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1080px,100%);margin:0 auto 26px}.homework-topbar h2.ant-typography{margin:8px 0;color:#101828;font-size:34px;line-height:1.25}.homework-topbar .ant-typography-secondary{font-size:15px}.homework-topbar .ant-typography{margin-bottom:0}.homework-back-btn.ant-btn{height:40px;padding:0 18px;border-radius:8px;font-weight:600}.homework-list-panel{width:min(1080px,100%);margin:0 auto}.homework-list-summary{display:grid;grid-template-columns:repeat(3,minmax(0,150px));gap:12px;margin-bottom:16px}.exam-list-summary{grid-template-columns:repeat(3,minmax(0,160px))}.homework-list-summary>div{padding:14px 16px;border:1px solid #e5e8ef;border-radius:8px;background:#fff;box-shadow:0 12px 30px #274c770f}.homework-list-summary span{display:block;margin-bottom:6px;color:#6b778c;font-size:13px}.homework-list-summary strong{color:#101828;font-size:26px;line-height:1}.student-homework-list{display:grid;gap:14px;margin-bottom:18px}.student-homework-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px;padding:22px 24px;border:1px solid #e8edf5;border-radius:8px;background:#ffffffeb;box-shadow:0 14px 34px #274c7712}.homework-card-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;grid-column:1 / -1}.homework-card-eyebrow{display:inline-flex;margin-bottom:8px;padding:4px 8px;border-radius:6px;color:#1677ff;background:#eef6ff;font-size:13px;font-weight:700}.homework-card-main h4.ant-typography{margin:0 0 6px;color:#101828;font-size:22px}.homework-card-meta{display:flex;flex-wrap:wrap;gap:10px;color:#637083}.homework-card-meta span{padding:7px 10px;border-radius:6px;background:#f3f6fa;font-weight:600}.homework-grade-result{display:flex;grid-column:1 / -1;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid #b7eb8f;border-radius:8px;background:#f6ffed}.homework-grade-result.is-pending{border-color:#e4eaf3;background:#fafcff}.homework-grade-result span{display:block;margin-bottom:4px;color:#7a8699;font-size:12px;font-weight:700}.homework-grade-result strong{color:#389e0d;font-size:22px;line-height:1}.homework-grade-result.is-pending strong{color:#7a8699}.homework-grade-result p{flex:1;margin:0;color:#3f4a5c;line-height:1.7;white-space:pre-wrap}.homework-card-actions{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.homework-action-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:13px 14px;border:1px solid #e4eaf3;border-radius:8px;background:#f8fbff}.homework-action-item.is-disabled{background:#fafafa}.homework-action-copy{min-width:0}.homework-action-copy span{display:block;margin-bottom:5px;color:#7a8699;font-size:12px;font-weight:700}.homework-action-copy strong{display:block;max-width:190px;overflow:hidden;color:#1f2d3d;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.homework-action-item.is-disabled .homework-action-copy strong{color:#a0a7b3}.homework-action-item .ant-btn{flex:none;min-width:58px;border-radius:8px;font-weight:600}.student-exam-card{grid-template-columns:minmax(0,1fr)}.exam-card-meta{grid-column:1 / -1}.exam-card-footer{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}.exam-card-footer .ant-btn{min-width:112px;border-radius:8px;font-weight:700}.exam-confirm-copy p{margin:0 0 8px;color:#4c596b;line-height:1.7}.student-exam-taking-page{min-height:100vh;padding:20px 28px 36px;background:#f2f5f9}.exam-taking-header{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(1280px,100%);margin:0 auto 16px;padding:18px 22px;border:1px solid #dfe6f1;border-radius:8px;background:#fffffffa;box-shadow:0 8px 24px #1d365b14}.exam-taking-header h2.ant-typography{margin:5px 0 4px;color:#101828;font-size:28px;line-height:1.18}.exam-taking-header .ant-typography{margin-bottom:0}.exam-header-actions{flex:none}.exam-countdown{display:flex;align-items:center;gap:10px;height:42px;padding:0 14px;border:1px solid #95de64;border-radius:8px;color:#237804;background:#f6ffed}.exam-countdown.is-timeout{border-color:#ffccc7;color:#cf1322;background:#fff2f0}.exam-countdown span{color:inherit;font-size:12px;font-weight:700}.exam-countdown strong{font-size:20px;line-height:1}.exam-taking-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;width:min(1280px,100%);margin:0 auto}.exam-answer-sheet{position:sticky;top:110px;align-self:start;padding:18px;border:1px solid #dfe6f1;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1d365b0f}.answer-sheet-score{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.answer-sheet-score>div,.answer-sheet-meta,.answer-sheet-section{padding:12px;border:1px solid #edf1f7;border-radius:8px;background:#fafcff}.answer-sheet-score span,.answer-sheet-meta span,.answer-sheet-section>span{display:block;margin-bottom:7px;color:#7a8699;font-size:12px;font-weight:700}.answer-sheet-score strong,.answer-sheet-meta strong{color:#101828;font-size:22px;line-height:1.1}.answer-sheet-meta,.answer-sheet-section{margin-bottom:12px}.answer-sheet-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.answer-sheet-grid a{display:grid;place-items:center;height:34px;border:1px solid #d8e1ee;border-radius:8px;color:#344054;background:#fff;font-weight:700;text-decoration:none}.answer-sheet-grid a:hover{border-color:#1677ff;color:#1677ff}.answer-sheet-grid a.is-answered{border-color:#52c41a;color:#237804;background:#f6ffed}.exam-question-panel{display:grid;gap:16px;min-width:0;width:100%}.exam-taking-question{scroll-margin-top:116px;padding:22px 24px 24px;border:1px solid #dfe6f1;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1d365b0d}.exam-question-title{display:grid;grid-template-columns:38px minmax(0,1fr);gap:16px;align-items:flex-start}.exam-question-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:#1769e0;font-weight:800}.exam-question-title h4.ant-typography{margin:10px 0 0;color:#101828;font-size:19px;line-height:1.65;white-space:pre-wrap}.exam-answer-control{margin-top:16px;padding-left:54px}.exam-option-list{display:grid;gap:12px;width:100%}.exam-option-list .ant-radio-wrapper,.exam-option-list .ant-checkbox-wrapper{display:flex;align-items:center;margin-inline-start:0;min-height:52px;padding:12px 14px;border:1px solid #dfe6f1;border-radius:8px;background:#fbfdff;line-height:1.7}.exam-option-list .ant-radio-wrapper:hover,.exam-option-list .ant-checkbox-wrapper:hover{border-color:#91caff;background:#f5faff}.exam-answer-control .ant-input{border-color:#dfe6f1;border-radius:8px;background:#fbfdff}.exam-code-editor{overflow:hidden;border:1px solid #263244;border-radius:8px;background:#0f172a}.exam-code-toolbar{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 14px;border-bottom:1px solid #263244;color:#cbd5e1;background:#111827;font-size:13px;font-weight:700}.exam-code-body{display:grid;grid-template-columns:52px minmax(0,1fr)}.exam-code-lines{display:grid;align-content:start;gap:0;padding:13px 0;border-right:1px solid #263244;color:#64748b;background:#111827;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px;line-height:24px;text-align:center;-webkit-user-select:none;user-select:none}.exam-code-input.ant-input{min-height:300px;padding:13px 16px;border:0;border-radius:0;color:#e5e7eb;background:#0f172a;box-shadow:none;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px;line-height:24px;resize:vertical}.exam-code-input.ant-input::placeholder{color:#64748b}.exam-code-input.ant-input:focus{border:0;box-shadow:none}.submission-answer-block{margin-top:16px;margin-left:54px;padding:14px 16px;border:1px solid #dfe6f1;border-radius:8px;background:#fbfdff}.submission-answer-block>span{display:block;margin-bottom:8px;color:#7a8699;font-size:13px;font-weight:700}.submission-answer-block>div{color:#101828;font-size:16px;line-height:1.8;white-space:pre-wrap}.submission-code-block{overflow:auto;margin:0;padding:14px;border-radius:8px;color:#e5e7eb;background:#0f172a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px;line-height:1.7}.homework-list-panel .ant-pagination{text-align:right}.student-markdown-preview{max-height:68vh;overflow:auto;color:#1f2937;font-size:16px;line-height:1.8}.student-markdown-preview h1{margin:8px 0 18px;padding-bottom:12px;border-bottom:1px solid #e7edf5;color:#111827;font-size:28px}.student-markdown-preview h2{margin:28px 0 16px;padding-left:12px;border-left:4px solid #1677ff;color:#111827;font-size:22px}.student-markdown-preview h3{margin:22px 0 12px;color:#111827;font-size:18px}.student-markdown-preview p{margin:0 0 14px;white-space:pre-wrap}.student-markdown-preview ul{margin:0 0 16px 22px;padding:0}.student-markdown-preview pre code{display:block;padding:14px;border-radius:6px;background:#f3f6fa}.markdown-preview-spacer{height:8px}.pay-page{min-height:100vh;padding:32px;background:#eef3f8}.pay-shell{width:min(920px,100%);margin:0 auto}.pay-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.pay-header h2.ant-typography{margin:0 0 6px}.pay-content{padding:28px;border:1px solid #e5e8ef;border-radius:8px;background:#fff}.pay-summary{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #eef0f5}.pay-amount{margin:8px 0;color:#1677ff;font-size:44px;font-weight:800;line-height:1.1}.pay-detail{margin-bottom:24px}.pay-actions{display:flex;justify-content:flex-end;width:100%}.return-page{min-height:100vh;padding:32px;background:#eef3f8}.return-shell{width:min(1120px,100%);margin:0 auto}.return-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.return-hero h2.ant-typography{margin:8px 0 6px}.success-kicker{color:#168a4a;font-weight:700}.return-layout{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:20px}.return-summary,.profile-panel{padding:24px;border:1px solid #e5e8ef;border-radius:8px;background:#fff}.return-summary h4.ant-typography,.profile-panel h4.ant-typography{margin-top:0}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.return-actions{display:flex;justify-content:flex-end;width:100%}@media (max-width: 860px){.login-page{grid-template-columns:1fr}.login-visual{min-height:280px;padding:28px}.visual-copy{padding-bottom:0}.visual-copy h1.ant-typography{font-size:38px}.login-form-wrap{min-height:auto;padding:32px 24px 48px}.student-home{padding:18px}.home-topbar{align-items:flex-start;flex-direction:column}.home-topbar-left{flex-wrap:wrap;gap:16px}.home-hero{grid-template-columns:1fr;padding:22px}.home-hero-copy h1.ant-typography{font-size:32px}.home-metrics,.home-grid{grid-template-columns:1fr}.home-section{padding:20px}.student-homework-page{padding:18px}.homework-topbar,.homework-card-main{align-items:flex-start;flex-direction:column}.student-homework-card{padding:18px}.homework-list-summary,.student-homework-card,.homework-card-actions{grid-template-columns:1fr}.homework-grade-result{flex-direction:column}.homework-action-copy strong{max-width:100%}.section-heading{flex-direction:column}.course-meta{grid-template-columns:1fr}.pay-page{padding:20px}.pay-header{align-items:flex-start;flex-direction:column}.pay-content{padding:20px}.pay-amount{font-size:36px}.return-page{padding:20px}.return-hero{align-items:flex-start;flex-direction:column}.return-layout{grid-template-columns:1fr}.return-summary,.profile-panel{padding:20px}.profile-grid{grid-template-columns:1fr;gap:0}}
