/* Talenta Pros — growth features (Nov 2026): bookmarks, Q&A, streak, referrals, reviews, cheat sheet */
:root{--x-em:#12B886;--x-em2:#0A7D5B;--x-em3:#086648;--x-soft:#ECF8F3;--x-line:#C9EBDD;--x-ink:#172033;--x-mut:#596579;--x-bd:#E4EAE7;--x-gold:#F5B942}
.tpx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tpx-muted{color:var(--x-mut);font-size:13px}
.tpx-empty{color:var(--x-mut);font-size:14px;padding:14px 16px;background:#F8FBFA;border:1px dashed var(--x-bd);border-radius:12px;margin:12px 0 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tpx-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.tpx-btn{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:10px;background:var(--x-em2);color:#fff;font:700 14px/1 Manrope,system-ui,sans-serif;padding:11px 16px;cursor:pointer;white-space:nowrap}
.tpx-btn:hover{background:var(--x-em3)}
.tpx-btn.sm{padding:8px 12px;font-size:13px}
.tpx-btn svg,.tpx-bm-t svg{width:16px;height:16px;fill:currentColor;stroke:none}
.tpx-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tpx-link{border:0;background:none;color:var(--x-em2);font:700 12.5px/1 Manrope,system-ui,sans-serif;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}
.tpx-ico{border:0;background:none;color:var(--x-mut);width:34px;height:34px;border-radius:8px;display:grid;place-items:center;cursor:pointer}
.tpx-ico:hover{background:#FDECEC;color:#C0392B}
.tpx-pill{display:inline-block;font:700 11px/1 Manrope,system-ui,sans-serif;padding:4px 7px;border-radius:999px;background:#EEF1F7;color:#33415C}
.tpx-pill.ok{background:var(--x-soft);color:var(--x-em3)}
/* lesson panels */
.tpx-panel{margin:14px 0 6px}
.tpx-bm-head b{display:block;font:800 16px/1.3 Manrope,system-ui,sans-serif;color:var(--x-ink)}
.tpx-bm-head small{display:block;color:var(--x-mut);font-size:13px;margin-top:3px}
.tpx-bm-form{display:flex;gap:10px;margin:12px 0 0;flex-wrap:wrap}
.tpx-bm-form input,.tpx-qa-form textarea,.tpx-qa-reply textarea{flex:1 1 220px;min-width:0;border:1px solid var(--x-bd);border-radius:10px;padding:11px 12px;font:500 14px/1.4 Manrope,system-ui,sans-serif;color:var(--x-ink);background:#fff}
.tpx-bm-form input:focus,.tpx-qa-form textarea:focus,.tpx-qa-reply textarea:focus{outline:2px solid var(--x-em);outline-offset:1px;border-color:transparent}
.tpx-bm-list{list-style:none;margin:12px 0 0;padding:0;border:1px solid var(--x-bd);border-radius:12px;overflow:hidden;background:#fff}
.tpx-bm-list li{display:flex;align-items:center;gap:12px;padding:8px 10px 8px 12px;border-top:1px solid var(--x-bd)}
.tpx-bm-list li:first-child{border-top:0}
.tpx-bm-t{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--x-line);background:var(--x-soft);color:var(--x-em3);border-radius:8px;padding:6px 9px;font:700 13px/1 "DM Mono",ui-monospace,monospace;cursor:pointer;flex:none}
.tpx-bm-t:hover{background:var(--x-em2);color:#fff;border-color:var(--x-em2)}
.tpx-bm-l{flex:1;min-width:0;font-size:14px;color:var(--x-ink);overflow-wrap:anywhere}
.tpx-bm-l i{color:var(--x-mut)}
.chip-bm{border:1px solid var(--x-line)!important;background:var(--x-soft)!important;color:var(--x-em3)!important;font:700 12.5px/1 Manrope,system-ui,sans-serif;border-radius:999px;padding:6px 10px;cursor:pointer}
.chip-bm:hover{background:#DDF3E9!important}
.tpx-qa-form{margin:12px 0 0;display:grid;gap:8px}
.tpx-qa-form textarea{width:100%;box-sizing:border-box;resize:vertical}
.tpx-qa-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.tpx-qa-q{border:1px solid var(--x-bd);border-radius:12px;padding:12px 14px;background:#fff}
.tpx-qa-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12.5px;color:var(--x-mut)}
.tpx-qa-meta b{color:var(--x-ink);font-size:13.5px}
.tpx-qa-meta .tpx-link{margin-left:auto}
.tpx-qa-q p,.tpx-qa-r p{margin:6px 0 0;font-size:14.5px;line-height:1.55;color:var(--x-ink);white-space:pre-wrap;overflow-wrap:anywhere}
.tpx-qa-replies{list-style:none;margin:10px 0 0;padding:0 0 0 14px;border-left:3px solid var(--x-bd);display:grid;gap:10px}
.tpx-qa-r.ins{border-left:3px solid var(--x-em);margin-left:-17px;padding-left:14px;background:linear-gradient(90deg,var(--x-soft),transparent 70%);border-radius:0 8px 8px 0;padding-top:6px;padding-bottom:6px}
.tpx-qa-reply{margin-top:8px}
.tpx-qa-reply summary{cursor:pointer;color:var(--x-em2);font:700 13px/1 Manrope,system-ui,sans-serif;list-style:none;padding:4px 0}
.tpx-qa-reply summary::-webkit-details-marker{display:none}
.tpx-qa-reply form{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap;align-items:flex-start}
/* dashboard cards */
.tpx-streak .tpx-st-top{display:flex;align-items:center;gap:12px}
.tpx-flame{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#F3F5F4;flex:none}
.tpx-flame svg{width:26px;height:26px;fill:#B9C3BF}
.tpx-streak.lit .tpx-flame{background:#FFF3E3}
.tpx-streak.lit .tpx-flame svg{fill:#F08A24}
.tpx-st-top b{display:block;font:800 22px/1.1 Manrope,system-ui,sans-serif;color:var(--x-ink)}
.tpx-st-top small{color:var(--x-mut);font-size:12.5px;font-weight:600}
.tpx-st-best{margin-left:auto;text-align:right}
.tpx-st-best b{font-size:17px}
.tpx-st-grid{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(14,1fr);gap:4px}
.tpx-st-grid li{aspect-ratio:1;border-radius:4px;background:#EEF2F0}
.tpx-st-grid li.on{background:var(--x-em)}
.tpx-ref-h{display:flex;gap:12px;align-items:flex-start}
.tpx-ref-h h3{margin:0 0 3px}
.tpx-ref-h small{color:var(--x-mut);font-size:13px;line-height:1.45;display:block}
.tpx-badge-ic{width:40px;height:40px;border-radius:11px;background:var(--x-soft);display:grid;place-items:center;flex:none}
.tpx-badge-ic svg{width:22px;height:22px;fill:none;stroke:var(--x-em2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tpx-code{display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding:10px 12px;border:1.5px dashed var(--x-em);border-radius:10px;background:#FAFDFC}
.tpx-code span{font-size:12.5px;color:var(--x-mut);font-weight:600}
.tpx-code b{font:700 17px/1 "DM Mono",ui-monospace,monospace;letter-spacing:.06em;color:var(--x-em3)}
.tpx-ref .tpx-row{justify-content:flex-start}
.tpx-ref .tp-d-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;margin-right:6px;vertical-align:-3px}
.tpx-career .tp-d-btn{margin-top:12px}
.tpx-review form{display:grid;gap:10px;margin-top:10px}
.tpx-review input,.tpx-review textarea{border:1px solid var(--x-bd);border-radius:10px;padding:10px 12px;font:500 14px/1.4 Manrope,system-ui,sans-serif;width:100%;box-sizing:border-box}
.tpx-review .tp-d-btn{justify-self:start}
.tpx-stars{display:flex;gap:4px}
.tpx-stars button{border:0;background:none;padding:2px;cursor:pointer}
.tpx-stars svg{width:30px;height:30px;fill:#E2E7E5;transition:fill .15s,transform .15s}
.tpx-stars button:hover svg{transform:scale(1.1)}
.tpx-stars button.on svg{fill:var(--x-gold)}
/* homepage: verified reviews */
.tpx-vr{margin-top:34px}
.tpx-vr-h{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.tpx-vr-h h3{margin:4px 0 0;font-size:22px}
.tpx-vr-agg{display:flex;align-items:center;gap:8px}
.tpx-vr-agg b{font:800 28px/1 Manrope,system-ui,sans-serif}
.tpx-vr-agg small{color:var(--x-mut);font-weight:600}
.tpx-vr-st{color:var(--x-gold);letter-spacing:2px}
.tpx-vr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.tpx-vr-c{margin:0;background:#fff;border:1px solid var(--x-bd);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px}
.tpx-vr-c blockquote{margin:0;font-size:14.5px;line-height:1.55;color:var(--x-ink)}
.tpx-vr-c figcaption{margin-top:auto;padding-top:6px;font-size:13px;font-weight:700;color:var(--x-mut);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
/* pricing: coupon field */
.tpx-codebox{max-width:480px;margin:18px auto 0;text-align:center}
.tpx-codebox summary{cursor:pointer;font-weight:700;color:var(--x-em2);display:inline-block}
.tpx-codebox form{display:flex;gap:8px;margin-top:10px;justify-content:center}
.tpx-codebox input{flex:1;max-width:260px;border:1px solid var(--x-bd);border-radius:10px;padding:11px 12px;font:700 15px/1 "DM Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.05em}
.tpx-code-msg{font-size:13.5px;margin:8px 0 0;min-height:1em}
/* homepage: cheat-sheet lead */
.tpx-cheat-in{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:40px;align-items:center;background:linear-gradient(135deg,#F2FBF7,#fff 60%);border:1px solid var(--x-line);border-radius:22px;padding:34px}
.tpx-cheat h2{margin:6px 0 10px}
.tpx-cheat p{color:var(--x-mut);margin:0 0 16px;max-width:560px}
.tpx-cheat-pic{display:grid;place-items:center}
.tpx-pdf{position:relative;width:220px;aspect-ratio:.72;background:#fff;border-radius:10px;box-shadow:0 26px 50px -24px rgba(10,125,91,.55),0 0 0 1px var(--x-bd);padding:62px 18px 18px;transform:rotate(-4deg);overflow:hidden}
.tpx-pdf i{position:absolute;inset:0 0 auto;height:48px;background:var(--x-em2)}
.tpx-pdf b{display:block;font:800 18px/1.2 Manrope,system-ui,sans-serif;color:var(--x-ink)}
.tpx-pdf span{display:block;margin-top:10px;font-size:12px;line-height:1.5;color:var(--x-mut)}
.tpx-pdf::after{content:"";position:absolute;left:18px;right:18px;bottom:18px;height:70px;background:repeating-linear-gradient(#EEF2F0 0 6px,transparent 6px 14px)}
.tpx-lead-f{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:560px}
.tpx-lead-f input{border:1px solid var(--x-bd);border-radius:10px;padding:12px;font:500 15px/1.3 Manrope,system-ui,sans-serif;min-width:0;background:#fff}
.tpx-lead-f input[name=name]{grid-column:1/-1}
.tpx-lead-f button{grid-column:1/-1;justify-content:center;display:inline-flex;gap:8px;align-items:center}
.tpx-lead-f button svg,.tpx-lead-ok svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.tpx-lead-f small{grid-column:1/-1;color:var(--x-mut);font-size:12px}
.tpx-lead-ok{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.tpx-lead-ok b{width:100%;color:var(--x-em3)}
.tpx-lead-ok .btn{display:inline-flex;gap:8px;align-items:center}
.tpx-slide{position:fixed;right:18px;bottom:18px;z-index:9000;width:min(360px,calc(100vw - 32px));background:#fff;border-radius:18px;box-shadow:0 30px 60px -20px rgba(16,24,40,.45),0 0 0 1px var(--x-bd);padding:20px;transform:translateY(130%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.tpx-slide.on{transform:none}
.tpx-slide>b{display:block;font:800 17px/1.3 Manrope,system-ui,sans-serif;padding-right:26px;color:var(--x-ink)}
.tpx-slide>p{margin:6px 0 12px;font-size:13.5px;color:var(--x-mut)}
.tpx-slide .tpx-lead-f{grid-template-columns:1fr}
.tpx-slide .tpx-lead-f input{padding:10px}
.tpx-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0;border-radius:8px;background:#F3F5F4;font-size:20px;line-height:1;cursor:pointer;color:var(--x-mut)}
@media (max-width:760px){
  .tpx-cheat-in{grid-template-columns:1fr;padding:22px;gap:22px}
  .tpx-pdf{width:170px}
  .tpx-lead-f{grid-template-columns:1fr}
  .tpx-slide{right:16px;left:16px;width:auto;bottom:calc(16px + env(safe-area-inset-bottom))}
  .tpx-bm-form .tpx-btn{flex:1 1 100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.tpx-slide{transition:none}}

/* Phones: slim cheat-sheet bar that sits above the sticky Log in / Free trial bar */
@media (max-width:720px){
  .tpx-slide.tpx-slide-mini{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;border-radius:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .tpx-slide-mini>span{flex:1;min-width:0;font:600 14px/1.3 Manrope,system-ui,sans-serif;color:var(--x-ink)}
  .tpx-slide-mini>span small{font-size:11px;font-weight:700;color:#12B886;margin-left:2px}
  .tpx-slide-mini .tpx-mini-go{flex:none;border:0;border-radius:10px;background:#12B886;color:#0E1B3D;font:800 13.5px/1 Manrope,system-ui,sans-serif;padding:10px 12px;min-height:40px;cursor:pointer}
  .tpx-slide-mini .tpx-x{position:static;flex:none}
}
