/* Sustained Attention — only test-specific overrides */
:root { --test-accent: #2a9d8f; }

/* ── PROGRESS RING HEADER ── */
.sa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sa-title {
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.sa-timer {
  position: relative;
  width: 50px;
  height: 50px;
}
.sa-ring { width: 100%; height: 100%; }
.sa-ring-bg { fill: none; stroke: #e0eaee; stroke-width: 3.5; }
.sa-ring-fill { 
  fill: none; 
  stroke: var(--test-accent); 
  stroke-width: 3.5; 
  stroke-linecap: round;
  transition: stroke-dasharray 1s linear;
}
.sa-time-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--test-accent);
}

/* ── STIMULUS BOX ── */
.sa-box {
  border-radius: 18px;
  min-height: 260px;
  background: #f0f5f8;
  border: 2.5px solid #dde8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.1s, border-color 0.1s, transform 0.05s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 12px;
}
.sa-box:active { transform: scale(0.98); }

.sa-box[data-state="idle"] { background: #f0f5f8; }
.sa-box[data-state="active"] { background: #ffffff; border-color: var(--test-accent); }
.sa-box[data-state="hit"]  { background: #edfaf4; border-color: #2ecc71; }
.sa-box[data-state="miss"] { background: #fef2f1; border-color: #e74c3c; }

/* The flashing letter */
.sa-letter {
  font-family: 'Manrope', sans-serif;
  font-size: 110px;
  font-weight: 900;
  color: #1a2e3b;
  line-height: 1;
}
.sa-box[data-state="hit"] .sa-letter { color: #2ecc71; }
.sa-box[data-state="miss"] .sa-letter { color: #e74c3c; }

/* ── INTRO VISUAL MAPPING ── */
.sa-intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #f2fbfa;
  border: 2px dashed #bfe7e2;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.sa-intro-rule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sa-intro-shape {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #dde8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: #1a2e3b;
}

.sa-intro-text {
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: #1a2e3b;
  text-align: center;
}

.sa-intro-divider {
  color: #cdd8df;
}


