/* src/public/css/challenge.css — the Challenge checklist card and bonus page
   (challenge.js). The bonus card is the v5 design (leads-path-page.html at
   11984efcb, `.bonus`), mapped onto the app's own tokens (ui-kit.css). */

/* ── The checklist card on the Community home ─────────────────────────── */
.chl-card {
  max-width: 900px; margin: 0 0 var(--rk-space-4, 16px);
  background: var(--rk-white, #fff); border: 1px solid var(--rk-gray-light, #e5e7eb);
  border-radius: var(--rk-radius-lg, 12px); padding: 20px; box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(30, 27, 75, .06); color: var(--rk-navy, #1e1b4b);
}
.chl-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rk-blue, #6366f1); }
.chl-title { font-size: 20px; line-height: 1.3; margin: 4px 0 6px; font-weight: 600; }
.chl-when { margin: 0; font-size: 15px; color: var(--rk-slate, #6b7280); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.chl-left { font-weight: 600; color: var(--rk-navy, #1e1b4b); }
/* N4: "Add to my calendar" (Google, .ics) under the session time. */
.chl-cal { margin: 6px 0 0; font-size: 14px; color: var(--rk-slate, #6b7280); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.chl-cal a { color: var(--rk-blue, #6366f1); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.chl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin-top: 14px; }
@media (max-width: 720px) { .chl-cols { grid-template-columns: 1fr; } }
.chl-sub { font-size: 13px; font-weight: 600; color: var(--rk-slate, #6b7280); margin: 6px 0 2px; }
.chl-ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.chl-ticks li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rk-gray-light, #e5e7eb); font-size: 15px; line-height: 1.4; }
.chl-ticks li:last-child { border-bottom: 0; }
.chl-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--rk-success, #059669); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.chl-next { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rk-gray, #d1d5db); box-sizing: border-box; flex: none; }
.chl-hint { color: var(--rk-slate, #6b7280); font-size: 13px; }
.chl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chl-note { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--rk-slate, #6b7280); }
.chl-note.chl-good { color: var(--rk-success, #059669); font-weight: 500; }
.chl-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 14px; }
.chl-btn {
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--rk-radius-md, 10px);
  background: var(--rk-blue, #6366f1); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.chl-link { font: inherit; font-size: 15px; font-weight: 500; color: var(--rk-blue, #6366f1); background: none; border: 0; padding: 8px 0; min-height: 44px; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.chl-what { margin: 0 0 4px; color: var(--rk-navy, #1e1b4b); }
.chl-msg:empty { display: none; }
/* F11: on a phone the app's round menu button sits over the card's top-right
   corner; the heading keeps clear of it. */
@media (max-width: 900px) { .chl-card .chl-head { padding-right: 52px; } }

/* ── The bonus page ──────────────────────────────────────────────────── */
body.chl-open { overflow: hidden; }
.chl-overlay {
  position: fixed; inset: 0; z-index: 100050; background: rgba(15, 13, 46, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; overflow-y: auto;
}
.chl-bonus {
  position: relative; width: 100%; max-width: 440px; margin: auto; box-sizing: border-box;
  background: var(--rk-white, #fff); color: var(--rk-navy, #1e1b4b);
  border: 1px solid var(--rk-gray-light, #e5e7eb); border-radius: 18px; padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); text-align: left;
}
.chl-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; color: var(--rk-slate, #6b7280); cursor: pointer; }
.chl-star { width: 52px; height: 52px; border-radius: 50%; background: var(--rk-success-bg, #ecfdf5); color: var(--rk-success, #059669); display: grid; place-items: center; font-size: 26px; margin-bottom: 12px; }
.chl-bonus h3 { font-size: 24px; line-height: 1.25; margin: 0 0 6px; font-weight: 650; }
.chl-lede { margin: 0; color: var(--rk-slate, #6b7280); font-size: 15px; line-height: 1.5; }
.chl-bonus .chl-ticks { margin: 16px 0; }
.chl-gift { background: var(--rk-blue-light, #e0e7ff); border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: 15px; line-height: 1.5; }
.chl-gift ul { margin: 6px 0 0; padding-left: 18px; }
.chl-price { margin: 12px 0 0; font-size: 15px; line-height: 1.5; font-weight: 500; }
.chl-fine { margin: 8px 0 0; font-size: 13px; color: var(--rk-navy-light, #312e81); }
.chl-cta {
  display: block; width: 100%; border: 0; border-radius: 12px; background: var(--rk-blue, #6366f1); color: #fff;
  font: inherit; font-size: 17px; font-weight: 600; padding: 14px; margin-top: 6px; min-height: 52px; cursor: pointer;
}
.chl-small { font-size: 13px; color: var(--rk-slate, #6b7280); margin-top: 10px; text-align: center; line-height: 1.5; }
