/* CCR Academy 3.0.0 - instance chip, training path, "Why won't it start?" card. */
.orgchip { margin-left: 12px; padding: 4px 10px; border: 1px solid #3b444c; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #e8edf1; background: #20262b; white-space: nowrap; }
@media (max-width: 900px) { .orgchip { display: none; } }

/* Training path */
.hmpath { margin: 16px 0; border-left: 3px solid var(--accent, #f28c28); }
.tpath .pstage { margin-top: 14px; }
.pstage.locked { opacity: .62; }
.pstage.current { border-left: 3px solid var(--accent, #f28c28); }
.pstage.signed { border-left: 3px solid #57b87a; }
.phead { display: flex; align-items: flex-start; gap: 12px; }
.phead h3 { margin: 0 0 3px; }
.phead .muted { font-size: 12px; line-height: 1.45; }
.pbody { flex: 1; min-width: 0; }
.pnum { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #2b3238; color: #e8edf1; }
.pstage.current .pnum { background: var(--accent, #f28c28); color: #14181b; }
.pstage.signed .pnum { background: #57b87a; color: #14181b; }
.psign { margin: 10px 0 0 42px; font-size: 12.5px; color: #9fd8b4; }
.psign.warn { color: #f7c873; }
.plock { margin: 10px 0 0 42px; font-size: 12px; }
.pitems { margin-top: 10px; display: grid; gap: 2px; }
.pitem { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; border-bottom: 1px solid #23292e; }
.pitem:last-child { border-bottom: 0; }
.pitem b { font-weight: 600; }
.pitem .code { flex: none; min-width: 42px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--accent2, #ffb35c); }
.pitem .pnote { font-size: 11.5px; margin-top: 1px; }
.pchk { flex: none; width: 20px; text-align: center; font-size: 15px; color: #59636c; }
.pitem.half .pchk { color: #f7c873; }
.pitem.done .pchk { color: #57b87a; }
.pitem.done b { color: #9aa5ad; font-weight: 500; }

/* Why won't it start? */
.whycard { position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 360px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto; background: #1b2025; color: #e8edf1; border: 1px solid #47525b; border-left: 4px solid #f28c28; border-radius: 10px; padding: 12px 14px; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.4; }
.why-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.why-x { background: none; border: 0; color: #9aa5ad; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.why-x:hover { color: #fff; }
.why-eq { margin-top: 2px; font-weight: 700; color: #ffb35c; }
.why-sub { margin-top: 8px; font-size: 12px; color: #9aa5ad; }
.why-l { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.why-l li { display: flex; gap: 8px; align-items: flex-start; }
.why-l .mk { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; margin-top: 1px; }
.why-l li.ok .mk { background: #244a33; color: #7fe0a2; }
.why-l li.miss .mk { background: #5a2420; color: #ff9a90; }
.why-l li.ok b { font-weight: 500; color: #9aa5ad; }
.why-l .fix { margin-top: 2px; font-size: 12.5px; color: #f3d9a8; }
.why-ok { margin: 10px 0 8px; padding: 7px 9px; border-radius: 7px; background: #1e3a2a; color: #9fe6b9; font-weight: 600; }
.why-msg { margin-top: 8px; color: #f3d9a8; }
.why-act { margin-top: 10px; }
.why-coach { margin-top: 8px; padding: 8px 9px; border-radius: 7px; background: #262c31; font-size: 12.5px; white-space: pre-wrap; }
.why-foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid #333b43; font-size: 11.5px; color: #9aa5ad; }
