.lab{--mint:#CDEFE0;--butter:#FFF6D9;--peach:#FFD9C7;--sky:#CFE6FB;--rose:#FBD3E3;--ink:#273440;--pinkx:#B83A70}
.lab .wrap{max-width:1100px;margin:0 auto;padding:16px}
.lab-hero{background:linear-gradient(120deg,#FBD3E3,#CFE6FB 55%,#CDEFE0);padding:20px 16px;text-align:center}
.lab-hero h1{margin:4px 0;font-size:clamp(1.7rem,5vw,2.6rem)}.lab-hero p{margin:4px auto;max-width:680px}
.crumbs a{color:#B83A70}
.badge{display:inline-block;border-radius:999px;padding:4px 12px;font-weight:800;font-size:.85rem;margin:2px}
.b-free{background:#CDEFE0;color:#1d5c48}.b-prem{background:#FDE7EF;color:#8F2A52}
.panel{background:#fff;border:1px solid #E7E1DE;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 6px 18px #27344012}
.grid2{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}@media(max-width:760px){.grid2{grid-template-columns:1fr}}
.lbtn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:48px;min-width:48px;border:0;border-radius:999px;padding:10px 18px;font-weight:800;font-size:1rem;cursor:pointer;background:#273440;color:#fff;touch-action:manipulation;margin:3px}
.lbtn.mint{background:#CDEFE0;color:#273440}.lbtn.butter{background:#FFF6D9;color:#273440}.lbtn.peach{background:#FFD9C7;color:#273440}.lbtn.sky{background:#CFE6FB;color:#273440}.lbtn.pink{background:#B83A70;color:#fff}
.lbtn[aria-pressed=true]{outline:3px solid #D64D87;outline-offset:2px}
.lbtn:focus-visible,.lab input:focus-visible,.lab select:focus-visible,.lab svg [tabindex]:focus-visible{outline:3px solid #267F78;outline-offset:2px}
.lab input[type=range]{width:100%;min-height:44px;accent-color:#D64D87}
.lab input[type=number],.lab select{min-height:48px;font-size:1.1rem;border-radius:12px;border:2px solid #CFE6FB;padding:6px 10px;width:8em}
.read{font-size:1.4rem;font-weight:800;background:#FFF6D9;border-radius:14px;padding:8px 14px;display:inline-block;margin:4px 0}
.fb{min-height:1.6em;font-weight:700}.ok{color:#1d6b4f}.no{color:#B83A70}
.stage{width:100%;height:auto;display:block;touch-action:none;background:#FAF8F6;border-radius:14px}
.locked{position:relative;border:2px dashed #E8C35A;background:#FFFBEA}
.locked h3{margin-top:0}.lockrow{display:flex;flex-wrap:wrap;gap:8px}
.prem-dlg{border:0;border-radius:22px;padding:22px;max-width:420px;box-shadow:0 20px 60px #0004;text-align:center}
.prem-dlg::backdrop{background:#2734408c}
.toolcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tcard{display:block;text-decoration:none;color:#273440;border-radius:18px;padding:16px;box-shadow:0 6px 18px #27344014;border:1px solid #E7E1DE}
.tcard b{display:block;font-size:1.2rem;margin:6px 0}.tcard .ti{font-size:2rem}
.c-mint{background:#CDEFE0}.c-butter{background:#FFF6D9}.c-peach{background:#FFD9C7}.c-sky{background:#CFE6FB}.c-pink{background:#FBD3E3}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
table.res{border-collapse:collapse;width:100%}table.res td,table.res th{border:1px solid #E7E1DE;padding:6px;text-align:left}
@media print{.site-head,.site-foot,.lbtn{display:none}}

.tcard{display:flex;flex-direction:column;height:100%}
.tcard .card-thumb{margin:0 0 8px}
.tcard .badge{align-self:flex-start}
/* Science Lab hub browse (2026-11-10) */
.lab-filter{background:#fff;border:2px solid #273440;border-radius:18px;padding:12px 14px;margin:0 0 16px}
.lf-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0}
.lf-lbl{font-weight:800;min-width:64px}
.lf-btn{min-height:48px;padding:0 16px;border-radius:999px;border:2px solid #273440;background:#fff;color:#273440;font:inherit;font-weight:800;cursor:pointer}
.lf-btn[aria-pressed=true]{background:#273440;color:#fff}
.lf-count{margin:6px 0 0;font-weight:700;color:#4a5866}
.tcard[hidden]{display:none}
.ngss{display:inline-block;font-size:.82rem;font-weight:800;color:#1F5FBF;border:1.5px solid #1F5FBF;border-radius:8px;padding:1px 8px;margin:4px 0 0}
.b-new{background:#273440;color:#fff}
.lab-soon{margin-top:22px}.lab-soon h2{font-size:1.3rem;margin:0 0 8px}
.soon-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0}.soon-chips span{border:2px dashed #9AA4AD;border-radius:999px;padding:6px 14px;font-weight:700;color:#4a5866}
