/* Practice blocks and hub cards for topic lessons (supermarket first). Pairs with coffee-batch1.css lesson classes. */
.tp-table,.tp-say,.tp-roleplay,.tp-gap,.tp-mission{margin:2rem 0;padding:1.25rem 1.25rem 1.1rem;border:1px solid #d6e5dc;border-radius:1.1rem;background:#f6fbf8}
.tp-roleplay{background:#fffaf0;border-color:#f1dfb5}
.tp-gap{background:#f5f8ff;border-color:#d3def5}
.tp-mission{background:#ecfdf5;border-color:#10b981;border-width:2px}
.tp-table h2,.tp-say h2,.tp-roleplay h2,.tp-gap h2,.tp-mission h2{margin-top:0}
.tp-table__wrap{overflow-x:auto}
.tp-table table{width:100%;border-collapse:collapse;min-width:30rem;font-size:.95rem}
.tp-table th,.tp-table td{border:1px solid #cfe0d6;padding:.55rem .7rem;text-align:left;vertical-align:top}
.tp-table thead th{background:#e1f1e8}
.tp-note{margin:.75rem 0 0;font-style:italic;color:#475569}
.tp-say ol{padding-left:1.4rem;line-height:1.65}
.tp-rp__steps{list-style:decimal;padding-left:1.3rem}
.tp-rp__steps>li{margin:0 0 1rem}
.tp-rp__them{margin:.2rem 0}
.tp-rp__you{margin:.3rem 0 .1rem}
.tp-rp__steps ul{margin:.2rem 0 0;padding-left:1.1rem}
.tp-rp__challenge{margin:1rem 0 0;padding:.75rem 1rem;border-radius:.8rem;background:#fff;border:1px dashed #e0b84d}
.tp-gap ol{padding-left:1.3rem}
.tp-gap li{margin:.9rem 0}
.tp-gap summary{cursor:pointer;font-weight:800;color:#047857}
.tp-checks{list-style:none;padding:0;margin:.8rem 0}
.tp-checks li{margin:.45rem 0}
.tp-checks input{width:1.15rem;height:1.15rem;margin-right:.5rem;vertical-align:-.2rem}
.tp-pw__list{list-style:none;padding:0;margin:.8rem 0;display:grid;gap:.6rem}
.tp-pw__list li{display:grid;gap:.1rem;padding:.7rem .9rem;border-radius:.8rem;background:#fff;border:1px solid #cfe0d6}
.tp-pw__list span{color:#475569;font-size:.92rem}
.tp-quizwrap{max-width:72rem;margin:0 auto;padding:0 1rem}
.tp-after{width:min(100% - 2rem,72rem);margin:0 auto 2rem}
.tp-after article{width:min(100%,54rem);margin:0 auto}
.tp-after a{color:#065f46;text-decoration:underline;text-underline-offset:3px}
.tp-group{margin:2.5rem 0}
.tp-cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}
.tp-card{display:block;padding:1.1rem;border:1px solid #d6e5dc;border-radius:1.1rem;background:#fff;text-decoration:none!important;color:inherit!important;box-shadow:0 2px 10px rgba(6,78,59,.06)}
.tp-card:hover,.tp-card:focus-visible{transform:translateY(-2px);box-shadow:0 6px 18px rgba(6,78,59,.14)}
.tp-card__level{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#047857}
.tp-card h3{margin:.4rem 0;font-size:1.1rem;line-height:1.3;color:#064e3b}
.tp-card p{margin:0;color:#475569;font-size:.92rem;line-height:1.5}
.tp-start,.tp-how{margin:1.5rem 0;padding:1.1rem 1.25rem;border-radius:1.1rem;background:#f6fbf8;border:1px solid #d6e5dc}
.tp-start h2,.tp-how h2{margin-top:0}
@media(max-width:600px){.tp-table table{min-width:24rem}}
.tp-hero{margin:1.2rem 0 1.4rem;border-radius:1.4rem;overflow:hidden;box-shadow:0 8px 28px rgba(6,78,59,.14);background:#ecfdf5}
.tp-hero img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}
