/* Paddle quiz — scoped styles layered on top of style.css */

.pq-shell {
  max-width: 640px;
  margin: 0 auto;
}

/* Results need real width for a 4-column comparison table — the 640px
   question-step width would squeeze it uncomfortably. */
.pq-shell.pq-shell--wide {
  max-width: 100%;
}

.pq-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.pq-progress-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pq-dots {
  display: flex;
  gap: 0.4rem;
}

.pq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.pq-dot.is-current {
  background: var(--bay);
}

.pq-dot.is-done {
  background: var(--kitchen);
}

.pq-prompt {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.pq-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

@media (max-width: 640px) {
  .pq-options {
    grid-template-columns: 1fr;
  }
}

.pq-option {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.pq-option:hover {
  border-color: var(--bay);
  transform: translateY(-1px);
}

.pq-option-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.pq-option-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pq-back {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.pq-back:hover {
  color: var(--bay);
}

.pq-email-hint {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.pq-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.pq-email-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.pq-email-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.8em 1em;
  width: 100%;
}

.pq-email-form input[type="email"]:focus {
  outline: 3px solid var(--optic);
  outline-offset: 1px;
  border-color: transparent;
}

.pq-submit {
  align-self: flex-start;
  cursor: pointer;
}

.pq-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.pq-error {
  color: var(--poppy-deep);
  font-size: 0.85rem;
}

.pq-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pq-results-head {
  margin-bottom: 1.2rem;
}

.pq-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pq-retake {
  cursor: pointer;
}

/* Comparison table — rows are traits, columns are the top 3 picks. A table
   is the right shape here: unlike a prose "why this paddle" list, two
   columns sharing the same dot rating on a row is informative (these two
   are equally powerful), not a bug that reads as repeated boilerplate. */
.pq-compare-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.pq-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

.pq-compare-table th,
.pq-compare-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.pq-compare-table tr:last-child th,
.pq-compare-table tr:last-child td {
  border-bottom: none;
}

.pq-compare-col {
  min-width: 200px;
  vertical-align: top;
}

.pq-compare-col .name-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.pq-compare-col .addr {
  margin-top: 0.2rem;
}

.pq-tagline {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  font-weight: normal;
}

.pq-compare-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: var(--paper);
}

.pq-compare-links td {
  padding-top: 1.1rem;
}

.pq-meter {
  display: inline-flex;
  gap: 0.3rem;
}

.pq-meter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.pq-meter-dot.is-filled {
  background: var(--bay);
}
