:root{color:#172033;background:#eef3f8;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea{font:inherit}.shell{min-height:100vh;background:radial-gradient(circle at top right,#dcecff 0,transparent 38%),#eef3f8}header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:max(14px,env(safe-area-inset-top)) 20px 14px;color:#fff;background:linear-gradient(135deg,#173a67,#2368a2);box-shadow:0 8px 30px #173a6730}.identity{display:flex;align-items:center;gap:12px;min-width:0}.header-logo{width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover;box-shadow:0 4px 14px #102d4d55}header h1{margin:3px 0 0;font-size:clamp(18px,5vw,26px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.72}.home{width:46px;height:46px;flex:none;border:1px solid #ffffff44;border-radius:15px;color:#fff;background:#ffffff1c;font-size:27px}.content{width:min(760px,100%);margin:auto;padding:22px 16px calc(32px + env(safe-area-inset-bottom))}.card{margin-bottom:14px;padding:20px;border:1px solid #dce5ef;border-radius:20px;background:#fffe;box-shadow:0 8px 28px #25466a12}.text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.card small{display:block;margin-top:12px;color:#667789}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.button,.send{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 13px;border:0;border-radius:13px;color:#fff;background:#2166a1;font-weight:650;text-align:center;text-decoration:none;cursor:pointer}.button:nth-child(odd):last-child{grid-column:1/-1}.button:disabled,.send:disabled{opacity:.55}.input{position:sticky;bottom:12px;display:grid;gap:10px;padding:14px;border:1px solid #d7e2ee;border-radius:18px;background:#ffffffed;box-shadow:0 14px 42px #1e3d5d24;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}textarea{width:100%;resize:vertical;min-height:84px;padding:13px;border:1px solid #cbd8e5;border-radius:12px;outline:none;background:#f8fafc}.send{background:linear-gradient(135deg,#1d6ba7,#174d80)}.center{min-height:100vh;display:grid;place-content:center;justify-items:center;padding:28px;text-align:center}.center p{max-width:440px;color:#5c6c7c}.login-logo{width:108px;height:108px;border-radius:50%;object-fit:cover;box-shadow:0 14px 34px #173a6740}.loader{width:42px;height:42px;border:4px solid #cbddeb;border-top-color:#2166a1;border-radius:50%;animation:spin .8s linear infinite}.error{margin-bottom:14px;padding:13px 16px;border-radius:13px;color:#8c2231;background:#ffe7ea}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:520px){.grid{grid-template-columns:1fr}.button:nth-child(odd):last-child{grid-column:auto}.card{padding:17px}.eyebrow{font-size:10px}.header-logo{width:42px;height:42px}}.code-login{max-width:560px;margin:auto;text-align:center}.code-login>p:not(.dashboard-kicker){max-width:520px;line-height:1.6;color:#65758a}.login-code{margin:20px 0 16px;font-size:clamp(42px,10vw,72px);font-weight:750;letter-spacing:.18em;color:#17395f;font-variant-numeric:tabular-nums}.code-timer{--progress:360deg;width:62px;height:62px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#3477b8 var(--progress),#dfe7f0 0);transition:background .25s linear;position:relative}.code-timer:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border-radius:50%;background:#fff}.code-timer span{position:relative;font-size:17px;font-weight:700;color:#35536f;font-variant-numeric:tabular-nums}.code-login>small{color:#718196}.dashboard{display:flex;min-height:100vh;background:#f4f6fa;color:#23334b}.dashboard-sidebar{display:flex;flex-direction:column;width:260px;flex-shrink:0;background:#122d4e;color:#fff;padding:30px 18px;height:100vh;position:sticky;top:0;overflow:auto}.dashboard-brand{display:flex;align-items:center;gap:12px;font-size:17px;padding:0 8px 25px}.dashboard-brand img{width:46px;height:46px;border-radius:50%}.dashboard-role{color:#a8bed8;padding:0 10px 20px;font-size:13px}.dashboard-sidebar button{display:block;width:100%;text-align:left;border:0;color:#d2e0ef;background:transparent;padding:11px 12px;border-radius:9px;cursor:pointer;font-size:14px}.dashboard-sidebar>button+.sidebar-primary,.sidebar-primary{margin-top:16px;padding-top:16px;border-top:1px solid #ffffff1c}.sidebar-primary button+button{margin-top:5px}.dashboard-sidebar button.active,.dashboard-sidebar button:hover{background:#29496e;color:#fff}.dashboard-sidebar h3{color:#88a5c7;text-transform:uppercase;font-size:10px;letter-spacing:.12em;margin:26px 12px 8px}.dashboard-sidebar .dashboard-logout{margin-top:auto;padding-top:18px;border-top:1px solid #ffffff1c;border-radius:0;color:#ffbec5}.dashboard-sidebar .dashboard-logout:hover{background:transparent;color:#fff;text-decoration:underline}.dashboard-main{padding:28px 40px 60px;flex:1;min-width:0;max-width:1600px;margin:0 auto;align-self:flex-start}.dashboard-top{display:flex;justify-content:space-between;gap:16px;color:#6e7e93;font-size:13px;border-bottom:1px solid #dce3ed;padding-bottom:24px;margin-bottom:32px}.dashboard-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.dashboard h1{font-size:clamp(24px,3vw,36px);letter-spacing:-.03em;margin:8px 0 12px}.dashboard-welcome p,.dashboard-subtitle{color:#718196;line-height:1.6}.dashboard-kicker{text-transform:uppercase;font-size:11px;letter-spacing:.14em}.dashboard-stage{background:#dcebec;color:#316d6f;border-radius:20px;padding:9px 16px;font-size:12px;white-space:nowrap}.dashboard-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;margin-bottom:30px}.dashboard-metrics article{border:1px solid #e1e7ef;padding:22px;border-radius:14px;background:#fff;display:grid;gap:12px}.dashboard-metrics span{color:#718196;font-size:13px}.dashboard-metrics strong{font-size:34px;font-weight:600}.dashboard h2{font-size:18px;margin:28px 0 16px}.dashboard-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px}.dashboard-actions button{display:grid;gap:12px;text-align:left;border:1px solid #e0e6ee;border-radius:14px;padding:22px;background:#fff;color:inherit;cursor:pointer}.dashboard-actions button:hover{border-color:#5d92c4;box-shadow:0 5px 18px #183a5b0d}.dashboard-actions span{font-size:13px;color:#728096;line-height:1.5}.dashboard-actions strong{font-size:15px}.dashboard-projects{border:1px solid #e0e6ee;padding:0 24px 15px;background:#fff;border-radius:14px}.dashboard-projects article{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf0f5}.dashboard-projects p{font-size:13px;color:#728096;margin:6px 0 0}.dashboard-projects article>span{font-size:12px;color:#467275;white-space:nowrap}.dashboard-workspace{max-width:900px}.dashboard-back{background:none;border:0;padding:0;color:#417ab1;cursor:pointer}.dashboard button:disabled{opacity:.55;cursor:wait}.admin-card{position:relative;margin:0;padding:22px;border:1px solid #e0e6ee;border-radius:16px;background:#fff;box-shadow:0 5px 20px #183a5b08;min-width:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.card-heading h2{margin:3px 0}.card-heading p{margin:8px 0}.card-action{flex:none}.card-action button,.secondary{border:1px solid #cbd9e9;border-radius:9px;background:#f1f6fd;color:#285b8d;padding:9px 13px;cursor:pointer;font-weight:600}.card-action button:hover{background:#e5effb}.navigation-card{grid-column:1/-1;background:linear-gradient(130deg,#fff,#eef5ff)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:12px 0 28px}.page-heading h1{margin:7px 0}.page-heading>div>p:last-child{color:#6c7c91;line-height:1.6}.page-counter{font-size:34px;font-weight:700;text-align:right}.page-counter small{display:block;color:#718196;font-size:12px;font-weight:400}.group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px}.group-card header{display:flex;justify-content:space-between;gap:15px}.group-card header h2{margin:0 0 8px}.group-card header p{margin:0;color:#718196}.group-card header>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f1fb;color:#285b8d;font-weight:700}.group-card ol{margin:18px 0 0;padding:0;list-style:none;counter-reset:students}.group-card li{counter-increment:students;padding:11px 0;border-top:1px solid #edf0f5}.group-card li:before{content:counter(students);display:inline-grid;place-items:center;width:24px;height:24px;margin-right:10px;border-radius:50%;background:#f0f4f9;color:#718196;font-size:11px}.empty-copy{color:#7b899b}.broadcast-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:22px;align-items:start}.broadcast-compose,.mailing-history{padding:24px;border:1px solid #e0e6ee;border-radius:16px;background:#fff}.broadcast-compose{display:grid;gap:20px}.broadcast-compose label{display:grid;gap:8px;font-size:13px;font-weight:650}.broadcast-compose select{padding:12px;border:1px solid #ccd8e6;border-radius:10px;background:#f8fafc}.broadcast-compose label>small{text-align:right}.notify-toggle{display:flex!important;align-items:flex-start;gap:12px}.notify-toggle input{width:19px;height:19px}.notify-toggle small{margin-top:5px;text-align:left!important;font-weight:400;color:#718196}.mailing-history h2{margin-top:0}.mailing-history article{padding:16px 0;border-top:1px solid #edf0f5}.mailing-history article header{display:flex;justify-content:space-between;gap:12px}.mailing-history article p{color:#68788d;font-size:13px}.job-status{font-size:11px;border-radius:20px;padding:5px 9px;background:#eef2f6}.job-status.completed{background:#e3f3ea;color:#27704a}.job-status.running{background:#e6effb;color:#28639d}.job-status.failed{background:#ffe8e8;color:#a23030}.progress{height:6px;margin-top:14px;border-radius:5px;background:#e8edf4;overflow:hidden}.progress i{display:block;height:100%;background:#3477b8;transition:width .3s}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#10233b99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{position:relative;width:min(560px,100%);padding:28px;border-radius:18px;background:#fff;box-shadow:0 24px 80px #07182d66}.modal h2{margin:0 36px 18px 0}.modal-close{position:absolute;right:18px;top:15px;border:0;background:transparent;font-size:28px;color:#708096;cursor:pointer}.modal-body{color:#59697e;line-height:1.65}.modal-body blockquote{max-height:200px;overflow:auto;margin:18px 0 0;padding:14px;border-left:3px solid #4e83b9;background:#f4f7fb;white-space:pre-wrap}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-actions .send{min-height:40px}.secondary{background:#fff}@media (max-width:1000px){.dashboard-sidebar{width:220px}.dashboard-main{padding:24px}.dashboard-welcome{align-items:flex-start;flex-direction:column}.broadcast-layout{grid-template-columns:1fr}}@media (max-width:700px){.dashboard{display:block}.dashboard-sidebar{width:100%;height:auto;position:static;padding:18px}.dashboard-sidebar nav{display:none}.dashboard-brand{padding-bottom:12px}.dashboard-role{padding-bottom:8px}.dashboard-main{padding:20px 16px}.dashboard-top{flex-direction:column}.dashboard-actions{grid-template-columns:1fr}.dashboard-projects article{flex-direction:column}}.choosing-cards{align-items:stretch}.admin-card{display:flex;flex-direction:column}.admin-card-list{min-height:265px}.admin-card-list .teacher-check{min-height:53px;box-sizing:border-box}.admin-card-list .question-history{min-height:53px;padding:10px 0}.admin-card-list .question-history p{margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.admin-card-footer{display:flex;align-items:flex-end;justify-content:flex-end;min-height:42px;margin-top:auto;padding-top:10px}.details-button{border:0;background:transparent;color:#3973aa;padding:8px 0;cursor:pointer;font-weight:650}.details-button:hover{text-decoration:underline}.full-list{display:block}.admin-list-page .page-action{width:auto;margin-top:18px}.group-card-heading,.mailing-heading{display:flex;justify-content:space-between;gap:15px}.group-card-heading h2{margin:0 0 8px}.group-card-heading p{margin:0;color:#718196}.group-card-heading>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f1fb;color:#285b8d;font-weight:700}.recipient-picker{display:grid;gap:12px}.recipient-picker input[type=search]{width:100%;padding:12px;border:1px solid #ccd8e6;border-radius:10px;background:#f8fafc}.recipient-summary{display:flex;justify-content:space-between;align-items:center;font-size:13px}.recipient-summary button{border:0;background:none;color:#3973aa;cursor:pointer}.recipient-list{max-height:300px;overflow:auto;border:1px solid #e1e7ef;border-radius:12px;padding:5px 14px}.recipient-list>label{display:flex;grid-template-columns:none;align-items:flex-start;gap:11px;padding:11px 0;border-bottom:1px solid #edf0f5;cursor:pointer}.recipient-list>label>span{display:flex;min-width:0;flex-direction:column;gap:5px}.recipient-list>label:last-child{border-bottom:0}.recipient-list input{width:18px;height:18px;flex:none}.recipient-list small{display:block;margin:0;color:#718196;font-weight:400;line-height:1.35}.delivery-report{margin-top:12px}.delivery-report summary{color:#356b9f;font-size:13px;cursor:pointer}.delivery-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf0f5}.delivery-row small{margin-top:3px;color:#718196}.delivery-row b{font-size:11px}.delivery-row b.delivered{color:#28704a}.delivery-row b.failed{color:#a23030}.delivery-row b.pending{color:#718196}.confirm-recipients{display:flex;flex-wrap:wrap;gap:6px;max-height:120px;overflow:auto}.confirm-recipients span{padding:5px 8px;border-radius:7px;background:#edf3fa;font-size:12px}.recipient-picker .group-teacher-toggle{margin-top:2px;padding:13px;border-radius:11px;background:#f4f7fb}.working-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.working-supervisor,.working-project,.working-questions{grid-column:1/-1}.working-supervisor{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(130deg,#fff,#eef6ff)}.working-supervisor h2,.working-card-heading h2{margin:5px 0 8px}.working-supervisor p{margin:0;color:#67788d}.working-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.project-status{display:inline-flex;align-items:center;flex:none;border-radius:20px;padding:6px 10px;background:#eef2f6;color:#617187;font-size:11px;font-weight:700}.project-status.approved{background:#e3f3ea;color:#27704a}.project-status.rejected{background:#ffe8e8;color:#a23030}.project-status.admin_review{background:#e8effb;color:#285f98}.project-status.teacher_review{background:#fff2d8;color:#8a6113}.project-description{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.project-description>div{padding:14px;border-radius:12px;background:#f6f8fb}.project-description small{color:#728096}.project-description p{margin:7px 0 0;white-space:pre-wrap;line-height:1.5}.project-comment{grid-column:1/-1}.working-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.working-actions .send,.working-actions .secondary,.working-card-heading .send{width:auto;min-height:38px;padding:8px 12px}.task-list>div{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f5}.task-list>div>span{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#eaf0f7;color:#62758b;font-size:11px}.task-list p{margin:3px 0;line-height:1.45}.task-list .done p{text-decoration:line-through;color:#7e8b9b}.task-list .done>span{background:#dff1e8;color:#26704a}.material-list a{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f5;color:#273a52;text-decoration:none}.material-list a span{color:#3973aa;font-size:12px}.working-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px;margin-bottom:18px;border:1px solid #dae5f0;border-radius:16px;background:linear-gradient(130deg,#fff,#eef6ff)}.working-summary h2{margin:6px 0}.working-summary p{margin:0;color:#68798e}.working-metric-line{display:flex;gap:12px;margin-bottom:18px}.working-metric-line span{padding:9px 13px;border-radius:20px;background:#fff;border:1px solid #e0e6ee;color:#6a788b;font-size:12px}.working-metric-line strong{margin-left:5px;color:#26394f}.project-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.student-project{min-height:220px}.project-card-stats{display:flex;gap:20px;margin-top:auto;padding-top:18px}.project-card-stats span{color:#718196;font-size:12px}.project-card-stats b{margin-left:5px;color:#26384f}.project-card-comment{margin-top:14px;padding:10px;border-radius:9px;background:#fff3f3;color:#863744;font-size:12px}.status-overview{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;margin-bottom:20px}.status-overview article{display:grid;gap:8px;padding:17px;border:1px solid #e0e6ee;border-radius:14px;background:#fff}.status-overview span{color:#718196;font-size:12px}.status-overview strong{font-size:28px}.working-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.compact-groups{max-height:420px;overflow:auto}.compact-groups>div,.attention-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf0f5}.compact-groups span{display:grid;gap:3px}.compact-groups small{color:#718196}.compact-groups b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf3fa}.attention-list{max-height:420px;overflow:auto}.admin-tools{justify-content:center}@media (max-width:1100px){.status-overview{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.working-grid,.working-admin-grid{grid-template-columns:1fr}.working-supervisor,.working-project,.working-questions{grid-column:auto}.working-supervisor,.working-summary{align-items:flex-start;flex-direction:column}.project-description{grid-template-columns:1fr}.project-comment{grid-column:auto}.status-overview{grid-template-columns:repeat(2,1fr)}}.template-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr);gap:20px;align-items:start}.template-students{max-height:70vh;overflow:auto}.template-students>label{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f5}.roadmap-template-link{width:max-content;margin:0 0 22px}.roadmap-flow{display:flex;align-items:stretch;overflow-x:auto;padding:4px 4px 24px}.roadmap-card{flex:0 0 clamp(220px,24vw,285px);padding:18px;border:1px solid #dce4ee;border-top:4px solid #6a8cad;border-radius:15px;background:#fff}.roadmap-card.review{border-top-color:#d59a36}.roadmap-card.completed{border-top-color:#43966a}.roadmap-card header,.roadmap-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.roadmap-card header{font-size:11px;color:#718196}.roadmap-card h2{margin:14px 0 8px;font-size:16px}.roadmap-card>p{min-height:58px;color:#65758a;font-size:13px}.stage-result{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #edf0f5}.stage-result textarea{min-height:92px}.file-button{padding:9px;border:1px dashed #91a9c0;border-radius:8px;text-align:center;color:#356b9d;cursor:pointer}.file-button input{display:none}.roadmap-card footer{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f5;font-size:12px}.roadmap-card footer div{display:flex}.roadmap-card footer input{width:64px;padding:7px}.roadmap-card footer button{border:0;color:#fff;background:#2868a2}.roadmap-connector{position:relative;flex:0 0 58px;display:grid;place-content:center;text-align:center;color:#7f96ad;font-size:25px}.roadmap-connector>button{width:28px;height:28px;margin:auto;border:1px solid #9ab1c8;border-radius:50%;background:#fff}.stage-editor{position:absolute;z-index:5;top:58%;left:50%;width:300px;display:grid;gap:8px;padding:16px;border:1px solid #cad7e4;border-radius:13px;background:#fff;box-shadow:0 16px 50px #102d4e44;text-align:left}.stage-editor input,.stage-editor select,.template-stage input,.template-stage select,.template-students>input{width:100%;padding:10px;border:1px solid #ccd8e6;border-radius:9px}.stage-editor>div{display:flex;gap:7px}.template-heading{margin-top:0;margin-bottom:18px}.template-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr);grid-template-rows:minmax(0,1fr) auto;gap:14px;height:calc(100vh - 190px);min-height:0;align-items:stretch}.template-stages,.template-students{min-height:0;overflow:hidden}.template-stages{gap:12px}.template-scroll{min-height:0;overflow:auto;padding-right:5px}.template-stage{display:grid;grid-template-columns:32px 1fr 150px;gap:9px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #edf0f5}.template-stage>b{grid-row:1/4}.template-stage textarea{grid-column:2/4}.template-stage-delete{grid-column:2/4;justify-self:end;width:auto;min-width:110px}.template-students>label,.template-students .template-scroll>label{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f5}.template-students label span{display:grid}.template-students small{color:#718196}.template-selection-actions{display:flex;justify-content:space-between;gap:8px}.template-selection-actions button{border:0;background:transparent;color:#3973aa;padding:3px 0;cursor:pointer}.template-submit{grid-column:1/-1;justify-self:end;min-width:220px}.question-form{display:grid;gap:12px;max-width:760px;margin-bottom:20px}.question-form label{display:grid;gap:8px}.question-form .send{width:max-content}.question-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}@media (max-width:760px){.template-layout{height:auto;grid-template-columns:1fr;grid-template-rows:auto}.template-stages,.template-students{max-height:none}.template-scroll{max-height:55vh}.template-submit{grid-column:auto;width:100%}}.template-layout>.template-submit{position:fixed;right:40px;bottom:24px;z-index:10;width:auto;min-width:220px;box-shadow:0 10px 30px #173a6735}.template-layout{padding-bottom:64px}@media (max-width:760px){.template-layout>.template-submit{right:16px;bottom:16px;left:16px;width:auto}}.template-layout>.template-students{height:min(70vh,760px);max-height:70vh;align-self:start;padding-bottom:22px}.template-layout>.template-students>.template-scroll{flex:1}@media (max-width:760px){.template-layout>.template-students{height:auto;max-height:none;padding-bottom:76px}.template-layout>.template-students>.template-scroll{max-height:60vh}}.pass-grade-buttons{display:flex;gap:6px}.roadmap-card footer .pass-grade-buttons button{padding:7px 9px;border-radius:7px}.roadmap-card footer .pass-grade-buttons .pass{background:#2f8056}.roadmap-card footer .pass-grade-buttons .fail{background:#a74750}.roadmap-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;overflow:visible;padding:8px 0 28px}.roadmap-step{position:relative;display:flex;min-width:0}.roadmap-card{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;width:100%;padding:0;overflow:hidden;border:1px solid #dce5ef;border-top:0;border-radius:18px;box-shadow:0 10px 30px #173a670d}.roadmap-card header{padding:14px 16px;background:linear-gradient(135deg,#245f96,#173f6c);color:#fff}.roadmap-card header span,.roadmap-card header b{color:#fff}.roadmap-card h2{margin:18px 18px 7px}.roadmap-card>p{min-height:0;margin:0 18px 16px;line-height:1.5}.roadmap-card>small{margin:0 18px 14px;color:#66788d}.roadmap-card .stage-result{margin:0 18px;padding:14px 0}.roadmap-card footer{margin:auto 18px 0;padding:15px 0 18px}.roadmap-card.completed header{background:linear-gradient(135deg,#39825e,#245c43)}.roadmap-card.review header{background:linear-gradient(135deg,#b77b25,#82540f)}.roadmap-step:not(:last-child):after{content:"→";position:absolute;z-index:2;right:-21px;top:50%;transform:translateY(-50%);color:#7e9ab5;font-size:24px;font-weight:700}.roadmap-connector{position:absolute;z-index:4;right:-16px;top:calc(50% + 30px);display:block;width:auto;min-width:0;font-size:0}.roadmap-connector>span{display:none}.roadmap-connector>button{display:grid;place-items:center;width:30px;height:30px;margin:0;border-color:#8eabc7;background:#fff;box-shadow:0 4px 12px #173a6720;font-size:20px}.roadmap-connector .stage-editor{top:38px;right:0;left:auto;font-size:14px}.roadmap-card.approval .stage-result{display:none}@media (max-width:1450px){.roadmap-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.roadmap-step:nth-child(3n):not(:last-child):after{content:"↓";right:50%;top:auto;bottom:-30px;transform:translate(50%)}.roadmap-step:nth-child(3n) .roadmap-connector{right:50%;top:auto;bottom:-17px;transform:translate(50%)}}@media (max-width:1050px){.roadmap-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.roadmap-step:nth-child(3n):not(:last-child):after{content:"→";right:-21px;top:50%;bottom:auto;transform:translateY(-50%)}.roadmap-step:nth-child(3n) .roadmap-connector{right:-16px;top:calc(50% + 30px);bottom:auto;transform:none}.roadmap-step:nth-child(2n):not(:last-child):after{content:"↓";right:50%;top:auto;bottom:-30px;transform:translate(50%)}.roadmap-step:nth-child(2n) .roadmap-connector{right:50%;top:auto;bottom:-17px;transform:translate(50%)}}@media (max-width:700px){.roadmap-flow{grid-template-columns:1fr;gap:42px}.roadmap-step:not(:last-child):after,.roadmap-step:nth-child(2n):not(:last-child):after,.roadmap-step:nth-child(3n):not(:last-child):after{content:"↓";right:50%;top:auto;bottom:-36px;transform:translate(50%)}.roadmap-connector,.roadmap-step:nth-child(2n) .roadmap-connector,.roadmap-step:nth-child(3n) .roadmap-connector{right:20px;top:auto;bottom:-35px;transform:none}.roadmap-card{min-height:0}.roadmap-connector .stage-editor{position:fixed;inset:auto 16px 16px;width:auto}}.student-project-editor{display:grid;gap:20px}.project-editor-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#173f6d,#2c75ad);box-shadow:0 14px 35px #173a6722}.project-editor-hero h1{margin:5px 0 9px}.project-editor-hero p{margin:0;color:#d9e8f5}.supervisor-button{display:grid;flex:0 0 min(330px,38%);gap:4px;padding:15px 18px;border:1px solid #ffffff45;border-radius:14px;color:#fff;background:#ffffff16;text-align:left;cursor:default}.supervisor-button span,.supervisor-button small{font-size:11px;color:#c9dced}.supervisor-button strong{overflow:hidden;text-overflow:ellipsis}.supervisor-button.missing{opacity:.75}.success-message{padding:13px 16px;border-radius:12px;color:#246748;background:#e1f3e9}.project-editor-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:20px;align-items:start}.project-form{display:grid;gap:17px}.project-form>label{display:grid;gap:7px;color:#43566c;font-size:13px;font-weight:700}.project-form input,.simple-task-editor input{width:100%;padding:12px;border:1px solid #cbd8e5;border-radius:10px;background:#f9fbfd}.project-form textarea{min-height:110px}.project-form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:4px}.project-form-footer small{max-width:420px;color:#718196;line-height:1.45}.project-form-footer .send{width:auto;flex:none}.project-review-comment{padding:14px;border-left:3px solid #d08a33;border-radius:8px;background:#fff6e8}.project-review-comment p{margin:6px 0 0}.simple-task-editor{gap:16px}.simple-task-list{display:grid}.simple-task-list>div{display:grid;grid-template-columns:20px minmax(0,1fr) 30px 30px;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #edf0f5}.simple-task-list>div>input[type=checkbox]{width:18px;height:18px}.simple-task-list>div.done span{text-decoration:line-through;color:#8190a1}.simple-task-list button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:#356b9e;background:#edf3fa;cursor:pointer}.simple-task-list .task-delete{color:#9c3943;background:#fff0f1}.quick-task-add{display:flex;gap:8px}.quick-task-add button{padding:0 14px;border:0;border-radius:10px;color:#fff;background:#2868a2}.quick-task-add button:disabled{opacity:.5}@media (max-width:1050px){.project-editor-layout{grid-template-columns:1fr}.supervisor-button{flex-basis:42%}}@media (max-width:700px){.project-editor-hero{align-items:stretch;flex-direction:column;padding:21px}.supervisor-button{flex-basis:auto}.project-form-footer{align-items:stretch;flex-direction:column}.project-form-footer .send{width:100%}}.roadmap-connector .stage-editor{position:fixed;z-index:30;inset:50% auto auto 50%;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;transform:translate(-50%,-50%);padding:24px;gap:14px;border-radius:18px;box-shadow:0 24px 90px #0b203d73;font-size:14px}.roadmap-connector .stage-editor>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,1fr);align-items:center;gap:12px}.roadmap-connector .stage-editor>div:last-child{display:flex;justify-content:flex-end}.roadmap-connector .stage-editor input,.roadmap-connector .stage-editor textarea{min-width:0;width:100%}.stage-assessment-label{line-height:1.35;color:#526a82;font-weight:650}@media (max-width:520px){.roadmap-connector .stage-editor{inset:50% auto auto 16px;width:calc(100vw - 32px);transform:translateY(-50%)}.roadmap-connector .stage-editor>div{grid-template-columns:1fr}.roadmap-connector .stage-editor>div:last-child{display:grid}.roadmap-connector .stage-editor .send,.roadmap-connector .stage-editor .secondary{width:100%}}.choosing-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.choosing-cards h2{margin-top:0}.teacher-check{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}.teacher-check input{width:18px;height:18px}.priority-list{padding:0;list-style:none}.priority-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px;margin-bottom:8px;border:1px solid #dce3ed;border-radius:10px;background:#f8fafc}.priority-list li>div{display:flex;gap:5px}.priority-list button{padding:6px 10px;border:1px solid #cbd8e5;border-radius:6px;background:#fff;cursor:pointer}.question-history{padding:16px 0;border-bottom:1px solid #edf0f5;white-space:pre-wrap;overflow-wrap:anywhere}.choosing-cards p{line-height:1.5;color:#627187}.choosing-cards textarea{margin:12px 0}@media (max-width:1000px){.choosing-cards{grid-template-columns:1fr}}.archive{max-width:1400px;margin:auto;color:#22314a}.archive-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:12px 0 28px}.archive-heading h1{margin:8px 0;font-size:clamp(26px,3vw,38px);letter-spacing:-1px}.archive-heading p{color:#64748b;line-height:1.6}.archive-total{font-size:36px;font-weight:750;text-align:right;white-space:nowrap}.archive small{display:block;color:#69788e;font-size:12px;line-height:1.5;font-weight:400}.archive-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:14px;padding:20px;background:#fff;border:1px solid #e1e7f0;border-radius:18px;margin-bottom:24px}.archive-filters label{font-size:12px;font-weight:650;display:grid;gap:8px;min-width:0}.archive input,.archive select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d8e0ec;border-radius:9px;padding:12px;background:#f8fafc;color:#22314a;font:inherit;font-size:14px}.archive-table-wrap{overflow:auto;background:#fff;border:1px solid #e1e7f0;border-radius:18px}.archive-table{border-collapse:collapse;width:100%;text-align:left;min-width:690px}.archive-table th{padding:16px 22px;font-size:12px;color:#64748b;background:#f8fafc;font-weight:600}.archive-table td{padding:22px;border-top:1px solid #edf0f5;line-height:1.55;font-size:14px}.archive-table tbody tr:hover{background:#f9fbff}.archive-table td:first-child{width:24%}.archive-topic{width:38%}.archive-table button,.archive-pages button{border:1px solid #dce5f3;border-radius:9px;background:#f0f5ff;color:#2856a3;padding:10px 14px;white-space:nowrap;cursor:pointer}.archive button:disabled{opacity:.4;cursor:default}.archive-pages{display:flex;align-items:center;justify-content:center;gap:22px;margin:24px}.archive-empty{padding:48px;text-align:center;background:#fff;border-radius:18px}.archive-hero{padding:clamp(24px,4vw,48px);border-radius:22px;background:linear-gradient(120deg,#122949,#284d78);color:#fff;margin:24px 0}.archive-year{font-size:12px;padding:7px 12px;background:#ffffff18;border-radius:30px;color:#c8d9ef}.archive-hero h2{font-size:clamp(24px,3vw,36px);line-height:1.3;max-width:1000px;margin:26px 0 32px;overflow-wrap:anywhere}.archive-people{display:flex;flex-wrap:wrap;gap:24px 60px}.archive-people small{color:#becde0;margin-bottom:7px}.archive-detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px}.archive-panel{padding:26px;background:#fff;border:1px solid #e1e7f0;border-radius:18px;margin-bottom:24px;overflow-wrap:anywhere}.archive-panel h2{font-size:19px;margin:0 0 18px}.archive-panel p{white-space:pre-wrap;line-height:1.85;font-size:15px;color:#536177}.archive-files h2 span{color:#778aa5;font-size:15px;margin-left:8px}.archive-files a{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #edf0f5;text-decoration:none;color:#294c7f;font-weight:600;font-size:14px}.archive-file-icon{padding:10px 15px;background:#eef4ff;border-radius:10px;font-size:24px}.archive-files>small{margin-top:16px}.archive-tasks{padding-left:22px}.archive-tasks li{padding:10px 0 10px 8px;line-height:1.6;white-space:pre-wrap}.archive-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media (max-width:1000px){.archive-filters{grid-template-columns:1fr 1fr}.archive-detail-grid{grid-template-columns:1fr}}@media (max-width:550px){.archive-heading{align-items:flex-start}.archive-total{font-size:25px}.archive-total small{max-width:90px;white-space:normal}.archive-filters{grid-template-columns:1fr}.archive-panel{padding:20px}}.stage-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;padding:26px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#163a61,#2b6894)}.stage-notice h2{margin:6px 0 10px}.stage-notice p{margin:0;line-height:1.55;color:#d5e5f3}.stage-notice .dashboard-kicker{color:#a9c9e2}.stage-notice .send{flex:none;background:#fff;color:#20537f}.frozen-priorities{margin:0;padding:0;list-style:none}.frozen-priorities li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f5}.frozen-priorities li span,.candidate>span{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;background:#edf3fa;color:#47729d;font-size:12px}.allocation-card{display:flex;flex-direction:column;justify-content:center;gap:12px;border-left:4px solid #789}.allocation-card.success{border-left-color:#31926b}.allocation-card.warning{border-left-color:#d28b36}.allocation-card>span{color:#718196;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.allocation-card>strong{font-size:22px}.allocation-card p{color:#64748b;line-height:1.6}.preliminary-group{grid-column:1/-1}.candidate{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf0f5}.candidate small{padding:5px 8px;border-radius:12px;background:#e4f1e9;color:#28704a}@media (max-width:700px){.stage-notice{align-items:flex-start;flex-direction:column}.stage-notice .send{width:100%}.candidate{grid-template-columns:27px minmax(0,1fr)}.candidate small{grid-column:2}}
