/* Общая навигация кабинета и закрытого пробника; оформление не меняет правила выдачи. */
.student-shell,.student-exam-shell{--student-ink:#172b4b;--student-muted:#64748b;--student-line:#e1e8f1;--student-blue:#245edb;--student-pale:#edf3ff;--student-canvas:#f5f7fb;color:var(--student-ink);background:var(--student-canvas);font-family:Inter,"Segoe UI",sans-serif}
.student-shell [hidden],.student-exam-shell [hidden]{display:none!important}
.student-shell #studentApp.is-authenticated{min-height:100vh;background:var(--student-canvas)}
.student-layout{display:grid;grid-template-columns:236px minmax(0,1fr);max-width:1480px;min-height:100vh;margin:auto}
.student-sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:32px;height:100vh;min-height:550px;padding:32px 18px 22px;border-right:1px solid var(--student-line);background:#fff;box-sizing:border-box}
.student-brand{display:flex;align-items:center;gap:11px;padding:0 12px;color:var(--student-ink);font-size:21px;font-weight:750;text-decoration:none;letter-spacing:-.6px}
.student-brand small{display:block;margin-top:3px;color:var(--student-muted);font-size:11px;font-weight:500;letter-spacing:0}
.student-brand-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:40px;border-radius:12px;background:var(--student-blue);color:white;font-size:21px;box-shadow:0 5px 12px #245edb24}
.student-navigation{display:grid;gap:6px}
.student-nav-link{display:flex;align-items:center;gap:11px;min-height:48px;padding:11px 12px;border-radius:10px;color:#53637d;text-decoration:none;font-size:13px;font-weight:600;box-sizing:border-box;transition:background .15s,color .15s}
.student-nav-link:hover{background:#f5f7fb;color:var(--student-ink)}
.student-nav-link.is-active{background:var(--student-pale);color:#214fbc}
.student-icon{display:block;flex:0 0 21px;width:21px;height:21px}
.student-nav-link>span{min-width:0;flex:1}
.student-nav-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:7px;background:#f0f3f8;color:#64748b;font-size:11px;font-weight:700;box-sizing:border-box}
.student-nav-link.is-active .student-nav-count{background:#dce7ff;color:#214fbc}
.student-sidebar-note{margin-top:auto;padding:15px 12px;border-top:1px solid var(--student-line);color:var(--student-muted);font-size:11px;line-height:1.7}
.student-profile{display:flex;align-items:center;gap:10px;padding:0 12px;font-size:13px;font-weight:650;overflow-wrap:anywhere}
.student-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#e9eefb;color:#3a5f9b;font-weight:750}
.student-profile small{display:block;margin-top:3px;color:var(--student-muted);font-size:11px;font-weight:400}
.student-main{min-width:0;padding:30px 40px 60px}
.student-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px}
.student-breadcrumb{display:flex;align-items:center;gap:10px;color:var(--student-muted);font-size:12px}
.student-breadcrumb strong{color:var(--student-ink);font-weight:550}
.student-topbar .student-logout{min-height:42px;padding:8px 14px;border:1px solid var(--student-line);border-radius:9px;background:#fff;color:#52617a;font-size:12px;box-shadow:none}
.student-heading{margin-bottom:24px}
.student-heading h1{margin:0 0 8px;font-size:30px;font-weight:750;letter-spacing:-1px;line-height:1.25;overflow-wrap:anywhere}
.student-heading p{margin:0;color:var(--student-muted);font-size:14px;line-height:1.6}
.student-dashboard-section{min-width:0}
.student-hero{position:relative;overflow:hidden;padding:30px 34px;border:1px solid #dbe6ff;border-radius:20px;background:linear-gradient(120deg,#eaf1ff,#f3f6ff 78%);margin-bottom:24px}
.student-hero::after{position:absolute;right:-40px;top:-76px;width:260px;height:260px;border:34px solid #245edb09;border-radius:50%;content:"";pointer-events:none}
.student-hero-tag{position:relative;display:inline-flex;align-items:center;gap:7px;color:#325ea7;font-size:11px;font-weight:700;letter-spacing:.03em}
.student-hero-tag::before{width:6px;height:6px;border-radius:50%;background:#245edb;content:""}
.student-hero h2{position:relative;max-width:560px;margin:12px 0 9px;font-size:29px;line-height:1.25;letter-spacing:-.7px;color:#1e3b6a}
.student-hero p{position:relative;max-width:490px;margin:0;color:#596f95;font-size:13px;line-height:1.7}
.student-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:30px}
.student-metric{display:grid;gap:15px;min-width:0;padding:18px;border:1px solid var(--student-line);border-radius:13px;background:#fff;color:var(--student-ink);text-decoration:none;transition:border-color .15s,transform .15s}
.student-metric:hover{border-color:#9eb9ed;transform:translateY(-2px)}
.student-metric-top{display:flex;justify-content:space-between;align-items:center;color:var(--student-muted);font-size:11px}
.student-metric .student-icon{width:19px;height:19px;color:#5b7cb3}
.student-metric strong{font-size:28px;line-height:1;font-weight:750;letter-spacing:-.7px;font-variant-numeric:tabular-nums}
.student-metric-label{display:block;font-size:12px;font-weight:650;line-height:1.4}
.student-metric small{display:block;margin-top:4px;color:var(--student-muted);font-size:10px;font-weight:400}
.student-overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:20px}
.student-block-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.student-block-heading h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.3px}
.student-text-link{color:#2459c6;font-size:12px;font-weight:600;text-decoration:none}
.student-text-link:hover{text-decoration:underline}
.student-card{min-width:0;padding:23px;border:1px solid var(--student-line);border-radius:15px;background:#fff}
.student-exam-card{display:flex;flex-direction:column;gap:16px}
.student-card-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--student-muted);font-size:11px}
.student-status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;background:#eef3ff;color:#315fae;font-size:10px;font-weight:650;white-space:nowrap}
.student-status-pill.in-progress{background:#fff5e2;color:#8c5b0e}
.student-exam-card h3{margin:0;color:var(--student-ink);font-size:19px;line-height:1.45;letter-spacing:-.3px;overflow-wrap:anywhere}
.student-card-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--student-muted);font-size:12px;line-height:1.6}
.student-card-meta span{display:flex;align-items:center;gap:6px}
.student-card-meta .student-icon{width:15px;height:15px;flex-basis:15px}
.student-card-note{margin:0;color:var(--student-muted);font-size:12px;line-height:1.65}
.student-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 17px;border:1px solid var(--student-blue);border-radius:9px;background:var(--student-blue);color:#fff;text-decoration:none;font-size:12px;font-weight:650;box-sizing:border-box;cursor:pointer;line-height:1.4}
.student-action:hover{background:#1d4dbc;color:#fff}
.student-action .student-icon{width:17px;height:17px;flex-basis:17px}
.student-action.secondary{border-color:var(--student-line);background:#fff;color:#315caa;box-shadow:none}
.student-action.secondary:hover{background:var(--student-pale)}
.student-exam-card .student-action{align-self:flex-start}
.student-homework-preview{display:grid;gap:10px}
.student-homework-preview a{display:block;padding:15px;border:1px solid var(--student-line);border-radius:10px;background:#fff;text-decoration:none;color:var(--student-ink)}
.student-homework-preview strong{display:block;margin-bottom:7px;font-size:13px;overflow-wrap:anywhere}
.student-homework-preview small{color:var(--student-muted);font-size:11px}
.student-empty{display:grid;justify-items:center;gap:11px;padding:32px 22px;border:1px solid var(--student-line);border-radius:15px;background:#fff;text-align:center}
.student-empty-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#6b88b5;background:#f0f4fc;margin-bottom:3px}
.student-empty-icon .student-icon{width:24px;height:24px}
.student-empty h3{margin:0;font-size:16px;font-weight:650;letter-spacing:-.2px}
.student-empty p{max-width:400px;margin:0;color:var(--student-muted);font-size:12px;line-height:1.75}
.student-error{padding:24px;border:1px solid #ecd4d4;border-radius:12px;background:#fff;color:#8b3333;font-size:13px}
.student-error p{margin:0 0 14px;line-height:1.6}
.student-section-loading{padding:32px;color:var(--student-muted);font-size:13px;text-align:center}
.student-exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.student-section-note{margin:0 0 20px;padding:13px 16px;border:1px solid #dbe6fa;border-radius:10px;background:#edf3ff;color:#49648d;font-size:12px;line-height:1.7}
.student-material-library{padding:24px;border:1px solid var(--student-line);border-radius:15px;background:#fff}
.student-material-library .knowledge-search{display:grid;gap:7px;max-width:460px;margin-bottom:22px;color:var(--student-muted);font-size:12px}
.student-material-library .knowledge-search input{min-height:44px;padding:11px 13px;border:1px solid var(--student-line);border-radius:8px;background:#f9fbfe;font-size:14px}
.student-material-library .knowledge-tree{padding:0;border:0;background:transparent}
.student-material-library .knowledge-tree-section{margin:8px 0;border:1px solid var(--student-line);border-radius:9px;background:#fafcff}
.student-material-library .knowledge-tree-section>summary{padding:15px}
.student-material-library .knowledge-tree-topic{margin:0 15px 10px}
.student-material-library .knowledge-tree-topic a{min-height:44px}
.student-results-grid{display:grid;gap:14px}
.student-result-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}
.student-result-card h3{margin:8px 0;font-size:17px;line-height:1.45;overflow-wrap:anywhere}
.student-result-score{text-align:right;color:#245ac1;font-size:24px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.student-result-score small{display:block;margin-top:4px;color:var(--student-muted);font-size:11px;font-weight:400}
.student-result-details{display:flex;flex-wrap:wrap;gap:8px 16px;margin:4px 0 14px;color:var(--student-muted);font-size:11px;line-height:1.65}
.student-result-details strong{font-weight:650;color:var(--student-ink)}
.student-stats-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}
.student-stats-summary .student-card{display:grid;gap:9px}
.student-stats-summary h2{margin:0;font-size:14px;font-weight:600}
.student-stats-summary strong{font-size:30px;font-weight:750}
.student-stats-summary p{margin:0;color:var(--student-muted);font-size:12px;line-height:1.7}
.student-main .student-homeworks{min-width:0}
.student-main .homework-tabs{margin-top:0}
.student-main .homework-choice{border-color:var(--student-line);border-radius:11px;background:#fff}
.student-main .homework-choice.active{border-color:#93afe3;background:var(--student-pale);box-shadow:inset 3px 0 var(--student-blue)}
.student-main .homework-browser:not(:has(.homework-choice)){grid-template-columns:minmax(0,1fr)}
.student-main .homework-choices:empty{display:none}
.student-main .homework-selected .empty-state{max-width:none;margin:0;padding:35px 24px;border:1px solid var(--student-line);border-radius:15px;background:#fff}
.student-main .homework-list-note{font-size:12px;line-height:1.7}
.student-shell a:focus-visible,.student-shell button:focus-visible,.student-exam-shell .student-sidebar a:focus-visible{outline:3px solid #7399ed;outline-offset:3px}
/* Во время самого теста остаётся тот же ориентир: пробники и статистика — отдельные разделы. */
.student-exam-shell .student-layout>.site-header{display:none}
.student-exam-shell .student-layout>.page-shell{max-width:none;width:auto;margin:0;padding:30px 36px 60px}
.student-exam-shell .student-layout>.page-shell>h1{margin-top:9px;font-size:30px;color:var(--student-ink)}
.student-exam-shell .attempt-browser{margin-top:24px;border-color:var(--student-line);border-radius:15px;padding:22px;background:#fff}
.student-exam-shell .attempt-choice{min-height:48px;border-color:var(--student-line);border-radius:10px;background:#f9fbfe}
.student-exam-shell .attempt-choice.active{background:var(--student-pale);border-color:#9eb9ed}
.student-exam-shell .student-sidebar a{color:#53637d}
.student-exam-shell .student-sidebar .is-active{color:#214fbc}
.student-exam-shell .student-brand{color:var(--student-ink)}
@media(max-width:1150px){.student-layout{grid-template-columns:214px minmax(0,1fr)}.student-main{padding:26px 25px 50px}.student-sidebar{padding:27px 12px 20px}.student-metrics{gap:10px}.student-metric{padding:15px}.student-overview-grid{gap:16px}.student-exam-shell .student-layout>.page-shell{padding:26px 25px 50px}.student-exam-shell .attempt-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}}
@media(max-width:900px){.student-overview-grid,.student-exam-grid{grid-template-columns:minmax(0,1fr)}.student-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.student-hero{padding:25px}.student-exam-shell .attempt-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.student-layout{display:block}.student-sidebar{position:static;gap:17px;height:auto;min-height:0;padding:18px 16px 12px;border-right:0;border-bottom:1px solid var(--student-line)}.student-brand{font-size:18px;padding:0}.student-brand small{font-size:10px}.student-brand-mark{flex-basis:32px;width:32px;height:34px;border-radius:10px;font-size:18px}.student-navigation{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.student-nav-link{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;min-height:65px;padding:10px 3px 8px;border-radius:9px;font-size:10px;line-height:1.3;text-align:center}.student-nav-link>.student-icon{flex-basis:20px;width:20px;height:20px}.student-nav-link>span{flex:0}.student-nav-count{position:absolute;right:3px;top:4px;min-width:17px;height:17px;padding:0 3px;border-radius:5px;font-size:9px}.student-sidebar-note,.student-profile{display:none}.student-main{padding:22px 18px 40px}.student-topbar{margin-bottom:22px}.student-breadcrumb{font-size:11px;gap:7px}.student-heading{margin-bottom:20px}.student-heading h1{font-size:27px}.student-heading p{font-size:12px}.student-hero{padding:23px;border-radius:15px;margin-bottom:18px}.student-hero h2{font-size:24px}.student-hero p{font-size:12px}.student-metrics{gap:10px;margin-bottom:24px}.student-metric{gap:12px;padding:15px}.student-metric strong{font-size:26px}.student-card{padding:20px}.student-block-heading h2{font-size:16px}.student-empty{padding:28px 18px}.student-result-card{gap:12px}.student-result-card h3{font-size:15px}.student-result-score{font-size:21px}.student-stats-summary{gap:10px}.student-stats-summary .student-card{padding:17px}.student-material-library{padding:18px}.student-main .homework-browser{grid-template-columns:minmax(0,1fr)}.student-exam-shell .student-layout>.page-shell{padding:22px 18px 40px}.student-exam-shell .attempt-browser{padding:16px}.student-exam-shell .student-layout>.page-shell>h1{font-size:27px}.student-exam-shell .school-exam-tabs button{min-height:44px}.student-exam-shell .history-heading h2{font-size:18px}}
@media(max-width:360px){.student-sidebar{padding-left:10px;padding-right:10px}.student-main{padding-left:14px;padding-right:14px}.student-hero{padding:20px}.student-hero h2{font-size:22px}.student-nav-link{font-size:9px}.student-metric-label{font-size:11px}.student-card{padding:17px}.student-result-card{grid-template-columns:minmax(0,1fr)}.student-result-score{text-align:left}.student-stats-summary{grid-template-columns:minmax(0,1fr)}.student-exam-shell .student-layout>.page-shell{padding-left:14px;padding-right:14px}}
@media(max-width:700px){[data-portal-page=overview]{display:flex;flex-direction:column}[data-portal-page=overview]>.student-overview-grid{order:1}[data-portal-page=overview]>.student-metrics{order:2;margin-top:24px}}
@media(prefers-reduced-motion:reduce){.student-nav-link,.student-metric{transition:none}.student-metric:hover{transform:none}}

/* Постоянные памятки используют существующее назначение материала ученику. */
.student-sidebar{overflow-y:auto}
.student-guide-heading{display:block;margin-bottom:9px;color:#67748c;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.09em}
.student-guide-link{display:flex;align-items:center;gap:10px;padding:14px 12px;margin-top:7px;border:1px solid #ceddf7;border-radius:13px;background:linear-gradient(125deg,#edf4ff,#f5f8ff);color:#204a8c;text-decoration:none}
.student-guide-link:hover{background:#e5eeff;border-color:#9ab6ea}
.student-guide-link:focus-visible{outline:3px solid #245edb;outline-offset:3px}
.student-guide-link>span{min-width:0}
.student-guide-link strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.student-guide-link small{display:block;margin-top:4px;font-size:10px;color:#536e99}
@media(max-width:900px){.student-guide-links{max-width:100%}.student-guide-heading{margin-bottom:5px}.student-guide-link{padding:11px 13px}}
