/* ============================================================
   ATLASQ
   MEDATLAS LEARNING MINDS
   Institutional Assessment Environment
============================================================ */


/* ============================================================
   DESIGN TOKENS
============================================================ */

:root {
  --navy: #14213d;
  --navy-deep: #0d1830;
  --navy-soft: #263654;

  --gold: #ad7a20;
  --gold-deep: #8d6118;
  --gold-soft: #d7b56f;
  --gold-wash: rgba(173, 122, 32, 0.08);

  --ivory: #faf7ef;
  --ivory-deep: #f1eadc;
  --paper: #fffdf8;
  --paper-raised: #ffffff;

  --text: #1d2a42;
  --text-soft: #42516a;
  --muted: #6b7688;

  --border: rgba(173, 122, 32, 0.20);
  --border-strong: rgba(173, 122, 32, 0.34);
  --navy-border: rgba(20, 33, 61, 0.12);

  --success: #4d8065;
  --danger: #a64d4d;

  --shadow:
    0 18px 50px rgba(42, 33, 20, 0.08);

  --shadow-raised:
    0 24px 65px rgba(42, 33, 20, 0.12);

  --radius-xl: 22px;
  --radius-lg: 17px;
  --radius-md: 12px;

  --max-width: 1480px;

  color-scheme: light;
}


/* ============================================================
   RESET
============================================================ */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ivory);
}

body {
  min-height: 100vh;
  margin: 0;

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at 82% 2%,
      rgba(215, 181, 111, 0.13),
      transparent 26%
    ),
    radial-gradient(
      circle at 8% 28%,
      rgba(20, 33, 61, 0.035),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      #fffdf8 0%,
      var(--ivory) 32%,
      #f7f2e8 100%
    );

  overflow-x: hidden;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ============================================================
   INSTITUTIONAL HEADER
============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;

  min-height: 78px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  gap: 24px;

  padding:
    12px
    max(26px, calc((100vw - var(--max-width)) / 2));

  border-bottom: 1px solid var(--border);

  background:
    rgba(250, 247, 239, 0.94);

  backdrop-filter: blur(18px);

  box-shadow:
    0 4px 24px rgba(38, 31, 20, 0.035);
}


.brand {
  justify-self: start;

  display: flex;
  align-items: center;

  gap: 12px;
}


.brand-seal {
  width: 47px;
  height: 47px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 4px 7px rgba(32, 26, 16, 0.08)
    );
}


.brand-copy {
  display: flex;
  flex-direction: column;

  line-height: 1;
}


.brand-copy strong {
  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 20px;
  font-weight: 600;

  letter-spacing: 0.045em;
}


.brand-parent {
  margin-top: 5px;

  color: var(--gold-deep);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.22em;
}


.product-identity {
  justify-self: center;

  display: flex;
  align-items: center;

  gap: 11px;

  padding: 8px 15px;

  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}


.product-identity span {
  color: var(--gold-deep);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.17em;
}


.product-identity strong {
  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;
  font-weight: 500;
}


.nav {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 3px;
}


.nav a {
  padding: 9px 11px;

  border-radius: 8px;

  color: var(--text-soft);

  font-size: 12px;
  font-weight: 650;

  transition:
    color 0.18s ease,
    background 0.18s ease;
}


.nav a:hover {
  color: var(--navy);

  background:
    rgba(173, 122, 32, 0.07);
}


/* ============================================================
   MAIN PAGE
============================================================ */

.wrap {
  width:
    min(
      var(--max-width),
      calc(100% - 46px)
    );

  margin: 0 auto;

  padding:
    58px
    0
    46px;
}


/* ============================================================
   PAGE INTRODUCTION
============================================================ */

.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 40px;

  padding:
    22px
    8px
    34px;
}


.intro-copy {
  max-width: 850px;
}


.eyebrow,
.section-kicker {
  display: block;

  color: var(--gold-deep);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.19em;
  text-transform: uppercase;
}


.page-intro h1 {
  margin: 10px 0 2px;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      56px,
      7vw,
      94px
    );

  font-weight: 500;

  line-height: 0.96;

  letter-spacing: -0.055em;
}


.page-subtitle {
  margin:
    12px
    0
    13px;

  color: var(--gold-deep);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      18px,
      2vw,
      25px
    );

  font-style: italic;
}


.page-lead {
  max-width: 730px;

  margin: 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.72;
}


.system-state {
  flex: none;

  display: flex;
  align-items: center;

  gap: 9px;

  padding:
    10px
    14px;

  border:
    1px solid
    rgba(77, 128, 101, 0.24);

  border-radius: 999px;

  color: #3f6d56;

  background:
    rgba(77, 128, 101, 0.06);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.04em;
}


.state-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--success);

  box-shadow:
    0 0 0 4px
    rgba(77, 128, 101, 0.09);
}


/* ============================================================
   INSTITUTIONAL DIVIDER
============================================================ */

.institutional-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 15px;

  margin:
    0
    0
    36px;

  color: var(--gold);
}


.institutional-divider span {
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(173, 122, 32, 0.30)
    );
}


.institutional-divider span:last-child {
  background:
    linear-gradient(
      90deg,
      rgba(173, 122, 32, 0.30),
      transparent
    );
}


.institutional-divider strong {
  font-size: 13px;
  font-weight: 400;
}


/* ============================================================
   CARDS
============================================================ */

.card {
  position: relative;

  border: 1px solid var(--border);

  border-radius: var(--radius-xl);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 252, 245, 0.94)
    );

  box-shadow: var(--shadow);
}


.workspace {
  display: grid;

  grid-template-columns:
    minmax(330px, 410px)
    minmax(0, 1fr);

  gap: 25px;

  align-items: stretch;
}


/* ============================================================
   BUILDER
============================================================ */

.builder {
  padding: 30px;
}


.section-header {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  align-items: flex-start;
}


.builder h2,
.runtime h2,
.analytics-card h3,
.section-title-row h2 {
  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 500;
}


.builder h2 {
  margin: 6px 0 0;

  font-size: 29px;
}


.section-copy {
  margin:
    14px
    0
    27px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.68;
}


.field {
  margin-bottom: 17px;
}


.field label {
  display: block;

  margin-bottom: 7px;

  color: var(--text-soft);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}


select,
input {
  width: 100%;

  padding:
    13px
    14px;

  border:
    1px solid
    rgba(20, 33, 61, 0.13);

  border-radius: 10px;

  outline: none;

  color: var(--text);

  background:
    rgba(255, 255, 255, 0.76);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}


select:hover,
input:hover {
  border-color:
    rgba(173, 122, 32, 0.31);

  background: #fff;
}


select:focus,
input:focus {
  border-color: var(--gold);

  background: #fff;

  box-shadow:
    0 0 0 3px
    rgba(173, 122, 32, 0.08);
}


select option {
  color: var(--text);

  background: #fff;
}


.builder-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;
}


/* ============================================================
   BUTTONS
============================================================ */

.primary-btn,
.secondary-btn,
.complete-btn {
  border-radius: 10px;

  font-weight: 750;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}


.primary-btn {
  width: 100%;

  padding:
    14px
    18px;

  border:
    1px solid
    rgba(20, 33, 61, 0.18);

  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--navy-soft)
    );

  box-shadow:
    0 8px 22px
    rgba(20, 33, 61, 0.14);
}


.primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);

  box-shadow:
    0 12px 27px
    rgba(20, 33, 61, 0.18);
}


.primary-btn:disabled {
  cursor: not-allowed;

  opacity: 0.44;

  transform: none;
}


.secondary-btn {
  padding:
    12px
    18px;

  border:
    1px solid
    rgba(20, 33, 61, 0.16);

  color: var(--navy);

  background: #fff;
}


.secondary-btn:hover {
  background:
    rgba(20, 33, 61, 0.035);
}


.complete-btn {
  padding:
    12px
    18px;

  color: var(--gold-deep);

  border:
    1px solid
    rgba(173, 122, 32, 0.31);

  background:
    rgba(173, 122, 32, 0.07);
}


.complete-btn:hover {
  background:
    rgba(173, 122, 32, 0.12);
}


/* ============================================================
   QAVA VALIDATION CHAMBER
============================================================ */

.qava-stage {
  position: relative;

  min-height: 600px;

  display: grid;

  grid-template-columns:
    minmax(270px, 0.85fr)
    minmax(340px, 1.15fr);

  align-items: center;

  gap: 28px;

  padding: 48px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 45%,
      rgba(215, 181, 111, 0.14),
      transparent 27%
    ),
    linear-gradient(
      145deg,
      #ffffff,
      #fbf7ed
    );
}


.qava-stage::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(173, 122, 32, 0.025) 50%,
      transparent 100%
    );
}


.qava-stage::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -115px;
  top: -170px;

  border:
    1px solid
    rgba(173, 122, 32, 0.10);

  border-radius: 50%;
}


.qava-copy {
  position: relative;

  z-index: 4;
}


.qava-copy h2 {
  margin:
    9px
    0
    11px;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      65px,
      8vw,
      108px
    );

  font-weight: 500;

  line-height: 0.9;

  letter-spacing: -0.075em;
}


.qava-copy .qava-lead {
  margin-bottom: 13px;

  color: var(--gold-deep);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 19px;
  font-style: italic;

  line-height: 1.45;
}


.qava-copy p {
  max-width: 470px;

  margin-top: 0;

  color: var(--muted);

  line-height: 1.72;
}


.engine-status {
  margin-top: 28px;

  padding:
    14px
    16px;

  border-left:
    2px solid
    var(--gold);

  color: var(--text-soft);

  background:
    rgba(173, 122, 32, 0.055);

  font-size: 12px;
  line-height: 1.55;
}


/* ============================================================
   QAVA ORB
============================================================ */

.qava-visual {
  position: relative;

  width:
    min(
      100%,
      440px
    );

  aspect-ratio: 1;

  margin: auto;

  display: grid;

  place-items: center;
}


.qava-core {
  position: relative;

  z-index: 4;

  width: 270px;
  height: 270px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  border:
    1px solid
    rgba(215, 181, 111, 0.52);

  background:
    radial-gradient(
      circle at 34% 26%,
      #405170 0%,
      #243654 25%,
      #14213d 58%,
      #0c172c 100%
    );

  box-shadow:
    0 25px 55px
    rgba(20, 33, 61, 0.20),

    inset
    0 0 0 8px
    rgba(255, 255, 255, 0.025),

    inset
    -25px
    -30px
    55px
    rgba(0, 0, 0, 0.22);

  animation:
    qavaPulse
    5s
    ease-in-out
    infinite;
}


.qava-core::after {
  content: "";

  position: absolute;

  inset: 14px;

  border:
    1px solid
    rgba(215, 181, 111, 0.24);

  border-radius: 50%;
}


.qava-inner {
  position: relative;

  z-index: 2;

  text-align: center;
}


.qava-inner > span {
  color: var(--gold-soft);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.22em;
}


.qava-inner .score {
  margin-top: 5px;

  color: #fffdf7;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 75px;
  font-weight: 500;

  line-height: 0.94;

  letter-spacing: -0.06em;
}


.qava-inner .status {
  margin-top: 12px;

  color: #dce9df;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.qava-ring {
  position: absolute;

  border-radius: 50%;
}


.qava-ring-one {
  inset: 43px;

  border:
    1px solid
    rgba(173, 122, 32, 0.26);

  animation:
    rotateQava
    22s
    linear
    infinite;
}


.qava-ring-two {
  inset: 14px;

  border:
    1px dashed
    rgba(20, 33, 61, 0.15);

  animation:
    rotateQava
    34s
    linear
    infinite
    reverse;
}


.qava-ring-three {
  inset: 72px;

  border:
    1px dotted
    rgba(173, 122, 32, 0.18);

  animation:
    rotateQava
    28s
    linear
    infinite
    reverse;
}


.qava-orbit-label {
  position: absolute;

  z-index: 5;

  padding:
    5px
    8px;

  color: var(--gold-deep);

  background:
    rgba(250, 247, 239, 0.90);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.15em;
}


.orbit-one {
  top: 15%;
  right: 5%;
}


.orbit-two {
  bottom: 19%;
  left: 0;
}


.orbit-three {
  bottom: 5%;
  right: 21%;
}


/* ============================================================
   SECTION TITLES
============================================================ */

.validator-section,
.analytics-section {
  margin-top: 42px;
}


.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 30px;

  padding:
    0
    4px
    17px;
}


.section-title-row h2 {
  margin:
    5px
    0
    0;

  font-size: 27px;
}


.section-title-row > p {
  max-width: 480px;

  margin: 0;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.6;

  text-align: right;
}


/* ============================================================
   VALIDATION METRICS
============================================================ */

.validator-row {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 13px;
}


.metric-card {
  position: relative;

  min-height: 118px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding:
    20px
    21px;

  border:
    1px solid
    var(--border);

  border-radius: var(--radius-lg);

  background:
    rgba(255, 253, 248, 0.92);

  box-shadow:
    0 10px 30px
    rgba(42, 33, 20, 0.045);

  overflow: hidden;
}


.metric-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold-soft),
      transparent
    );

  opacity: 0.65;
}


.metric-label {
  color: var(--muted);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}


.metric-card b {
  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 26px;
  font-weight: 500;

  letter-spacing: -0.025em;
}


/* ============================================================
   QUESTION RUNTIME
============================================================ */

.runtime {
  margin-top: 42px;

  padding:
    32px
    34px;
}


.runtime-top {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  align-items: flex-start;

  padding-bottom: 22px;

  border-bottom:
    1px solid
    var(--border);
}


.runtime h2 {
  margin:
    6px
    0
    0;

  font-size: 28px;
}


.timer-display {
  padding:
    9px
    13px;

  border:
    1px solid
    rgba(173, 122, 32, 0.25);

  border-radius: 999px;

  color: var(--gold-deep);

  background:
    rgba(173, 122, 32, 0.065);

  font-size: 11px;
  font-weight: 800;
}


.question-meta {
  margin-top: 25px;

  color: var(--gold-deep);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.question {
  max-width: 1080px;

  margin-top: 16px;

  color: var(--text);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 21px;

  line-height: 1.62;
}


.answers {
  margin-top: 27px;

  display: grid;

  gap: 11px;
}


.answer {
  position: relative;

  padding:
    16px
    18px;

  border:
    1px solid
    rgba(20, 33, 61, 0.11);

  border-radius: var(--radius-md);

  color: var(--text-soft);

  background:
    rgba(255, 255, 255, 0.68);

  cursor: pointer;

  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}


.answer:hover {
  color: var(--navy);

  border-color:
    rgba(173, 122, 32, 0.31);

  background: #fff;

  transform:
    translateX(2px);
}


.answer.selected {
  color: var(--navy);

  border-color:
    var(--gold);

  background:
    rgba(173, 122, 32, 0.07);

  box-shadow:
    inset
    3px
    0
    0
    var(--gold);
}


.answer.correct {
  border-color:
    rgba(77, 128, 101, 0.45);

  background:
    rgba(77, 128, 101, 0.08);
}


.answer.incorrect {
  border-color:
    rgba(166, 77, 77, 0.43);

  background:
    rgba(166, 77, 77, 0.07);
}


.runtime-btn {
  margin-top: 23px;
}


.rationale-box {
  margin-top: 27px;

  padding:
    24px;

  border:
    1px solid
    var(--border);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(173, 122, 32, 0.045),
      rgba(255, 255, 255, 0.76)
    );
}


.answer-result {
  margin-bottom: 20px;

  color: var(--navy);

  line-height: 1.65;
}


.rationale-box h3 {
  margin:
    0
    0
    9px;

  color: var(--gold-deep);

  font-size: 12px;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.rationale-box p {
  margin: 0;

  color: var(--text-soft);

  line-height: 1.72;
}


.reference {
  margin-top: 18px;

  padding-top: 15px;

  border-top:
    1px solid
    var(--border);

  color: var(--muted);

  font-size: 11px;

  line-height: 1.6;
}


.runtime-actions {
  margin-top: 24px;

  display: flex;

  gap: 11px;

  flex-wrap: wrap;
}


/* ============================================================
   ANALYTICS
============================================================ */

.analytics {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}


.analytics-card {
  min-height: 225px;

  padding: 26px;
}


.analytics-card h3 {
  margin:
    6px
    0
    0;

  font-size: 21px;
}


.analytics-card ul {
  margin:
    21px
    0
    0;

  padding-left: 19px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.9;
}


.analytics-card li::marker {
  color: var(--gold);
}


/* ============================================================
   FOOTER
============================================================ */

.atlasq-footer {
  margin-top: 70px;

  padding:
    30px
    4px
    10px;

  display: grid;

  grid-template-columns:
    1fr 1.5fr 1fr;

  align-items: center;

  gap: 25px;

  border-top:
    1px solid
    var(--border);

  color: var(--muted);
}


.atlasq-footer > div {
  display: flex;

  flex-direction: column;
}


.atlasq-footer strong {
  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 16px;

  letter-spacing: 0.06em;
}


.atlasq-footer > div span {
  margin-top: 4px;

  color: var(--gold-deep);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.19em;
}


.atlasq-footer p {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 13px;
  font-style: italic;

  text-align: center;
}


.atlasq-footer nav {
  display: flex;

  justify-content: flex-end;

  gap: 15px;

  font-size: 11px;
  font-weight: 650;
}


.atlasq-footer a:hover {
  color: var(--gold-deep);
}


/* ============================================================
   MOTION
============================================================ */

@keyframes rotateQava {
  to {
    transform: rotate(360deg);
  }
}


@keyframes qavaPulse {
  50% {
    transform: scale(1.025);
  }
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

  .topbar {
    grid-template-columns:
      1fr auto;
  }

  .product-identity {
    display: none;
  }


  .workspace {
    grid-template-columns: 1fr;
  }


  .qava-stage {
    min-height: auto;

    grid-template-columns:
      1fr 1fr;
  }


  .validator-row {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .analytics {
    grid-template-columns: 1fr;
  }


  .atlasq-footer {
    grid-template-columns:
      1fr 1fr;
  }


  .atlasq-footer > p {
    display: none;
  }

}


@media (max-width: 760px) {

  .topbar {
    position: relative;

    grid-template-columns: 1fr;

    gap: 12px;

    padding:
      13px
      18px;
  }


  .brand {
    justify-self: center;
  }


  .nav {
    justify-self: center;

    flex-wrap: wrap;

    justify-content: center;
  }


  .nav a {
    padding:
      7px
      8px;

    font-size: 11px;
  }


  .wrap {
    width:
      min(
        calc(100% - 24px),
        var(--max-width)
      );

    padding-top: 30px;
  }


  .page-intro {
    align-items: flex-start;

    flex-direction: column;

    gap: 22px;

    padding-top: 8px;
  }


  .page-intro h1 {
    font-size:
      clamp(
        54px,
        18vw,
        76px
      );
  }


  .workspace {
    gap: 15px;
  }


  .builder {
    padding:
      25px
      21px;
  }


  .qava-stage {
    grid-template-columns: 1fr;

    padding:
      34px
      22px;
  }


  .qava-visual {
    width: 320px;

    max-width: 100%;
  }


  .qava-core {
    width: 220px;
    height: 220px;
  }


  .qava-inner .score {
    font-size: 59px;
  }


  .qava-orbit-label {
    display: none;
  }


  .builder-grid {
    grid-template-columns: 1fr;

    gap: 0;
  }


  .validator-section,
  .analytics-section {
    margin-top: 32px;
  }


  .section-title-row {
    align-items: flex-start;

    flex-direction: column;

    gap: 9px;
  }


  .section-title-row > p {
    text-align: left;
  }


  .validator-row {
    grid-template-columns: 1fr;
  }


  .runtime {
    margin-top: 32px;

    padding:
      25px
      21px;
  }


  .runtime-top {
    flex-direction: column;
  }


  .question {
    font-size: 18px;
  }


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


  .secondary-btn,
  .complete-btn {
    width: 100%;
  }


  .atlasq-footer {
    grid-template-columns: 1fr;

    text-align: center;
  }


  .atlasq-footer > div {
    align-items: center;
  }


  .atlasq-footer nav {
    justify-content: center;

    flex-wrap: wrap;
  }

}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

}

/* ============================================================
   ATLASQ EXAM COMPLETION STATE
   ============================================================ */

#nextQuestionBtn.exam-complete-ready {
  position: relative;
  box-shadow:
    0 0 0 1px rgba(173, 122, 32, 0.28),
    0 0 18px rgba(173, 122, 32, 0.22);
  transition:
    opacity 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

#nextQuestionBtn.exam-complete-ready:hover {
  box-shadow:
    0 0 0 1px rgba(173, 122, 32, 0.38),
    0 0 24px rgba(173, 122, 32, 0.32);
}

#nextQuestionBtn.exam-finalizing {
  cursor: wait;
  opacity: 0.62;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

#nextQuestionBtn.exam-finalizing::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.55em;
  vertical-align: -0.08em;

  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;

  animation: atlasq-finalize-spin 0.7s linear infinite;
}

@keyframes atlasq-finalize-spin {
  to {
    transform: rotate(360deg);
  }
}
