.portal-body { min-height: 100vh; box-sizing: border-box; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(circle at 10% 0%, #eef2ff, transparent 38%), var(--canvas); }
.auth-card { width: min(460px, 100%); box-sizing: border-box; padding: 34px 36px 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 24px 55px rgba(30,52,119,.1); }
.auth-brand { color: var(--ink); }
.auth-brand strong { color: var(--ink); }
.auth-brand small { color: #9aa5bc; }
.auth-heading { margin-top: 34px; }
.auth-heading h1 { margin: 8px 0 8px; font-size: 26px; }
.auth-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-tabs { display: flex; gap: 26px; margin: 28px 0 20px; border-bottom: 1px solid var(--line); }
.auth-tab { padding: 0 0 12px; border: 0; color: #9ca6b8; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.auth-tab.active { color: var(--blue); border-bottom: 2px solid var(--blue); }
.auth-form { display: grid; gap: 16px; }
.auth-form[hidden] { display: none !important; }
.auth-form label { display: grid; gap: 7px; color: #68748c; font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px; border: 1px solid #dfe4ef; border-radius: 12px; outline: 0; font-size: 14px; color: var(--ink); background: #fff; }
.auth-form input:focus { border-color: #91a8ec; box-shadow: 0 0 0 3px rgba(73,107,215,.1); }
.auth-form .button { height: 50px; margin-top: 3px; font-size: 15px; }
.auth-form .button span { margin-left: 7px; }
.auth-form-tools { display: flex; justify-content: flex-end; margin-top: -7px; }
.auth-inline-link { color: var(--blue); font-size: 12px; text-decoration: none; }
.auth-inline-link:hover { text-decoration: underline; }
.auth-message { min-height: 24px; margin-top: 16px; color: #d26c5f; font-size: 12px; line-height: 1.7; }
.auth-message.success { color: #26815f; }
.auth-hint { margin: 0; color: #9da6b8; font-size: 11px; line-height: 1.7; }
.back-student { display: block; margin-top: 20px; color: var(--blue); font-size: 12px; }
.reset-note { margin: -3px 0 0; color: #8d98ad; font-size: 11px; line-height: 1.7; }
.employee-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.lesson-chip { display: inline-block; margin-right: 7px; padding: 2px 5px; border-radius: 4px; color: #3554ad; background: #eaf0ff; font-size: 9px; font-weight: 800; letter-spacing: .5px; vertical-align: 1px; }
.lesson-chip.day2 { color: #a05e16; background: #fff1df; }
.share-panel { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(420px, 1.28fr); align-items: center; gap: 26px; margin-top: 26px; padding: 18px 22px; border: 1px solid #dfe7fb; border-radius: 10px; background: #fff; }.share-panel h2 { margin: 6px 0 4px; color: var(--ink); font-size: 17px; }.share-panel p { margin: 0; color: #8d98ad; font-size: 11px; line-height: 1.6; }.share-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.share-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid #edf0f6; border-radius: 8px; background: #fafbfe; }.share-link-row strong { display: block; color: var(--ink); font-size: 12px; }.share-link-row small { display: block; margin-top: 3px; color: #9ca6b8; font-size: 10px; }.share-link-action { flex: 0 0 auto; min-height: 31px; padding: 0 10px; border: 1px solid #ced7ec; border-radius: 6px; color: #3554ad; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }.share-link-action.button-primary { border-color: #496bd7; color: #fff; background: #496bd7; }.student-panel { margin-top: 18px; padding: 21px 24px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(30, 52, 119, .05); }.student-panel-heading { padding: 0 0 14px; }.student-panel-heading h2 { margin: 4px 0 0; }.attempt-count { color: #7d879b; font-size: 12px; }.attempt-filters { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid #edf0f5; }.lesson-filter-tabs, .date-filter { display: flex; align-items: center; gap: 7px; }.lesson-filter { min-height: 31px; padding: 0 11px; border: 1px solid #dce2ee; border-radius: 6px; color: #68748c; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }.lesson-filter span { margin-left: 4px; color: #9ca6b8; font-size: 10px; }.lesson-filter.active { border-color: #496bd7; color: #fff; background: #496bd7; }.lesson-filter.active span { color: #dce6ff; }.lesson-filter.day2.active { border-color: #b86b19; background: #b86b19; }.date-filter { color: #8d98ad; font-size: 11px; }.date-filter input { width: 116px; height: 31px; box-sizing: border-box; padding: 0 7px; border: 1px solid #dce2ee; border-radius: 6px; color: #53627d; background: #fff; font: inherit; }.date-filter b { color: #a1aabd; font-size: 10px; font-weight: 500; }.date-filter button { min-height: 31px; padding: 0 8px; border: 0; color: #496bd7; background: transparent; font-size: 11px; cursor: pointer; }.date-filter button:disabled { color: #bdc4d1; cursor: default; }.student-list-labels, .student-result-row { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(145px, .8fr) minmax(92px, .45fr) 88px; align-items: center; gap: 16px; }.student-list-labels { padding: 10px 0; border-top: 1px solid #edf0f5; color: #a0aabd; font-size: 10px; }.student-result-row { min-height: 58px; padding: 9px 0; border-top: 1px solid #edf0f5; }.student-result-row.selected { background: #f8faff; }.student-person strong { display: block; color: var(--ink); font-size: 13px; }.student-person > span { display: block; margin-top: 5px; font-size: 11px; }.student-time { color: #8d98ad; font-size: 11px; }.student-score strong { display: block; color: var(--blue); font-size: 16px; }.student-score span { color: #9ca6b8; font-size: 10px; }.contact-copy { min-height: 20px; padding: 0; border: 0; color: #496bd7; background: transparent; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }.contact-copy:hover { color: #203b83; }.contact-empty { color: #a8b0be; }.review-button { min-height: 30px; padding: 0 9px; border: 1px solid #ced7ec; border-radius: 6px; color: #3554ad; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }.review-button:hover { border-color: #496bd7; background: #f2f5ff; }.student-empty { padding: 38px 0 42px; color: #a1aabd; text-align: center; font-size: 12px; }.student-detail-panel { margin-top: 18px; padding: 24px; border: 1px solid #dfe7fb; border-radius: 10px; background: #fff; }.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #edf0f5; }.detail-heading h2 { margin: 5px 0 6px; color: var(--ink); font-size: 18px; }.detail-heading p { margin: 0; color: #8d98ad; font-size: 11px; }.detail-close { width: 30px; height: 30px; border: 1px solid #dce2ee; border-radius: 6px; color: #68748c; background: #fff; font-size: 20px; cursor: pointer; }.wrong-review-list { display: grid; gap: 12px; margin-top: 16px; }.wrong-review-item { padding: 15px; border: 1px solid #edf0f5; border-radius: 8px; }.wrong-review-top { display: flex; align-items: center; justify-content: space-between; color: #496bd7; font-size: 11px; font-weight: 700; }.wrong-review-top small { color: #a05e16; font-size: 10px; }.wrong-review-item h3 { margin: 9px 0 12px; color: var(--ink); font-size: 14px; line-height: 1.55; }.wrong-review-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.wrong-review-answers p { margin: 0; padding: 9px 10px; border-radius: 6px; background: #f8faff; }.wrong-review-answers p:last-child { background: #f3fbf6; }.wrong-review-answers span, .wrong-review-answers strong { display: block; }.wrong-review-answers span { margin-bottom: 4px; color: #9ca6b8; font-size: 10px; }.wrong-review-answers strong { color: #31405f; font-size: 12px; line-height: 1.5; }.wrong-review-explanation { margin: 11px 0 0; color: #68748c; font-size: 12px; line-height: 1.7; }.wrong-review-explanation b { margin-right: 7px; color: #3554ad; }.all-correct-note { padding: 25px 0 8px; color: #26815f; text-align: center; font-size: 13px; }
@media (max-height: 720px) and (min-width: 701px) { .portal-body { place-items: start center; } }
@media (max-width: 760px) { .share-panel { grid-template-columns: 1fr; gap: 14px; }.share-links { grid-template-columns: 1fr; }.student-panel { padding: 18px 16px 7px; }.attempt-filters { align-items: flex-start; flex-direction: column; }.date-filter { flex-wrap: wrap; }.date-filter input { width: 132px; }.student-list-labels { display: none; }.student-result-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }.student-time { grid-column: 1; }.student-score { grid-column: 2; grid-row: 1 / span 2; text-align: right; }.review-button { grid-column: 1 / -1; width: 100%; }.wrong-review-answers { grid-template-columns: 1fr; }.student-detail-panel { padding: 18px 16px; } }
@media (max-width: 520px) { .portal-body { place-items: start center; padding: 16px 12px 28px; } .auth-card { padding: 26px 22px 24px; border-radius: 16px; } .auth-heading { margin-top: 28px; } .auth-heading h1 { font-size: 24px; } .auth-tabs { margin-top: 24px; } .employee-actions { justify-content: flex-start; margin-top: 16px; } }
