:root {
  --ink: #15181d;
  --ink-raised: #1c2026;
  --ink-line: #2a2f37;
  --parchment: #ede7da;
  --parchment-dim: #a8a296;
  --amber: #d4a24c;
  --amber-dim: #8a6a35;
  --teal: #5b8c82;
  --teal-dim: #3e5f59;
  --danger: #c0644f;
  --pink: #d98ca8;
  --pink-dim: #8c5b6e;
  --pink-soft: #e8b9cd;
  --blue: #7fa8d9;
  --blue-dim: #4f6b8c;
  --blue-soft: #b3cdec;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
}

#root {
  min-height: 100vh;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--amber-dim);
  color: var(--parchment);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- progress rail ---- */

.progress-rail {
  height: 3px;
  background: var(--ink-line);
  width: 100%;
  position: relative;
}

.progress-rail-fill {
  position: absolute;
  inset: 0;
  background: var(--amber);
  width: 0%;
  transition: width 400ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  padding: 1.1rem 1.5rem 0;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.progress-meta strong {
  color: var(--amber);
  font-weight: 500;
}

/* ---- question screens ---- */

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 2.4rem 0 0.6rem;
}

.question-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: var(--parchment);
}

.question-title-tight {
  margin-bottom: 1.6rem;
}

.keyword-pink {
  color: var(--pink);
}

.keyword-blue {
  color: var(--blue);
}

.anon-notice {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  margin: 0 0 1.8rem;
}

/* ---- logo ---- */

.logo {
  display: block;
}

.logo-intro {
  width: 180px;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.logo-outro {
  width: 180px;
  margin-top: 2.4rem;
  opacity: 0.85;
}

.report-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink-line);
}

.report-footer .qr-wrap {
  justify-self: start;
}

.report-footer .logo-report {
  justify-self: center;
}

.logo-report {
  width: 640px;
  max-width: 100%;
  opacity: 0.75;
}

.question-subtitle {
  font-size: 0.96rem;
  color: var(--parchment-dim);
  line-height: 1.5;
  margin: 0 0 2rem;
  max-width: 52ch;
}

.option-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  text-align: left;
  color: var(--parchment);
  font-size: 0.98rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 100ms ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.option-card:hover {
  border-color: var(--amber-dim);
  background: #20242b;
}

.option-card.is-selected {
  border-color: var(--amber);
  background: linear-gradient(90deg, rgba(212, 162, 76, 0.12), transparent);
}

.option-card.is-selected .option-radio {
  border-color: var(--amber);
  background: var(--amber);
}

.option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-line);
  flex-shrink: 0;
  position: relative;
}

.option-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.option-card.is-selected .option-radio::after {
  background: transparent;
  inset: 5px;
  border: 1.5px solid var(--ink);
  background: var(--ink-raised);
}

/* Helper text under the Q3 dropdown. Previously this used .nav-row, which is
   a flex button-row class — wrong layout for a paragraph of prose. */
.archetype-helper {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--parchment-dim);
  max-width: 52ch;
}

.archetype-select {
  width: 100%;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 0.95rem 2.75rem 0.95rem 1.1rem;
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23D4A24C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.archetype-select:hover {
  border-color: var(--amber-dim);
}

.archetype-select:focus-visible {
  border-color: var(--amber);
}

.archetype-select option {
  background: var(--ink-raised);
  color: var(--parchment);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.4rem;
  gap: 0.8rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 150ms ease, opacity 150ms ease, transform 100ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--amber);
  color: #1c1407;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--parchment-dim);
  border-color: var(--ink-line);
}

.btn-ghost:hover {
  color: var(--parchment);
  border-color: var(--parchment-dim);
}

.banner {
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  border: 1px solid;
}

.banner-error {
  background: rgba(192, 100, 79, 0.1);
  border-color: var(--danger);
  color: #e8b3a4;
}

.banner-info {
  background: rgba(91, 140, 130, 0.1);
  border-color: var(--teal-dim);
  color: #aecdc7;
}

.center-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--ink-line);
  border-top-color: var(--amber);
  animation: spin 800ms linear infinite;
}

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

/* ---- question transition screen (impact -> performance) ---- */

.transition-screen {
  animation: transition-fade-in 350ms ease;
}

@keyframes transition-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transition-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: var(--ink-raised);
}

.transition-badge-from {
  color: var(--parchment-dim);
  opacity: 0.75;
}

.transition-badge-to {
  color: var(--teal);
  border-color: var(--teal-dim);
  background: rgba(91, 140, 130, 0.1);
}

.transition-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.transition-dot-amber {
  background: var(--amber);
}

.transition-dot-teal {
  background: var(--teal);
}

.transition-arrow {
  font-size: 1.1rem;
  color: var(--parchment-dim);
  margin: 0.5rem 0;
}

.transition-title {
  margin-top: 1.2rem;
}

.transition-nav {
  margin-top: 1.8rem;
  width: 100%;
  max-width: 360px;
}

/* ---- click-to-rank dual column picker ---- */

.rank-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

@media (max-width: 600px) {
  .rank-picker {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.rank-column-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  margin-bottom: 0.6rem;
}

.pool-list,
.ranked-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 3rem;
}

.pool-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  padding: 0.5rem 0.75rem;
  cursor: grab;
  text-align: left;
  font-family: inherit;
  transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.pool-row:hover {
  border-color: var(--amber-dim);
  background: #20242b;
}

.pool-row:active {
  cursor: grabbing;
}

.pool-label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--parchment);
  line-height: 1.25;
  /* Column, so the clarification note sits on its own line under the name
     rather than running on after it. */
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pool-arrow {
  font-family: var(--font-mono);
  color: var(--amber);
  flex-shrink: 0;
  opacity: 0.8;
}

.ranked-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  padding: 0.5rem 0.75rem;
  cursor: grab;
  animation: rank-row-in 180ms ease;
  transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.ranked-row:active {
  cursor: grabbing;
}

.ranked-row.is-dragging,
.pool-row.is-dragging {
  opacity: 0.35;
}

@keyframes rank-row-in {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Thin colored bar shown between rows while dragging over a drop target */
.drop-indicator {
  height: 2px;
  border-radius: 2px;
  margin: 1px 0;
}

.drop-indicator-pink {
  background: var(--pink);
}

.drop-indicator-blue {
  background: var(--blue);
}

/* Invisible spacer at the bottom of each list so the user can drag-to-last */
.drop-tail {
  list-style: none;
  min-height: 0.75rem;
}

.ranked-slot {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  width: 1.5rem;
  flex-shrink: 0;
}

.ranked-label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--parchment);
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Clarification under a metric name in the SURVEY ranking lists.
   Deliberately subordinate: smaller and dimmer than the name, so it explains
   without competing with the thing the respondent is actually ranking. */
.metric-note {
  font-size: 0.73rem;
  line-height: 1.3;
  color: var(--parchment-dim);
  font-weight: 400;
}

.ranked-remove {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--parchment-dim);
  font-size: 0.88rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

/* ---- color coding: background tint on the 16 ranking rows to match the
   question's highlighted keyword (pink for "impact", blue for "strong").
   Precomputed blends (20% tone / 80% ink-raised, border at 35% tone, hover
   at 28%) — parchment text on these backgrounds is 7.8:1+ contrast. ---- */
.row-tone-bg-pink {
  background: #423640;
  border-color: #67505f;
}

.row-tone-bg-pink:hover {
  background: #513e4a;
}

.row-tone-bg-blue {
  background: #303b4a;
  border-color: #485970;
}

.row-tone-bg-blue:hover {
  background: #384658;
}

.ranked-remove:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.rank-progress-hint {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--parchment-dim);
  align-self: center;
}

@media (max-width: 600px) {
  .pool-row,
  .ranked-row {
    padding: 0.5rem 0.7rem;
    gap: 0.5rem;
  }
  .pool-label,
  .ranked-label {
    font-size: 0.85rem;
  }
}

/* ---- report view: slideshow + radar charts ---- */

.report-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.report-shell-wide {
  max-width: none;
  width: 100%;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 3rem;
}

.freeze-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--amber-dim);
  color: var(--amber);
  background: rgba(212, 162, 76, 0.08);
}

.report-empty {
  color: var(--parchment-dim);
  font-size: 0.92rem;
  padding: 2rem 0;
}

.report-panel {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}

.panel-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-key.priority {
  color: var(--pink);
}

.panel-key.performance {
  color: var(--teal);
}

.panel-key-swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}

/* topbar: archetype name + freeze controls + page count */

.slideshow-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.slideshow-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  font-weight: 600;
  margin: 0;
}

.slideshow-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.slideshow-page-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--parchment-dim);
}

/* three-column layout: [impact list] [overlaid radar] [performance list] */

.archetype-slide {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .archetype-slide {
    grid-template-columns: 1fr;
  }
}

.side-rank-panel {
  display: flex;
  flex-direction: column;
}

.radar-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Chart and legend side by side. The chart takes the space it needs; the
   legend is a fixed-width stack pinned to its right. */
.radar-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}

.radar-wrap {
  flex: 1;
  min-width: 0;
  aspect-ratio: 600 / 400;
}

/* Stacked, not inline: one legend entry per row, beside the chart.
   Two of these flank the radar — CategoryLegend left, SeriesLegend right. */
.radar-legend {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Categories carry more entries (4 vs 2), so vertically centre them against
   the chart and give them a little more breathing room. */
.radar-legend-categories {
  gap: 0.7rem;
}

.radar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--parchment-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* On narrow screens drop the legend back under the chart, so it doesn't
   squeeze the radar into unreadability. */
/* On narrow screens stack everything vertically and lay both legends out
   horizontally underneath, so the radar isn't squeezed from both sides. */
@media (max-width: 900px) {
  .radar-row {
    flex-direction: column;
  }
  .radar-legend {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  /* Categories move below the chart rather than above it. */
  .radar-legend-categories {
    order: 2;
  }
}

.radar-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.quadrant-panel {
  display: flex;
  flex-direction: column;
}

.ranked-results-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  border-top: 1px solid var(--ink-line);
  padding-top: 0.8rem;
}

.ranked-results-list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.ranked-results-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--parchment-dim);
  width: 1.3rem;
  flex-shrink: 0;
}

.ranked-results-list li:nth-child(-n + 3) .ranked-results-index {
  color: var(--amber);
}

.ranked-results-label {
  color: var(--parchment);
}

/* bottom control bar */

.slideshow-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink-line);
}

.slideshow-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--ink-line);
  background: var(--ink-raised);
  color: var(--parchment);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, color 150ms ease;
}

.slideshow-btn:hover:not(:disabled) {
  border-color: var(--amber-dim);
  color: var(--amber);
}

.slideshow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slideshow-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--ink-line);
  cursor: pointer;
  padding: 0;
  transition: background 150ms ease, transform 150ms ease;
}

.slideshow-dot:hover {
  background: var(--amber-dim);
}

.slideshow-dot.is-active {
  background: var(--amber);
  transform: scale(1.3);
}

.slideshow-speed {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--parchment-dim);
}

.slideshow-slider {
  width: 110px;
  accent-color: var(--amber);
}

.slideshow-speed-value {
  width: 2rem;
  color: var(--parchment);
}

.slideshow-refresh {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--parchment-dim);
  margin-left: auto;
}

.refresh-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  flex-shrink: 0;
}

.refresh-indicator.is-pulsing {
  background: var(--teal);
  animation: refresh-pulse 1s ease-in-out infinite;
}

@keyframes refresh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.slideshow-refresh-value {
  color: var(--parchment);
}

.slideshow-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--parchment-dim);
}

.slideshow-respondent-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--parchment-dim);
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.qr-code {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
}

.qr-code canvas,
.qr-code img {
  display: block;
}

.qr-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--parchment-dim);
}

.btn-small {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .slideshow-controls {
    justify-content: flex-start;
  }
  .slideshow-refresh {
    margin-left: 0;
  }
}

/* ---- reset page ---- */

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
  margin-top: 1.6rem;
  width: 100%;
}

.btn-danger:hover:not(:disabled) {
  background: #a0533f;
  border-color: #a0533f;
}

.btn-danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reset-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: left;
}

.reset-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reset-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--parchment-dim);
}

.reset-input {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 0.96rem;
  width: 100%;
  transition: border-color 150ms ease;
}

.reset-input:focus {
  outline: none;
  border-color: var(--amber);
}

.reset-token-input {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.reset-challenges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reset-challenge-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.reset-challenge-q {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  color: var(--parchment);
  min-width: 80px;
}

.reset-answer-input {
  width: 80px;
}

.reset-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--parchment-dim);
  line-height: 1.45;
  cursor: pointer;
}

.reset-checkbox {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--danger);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.reset-loading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--parchment-dim);
}
