/* Interactive Learning Lab (wwwroot/lab). Works inside a portal and on the public /lab pages. */
.lab-page{--c:#EA580C}
.lab-page.public{padding:18px 22px 40px;font-family:"Inter",system-ui,sans-serif}
.lab-page:fullscreen{background:#F8FAFC;padding:14px;overflow:auto;max-width:none}
.lab-bar-public{display:flex;align-items:center;gap:18px;padding:12px 22px;background:#fff;border-bottom:3px solid #EA580C;font-family:"Inter",system-ui,sans-serif}
.lab-bar-public a{color:#172b4d;text-decoration:none;font-weight:600;font-size:14px}
.lab-bar-public .sp{flex:1}
.lab-brand b{font-size:21px;font-weight:800;letter-spacing:1px}.lab-brand b span{color:#48b6a3}.lab-brand small{display:block;font-size:9px;letter-spacing:3px;color:#667085;margin-top:-3px}
.lab-signin{background:#C2410C;color:#fff!important;padding:7px 14px;border-radius:8px}

.lab-hero{background:linear-gradient(120deg,#7C2D12,#C2410C 55%,#EA580C);color:#fff;border-radius:18px;padding:30px 32px;margin-bottom:20px}
.lab-hero h1{font-size:clamp(24px,3.2vw,38px);line-height:1.15;margin:6px 0 8px;color:#fff;font-weight:800}
.lab-hero p{margin:0;max-width:70ch;color:#FFEDD5;font-size:16px}
.lab-kicker{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;opacity:.9}
.lab-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.lab-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #E5E7EB;border-top:6px solid var(--c);border-radius:16px;padding:20px;color:#14213D;text-decoration:none;transition:.18s}
.lab-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,33,61,.12)}
.lab-emoji{font-size:44px;line-height:1}
.lab-meta{display:flex;gap:6px;flex-wrap:wrap}
.lab-meta span{font-size:12px;font-weight:700;background:#F1F5F9;border-radius:99px;padding:2px 10px;color:#475569}
.lab-meta .d3{background:var(--c);color:#fff}
.lab-card h2{font-size:21px;margin:0}
.lab-card p{margin:0;color:#475569;font-size:14.5px;line-height:1.55}
.lab-skills{display:flex;flex-wrap:wrap;gap:6px}
.lab-skills span{font-size:12px;border:1px solid #E2E8F0;border-radius:6px;padding:2px 8px;color:#334155}
.lab-go{margin-top:auto;font-weight:700;color:var(--c)}
.lab-how{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.lab-how div{background:#FFF7ED;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.lab-how b{color:#9A3412}.lab-how span{font-size:14px;color:#57534E}

.lab-top{display:flex;align-items:center;gap:14px;margin-bottom:12px;flex-wrap:wrap}
.lab-top h1{font-size:24px;margin:0}
.lab-top .lab-kicker{color:var(--c)}
.lab-top .sp{flex:1}
.lab-back{color:#475569;text-decoration:none;font-weight:600;font-size:14px}
.lab-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}
.lab-stage{display:flex;flex-direction:column;gap:12px;min-width:0}
.lab-sim{position:relative;height:min(62vh,560px);min-height:340px;border-radius:16px;overflow:hidden;background:#fff;border:1px solid #E5E7EB}
.lab-sim.atom{background:radial-gradient(circle at 50% 40%,#1E293B,#0B1120)}
.lab-sim canvas{display:block;width:100%!important;height:100%!important;touch-action:none}
.lab-sim.triangle{height:auto;min-height:0;padding:8px}
.lab-controls{background:#fff;border:1px solid #E5E7EB;border-radius:14px;padding:14px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px 18px;align-items:center}
.lab-controls label{display:grid;grid-template-columns:1fr auto;gap:2px 10px;font-size:13.5px;font-weight:600;color:#334155}
.lab-controls label span{grid-column:1/-1}
.lab-controls input[type=range]{width:100%;accent-color:var(--c)}
.lab-controls output{font-variant-numeric:tabular-nums;min-width:58px;text-align:right;color:var(--c);font-weight:700}
.lab-controls select{padding:6px 8px;border-radius:8px;border:1px solid #CBD5E1;font:inherit}
.lab-note{grid-column:1/-1;margin:0;font-size:12.5px;color:#64748B}
.lab-tags{position:absolute;inset:0;pointer-events:none;z-index:2}
.lab-tags .tag{position:absolute;transform:translate(-50%,-50%);background:rgba(255,255,255,.92);border-radius:8px;padding:3px 8px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.lab-tags .tag.load{color:#B91C1C}.lab-tags .tag.react{color:#15803D}
.lab-dias{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lab-dias > div{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:6px}
.dia{width:100%;height:auto;display:block}
.dia .t{font-size:13px;font-weight:700;fill:#334155}.dia .v{font-size:13px;font-weight:700;fill:#0F172A}
.dia .ax{stroke:#94A3B8;stroke-width:1.5}
.dia .sfd{fill:rgba(37,99,235,.15);stroke:#2563EB;stroke-width:2.5}
.dia .bmd{fill:rgba(234,88,12,.2);stroke:#EA580C;stroke-width:2.5}

.lab-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:76px}
.lab-readout{background:#fff;border:1px solid #E5E7EB;border-radius:14px;padding:10px 14px}
.lab-readout > div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed #E2E8F0;font-size:13.5px}
.lab-readout > div:last-child{border-bottom:0}
.lab-readout span{color:#64748B}.lab-readout b{text-align:right}
.lab-readout em{font-style:normal;color:var(--c)}
.lab-readout .safe b{color:#15803D}.lab-readout .unsafe b{color:#B91C1C}
.lab-readout .pyth b{color:#7C3AED}
.lab-readout .elcard{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;gap:0 10px;align-items:center;justify-content:start;background:linear-gradient(135deg,#FCE7F3,#FFF7ED);border-radius:12px;padding:10px 14px;margin-bottom:6px;border-bottom:0}
.elcard small{grid-row:1;font-weight:700;color:#9D174D}.elcard b{grid-row:1/3;font-size:40px;line-height:1;color:#831843}.elcard span{color:#831843!important;font-weight:700}.elcard em{font-style:normal;font-weight:700;color:#9D174D}
.elcard sup{font-size:20px}
.bondtxt{font-size:15px;line-height:1.5;color:#0F172A;border-bottom:0!important;display:block!important}
.lab-coach{background:#fff;border:1px solid #E5E7EB;border-top:5px solid var(--c);border-radius:14px;padding:14px 16px}
.lab-coach-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.lab-coach-head b{font-size:15px}.lab-coach-head span{font-size:13px;color:#64748B}
.lab-skill{display:grid;grid-template-columns:130px 1fr 38px;gap:8px;align-items:center;font-size:12.5px;padding:3px 0}
.lab-bar{height:8px;border-radius:9px;background:#F1F5F9;overflow:hidden}
.lab-bar i{display:block;height:100%;border-radius:9px;background:#F59E0B;transition:width .6s}
.lab-bar i.l2{background:#3B82F6}.lab-bar i.l3{background:#16A34A}
.lab-skill small{text-align:right;color:#475569;font-weight:700}
.lab-challenge{margin-top:12px;border-top:1px solid #F1F5F9;padding-top:12px}
.lab-tag{display:inline-block;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;color:var(--c);background:#FFF7ED;border-radius:6px;padding:2px 8px}
.lab-task{font-size:16px;line-height:1.5;margin:8px 0 10px;color:#0F172A}
.lab-live{font-size:13px;color:#64748B;margin-bottom:8px}
.lab-row{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.lab-input{flex:1;min-width:120px;padding:9px 10px;border:1.5px solid #CBD5E1;border-radius:9px;font:inherit;font-size:16px}
.lab-input:focus{outline:2px solid var(--c);border-color:transparent}
.lab-btn{border:1px solid #CBD5E1;background:#fff;border-radius:9px;padding:8px 14px;font-weight:700;font-size:13.5px;cursor:pointer;color:#0F172A}
.lab-btn.p{background:var(--c);border-color:var(--c);color:#fff}
.lab-btn.ghost{border-color:transparent;color:#64748B}
.lab-hints{display:flex;flex-direction:column;gap:6px}
.lab-hint{background:#FEFCE8;border:1px solid #FDE68A;border-radius:9px;padding:7px 10px;font-size:13.5px}
.lab-result{margin-top:8px;border-radius:10px;font-size:14px;line-height:1.5}
.lab-result.ok{background:#F0FDF4;border:1px solid #BBF7D0;padding:10px 12px;animation:pop .35s}
.lab-result.no{background:#FEF2F2;border:1px solid #FECACA;padding:10px 12px}
@keyframes pop{0%{transform:scale(.96)}60%{transform:scale(1.02)}100%{transform:scale(1)}}
.lab-why{margin-top:10px;font-size:12px;color:#64748B;font-style:italic}
.lab-modes{display:flex;gap:6px;flex-wrap:wrap;grid-column:1/-1}
.lab-modes button{border:1.5px solid #E2E8F0;background:#fff;border-radius:99px;padding:7px 14px;font-weight:700;cursor:pointer}
.lab-modes button.on{background:var(--c);border-color:var(--c);color:#fff}
.lab-adders{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1}
.lab-adders > div{display:flex;align-items:center;gap:8px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:12px;padding:6px 10px;font-weight:700;font-size:14px}
.lab-adders button{width:36px;height:36px;border-radius:9px;border:1px solid #CBD5E1;background:#fff;font-size:20px;font-weight:800;cursor:pointer}
.lab-adders button:active{transform:scale(.94)}
.dot{width:14px;height:14px;border-radius:50%;display:inline-block}.dot.p{background:#EF4444}.dot.n{background:#94A3B8}.dot.e{background:#38BDF8}
.lab-toggles{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;grid-column:1/-1}
.lab-toggles label{display:flex;gap:6px;align-items:center;font-weight:600}
.tri-svg{width:100%;height:auto;display:block;user-select:none;touch-action:none}
.tri-svg .g{stroke:#EEF2F7;stroke-width:1}.tri-svg .g5{stroke:#DCE3EC;stroke-width:1.2}
.tri-svg .tri{fill:rgba(234,88,12,.14);stroke:#EA580C;stroke-width:3;stroke-linejoin:round}
.tri-svg .alt{stroke:#2563EB;stroke-width:2;stroke-dasharray:6 5}.tri-svg .alt.ext{stroke-dasharray:2 4}
.tri-svg .med{stroke:#7C3AED;stroke-width:1.5;stroke-dasharray:4 4}.tri-svg .gpt{fill:#7C3AED}
.tri-svg .circ{fill:none;stroke:#0EA5E9;stroke-width:1.5;stroke-dasharray:3 4}
.tri-svg .sq{stroke-width:1.5}.tri-svg .sq-a{fill:rgba(37,99,235,.12);stroke:#2563EB}.tri-svg .sq-b{fill:rgba(22,163,74,.12);stroke:#16A34A}.tri-svg .sq-c{fill:rgba(124,58,237,.12);stroke:#7C3AED}
.tri-svg .lbl{font:600 15px "Segoe UI",system-ui,sans-serif;text-anchor:middle;fill:#334155;paint-order:stroke;stroke:#fff;stroke-width:4px}
.tri-svg .lbl.ang{fill:#C2410C}.tri-svg .lbl.ang.right{fill:#16A34A;font-weight:800}.tri-svg .lbl.h{fill:#2563EB;text-anchor:start}
.tri-svg .vtx{cursor:grab}.tri-svg .vtx circle{fill:#fff;stroke:#C2410C;stroke-width:3}
.tri-svg .vtx:hover circle,.tri-svg .vtx:focus circle{fill:#FFEDD5}.tri-svg .vtx:focus{outline:none}
.tri-svg .vtx text{font:800 15px "Segoe UI",system-ui,sans-serif;text-anchor:middle;fill:#9A3412;pointer-events:none}
@media (max-width:1100px){.lab-grid{grid-template-columns:1fr}.lab-side{position:static}}
@media (max-width:640px){.lab-dias{grid-template-columns:1fr}.lab-how{grid-template-columns:1fr}.lab-page.public{padding:12px}.lab-bar-public a:not(.lab-brand):not(.lab-signin){display:none}.lab-sim{height:52vh}}

.lab-page [hidden]{display:none!important}

/* Coach: tabs, worked examples, lesson focus */
.lab-focus{font-size:12.5px;color:#475569;margin:-2px 0 6px}.lab-focus:empty{display:none}
.lab-link{border:0;background:none;color:var(--c);font-weight:700;cursor:pointer;padding:0;font:inherit;text-decoration:underline}
.lab-tabs{display:flex;gap:6px;margin-top:10px}.lab-tabs:empty{display:none}
.lab-tabs button{flex:1;border:1.5px solid #E2E8F0;background:#F8FAFC;border-radius:10px;padding:8px 6px;font-weight:700;font-size:13px;cursor:pointer;color:#334155}
.lab-tabs button.on{background:var(--c);border-color:var(--c);color:#fff}
.lab-count{float:right;font-size:12px;color:#64748B;font-weight:600}
.lab-exlist{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
.lab-exlist button{text-align:left;border:1px solid #E2E8F0;background:#fff;border-radius:8px;padding:6px 10px;font-size:13px;cursor:pointer;color:#334155}
.lab-exlist button.on{border-color:var(--c);background:#FFF7ED;font-weight:700;color:#0F172A}
.lab-step{font-size:15.5px;line-height:1.55;margin:8px 0;color:#0F172A;min-height:70px}
.lab-step .say{display:block;margin-top:6px;padding:7px 10px;border-left:4px solid #16A34A;background:#F0FDF4;border-radius:0 8px 8px 0;font-size:14px}
.lab-step .ask{display:block;margin-top:6px;padding:7px 10px;border-left:4px solid #7C3AED;background:#F5F3FF;border-radius:0 8px 8px 0;font-size:14px}
.lab-step .ask::before{content:"Ask the class: ";font-weight:800;color:#6D28D9}
.lab-dots{display:flex;gap:5px;margin:6px 0}.lab-dots i{width:22px;height:5px;border-radius:5px;background:#E2E8F0}.lab-dots i.done{background:#FDBA74}.lab-dots i.on{background:var(--c)}
.lab-btn[disabled]{opacity:.45;cursor:default}
.lab-tick{display:flex!important;gap:6px;align-items:center;grid-template-columns:none!important}
.lab-modes-l{font-size:13px;font-weight:700;color:#475569;align-self:center;margin-right:4px}

/* Embedded in a lesson */
.lab-page.embed{padding:2px}
.lab-page.embed .lab-top{margin-bottom:8px}.lab-page.embed .lab-top h2{font-size:18px;margin:0}
.lab-page.embed .lab-btn{text-decoration:none;display:inline-block}
.lab-page.embed .lab-grid{grid-template-columns:minmax(0,1fr) 330px}
.lab-page.embed .lab-sim{height:440px}
.lab-page.embed .lab-side{position:static}
@media (max-width:760px){.lab-page.embed .lab-grid{grid-template-columns:1fr}.lab-page.embed .lab-sim{height:340px}}

/* 2D plane labs */
.lab-sim.flat{height:auto;min-height:0;padding:6px}
.pl-svg{width:100%;height:auto;display:block;user-select:none;touch-action:none;font-family:"Inter","Segoe UI",system-ui,sans-serif}
.pl-svg .g{stroke:#EEF2F7;stroke-width:1}.pl-svg .g5{stroke:#DCE3EC;stroke-width:1.2}.pl-svg .ax{stroke:#64748B;stroke-width:1.6}
.pl-svg .tk{font-size:11px;fill:#64748B;text-anchor:middle}.pl-svg .tk.y{text-anchor:end}
.pl-svg .curve{fill:none;stroke:#EA580C;stroke-width:3}.pl-svg .curve.b{stroke:#2563EB}.pl-svg .curve.g{stroke:#16A34A}.pl-svg .curve.p{stroke:#7C3AED}
.pl-svg .seg{stroke:#334155;stroke-width:2}.pl-svg .seg.d{stroke-dasharray:6 5}.pl-svg .seg.o{stroke:#EA580C;stroke-width:3}.pl-svg .seg.b{stroke:#2563EB;stroke-width:3}.pl-svg .seg.g{stroke:#16A34A;stroke-width:3}
.pl-svg .shape{fill:rgba(234,88,12,.14);stroke:#EA580C;stroke-width:2.5;stroke-linejoin:round}.pl-svg .shape.b{fill:rgba(37,99,235,.12);stroke:#2563EB}.pl-svg .shape.g{fill:rgba(22,163,74,.13);stroke:#16A34A}
.pl-svg .ring{fill:rgba(37,99,235,.06);stroke:#2563EB;stroke-width:2.5}
.pl-svg .pt{fill:#EA580C;stroke:#fff;stroke-width:2}.pl-svg .pt.b{fill:#2563EB}.pl-svg .pt.g{fill:#16A34A}.pl-svg .pt.k{fill:#0F172A}
.pl-svg .lbl{font-size:14px;font-weight:700;fill:#334155;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:4px}
.pl-svg .lbl.o{fill:#C2410C}.pl-svg .lbl.b{fill:#1D4ED8}.pl-svg .lbl.g{fill:#15803D}.pl-svg .lbl.s{font-size:12px;font-weight:600}.pl-svg .lbl.l{text-anchor:start}
.pl-svg .hdl{cursor:grab}.pl-svg .hdl circle{fill:#fff;stroke:#C2410C;stroke-width:3}.pl-svg .hdl:hover circle,.pl-svg .hdl:focus circle{fill:#FFEDD5}.pl-svg .hdl:focus{outline:none}
.pl-svg .hdl text{font-size:13px;font-weight:800;text-anchor:middle;fill:#9A3412;pointer-events:none}
.pl-svg .hdl.b circle{stroke:#2563EB}.pl-svg .hdl.b text{fill:#1D4ED8}

/* 3D labels */
.l3d{position:absolute;inset:0;pointer-events:none}
.tag3{background:rgba(255,255,255,.92);border-radius:7px;padding:2px 7px;font:700 12.5px "Inter",system-ui,sans-serif;color:#0F172A;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.tag3.dark{background:rgba(15,23,42,.8);color:#F8FAFC}.tag3.o{color:#C2410C}.tag3.b{color:#1D4ED8}.tag3.g{color:#15803D}.tag3.small{font-size:11px;padding:1px 5px}
.lab-sim.dark{background:radial-gradient(circle at 50% 40%,#1E293B,#0B1120)}
.lab-sim.sky{background:linear-gradient(#BAE6FD,#F0F9FF 70%)}
.lab-readout .big b{font-size:18px;color:var(--c)}
.lab-readout .ok b{color:#15803D}.lab-readout .bad b{color:#B91C1C}

/* Factor machine and other box diagrams */
.pl-svg .fbox{fill:#fff;stroke:#94A3B8;stroke-width:2}.pl-svg .fbox.pr,.pl-svg .fbox.o{fill:#FFEDD5;stroke:#EA580C}.pl-svg .fbox.g{fill:#DCFCE7;stroke:#16A34A}
.pl-svg .fbox.bad{fill:#FEE2E2;stroke:#DC2626}.pl-svg .fbox.none{fill:#F8FAFC;stroke:#E2E8F0}
.pl-svg .ftxt{font-size:17px;font-weight:800;text-anchor:middle;fill:#0F172A}.pl-svg .ftxt.pr,.pl-svg .ftxt.o{fill:#9A3412}.pl-svg .ftxt.g{fill:#166534}.pl-svg .ftxt.bad{fill:#991B1B}.pl-svg .ftxt.none{fill:#94A3B8}
.pl-svg .fl{stroke:#94A3B8;stroke-width:2}
.pl-svg .fsum{font-size:18px;font-weight:700;text-anchor:middle;fill:#0F172A}
.pl-svg .fhead{font-size:14px;font-weight:600;text-anchor:middle;fill:#64748B}
.pl-svg .frow{font-size:16px;font-weight:800;fill:#334155}.pl-svg .frow.g{fill:#15803D}.pl-svg .frow.o{fill:#C2410C}
.pl-svg .fbig{font-size:34px;font-weight:800;text-anchor:middle;fill:#0F172A}.pl-svg .fbig.g{fill:#15803D}.pl-svg .fbig.o{fill:#C2410C}
.pl-svg .fsm{font-size:12px;fill:#475569;text-anchor:end}
.pl-svg .vU{fill:#fff;stroke:#94A3B8;stroke-width:2}.pl-svg .vU.on{fill:rgba(234,88,12,.18)}
.pl-svg .vsh{fill:rgba(234,88,12,.32)}.pl-svg .vhole{fill:#fff}
.pl-svg .vA{fill:rgba(37,99,235,.06);stroke:#2563EB;stroke-width:3}.pl-svg .vB{fill:rgba(22,163,74,.06);stroke:#16A34A;stroke-width:3}
.pl-svg .vlab{font-size:24px;font-weight:800;fill:#475569}.pl-svg .vlab.a{fill:#1D4ED8}.pl-svg .vlab.b{fill:#15803D}
.pl-svg .vnum{font-size:17px;font-weight:700;text-anchor:middle;fill:#0F172A}.pl-svg .vnum.ab{fill:#9A3412}.pl-svg .vnum.o{fill:#94A3B8}
.pl-svg .pbar{fill:rgba(234,88,12,.55);stroke:#C2410C;stroke-width:1.5}.pl-svg .pbar.mo{fill:rgba(37,99,235,.55);stroke:#1D4ED8}.pl-svg .pbar.md{fill:rgba(22,163,74,.5);stroke:#15803D}
/* Optics bench */
.pl-svg .axis{stroke:#94A3B8;stroke-width:1.5;stroke-dasharray:8 5}
.pl-svg .lens{fill:rgba(56,189,248,.25);stroke:#0284C7;stroke-width:2}
.pl-svg .mir{fill:none;stroke:#1D4ED8;stroke-width:5}.pl-svg .hatch{stroke:#93C5FD;stroke-width:1.5}
.pl-svg .fpt{fill:#DC2626}.pl-svg .cpt{fill:#16A34A}
.pl-svg .ob{stroke-width:4}.pl-svg .ob.obj{stroke:#1D4ED8}.pl-svg .obh.obj{fill:#1D4ED8}
.pl-svg .ob.img{stroke:#EA580C}.pl-svg .obh.img{fill:#EA580C}.pl-svg .ob.img.v{stroke-dasharray:6 4;opacity:.8}
.pl-svg .ray{stroke-width:2.2;fill:none}.pl-svg .ray.r1{stroke:#F59E0B}.pl-svg .ray.r2{stroke:#7C3AED}.pl-svg .ray.r3{stroke:#16A34A}
.pl-svg .ray.v{stroke-dasharray:5 5;opacity:.75}
.pl-svg .eqbtn{cursor:pointer}.pl-svg .eqbtn rect{fill:#fff;stroke:#CBD5E1;stroke-width:1.5}.pl-svg .eqbtn:hover rect,.pl-svg .eqbtn:focus rect{fill:#FFEDD5;stroke:#EA580C}.pl-svg .eqbtn:focus{outline:none}
.pl-svg .eqbtn text{font-size:20px;font-weight:800;text-anchor:middle;fill:#0F172A;pointer-events:none}
.pl-svg .atomball{stroke:#0F172A;stroke-width:1.2}
/* pH beaker, eye, prism */
.pl-svg .liquid{opacity:.85}.pl-svg .beaker{fill:none;stroke:#475569;stroke-width:4;stroke-linejoin:round}.pl-svg .burette{fill:#E2E8F0;stroke:#64748B;stroke-width:1.5}
.pl-svg .eyeball{fill:#F8FAFC;stroke:#94A3B8;stroke-width:3}.pl-svg .cornea{fill:none;stroke:#38BDF8;stroke-width:4}.pl-svg .retina{fill:none;stroke:#F43F5E;stroke-width:6}
.pl-svg .eyelens{fill:rgba(56,189,248,.35);stroke:#0284C7;stroke-width:2}.pl-svg .cil{fill:#FCA5A5;stroke:#B91C1C}.pl-svg .cil.tight{fill:#DC2626}
.pl-svg .prism{fill:rgba(186,230,253,.45);stroke:#0284C7;stroke-width:2.5}.pl-svg .white{stroke:#94A3B8;stroke-width:5}
/* Circuit */
.pl-svg .wire{fill:none;stroke:#334155;stroke-width:4;stroke-dasharray:14 10;stroke-linejoin:round}
.pl-svg .cell{stroke:#0F172A;stroke-width:5}.pl-svg .cell.long{stroke-width:3}
.pl-svg .bulb{stroke:#64748B;stroke-width:2}.pl-svg .glow{fill:#FDE047;filter:blur(6px)}.pl-svg .fil{fill:none;stroke:#92400E;stroke-width:2}
.pl-svg .meter{fill:#fff;stroke:#2563EB;stroke-width:2.5}
.pl-svg .fbox.sel{stroke-width:4}
.lab-group{font-size:20px;margin:22px 0 10px;color:#14213D}.lab-group small{font-size:13px;color:#64748B;font-weight:600;margin-left:8px}
/* Subject filter on the lab list */
.lab-filter{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 4px}
.lab-filter a{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:1px solid #E2E8F0;background:#fff;color:#334155;font-weight:600;font-size:14px;text-decoration:none}
.lab-filter a small{font-size:12px;color:#64748B;font-weight:600}
.lab-filter a:hover{border-color:#94A3B8}
.lab-filter a.on{background:#14213D;border-color:#14213D;color:#fff}
.lab-filter a.on small{color:#CBD5E1}
