/* ─────────────────────────────────────────────────────────────────────────
   KinPella Career Paths — section styles.
   Loaded only by /careers pages (linked from their body, the Circuit Lab
   pattern). Everything else — header, buttons, hero, cards, teach card,
   progress bars, certificate — reuses the site design system in site.css
   (the .cl-* classes) so Career Paths look native to KinPella.
   ───────────────────────────────────────────────────────────────────────── */

/* Licence + safety notices */
.cp-note{background:#fff6dd;border:1.5px solid var(--amber-soft);border-radius:14px;padding:14px 18px;font-size:15px;line-height:1.6;color:#5c4a12;margin:0 0 16px}
.cp-safety{background:#fff1f1;border:1.5px solid #f3b8b8;border-radius:14px;padding:14px 18px;font-size:15px;line-height:1.6;color:#7c2d2d;margin:0 0 16px}
.cp-note p,.cp-safety p{margin:0}

/* Path cards on /careers */
.cp-card-note{font-size:12.5px;font-weight:800;color:var(--teal);margin:10px 0 0}

/* Quiz + mission shared pieces */
.cp-q{font-size:18px;margin:22px 0 10px;color:#24314c}
.cp-question{margin-bottom:8px}
.cp-choices{display:grid;gap:9px;margin:10px 0 4px}
.cp-choice{display:block;width:100%;text-align:left;background:#fff;border:1.5px solid #d6dbe6;border-radius:13px;padding:13px 16px;font-family:inherit;font-size:15.5px;font-weight:700;color:#263758;cursor:pointer;transition:transform .12s,border-color .12s,background .12s}
.cp-choice:hover:not(:disabled){transform:translateY(-1px);border-color:var(--violet)}
.cp-choice:disabled{cursor:default;opacity:.85}
.cp-choice.right{border-color:#177b6a;background:var(--mint-bg);color:#14532d;opacity:1}
.cp-choice.wrong{border-color:#c0392b;background:#fff1f1;color:#7c2d2d}
.cp-choice.picked{border-color:var(--violet);background:var(--violet-soft);opacity:1}
.cp-fb{border-radius:12px;padding:12px 16px;font-size:15px;line-height:1.6;margin:12px 0 0;background:#eef2ff;color:#263758}
.cp-fb.ok{background:var(--mint-bg);color:#14532d}
.cp-fb.win{background:var(--mint-bg);border:1.5px solid #9adfc9;color:#14532d;font-weight:700}
.cp-fb.no{background:#fff6dd;color:#5c4a12}
.cp-scene{background:#fff;border:1px solid #e8edf3;border-radius:var(--radius);padding:18px 20px;margin:14px 0 4px}
.cp-scene p{font-size:16.5px;line-height:1.65;color:#33445f;margin:0}
.cp-round-count{font-size:13.5px;font-weight:900;color:var(--muted);letter-spacing:.02em;margin:6px 0 0}
.cp-next-wrap{margin-top:16px;display:flex;justify-content:flex-end}
/* Player one-screen fit (owner priority 2026-11-30): the feedback
   region's space is reserved before answering (a hidden feedback box
   keeps its height and paints nothing, so answering never pushes the
   page around) and the Next bar sticks to the bottom of the screen —
   no layout shift, no hunting for the button. */
.cp-fb{min-height:92px;box-sizing:border-box}
.cp-fb[hidden]{display:block;visibility:hidden}
.cp-fb:empty{display:block;visibility:hidden}
.cp-timer[hidden]{display:block;visibility:hidden}
.cp-next-wrap{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:5}
.cp-next-wrap[hidden]{display:flex;visibility:hidden}
.cp-goal{font-size:16px;font-weight:700;color:#2c2358;background:var(--violet-soft);border-radius:12px;padding:12px 16px;margin:0 0 14px}

/* Sequence engine */
.cp-seq-track{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 6px}
.cp-seq-slot{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e7ebf2;color:#7b8699;font-weight:900;font-size:14px}
.cp-seq-slot.filled{background:var(--teal);color:#fff;font-size:18px}
.cp-timer{font-weight:900;color:var(--muted);font-size:14px;margin:4px 0 0}
.cp-seq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}
.cp-seq-item{position:relative;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1.5px solid #d6dbe6;border-radius:14px;padding:13px 14px;font-family:inherit;font-size:15px;font-weight:700;color:#263758;cursor:pointer;min-width:0}
.cp-seq-item:hover:not(:disabled){border-color:var(--violet)}
.cp-seq-item.placed{border-color:#177b6a;background:var(--mint-bg);color:#14532d}
.cp-seq-item:disabled{cursor:default}
.cp-seq-icon{font-size:23px;flex-shrink:0}
.cp-seq-num{position:absolute;top:-9px;left:-7px;width:24px;height:24px;border-radius:50%;background:var(--teal);color:#fff;font-size:13px;font-weight:900;display:grid;place-items:center}
.cp-seq-item.shake{animation:cp-shake .4s ease}
@keyframes cp-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* Steady engine (flight / hose) */
.cp-steady-wrap{background:#0d1730;border:1px solid #26365c;border-radius:16px;padding:14px;margin-bottom:14px}
.cp-steady{width:100%;height:auto;display:block}
.cp-sky{fill:#13234d}
.cp-band{fill:rgba(85,187,165,.4)}
.cp-ground{stroke:#55bba5;stroke-width:3}
.cp-gauge-bg{fill:#26365c}
.cp-gauge-alt{fill:#55bba5}
.cp-gauge-band{fill:rgba(85,187,165,.55)}
.cp-gauge-needle{fill:#ffc94d}
.cp-svg-label{fill:#93a5c9;font-size:10.5px;font-weight:800;letter-spacing:.06em}
.cp-progress-line{margin-top:10px}
.cp-progress-word{color:#c9d4ef;font-size:13.5px;font-weight:800;margin:7px 0 0}
.cp-hold-row{display:flex;gap:10px;flex-wrap:wrap}
.cp-hold{flex:1 1 150px;touch-action:none;user-select:none;-webkit-user-select:none}

/* Certificate tabs reuse .cl-cert-tab; the careers cert card prints alone */
@media print{
  .cp-cert-hide{display:none!important}
}
@media(max-width:720px){
  .cp-seq-grid{grid-template-columns:1fr}
  .cp-q{font-size:16.5px}
  .cp-choice{font-size:15px;padding:12px 14px}
  .cp-scene p{font-size:15.5px}
  .cp-hold-row .btn{padding:15px 8px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  .cp-seq-item.shake{animation:none}
}

/* Wave 3 (2026-11-30): Academy play scale on the band — between the phone
   layout (<=720px, untouched) and the ultra-wide steps, quiz questions
   take the Academy question size and choices grow a step. The reserved
   feedback slot + sticky action bar (player-fit) are structural and
   unchanged. */
@media (min-width:721px) and (max-width:1599px){
  .cp-q{font-size:clamp(25px,4.2vw,38px)}
  .cp-choice{font-size:19px;padding:16px 18px;min-height:56px}
  .cp-scene p{font-size:19px}
  .cp-fb{font-size:17px}
}
