/* The padel profile quiz (quiz app). Uses the tokens of the site theme (--tm-*, with fallbacks so the classic theme still looks right). */
.qz { padding: 120px 0 72px; background: var(--tm-mist, #eef3f7); min-height: 70vh; }
.qz-wrap { max-width: 680px; }
.qz-card { background: var(--tm-white, #fff); border: 1px solid var(--tm-rule, #cdd8e3); border-top: 6px solid var(--tm-volt, #d7f23a);
  border-radius: 14px; padding: 36px 32px; box-shadow: var(--tm-shadow, 0 12px 28px -16px rgba(11,31,58,.4)); color: var(--tm-navy, #0b1f3a); }
.qz-card h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.1; margin: 0 0 14px; font-weight: 800; }
.qz-card h2 { font-size: 1.35rem; margin: 0 0 8px; font-weight: 800; }
.qz-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-blue, #1d4ed8); margin: 0 0 8px; }
.qz-lead { color: var(--tm-muted, #41536b); max-width: 52ch; margin-bottom: 20px; }
.qz-invited { background: var(--tm-navy, #0b1f3a); color: #fff; border-radius: 10px; padding: 14px 18px; margin: 0 0 18px; font-weight: 600; }
.qz-screen { display: none; }
.qz-screen.is-active { display: block; }
.qz-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.qz-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tm-rule, #cdd8e3); }
.qz-dot.is-done { background: var(--tm-field, #70859d); }
.qz-dot.is-current { background: var(--tm-navy, #0b1f3a); }
.qz-q { font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.2; margin: 0 0 20px; }
.qz-answers { display: grid; gap: 10px; }
.qz-answer { font-size: .98rem; line-height: 1.4; }
.qz-answer { text-align: left; background: var(--tm-white, #fff); border: 2px solid var(--tm-rule, #cdd8e3); border-radius: 10px; padding: 12px 16px;
  font: inherit; font-size: .98rem; color: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.qz-answer:hover, .qz-answer:focus-visible { border-color: var(--tm-navy, #0b1f3a); background: var(--tm-mist, #eef3f7); outline: none; }
.qz-answer.is-picked { border-color: var(--tm-navy, #0b1f3a); background: var(--tm-volt, #d7f23a); }
.qz-back { align-self: flex-start; margin-top: 18px; background: none; border: 0; padding: 0; color: var(--tm-muted, #41536b); text-decoration: underline; cursor: pointer; }
.qz-back[disabled] { visibility: hidden; }
.qz-image { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto 18px; border-radius: 12px; }
.qz-mono { display: inline-flex; width: 1.5em; height: 1.5em; align-items: center; justify-content: center; border-radius: 50%; font-size: .7em; vertical-align: middle; margin-right: 6px; }
.qz-tagline { font-weight: 700; font-size: 1.1rem; }
.qz-traits { display: grid; gap: 12px; margin: 18px 0; }
@media (min-width: 560px) { .qz-traits { grid-template-columns: 1fr 1fr; } }
.qz-traits div { background: var(--tm-mist, #eef3f7); border-radius: 10px; padding: 12px 14px; }
.qz-traits dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-muted, #41536b); }
.qz-traits dd { margin: 4px 0 0; font-weight: 600; }
.qz-pair { background: var(--tm-navy, #0b1f3a); color: #fff; border-radius: 12px; padding: 20px 22px; margin: 22px 0; }
.qz-pair .qz-eyebrow { color: var(--tm-volt, #d7f23a); }
.qz-pair-who { font-weight: 700; margin: 0 0 6px; color: var(--tm-on-navy-muted, #c9d6e6); }
.qz-partner { border-top: 1px solid var(--tm-rule, #cdd8e3); padding-top: 22px; margin-top: 24px; }
.qz-partner-link { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; margin-bottom: 10px; }
.qz-partner-link img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.qz-actions { margin: 26px 0 8px; }
.qz-note { margin: 8px 0 0; color: var(--tm-muted, #41536b); font-size: .9rem; }
.qz-secondary { margin-top: 22px; font-size: .95rem; }
.qz-linkbtn { background: none; border: 0; padding: 0; color: var(--tm-blue, #1d4ed8); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 480px) { .qz { padding-top: 96px; } .qz-card { padding: 26px 20px; } }

/* Quiz page: a square picture on the left, the text on the right, both centred on the same line; on a phone the picture goes above, cropped to 4:3. */
.qz-wrap--wide { max-width: 1040px; }
.qz-split { display: grid; gap: 22px; align-items: stretch; }
.qz-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--tm-mist, #eef3f7); }
.qz-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (min-width: 820px) {
  .qz-card.qz-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 36px; align-items: center; }
  .qz-media img { aspect-ratio: 1 / 1; }
  .qz-body { min-height: 500px; }          /* the card keeps its height from the cover to the last question */
  .qz-lead { margin-bottom: 26px; }
}
.qz-challenge { margin-top: 6px; }
.qz-choice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qz-or { color: var(--tm-muted, #41536b); font-size: .9rem; }
.qz-choice .btn.is-open { background: var(--tm-navy, #0b1f3a); color: #fff; border-color: var(--tm-navy, #0b1f3a); }
.qz-panel { margin-top: 14px; padding: 16px; background: var(--tm-mist, #eef3f7); border-radius: 10px; }
.qz-panel[hidden] { display: none; }
.qz-form label { display: block; font-weight: 600; font-size: .9rem; margin: 10px 0 4px; }
.qz-form .btn { margin-top: 14px; }

/* Result page: the profile in two columns like the questions, then the partner and the retreat side by side. */
.qz-result .qz-body { min-height: 0; }
.qz-result .qz-traits { grid-template-columns: 1fr; }
.qz-lower { display: grid; gap: 26px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--tm-rule, #cdd8e3); }
.qz-lower .qz-partner { border-top: 0; padding-top: 0; margin-top: 0; }
@media (min-width: 820px) {
  .qz-result .qz-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .qz-result .qz-media img { aspect-ratio: 1 / 1; }
  .qz-lower { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
}
.qz-pair h2 { color: #fff; margin-bottom: 8px; }
.qz-lower { align-items: start !important; margin-bottom: 8px; }
.qz-lower .qz-partner { background: var(--tm-mist, #eef3f7); border-radius: 14px; padding: 22px; }
.qz-lower .qz-partner .qz-panel { background: var(--tm-white, #fff); }
.qz-card .qz-actions { text-align: center; margin: 36px 0 4px; }
.qz-card .qz-secondary { text-align: center; }

/* The invitation band on the home page, the retreats list and the destination pages (quiz/_teaser.html). */
.qz-teaser { margin: 40px 0 8px; }
.qz-teaser-card { display: grid; gap: 18px; align-items: center; text-decoration: none; color: var(--tm-navy, #0b1f3a); background: var(--tm-white, #fff);
  border: 1px solid var(--tm-rule, #cdd8e3); border-left: 6px solid var(--tm-volt, #d7f23a); border-radius: 14px; padding: 16px; box-shadow: var(--tm-shadow, 0 12px 28px -16px rgba(11,31,58,.4)); }
.qz-teaser-card:hover { text-decoration: none; color: inherit; border-color: var(--tm-navy, #0b1f3a); }
.qz-teaser-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.qz-teaser-text { display: grid; gap: 8px; justify-items: start; }
.qz-teaser-text strong { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.2; }
.qz-teaser-sub { color: var(--tm-muted, #41536b); max-width: 52ch; }
@media (min-width: 720px) { .qz-teaser-card { grid-template-columns: 220px 1fr; gap: 28px; padding: 18px 28px 18px 18px; } .qz-teaser-card img { aspect-ratio: 1 / 1; } }
/* The dark card keeps its own height (it does not stretch when the form on the left opens) and follows the page a little on a wide screen. */
.qz-create-card { background: var(--tm-navy, #0b1f3a); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 820px) { .qz-create { position: sticky; top: 110px; } }
.qz-create-card .qz-eyebrow { color: var(--tm-volt, #d7f23a); margin: 0; }
.qz-create-card h2 { color: #fff; margin: 0; }
.qz-create-card p { color: var(--tm-on-navy-muted, #c9d6e6); margin: 0 0 6px; }
.qz-create-card p.qz-eyebrow { color: var(--tm-volt, #d7f23a); margin: 0; }
.qz-create-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.qz-check { display: flex; gap: 14px; align-items: center; margin: 18px 0 6px !important; padding: 14px 16px; border: 2px solid var(--tm-navy, #0b1f3a); border-radius: 10px;
  background: var(--tm-mist, #eef3f7); font-weight: 600 !important; font-size: 1rem; line-height: 1.35; cursor: pointer; }
.qz-check:hover { background: #fff; }
.qz-check input { flex: 0 0 auto; width: 26px; height: 26px; margin: 0; accent-color: var(--tm-navy, #0b1f3a); cursor: pointer; }
.qz-check:has(input:checked) { background: var(--tm-volt, #d7f23a); }
.qz-check:has(input:focus-visible) { outline: 3px solid var(--tm-blue, #1d4ed8); outline-offset: 2px; }
.qz-check span { display: block; font-size: 1.05rem; }
