@charset "UTF-8";
:root {
    --blue: #056cb8;
    --blue-dark: #045792;
    --ink: #172638;
    --muted: #718096;
    --line: #e5eaf0;
    --bg: #f5f7fb;
    --green: #208456;
    --red: #bf3b3b;
    --radius: 12px;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 14px/1.6 "Segoe UI",Arial,sans-serif;
}
h1,h2,h3,h4,p {
    margin-top: 0;
}
h1 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.8px;
    margin-bottom: 12px;
}
h2 {
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -.3px;
}
h3 {
    font-size: 16px;
}
h4 {
    font-size: 14px;
}
a {
    color: var(--blue);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
button,.button {
    font: 600 13px/1.4 "Segoe UI",Arial,sans-serif;
    padding: 11px 18px;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 7px;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    text-decoration: none;
    transition: background .15s;
}
button:hover,.button:hover {
    background: var(--blue-dark);
    color: #fff;
    text-decoration: none;
}
button:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.secondary {
    background: white;
    border-color: var(--line);
    color: var(--ink);
}
.secondary:hover {
    background: #edf5fc;
    color: var(--blue);
    border-color: #c8dff0;
}
.danger {
    background: #fff3f3;
    border-color: #efd0d0;
    color: var(--red);
}
.danger:hover {
    background: #ffe7e7;
    color: var(--red);
}
:focus-visible {
    outline: 3px solid #94caff;
    outline-offset: 3px;
}
input,select,textarea {
    font: inherit;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    min-width: 0;
}
input[readonly] {
    background: #f8fafc;
}
textarea {
    resize: vertical;
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #465368;
}
label .required {
    display: none;
}
.required {
    color: var(--red);
}
input[type=checkbox] {
    width: 17px;
    height: 17px;
    accent-color: var(--blue);
    flex-shrink: 0;
}
.check {
    flex-direction: row;
    align-items: flex-start;
    font-size: 14px;
}
.muted,small {
    color: var(--muted);
}
small {
    font-size: 12px;
}
.small {
    font-size: 12px;
}
.blue {
    color: var(--blue);
}
.green-text {
    color: var(--green);
}
.purple-text {
    color: #8257b9;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 700;
    color: var(--blue);
    display: block;
    margin-bottom: 10px;
}
.sidebar {
    width: 242px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 28px 18px;
    overflow-y: auto;
    z-index: 20;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
}
.brand:hover {
    text-decoration: none;
}
.brand small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2px;
}
.monogram {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    border-radius: 11px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.sidebar .brand {
    margin: 0 10px 34px;
}
.sidebar nav a {
    display: block;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #586779;
    border-radius: 6px;
}
.sidebar nav a:hover,.sidebar nav a.active {
    background: #eaf3fc;
    color: var(--blue);
    text-decoration: none;
}
.sidebar nav a.sub {
    padding-left: 28px;
    font-size: 11px;
}
.nav-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #98a2b1;
    margin: 24px 12px 10px;
}
.logout {
    margin-top: 25px;
    color: #627086;
    background: none;
    border: 1px solid var(--line);
    width: 100%;
}
.workspace {
    margin-left: 242px;
}
.topbar {
    height: 74px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    font-size: 12px;
    gap: 10px;
}
.admin-chip {
    background: #f0f5fa;
    padding: 7px 12px;
    border-radius: 20px;
    color: #4e6178;
}
.menu-toggle {
    display: none;
}
main {
    padding: 32px 34px;
    max-width: 1700px;
    margin: auto;
    min-height: calc(100vh - 140px);
}
footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 34px;
    color: #91a0af;
    font-size: 10px;
    border-top: 1px solid var(--line);
}
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.page-heading p {
    color: var(--muted);
    margin-bottom: 8px;
}
.page-heading>div {
    min-width: 0;
}
.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 5px #182a4010;
    margin-bottom: 22px;
    min-width: 0;
    overflow: hidden;
}
.padded {
    padding: 25px;
}
.panel-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.panel-head h2 {
    margin: 0;
    font-size: 15px;
}
.panel-head a,.panel-head small {
    font-size: 11px;
}
.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}
.form-grid.three {
    grid-template-columns: repeat(3,minmax(0,1fr));
}
.form-panel {
    max-width: 800px;
}
.centered {
    margin: 32px auto;
}
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(135px,1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.metrics article {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    padding: 21px;
}
.metrics span {
    font-size: 11px;
    color: var(--muted);
    display: block;
}
.metrics strong {
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 1.3;
    display: block;
    margin-top: 8px;
}
.metrics small {
    font-size: 10px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 8px 0 17px;
}
.section-heading h2,.section-heading h3 {
    margin: 0;
}
.section-heading a {
    font-size: 12px;
}
.drive-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}
.drive-card {
    display: block;
    color: var(--ink);
    padding: 24px;
    margin: 0;
}
.drive-card:hover {
    text-decoration: none;
    border-color: #b0d3ed;
    box-shadow: 0 6px 22px #1263a111;
}
.drive-card h3 {
    font-size: 18px;
    margin: 22px 0 8px;
}
.drive-card p {
    color: var(--muted);
    font-size: 12px;
}
.row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.card-bottom {
    border-top: 1px solid var(--line);
    padding-top: 17px;
    margin-top: 23px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
}
.tag {
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    border-radius: 20px;
    background: #edf3fa;
    color: #537599;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
}
.tag.green {
    background: #e9f6ee;
    color: var(--green);
}
.table-wrap {
    overflow: auto;
    width: 100%;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th {
    background: #fafbfd;
    color: #8a96a5;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
    white-space: nowrap;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}
td {
    padding: 15px 20px;
    border-bottom: 1px solid #eef1f5;
    font-size: 12px;
    vertical-align: middle;
    max-width: 360px;
    overflow-wrap: anywhere;
}
td small {
    display: block;
    margin-top: 3px;
    font-size: 10px;
}
tr:last-child td {
    border-bottom: 0;
}
tbody tr:hover {
    background: #fcfdff;
}
.empty {
    text-align: center;
    padding: 55px 25px;
    color: var(--muted);
}
.empty h1,.empty h3 {
    color: var(--ink);
}
.split {
    display: grid;
    grid-template-columns: minmax(260px,1fr) minmax(0,2fr);
    gap: 24px;
}
.actions,.inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.actions select {
    width: auto;
}
.inline-form {
    margin: 15px 0;
}
.inline-form label {
    min-width: 220px;
}
.inline-form button {
    align-self: end;
}
.notice {
    padding: 15px 18px;
    background: #edf5fc;
    border: 1px solid #d4e5f6;
    border-radius: 8px;
    color: #44637e;
    margin-bottom: 20px;
    font-size: 13px;
}
.notice.error {
    background: #fff1f1;
    border-color: #f5d7d7;
    color: #a34242;
}
.notice.success {
    background: #edf8f1;
    border-color: #d5ecde;
    color: #2c7850;
}
.notice p {
    margin: 8px 0;
}
.link-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
}
.link-bar>div {
    flex: 1;
    min-width: 0;
}
.link-bar input {
    border: 0;
    background: none;
    color: var(--blue);
    padding: 4px 0;
}
.link-bar small {
    font-size: 9px;
    letter-spacing: 1px;
}
.link-bar>a {
    font-size: 12px;
    white-space: nowrap;
}
.live-label {
    font-size: 11px;
    color: var(--green);
}
.filters {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 15px;
}
.filters label {
    font-size: 11px;
}
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0,3fr) minmax(240px,1fr);
    gap: 24px;
}
.details {
    margin: 0;
}
.details>div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
dt {
    color: var(--muted);
    font-size: 12px;
}
dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.timeline {
    list-style: none;
    padding: 25px;
}
.timeline li {
    border-left: 2px solid #d8e9f8;
    padding: 0 0 24px 18px;
    position: relative;
}
.timeline li:before {
    content: "";
    position: absolute;
    left: -5px;
    top: 5px;
    background: var(--blue);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.timeline strong {
    display: block;
    font-size: 12px;
}
.timeline small {
    font-size: 10px;
}
.timeline p {
    font-size: 11px;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.mini-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.mini-metrics span {
    font-size: 11px;
    color: var(--muted);
}
.mini-metrics strong {
    display: block;
    font-size: 23px;
    color: var(--ink);
}
details {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}
summary {
    cursor: pointer;
    font-weight: 600;
}
.answer-review {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
pre,.code-editor {
    font: 13px/1.65 Consolas,"Liberation Mono",monospace;
    background: #f7f9fc;
    color: #263d55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    tab-size: 4;
}
pre {
    padding: 18px;
    border-radius: 8px;
    overflow: auto;
}
.bank-editor {
    font-size: 12px;
}
.pre-wrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.approval-form {
    margin-top: 22px;
}
.student-shell {
    max-width: 1480px;
    margin: auto;
}
.student-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 34px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.student-header .brand {
    font-size: 13px;
}
.student-header .brand small {
    font-size: 10px;
}
.student-shell main {
    padding-top: 45px;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1100px;
    margin: 40px auto;
}
.auth-intro h1 {
    font-size: 53px;
    line-height: 1.15;
    margin: 24px 0;
}
.auth-intro p {
    font-size: 16px;
    max-width: 390px;
    color: var(--muted);
}
.auth-card {
    padding: 38px;
}
.auth-card h2 {
    font-size: 27px;
    margin: 10px 0;
}
.pill-list {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    font-size: 11px;
    color: var(--blue);
}
.pill-list span {
    background: #e8f2fb;
    border-radius: 20px;
    padding: 7px 12px;
}
.registration-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 65px;
    max-width: 1200px;
    margin: auto;
}
.registration-layout>section:first-child {
    padding-top: 25px;
}
.registration-layout h1 {
    font-size: 43px;
}
.lead {
    font-size: 18px;
}
.process-list {
    margin: 45px 0;
}
.process-list>div {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}
.process-list b {
    color: var(--blue);
    background: #e4f0fb;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.process-list small {
    display: block;
}
.round-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}
.round-card {
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.round-card h2 {
    max-width: 210px;
}
.round-card p {
    color: var(--muted);
    font-size: 13px;
    flex: 1;
}
.round-number {
    font-size: 45px;
    font-weight: 700;
    color: #dceaf7;
    line-height: 1;
    margin-bottom: 20px;
}
.rules {
    padding-left: 22px;
    color: #54667b;
}
.rules li {
    padding-bottom: 12px;
}
.problem-details dt {
    font-weight: 700;
    margin-top: 13px;
}
.problem-details dd {
    margin-top: 4px;
}
.sticky-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.sticky-actions span {
    margin-right: auto;
    color: var(--muted);
    font-size: 11px;
}
.hidden {
    display: none !important;
}
.wide {
    width: 100%;
}
.exam-mode .student-shell {
    max-width: none;
}
.exam-mode .student-header {
    padding: 12px 25px;
}
.exam-mode main {
    padding: 20px;
}
.exam-mode footer {
    display: none;
}
.exam-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    gap: 15px;
}
.exam-top strong,.exam-top small {
    display: block;
}
.timer-block strong {
    font-size: 28px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    color: var(--blue);
}
.exam-layout {
    display: grid;
    grid-template-columns: 280px minmax(0,1fr);
    gap: 22px;
}
.question-nav {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 7px;
    margin: 20px 0;
}
.question-nav button {
    background: #fff;
    color: #748397;
    border: 1px solid var(--line);
    padding: 0;
    min-height: 32px;
    font-size: 11px;
    border-radius: 5px;
}
.question-nav button.visited {
    background: #edf3fa;
    color: var(--blue);
}
.question-nav button.answered {
    background: #e5f5ea;
    color: var(--green);
    border-color: #c3e8d1;
}
.question-nav button.review {
    background: #eee7fa;
    color: #8257b9;
    border-color: #d9c9f0;
}
.question-nav button.current {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
}
.question-panel {
    padding: 35px;
    min-height: 500px;
}
.question-panel h2 {
    font-size: 18px;
}
.question-panel #question-prompt {
    font-size: 18px;
    margin: 25px 0;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 17px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.option:has(input:checked) {
    border-color: var(--blue);
    background: #f1f7fe;
}
.option input {
    width: 17px;
    flex-shrink: 0;
}
.question-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 35px;
}
.legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 10px;
    margin: 20px 0;
}
.save-state {
    font-size: 11px;
    color: var(--muted);
}
.overlay {
    position: fixed;
    inset: 0;
    background: #142f51c9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px;
    z-index: 60;
}
.overlay .panel {
    max-width: 470px;
}
.overlay::backdrop,dialog::backdrop {
    background: #142f5199;
}
dialog {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    max-width: 460px;
    width: calc(100% - 30px);
    color: var(--ink);
}
dialog button {
    margin-top: 10px;
}
@media (min-width:1500px) {
    .drive-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

}
@media (max-width:1150px) {
    .sidebar {
        width: 215px;
    }
    .workspace {
        margin-left: 215px;
    }
    main {
        padding: 26px;
    }
    .filters {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .split,.profile-layout {
        grid-template-columns: 1fr;
    }
    .auth-layout {
        gap: 35px;
    }
    .auth-intro h1 {
        font-size: 42px;
    }
    .round-grid {
        gap: 14px;
    }
    .round-card {
        padding: 23px;
    }
    .exam-layout {
        grid-template-columns: 235px minmax(0,1fr);
    }

}
@media (max-width:900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s;
        width: 242px;
        box-shadow: 10px 0 30px #223d6522;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .workspace {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .topbar {
        padding: 0 20px;
    }
    .auth-layout,.registration-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 650px;
    }
    .auth-intro {
        display: none;
    }
    .registration-layout h1 {
        font-size: 34px;
    }
    .registration-layout .process-list {
        display: none;
    }
    .round-grid {
        grid-template-columns: 1fr;
    }
    .round-card {
        padding: 25px;
    }
    .round-number {
        font-size: 30px;
    }
    .round-card h2 {
        max-width: none;
    }
    .student-shell main {
        padding-top: 28px;
    }
    .exam-layout {
        grid-template-columns: 1fr;
    }
    .exam-layout>aside {
        order: 2;
    }
    .question-nav {
        grid-template-columns: repeat(10,1fr);
    }
    .question-panel {
        min-height: 400px;
    }
    .exam-top {
        flex-wrap: wrap;
    }
    .exam-top>div:first-child {
        width: 100%;
    }

}
@media (max-width:600px) {
    h1 {
        font-size: 25px;
    }
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .page-heading>.button {
        width: 100%;
    }
    main,.student-shell main {
        padding: 22px 16px;
    }
    .topbar {
        padding: 0 16px;
        height: 64px;
    }
    .desktop {
        display: none;
    }
    .topbar .admin-chip {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .drive-grid,.form-grid,.form-grid.three {
        grid-template-columns: 1fr;
    }
    .metrics {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }
    .metrics article {
        padding: 17px;
    }
    .metrics strong {
        font-size: 26px;
    }
    .panel-head,.padded {
        padding: 19px;
    }
    .panel-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .filters {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .filters .actions {
        grid-column: 1/-1;
    }
    .link-bar {
        flex-wrap: wrap;
        padding: 18px;
    }
    .link-bar>div {
        flex-basis: 100%;
    }
    .link-bar button {
        flex: 1;
    }
    .actions form {
        flex: 1;
    }
    .actions form button {
        width: 100%;
    }
    .student-header {
        padding: 17px 16px;
    }
    .student-header .brand {
        font-size: 10px;
        letter-spacing: 0;
    }
    .student-header .brand small {
        font-size: 9px;
    }
    .student-header .monogram {
        width: 35px;
        height: 35px;
    }
    .student-header button {
        padding: 7px 10px;
        font-size: 11px;
    }
    .auth-card {
        padding: 24px;
    }
    .details>div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .sticky-actions {
        flex-wrap: wrap;
    }
    .sticky-actions span {
        width: 100%;
    }
    .sticky-actions button {
        flex: 1;
    }
    .question-panel {
        padding: 22px;
    }
    .question-nav {
        grid-template-columns: repeat(6,1fr);
    }
    .exam-mode main {
        padding: 12px;
    }
    .question-actions button {
        flex: 1;
    }
    .timer-block strong {
        font-size: 25px;
    }
    .save-state {
        width: 100%;
    }
    footer {
        padding: 18px 16px;
        flex-direction: column;
        gap: 3px;
    }
    .mini-metrics {
        gap: 20px;
    }
    .mini-metrics strong {
        font-size: 19px;
    }

}
/* v2: bundled Inter, original IST branding and distinct evaluation workflows. */
@font-face  {
    font-family: Inter;
    src: url("brand/Inter.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --blue: #0071bc;
    --blue-dark: #005e9e;
    --ink: #203149;
    --muted: #718098;
    --bg: #f6f8fb;
}
body,button,.button,input,select,textarea {
    font-family: Inter,"Segoe UI",Arial,sans-serif;
}
body {
    font-size: 13px;
    line-height: 1.7;
}
h1 {
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -.9px;
}
h2 {
    font-weight: 750;
}
button,.button {
    font-weight: 700;
    letter-spacing: 0;
}
label {
    font-weight: 650;
}
input,select,textarea {
    font-size: 13px;
    line-height: 1.5;
}
.code-editor,pre {
    font-family: Consolas,"Liberation Mono",monospace;
}
.brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.brand .brand-product {
    font: 700 9px/1.2 Inter,sans-serif;
    color: #688099;
    letter-spacing: 2px;
    padding-left: 2px;
}
.sidebar .brand {
    margin: 0 4px 30px;
}
.student-header .brand-logo {
    width: 210px;
}
.student-header .brand .brand-product {
    font-size: 9px;
}
.sidebar nav a {
    font-size: 11.5px;
    font-weight: 650;
    padding: 9px 12px;
}
.sidebar nav a.active {
    background: #e6f1fc;
    border-left: 0;
    padding-left: 12px;
}
.sidebar nav a.sub {
    font-size: 10.5px;
}
.topbar {
    font-size: 11px;
}
.metrics article {
    box-shadow: 0 2px 6px #20314905;
}
.page-heading p {
    max-width: 800px;
}
.brand-logo {
    flex-shrink: 0;
}
.round-tabs {
    display: flex;
    gap: 7px;
    padding: 7px;
    background: #eaf0f7;
    border-radius: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
}
.round-tabs a {
    padding: 10px 17px;
    font-size: 12px;
    font-weight: 700;
    color: #738198;
    border-radius: 7px;
}
.round-tabs a.selected {
    color: var(--blue);
    background: #fff;
    box-shadow: 0 2px 5px #20314910;
}
.round-tabs a:hover {
    text-decoration: none;
    color: var(--blue);
}
.compact-metrics {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}
.compact-metrics article {
    padding: 19px 22px;
}
.compact-metrics strong {
    font-size: 27px;
}
.results-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.filter-main {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr .8fr;
    gap: 15px;
}
.filter-details {
    padding: 0;
    border: 0;
    margin: 0;
}
.filter-details summary {
    font-size: 11px;
    color: var(--blue);
}
.filter-details .filters {
    padding-top: 15px;
}
.results-filters .actions small {
    margin-left: auto;
}
.results-panel .panel-head h2 {
    margin-bottom: 3px;
}
.results-table td {
    padding: 17px 18px;
    font-size: 11px;
}
.results-table th {
    padding: 14px 18px;
    font-size: 9px;
}
.candidate-cell {
    min-width: 210px;
}
.candidate-cell strong {
    font-size: 12px;
}
.candidate-cell small {
    font-size: 10px;
}
.score-value {
    font-size: 17px;
    color: var(--blue);
}
.nowrap {
    white-space: nowrap;
}
.small-button {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 35px;
    white-space: nowrap;
}
.amber-tag {
    background: #fff3d9;
    color: #8f6516;
}
.bulk-bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    background: #fafcff;
}
.bulk-bar label {
    min-width: 200px;
}
.bulk-bar small {
    max-width: 340px;
}
.review-layout {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(320px,1fr);
    gap: 25px;
    align-items: start;
}
.solutions-column {
    min-width: 0;
}
.evaluation-sidebar {
    position: sticky;
    top: 20px;
    min-width: 0;
}
.evaluation-card {
    border-top: 3px solid var(--blue);
}
.evaluation-card .panel-head {
    flex-wrap: wrap;
}
.score-summary {
    background: #edf5fd;
    border: 1px solid #dbeafa;
    border-radius: 10px;
    padding: 19px;
    margin-bottom: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.score-summary>span {
    font-size: 12px;
    color: #5a7592;
}
.score-summary strong {
    font-size: 31px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.25;
}
.score-summary small {
    font-size: 14px;
    font-weight: 600;
}
.score-fields {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}
.score-input {
    position: relative;
    display: block;
}
.score-input input {
    padding-right: 36px;
    min-height: 43px;
}
.score-input>span {
    position: absolute;
    right: 8px;
    top: 12px;
    font-size: 10px;
    color: #8392a6;
}
.score-input input::-webkit-inner-spin-button {
    appearance: none;
}
.evaluation-help {
    font-size: 11px;
    line-height: 1.8;
    color: #7a889a;
    padding: 13px;
    background: #f7f9fc;
    border-radius: 7px;
}
.evaluation-stamp {
    margin: 18px 0 0;
}
.question-label {
    color: var(--blue);
    letter-spacing: 1.3px;
    font-size: 10px;
    font-weight: 800;
}
.solution-card h2 {
    font-size: 18px;
    line-height: 1.7;
}
.solution-card h3 {
    font-size: 12px;
    margin: 22px 0 9px;
}
.problem-spec {
    background: #fafcfe;
    padding: 12px 15px;
}
.problem-spec summary {
    font-size: 11px;
    color: #62758e;
}
.submission-code {
    max-height: 460px;
    overflow: auto;
    white-space: pre;
    overflow-wrap: normal;
    line-height: 1.8;
    font-size: 12px;
    background: #152b43;
    color: #e2eefb;
    border: 1px solid #29415b;
}
.explanation-box {
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 17px;
    color: #5f7189;
    font-size: 12px;
}
.compact-details dt {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-top: 18px;
}
.compact-details dd {
    font-size: 12px;
    margin-top: 3px;
    margin-bottom: 15px;
}
.section-divider {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 10px;
}
.section-divider h3 {
    margin: 0;
}
.section-divider p {
    font-size: 11px;
    color: var(--muted);
    margin: 4px 0 0;
}
.tone-blue {
    --tone: #006ab2;
    --tone-bg: #eaf4ff;
    --tone-line: #cee5fb;
}
.tone-green {
    --tone: #19784f;
    --tone-bg: #eaf7f0;
    --tone-line: #c9e8d7;
}
.tone-amber {
    --tone: #986510;
    --tone-bg: #fff7e7;
    --tone-line: #efddb5;
}
.tone-purple {
    --tone: #7550ae;
    --tone-bg: #f4efff;
    --tone-line: #e3d7f6;
}
.tone-red {
    --tone: #ae3d48;
    --tone-bg: #fff0f1;
    --tone-line: #f3ced4;
}
.tone-slate {
    --tone: #68778b;
    --tone-bg: #f0f3f7;
    --tone-line: #dce3ec;
}
.state-tag {
    color: var(--tone);
    background: var(--tone-bg);
    border: 1px solid var(--tone-line);
}
.batch-state {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 26px;
    border: 1px solid var(--tone-line);
    border-radius: 10px;
    background: var(--tone-bg);
    margin-bottom: 27px;
}
.batch-state .eyebrow {
    color: var(--tone);
    font-size: 9px;
    margin-bottom: 7px;
}
.batch-state h2 {
    font-size: 24px;
    color: var(--tone);
    margin-bottom: 8px;
}
.batch-state p {
    font-size: 12px;
    color: #667992;
    margin: 0;
    max-width: 700px;
}
.gate-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    flex-shrink: 0;
}
.gate-pill {
    padding: 6px 10px;
    font-size: 10px;
    background: #ffffffbf;
    border: 1px solid var(--tone-line);
    border-radius: 7px;
    color: var(--tone);
    font-weight: 700;
}
.batch-stepper {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 10px;
}
.batch-stepper li {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: #fafbfd;
    border-radius: 8px;
    padding: 14px 12px;
    color: #97a3b4;
}
.batch-stepper li>span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf1f6;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}
.batch-stepper strong {
    display: block;
    font-size: 11px;
    white-space: nowrap;
}
.batch-stepper small {
    display: block;
    font-size: 9px;
    white-space: nowrap;
}
.batch-stepper .past {
    background: #fff;
    color: #526e89;
}
.batch-stepper .past>span {
    background: #edf7f1;
    color: #398660;
}
.batch-stepper .current {
    border-color: #95c6ef;
    background: #eaf4fe;
    box-shadow: 0 0 0 2px #e4f1fc;
    color: var(--blue);
}
.batch-stepper .current>span {
    background: var(--blue);
    color: #fff;
}
.batch-stepper .current small {
    color: var(--blue);
}
.batch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.batch-actions button {
    font-size: 11px;
}
.batch-actions button:disabled {
    opacity: 1;
    background: #f3f5f8;
    color: #9aa6b6;
    border-color: #e8ecf1;
    cursor: not-allowed;
}
.control-note {
    font-size: 11px;
    color: var(--muted);
    margin: 17px 0 20px;
}
.batch-results-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}
.panel-head .tag {
    font-size: 10px;
}
@media (max-width:1250px) {
    .review-layout {
        grid-template-columns: minmax(0,1.35fr) minmax(300px,1fr);
    }
    .batch-stepper li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }
    .batch-state {
        gap: 15px;
    }
    .batch-state h2 {
        font-size: 21px;
    }
    .filter-main {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .evaluation-card .padded {
        padding: 20px;
    }

}
@media (max-width:1000px) {
    .review-layout {
        grid-template-columns: 1fr;
    }
    .evaluation-sidebar {
        position: static;
    }
    .score-fields {
        gap: 16px;
    }
    .batch-state {
        flex-direction: column;
    }
    .gate-badges {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    .sidebar .brand-logo {
        width: 190px;
    }

}
@media (max-width:600px) {
    body {
        font-size: 12px;
    }
    h1 {
        font-size: 24px;
    }
    .brand-logo,.student-header .brand-logo {
        width: 180px;
    }
    .student-header .brand .brand-product {
        font-size: 8px;
    }
    .round-tabs {
        margin-bottom: 19px;
    }
    .round-tabs a {
        padding: 9px 12px;
        font-size: 10px;
    }
    .compact-metrics {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }
    .compact-metrics article {
        padding: 16px;
    }
    .compact-metrics span {
        font-size: 10px;
    }
    .compact-metrics strong {
        font-size: 24px;
    }
    .filter-main {
        grid-template-columns: 1fr;
    }
    .results-filters .actions small {
        margin-left: 0;
        width: 100%;
    }
    .results-filters .actions button {
        flex: 1;
    }
    .results-table {
        min-width: 740px;
    }
    .results-table td,.results-table th {
        padding: 13px 15px;
    }
    .bulk-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }
    .bulk-bar label {
        min-width: 0;
    }
    .bulk-bar small {
        max-width: none;
    }
    .review-layout {
        gap: 15px;
    }
    .solution-card .padded {
        padding: 18px;
    }
    .solution-card h2 {
        font-size: 16px;
    }
    .submission-code {
        font-size: 11px;
        padding: 14px;
    }
    .score-fields {
        gap: 8px;
    }
    .score-input input {
        padding-left: 8px;
    }
    .score-input>span {
        font-size: 9px;
    }
    .evaluation-sidebar .padded {
        padding: 19px;
    }
    .batch-state {
        padding: 19px;
        margin-bottom: 20px;
    }
    .batch-state h2 {
        font-size: 20px;
    }
    .batch-state p {
        font-size: 11px;
    }
    .gate-pill {
        font-size: 9px;
    }
    .batch-stepper {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }
    .batch-stepper li {
        flex-direction: row;
        padding: 12px;
    }
    .batch-stepper li:last-child {
        grid-column: 1/-1;
    }
    .batch-actions {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }
    .batch-actions button {
        width: 100%;
        height: 100%;
        font-size: 10px;
        padding: 10px 8px;
    }
    .batch-results-links {
        flex-direction: column;
        gap: 13px;
    }
    .batch-control-panel .panel-head {
        gap: 12px;
    }

}
@media (prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}
/* Campus Drive v3: workspace typography and responsive navigation */
:root {
    --radius: 8px;
    --bg: #f6f7f9;
    --ink: #202b3b;
    --muted: #626f80;
    --line: #e1e5eb;
    --blue: #1766a4;
    --blue-dark: #125181;
}
body {
    font: 14px/1.6 Inter,Arial,sans-serif;
    font-optical-sizing: auto;
}
button,.button,input,select,textarea {
    font-family: inherit;
}
h1 {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.6px;
}
h2 {
    font-weight: 600;
}
h3 {
    font-weight: 600;
}
.panel {
    box-shadow: none;
    border-radius: 8px;
}
.eyebrow {
    letter-spacing: .8px;
    font-size: 11px;
}
.nav-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: #737f8e;
}
.sidebar {
    padding: 24px 14px;
}
.sidebar nav a {
    font-size: 13px;
    padding: 9px 12px;
}
.sidebar nav a.sub {
    font-size: 12px;
}
.sidebar nav a.active {
    background: #eaf2f9;
    color: #135d95;
    box-shadow: none;
    font-weight: 600;
}
.sidebar .brand {
    margin-bottom: 25px;
}
.topbar {
    height: 68px;
}
.admin-chip {
    border-radius: 6px;
    font-size: 12px;
}
.metrics article {
    border-radius: 8px;
    box-shadow: none;
}
.metrics span {
    font-size: 12px;
}
.metrics strong {
    font-size: 28px;
    font-weight: 650;
}
th {
    font-size: 11px;
    letter-spacing: .3px;
    color: #5c6878;
}
td {
    font-size: 13px;
}
.tag {
    font-size: 11px;
    font-weight: 550;
    border-radius: 5px;
}
label {
    font-size: 13px;
}
.panel-head a {
    font-size: 12px;
}
.student-header {
    max-width: none;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 36px;
    gap: 20px;
    flex-wrap: wrap;
}
.student-header .brand {
    max-width: 210px;
}
.public-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.public-nav a {
    font-size: 13px;
    font-weight: 500;
    color: #526075;
    padding: 6px 0;
}
.public-nav a[aria-current=page] {
    color: var(--blue);
    box-shadow: 0 2px var(--blue);
}
.public-nav form {
    margin: 0;
}
.public-nav button {
    min-height: 36px;
    padding: 8px 14px;
}
.entry-page {
    max-width: 900px;
    margin: 52px auto;
}
.entry-heading {
    margin-bottom: 28px;
}
.entry-heading h1 {
    font-size: 32px;
}
.entry-heading p,.entry-card p {
    color: var(--muted);
}
.entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.entry-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.entry-card h2 {
    font-size: 21px;
    margin: 12px 0;
}
.entry-card p {
    flex: 1;
}
.entry-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .7px;
    color: var(--muted);
}
.access-card {
    max-width: 460px;
    padding: 34px;
    margin: 44px auto;
}
.access-card h1 {
    font-size: 25px;
}
.access-card .stack {
    margin-top: 26px;
}
.access-help {
    border-top: 1px solid var(--line);
    margin: 26px 0 0;
    padding-top: 20px;
    font-size: 13px;
    color: var(--muted);
}
.readiness {
    background: #fff9ed;
    border: 1px solid #ecd8af;
    border-radius: 7px;
    padding: 18px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.readiness strong {
    color: #805518;
}
.readiness p {
    margin: 5px 0 0;
    font-size: 13px;
}
.readiness .button {
    flex-shrink: 0;
}
.action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.question-preview {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}
.question-preview summary {
    cursor: pointer;
    overflow-wrap: anywhere;
    font-size: 13px;
}
.question-preview summary span {
    font-weight: 650;
    margin-right: 12px;
}
.question-content {
    padding: 18px 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.question-content pre {
    white-space: pre-wrap;
}
.question-content li {
    margin-bottom: 8px;
}
.portal-sync {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    margin: -8px 0 24px;
}
.portal-sync #portal-connection {
    color: #267346;
}
.round-number {
    background: #eef3f7;
    color: #52687c;
    box-shadow: none;
}
.round-card {
    border-top: 1px solid var(--line);
}
.nav-close,.nav-backdrop {
    display: none;
}
.hidden {
    display: none !important;
}
@media (max-width:1100px) {
    main {
        padding: 24px;
    }
    .round-grid {
        grid-template-columns: 1fr;
    }
    .round-card {
        padding: 24px;
    }
    .round-card p {
        max-width: 760px;
    }
    .batch-actions {
        gap: 10px;
    }

}
@media (max-width:900px) {
    .workspace {
        margin-left: 0;
    }
    .sidebar {
        transform: translateX(-100%);
        width: 260px;
        transition: transform .15s;
        z-index: 41;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .menu-toggle {
        display: inline-flex;
    }
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: #10213466;
        border: 0;
        border-radius: 0;
        z-index: 40;
        padding: 0;
    }
    .nav-backdrop:hover {
        background: #10213466;
    }
    .nav-close {
        display: flex;
        margin-bottom: 20px;
    }
    .nav-open {
        overflow: hidden;
    }
    .topbar {
        padding: 12px 20px;
    }
    .readiness {
        align-items: flex-start;
        flex-direction: column;
    }
    .readiness .button {
        width: 100%;
    }

}
@media (max-width:600px) {
    main {
        padding: 20px 16px;
    }
    h1 {
        font-size: 24px;
    }
    .student-header {
        padding: 16px;
        gap: 16px;
    }
    .student-header .brand {
        max-width: 185px;
    }
    .public-nav {
        gap: 17px;
        width: 100%;
        border-top: 1px solid var(--line);
        padding-top: 10px;
    }
    .public-nav a {
        font-size: 12px;
    }
    .entry-page {
        margin: 20px auto;
    }
    .entry-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .entry-card {
        padding: 24px;
    }
    .access-card {
        padding: 24px;
        margin: 12px auto;
    }
    .access-card h1 {
        font-size: 23px;
    }
    .batch-stepper {
        overflow-x: auto;
    }
    .panel-head {
        flex-wrap: wrap;
    }
    .padded {
        padding: 18px;
    }
    .admin-chip {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .topbar>.muted {
        font-size: 11px;
    }
    .portal-sync {
        flex-direction: column;
    }
    .action-row>* {
        width: 100%;
    }
    .question-preview summary span {
        display: block;
        margin-bottom: 5px;
    }
    footer {
        padding: 18px 16px;
        flex-wrap: wrap;
    }
    .entry-card .button {
        width: 100%;
    }

}
@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }

}
/* Flat navigation and batch controls. Full replacement stylesheet. */
.sidebar nav a,
.sidebar nav a:hover,
.sidebar nav a.active,
.sidebar nav a[aria-current="page"] {
    border: 0;
    box-shadow: none;
    background-image: none;
    text-decoration: none;
}
.sidebar nav a {
    color: #526071;
    border-radius: 5px;
}
.sidebar nav a:hover {
    background: #f4f5f7;
    color: #263343;
}
.sidebar nav a.active,
.sidebar nav a[aria-current="page"] {
    background: #edf1f5;
    color: #1c527b;
    font-weight: 600;
}
.public-nav a[aria-current="page"] {
    box-shadow: none;
    background: #edf1f5;
    border-radius: 5px;
    color: #1c527b;
    padding: 6px 10px;
}
.batch-control-panel {
    border: 1px solid var(--line);
    box-shadow: none;
}
.batch-control-panel .panel-head {
    background: #fff;
    padding: 18px 24px;
}
.batch-control-panel .panel-head h2 {
    font-size: 16px;
    font-weight: 600;
}
.batch-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 6px;
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: none;
}
.batch-state > div:first-child {
    min-width: 0;
}
.batch-state .eyebrow {
    color: #697586;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 7px;
}
.batch-state h2 {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    color: #253345;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}
.batch-state p {
    color: #647184;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}
.gate-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gate-pill {
    background: #fff;
    color: #526071;
    border: 1px solid #dde3ea;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 500;
}
/* Status remains legible through its text and a small colour badge. */
.state-tag {
    border: 0;
    border-radius: 4px;
    padding: 5px 9px;
    font-weight: 600;
}
.batch-stepper {
    gap: 8px;
    margin-bottom: 22px;
}
.batch-stepper li,
.batch-stepper .past,
.batch-stepper .current {
    border: 1px solid #e2e6ec;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
    padding: 12px;
    color: #687588;
}
.batch-stepper .current {
    background: #edf2f7;
    border-color: #d3dde7;
    color: #254c6c;
}
.batch-stepper li > span,
.batch-stepper .past > span,
.batch-stepper .current > span {
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    width: 23px;
    height: auto;
    font-size: 12px;
    font-weight: 600;
}
.batch-stepper strong {
    font-size: 12px;
    font-weight: 600;
}
.batch-stepper small {
    color: #728093;
    font-size: 10px;
}
.batch-stepper .current small {
    color: #49647b;
}
.batch-actions {
    gap: 10px;
}
.batch-actions form {
    margin: 0;
}
.batch-actions button {
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 14px;
    box-shadow: none;
}
.batch-actions button.primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.batch-actions button.primary:hover:not(:disabled) {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}
.batch-actions button.secondary {
    background: #fff;
    border-color: #d7dee7;
    color: #415166;
}
.batch-actions button.secondary:hover:not(:disabled) {
    background: #f4f6f8;
    border-color: #bfcbd7;
    color: #263b50;
}
.batch-actions button.danger {
    background: #fff;
    border-color: #e8cfd1;
    color: #a23e48;
}
.batch-actions button.danger:hover:not(:disabled) {
    background: #fff3f4;
    border-color: #d7acb2;
}
.batch-actions button:disabled,
.batch-actions button:disabled:hover {
    opacity: 1;
    background: #f4f5f7;
    color: #7d8794;
    border-color: #e4e7ec;
    cursor: not-allowed;
}
.control-note {
    font-size: 12px;
    line-height: 1.65;
    margin-top: 16px;
}
.batch-results-links {
    font-size: 12px;
    font-weight: 500;
    gap: 14px 24px;
}
.readiness {
    background: #faf8f2;
    border: 1px solid #e6dfcd;
    border-radius: 5px;
    box-shadow: none;
}
.readiness strong {
    font-weight: 600;
    color: #725f35;
}
.panel, .metrics article, .drive-card, .drive-card:hover {
    box-shadow: none;
}
.round-tabs a.selected {
    box-shadow: none;
}
@media (max-width: 1000px) {
    .batch-state {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .gate-badges {
        flex-direction: row;
        align-items: center;
    }

}
@media (max-width: 600px) {
    .batch-control-panel .panel-head {
        padding: 18px;
    }
    .batch-state {
        padding: 18px;
        margin-bottom: 18px;
    }
    .batch-state h2 {
        font-size: 20px;
    }
    .batch-state p {
        font-size: 12px;
    }
    .batch-stepper li {
        padding: 11px 10px;
    }
    .batch-stepper strong {
        font-size: 11px;
    }
    .batch-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .batch-actions button {
        font-size: 11px;
        padding: 10px 8px;
        white-space: normal;
    }
    .gate-pill {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

}
@media (max-width: 360px) {
    .batch-actions {
        grid-template-columns: 1fr;
    }

}


/* v5 navigation and monitored coding assessment */
.sidebar {display:flex;flex-direction:column;height:100dvh;overflow-y:auto;overscroll-behavior:contain;}
.sidebar .brand {flex-shrink:0;}
.sidebar nav {display:flex;flex-direction:column;gap:4px;}
.sidebar nav a {display:flex;align-items:center;min-height:42px;padding:10px 14px;line-height:1.4;border-left:3px solid transparent;}
.sidebar nav a.active {border-left-color:var(--blue);background:#e9f4ff;color:var(--blue-dark);font-weight:700;}
.sidebar nav .nav-label {margin:18px 14px 6px;}
.sidebar > form {margin-top:auto;padding-top:20px;}
.workspace, .workspace main {min-width:0;}
.topbar {gap:16px;}
.public-nav {display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
.public-nav form {margin:0;}
.r2-toolbar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:10;padding:14px 20px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 3px 12px #1726380d;margin-bottom:20px;}
#r2-timer {font-variant-numeric:tabular-nums;font-size:22px;color:var(--blue-dark);}
#r2-gate {max-width:480px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 16px 64px #17263833;}
#r2-gate::backdrop {background:rgba(15,30,48,.7);}
#r2-monitor-state {border-left:4px solid #d39425;}
:fullscreen {background:var(--bg);overflow-y:auto;}
body.round2-active .public-nav,body.round2-active .sidebar,body.round2-active .topbar {display:none;}
body.round2-active .student-shell {max-width:1300px;}
body.round2-active .workspace {margin-left:0;}
body.round2-active .student-header {padding:14px 28px;}
@media (min-width:901px) {.nav-close,.nav-backdrop {display:none;} .sidebar {visibility:visible;}}
@media (max-width:900px) {
 .sidebar {z-index:60;width:min(290px,85vw);visibility:hidden;transition:transform .2s,visibility .2s;}
 .sidebar.open {visibility:visible;}
 .nav-backdrop {z-index:50;}
 .nav-close {display:inline-flex;align-self:flex-end;margin-bottom:12px;}
 .workspace {margin-left:0;}
}
@media (max-width:600px) {.r2-toolbar {padding:12px;} .public-nav {width:100%;justify-content:flex-start;} .student-header {align-items:flex-start;} }


/* v6: navigation only; existing page styling is retained. */
.sidebar {width:252px;padding:24px 16px 18px;background:#fff;border-right:1px solid #e4eaf1;}
.sidebar .brand {display:block;padding:4px 12px 22px;margin:0 0 10px;border-bottom:1px solid #edf0f4;}
.sidebar .brand-logo {display:block;width:190px;max-width:100%;height:auto;}
.sidebar nav {gap:3px;}
.sidebar nav .nav-label {margin:18px 12px 8px;color:#8993a1;font-size:10px;letter-spacing:1.5px;font-weight:700;}
.sidebar nav .nav-label:first-child {margin-top:8px;}
.sidebar nav a {min-height:42px;padding:10px 12px;border:0;border-radius:7px;font-size:13px;font-weight:500;color:#536174;line-height:1.4;text-decoration:none;}
.sidebar nav a:hover {background:#f4f7fb;color:#1766a4;}
.sidebar nav a.active,.sidebar nav a[aria-current="page"] {background:#eaf3fc;color:#125181;box-shadow:inset 3px 0 #1766a4;font-weight:650;}
.sidebar nav a.nav-child {margin-left:16px;padding-left:16px;min-height:35px;font-size:12px;border-left:1px solid #e3eaf2;border-radius:0 7px 7px 0;}
.sidebar > form {border-top:1px solid #edf0f4;margin-top:20px;padding-top:16px;}
.sidebar .logout {width:100%;justify-content:flex-start;border:1px solid #e4eaf1;border-radius:7px;padding:10px 12px;background:#fff;color:#536174;}
.sidebar .logout:hover {background:#fff1f1;color:#a93636;}
.results-table .decision-cell,.results-table .decision-tag {white-space:nowrap;word-break:normal;overflow-wrap:normal;}
.results-table .decision-cell {min-width:145px;}
.question-bank-sections details summary {font-size:15px;}
.question-bank-sections .bank-editor {max-height:520px;}
@media(min-width:901px){.workspace {margin-left:252px;}}
@media(max-width:900px){.sidebar {width:min(280px,85vw);} .workspace {margin-left:0;}}

.results-table td > .tag {white-space:nowrap;word-break:normal;overflow-wrap:normal;}


/* v7: compact operational navigation and plain surfaces */
.app-header {position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:30px;min-height:76px;padding:14px 28px;background:#fff;border-bottom:1px solid #dfe5eb;}
.app-header .brand {display:block;flex-shrink:0;margin:0;padding:0;}
.app-header .brand-logo {display:block;width:178px;height:auto;}
.top-workspace.workspace {margin-left:0;}
.top-workspace main {max-width:1600px;margin:auto;}
.top-navigation {display:flex;align-items:center;gap:8px;flex:1;}
.top-navigation > a,.nav-dropdown > summary {display:block;padding:10px 13px;color:#475569;font-size:13px;font-weight:600;border-radius:4px;cursor:pointer;white-space:nowrap;list-style:none;}
.nav-dropdown > summary::-webkit-details-marker,.drive-menu > summary::-webkit-details-marker {display:none;}
.nav-dropdown > summary::after {content:'⌄';margin-left:9px;color:#64748b;}
.top-navigation a:hover,.nav-dropdown > summary:hover {background:#f3f5f7;text-decoration:none;}
.top-navigation a.active,.nav-dropdown.active > summary {background:#edf3f9;color:#125181;}
.nav-dropdown,.drive-menu {position:relative;margin:0;padding:0;border:0;border-radius:0;}
.nav-dropdown-panel,.drive-menu-panel {position:absolute;top:calc(100% + 8px);left:0;min-width:205px;padding:6px;background:#fff;border:1px solid #dfe5eb;border-radius:5px;box-shadow:0 5px 14px #17263814;z-index:45;}
.nav-dropdown-panel a,.nav-signout,.drive-menu-panel a,.drive-menu-panel button {display:block;width:100%;padding:10px 12px;margin:0;border:0;background:transparent;color:#475569;text-align:left;font-size:13px;font-weight:500;border-radius:3px;white-space:nowrap;}
.nav-dropdown-panel form,.drive-menu-panel form {margin:0;}
.account-menu {margin-left:auto;}
.account-menu .nav-dropdown-panel {left:auto;right:0;}
#top-menu-toggle {display:none;}
.drive-menu > summary {display:flex;justify-content:center;align-items:center;width:36px;height:36px;border:1px solid #dfe5eb;border-radius:4px;font-size:24px;line-height:1;cursor:pointer;list-style:none;color:#475569;background:#fff;}
.drive-menu-panel {left:auto;right:0;}
.drive-menu-panel .danger-link {color:#b42318;}
.drive-card {overflow:visible;background:#fff;transform:none!important;box-shadow:none!important;}
.drive-card:hover {transform:none;box-shadow:none;}
.drive-card .row {margin-bottom:14px;}
.drive-title {display:block;}
.panel,.batch-state,.hero,.metric,.metrics article {background-image:none!important;box-shadow:none;}
.panel {border-radius:5px;}
body.round2-active .app-header {display:none;}
@media(max-width:900px){
 .app-header {flex-wrap:wrap;gap:12px;padding:12px 18px;}
 #top-menu-toggle {display:inline-flex;margin-left:auto;}
 .top-navigation {display:none;width:100%;flex-basis:100%;flex-direction:column;align-items:stretch;}
 .top-navigation.open {display:flex;}
 .account-menu {margin-left:0;}
 .nav-dropdown-panel {position:static;margin:4px 0 8px 12px;box-shadow:none;border:0;border-left:2px solid #e2e8f0;}
 .top-workspace.workspace {margin-left:0;}
}

.pagination-bar {display:flex;justify-content:center;align-items:center;gap:18px;padding:24px;}


/* IST Campus Drive public landing page. All other app modules retain their existing styles. */
.public-layout:has(.campus-home) { background: #f5f7fb; }
.public-layout:has(.campus-home) .student-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 8px #17263809; }
.public-layout:has(.campus-home) .student-shell { max-width: none; }
.public-layout:has(.campus-home) .student-shell main { padding: 0 28px 58px; }
.campus-home { max-width: 1220px; margin: 0 auto; }
.campus-hero { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(310px,.88fr); gap: 55px; align-items: center; padding: 72px 0 64px; }
.campus-hero-copy h1 { font-size: clamp(36px,4.2vw,58px); max-width: 720px; line-height: 1.13; letter-spacing: -2.1px; margin: 12px 0 22px; color: #132b45; }
.campus-lead { font-size: 17px; line-height: 1.8; max-width: 600px; color: #506178; }
.campus-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.campus-actions .button, .campus-bottom-cta .button { min-height: 47px; font-size: 14px; padding: 12px 20px; }
.campus-fineprint { font-size: 12px; color: #65778a; margin: 18px 0 0; }
.campus-hero-panel { background: #fff; border: 1px solid #dde7f1; border-radius: 18px; padding: 32px; box-shadow: 0 18px 54px #13446c0e; }
.campus-process-top { display:flex; gap:12px; align-items:center; justify-content:space-between; }
.campus-process-top .eyebrow { margin: 0; }
.campus-pill { border: 1px solid #dcd6fc; background:#f6f3ff; color:#6950c7; border-radius: 30px; font-weight:700; padding:5px 12px; font-size:11px; white-space: nowrap; }
.campus-process-list { padding:0; margin: 23px 0; list-style:none; }
.campus-process-list li { display:flex; align-items:flex-start; gap:16px; padding: 16px 0; border-bottom: 1px solid #e7edf4; }
.campus-process-list li:last-child {border-bottom:0;}
.campus-process-list li > span { width:40px; height:40px; display:grid; place-items:center; flex-shrink:0; border-radius:10px; background:#eaf4ff; color:#075eaf; font-weight:800; }
.campus-process-list strong { display:block; font-size:15px; color:#172638; }
.campus-process-list small { font-size:12px; color:#627286; display:block; margin-top:3px; }
.campus-process-caption { font-size:12px; color:#667a90; background:#f4f8fc; padding:12px 14px; border-radius:8px; margin-bottom:0; }
.campus-section { padding: 42px 0 55px; scroll-margin-top:100px; }
.campus-section-intro { margin:0 0 25px; max-width:760px; }
.campus-section-intro h2 { font-size: clamp(25px,3vw,34px); line-height:1.25; letter-spacing:-.85px; color:#172638; margin-bottom:10px; }
.campus-section-intro p { color: #64748b; margin-bottom:0; font-size:14px; }
.campus-start .entry-grid { max-width: none; gap: 20px; }
.campus-access-card { border-radius:12px; padding:28px 32px; border:1px solid #e0e8f0; }
.campus-access-card h3 { font-size:21px; margin: 12px 0; }
.campus-access-card p { font-size:14px; line-height:1.7; }
.campus-access-card .button { margin-top: 10px; }
.campus-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.campus-steps article { padding:24px 20px; border:1px solid #e0e8f0; background:#fff; border-radius:12px; }
.campus-step-index { color:var(--blue); font-weight:800; font-size:18px; display:block; padding-bottom:18px; }
.campus-steps h3,.campus-features h3 { font-size:16px; margin:0 0 10px; }
.campus-steps p,.campus-features p { color:#617184; font-size:13px; line-height:1.75; margin:0; }
.campus-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.campus-features .panel { padding:23px; border-radius:12px; border:1px solid #e0e8f0; }
.campus-faq-items { display:grid; gap:10px; }
.campus-faq-items details { border:1px solid #dfe7ef; border-radius:10px; background:#fff; padding: 0 20px; }
.campus-faq-items summary { cursor:pointer; font-size:14px; color:#203448; font-weight:650; padding:19px 4px; }
.campus-faq-items details[open] summary { color:var(--blue); }
.campus-faq-items details p { padding:0 4px 18px; margin:0; font-size:13px; line-height:1.75; color:#65758b; max-width:890px; }
.campus-bottom-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; border:1px solid #bdd7ed; background:#e9f3fc; padding:32px 36px; border-radius:14px; margin-top:20px; }
.campus-bottom-cta h2 { font-size:25px; margin:0 0 8px; }
.campus-bottom-cta p { color:#516d88; margin:0; }
.public-layout .student-shell > footer a { margin-left:10px; color:#2361a0; }
@media(max-width:950px) { .campus-hero { grid-template-columns:1fr; gap:25px; padding:40px 0 26px; } .campus-hero-copy h1 { max-width:800px; } .campus-hero-panel { max-width:740px; } .campus-steps {grid-template-columns:repeat(2,minmax(0,1fr));} .campus-features {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:600px) { .public-layout:has(.campus-home) .student-shell main {padding:0 16px 35px;} .campus-hero {padding:35px 0 18px;} .campus-hero-copy h1 {font-size:34px;letter-spacing:-1.3px;} .campus-lead {font-size:14px;} .campus-hero-panel {padding:20px;} .campus-steps,.campus-features,.campus-start .entry-grid {grid-template-columns:1fr;} .campus-start .entry-grid {gap:14px;} .campus-section {padding:30px 0;} .campus-steps {gap:12px;} .campus-bottom-cta {align-items:flex-start;flex-direction:column;padding:24px;} .campus-bottom-cta .button,.campus-actions .button {width:100%;} .campus-access-card {padding:22px;} }
