/* Quiz app — thin overrides on top of the brand kit.
   Only quiz-specific layout/components live here; everything visual comes
   from brand-kit.css tokens. No new colors, no new shadows. */

.ar-main {
  min-height: 60vh;
}

/* --- Quiz player ------------------------------------------------------- */
.quiz-progress {
  height: 6px;
  border-radius: var(--ar-radius-pill);
  background: var(--ar-hairline);
  overflow: hidden;
  margin-bottom: var(--ar-space-8);
}
.quiz-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--ar-coral);
  border-radius: var(--ar-radius-pill);
  transition: width var(--ar-dur-base) var(--ar-ease);
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--ar-space-4) var(--ar-space-5);
  margin-bottom: var(--ar-space-3);
  background: var(--ar-paper);
  border: 1px solid var(--ar-hairline);
  border-radius: var(--ar-radius-md);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color var(--ar-dur-fast) var(--ar-ease),
              box-shadow var(--ar-dur-fast) var(--ar-ease);
}
.quiz-option:hover {
  border-color: var(--ar-coral);
}
.quiz-option--selected {
  border-color: var(--ar-coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.18);
}

/* --- Result score dial ------------------------------------------------- */
.score-big {
  font-family: var(--ar-font-sans);
  font-weight: 600;
  font-size: var(--ar-display-l);
  line-height: 1;
  color: var(--ar-coral);
}
.score-dial {
  width: 132px;
  height: 132px;
  flex: none;
}
.dim-radar {
  width: 100%;
  max-width: 360px;
  height: auto;
}
.dim-row {
  margin-bottom: var(--ar-space-5);
}
.dim-bar {
  height: 10px;
  border-radius: var(--ar-radius-pill);
  background: var(--ar-hairline);
  overflow: hidden;
  margin-top: var(--ar-space-2);
}
.dim-bar__fill {
  height: 100%;
  background: var(--ar-plum);
  border-radius: var(--ar-radius-pill);
}

/* --- Admin inline-save marker ----------------------------------------- */
/* The "• ungespeichert / speichert … / ✓ gespeichert / error" marker, injected
   by admin-workspace.js as the last child of each inline form. Full styling of
   the studio admin lives in static/admin/studio.css. */
.ws-status {
  align-self: center;
  font-family: var(--ar-font-mono, monospace);
  font-size: var(--ar-text-sm, 0.8rem);
  white-space: nowrap;
}
.ws-status-dirty {
  color: var(--ar-coral);
}
.ws-status-saving {
  opacity: 0.6;
}
.ws-status-saved {
  color: var(--ar-plum);
}
.ws-status-error {
  color: var(--ar-coral);
  font-weight: 600;
}
