:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7f9;
  color: #17181c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.header {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #5d6470;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.panel {
  background: #ffffff;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(23, 24, 28, 0.08);
}

.question-title {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.question-description {
  margin: -8px 0 18px;
  color: #5d6470;
  font-size: 0.98rem;
  line-height: 1.5;
}

.progress {
  margin-bottom: 22px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #5d6470;
  font-size: 0.86rem;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebf1;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #25636f;
  transition: width 180ms ease;
}

.options {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #fbfcfe;
}

.field {
  width: 100%;
  min-height: 120px;
  border: 1px solid #c7ccd6;
  border-radius: 8px;
  padding: 12px;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: #17202a;
  color: #ffffff;
  cursor: pointer;
}

.button.secondary {
  background: #eceff4;
  color: #17202a;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.error {
  margin: 16px 0 0;
  color: #9f1d1d;
}

.completion-code {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef7ee;
  font-weight: 700;
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 760px);
    padding: 28px 0;
  }

  .panel {
    padding: 20px;
  }

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

  .button {
    width: 100%;
  }
}
