.student-workspace {
  max-width: 1440px;
  padding-top: 24px;
}
.header-inner {
  max-width: 1440px;
}
.exam-heading {
  margin-bottom: 29px;
}
.exam-heading .pill {
  font-size: 0.75rem;
}
.tab-scroll {
  margin-bottom: 24px;
}
.tabs {
  gap: 33px;
}
.tabs button {
  padding-bottom: 17px;
}
.tab-check {
  display: inline-flex;
  color: #39a582;
}
.tab-check .icon {
  width: 14px !important;
  height: 14px !important;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dfe6f1;
  border-radius: 10px;
  padding: 11px 20px 11px 14px;
  min-width: 194px;
  flex-shrink: 0;
}
.timer-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #edf3ff;
  color: var(--blue);
  border-radius: 9px;
}
.timer-icon .icon {
  height: 19px;
  width: 19px;
}
.countdown > div {
  display: flex;
  flex-direction: column;
}
.timer-label {
  color: #8592a6;
  font-size: 0.75rem;
}
.timer-value {
  font:
    750 1.45rem/1.35 Manrope,
    sans-serif;
  letter-spacing: 0.03rem;
  color: #254b86;
}
.countdown.low {
  background: #fff7ed;
  border-color: #edcf9c;
}
.countdown.low .timer-value {
  color: #a85d15;
}
.student-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 23px;
  align-items: start;
}
.exam-main {
  min-width: 0;
}
.exam-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  background: #edf6f1;
  border: 1px solid #deece3;
  border-radius: 9px;
  color: #668273;
  font-size: 0.8125rem;
  margin-bottom: 19px;
}
.exam-status-strip > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.exam-status-strip strong {
  color: #358261;
  font-weight: 550;
}
.exam-status-strip .icon {
  height: 16px;
  width: 16px;
}
.exam-status-strip .session-mode {
  font-size: 0.75rem;
  color: #7f9488;
  border-left: 1px solid #d0e3d6;
  padding-left: 13px;
  white-space: nowrap;
}
.question-card {
  overflow: visible;
}
.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 27px;
  border-bottom: 1px solid var(--line);
}
.question-position {
  display: flex;
  align-items: center;
  gap: 13px;
}
.question-position strong {
  font-size: 0.9375rem;
  font-weight: 650;
}
.question-position strong span {
  color: #98a3b4;
  font-weight: 400;
}
.question-position .pill {
  font-size: 0.75rem;
  background: #f1f4f9;
  color: #8794a9;
}
.question-marks {
  font-size: 0.75rem;
  color: #8494aa;
  display: flex;
  align-items: center;
  gap: 6px;
}
.question-marks b {
  color: #2c9874;
  font-weight: 550;
}
.question-body {
  padding: 29px 28px 30px;
  min-height: 392px;
}
.question-topic {
  color: #7b92b4;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.question-topic:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #7b9ed5;
  border-radius: 50%;
}
.question-body h2 {
  font-size: 1.4rem;
  font-weight: 750;
  line-height: 1.65;
  letter-spacing: -0.025rem;
  max-width: 700px;
}
.question-hint {
  font-size: 0.875rem;
  margin-top: 10px;
  color: #97a2b4;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  border: 0;
  padding: 0;
}
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.option:hover {
  background: #f8faff;
  border-color: #adc6f3;
}
.option:has(input:checked) {
  background: #eff5ff;
  border-color: #4a83e9;
  box-shadow: 0 0 0 1px #4a83e90b;
}
.option:has(input:focus-visible) {
  outline: 3px solid #8ab3ff;
  outline-offset: 3px;
}
.option:has(input:disabled) {
  cursor: default;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-letter {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid #e4e9f3;
  color: #8593a9;
  border-radius: 6px;
  background: #f8faff;
  font-size: 0.8125rem;
  font-weight: 500;
}
.option:has(input:checked) .option-letter {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.option-copy {
  flex: 1;
  color: #5c708e;
  font-size: 1rem;
}
.option:has(input:checked) .option-copy {
  color: #2e589c;
}
.option-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #ced8e7;
  position: relative;
  flex-shrink: 0;
}
.option:has(input:checked) .option-radio {
  border-color: var(--blue);
  background: var(--blue);
}
.option:has(input:checked) .option-radio:after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}
.question-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 27px;
  border-top: 1px solid var(--line);
}
.mark-button {
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: #7889a2;
  padding: 8px 10px;
}
.mark-button .icon {
  height: 15px;
  width: 15px;
}
.mark-button.marked {
  border-color: #d3c5ed;
  background: #f5f0ff;
  color: #8b6bbb;
}
.clear-button {
  font-size: 0.8125rem;
  color: #8b98ac;
  border: 0;
  padding: 8px;
  background: none;
}
.clear-button:hover {
  color: var(--blue);
}
.exam-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
}
.exam-actions .button {
  min-width: 110px;
}
.saved-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #8b9bab;
  max-width: 230px;
  text-align: center;
}
.saved-indicator .icon {
  height: 14px;
  width: 14px;
  color: #70a792;
}
.exam-bottom-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  color: #9aa7ba;
  font-size: 0.75rem;
  margin-top: 22px;
}
.exam-bottom-note .icon {
  height: 13px;
  width: 13px;
  margin-top: 3px;
}
.exam-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.navigator-card {
  padding: 21px 21px 19px;
}
.navigator-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.navigator-title h3 {
  font-size: 0.9375rem;
}
.navigator-title > span {
  font-size: 0.75rem;
  color: #8697ad;
}
.navigator-progress {
  margin-top: 17px;
  margin-bottom: 20px;
}
.navigator-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: #8b9bae;
  margin-bottom: 7px;
}
.navigator-progress strong {
  font-weight: 500;
  color: #3c8f73;
}
.navigator-progress progress {
  height: 5px;
  margin: 0;
}
.navigator-progress progress::-webkit-progress-value {
  background: #3b9e81;
}
.navigator-progress progress::-moz-progress-bar {
  background: #3b9e81;
}
.question-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.question-number {
  width: 100%;
  min-height: 34px;
  aspect-ratio: 1.13;
  display: grid;
  place-items: center;
  border: 1px solid #e5eaf2;
  border-radius: 6px;
  background: #f8fafd;
  color: #96a2b5;
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
}
.question-number:hover {
  border-color: var(--blue);
}
.question-number.answered {
  background: #eaf5ef;
  border-color: #d9eadf;
  color: #4a987c;
}
.question-number.current {
  border: 1.5px solid var(--blue);
  background: #edf3ff;
  color: var(--blue);
  box-shadow: 0 0 0 2px #2463eb0c;
  font-weight: 700;
}
.question-number.marked:after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #977ac9;
  box-sizing: content-box;
}
.question-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 12px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: #91a0b5;
}
.question-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.question-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid #dfe6f1;
  background: #f7f9fc;
}
.question-legend .answered-key {
  background: #eaf5ef;
  border-color: #d6e8dd;
}
.question-legend .current-key {
  border-color: #4681eb;
  background: #edf3ff;
}
.question-legend .review-key {
  background: #aa8ccc;
  border: 0;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin: 0 1px;
}
.navigator-card > .button {
  width: 100%;
  margin-top: 19px;
  font-size: 0.875rem;
}
.camera-card {
  padding: 17px;
}
.camera-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  gap: 10px;
}
.camera-header h3 {
  font-size: 0.875rem;
}
.camera-header > span {
  color: #6c8e7d;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.camera-header > span .icon {
  height: 13px;
  width: 13px;
}
.student-camera {
  background: #edf2f9;
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.camera-avatar {
  height: 64px;
  width: 64px;
  background: #dde7f5;
  border: 4px solid #e7eef8;
  box-shadow: 0 0 0 1px #d7e3f5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font:
    650 1.15rem Manrope,
    sans-serif;
  color: #809ac0;
}
.camera-demo {
  position: absolute;
  top: 9px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #8b9ab0;
}
.camera-demo .icon {
  height: 12px;
  width: 12px;
}
.camera-caption {
  position: absolute;
  bottom: 9px;
  font-size: 0.75rem;
  color: #95a5bb;
}
.camera-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 8px;
  font-size: 0.75rem;
  color: #8c9db3;
}
.camera-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.camera-footer .icon {
  width: 13px;
  height: 13px;
}
.camera-footer span:first-child .icon {
  color: #68a490;
}
.camera-note {
  margin-top: 11px;
  color: #99a7b9;
  font-size: 0.75rem;
  line-height: 1.6;
}
.student-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #eff3fb;
  border: 1px solid #e1e8f3;
  border-radius: 9px;
  color: #7c8fad;
  gap: 12px;
}
.student-help > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.student-help .icon {
  height: 17px;
  width: 17px;
}
.student-help strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 550;
  color: #647e9f;
}
.student-help p {
  font-size: 0.75rem;
  color: #94a4bb;
}
.student-help button {
  border: 0;
  background: none;
  color: #7e97b9;
  padding: 2px;
}
.page-lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.page-lead h2 {
  font-size: 1.3rem;
}
.page-lead p {
  font-size: 0.875rem;
  margin-top: 5px;
}
.student-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}
.rule-card {
  padding: 25px 27px;
}
.rule-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.rule-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.rule-index {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  height: 31px;
  width: 31px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: #7894c2;
  font-size: 0.875rem;
  font-weight: 500;
}
.rule-item strong {
  font-weight: 550;
  font-size: 0.9375rem;
}
.rule-item p {
  font-size: 0.875rem;
  margin-top: 5px;
  line-height: 1.7;
}
.exam-facts {
  padding: 24px;
}
.exam-facts h3 {
  margin-bottom: 20px;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 16px 0;
  font-size: 0.875rem;
  color: #8c9bb0;
}
.fact-row strong {
  font-weight: 500;
  color: #526982;
  text-align: right;
}
.fact-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 19px 0;
}
.exam-facts > .button {
  width: 100%;
  margin-top: 10px;
}
.fact-note {
  font-size: 0.75rem;
  line-height: 1.7;
  margin-top: 17px;
}
.check-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eff7f3;
  border: 1px solid #deede3;
  padding: 18px 21px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.check-summary > span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #e2f1e8;
  color: #4c9f7d;
  flex-shrink: 0;
}
.check-summary strong {
  font-size: 0.9375rem;
  font-weight: 550;
  color: #407e62;
}
.check-summary p {
  font-size: 0.8125rem;
  margin-top: 4px;
  color: #83a28f;
}
.check-list {
  padding: 4px 24px;
}
.system-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.system-row:last-child {
  border: 0;
}
.system-row .health-icon {
  width: 39px;
  height: 39px;
  color: #7d95b6;
  flex-shrink: 0;
}
.system-row > div {
  flex: 1;
}
.system-row strong {
  font-size: 0.9375rem;
  font-weight: 550;
}
.system-row p {
  font-size: 0.8125rem;
  margin-top: 4px;
}
.system-row .pill {
  font-size: 0.75rem;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.check-action {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.check-action p {
  font-size: 0.75rem;
  max-width: 350px;
}
.student-activity-card {
  padding: 24px 27px;
}
.activity-day {
  font-size: 0.75rem;
  color: #96a5b9;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.personal-event {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.personal-event:last-child {
  border: 0;
  padding-bottom: 0;
}
.personal-event > .event-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}
.personal-event > div {
  flex: 1;
}
.personal-event h3 {
  font-size: 0.9375rem;
}
.personal-event p {
  font-size: 0.875rem;
  margin-top: 5px;
  line-height: 1.7;
}
.personal-event time {
  font-size: 0.75rem;
  color: #94a3b7;
  white-space: nowrap;
  padding-top: 3px;
}
.personal-event .button {
  margin-top: 14px;
  font-size: 0.8125rem;
}
.event-status {
  font-size: 0.75rem;
  color: #81a795;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}
.event-status .icon {
  width: 13px;
  height: 13px;
}
.student-aside {
  padding: 23px;
}
.student-aside > .mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  margin-bottom: 17px;
}
.student-aside > .mini-icon .icon {
  width: 19px;
  height: 19px;
}
.student-aside h3 {
  margin-bottom: 9px;
}
.student-aside p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 10px;
}
.student-aside .aside-note {
  font-size: 0.75rem;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.submission-card {
  padding: 29px;
}
.submission-card > h3 {
  font-size: 1.125rem;
}
.submission-card > p {
  font-size: 0.875rem;
  margin-top: 6px;
}
.submission-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 25px 0;
}
.submission-stat {
  padding: 18px;
  background: #f7f9fc;
  border: 1px solid #e7edf5;
  border-radius: 9px;
}
.submission-stat > strong {
  display: block;
  font:
    750 1.8rem/1.3 Manrope,
    sans-serif;
  margin-bottom: 8px;
}
.submission-stat > span {
  font-size: 0.75rem;
  color: #8c9ab0;
}
.submission-stat.answered {
  background: #f0f8f3;
  border-color: #dfede4;
}
.submission-stat.answered > strong {
  color: #4a9476;
}
.submission-stat.marked {
  background: #f7f3fc;
  border-color: #e9e1f4;
}
.submission-stat.marked > strong {
  color: #987cc0;
}
.submission-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8ed;
  border: 1px solid #f3e6ce;
  border-radius: 8px;
  color: #a8916d;
  padding: 15px 17px;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 23px;
}
.submission-warning .icon {
  height: 17px;
  width: 17px;
  margin-top: 4px;
  color: #c7a46b;
}
.submission-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: flex-end;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.submission-stats.small .submission-stat {
  padding: 14px;
}
.submission-stats.small .submission-stat > strong {
  font-size: 1.6rem;
}
.receipt-hero {
  text-align: center;
  padding: 8px 12px 25px;
}
.receipt-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: #e9f5ee;
  color: #52a184;
  border: 1px solid #d6e9df;
  border-radius: 50%;
  margin: 0 auto 19px;
}
.receipt-mark .icon {
  height: 30px;
  width: 30px;
}
.receipt-hero h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.receipt-hero p {
  font-size: 0.875rem;
  line-height: 1.7;
}
.receipt-table {
  background: #f8fafd;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 21px;
  margin-top: 5px;
}
.receipt-table .fact-row {
  font-size: 0.875rem;
}
.receipt-note {
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.7;
  margin: 18px 15px 0;
  color: #95a3b6;
}
.answer-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.answer-summary-list button {
  min-width: 32px;
  min-height: 32px;
  background: #f8fafd;
  color: #8a9ab0;
  border: 1px solid #e3eaf5;
  border-radius: 5px;
  font-size: 0.75rem;
}
.answer-summary-list button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.submission-card > .subtle-banner {
  margin-bottom: 0;
}
.dialog-body > .submission-stats {
  margin-top: 0;
}
.dialog-question {
  font-size: 0.875rem;
  color: #8192a9;
  line-height: 1.8;
}
.dialog-question strong {
  font-weight: 550;
  color: #5b7190;
}
.readonly-note {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  color: #8d9bad;
  text-align: center;
}
@media (min-width: 1450px) {
  .question-body {
    min-height: 427px;
    padding-top: 34px;
    padding-bottom: 35px;
  }
  .question-body h2 {
    font-size: 1.55rem;
  }
  .options {
    margin-top: 29px;
    gap: 14px;
  }
  .option {
    min-height: 61px;
  }
  .student-layout {
    grid-template-columns: minmax(0, 1fr) 344px;
  }
  .question-number {
    min-height: 37px;
  }
  .student-camera {
    height: 165px;
  }
}
@media (max-width: 1100px) {
  .student-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 19px;
  }
  .exam-heading h1 {
    font-size: 1.6rem;
  }
  .question-top {
    padding: 20px;
  }
  .question-body {
    padding: 25px 22px;
  }
  .question-body h2 {
    font-size: 1.25rem;
  }
  .question-tools {
    padding: 14px 20px;
  }
  .navigator-card {
    padding: 19px;
  }
  .question-grid {
    gap: 8px;
  }
  .tabs {
    gap: 28px;
  }
  .student-two-col {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .countdown {
    min-width: 180px;
    padding-right: 15px;
  }
  .question-legend {
    gap: 10px 8px;
  }
  .exam-status-strip .session-mode {
    display: none;
  }
}
@media (max-width: 900px) {
  .student-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
  }
  .student-two-col {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .student-workspace {
    padding-left: 23px;
    padding-right: 23px;
  }
  .question-position {
    gap: 8px;
  }
  .question-position .pill {
    display: none;
  }
  .navigator-card {
    padding: 17px;
  }
  .question-grid {
    gap: 7px;
  }
  .question-number {
    min-height: 29px;
    font-size: 0.75rem;
  }
  .question-legend {
    font-size: 0.75rem;
  }
  .camera-card {
    padding: 15px;
  }
  .student-camera {
    height: 128px;
  }
  .camera-footer {
    flex-wrap: wrap;
    gap: 5px;
  }
  .question-body {
    min-height: 410px;
  }
  .question-top {
    gap: 10px;
    padding: 18px 21px;
  }
  .question-marks {
    font-size: 0.75rem;
  }
  .exam-heading h1 {
    font-size: 1.5rem;
  }
  .countdown {
    min-width: 164px;
    padding: 11px;
    gap: 9px;
  }
  .timer-value {
    font-size: 1.25rem;
  }
  .timer-icon {
    width: 31px;
    height: 31px;
  }
  .exam-actions .button {
    min-width: 0;
  }
  .saved-indicator {
    font-size: 0.75rem;
    max-width: 145px;
  }
  .student-help {
    padding: 14px;
  }
  .rule-card,
  .student-activity-card {
    padding: 22px;
  }
  .submission-card {
    padding: 23px;
  }
  .submission-stats {
    gap: 10px;
  }
  .submission-stat {
    padding: 14px 11px;
  }
}
@media (max-width: 760px) {
  .student-workspace {
    padding: 21px 20px 0;
  }
  .exam-heading {
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .title-row h1 {
    font-size: 1.55rem;
  }
  .exam-heading > div:first-child {
    flex: 1;
    min-width: 260px;
  }
  .exam-heading .title-row .pill {
    width: auto;
  }
  .countdown {
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    justify-content: space-between;
    margin-top: 3px;
  }
  .countdown > div {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .timer-value {
    font-size: 1.35rem;
  }
  .timer-label {
    font-size: 0.8125rem;
  }
  .timer-icon {
    background: none;
    width: 22px;
    height: 27px;
  }
  .exam-meta > span:first-child {
    width: 100%;
    margin-bottom: 2px;
  }
  .exam-meta {
    gap: 7px 14px;
  }
  .tabs {
    gap: 26px;
  }
  .tabs button {
    font-size: 0.875rem;
  }
  .student-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .exam-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px;
  }
  .navigator-card {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .question-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 9px;
  }
  .question-number {
    min-height: 37px;
    font-size: 0.8125rem;
  }
  .question-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .navigator-card > .button {
    margin-top: 18px;
  }
  .camera-card {
    grid-column: 1/-1;
    max-width: none;
  }
  .student-camera {
    height: 175px;
  }
  .student-help {
    grid-column: 1/-1;
  }
  .camera-footer {
    flex-wrap: nowrap;
  }
  .student-two-col {
    grid-template-columns: 1fr;
  }
  .question-body {
    min-height: 0;
    padding: 27px 23px;
  }
  .question-body h2 {
    font-size: 1.3rem;
  }
  .options {
    gap: 12px;
    margin-top: 25px;
  }
  .option {
    min-height: 60px;
  }
  .question-top {
    padding: 19px 23px;
  }
  .question-tools {
    padding: 15px 23px;
  }
  .question-position .pill {
    display: inline-flex;
  }
  .exam-actions {
    margin-bottom: 0;
  }
  .exam-bottom-note {
    margin: 19px 0 23px;
  }
  .saved-indicator {
    max-width: 180px;
  }
  .question-legend {
    gap: 10px;
  }
  .page-lead {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .check-summary {
    align-items: flex-start;
    padding: 18px;
  }
  .check-summary p {
    font-size: 0.875rem;
  }
  .check-summary strong {
    font-size: 0.9375rem;
  }
  .check-action {
    flex-wrap: wrap;
  }
  .system-row .health-icon {
    width: 32px;
    height: 32px;
  }
  .system-row {
    gap: 11px;
  }
  .system-row strong {
    font-size: 0.875rem;
  }
  .system-row p {
    font-size: 0.8125rem;
  }
  .rule-card,
  .student-activity-card {
    padding: 23px;
  }
  .submission-actions {
    flex-wrap: wrap;
  }
  .submission-actions .button {
    flex: 1;
  }
  .submission-stats {
    gap: 11px;
  }
  .submission-stat {
    padding: 17px 13px;
  }
  .personal-event {
    gap: 12px;
  }
  .personal-event time {
    font-size: 0.75rem;
  }
  .personal-event p {
    font-size: 0.875rem;
  }
  .personal-event > .event-icon {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 460px) {
  .student-workspace {
    padding-left: 16px;
    padding-right: 16px;
  }
  .question-body {
    padding: 23px 19px;
  }
  .question-body h2 {
    font-size: 1.15rem;
  }
  .question-top {
    padding: 18px 19px;
  }
  .question-marks > span {
    display: none;
  }
  .question-position .pill {
    display: none;
  }
  .question-tools {
    padding: 14px 17px;
  }
  .mark-button {
    font-size: 0.75rem;
    padding: 9px;
  }
  .clear-button {
    font-size: 0.75rem;
  }
  .question-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
  .question-number {
    min-height: 38px;
  }
  .question-legend {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .option {
    gap: 11px;
    padding: 12px 14px;
    min-height: 59px;
  }
  .option-copy {
    font-size: 0.9375rem;
  }
  .saved-indicator {
    font-size: 0.75rem;
    max-width: 104px;
    line-height: 1.5;
  }
  .saved-indicator .icon {
    display: none;
  }
  .exam-actions {
    gap: 8px;
  }
  .exam-actions .button {
    padding: 10px 13px;
    font-size: 0.8125rem;
  }
  .exam-status-strip {
    padding: 12px 13px;
    font-size: 0.75rem;
  }
  .exam-status-strip .icon {
    height: 14px;
    width: 14px;
  }
  .title-row h1 {
    font-size: 1.45rem;
  }
  .student-camera {
    height: 155px;
  }
  .system-row {
    gap: 10px;
  }
  .system-row .health-icon {
    display: none;
  }
  .check-list {
    padding: 0 21px;
  }
  .check-action {
    padding: 17px 21px;
  }
  .personal-event time {
    display: none;
  }
  .personal-event {
    padding: 22px 0;
  }
  .submission-card {
    padding: 21px;
  }
  .submission-stat {
    padding: 14px 10px;
  }
  .submission-stat > strong {
    font-size: 1.6rem;
  }
  .submission-stat > span {
    font-size: 0.75rem;
  }
  .submission-stats {
    gap: 8px;
  }
  .receipt-table {
    padding: 8px 15px;
  }
  .receipt-table .fact-row {
    font-size: 0.8125rem;
  }
  .submission-warning {
    padding: 13px;
    font-size: 0.8125rem;
  }
  .rule-item {
    gap: 12px;
  }
  .profile-label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spin {
    animation: none !important;
  }
}
