
/* FWD Assess student workspace. Scoped: practical editor/exam controls remain unchanged. */
.student-ui{--student-navy:#223f85;--student-green:#223f85;--student-muted:#64798a;--student-border:#dce7ef;background:#f3f5fa;color:#183247;font-family:Inter,"Segoe UI",system-ui,sans-serif}
.student-ui .student-topbar{position:sticky;top:0;z-index:65;background:#223f85;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px max(25px,calc((100vw - 1380px)/2));box-shadow:inset 0 -3px #d52029,0 5px 24px #0d2e4930}
.student-ui .student-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white}
.student-ui .student-mark{display:grid;place-items:center;height:46px;width:46px;flex:none;border-radius:11px;background:#19316c;color:#fff;font-size:26px;line-height:1;font-weight:850;letter-spacing:-2px}
.student-ui .student-mark svg{color:#ffc514}
.student-ui .student-brand-text strong{display:block;font-size:22px;line-height:1.1;color:#fff;letter-spacing:-.03em}
.student-ui .student-brand-text b{color:#ffc514;font-weight:650}
.student-ui .student-brand-text small{display:block;color:#bbd0e1;font-size:10px;letter-spacing:.12em;font-weight:750;margin-top:5px}
.student-ui .student-topbar .preview-home{border:1px solid #627f95;background:#ffffff10;color:#fff;text-decoration:none;padding:10px 14px;border-radius:9px;font-size:12px;white-space:nowrap;margin-left:auto}
.student-ui .student-topbar .preview-home:hover{background:#ffffff22}
.student-ui main.student-main{max-width:660px;margin:24px auto;padding:0 18px}
.student-ui main.student-main.wide{max-width:1300px}
.student-ui main.student-main:has(#dashboard:not([hidden])){max-width:1380px}
.student-ui main.student-main:has(#attemptPanel:not([hidden])){max-width:1180px}
.student-ui main.student-main>aside{font-size:12px;color:#465e70;background:#f7f9fc;border:1px solid #dce7ee;border-radius:8px;padding:10px 14px}
.student-ui #login.student-login{max-width:510px;margin:44px auto;padding:43px;border:1px solid var(--student-border);border-radius:17px;box-shadow:0 20px 54px #153c5512}
.student-ui .student-kicker{font-size:11px;font-weight:850;letter-spacing:.13em;color:#b51c26;margin:0 0 14px}
.student-ui .student-login h1{font-size:34px;letter-spacing:-.045em;line-height:1.2}
.student-ui .student-login>p:not(.student-kicker){font-size:14px;line-height:1.8;color:var(--student-muted)}
.student-ui .student-login form{margin-top:28px}
.student-ui .student-login input{border:1px solid #c8d8e2;border-radius:8px;background:#fbfcfe;font-size:15px;padding:13px 15px}
.student-ui .student-login input:focus-visible{outline:3px solid #dbe5ff;border-color:#3659a8}
.student-ui .student-login #submit{border-radius:9px;background:#223f85;margin-top:28px;padding:14px}
.student-ui .student-other-login a{font-size:13px;color:#276c85}
.student-ui #dashboard.student-dashboard:not([hidden]){display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:start;gap:23px;border:none;background:transparent;padding:0;margin:20px 0;box-shadow:none}
.student-ui #dashboard>.student-welcome{grid-column:1/-1;grid-row:1;margin:0 0 3px;padding:22px 27px;background:linear-gradient(112deg,#203b7e,#2c4c96);border-radius:14px;color:#fff;box-shadow:0 11px 27px #0d33451a}
.student-ui #dashboard>.student-welcome .eyebrow{font-size:11px;color:#ffe083;font-weight:800}
.student-ui #dashboard>.student-welcome h1{color:#fff;font-size:30px;letter-spacing:-.04em}
.student-ui #dashboard>.student-welcome .muted{color:#d3e5ed}
.student-ui #dashboard>.student-welcome #logout{padding:11px 17px;border:1px solid #7897a6;border-radius:9px;background:#ffffff16;color:#fff;white-space:nowrap}
.student-ui #dashboard>.student-welcome #logout:hover{background:#ffffff27}
.student-ui .student-tabs{grid-column:1;grid-row:2;position:sticky;top:98px;margin:0;border:1px solid var(--student-border);border-radius:14px;padding:14px 10px;display:flex;flex-direction:column;align-items:stretch;gap:5px;background:white;box-shadow:0 7px 22px #1638510b}
.student-ui .student-tabs::before{content:"MY WORKSPACE";display:block;font-size:10px;letter-spacing:.15em;font-weight:800;color:#859cad;margin:6px 12px 9px}
.student-ui .student-tabs .student-tab{margin:0;display:flex;align-items:center;gap:11px;padding:13px 11px;min-height:45px;border:0;border-left:3px solid transparent;background:transparent;text-align:left;color:#5a7487;font-size:13px;font-weight:700;border-radius:8px;white-space:nowrap}
.student-ui .student-tab::before{width:21px;display:inline-grid;place-items:center;font-size:17px;font-weight:500;content:"▤";color:#7b94a5}
.student-ui .student-tab[data-student-tab="past"]::before{content:"▦"}
.student-ui .student-tab[data-student-tab="results"]::before{content:"◈"}
.student-ui .student-tab[data-student-tab="profile"]::before{content:"♙"}
.student-ui .student-tabs .student-tab.active{background:#edf1fc;color:#223f85;border-left-color:#d52029;font-weight:800}
.student-ui .student-tabs .student-tab.active::before{color:#223f85}
.student-ui .student-tabs .student-tab:not(.active):hover{background:#f3f7fa;color:#153f57}
.student-ui .student-content{grid-column:2;grid-row:2;min-width:0}
.student-ui .student-content .student-panel:not([hidden]){display:block;background:#fff;margin:0;padding:29px 30px 35px;border-radius:14px;border:1px solid var(--student-border);box-shadow:0 11px 28px #163c530b;min-height:370px}
.student-ui .student-panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap;padding:0 0 22px}
.student-ui .student-panel-head>div{min-width:0;flex:1 1 300px}
.student-ui .student-panel-head h2,.student-ui #studentProfilePanel h2{font-size:28px;letter-spacing:-.04em;color:#19374b;line-height:1.3;margin:0 0 10px}
.student-ui .student-panel-head .muted,.student-ui #studentProfilePanel .muted{font-size:13px;line-height:1.75;max-width:620px;margin:0}
.student-ui .student-panel .eyebrow{color:#b51c26;font-size:11px;font-weight:800;letter-spacing:.1em}
.student-ui .student-panel .student-refresh{flex:none;white-space:nowrap;border:1px solid #d1e3ec;background:#f2f7fa;color:#28526c;border-radius:8px;font-size:12px;padding:9px 14px}
.student-ui .student-panel .student-refresh:hover{background:#e8f2f6}
.student-ui .student-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 27px}
.student-ui .student-stats>div{background:linear-gradient(135deg,#f7f9ff,#eaf0fc);border:1px solid #d8e0f2;border-radius:12px;padding:20px 18px}
.student-ui .student-stats strong{display:block;font-size:34px;line-height:1.1;font-weight:800;letter-spacing:-.05em;color:#223f85}
.student-ui .student-stats span{font-size:12px;color:#547584;font-weight:700}
.student-ui .student-card-list{display:grid;gap:13px}
.student-ui .student-assessment-card{padding:23px 22px;border:1px solid #dfe8ee;border-radius:12px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;box-shadow:0 5px 15px #142e4610}
.student-ui .student-assessment-card .student-type{font-size:10px;font-weight:850;color:#223f85;letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px}
.student-ui .student-assessment-card h3{font-size:18px;line-height:1.35;color:#19374c;margin:0 0 6px}
.student-ui .student-assessment-card p{font-size:12px;color:#698193;line-height:1.65;margin:4px 0}
.student-ui .student-assessment-card button{width:auto;white-space:nowrap;padding:11px 17px;border-radius:8px;background:#223f85;color:#fff;font-size:12px;margin:0}
.student-ui .student-assessment-card button:hover{background:#19316c}
.student-ui .student-empty{border:1px dashed #c7dbe5;border-radius:13px;background:#f7fafc;padding:28px;color:#607889;font-size:14px;line-height:1.7}
.student-ui .student-empty strong{display:block;font-size:16px;color:#2e596d;margin-bottom:7px}
.student-ui .student-records-status{grid-column:1/-1;grid-row:3;margin:0;color:#557588;font-size:12px}
.student-ui #dashboard>.note{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0}
.student-ui #pastForm{max-width:220px;background:#fff;border:1px solid #c4d7e2;border-radius:8px;margin:7px 0 20px}
.student-ui #studentPastPanel label{margin-top:10px;font-size:13px;color:#3b576a}
.student-ui .student-table-scroll{border:1px solid #e0e9ef;border-radius:12px;overflow-x:auto}
.student-ui .student-table-scroll table{width:100%;border-collapse:collapse;min-width:430px}
.student-ui .student-table-scroll th{background:#f3f7f9;color:#486478;font-size:12px;white-space:nowrap;padding:14px 17px}
.student-ui .student-table-scroll td{font-size:13px;color:#244256;padding:17px;border-bottom:1px solid #eaf0f4;vertical-align:middle}
.student-ui .student-table-scroll td small{display:block;color:#8293a2;margin-top:4px}
.student-ui .student-table-scroll tr:last-child td{border-bottom:0}
.student-ui .student-table-scroll tbody tr:hover{background:#f8fbfc}
.student-ui .student-table-scroll .mark-value{color:#127969;font-weight:850}
.student-ui .student-table-scroll .mark-hidden{color:#6b7d8e;font-style:italic}
.student-ui .student-action-cell{white-space:nowrap}
.student-ui .student-action-cell button,.student-ui .student-assessment-card button.student-inline-button{width:auto;padding:9px 12px;margin:0 5px 4px 0;border-radius:7px;background:#edf1fc;border:1px solid #d8e0f2;color:#223f85;font-size:12px;white-space:nowrap}
.student-ui .student-action-cell button:hover,.student-ui .student-assessment-card button.student-inline-button:hover{background:#e1e9fc}
.student-ui .student-action-cell button.student-mark-button{background:#223f85;color:#fff;border-color:#223f85}
.student-ui #publishedResultDetails:not([hidden]){margin-top:24px;border-top:1px solid #e1e9ee;padding-top:23px}
.student-ui #publishedResultDetails h3{font-size:20px;color:#1d3f57}
.student-ui .student-result-total{display:flex;align-items:baseline;gap:8px;font-size:44px;font-weight:800;color:#223f85;letter-spacing:-.045em;margin-bottom:14px}
.student-ui .student-result-total small{font-size:16px;font-weight:650;color:#697f8f}
.student-ui .student-result-section{border:1px solid #e3ecf0;border-radius:10px;margin:13px 0;padding:17px}
.student-ui .student-result-section h4{margin:0 0 9px;color:#1f475b;font-size:15px}
.student-ui .student-result-section li{font-size:13px;line-height:1.5;display:flex;justify-content:space-between;gap:14px;border-top:1px solid #edf2f5;padding:9px 0}
.student-ui .student-result-section ul{list-style:none;margin:0;padding:0}
.student-ui .student-result-section li strong{flex:none;color:#3d5c6e}
.student-ui .student-result-section li span{overflow-wrap:anywhere}
.student-ui #studentProfilePanel .student-table-scroll{margin-top:25px}
.student-ui #attemptPanel{background:white}
.student-ui #attemptPanel>.dash-heading{border-radius:10px;padding:0}
.student-ui footer{background:#223f85;color:#b6c8d8}
@media(max-width:850px){
.student-ui #dashboard.student-dashboard:not([hidden]){grid-template-columns:180px minmax(0,1fr);gap:13px}
.student-ui .student-tabs .student-tab{font-size:12px;padding:11px 8px}
.student-ui .student-content .student-panel:not([hidden]){padding:22px}
.student-ui .student-assessment-card{grid-template-columns:1fr}
.student-ui .student-assessment-card button{justify-self:start}
}
@media(max-width:700px){
.student-ui main.student-main{margin:17px auto;padding:0 12px}
.student-ui .student-topbar{padding:12px 14px}
.student-ui .student-mark{height:40px;width:40px}
.student-ui .student-brand-text strong{font-size:18px}
.student-ui .student-brand-text small{font-size:8px}
.student-ui #dashboard.student-dashboard:not([hidden]){display:block}
.student-ui #dashboard>.student-welcome{padding:20px 17px;margin-bottom:13px}
.student-ui #dashboard>.student-welcome h1{font-size:25px}
.student-ui .student-tabs{position:sticky;top:64px;z-index:40;flex-direction:row;overflow-x:auto;scrollbar-width:thin;gap:4px;padding:9px;border-radius:12px;margin-bottom:14px}
.student-ui .student-tabs::before{display:none}
.student-ui .student-tabs .student-tab{flex:none;min-width:max-content;border:1px solid transparent;min-height:40px;padding:10px 12px}
.student-ui .student-tabs .student-tab.active{border:1px solid #a6b8e2}
.student-ui .student-tabs .student-tab::before{font-size:14px;width:14px}
.student-ui .student-content .student-panel:not([hidden]){padding:21px 17px}
.student-ui .student-stats{gap:7px}
.student-ui .student-stats>div{padding:14px 10px}
.student-ui .student-stats strong{font-size:28px}
.student-ui .student-stats span{font-size:10px}
.student-ui .student-records-status{margin:11px 3px 0}
.student-ui #dashboard>.note{margin:15px 3px}
.student-ui #login.student-login{margin:32px auto;padding:29px 24px}
}
@media(max-width:440px){.student-ui .student-brand-text small{display:none}.student-ui .student-topbar .preview-home{font-size:11px;padding:8px}.student-ui .student-panel-head h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.student-ui *{scroll-behavior:auto}}

/* Executable assessment runner; reuses the existing virtual editors */
.student-ui #studioAssessmentPanel{margin:16px auto;max-width:1120px;padding:24px 26px}
.student-ui .studio-student-head h2{font-size:23px;color:#1a435d;margin:5px 0}
.student-ui .studio-student-head p{color:#496477;font-size:13px;line-height:1.6}
.student-ui .studio-student-questions{display:grid;gap:13px;margin:17px 0}
.student-ui .studio-student-question{border:1px solid #d8e5ec;border-radius:12px;background:#fff;padding:17px 19px}
.student-ui .studio-student-question h3{font-size:15px;color:#234b62;margin:0 0 10px}
.student-ui .studio-student-question p{font-size:14px;line-height:1.6;margin:0 0 14px;color:#273f50}
.student-ui .studio-student-question button{width:auto;max-width:100%;margin:8px 0}
.student-ui .studio-mcq-choice{display:flex;align-items:flex-start;gap:12px;cursor:pointer;
 font-size:14px;color:#314e60;border:1px solid #e0eaf0;border-radius:9px;padding:12px;margin:8px 0}
.student-ui .studio-mcq-choice:hover{background:#f7f9ff}
.student-ui .studio-mcq-choice input{width:17px;height:17px;flex-shrink:0;margin:2px 0}
.student-ui .studio-editing-area{border:1px solid #dbe8ed;border-radius:12px;margin:20px 0;padding:14px;background:#f9fbfd}
.student-ui .studio-editing-area h3{color:#25536c;font-size:16px;margin:6px 0 13px}
.student-ui .studio-student-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.student-ui .studio-student-actions button{width:auto;max-width:100%;flex:1 1 165px}
.student-ui .studio-student-actions [data-studio-submit]{background:#223f85;color:#fff}
.student-ui #studioAssessmentPanel .studio-status{background:#eef8fb;border-radius:8px;
 padding:11px;color:#126680;font-size:13px}
.student-ui #studioAssessmentPanel .studio-note{font-size:12px;color:#6a7e8f}
@media(max-width:620px){.student-ui #studioAssessmentPanel{padding:17px}.student-ui .studio-student-actions{display:block}.student-ui .studio-student-actions button{width:100%;margin:5px 0}}

/* Answered student questions remain viewable but visibly inactive.
   Only the simulated application windows are dimmed; the question ribbon,
   navigation, timer and final submission controls stay at normal contrast. */
.student-ui #workPanel.question-work-locked > .question-mode:not([hidden]){
 filter:grayscale(1) brightness(.86);
}

/* During live independent exams, numbered tiles are progress indicators only. */
.student-ui .sequential-question-navigation .question-number:disabled{opacity:1;cursor:default;pointer-events:none}
