:root { color: #1f2937; background: #f5f7f8; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { border: 0; border-radius: 6px; background: #0f766e; color: #fff; cursor: pointer; font-weight: 700; }
button:hover { background: #115e59; }
.login-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.login-panel { width: min(100%, 400px); padding: 32px; border: 1px solid #d6dde1; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgb(15 23 42 / 8%); }
.eyebrow { margin: 0 0 8px; color: #0f766e; font-size: 14px; font-weight: 700; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: 28px; }
h2 { margin-bottom: 0; font-size: 19px; }
.login-form, .password-form { display: grid; gap: 10px; }
.login-form label, .password-form label { margin-top: 8px; font-weight: 700; }
.login-form input, .password-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #aebbc2; border-radius: 6px; background: #fff; }
.login-form input:focus, .password-form input:focus { outline: 3px solid #99f6e4; border-color: #0f766e; }
.login-form button, .password-form button { min-height: 44px; margin-top: 14px; }
.guest-form { margin-top: 12px; }
.guest-button { width: 100%; min-height: 42px; border: 1px solid #94a3b8; background: #fff; color: #334155; }
.guest-button:hover { background: #f1f5f9; }
.form-error { margin: 8px 0 0; color: #b42318; font-size: 14px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 100px; padding: 20px max(24px, calc((100% - 1160px) / 2)); border-bottom: 1px solid #d6dde1; background: #fff; }
.topbar h1 { margin-bottom: 0; }
.secondary-button { min-height: 38px; padding: 0 14px; background: #334155; }
.secondary-button:hover { background: #1e293b; }
.page-content { width: min(100% - 48px, 1160px); margin: 28px auto 56px; }
.demo-notice, .success-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 6px; font-size: 14px; }
.demo-notice { border: 1px solid #facc15; background: #fef9c3; color: #713f12; }
.success-notice { border: 1px solid #5eead4; background: #ecfdf5; color: #115e59; }
.student-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid #d6dde1; border-radius: 8px; background: #d6dde1; }
.student-meta div, .summary-grid div { padding: 16px; background: #fff; }
.student-meta span, .summary-grid span { display: block; color: #64748b; font-size: 13px; }
.student-meta strong, .summary-grid strong { display: block; margin-top: 7px; font-size: 17px; }
.summary-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 34px; }
.summary-card { overflow: hidden; border: 1px solid #d6dde1; border-radius: 8px; background: #fff; }
.summary-card h2 { padding: 18px 18px 14px; border-bottom: 1px solid #d6dde1; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #d6dde1; }
.course-section { margin-top: 34px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-heading p { margin: 0; color: #64748b; font-size: 14px; text-align: right; }
.table-wrap { overflow-x: auto; border: 1px solid #d6dde1; border-radius: 8px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 12px 16px; border-bottom: 1px solid #e5eaed; text-align: left; }
th { background: #eef5f4; color: #334155; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
th:nth-child(n+2), td:nth-child(n+2) { text-align: right; }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(15 23 42 / 48%); z-index: 10; }
.password-modal { width: min(100%, 430px); padding: 26px; border-radius: 8px; background: #fff; box-shadow: 0 20px 48px rgb(15 23 42 / 32%); }
.password-modal > p { margin: 8px 0 12px; color: #64748b; line-height: 1.55; }
.text-button { margin-top: 12px; padding: 0; background: transparent; color: #475569; font-weight: 500; }
.text-button:hover { background: transparent; color: #0f766e; text-decoration: underline; }
@media (max-width: 680px) { .topbar { min-height: auto; padding: 18px 20px; } .topbar h1 { font-size: 24px; } .page-content { width: min(100% - 32px, 1160px); margin-top: 18px; } .student-meta { grid-template-columns: 1fr; } .summary-section { grid-template-columns: 1fr; gap: 14px; margin: 18px 0 26px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; } .section-heading p { text-align: left; } .login-panel { padding: 24px; } }