/* PathoHub Lab Requirement Studio — Clinical Teal look, space entry, engineer helper */
:root{
  --p:#0e5b78; --p2:#1b7fa3; --pc:#c8e6f2; --onpc:#002635; --sky:#2aa3c8; --leaf:#8cc63f;
  --holo:#3cc8ff; --ok:#1e8e3e; --red:#c5221f;
  --on:#13232f; --onv:#4a5a66; --bg:#f4f8fa; --s1:#fff; --s2:#eef4f7; --s3:#e3edf2; --ov:#dbe5eb;
  --e1:0 1px 2px rgba(19,35,47,.16), 0 1px 3px 1px rgba(19,35,47,.07);
  --e2:0 1px 2px rgba(19,35,47,.16), 0 2px 6px 2px rgba(19,35,47,.08);
  --e3:0 4px 10px 3px rgba(19,35,47,.09), 0 1px 3px rgba(19,35,47,.16);
  --e5:0 10px 30px 6px rgba(19,35,47,.14), 0 4px 8px rgba(19,35,47,.14);
  --ease:cubic-bezier(.2,0,0,1); --decel:cubic-bezier(.05,.7,.1,1); --spring:cubic-bezier(.34,1.3,.64,1);
  --font:"Google Sans Flex","Google Sans",Roboto,system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; font-family:var(--font); color:var(--on); background:radial-gradient(60% 40% at 90% 0%, #dff1f8, transparent 70%), radial-gradient(50% 40% at 0% 30%, #eaf5df, transparent 70%), var(--bg);
  min-height:100vh; overflow-x:hidden; }
body.lock{ overflow:hidden; }
img{ max-width:100%; display:block; }
button{ font:inherit; }
a{ color:var(--p); }
[hidden]{ display:none !important; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 20px; border-radius:999px; border:1px solid transparent; cursor:pointer;
  font-weight:600; font-size:15px; text-decoration:none; transition:background .2s var(--ease), box-shadow .2s var(--ease), color .2s, border-color .2s; -webkit-tap-highlight-color:transparent; }
.btn.fill{ background:var(--p); color:#fff; }
.btn.fill:hover{ background:var(--p2); box-shadow:var(--e1); }
.btn.line{ background:var(--s1); color:var(--p); border-color:var(--ov); }
.btn.line:hover{ background:#f3f9fc; border-color:color-mix(in srgb, var(--p) 35%, var(--ov)); }
.btn.danger{ background:#fff; color:var(--red); border-color:#f3c9c6; }
.btn.danger:hover{ background:#fdf0ef; }
.btn.sm{ min-height:36px; padding:7px 14px; font-size:13.5px; }
.btn:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; }
.x{ width:40px; height:40px; border:0; border-radius:50%; background:var(--s2); color:var(--on); cursor:pointer; font-size:15px; flex:none; }
.x:hover{ background:var(--s3); }
:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; }

/* ---------- header ---------- */
.top{ position:sticky; top:10px; z-index:40; display:flex; align-items:center; gap:14px; margin:10px 12px 0; padding:8px 12px 8px 16px; border-radius:28px;
  background:rgba(255,255,255,.86); -webkit-backdrop-filter:saturate(1.6) blur(16px); backdrop-filter:saturate(1.6) blur(16px); box-shadow:var(--e1); }
.brand img{ height:52px; width:auto; }
.topTitle{ display:flex; flex-direction:column; line-height:1.15; min-width:0; }
.topTitle b{ font-size:18px; font-weight:600; letter-spacing:-.01em; }
.topTitle span{ font-size:12.5px; color:var(--onv); }
.topActs{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.iconBtn{ width:42px; height:42px; border:0; border-radius:50%; background:transparent; font-size:18px; cursor:pointer; }
.iconBtn:hover{ background:var(--s3); }
.iconBtn[aria-pressed="false"]{ opacity:.55; }
.bagTop{ display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 14px 0 12px; border:0; border-radius:999px; background:var(--p); color:#fff; font-weight:600; cursor:pointer; }
.bagTop:hover{ background:var(--p2); }
.bagIc{ width:20px; height:18px; border-radius:5px; background:#fff; position:relative; }
.bagIc::before{ content:""; position:absolute; left:6px; top:-5px; width:8px; height:6px; border:2px solid #fff; border-bottom:0; border-radius:4px 4px 0 0; }
.bagIc::after{ content:"+"; position:absolute; inset:0; display:grid; place-items:center; color:var(--p); font-weight:800; font-size:14px; line-height:1; }
.cnt{ min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:#fff; color:var(--p); font-size:12.5px; display:inline-grid; place-items:center; }
.cnt.pop{ animation:pop .45s var(--spring); }
@keyframes pop{ 0%{ transform:scale(1); } 40%{ transform:scale(1.5); } 100%{ transform:scale(1); } }
@media (max-width:640px){
  .top{ margin:8px 8px 0; gap:10px; padding:6px 8px 6px 12px; }
  .brand img{ height:42px; } .topTitle b{ font-size:15px; } .topTitle span{ display:none; }
  .bagTop{ padding:0 10px; } .bagTop .bagIc{ display:none; }
}

/* ---------- intro row ---------- */
main{ max-width:1240px; margin:0 auto; padding:22px clamp(14px,4vw,40px) 150px; }
.intro{ display:flex; flex-direction:column; gap:18px; }
.guide{ display:flex; align-items:flex-start; gap:12px; max-width:760px; }
.guideFace{ width:58px; height:58px; flex:none; border-radius:50%; background:var(--pc); box-shadow:var(--e1); overflow:hidden; display:grid; place-items:end center; }
.guideFace svg{ width:100%; height:100%; }
.guideFace.sm{ width:44px; height:44px; }
.guideText{ margin:0; background:#fff; border-radius:4px 20px 20px 20px; padding:12px 16px; box-shadow:var(--e1); font-size:15.5px; line-height:1.5; color:var(--onv); }
.guideText b{ color:var(--p); }
.guideText.swap{ animation:fadeUp .4s var(--decel); }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 14px; border-radius:10px; border:1px solid var(--ov); background:#fff; color:var(--onv); font-weight:500; font-size:14px; cursor:pointer;
  transition:background .2s, color .2s, border-color .2s; }
.chip:hover{ background:var(--s2); }
.chip.on{ background:var(--pc); color:var(--onpc); border-color:transparent; }
.chip i{ font-style:normal; }

/* ---------- showroom ---------- */
.showroom{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; margin-top:22px; }
.card{ position:relative; display:flex; flex-direction:column; background:#fff; border-radius:26px; box-shadow:var(--e1); overflow:hidden;
  transition:box-shadow .3s var(--ease), transform .3s var(--ease), opacity .3s; animation:cardIn .6s var(--decel) both; animation-delay:calc(var(--k,0) * 60ms); }
.card:hover{ box-shadow:var(--e3); transform:translateY(-3px); }
.card.hide{ display:none; }
@keyframes cardIn{ from{ opacity:0; transform:translateY(22px) scale(.97); } to{ opacity:1; transform:none; } }
.stage{ position:relative; height:220px; margin:8px 8px 0; border-radius:20px; overflow:hidden;
  background:radial-gradient(70% 60% at 50% 30%, #ffffff, #eaf3f8 70%, #dcebf3); display:flex; align-items:flex-end; justify-content:center; }
.stage::before{ content:""; position:absolute; left:50%; bottom:16px; width:66%; height:30px; translate:-50% 0; border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,255,255,.95), rgba(220,235,243,.9)); box-shadow:0 0 0 1px rgba(14,91,120,.12), 0 8px 18px rgba(19,35,47,.12), 0 0 22px 2px color-mix(in srgb, var(--holo) 30%, transparent); }
.stage::after{ content:""; position:absolute; left:50%; bottom:28px; width:42%; height:0; translate:-50% 0; opacity:0; pointer-events:none;
  background:linear-gradient(to top, color-mix(in srgb, var(--holo) 70%, transparent), transparent); clip-path:polygon(18% 100%, 82% 100%, 100% 0, 0 0); filter:blur(1px); transition:height .35s var(--decel), opacity .25s; }
.stage img{ position:relative; z-index:1; max-height:160px; max-width:78%; width:auto; margin-bottom:30px; object-fit:contain; filter:drop-shadow(0 14px 14px rgba(19,35,47,.22));
  transition:transform .45s var(--decel), opacity .3s, filter .4s; }
.card:hover .stage img{ transform:translateY(-4px) scale(1.03); }
.card.lift .stage img{ transform:translateY(-22px) scale(1.04); filter:drop-shadow(0 26px 22px rgba(19,35,47,.18)) drop-shadow(0 0 14px color-mix(in srgb, var(--holo) 55%, transparent)); }
.card.lift .stage::after{ height:120px; opacity:1; }
.card.gone .stage img{ opacity:.25; transform:translateY(-22px) scale(.9); }
.tag{ position:absolute; top:12px; left:12px; z-index:2; background:rgba(255,255,255,.92); border-radius:999px; padding:4px 10px; font-size:11.5px; font-weight:600; color:var(--onv); box-shadow:var(--e1); }
.inLab{ position:absolute; top:12px; right:12px; z-index:2; background:var(--ok); color:#fff; border-radius:999px; padding:4px 10px; font-size:11.5px; font-weight:600; opacity:0; transform:scale(.7); transition:opacity .25s, transform .35s var(--spring); }
.card.added .inLab{ opacity:1; transform:none; }
.meta{ padding:14px 16px 4px; }
.meta b{ display:block; font-size:18px; font-weight:600; letter-spacing:-.01em; }
.meta span{ display:block; font-size:13px; color:var(--p); font-weight:600; margin-top:2px; }
.meta p{ margin:8px 0 0; font-size:14px; line-height:1.5; color:var(--onv); }
.acts{ display:flex; gap:8px; padding:12px 16px 16px; margin-top:auto; }
.acts .btn{ flex:1; }
.qty{ flex:1.4; display:flex; align-items:center; justify-content:space-between; gap:6px; height:44px; padding:0 6px; border-radius:999px; background:var(--pc); color:var(--onpc); font-weight:600; }
.qty button{ width:34px; height:34px; border:0; border-radius:50%; background:#fff; color:var(--p); font-size:18px; font-weight:700; cursor:pointer; }
.qty button:hover{ background:#f3f9fc; }
.qty span{ font-size:14px; }

.foot{ margin:34px 0 0; text-align:center; font-size:13px; color:var(--onv); line-height:1.6; }

/* ---------- dock: engineer + lab basket ---------- */
.dock{ position:fixed; right:max(14px, env(safe-area-inset-right)); bottom:max(14px, env(safe-area-inset-bottom)); z-index:50; display:flex; align-items:flex-end; gap:0; pointer-events:none; }
.mascot{ width:86px; height:170px; margin-right:-14px; position:relative; z-index:1; animation:idle 3.6s ease-in-out infinite; transition:opacity .4s, transform .5s var(--spring); }
.mascot.hidden{ opacity:0; transform:translateY(40px) scale(.6); }
@keyframes idle{ 0%,100%{ translate:0 0; } 50%{ translate:0 -4px; } }
.basket{ pointer-events:auto; position:relative; width:84px; height:76px; border:0; padding:8px 10px 6px; border-radius:24px; background:#fff; box-shadow:var(--e3); cursor:pointer; transition:box-shadow .25s, transform .3s var(--spring); }
.basket:hover{ box-shadow:var(--e5); }
.basket svg{ width:100%; height:100%; overflow:visible; }
.basket .bH{ stroke:var(--p); } .basket .bB{ fill:var(--p); } .basket .bL{ fill:rgba(255,255,255,.18); } .basket .bX{ stroke:#fff; }
.basket .cnt{ position:absolute; top:-8px; right:-8px; background:var(--leaf); color:#10300a; box-shadow:var(--e1); }
.basket.glow{ animation:bGlow .7s var(--decel); }
@keyframes bGlow{ 0%{ transform:scale(1); box-shadow:var(--e3), 0 0 0 0 color-mix(in srgb, var(--holo) 60%, transparent); } 35%{ transform:scale(1.12) rotate(-4deg); } 100%{ transform:scale(1); box-shadow:var(--e3), 0 0 0 22px transparent; } }
.dockSay{ position:absolute; right:40px; bottom:178px; max-width:230px; background:#fff; color:var(--on); border-radius:18px 18px 4px 18px; padding:9px 13px; font-size:13.5px; line-height:1.4; box-shadow:var(--e3);
  opacity:0; transform:translateY(8px) scale(.95); transform-origin:100% 100%; transition:opacity .25s, transform .3s var(--spring); }
.dockSay.on{ opacity:1; transform:none; }
@media (max-width:640px){
  .mascot{ width:62px; height:122px; margin-right:-10px; } .basket{ width:70px; height:64px; border-radius:20px; } .dockSay{ bottom:128px; right:30px; max-width:200px; font-size:12.5px; }
}

/* the machine picture that travels between the showroom, the engineer and the basket */
.fly{ position:fixed; z-index:60; left:0; top:0; pointer-events:none; object-fit:contain; filter:drop-shadow(0 12px 16px rgba(19,35,47,.25)) drop-shadow(0 0 10px color-mix(in srgb, var(--holo) 50%, transparent)); will-change:transform; }
.trail{ position:fixed; z-index:59; width:10px; height:10px; margin:-5px 0 0 -5px; border-radius:50%; pointer-events:none; background:var(--holo); box-shadow:0 0 12px 4px color-mix(in srgb, var(--holo) 60%, transparent); animation:trail .6s ease-out forwards; }
@keyframes trail{ to{ opacity:0; transform:scale(.2); } }

/* ---------- toast ---------- */
.toast{ position:fixed; left:50%; top:86px; z-index:80; translate:-50% 0; background:var(--on); color:#fff; padding:10px 18px; border-radius:999px; font-weight:600; font-size:14px; box-shadow:var(--e3);
  opacity:0; transform:translateY(-10px); transition:opacity .25s, transform .35s var(--spring); pointer-events:none; white-space:nowrap; max-width:calc(100vw - 24px); overflow:hidden; text-overflow:ellipsis; }
.toast.on{ opacity:1; transform:none; }
.toast::before{ content:"✓"; display:inline-grid; place-items:center; width:20px; height:20px; margin-right:8px; border-radius:50%; background:var(--leaf); color:#10300a; font-size:12px; }

/* ---------- My Lab Setup panel ---------- */
.scrim{ position:fixed; inset:0; z-index:70; background:rgba(10,31,51,.36); animation:fade .25s; }
@keyframes fade{ from{ opacity:0; } }
.bag{ position:fixed; z-index:71; top:12px; right:12px; bottom:12px; width:min(400px, calc(100vw - 24px)); display:flex; flex-direction:column; background:#fff; border-radius:28px; box-shadow:var(--e5);
  animation:bagIn .4s var(--decel); }
@keyframes bagIn{ from{ opacity:0; transform:translateX(40px); } }
.bagHead{ display:flex; align-items:center; gap:10px; padding:18px 14px 12px 20px; border-bottom:1px solid var(--ov); }
.bagHead b{ font-size:19px; font-weight:600; }
.bagHead span{ color:var(--onv); font-size:13.5px; margin-right:auto; }
.bagList{ list-style:none; margin:0; padding:8px 12px; overflow:auto; flex:1; }
.bagList li{ display:flex; align-items:center; gap:12px; padding:10px 6px; border-bottom:1px solid var(--ov); animation:fadeUp .35s var(--decel); }
.bagList li.out{ animation:liOut .35s var(--accel, ease-in) forwards; }
@keyframes liOut{ to{ opacity:0; transform:translateX(30px); height:0; padding:0; } }
.bagList img{ width:58px; height:58px; object-fit:contain; flex:none; background:var(--s2); border-radius:14px; padding:5px; }
.bagList .t{ flex:1; min-width:0; }
.bagList .t b{ display:block; font-size:15px; font-weight:600; }
.bagList .t span{ display:block; font-size:12.5px; color:var(--onv); }
.bagList .qty{ flex:none; height:36px; padding:0 4px; gap:4px; }
.bagList .qty button{ width:28px; height:28px; font-size:16px; }
.bagList .rm{ border:0; background:none; color:var(--red); cursor:pointer; font-size:13px; font-weight:600; padding:6px; }
.bagEmpty{ margin:0; padding:30px 24px; text-align:center; color:var(--onv); }
.bagActs{ display:flex; flex-direction:column; gap:8px; padding:14px 16px 18px; border-top:1px solid var(--ov); }
@media (max-width:640px){
  .bag{ top:auto; left:8px; right:8px; bottom:8px; width:auto; max-height:78vh; border-radius:28px 28px 22px 22px; animation:sheetIn .4s var(--decel); }
  @keyframes sheetIn{ from{ opacity:0; transform:translateY(60px); } }
}

/* ---------- details modal ---------- */
.modal{ position:fixed; inset:0; z-index:75; display:grid; place-items:center; padding:16px; background:rgba(10,31,51,.42); animation:fade .25s; }
.mCard{ position:relative; display:grid; grid-template-columns:1fr 1fr; width:min(860px,100%); max-height:calc(100vh - 32px); overflow:auto; background:#fff; border-radius:28px; box-shadow:var(--e5); animation:fadeUp .4s var(--decel); }
.mCard > .x{ position:absolute; top:12px; right:12px; z-index:2; }
.mMedia{ margin:8px; border-radius:22px; background:radial-gradient(70% 60% at 50% 35%, #fff, #e3eff6); display:grid; place-items:center; padding:24px; min-height:300px; }
.mMedia img{ max-height:320px; object-fit:contain; filter:drop-shadow(0 16px 18px rgba(19,35,47,.2)); }
.mBody{ padding:30px 26px 24px 10px; display:flex; flex-direction:column; gap:8px; }
.mCat{ align-self:flex-start; background:var(--pc); color:var(--onpc); border-radius:8px; padding:4px 10px; font-size:12.5px; font-weight:600; }
.mBody h2{ margin:4px 0 0; font-size:28px; font-weight:500; letter-spacing:-.02em; }
.mBody p{ margin:0; color:var(--onv); line-height:1.55; }
.mNote{ font-size:13px; }
.mActs{ display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:12px; }
@media (max-width:720px){ .mCard{ grid-template-columns:1fr; } .mMedia{ min-height:220px; } .mMedia img{ max-height:220px; } .mBody{ padding:6px 20px 20px; } }

/* ---------- your future lab ---------- */
.future{ position:fixed; inset:0; z-index:65; overflow:auto; background:radial-gradient(80% 60% at 50% 30%, #ffffff 0%, #e6f2f8 55%, #cfe4ee 100%); animation:fade .4s; }
.fScene{ position:sticky; top:0; height:min(80vh, 780px); height:min(80svh, 780px); margin-top:clamp(60px, 9vh, 96px); touch-action:none; cursor:grab; }
.fScene:active{ cursor:grabbing; }
.fScene canvas{ display:block; width:100% !important; height:100% !important; }
.fLabels{ position:fixed; inset:0; pointer-events:none; z-index:2; }
.fLabel{ position:absolute; left:0; top:0; translate:-50% 0; white-space:nowrap; background:rgba(255,255,255,.92); border-radius:999px; padding:4px 10px; font-size:12px; font-weight:600; color:var(--on); box-shadow:var(--e1); transition:opacity .3s; }
.fLabel.sel{ background:var(--p); color:#fff; }
.fHead{ position:absolute; top:12px; left:12px; right:12px; z-index:3; display:flex; align-items:flex-start; gap:14px; pointer-events:none; }
.fHead > *{ pointer-events:auto; }
.fHead div{ margin:0 auto; text-align:center; translate:-40px 0; }
.fHead h2{ margin:0; font-size:clamp(24px,4vw,40px); font-weight:600; letter-spacing:.06em; color:var(--p); }
.fHead p{ margin:2px 0 0; color:var(--onv); font-size:15px; }
.fHint{ position:absolute; top:calc(min(80vh, 780px) + clamp(60px, 9vh, 96px)); top:calc(min(80svh, 780px) + clamp(60px, 9vh, 96px)); left:50%; translate:-50% -48px; z-index:3; margin:0; font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--onv); background:rgba(255,255,255,.8); padding:5px 12px; border-radius:999px; pointer-events:none; }
.fGuide{ position:absolute; left:14px; top:calc(min(80vh, 780px) + clamp(60px, 9vh, 96px)); top:calc(min(80svh, 780px) + clamp(60px, 9vh, 96px)); translate:0 -120px; z-index:3; display:flex; align-items:flex-start; gap:8px; max-width:280px; }
.fGuide p{ margin:0; background:#fff; border-radius:4px 18px 18px 18px; padding:9px 12px; font-size:13.5px; line-height:1.4; color:var(--onv); box-shadow:var(--e1); }
.fInfo{ position:fixed; right:14px; top:96px; z-index:4; width:min(320px, calc(100vw - 28px)); background:#fff; border-radius:24px; padding:18px 18px 16px; box-shadow:var(--e5); display:flex; flex-direction:column; gap:6px; animation:fadeUp .35s var(--decel); }
.fInfo .x{ position:absolute; top:10px; right:10px; width:34px; height:34px; }
.fInfo b{ font-size:19px; font-weight:600; padding-right:34px; }
.fInfo p{ margin:0; color:var(--onv); font-size:14px; line-height:1.5; }
.fiActs{ display:flex; gap:8px; margin-top:8px; }
.ready{ position:relative; z-index:3; max-width:860px; margin:0 auto 40px; padding:24px clamp(16px,4vw,32px) 26px; background:#fff; border-radius:28px; box-shadow:var(--e3); }
.ready h3{ margin:0 0 12px; font-size:clamp(20px,3vw,26px); font-weight:600; letter-spacing:.04em; color:var(--ok); }
.ready ul{ list-style:none; margin:0 0 16px; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px; }
.ready li{ display:flex; align-items:center; gap:10px; background:var(--s2); border-radius:16px; padding:8px 12px 8px 8px; }
.ready li img{ width:44px; height:44px; object-fit:contain; background:#fff; border-radius:10px; padding:3px; }
.ready li span{ flex:1; font-size:14px; font-weight:500; }
.ready li em{ font-style:normal; font-weight:700; color:var(--p); }
.readyForm{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.readyForm label{ flex:1 1 220px; display:flex; flex-direction:column; gap:4px; font-size:12.5px; font-weight:600; color:var(--onv); }
.readyForm input{ height:44px; padding:0 14px; border:1px solid var(--ov); border-radius:12px; font:inherit; font-size:15px; color:var(--on); background:var(--s2); }
.readyForm input:focus{ outline:2px solid var(--sky); background:#fff; }
.readyActs{ display:flex; flex-wrap:wrap; gap:10px; }
.readyActs .btn.fill{ flex:1 1 280px; }
.small{ margin:14px 0 0; font-size:12px; color:var(--onv); line-height:1.5; }
.fFallback{ height:100%; display:flex; align-items:flex-end; justify-content:center; gap:16px; padding:0 20px 90px; }
.fFallback img{ max-height:40%; max-width:22%; object-fit:contain; filter:drop-shadow(0 18px 16px rgba(19,35,47,.2)); }
@media (max-width:640px){
  .fHead div{ translate:0 0; } .fHead{ flex-direction:column; align-items:center; gap:6px; } .fHead .btn{ position:fixed; left:10px; top:10px; }
  .fHead div{ margin-top:46px; } .fHead p{ font-size:13px; }
  .fGuide{ display:none; } .fInfo{ top:auto; bottom:12px; right:12px; left:12px; width:auto; }
}

@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .entry{ display:none; }
}

/* the engineer's guided walk */
.tourSay{ position:fixed; z-index:58; max-width:min(280px, calc(100vw - 16px)); background:#fff; color:var(--on); border-radius:18px; padding:10px 14px; font-size:14px; line-height:1.4; box-shadow:var(--e5);
  opacity:0; transform:translateY(8px) scale(.96); transition:opacity .25s, transform .35s var(--spring); pointer-events:none; }
.tourSay.on{ opacity:1; transform:none; }
.guideFace[role="button"]{ cursor:pointer; }
.guideFace[role="button"]:hover{ box-shadow:var(--e3); }
.guideFace img{ width:100%; height:100%; object-fit:cover; }

/* lab level (Basic / Advance / Fully Advance from PathoHub's Lab setups) */
.levels{ margin-top:4px; }
.lvHead{ margin:0 0 8px; font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--onv); }
.lvRow{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; }
.lv{ position:relative; display:flex; flex-direction:column; gap:4px; text-align:left; padding:14px 16px; border-radius:20px; border:1px solid var(--ov); background:#fff; cursor:pointer;
  font:inherit; color:var(--on); transition:box-shadow .25s var(--ease), border-color .25s, background .25s, transform .3s var(--ease); }
.lv:hover{ box-shadow:var(--e2); transform:translateY(-2px); }
.lv.on{ background:var(--pc); border-color:transparent; box-shadow:var(--e2); }
.lvTag{ align-self:flex-start; font-size:11.5px; font-weight:700; letter-spacing:.04em; color:#fff; background:var(--p); border-radius:999px; padding:3px 9px; }
.lv b{ font-size:17px; font-weight:600; }
.lv small{ font-size:13px; line-height:1.4; color:var(--onv); }
.lv em{ font-style:normal; font-size:12.5px; font-weight:600; color:var(--p); margin-top:2px; }
.stage.photo img{ mix-blend-mode:multiply; max-height:150px; max-width:72%; border-radius:12px; filter:none; }
.card:hover .stage.photo img{ transform:translateY(-3px) scale(1.03); }
.card.lift .stage.photo img{ filter:drop-shadow(0 0 12px color-mix(in srgb, var(--holo) 50%, transparent)); }
.meta span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.empty{ grid-column:1/-1; text-align:center; color:var(--onv); padding:30px; }
.mSpecs{ margin:4px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px; }
.mSpecs li{ position:relative; padding-left:22px; font-size:14px; line-height:1.45; color:var(--on); }
.mSpecs li::before{ content:"✓"; position:absolute; left:0; top:0; width:16px; height:16px; border-radius:50%; background:var(--pc); color:var(--onpc); font-size:10px; display:grid; place-items:center; font-weight:800; }

/* quotation request form */
.readyForm{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; }
.readyForm .formHead{ grid-column:1/-1; margin:0; font-weight:600; color:var(--on); }
.readyForm label{ flex:none; }
.readyForm label b{ color:var(--red); font-weight:700; }
.readyForm .consent{ grid-column:1/-1; flex-direction:row; align-items:center; gap:8px; font-size:13.5px; font-weight:500; color:var(--on); }
.readyForm .consent input{ width:20px; height:20px; accent-color:var(--p); }
.readyForm .readyActs{ grid-column:1/-1; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.formMsg{ grid-column:1/-1; margin:0; min-height:1em; color:var(--red); font-size:13.5px; font-weight:600; }
.sent{ display:flex; flex-direction:column; gap:6px; padding:18px; border-radius:20px; background:#e6f4ea; color:#0f5223; animation:fadeUp .4s var(--decel); }
.sent b{ font-size:18px; } .sent em{ font-style:normal; font-weight:700; }
@media (max-width:640px){ .readyForm{ grid-template-columns:1fr; } }
/* the engineer helping with the quotation form shows above the future-lab view */
body.formHelp .dock{ z-index:66; } body.formHelp .tourSay{ z-index:67; } body.formHelp .dock > :not(.mascot){ visibility:hidden; }
/* what the engineer is explaining lights up (gold ring that pulses) */
.labLit{ outline:3px solid #f5b301 !important; outline-offset:4px; animation:labLit 1.1s ease-in-out infinite; }
@keyframes labLit{ 0%, 100%{ outline-color:#f5b301; box-shadow:0 0 0 0 rgba(245,179,1,.45); } 50%{ outline-color:#ff7a00; box-shadow:0 0 0 12px rgba(245,179,1,0); } }
@media (prefers-reduced-motion: reduce){ .labLit{ animation:none; } }
