.kelp-quiz-panel {
  width: min(47.5rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 3rem); margin: auto; padding: 0; border: 0; border-radius: 1.5rem; background: #fff; color: var(--ink-ink); box-shadow: 0 1rem 3.75rem rgba(0, 0, 0, .1); overflow-y: auto;
  @media (max-width: 900px) { width: min(calc(100% - 2rem), 31.25rem); max-height: calc(100dvh - 2rem); border-radius: 1.125rem; }
  @media (max-width: 370px) { width: calc(100% - 1.25rem); }
}
.kelp-quiz-panel[open] {
  animation: ridge-show .35s cubic-bezier(.2, .75, .2, 1) both;
}
.kelp-quiz-panel::backdrop {
  background: rgba(0, 0, 0, .48); animation: lumen-up .3s ease both;
}
.kelp-quiz-close {
  position: absolute; z-index: 2; top: 1.5rem; right: 1.75rem; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-muted); font-size: 1.9375rem; line-height: 1; opacity: 0; transition: opacity .2s ease, background-color .2s ease;
  @media (max-width: 900px) { top: 0.875rem; right: 0.875rem; width: 2rem; height: 2rem; font-size: 1.625rem; }
}
.kelp-quiz-close:focus-visible {
  opacity: 1;
}
.kelp-quiz-close:hover {
  background: var(--ink-paper);
}
.kelp-quiz-stage {
  min-height: 100%;
}
.kelp-question {
  display: flex; flex-direction: column; padding: 3.375rem 3.25rem 3.125rem;
  @media (max-height: 900px) and (min-width: 901px) { padding: 3.625rem 4rem 3rem; }
  @media (max-width: 900px) { min-height: 0; padding: 3.5rem 1.5rem 1.75rem; }
  @media (max-width: 370px) { padding-left: 1.25rem; padding-right: 1.25rem; }
}
.kelp-question-count {
  margin: 0; color: var(--ink-muted); font-size: 1.25rem; font-weight: 500;
  @media (max-width: 900px) { font-size: 0.9375rem; }
}
.kelp-question-title {
  margin: 1.875rem 0 0; font-size: 2.625rem; line-height: 1.15; font-weight: 600; letter-spacing: -.02em;
  @media (max-height: 900px) and (min-width: 901px) { margin-top: 1.5625rem; font-size: 2.5rem; }
  @media (max-width: 900px) { margin-top: 1.25rem; font-size: 1.625rem; line-height: 1.17; letter-spacing: -.02em; }
}
.kelp-answers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.125rem; margin-top: 2.375rem;
  @media (max-height: 900px) and (min-width: 901px) { position: static; gap: 0.875rem 1.5rem; margin-top: 2.1875rem; }
  @media (max-width: 900px) { position: static; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.75rem; }
}
.kelp-answer {
  width: 100%; min-height: 4.5rem; padding: 1.125rem 1.25rem; border: 2px solid transparent; border-radius: 0.875rem; background: var(--ink-paper); color: var(--ink-ink); text-align: left; font-size: 1.25rem; font-weight: 500; line-height: 1.2; transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  @media (max-height: 900px) and (min-width: 901px) { min-height: 4.5rem; padding: 1rem 1.25rem; font-size: 1.25rem; }
  @media (max-width: 900px) { min-height: 3.5rem; padding: 0.875rem 1rem; border-radius: 0.625rem; font-size: 1.0625rem; }
}
.kelp-answer:hover {
  background: var(--ink-blush); transform: translateY(-0.125rem);
}
.kelp-answer:active, .kelp-answer.kelp-picked {
  border-color: var(--ink-coral); background: var(--ink-blush-light); transform: none;
}
.kelp-question-hint {
  margin: auto 0 0; padding-top: 1.875rem; color: var(--ink-muted); font-size: 1rem;
  @media (max-height: 900px) and (min-width: 901px) { margin-top: 2rem; padding: 0; font-size: 1rem; }
  @media (max-width: 900px) { padding-top: 1.25rem; font-size: 0.875rem; }
}
.kelp-result {
  padding: 3.75rem 3.25rem;
  @media (max-height: 900px) and (min-width: 901px) { padding-top: 4.375rem; }
  @media (max-width: 900px) { min-height: 0; padding: 3.5rem 1.5rem 2rem; }
  @media (max-width: 370px) { padding-left: 1.25rem; padding-right: 1.25rem; }
}
.kelp-result-title {
  margin: 0; font-size: 2.5rem; line-height: 1.18; font-weight: 600; letter-spacing: -.02em;
  @media (max-height: 900px) and (min-width: 901px) { font-size: 2.5rem; }
  @media (max-width: 900px) { font-size: 1.8125rem; line-height: 1.17; }
}
.kelp-result-text {
  margin: 1.625rem 0 0; font-size: 1.4375rem; line-height: 1.3;
  @media (max-height: 900px) and (min-width: 901px) { margin-top: 1.75rem; font-size: 1.4375rem; }
  @media (max-width: 900px) { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.24; }
}
.kelp-lead-form {
  margin-top: 2.5rem;
  @media (max-height: 900px) and (min-width: 901px) { margin-top: 2.5rem; }
  @media (max-width: 900px) { margin-top: 2rem; }
}
.kelp-result-label {
  display: block; margin-bottom: 0.625rem; font-size: 1rem; font-weight: 500;
  @media (max-height: 900px) and (min-width: 901px) { font-size: 1rem; }
  @media (max-width: 900px) { margin-bottom: 0.625rem; font-size: 0.9375rem; }
}
.kelp-result-input {
  display: block; width: 100%; height: 3.625rem; padding: 0 1.125rem; border: 1px solid var(--ink-field); border-radius: 0.75rem; background: #fff; color: var(--ink-ink); font-size: 1.125rem; transition: border-color .2s ease, box-shadow .2s ease;
  @media (max-height: 900px) and (min-width: 901px) { height: 3.75rem; font-size: 1.125rem; }
  @media (max-width: 900px) { height: 3.375rem; padding: 0 0.8125rem; border-radius: 0.5rem; font-size: 1.0625rem; }
}
.kelp-result-input::placeholder {
  color: var(--ink-muted); opacity: 1;
}
.kelp-result-input:focus {
  outline: none; border-color: var(--ink-coral); box-shadow: 0 0 0 3px rgba(237, 82, 87, .12);
}
.kelp-result-submit {
  width: 22.5rem; max-width: 100%; height: 3.375rem; margin-top: 1.25rem; font-size: 1.125rem;
  @media (max-height: 900px) and (min-width: 901px) { height: 3.375rem; margin-top: 1.25rem; font-size: 1.125rem; }
  @media (max-width: 900px) { width: 100%; height: 3.25rem; margin-top: 1.25rem; font-size: 1rem; }
}
.kelp-result-submit:disabled {
  background: var(--ink-disabled); cursor: not-allowed; box-shadow: none; transform: none;
}
.kelp-result-help {
  margin: 0.75rem 0 0; color: var(--ink-muted); font-size: 0.9375rem;
  @media (max-height: 900px) and (min-width: 901px) { font-size: 1rem; }
  @media (max-width: 900px) { margin-top: 0.75rem; font-size: 0.875rem; }
}
.kelp-result-help[hidden] {
  display: none;
}
.kelp-quiz-stage > * {
  transition: opacity .18s ease-in, transform .18s ease-in;
}
.kelp-quiz-stage > .kelp-leaving {
  opacity: 0; transform: translateY(-0.75rem);
}
.kelp-quiz-stage > .kelp-entering {
  opacity: 0; transform: translateY(0.875rem); transition: none;
}
.kelp-quiz-stage > .kelp-entering.kelp-open {
  opacity: 1; transform: none; transition: opacity .3s cubic-bezier(.2, .7, .15, 1), transform .3s cubic-bezier(.2, .7, .15, 1);
}
@keyframes lumen-up { from { opacity: 0; } to { opacity: 1; } }
@keyframes ridge-show { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes haze-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tide-in { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px); } }
