:root { color-scheme: light; font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1f2937; background: #f5f7fb; font-synthesis: none; --blue: #3061d0; --blue-dark: #2349ad; --ink: #15223b; --muted: #7d8798; --line: #e8ecf2; --paper: #fff; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #f5f7fb; }
body { min-width: 320px; font-size: 14px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-lockup > div { display: grid; gap: 1px; }
.brand-lockup strong { font-size: 18px; line-height: 1; letter-spacing: .04em; }
.brand-lockup span:not(.brand-mark) { color: #a4adbe; font-size: 10px; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 5px 14px #3061d04a; }
.brand-light { color: #fff; }
.brand-light span:not(.brand-mark) { color: #b8cafb; }
.brand-light strong { color: #fff; }
.button { min-height: 40px; border: 1px solid transparent; border-radius: 5px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; transition: .18s ease; }
.button:disabled { cursor: wait; opacity: .65; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 6px 14px #3061d033; }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); }
.button-outline { min-height: 34px; border-color: #d6ddea; background: #fff; color: var(--blue); font-size: 13px; }
.button-outline:hover { border-color: var(--blue); background: #f1f5ff; }
.button-block { width: 100%; }
.spinner { width: 14px; height: 14px; border: 2px solid #ffffff70; border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
.spinner-blue { border-color: #3061d033; border-top-color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
.eyebrow { margin: 0 0 8px; color: var(--blue); letter-spacing: .14em; font-size: 10px; font-weight: 700; }
.muted { color: var(--muted); font-size: 12px; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 45%) 1fr; background: #fff; }
.auth-panel { width: min(380px, calc(100% - 48px)); margin: auto; padding: 40px 0; }
.auth-copy { margin: 76px 0 30px; }
.auth-copy h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 4vw, 38px); line-height: 1.18; letter-spacing: -.04em; }
.auth-copy p:last-child { margin: 0; color: var(--muted); }
.auth-form { display: grid; gap: 10px; }
.auth-form label { margin-top: 9px; color: #536075; font-size: 13px; font-weight: 600; }
.auth-form input { height: 46px; border: 1px solid #dfe4ed; border-radius: 5px; padding: 0 14px; color: var(--ink); outline: 0; background: #fff; transition: border .18s, box-shadow .18s; }
.auth-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #3061d018; }
.auth-form .button { margin-top: 17px; height: 46px; }
.auth-footnote { margin: 18px 0 0; color: #a1a9b8; font-size: 12px; line-height: 1.6; }
.auth-aside { position: relative; overflow: hidden; background: #3061d0; color: #fff; padding: clamp(50px, 8vw, 130px); display: flex; align-items: center; }
.aside-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(135deg, #000, transparent 70%); }
.aside-content { position: relative; z-index: 1; max-width: 520px; }
.aside-kicker { display: inline-flex; padding: 5px 8px; border: 1px solid #ffffff55; border-radius: 3px; letter-spacing: .14em; font-size: 10px; }
.aside-content h2 { margin: 25px 0 20px; font-size: clamp(38px, 5vw, 70px); line-height: 1.08; letter-spacing: -.06em; }
.aside-content h2 em { color: #b9ccff; font-style: normal; }
.aside-content p { margin: 0; color: #d6e0ff; font-size: 16px; }
.aside-meta { position: absolute; bottom: 42px; color: #c3d2fd; font-size: 11px; letter-spacing: .2em; }
.alert { padding: 11px 13px; border-radius: 5px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.alert-error { color: #a93232; background: #fff2f1; border: 1px solid #ffd7d4; }
.alert-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #d9534f; }
.app-shell { min-height: 100vh; }
.topbar { height: 62px; background: var(--blue); color: #fff; box-shadow: 0 2px 8px #18377d2e; }
.topbar-inner { max-width: 1440px; height: 100%; margin: auto; padding: 0 32px; display: flex; align-items: center; }
.topnav { display: flex; align-self: stretch; margin-left: 64px; gap: 28px; }
.nav-item { position: relative; border: 0; color: #bed0fc; background: transparent; padding: 0 5px; }
.nav-item.active { color: #fff; font-weight: 600; }
.nav-item:disabled, .side-link:disabled { opacity: .55; cursor: default; }
.nav-item.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #fff; }
.topbar-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.user-name { color: #dce5ff; font-size: 13px; }
.avatar { width: 30px; height: 30px; border: 1px solid #ffffff66; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; }
.avatar-image { object-fit: cover; background: #e5edff; }
.icon-button, .close-button { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; }
.workspace { max-width: 1440px; min-height: calc(100vh - 62px); margin: auto; display: flex; }
.sidebar-wrap { width: 224px; flex: 0 0 224px; background: #fff; border-right: 1px solid var(--line); }
.sidebar { position: sticky; top: 0; min-height: calc(100vh - 62px); padding: 36px 16px 20px; display: flex; flex-direction: column; }
.side-label { margin: 0 12px 12px; color: #adb5c4; font-size: 10px; letter-spacing: .12em; }
.side-section { display: grid; gap: 3px; }
.side-link { border: 0; border-radius: 5px; min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 11px; background: transparent; color: #687488; text-align: left; }
.side-link:hover, .side-link.active { color: var(--blue); background: #f0f4ff; font-weight: 600; }
.side-icon { width: 18px; text-align: center; color: currentColor; font-size: 16px; }
.side-count { margin-left: auto; color: #a9b2c0; font-size: 11px; font-weight: 400; }
.side-divider { height: 1px; margin: 24px 12px; background: var(--line); }
.sidebar-bottom { margin-top: auto; }
.help-card { padding: 13px 10px; display: flex; align-items: center; gap: 9px; color: #778398; background: #f7f9fc; border-radius: 5px; }
.help-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #e5edff; }
.help-card div { display: grid; gap: 4px; }
.help-card strong { color: #49556a; font-size: 12px; }
.help-card span:last-child { font-size: 11px; }
.main-content { min-width: 0; flex: 1; padding: 45px 54px 80px; }
.course-rail { border-bottom: 1px solid var(--line); padding-bottom: 31px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: -.04em; }
.course-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 22px; }
.course-card { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: flex; align-items: center; gap: 11px; text-align: left; background: #fff; transition: .18s; }
.course-card:hover, .course-card.selected { border-color: #99b2ed; box-shadow: 0 6px 18px #273f8912; }
.course-card.selected::before { content: ''; position: absolute; top: -1px; left: 14px; right: 14px; height: 2px; background: var(--blue); }
.course-cover { width: 45px; height: 45px; flex: 0 0 auto; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
.cover-code { opacity: .8; letter-spacing: .06em; }
.cover-0 { background: linear-gradient(135deg, #315fc2, #6f8fdd); }.cover-1 { background: linear-gradient(135deg, #d06a45, #e5aa6f); }.cover-2 { background: linear-gradient(135deg, #3a987a, #76c2a6); }.cover-3 { background: linear-gradient(135deg, #8a5ab1, #c093dc); }.cover-4 { background: linear-gradient(135deg, #4d6c7d, #92b3be); }
.course-info { min-width: 0; display: grid; gap: 6px; }
.course-info strong { overflow: hidden; color: #334057; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.course-info span { color: #9aa4b5; font-size: 11px; }
.course-arrow { margin-left: auto; color: #b7c0cf; font-size: 20px; }
.task-section { padding-top: 33px; }
.task-heading { align-items: center; }
.search-box { width: 190px; height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: #adb5c2; background: #fff; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; color: #42516a; background: transparent; font-size: 12px; }
.homework-list { margin-top: 22px; border-top: 1px solid var(--line); }
.homework-row { min-height: 96px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px minmax(160px, 1fr) auto auto; align-items: center; gap: 20px; }
.homework-index { color: #b1b9c7; font-size: 12px; font-variant-numeric: tabular-nums; }
.homework-main { min-width: 0; padding: 17px 0; }
.homework-main h3 { margin: 0 0 8px; overflow: hidden; color: #354157; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.homework-meta { display: flex; gap: 18px; color: #9aa4b5; font-size: 11px; }
.progress-track { width: 160px; height: 3px; margin-top: 9px; overflow: hidden; border-radius: 2px; background: #edf0f5; }.progress-track span { display: block; height: 100%; background: #6e92e3; }
.status-pill { min-width: 52px; padding: 5px 8px; border-radius: 3px; text-align: center; font-size: 11px; white-space: nowrap; }
.status-progress { color: #4673d1; background: #edf3ff; }.status-done { color: #338269; background: #e9f7f1; }.status-closed { color: #9b8490; background: #f4eff2; }
.homework-action { width: 108px; white-space: nowrap; }
.state-panel { min-height: 240px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #9da7b7; text-align: center; }.state-panel p, .state-panel h3 { margin: 0; }.state-panel h3 { color: #58657a; font-size: 15px; }.state-icon, .empty-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #8fa2c9; background: #edf2fb; font-size: 18px; }
.empty-mini { padding: 26px 0; color: #9da7b7; font-size: 12px; text-align: center; }
.floating-alert { position: fixed; right: 25px; bottom: 25px; z-index: 20; box-shadow: 0 8px 25px #182e5b1f; }.floating-alert button { border: 0; margin-left: 8px; color: inherit; background: transparent; font-size: 17px; }
.mobile-context { display: none; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: #15223b55; animation: fadein .18s ease; }.task-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 31; width: min(455px, 100vw); padding: 36px 36px; overflow: auto; background: #fff; box-shadow: -8px 0 35px #14234c24; animation: slidein .22s ease; }.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }.drawer-head h2 { margin: 0; color: var(--ink); font-size: 24px; }.close-button { color: #8f9aab; font-size: 28px; }.drawer-body { padding-top: 27px; }.task-status-line { display: flex; align-items: center; justify-content: space-between; }.task-title { margin: 24px 0 9px; color: var(--ink); font-size: 23px; line-height: 1.3; }.task-path { margin: 0; color: #8590a1; font-size: 13px; line-height: 1.65; }.task-facts { margin: 30px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.task-facts div { min-width: 0; }.task-facts dt { margin-bottom: 7px; color: #a3adbc; font-size: 11px; }.task-facts dd { margin: 0; overflow: hidden; color: #47546a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.task-callout { margin-bottom: 22px; padding: 14px; display: flex; gap: 10px; color: #6b7890; background: #f4f7fc; border-radius: 4px; }.task-callout > span { color: var(--blue); font-size: 20px; }.task-callout strong { color: #48566d; font-size: 13px; }.task-callout p { margin: 5px 0 0; font-size: 12px; }.drawer-note { margin: 13px 0 0; color: #a8b0bd; font-size: 11px; text-align: center; }.drawer-loading, .drawer-empty { min-height: 330px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #9da7b7; text-align: center; }.drawer-loading p, .drawer-empty p { margin: 0; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } } @keyframes slidein { from { transform: translateX(20px); opacity: .5; } to { transform: none; opacity: 1; } }
.jobs-section { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.jobs-intro, .jobs-capacity { margin: 13px 0 0; color: #8590a2; font-size: 12px; line-height: 1.7; }
.jobs-capacity { margin-top: 5px; font-variant-numeric: tabular-nums; }
.job-list { display: grid; gap: 12px; margin-top: 19px; }
.job-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.job-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.job-card-top strong { color: #44516a; font-size: 13px; }
.job-context { margin: 9px 0 0; color: #99a3b3; font-size: 11px; overflow-wrap: anywhere; }
.job-phase { margin: 13px 0 0; display: flex; align-items: center; gap: 7px; color: #5473af; font-size: 12px; }
.job-message, .job-result, .job-note { margin: 9px 0 0; color: #738198; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.job-note { color: #9a6b2f; }
.job-collection .status-pill { white-space: normal; line-height: 1.5; }
.collection-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 15px 0 0; padding: 12px; border-radius: 4px; background: #f7f9fc; }
.collection-counts dt { color: #8590a2; font-size: 11px; line-height: 1.5; }
.collection-counts dd { margin: 5px 0 0; color: #44516a; font-size: 17px; font-variant-numeric: tabular-nums; }
.collection-details { margin-top: 13px; color: #738198; font-size: 12px; line-height: 1.75; }
.collection-details summary { color: #536887; cursor: pointer; }
.collection-reasons { padding-left: 18px; margin: 7px 0 0; overflow-wrap: anywhere; }
@media (max-width: 620px) { .collection-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }.job-collection .job-card-top { flex-wrap: wrap; } }
.status-attention { color: #a56c28; background: #fff4e2; }
.job-cancel { margin-top: 13px; font-size: 12px; }
.jobs-alert { margin-top: 15px; }
.job-config-note { margin: 12px 0; padding: 10px 12px; color: #976b32; background: #fff7e8; border-radius: 4px; font-size: 12px; line-height: 1.65; }
.job-controls { margin: 0 0 23px; padding: 18px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job-controls h4 { margin: 0 0 13px; color: #43526b; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.job-modes { display: grid; gap: 8px; }
.job-modes label { display: flex; align-items: center; gap: 8px; padding: 10px; color: #65758e; background: #f7f9fc; font-size: 12px; cursor: pointer; border-radius: 4px; }
.job-modes input { margin: 0; accent-color: var(--blue); }
.job-control-note { margin: 12px 0; color: #8b96a8; font-size: 11px; line-height: 1.75; }
@media (max-width: 620px) { .jobs-section .section-heading { gap: 10px; }.jobs-section .section-heading h2 { font-size: 20px; }.job-card { padding: 14px; }.job-card-top { align-items: flex-start; }.job-card-top strong { line-height: 1.6; } }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; }.auth-aside { display: none; }.auth-panel { padding: 30px 0; }.auth-copy { margin-top: 60px; }.sidebar-wrap { width: 190px; flex-basis: 190px; }.main-content { padding: 34px 28px 60px; }.course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.topnav { margin-left: 35px; } }
.task-description { margin: 22px 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 5px; background: #fbfcff; }
.task-description h4 { margin: 0 0 8px; color: #536075; font-size: 12px; }
.task-description p { margin: 0; color: #687488; font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
@media (max-width: 620px) { .topbar { height: 56px; }.topbar-inner { padding: 0 16px; }.brand-lockup strong { font-size: 16px; }.brand-lockup span:not(.brand-mark) { display: none; }.topnav { display: none; }.user-name { display: none; }.workspace { display: block; min-height: calc(100vh - 56px); }.sidebar-wrap { display: none; }.main-content { padding: 20px 16px 50px; }.mobile-context { display: flex; align-items: center; gap: 8px; margin-bottom: 23px; color: #516079; font-size: 13px; font-weight: 600; }.mobile-back { border: 0; padding: 0; color: var(--blue); background: transparent; font-size: 25px; line-height: 1; }.section-heading h2 { font-size: 21px; }.course-list { grid-template-columns: 1fr; gap: 8px; }.course-card { min-height: 63px; }.task-heading { align-items: flex-start; flex-direction: column; gap: 14px; }.search-box { width: 100%; }.homework-row { grid-template-columns: 27px minmax(0, 1fr); gap: 9px 12px; padding: 15px 0; }.homework-main { padding: 0; }.homework-row .status-pill { grid-column: 2; justify-self: start; }.homework-action { grid-column: 2; width: 100%; }.homework-meta { flex-wrap: wrap; gap: 4px 12px; }.task-drawer { padding: 25px 20px; }.drawer-head { padding-bottom: 22px; }.task-title { font-size: 20px; }.auth-panel { width: min(100% - 36px, 380px); }.auth-copy { margin: 72px 0 27px; }.auth-copy h1 { font-size: 32px; } }

.job-homework .status-pill { white-space: normal; line-height: 1.5; }
.homework-levels { margin-top: 13px; color: #738198; font-size: 12px; line-height: 1.75; }
.homework-levels summary { color: #536887; cursor: pointer; }
.homework-levels ol { list-style: none; padding: 0; margin: 8px 0 0; }
.homework-levels li { display: grid; gap: 3px; padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.homework-levels strong { font-size: 11px; font-weight: 500; color: #536887; }
@media (max-width: 620px) { .job-homework .job-card-top { flex-wrap: wrap; } }
