.t382-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:.8rem;margin:.8rem 0}
.t382-card{--topic:#9fd4c5;background:#203a39;color:#f4f6f7;border:1px solid #6a8581;border-top:3px solid var(--topic);border-radius:12px;padding:1rem;min-width:0;overflow-wrap:anywhere}
.t382-card[data-subject=biology]{--topic:#b2d49d;background:#283a32}.t382-card[data-subject=astronomy]{--topic:#c4bee7;background:#31344a}
.t382-card h3{margin:.45rem 0}.t382-card a,.t382-card small{color:var(--topic)}.t382-card a{display:block;min-height:2rem;text-underline-offset:.2em}
.t382-card[data-seen=yes]{border-inline-start:4px solid #d6b9dd}.t382-seen{display:block}.t382-options{min-width:0;margin:.7rem 0;border:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}.t382-options legend{font-weight:650;margin-bottom:.35rem}
.t382-options button,.t382-catalog>button{min-height:44px;white-space:normal;max-width:100%;overflow-wrap:anywhere}
.t382-options button[aria-pressed=true]{background:#25464b!important;color:#f4fffe!important;border:2px solid #abe0d5!important}
.t382-search{display:grid;gap:.3rem}.t382-search input,.t382-options input{min-height:44px;width:min(100%,36rem);box-sizing:border-box}.t382-go{display:inline-block;padding:.5rem 0}
.t382-catalog a:focus-visible,.t382-options button:focus-visible{outline:3px solid #e6c989;outline-offset:2px}
@media(max-width:650px){.t382-grid{grid-template-columns:1fr}.t382-options button{flex:1 1 9rem}.tutor282 .tutor-controls282{display:flex;flex-wrap:wrap}.tutor282 .tutor-controls282 button{min-width:0;min-height:44px;white-space:normal}.t382-card h3{font-size:1.12rem}}
.t382-stepbar,.t382-tasklist{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.t382-stepbar button,.t382-tasklist button{min-height:44px;white-space:normal;overflow-wrap:anywhere}.t382-tasklist [aria-current=step]{border-inline-start:4px solid #9adacb}
.t382-card button{min-height:44px;white-space:normal;max-width:100%}
.t382-chips{display:flex;flex-wrap:wrap;gap:.4rem;align-items:stretch}
@media(max-width:650px){.t382-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.t382-chips button{width:100%;padding:.45rem .5rem;text-align:left}.t382-search input{font-size:16px}.t382-resume{line-height:1.35}.t382-resume a{padding:.3rem 0}}
