.exam-runtime {
  --ink: #101828;
  --muted: #5b677a;
  --soft: #eef4f7;
  --line: #d9e4ec;
  --panel: rgba(255, 255, 255, 0.94);
  --brand: #0d3b5e;
  --brand-2: #006d77;
  --accent: #13a085;
  --warning: #b45309;
  --danger: #b42318;
  --success: #087443;
  --shadow-soft: 0 20px 60px rgba(16, 24, 40, 0.08);
  --shadow-lift: 0 28px 80px rgba(16, 24, 40, 0.12);
  min-height: 100vh;
  color: var(--ink);
  background: #f6f9fb;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.exam-runtime *,
.exam-runtime *::before,
.exam-runtime *::after {
  box-sizing: border-box;
}

.exam-runtime [hidden] {
  display: none !important;
}

.exam-runtime button,
.exam-runtime input,
.exam-runtime select {
  font: inherit;
  letter-spacing: 0;
}

.start-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(16px, 3vw, 30px) clamp(14px, 4vw, 56px) clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 16% 6%, rgba(19, 160, 133, 0.16), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(13, 59, 94, 0.16), transparent 30%),
    linear-gradient(145deg, #f8fbfc 0%, #eef5f7 52%, #f7fafc 100%);
}

.start-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 59, 94, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 59, 94, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 76%);
  content: "";
}

.start-header,
.start-layout {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.start-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(14px, 2vw, 24px);
  padding: 10px 14px;
  color: #526071;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(217, 228, 236, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.start-header img {
  width: clamp(138px, 13vw, 166px);
}

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.44fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.instruction-panel,
.candidate-card,
.report-card {
  background: var(--panel);
  border: 1px solid rgba(217, 228, 236, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.instruction-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(14px, 2vw, 22px);
  min-height: 520px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
}

.instruction-panel::after {
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(19, 160, 133, 0.18), transparent 66%);
  content: "";
}

.quality-line,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  align-items: center;
  gap: 8px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.quality-line::before,
.section-kicker::before {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.instruction-panel h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
}

.instruction-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  max-width: 950px;
  color: #344054;
  font-size: 0.86rem;
}

.instruction-copy p {
  margin: 0;
}

.instruction-copy strong {
  color: var(--ink);
  font-weight: 800;
}

.exam-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 0;
}

.exam-facts div {
  min-height: 76px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f6fafb);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.exam-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.exam-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
}

.candidate-card {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 11px;
  align-self: start;
  padding: clamp(18px, 2.2vw, 24px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lift);
}

.candidate-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.18;
}

.candidate-card label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 750;
}

.candidate-card input {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.candidate-card input:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

.start-button,
.submit-test,
.nav-button,
.bottom-link,
.section-arrow,
.font-controls button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.start-button {
  min-height: 42px;
  margin-top: 4px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(13, 59, 94, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.start-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(13, 59, 94, 0.28);
}

#start-status {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.exam-screen {
  min-height: 100vh;
  padding-bottom: 84px;
  background:
    linear-gradient(180deg, #f4f8fb 0%, #ffffff 38%),
    #ffffff;
}

.exam-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 38px minmax(360px, auto) 38px minmax(150px, 0.28fr);
  min-height: 56px;
  color: #ffffff;
  background: linear-gradient(135deg, #0c3a5d, #086d68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.18);
}

.assessment-title,
.time-left,
.section-tabs button,
.section-arrow {
  display: flex;
  align-items: center;
}

.assessment-title {
  gap: 8px;
  min-width: 0;
  padding: 0 clamp(14px, 2vw, 24px);
  font-size: 0.84rem;
}

.exam-topbar-logo {
  flex: 0 0 auto;
  width: clamp(124px, 10vw, 150px) !important;
  max-height: 40px !important;
  padding: 5px 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  box-shadow: 0 5px 16px rgba(4, 28, 47, 0.22);
}

.assessment-title strong,
.time-left strong {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.assessment-title span {
  overflow: hidden;
  color: #ffffff;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-tabs {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.section-tabs button {
  position: relative;
  min-width: 96px;
  justify-content: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.section-tabs button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section-tabs button.active {
  color: #073b37;
  background: #ffffff;
}

.section-tabs button.active::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f4f8fb;
  border-left: 10px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.section-arrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.7rem;
  line-height: 1;
}

.section-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
}

.time-left {
  justify-content: flex-end;
  gap: 10px;
  padding: 0 clamp(14px, 2vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.time-left span {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.question-workspace {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 24px) clamp(12px, 2.4vw, 28px) 24px;
}

.question-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #152033, #0b1220);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(16, 24, 40, 0.22);
  font-size: 1.22rem;
  font-weight: 800;
}

.question-content {
  min-width: 0;
  min-height: calc(100vh - 162px);
  padding: clamp(12px, 1.6vw, 18px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
}

.question-content.font-xs {
  font-size: 0.68rem;
}

.question-content.font-sm {
  font-size: 0.76rem;
}

.question-content.font-md {
  font-size: 0.84rem;
}

.question-content.font-lg {
  font-size: 0.92rem;
}

.question-content.font-xl {
  font-size: 1rem;
}

.question-content.font-small {
  font-size: 0.76rem;
}

.question-content.font-large {
  font-size: 0.92rem;
}

.question-content h1 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 1.03em;
  font-weight: 800;
  line-height: 1.35;
}

.question-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 10px;
  color: #315763;
  font-size: 0.78em;
  font-weight: 800;
}

.question-meta-line span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 7px;
  background: #edf8f7;
  border: 1px solid #c9e9e4;
  border-radius: 999px;
}

.question-prompt {
  max-width: 1220px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.98em;
  font-weight: 650;
  line-height: 1.55;
}

.question-prompt p {
  margin: 0 0 7px;
}

.answer-area {
  display: grid;
  gap: 3px;
  max-width: 1200px;
}

.option-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 28px;
  padding: 4px 7px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.94em;
  line-height: 1.42;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.option-row:hover {
  background: #f5f9fb;
  border-color: transparent;
  box-shadow: none;
}

.option-row:has(input:checked) {
  background: #edf8f7;
  border-color: transparent;
  box-shadow: none;
}

.option-row input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: var(--brand-2);
}

.option-row span {
  min-width: 0;
}

.option-row strong {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: #ffffff;
  background: #10233b;
  border-radius: 8px;
  font-size: 0.78em;
  font-weight: 800;
}

.match-row,
.sequence-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(260px, 0.7fr);
  gap: 12px;
  align-items: center;
  max-width: 920px;
  padding: 6px 8px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.match-row strong,
.sequence-row strong {
  font-weight: 750;
}

.match-row select,
.sequence-row select {
  width: 100%;
  min-height: 32px;
  padding: 5px 9px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #c8d5df;
  border-radius: 8px;
  outline: none;
}

.match-row select:focus,
.sequence-row select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
}

.exam-message {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--warning);
  font-size: 0.92rem;
  font-weight: 800;
}

.exam-bottombar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(190px, 260px) auto minmax(0, 1fr) auto auto auto auto;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 8px clamp(12px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 38px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(14px);
}

.progress-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.progress-meter {
  width: min(210px, 46vw);
  height: 10px;
  overflow: hidden;
  background: #e7eef4;
  border: 1px solid #d4e1ea;
  border-radius: 999px;
}

.progress-meter div {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #5ed3bd);
  border-radius: inherit;
}

#progress-text {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.font-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 8px;
  color: var(--muted);
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.font-controls span {
  color: var(--brand);
  font-size: 0.96rem;
  font-weight: 800;
}

.font-controls strong {
  display: grid;
  min-width: 30px;
  min-height: 26px;
  place-items: center;
  color: var(--brand);
  background: #ffffff;
  border: 1px solid #d3dde6;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.font-controls em {
  color: #4b5565;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.font-controls button {
  display: grid;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d3dde6;
  border-radius: 999px;
}

.bottom-link,
.nav-button,
.submit-test {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.bottom-link {
  color: var(--brand);
  background: #f5f8fb;
  border: 1px solid var(--line);
}

.bottom-link:hover {
  background: #eef4f7;
}

.nav-button,
.submit-test {
  color: #ffffff;
}

.nav-button.previous {
  background: #536073;
}

.nav-button.next {
  background: var(--brand);
}

.submit-test {
  background: linear-gradient(135deg, #0d8fa4, #13a085);
}

.nav-button:disabled,
.section-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.report-screen {
  min-height: 100vh;
  padding: 0 0 50px;
  background: #f5f8fb;
}

.report-topline {
  height: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.completion-banner,
.report-card,
.report-actions {
  width: min(1320px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.completion-banner {
  position: relative;
  margin-top: 52px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.completion-icon {
  position: absolute;
  top: -44px;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #ffffff;
  background: var(--success);
  border: 7px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(8, 116, 67, 0.22);
  font-size: 2.2rem;
  transform: translateX(-50%);
}

.completion-banner p {
  margin: 0;
  padding: 46px 24px 24px;
  color: var(--ink);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.report-card {
  margin-top: 22px;
  overflow: hidden;
  background: #ffffff;
}

.report-card h1,
.report-card h2 {
  margin: 0;
  padding: 18px 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f6fafb);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 1.65rem;
  font-weight: 800;
}

.candidate-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 30px 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.candidate-summary em {
  color: var(--muted);
  font-style: normal;
}

.score-summary,
.count-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 30px 28px;
}

.count-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
}

.score-summary div,
.count-summary div {
  display: grid;
  min-height: 116px;
  place-items: center;
  padding: 18px;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.score-summary span,
.count-summary span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.score-summary strong,
.count-summary strong {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
}

#report-result.pass {
  color: var(--success);
}

#report-result.fail {
  color: var(--danger);
}

.section-summary {
  display: grid;
  gap: 16px;
  padding: 26px 34px 34px;
}

.section-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 160px;
  gap: 16px;
  align-items: center;
}

.section-row strong {
  color: var(--ink);
  font-weight: 800;
}

.section-bar {
  display: flex;
  height: 24px;
  overflow: hidden;
  background: #e7eef4;
  border-radius: 999px;
}

.section-bar span {
  display: grid;
  min-width: 0;
  place-items: center;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
}

.bar-correct {
  background: var(--success);
}

.bar-wrong {
  background: #ef735f;
}

.bar-skipped {
  background: #d9a400;
}

.section-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.analysis-table-wrap {
  overflow-x: auto;
  padding: 22px;
}

.analysis-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.84rem;
}

.analysis-table th,
.analysis-table td {
  padding: 12px;
  border: 1px solid #d8e3ec;
  text-align: left;
  vertical-align: top;
}

.analysis-table th {
  color: var(--ink);
  background: #f3f7fa;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.correct {
  color: #14532d;
  background: #dcfce7;
}

.status-pill.partial,
.status-pill.skipped {
  color: #713f12;
  background: #fef3c7;
}

.status-pill.incorrect {
  color: #7f1d1d;
  background: #fee2e2;
}

.answer-review-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-review-list li {
  display: grid;
  gap: 4px;
}

.answer-review-list strong {
  color: #334155;
  font-size: 0.78rem;
}

.answer-review-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.answer-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.answer-chip.correct {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.answer-chip.wrong {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.answer-chip.missing {
  color: #713f12;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 1180px) {
  .start-layout {
    grid-template-columns: 1fr;
  }

  .candidate-card {
    position: static;
  }

  .instruction-panel {
    min-height: auto;
  }

  .exam-topbar {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .assessment-title {
    grid-column: 1 / -1;
    min-height: 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section-tabs {
    grid-column: 2;
  }

  .time-left {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .exam-bottombar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .bottom-spacer {
    display: none;
  }

  .exam-screen {
    padding-bottom: 0;
  }

  .question-content {
    min-height: auto;
  }

  .candidate-summary,
  .score-summary,
  .count-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .start-screen {
    padding: 14px;
  }

  .start-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    border-radius: 8px;
  }

  .start-header img {
    width: 132px;
  }

  .instruction-panel,
  .candidate-card {
    border-radius: 8px;
  }

  .instruction-panel {
    padding: 22px;
  }

  .instruction-panel h1 {
    font-size: 1.75rem;
  }

  .exam-facts,
  .question-workspace,
  .section-row {
    grid-template-columns: 1fr;
  }

  .exam-facts div {
    min-height: auto;
  }

  .question-workspace {
    gap: 12px;
    padding: 14px;
  }

  .question-number {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 1.18rem;
  }

  .question-content {
    padding: 18px;
    border-radius: 8px;
    font-size: 0.94rem;
  }

  .question-meta-line {
    gap: 6px;
  }

  .question-meta-line span {
    min-height: 26px;
    font-size: 0.95em;
  }

  .option-row {
    min-height: 46px;
    padding: 11px 12px;
  }

  .match-row,
  .sequence-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .exam-bottombar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .progress-meter {
    width: 100%;
  }

  .font-controls,
  .bottom-link,
  .nav-button,
  .submit-test {
    width: 100%;
    justify-content: center;
  }

  .section-tabs button {
    min-width: 88px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .section-arrow {
    width: 38px;
  }

  .report-actions {
    flex-direction: column;
  }

  .analysis-table-wrap,
  .section-summary,
  .score-summary,
  .count-summary,
  .candidate-summary {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 430px) {
  .instruction-copy {
    font-size: 0.92rem;
  }

  .candidate-card {
    padding: 18px;
  }

  .assessment-title {
    font-size: 0.84rem;
  }

  .assessment-title strong {
    display: none;
  }

  .exam-topbar-logo {
    width: 116px !important;
    max-height: 36px !important;
    padding: 4px 6px;
  }

  .time-left {
    justify-content: space-between;
  }
}

/* Premium candidate registration entry screen */
.start-screen {
  display: grid;
  align-content: start;
  padding: clamp(16px, 3vw, 30px) clamp(14px, 4vw, 56px) clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 10% 2%, rgba(20, 184, 166, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(13, 59, 94, 0.16), transparent 28rem),
    linear-gradient(180deg, #f5fafb 0%, #edf4f6 100%);
}

.start-screen::before {
  background-image:
    linear-gradient(rgba(13, 59, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 59, 94, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 68%);
}

.start-header {
  min-height: 58px;
  margin-bottom: 14px;
  padding: 10px 14px;
  color: #536478;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 59, 94, 0.12);
  border-radius: 7px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.start-header img {
  width: clamp(126px, 12vw, 158px);
}

.start-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.54fr);
  gap: clamp(14px, 2.5vw, 28px);
  align-items: start;
}

.instruction-panel,
.candidate-card {
  border-radius: 7px;
}

.instruction-panel {
  min-height: 0;
  gap: 18px;
  padding: clamp(22px, 3.2vw, 38px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(255, 255, 255, 0.03)),
    #0a1728;
  border-color: rgba(9, 22, 38, 0.2);
  box-shadow: 0 18px 46px rgba(9, 22, 38, 0.12);
}

.instruction-panel::before {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  color: #d7ff65;
  border: 1px solid rgba(215, 255, 101, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px rgba(20, 184, 166, 0.08);
  content: "ISO\A 27001";
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: pre;
}

.instruction-panel::after {
  right: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 68%);
}

.instruction-panel .quality-line {
  color: #d7ff65;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.instruction-panel h1 {
  max-width: min(640px, calc(100% - 104px));
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.95rem);
  line-height: 1.09;
  letter-spacing: -0.02em;
}

.instruction-copy {
  max-width: 700px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.instruction-copy strong {
  color: #fff;
}

.exam-facts {
  gap: 8px;
  margin-top: 2px;
}

.exam-facts div {
  min-height: 62px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.exam-facts dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.exam-facts dd {
  color: #fff;
  font-size: 0.9rem;
}

.candidate-card {
  position: sticky;
  top: 18px;
  gap: 9px;
  padding: clamp(16px, 2vw, 22px);
  background: #fff;
  border-color: rgba(13, 59, 94, 0.14);
  box-shadow: 0 18px 46px rgba(9, 22, 38, 0.1);
}

.candidate-card::before {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  color: #075f55;
  background: #dffbf4;
  border-radius: 999px;
  content: "Candidate registration";
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.candidate-card h2 {
  margin-bottom: 2px;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  letter-spacing: -0.01em;
}

.candidate-card label {
  gap: 5px;
  color: #405066;
  font-size: 0.75rem;
}

.candidate-card input {
  min-height: 36px;
  padding: 7px 10px;
  background: #fbfdfe;
  border-color: #cfdce6;
  border-radius: 5px;
  font-size: 0.82rem;
}

.candidate-card input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.11);
}

.start-button {
  min-height: 38px;
  margin-top: 2px;
  background: linear-gradient(135deg, #091626, #087f78);
  border-radius: 5px;
  box-shadow: 0 14px 30px rgba(9, 22, 38, 0.22);
  font-size: 0.84rem;
}

#start-status {
  display: flex;
  gap: 8px;
  margin-top: 0;
  color: #596a7d;
  font-size: 0.68rem;
}

#start-status::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  background: #13a085;
  border-radius: 50%;
  content: "";
}

@media (max-width: 1180px) {
  .start-layout {
    grid-template-columns: 1fr;
  }

  .candidate-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .start-screen {
    padding: 10px;
  }

  .start-header {
    min-height: 0;
    margin-bottom: 10px;
    padding: 10px;
  }

  .start-header img {
    width: 126px;
  }

  .instruction-panel {
    gap: 12px;
    padding: 16px;
  }

  .instruction-panel::before {
    top: 16px;
    right: 16px;
    width: 70px;
    height: 70px;
    font-size: 0.58rem;
  }

  .instruction-panel h1 {
    max-width: calc(100% - 78px);
    font-size: clamp(1.2rem, 6vw, 1.65rem);
  }

  .instruction-copy {
    font-size: 0.74rem;
  }

  .exam-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-facts div {
    min-height: 62px;
    padding: 10px;
  }

  .candidate-card {
    padding: 16px;
  }
}
