/* Team pulse check (landing, phone, host) */
.tp-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.25rem; box-shadow: 0 2px 10px rgba(15, 23, 42, .05); }
.tp-code-input { letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }
.tp-steps { list-style: none; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tp-steps li { display: flex; gap: .6rem; align-items: flex-start; background: #f8fafc; border-radius: 12px; padding: .8rem; }
.tp-step-n { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #16a34a; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tp-statements li { margin-bottom: .35rem; }

/* Phone */
.tp-play { max-width: 640px; margin: 0 auto; }
.tp-q { border: 1px solid #e2e8f0; border-radius: 14px; padding: .9rem 1rem 1rem; margin-bottom: 1rem; background: #fff; }
.tp-q-text { font-size: 1.05rem; font-weight: 600; margin-bottom: .7rem; float: left; width: 100%; padding: 0; }
.tp-q-text + * { clear: both; }
.tp-q-n { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e2e8f0; align-items: center; justify-content: center; font-size: .85rem; margin-right: .3rem; }
.tp-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.tp-opt, .tp-nps-opt { position: relative; margin: 0; }
.tp-opt input, .tp-nps-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tp-opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3.2rem; padding: .3rem; border: 2px solid #cbd5e1; border-radius: 10px; font-size: .8rem; line-height: 1.15; cursor: pointer; }
.tp-opt input:checked + span, .tp-nps-opt input:checked + span { background: #16a34a; border-color: #16a34a; color: #fff; font-weight: 600; }
.tp-opt input:focus-visible + span, .tp-nps-opt input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 1px; }
.tp-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: .25rem; }
.tp-nps-opt span { display: flex; align-items: center; justify-content: center; height: 2.6rem; border: 2px solid #cbd5e1; border-radius: 8px; font-weight: 600; cursor: pointer; }
.tp-nps-ends { display: flex; justify-content: space-between; font-size: .8rem; color: #64748b; margin-top: .35rem; }
.tp-done { text-align: center; padding: 2rem 1rem; }
@media (max-width: 420px) {
    .tp-opt span { font-size: .7rem; min-height: 3.4rem; }
    .tp-nps { grid-template-columns: repeat(6, 1fr); }
}

/* Host */
.tp-code { display: flex; gap: .35rem; }
.tp-code span { width: 2.4rem; height: 2.9rem; border-radius: 8px; background: #0f172a; color: #fff; font-size: 1.6rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tp-qr { width: 150px; margin: 0 auto .5rem; }
.tp-qr svg { width: 100%; height: auto; }
.tp-count { font-size: 2.2rem; font-weight: 800; }
.tp-enps { display: flex; gap: 1rem; align-items: center; background: #f8fafc; border-radius: 14px; padding: 1rem; margin-bottom: 1rem; }
.tp-enps-score { flex: none; min-width: 5rem; text-align: center; font-size: 2.2rem; font-weight: 800; color: #475569; }
.tp-enps-score.tp-pos { color: #15803d; }
.tp-enps-score.tp-neg { color: #b91c1c; }
.tp-items { display: grid; gap: .8rem; }
.tp-item { border: 1px solid #e2e8f0; border-radius: 14px; padding: .8rem 1rem; }
.tp-item-split { border-color: #f59e0b; }
.tp-item-head { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.tp-item-name { font-size: 1.05rem; font-weight: 700; margin: 0; }
.tp-item-avg { font-weight: 700; color: #334155; white-space: nowrap; }
.tp-item-st { font-size: .85rem; color: #64748b; margin: .15rem 0 .45rem; }
.tp-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #e2e8f0; }
.tp-seg { display: block; height: 100%; }
.tp-agree { background: #16a34a; }
.tp-neutral { background: #cbd5e1; }
.tp-disagree { background: #dc2626; }
.tp-item-pct { font-size: .8rem; color: #475569; margin-top: .25rem; }
.tp-prompts { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tp-prompt { border-radius: 14px; padding: .9rem 1rem; background: #fff; border: 1px solid #e2e8f0; border-left-width: 6px; }
.tp-prompt-low { border-left-color: #dc2626; }
.tp-prompt-split { border-left-color: #f59e0b; }
.tp-prompt-high { border-left-color: #16a34a; }
.tp-prompt-title { font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; }
.tp-ended { font-size: 1.2rem; text-align: center; margin: 15vh auto; max-width: 560px; }
