/* 11.31 Lab page (owner, 5 Oct 2026): Jin Sky Lab under a deep-sky hero; the site's profiles above the module */
body[data-page="lab"]{--lab-bg:#0b0e26;--lab-gold:#e9a93f;--lab-gold2:#ffd88a;--lab-ink:#f2f1fb;--lab-mut:#c9c7ec;--lab-line:#2f3577;background:var(--lab-bg)}
.wrap.labp{padding-top:0}
/* owner 02:33: the module keeps its own title, logo, intro and Profile / Place bar; the page adds only the site's menu and footer around it */
.lab-main{min-width:0}
.lab-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;padding:10px 14px;background:#171d4c;border:1px solid var(--lab-line);border-radius:3px;color:var(--lab-ink)}
#labSel{min-height:38px;padding:0 10px;border:1px solid #4a5294;border-radius:3px;background:#0f1440;color:var(--lab-ink);font:600 15px var(--f-text)}
.lab-k{font:600 12px var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lab-gold2)}
html[data-lang="hi"] .lab-k{font:600 13px var(--f-hi);letter-spacing:0}
.lab-seg{display:inline-flex;border:1px solid rgba(233,169,63,.6);border-radius:3px;overflow:hidden}
.lab-seg button{min-height:36px;padding:0 14px;border:0;background:transparent;color:var(--lab-ink);font:600 14px var(--f-text);cursor:pointer}
.lab-seg button[aria-pressed="true"]{background:var(--lab-gold);color:#1a1306}
.lab-pills{display:flex;flex-wrap:wrap;gap:8px}
.lab-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;max-width:100%;padding:4px 12px 4px 5px;border:1px solid #4a5294;border-radius:3px;background:transparent;color:var(--lab-ink);font:600 15px var(--f-text);cursor:pointer;text-align:left}
.lab-pill:hover{border-color:var(--lab-gold)}
.lab-pill .ini{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#2a3577;border:1px solid #4a5294;font:700 12px var(--f-text)}
.lab-pill[data-lab="local"] .ini{background:#123f6e;border-color:#5eead4;color:#5eead4;font-size:15px}
.lab-pill .pn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lab-pill .ex{font-weight:400;font-size:12px;opacity:.75}
.lab-pill[aria-pressed="true"]{background:var(--lab-gold);border-color:var(--lab-gold);color:#1a1306}
.lab-pill[aria-pressed="true"] .ini{background:#1a1306;border-color:#1a1306;color:#ffe7a8}
.lab-meta{margin:10px 0 0;font-size:14px;color:var(--lab-mut);line-height:1.5}
.lab-hint{color:#9a98c6}
.lab-hint a{color:var(--lab-gold2)}
.lab-note{display:none;margin:0 0 10px;padding:9px 14px;border:1px solid rgba(233,169,63,.35);border-left:3px solid var(--lab-gold);border-radius:3px;background:rgba(233,169,63,.07);color:var(--lab-gold2);font:500 15px var(--f-hi)}
html[data-lang="hi"] .lab-note{display:block}
.lab-frame{margin:0 calc(50% - 50vw);min-width:0}   /* the module spans the full width, as on its own */
.lab-frame iframe{display:block;width:100%;border:0;min-height:calc(min(92vw, 740px) + 710px);background:#171b4a}   /* 11.34: the room the Lab takes on arrival (chart + bar + chips), so nothing below jumps when it arrives */
@media (max-width:640px){.lab-frame iframe{min-height:calc(96vw + 1500px)}}
.lab-frame iframe.sized{min-height:0}
.lab-disc{margin:8px 0 0;color:#8f8cbc;font-size:13px;font-style:italic;max-width:70em}
body[data-page="lab"] footer#foot{margin-top:10px}

html:has(body[data-page="lab"]),body[data-page="lab"]{overflow-x:clip}   /* the full-width module never makes the page scroll sideways */
@media (max-width:640px){html[data-lang="hi"] .lab-note{margin:0 0 6px;padding:5px 10px;font-size:13.5px;line-height:1.45}}   /* 11.34: phones keep the chart in the first screen */
/* ---- 12.1.1 Famous lives (famous.css) ---- */
/* ---- 12.1.1 Famous lives on the Lab page (famous.js); the Portrait card's own typefaces, served from the site (Jost, Cormorant Garamond; OFL) ---- */
@font-face{font-family:"Jost";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/jost-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/jost-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/jost-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
body.fl-on #labMain,body.fl-on #bxBand,body.fl-on #bxJump{display:none!important}
.fl-band{margin:0 calc(50% - 50vw);padding:40px max(20px,calc(50vw - 600px)) 48px;background:radial-gradient(90% 120% at 50% 0%,#3a2a6e 0%,#1b1450 50%,#0d0b2c 100%);color:#efeaff;min-height:60vh}
.fl-in{max-width:1200px;margin:0 auto}
.fl-k{font:600 12px/1.3 var(--f-mono,monospace);letter-spacing:.22em;color:#f6d27a;text-transform:uppercase}
.fl-t{font:400 42px/1.1 'Marcellus',var(--f-disp,serif);color:#fff3c8;margin:8px 0 6px}
.fl-s{font-size:15.5px;line-height:1.55;color:#d9d6f4;max-width:none;margin:0 0 18px}
.fl-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.fl-q{flex:1 1 260px;box-sizing:border-box;min-height:46px;padding:0 14px;border-radius:3px;border:1px solid rgba(246,210,122,.5);background:rgba(8,10,30,.6);color:#fff;font:15px var(--f-text)}
.fl-q:focus{outline:0;border-color:#f6d27a;box-shadow:0 0 0 2px rgba(246,210,122,.25)}
.fl-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 18px;scrollbar-width:none}.fl-gap{width:12px}
.fl-chip{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:0 14px;display:inline-flex;align-items:center;border-radius:3px;border:1px solid rgba(246,210,122,.35);color:#ffe7a3;font-size:14px;white-space:nowrap}
.fl-chip.on{background:rgba(246,210,122,.16);border-color:#f6d27a;color:#fff}.fl-chip:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}
.fl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.fl-card{all:unset;cursor:pointer;box-sizing:border-box;display:grid;grid-template-columns:52px 1fr;gap:3px 12px;align-items:center;min-height:88px;padding:12px 14px;border-radius:3px;border:1px solid rgba(246,210,122,.28);border-top:3px solid var(--c);background:rgba(10,8,30,.55)}
.fl-card:hover,.fl-card:focus-visible{border-color:#f6d27a;background:rgba(246,210,122,.08);outline:0}
.fl-av{grid-row:span 3;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 17px var(--f-text);color:#140f38;background:radial-gradient(circle at 35% 30%,#fff3c8,var(--c));box-shadow:0 0 0 2px rgba(246,210,122,.5)}
.fl-card b{font:600 15.5px/1.25 var(--f-text);color:#fff3c8}.fl-card>span:not(.fl-av){font-size:12.5px;line-height:1.4;color:#bdb6e0}
.fl-card i{font-style:normal;color:#9fe0c0}.fl-card i.d{color:#bdb6e0}
.fl-me{border:1px solid #f6d27a;border-top:3px solid #f6d27a;background:linear-gradient(135deg,rgba(246,210,122,.16),rgba(10,8,30,.6))}.fl-me i{color:#ffe7a3}
.fl-n,.fl-en{font-size:13px;color:#bdb6e0;margin:14px 0 0}.fl-en{font-style:italic}.fl-none,.fl-wait{color:#d9d6f4;font-size:15px}
.fl-sheet{position:fixed;inset:0;z-index:2147482000;background:rgba(5,4,20,.82);overflow:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 12px 40px}
.fl-sheet[hidden]{display:none}
.fl-sp{width:min(660px,100%);margin:0 auto}
.fl-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 calc(50% - 50vw) 12px;padding:calc(10px + env(safe-area-inset-top,0px)) max(12px,calc(50vw - 330px)) 10px;background:linear-gradient(180deg,rgba(8,6,28,.97),rgba(8,6,28,.9));border-bottom:1px solid rgba(246,210,122,.28)}
.fl-tt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Marcellus,serif;font-size:18px;color:#F3D98A}
.fl-end{display:flex;justify-content:center;margin:18px 0 6px}
.fl-x{all:unset;box-sizing:border-box;cursor:pointer;flex:none;min-height:46px;padding:0 16px;gap:8px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;border:1px solid #f6d27a;border-radius:3px;color:#ffe7a3;background:#1b1450}
.fl-xi{font-size:24px;line-height:1;font-weight:400}
.fl-x2{min-width:180px}
.fl-x:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}.fl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.fl-lock,html.fl-lock body{overflow:hidden}
@media (max-width:640px){.fl-t{font-size:32px}.fl-band{padding:28px 16px 36px}.fl-grid{grid-template-columns:1fr}.fl-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding-inline:16px}.fl-chip{flex:none}.fl-sheet{padding:10px 6px 30px}}
@media print{.fl-sheet,.fl-band,.fl-sw{display:none!important}}

/* 12.1.2 (owner, 17 Oct 09:50): on touch screens (phones, iPad) the bar with Close sits at the bottom, within reach of a thumb and clear of the browser's top bar */
@media (pointer:coarse){.fl-sheet{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.fl-sp{padding-top:12px}
  .fl-top{position:fixed;top:auto;left:0;right:0;bottom:0;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));border-bottom:0;border-top:1px solid rgba(246,210,122,.35);background:linear-gradient(0deg,rgba(8,6,28,.98),rgba(8,6,28,.92))}
  .fl-top .fl-x{min-height:48px;padding:0 22px}}

/* 12.1.3: a fixed photo in the directory card's circle (sepia like the portrait's ring) */
.fl-avp{overflow:hidden;background:#140f38}.fl-avp img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;filter:sepia(.35) saturate(.85) contrast(1.05)}
.fl-cred{margin:22px 0 0;border-top:1px solid rgba(246,210,122,.22);padding-top:12px;color:#bdb6e0;font-size:13px;line-height:1.55}.fl-cred summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#F3D98A;font-weight:600}.fl-cred ul{margin:6px 0 0;padding-left:18px}.fl-cred li{margin:4px 0}.fl-cred b{color:#fff3c8;font-weight:600}.fl-src{word-break:break-all;color:#9d95c9}
/* 12.1.5 (owner, 17 Oct 16:31): Your portrait stands out: a wide feature card across the row, warm gold and dusk, a larger photo/initial in a gold ring
   with a slowly orbiting star, a short line on what it shows and a gold Open button; then a heading for the famous lives */
.fl-grid>.fl-me{grid-column:1/-1;grid-template-columns:auto 1fr auto;gap:6px 22px;min-height:132px;padding:18px 22px;position:relative;overflow:hidden;
  border:1px solid #f6d27a;border-top:1px solid #f6d27a;box-shadow:0 0 0 1px rgba(246,210,122,.25),0 10px 34px rgba(246,190,90,.18),inset 0 0 40px rgba(246,210,122,.08);
  background:radial-gradient(70% 140% at 0% 0%,rgba(246,210,122,.30),transparent 60%),radial-gradient(60% 120% at 100% 100%,rgba(255,138,92,.22),transparent 60%),linear-gradient(120deg,#3a2350,#22184e 55%,#161036)}
.fl-grid>.fl-me::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;background:radial-gradient(1.2px 1.2px at 12% 30%,#fff7d6,transparent 60%),radial-gradient(1px 1px at 38% 70%,#fff,transparent 60%),radial-gradient(1.4px 1.4px at 62% 22%,#ffe7a3,transparent 60%),radial-gradient(1px 1px at 84% 64%,#fff,transparent 60%),radial-gradient(1.2px 1.2px at 92% 18%,#fff7d6,transparent 60%)}
.fl-mav{grid-row:1;position:relative;width:96px;height:96px;flex:none}
.fl-me .fl-av{grid-row:auto;width:96px;height:96px;font:400 40px/1 Marcellus,serif;color:#2a1a08;background:radial-gradient(circle at 35% 30%,#fff3c8,#f6d27a 60%,#c9932f);box-shadow:0 0 0 3px #f6d27a,0 0 0 7px rgba(246,210,122,.22),0 0 30px rgba(246,210,122,.45)}
.fl-orb{position:absolute;inset:-10px;border-radius:50%;border:1px dashed rgba(246,210,122,.35);animation:flOrb 14s linear infinite}
.fl-orb::after{content:"";position:absolute;top:-4px;left:50%;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:#fff3c8;box-shadow:0 0 10px #f6d27a}
@keyframes flOrb{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.fl-orb{animation:none}}
.fl-mtx{display:flex;flex-direction:column;gap:3px;min-width:0;position:relative}
.fl-mk{font:600 11.5px/1.2 var(--f-text);letter-spacing:.22em;text-transform:uppercase;color:#f6d27a}
.fl-grid>.fl-me b{font:400 28px/1.15 Marcellus,serif;color:#fff3c8}
.fl-grid>.fl-me .fl-mtx>span:not(.fl-mk){font-size:13.5px;color:#e6dcc0}
.fl-grid>.fl-me .fl-mw{color:#cfc6e8!important}   /* 16.0.12 (owner 11 Nov 22:30): full width, was max-width 60ch */
.fl-mgo{position:relative;align-self:center;display:flex;align-items:center;min-height:46px;padding:0 20px;border-radius:3px;font:600 15px var(--f-text);color:#24160a;background:linear-gradient(180deg,#ffe7a3,#e8b84e);box-shadow:0 4px 14px rgba(246,190,90,.3);white-space:nowrap}
.fl-me:hover .fl-mgo,.fl-me:focus-visible .fl-mgo{filter:brightness(1.07)}
.fl-div{grid-column:1/-1;margin:10px 0 2px;display:flex;align-items:center;gap:12px;font:400 20px Marcellus,serif;color:#F3D98A}
.fl-div::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(246,210,122,.45),transparent)}
.fl-div span{font:600 12.5px var(--f-text);color:#9d95c9;letter-spacing:.06em}
@media (max-width:640px){.fl-grid>.fl-me{grid-template-columns:auto 1fr;padding:16px;gap:4px 16px}.fl-mav,.fl-me .fl-av{width:72px;height:72px}.fl-me .fl-av{font-size:30px}.fl-grid>.fl-me b{font-size:23px}
  .fl-mgo{grid-column:1/-1;justify-content:center;margin-top:10px}.fl-grid>.fl-me .fl-mw{display:none}}
.fl-grid>.fl-me>.fl-mgo{color:#24160a;font-size:15px}
/* 15.0.19: "Learn the calculation" (Panchang Ganit on Vedic Sky) beside the switch */
/* ---- 15.0.15 Sky Houses (skyhouses.css) ---- */
/* 15.0.15 Sky Houses on the Lab page (skyhouses.js): the band holding the owner's page, full width, in Sky Houses' own night indigo so the frame meets it with no seam */
body.sh-on #labMain,body.sh-on #bxBand,body.sh-on #bxJump{display:none!important}
.sh-band{margin:0 calc(50% - 50vw);background:#0e1530;color:#efeaff}
.sh-in{max-width:1180px;margin:0 auto;padding:32px max(16px,calc(50vw - 590px)) 8px;box-sizing:content-box}
.sh-k{font:600 12px/1.3 var(--f-mono,monospace);letter-spacing:.22em;color:#f5b942;text-transform:uppercase}
.sh-t{font:400 42px/1.1 'Marcellus',var(--f-disp,serif);color:#fff3c8;margin:8px 0 6px}
.sh-s{font-size:15.5px;line-height:1.55;color:#d9d6f4;max-width:none;margin:0 0 12px}
.sh-msg{margin:6px 0 14px;padding:12px 14px;border:1px solid rgba(245,185,66,.45);border-radius:3px;background:rgba(245,185,66,.08);color:#ffe7a3;font-size:15px;line-height:1.5}
.sh-add{display:inline-flex;align-items:center;min-height:40px;margin-left:6px;padding:0 12px;border-radius:3px;background:linear-gradient(180deg,#fbe39c,#d9a441);color:#1b1640;font-weight:600;text-decoration:none}
.sh-add:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}
.sh-frame{width:100%;overflow-x:clip}.sh-frame iframe{display:block;width:100%}
/* three entries in the Lab switch: on phones each takes a third, two lines if it must */
@media (max-width:560px){
  .sh-t{font-size:32px}.sh-in{padding:24px 16px 6px}}
@media print{.sh-band{display:none!important}}
/* 15.0.16 (owner 24 Oct 10:43): no profile = the top block only, the note as one clear card with its button below */
.sh-band.sh-empty .sh-frame{display:none}
.sh-band.sh-empty .sh-in{padding-bottom:48px}
.sh-msg[data-k="none"]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:18px 0 0;padding:22px 24px;font-size:16.5px;line-height:1.6;color:#fff3c8;
  background:linear-gradient(135deg,rgba(245,185,66,.12),rgba(124,77,255,.10));border-color:rgba(245,185,66,.55)}
.sh-msg[data-k="none"] .sh-add{margin-left:0;min-height:46px;padding:0 20px;font-size:16px}
@media (max-width:560px){.sh-msg[data-k="none"]{padding:18px 16px;font-size:15.5px}.sh-band.sh-empty .sh-in{padding-bottom:32px}}
/* 15.0.16 no profile chosen: the chooser card (saved profiles as buttons, + Add someone new) */
.sh-msg[data-k="pick"]{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:18px 0 0;padding:22px 24px;font-size:16.5px;line-height:1.6;color:#fff3c8;
  background:linear-gradient(135deg,rgba(245,185,66,.12),rgba(124,77,255,.10));border-color:rgba(245,185,66,.55)}
.sh-pk{display:flex;flex-wrap:wrap;gap:10px}
.sh-pkb{min-height:44px;padding:0 16px;border-radius:3px;border:1px solid rgba(245,185,66,.6);background:rgba(14,21,48,.6);color:#fff3c8;font:600 15px var(--f-text,inherit);cursor:pointer}
.sh-pkb i{font-style:normal;font-weight:400;font-size:12.5px;color:#d9d6f4}
.sh-pkb:hover,.sh-pkb:focus-visible{border-color:#fbe39c;background:rgba(245,185,66,.16)}
.sh-msg[data-k="pick"] .sh-add{margin-left:0;min-height:44px;padding:0 18px}
@media (max-width:560px){.sh-msg[data-k="pick"]{padding:18px 16px;font-size:15.5px}}
/* ---- 15.0.33 JinUniverse (skylab.js) ---- */
/* 15.0.33 JinUniverse on the Lab page: full width, the screen's height under the menu (INTEGRATION.md section 4 B), in the module's own night blue so the frame meets the band with no seam */
body.ju-on #labMain,body.ju-on #bxBand,body.ju-on #bxJump{display:none!important}
.ju-band{margin:0 calc(50% - 50vw + var(--jc-sbw,0px) / 2);background:#0a0f35;color:#efeaff;position:relative}
.ju-msg{position:absolute;inset:0 0 auto;z-index:1;min-height:120px;margin:0;padding:28px max(16px,calc(50vw - 590px));box-sizing:border-box;background:#0a0f35;font-size:16px;line-height:1.5;color:#ffe7a3}
.ju-msg[hidden]{display:none}
.ju-stage{position:relative}
.ju-frame{width:100%;overflow-x:clip}
#juSel{min-height:40px;max-width:min(320px,62vw);padding:0 10px;border:1px solid #4a5294;border-radius:3px;background:#0f1440;color:#efeaff;font:600 15px var(--f-text)}
#juSel:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}
#juSel.ju-flash{animation:juFlash 1.2s ease 2}
@keyframes juFlash{50%{border-color:#f6d27a;box-shadow:0 0 0 3px rgba(246,210,122,.45)}}
@media (prefers-reduced-motion:reduce){#juSel.ju-flash{animation:none;border-color:#f6d27a}}
.ju-add{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:3px;color:#f6d27a;font:600 14.5px var(--f-text);text-decoration:none;border:1px solid rgba(246,210,122,.45)}
.ju-add:hover,.ju-add:focus-visible{color:#1b1640;background:linear-gradient(180deg,#fbe39c,#d9a441)}
.ju-frame iframe{display:block;width:100%;border:0;height:calc(100vh - var(--navh,56px) - var(--labbar,0px));height:calc(100svh - var(--navh,56px) - var(--labbar,0px));min-height:min(480px,calc(100svh - var(--navh,56px)))}
.ju-note{flex-basis:100%;margin:2px 0 0;text-align:center;font-size:14.5px;line-height:1.5;color:#ffe7a3}
@media print{.ju-band{display:none!important}}
/* ---- 15.0.34 the Lab bar (owner 28 Oct 19:26: "Click on Lab top menu, it appears ugly like this. review three times and redesign the top menu") ---- */
/* One calm bar in JinUniverse's own night blue, so the bar and the module read as one surface: the four tabs on the left as words with a gold line under the
   one shown, and on the right the profile (JinUniverse only) and Learn the calculation. Its content lines up with the module's (max 1480 px, 16 px sides). */
.fl-sw{--lb-bg:#0a0f35;margin:0 calc(50% - 50vw + var(--jc-sbw,0px) / 2);background:var(--lb-bg);border-bottom:1px solid rgba(246,210,122,.16);color:#d9d6f4}
.lab-in{box-sizing:border-box;max-width:1480px;margin:0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:6px 24px;min-height:60px}
.lab-tabs{display:flex;align-items:stretch;gap:4px;align-self:stretch;margin-left:-14px}   /* the first name lines up with JinUniverse's own edge */
.fl-sw .lab-tabs button{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;
  font:600 16px/1.2 var(--f-text);color:#bcb8e4;letter-spacing:.01em;text-align:center;border-radius:3px 3px 0 0;transition:color .15s ease,background-color .15s ease}
.fl-sw .lab-tabs button::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent;transition:background-color .15s ease}
.fl-sw .lab-tabs button:hover{color:#fff3c8;background:rgba(246,210,122,.06)}
.fl-sw .lab-tabs button.on{color:#ffe7a3}
.fl-sw .lab-tabs button.on::after{background:linear-gradient(90deg,#fbe39c,#d9a441)}
.fl-sw .lab-tabs button:focus-visible{outline:2px solid #fff3c8;outline-offset:-2px}
html[data-lang="hi"] .fl-sw .lab-tabs button{font-family:var(--f-hi,inherit);font-size:16.5px}
.lab-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 18px;min-width:0}
.fl-learn{display:inline-flex;align-items:center;min-height:40px;font:600 14px var(--f-text);color:#f6d27a;text-decoration:none;white-space:nowrap}
.fl-learn:hover,.fl-learn:focus-visible{color:#ffe7b0;text-decoration:underline;text-underline-offset:4px}
/* the profile JinUniverse shows (the site's own choice): only while JinUniverse is the tab shown */
body:not(.ju-on):not(.st-on):not(.pw-on) #juBar{display:none}
.ju-bar{display:flex;align-items:center;gap:8px;min-width:0}
.ju-k{font:600 11.5px var(--f-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:#a9a5d6;white-space:nowrap}
html[data-lang="hi"] .ju-k{font:600 13px var(--f-hi,inherit);letter-spacing:0}
#juSel{min-height:40px;max-width:240px;padding:0 30px 0 12px;border:1px solid rgba(246,210,122,.35);border-radius:3px;background:#121a4d;color:#fff3c8;font:600 15px var(--f-text);
  appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#f6d27a 50%),linear-gradient(135deg,#f6d27a 50%,transparent 50%);
  background-position:right 15px center,right 10px center;background-size:5px 5px,5px 5px;background-repeat:no-repeat;cursor:pointer;text-overflow:ellipsis}
#juSel:hover{border-color:rgba(246,210,122,.6)}
.ju-add{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border-radius:3px;border:1px solid transparent;color:#f6d27a;font:600 14.5px var(--f-text);text-decoration:none;white-space:nowrap}
.ju-add:hover,.ju-add:focus-visible{border-color:rgba(246,210,122,.45);background:rgba(246,210,122,.08);color:#ffe7b0}
.ju-plus{margin-right:5px;font-size:17px;line-height:1}
.ju-note{flex-basis:100%;margin:0;padding:0 0 8px;text-align:right;font-size:13.5px;line-height:1.45;color:#ffe7a3}
/* the band shown under the bar meets it with no strip of page between (the page's grid gap is taken back) */
.fl-sw~.ju-band,.fl-sw~.sh-band,.fl-sw~.fl-band{margin-top:calc(-1 * var(--gap,18px))}
/* tablets: tabs and tools on two rows when they do not fit one */
@media (max-width:1100px){.lab-in{flex-wrap:wrap;padding-top:4px}.lab-tools{flex:1 1 100%;justify-content:flex-start;padding:2px 0 10px}.lab-tools .fl-learn{margin-left:auto}}
/* 15.0.36 (owner 29 Oct 20:06: "Click on Labs, see how the top menu is laid out, it needs to be properly alinged as JinUniverse seems more to the left"):
   the Lab bar keeps the site menu's own width and edges, so its first tab's name starts exactly under Panchang.xyz's mark and its tools end with the menu */
.lab-in{max-width:1448px;padding-left:24px;padding-right:24px}   /* the menu: 1400 px inside 24 px edges (nav.site .in) */
@media (max-width:1180px){.lab-in{padding-left:14px;padding-right:14px}}
/* phones: the four tabs share the width (two lines if a name must), then one row with the profile and the link */
@media (max-width:640px){
  .lab-in{padding:0 8px;gap:0;flex-direction:column;align-items:stretch}
  .lab-tabs{gap:0;margin-left:0}
  .fl-sw .lab-tabs button{flex:1 1 auto;min-width:0;min-height:52px;padding:6px 6px 9px;font-size:14px;line-height:1.2}
  html[data-lang="hi"] .fl-sw .lab-tabs button{font-size:14.5px}
  .fl-sw .lab-tabs button::after{left:8px;right:8px}
  .lab-tools{flex:none;flex-wrap:nowrap;justify-content:space-between;gap:8px;padding:8px 4px 10px;border-top:1px solid rgba(246,210,122,.10)}
  .ju-bar{flex:1 1 auto}
  #juSel{flex:1 1 0;width:0;min-width:96px;max-width:none;font-size:15px}
  .ju-k{display:none}
  .ju-bar{flex-wrap:wrap;gap:6px 8px}
  .ju-add{min-width:40px;padding:0;border-color:rgba(246,210,122,.35)}
  .ju-add .ju-add-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ju-plus{margin:0;font-size:20px}
  .ju-add.ju-add-me{padding:0 12px;border-color:transparent}
  .fl-learn{flex:0 1 auto;min-width:0;white-space:normal;text-align:right;line-height:1.25;font-size:13.5px}
  .lab-tools .fl-learn{margin-left:auto}
  .ju-note{text-align:left;padding:0}
}
@media print{.fl-sw{display:none!important}}
/* ---- 15.0.38 Spacetime JP (skylab.js JCST) ---- */
/* the second Lab tab: framed as JinUniverse is (the screen's height under the menu and the Lab bar; the module scrolls inside), on its own night ground
   (#08071f) so the frame meets the band with no seam; the profile list in the Lab bar shows here too, without JinUniverse's own range note */
body.st-on #labMain,body.st-on #bxBand,body.st-on #bxJump{display:none!important}
.st-band,.st-band .ju-msg{background:#08071f}
body.st-on .ju-note{display:none}
.st-note{margin:0;padding:10px max(16px,calc(50vw - 590px));font-size:14.5px;line-height:1.5;color:#ffe7a3;background:#08071f;border-bottom:1px solid rgba(246,210,122,.16)}
.st-note[hidden]{display:none}
@media print{.st-band{display:none!important}}
/* ---- 15.0.38 the Lab's "About this page" folded (owner 30 Oct 07:10): closed until the reader opens it; its bar opens and closes it, Close at its end ---- */
.seo-intro.si-fold{padding:0;overflow:hidden}
.seo-intro.si-fold>.si-body{padding:4px 26px 0}
.seo-intro.si-fold>.si-body::before{display:none}
.seo-intro.si-closed>.si-body,.seo-intro.si-closed>.si-end{display:none!important}
.si-tog{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 26px;color:#bdb6e0}
.si-tog .si-tl{flex:1 1 auto;font:600 11.5px/1.3 var(--f-mono,"IBM Plex Mono",monospace);letter-spacing:.2em;text-transform:uppercase}
html[data-lang="hi"] .si-tog .si-tl{font:600 13px/1.3 var(--f-hi,inherit);letter-spacing:.04em;text-transform:none}
.si-tog .si-act{font:600 14px var(--f-text);color:#f6d27a}
.si-tog .si-ch{color:#f6d27a;font-size:14px;transition:transform .15s ease}
.si-tog[aria-expanded="true"] .si-ch{transform:rotate(180deg)}
.si-tog:hover .si-act,.si-tog:focus-visible .si-act{color:#ffe7b0;text-decoration:underline;text-underline-offset:4px}
.si-tog:focus-visible{outline:2px solid #fff3c8;outline-offset:-2px}
.si-end{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:44px;margin:14px 26px 18px;padding:0 18px;border:1px solid rgba(246,210,122,.45);border-radius:3px;color:#f6d27a;font:600 14.5px var(--f-text)}
.si-end:hover,.si-end:focus-visible{background:rgba(246,210,122,.10);color:#ffe7b0}
.si-end:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}
@media (max-width:640px){.seo-intro.si-fold>.si-body{padding:4px 16px 0}.si-tog{padding:12px 16px}.si-end{margin:14px 16px 16px}}
/* the long page: Spacetime JP's full screen holds the Lab page still */
html.st-full{overflow:hidden}   /* the root only: hiding the body's overflow too would make it the scroller and unpin the site's menu */
/* 15.0.38 (owner 30 Oct 07:37 "On webpage the JinUniverse should align to Panchang.xyz, right not it aligns to the icon"): the first tab's name starts under
   the words Panchang.xyz, past the mark (26 px) and its gap (9 px) in the menu (jc.css nav.site .brand); phones keep their tabs sharing the width */
@media (min-width:641px){.lab-tabs{margin-left:calc(-14px + 35px)}}
/* 15.0.38: five Lab tabs. Laptops up to 1400 px keep one bar: the profile list without its PROFILE label and "Add someone new" as its + (its name stays
   its label for screen readers); phones: the five tabs share the width, smaller on the narrowest phones, and Learn the calculation may wrap there */
/* 15.0.39: six tabs fill more of the bar, so the compact tools reach to 1460 px (the bar is 1400 px inside from 1448 px up; at 1440 the full tools wrapped to two rows) */
@media (min-width:641px) and (max-width:1460px){.ju-k{display:none}.ju-add{min-width:40px;padding:0 10px}.ju-add .ju-add-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ju-plus{margin:0;font-size:20px}.ju-add.ju-add-me .ju-add-t{position:static;width:auto;height:auto;clip:auto}}
@media (max-width:420px){.fl-sw .lab-tabs button{padding:6px 3px 9px;font-size:13px}html[data-lang="hi"] .fl-sw .lab-tabs button{font-size:13.5px}.fl-sw .lab-tabs button::after{left:5px;right:5px}}
@media (max-width:350px){.fl-sw .lab-tabs button{font-size:12.5px;padding:6px 2px 9px}.fl-learn{white-space:normal;text-align:right;line-height:1.2;font-size:13px;max-width:96px}}
/* ---- 15.0.39 Spinning Worlds (skylab.js JCSW) ---- */
/* the third Lab tab: full width, the long page (the frame as tall as the module), on the module's own night ground (#08071f); the profile list is not
   shown (the module needs no profile); in Hindi a line above it says the page is in English for now */
body.sw-on #labMain,body.sw-on #bxBand,body.sw-on #bxJump{display:none!important}
.sw-band,.sw-band .ju-msg{background:#08071f}
.sw-note{margin:0;padding:10px max(16px,calc(50vw - 590px));font-size:14.5px;line-height:1.5;color:#ffe7a3;background:#08071f;border-bottom:1px solid rgba(246,210,122,.16)}
.sw-note[hidden]{display:none}
@media print{.sw-band{display:none!important}}
/* 15.0.42 Pulling Worlds (owner 31 Oct 11:46), the fourth tab: the long page, as Spinning Worlds */
body.pw-on #labMain,body.pw-on #bxBand,body.pw-on #bxJump{display:none!important}
.pw-band,.pw-band .ju-msg{background:#08071f}
body.pw-on .ju-note{display:none}
.pw-note{margin:0;padding:10px max(16px,calc(50vw - 590px));font-size:14.5px;line-height:1.5;color:#ffe7a3;background:#08071f;border-bottom:1px solid rgba(246,210,122,.16)}
.pw-note[hidden]{display:none}
@media print{.pw-band{display:none!important}}
/* six Lab tabs: laptops keep one bar (a little less room around each name); phones scroll the row of tabs sideways, the one shown kept in view, with a
   soft fade at the edge that has more */
@media (min-width:641px) and (max-width:1400px){.fl-sw .lab-tabs button{padding:0 10px}.fl-sw .lab-tabs button::after{left:8px;right:8px}.lab-tabs{margin-left:calc(-10px + 35px)}}
/* 15.0.42 (seven tabs with Pulling Worlds; c22/c24 at 1280 px found the bar on two rows, c03 at 820 px the first name off the menu's edge): laptops a little
   less room around each name and the profile word dropped under 1300 px, so the bar stays one row; tablets scroll the row of tabs sideways as phones do */
@media (min-width:1101px) and (max-width:1400px){.fl-sw .lab-tabs button{padding:0 8px}.fl-sw .lab-tabs button::after{left:6px;right:6px}.lab-tabs{margin-left:calc(-8px + 35px)}}
@media (min-width:1101px){.fl-sw .lab-tabs button{white-space:nowrap}.fl-sw .lab-tabs button wbr{display:none}.lab-tools{flex:0 0 auto;flex-wrap:nowrap}.lab-tabs{min-width:0}
  .ju-add{min-width:40px;padding:0}.ju-add .ju-add-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ju-plus{margin:0;font-size:20px}}
@media (min-width:1101px) and (max-width:1300px){.ju-k{display:none}.lab-in{column-gap:16px}.lab-tools{gap:8px 12px}#juSel{max-width:180px}}
@media (min-width:641px) and (max-width:1100px){
  .lab-tabs{min-width:0;max-width:calc(100% - 25px);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent)}
  .lab-tabs::-webkit-scrollbar{display:none}
  .fl-sw .lab-tabs button,html[data-lang="hi"] .fl-sw .lab-tabs button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
  .fl-sw .lab-tabs button wbr{display:none}
}
@media (max-width:640px){
  .lab-tabs{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent)}
  .lab-tabs::-webkit-scrollbar{display:none}
  .fl-sw .lab-tabs button,html[data-lang="hi"] .fl-sw .lab-tabs button{flex:0 0 auto;padding:6px 12px 9px;font-size:14px;white-space:nowrap;scroll-snap-align:start}
  .fl-sw .lab-tabs button wbr{display:none}
}
/* ---- 15.0.43 (owner 31 Oct 2026 20:50 "redesign lab page menu structure using vedic sky as an example, make famous lives the first block"):
   the Lab opens on a gallery (Famous lives first, then two chapters of glowing cards, as Vedic Sky's); each page opens under a bar with Close ---- */
.fl-sw[hidden],.lab-home[hidden]{display:none!important}
body.lab-home #labMain,body.lab-home #bxBand,body.lab-home #bxJump,body.lab-home #flBand{display:none!important}
.lab-home{--gold:#f6d27a;padding:0 16px}
.lab-hin{box-sizing:border-box;max-width:1240px;margin:0 auto;padding:34px 0 40px;display:grid;gap:56px}
.lab-hero{display:grid;gap:10px}
.lab-k{margin:0;font:600 12px var(--f-mono,monospace);letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.lab-h1{margin:0;font:400 46px/1.1 var(--f-head,serif);color:#fff}
.lab-lead{margin:0;font-size:17px;line-height:1.6;color:#c9c5ea}
html[data-lang="hi"] .lab-k,html[data-lang="hi"] .lab-ck{font-family:var(--f-hi,inherit);font-size:13.5px;letter-spacing:0;text-transform:none}
/* Famous lives, the first block: a gold band with its faces */
.lab-flb{--cr:246,210,122;position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:center;padding:30px 32px;border-radius:3px;
  background:radial-gradient(ellipse 60% 120% at 12% 0%,rgba(var(--cr),.22),transparent 70%),linear-gradient(160deg,rgba(var(--cr),.12),rgba(14,12,44,.94) 50%,rgba(10,9,32,.97));
  border:1px solid rgba(var(--cr),.55);box-shadow:0 0 40px rgba(var(--cr),.28)}
.lab-flt{display:grid;gap:12px;min-width:0}
.lab-ck{display:flex;align-items:center;gap:10px;margin:0;font:600 12px var(--f-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.lab-flic{display:block;width:34px;height:34px;color:var(--gold);filter:drop-shadow(0 0 8px rgba(var(--cr),.6))}
.lab-flic svg{display:block;width:100%;height:100%}
.lab-flt h2{margin:0;font:400 32px/1.2 var(--f-head,serif);color:#fff}
.lab-flt p{margin:0;font-size:16px;line-height:1.6;color:#d6d2f0}
.lab-flgo{justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 22px;border-radius:3px;border:1px solid #ffe08f;cursor:pointer;
  background:linear-gradient(180deg,#ffe08f,#e2b954);color:#1a1640;font:700 15px var(--f-text,inherit);box-shadow:0 0 18px rgba(255,211,107,.35)}
.lab-flgo:hover,.lab-flgo:focus-visible{background:linear-gradient(180deg,#fff1be,#ffd36b);outline:none;box-shadow:0 0 0 2px rgba(255,216,138,.6),0 0 22px rgba(255,211,107,.45)}
.lab-fln{font-size:13.5px!important;color:#a9a5d6!important}
.lab-faces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}
/* 15.0.43 (owner 31 Oct 21:47): the book of Pulling Worlds' chapters, The Stars Are Given, second, after Famous lives: its four parts beside it */
.lab-bkb .lab-flic,.lab-bkb .lab-ck{color:rgb(var(--cr))}
.lab-bkb .lab-flgo{border-color:rgb(var(--cr));background:linear-gradient(180deg,#ffe2c4,rgb(var(--cr)));box-shadow:0 0 18px rgba(var(--cr),.35)}
.lab-bkb .lab-flgo:hover,.lab-bkb .lab-flgo:focus-visible{background:linear-gradient(180deg,#fff1e2,#ffd0a8);box-shadow:0 0 0 2px rgba(var(--cr),.6),0 0 22px rgba(var(--cr),.45)}
.lab-bkp{list-style:none;margin:0;padding:0;display:grid;gap:10px;min-width:0}
.lab-bkp li{display:block;min-width:0}
.lab-bkpb{display:flex;align-items:baseline;gap:14px;width:100%;min-height:40px;padding:12px 16px;border:1px solid rgba(var(--cr),.3);border-radius:3px;background:rgba(10,9,32,.55);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.lab-bkpb:hover,.lab-bkpb:focus-visible{border-color:rgb(var(--cr));background:rgba(var(--cr),.1);outline:none}
.lab-bkpb:focus-visible{box-shadow:0 0 0 2px rgba(var(--cr),.6)}
.lab-bkar{flex:none;margin-left:auto;align-self:center;font-size:22px;line-height:1;color:rgb(var(--cr))}
.lab-bkn{flex:none;min-width:3.4em;font:400 20px/1 var(--f-head,serif);color:rgb(var(--cr))}
.lab-bkpb>span:nth-child(2){flex:1 1 auto;display:flex;flex-direction:column;gap:3px;min-width:0;font-size:14.5px;line-height:1.45;color:#c9c5ea}
.lab-bkp b{font-weight:600;font-size:15px;color:#fff}
@media (max-width:640px){.lab-bkpb{padding:10px 12px;gap:10px}.lab-bkn{font-size:17px;min-width:3em}}
.lab-face{position:relative;display:block;aspect-ratio:1;width:100%;padding:0;border:2px solid var(--c,#f6d27a);border-radius:50%;overflow:hidden;cursor:pointer;background:#1b1f4d;
  box-shadow:0 0 14px color-mix(in srgb,var(--c,#f6d27a) 45%,transparent);transition:transform .15s,box-shadow .15s}
.lab-face img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.85)}
.lab-face:hover,.lab-face:focus-visible{transform:scale(1.06);outline:none;box-shadow:0 0 0 2px #fff3c8,0 0 18px var(--c,#f6d27a)}
/* the chapters and their cards (as Vedic Sky's) */
.lab-ch{min-width:0}
.lab-sh{display:flex;align-items:flex-start;gap:16px;padding-bottom:14px;margin-bottom:24px;border-bottom:1px solid rgba(233,169,63,.25)}
.lab-cn{flex:none;font:600 13px var(--f-mono,monospace);color:var(--gold);padding-top:10px}
.lab-sh h2{margin:0;font:400 34px/1.15 var(--f-head,serif);color:#fff}
.lab-sh p{margin:6px 0 0;font-size:16px;line-height:1.55;color:#c9c5ea}
.lab-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.lab-card{--cr:233,169,63;position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;gap:12px;min-width:0;min-height:236px;box-sizing:border-box;padding:26px 26px 22px;margin:0;
  border-radius:3px;text-align:left;font:inherit;color:#f2f1fb;cursor:pointer;
  background:linear-gradient(160deg,rgba(var(--cr),.14),rgba(14,12,44,.92) 46%,rgba(10,9,32,.96));border:1px solid rgba(var(--cr),.5);box-shadow:0 0 34px rgba(var(--cr),.26);
  transition:box-shadow .2s,border-color .2s,transform .2s}
.lab-card:hover,.lab-card:focus-visible{border-color:rgba(var(--cr),.85);box-shadow:0 0 48px rgba(var(--cr),.42);transform:translateY(-2px);outline:none}
.lab-card:focus-visible{outline:2px solid rgb(var(--cr));outline-offset:3px}
.lab-halo{position:absolute;z-index:-1;top:-70px;left:-50px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(var(--cr),.28) 0%,transparent 65%);pointer-events:none}
.lab-ctop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.lab-ci{flex:none;display:block;width:64px;height:64px;color:rgb(var(--cr));filter:drop-shadow(0 0 11px rgba(var(--cr),.62))}
.lab-ci svg{display:block;width:100%;height:100%}
.lab-tag{padding:3px 8px;border-radius:3px;border:1px solid rgba(var(--cr),.55);color:rgb(var(--cr));font:600 11px var(--f-mono,monospace);letter-spacing:.08em;text-transform:uppercase}
html[data-lang="hi"] .lab-tag{font-family:var(--f-hi,inherit);font-size:12px;letter-spacing:0;text-transform:none}
.lab-card b{margin:6px 0 0;font:400 25px/1.2 var(--f-head,serif);color:#fff}
.lab-d{flex:1;font-size:15px;line-height:1.55;color:#c9c5ea}
.lab-go{font-weight:600;font-size:15px;color:rgb(var(--cr));filter:brightness(1.15)}
/* a page opened from the gallery: its bar, as Vedic Sky's (Close, the page's name, its tools) */
.fl-sw .lab-in{gap:16px;min-height:64px}
.fl-sw .lab-tabs{display:none}
.lab-close{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid rgba(255,216,138,.7);border-radius:3px;background:rgba(255,216,138,.12);
  color:#ffe7b0;font:600 15px var(--f-text,inherit);cursor:pointer}
.lab-close span{font-size:15px;line-height:1}
.lab-close:hover,.lab-close:focus-visible{background:rgba(255,216,138,.24);color:#fff;outline:none;box-shadow:0 0 0 2px rgba(255,216,138,.5)}
.lab-bt{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0}
.lab-bi{flex:none;width:38px;height:38px;color:rgb(var(--cr,246,210,122));filter:drop-shadow(0 0 10px rgba(var(--cr,246,210,122),.6))}
.lab-bi svg{display:block;width:100%;height:100%}
.lab-btt{display:flex;flex-direction:column;min-width:0}
.lab-bk{font:600 11px var(--f-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:#f6d27a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-lang="hi"] .lab-bk{font-family:var(--f-hi,inherit);font-size:12.5px;letter-spacing:0;text-transform:none}
.lab-bh{margin:0;font:400 22px/1.2 var(--f-head,serif);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}
.fl-sw .lab-tools{flex:0 1 auto}
@media (min-width:1101px){.fl-sw .lab-tools{flex:0 0 auto;flex-wrap:nowrap}}
@media (max-width:1100px){.lab-flb{grid-template-columns:minmax(0,1fr)}.lab-faces{grid-template-columns:repeat(6,minmax(0,1fr))}.lab-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fl-sw .lab-in{flex-wrap:wrap}.fl-sw .lab-tools{flex:1 1 100%}}
@media (max-width:640px){.lab-hin{padding:22px 0 30px;gap:40px}.lab-h1{font-size:36px}.lab-lead{font-size:16px}
  .lab-flb{padding:22px 18px;gap:20px}.lab-flt h2{font-size:26px}.lab-faces{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .lab-sh h2{font-size:28px}.lab-cards{grid-template-columns:minmax(0,1fr);gap:14px}.lab-card{min-height:0;padding:20px 18px 18px}.lab-ci{width:52px;height:52px}
  .fl-sw .lab-in{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px}.lab-close{padding:0 12px}.lab-bi{display:none}.lab-bh{font-size:19px}
  .fl-sw .lab-tools{flex:1 1 100%;border-top:1px solid rgba(246,210,122,.10);padding:8px 0 6px}}
/* 15.0.43 (owner 20:54): a page opened from the Lab gallery fills the page: only its bar (Close, its name, its tools) above it and Close again at its end;
   no site menu, live bar, footers or other pages around it (the Book's sky records stay only when their own address asks for them) */
html.lab-topic .livebar,html.lab-topic nav.site,html.lab-topic #jcSiteFoot,html.lab-topic #foot,html.lab-topic #seoIntro{display:none!important}
html.lab-topic:not(.lab-bx) #bxBand,html.lab-topic:not(.lab-bx) #bxJump{display:none!important}
html.lab-topic{--navh:0px}
.lab-end{display:flex;justify-content:center;padding:32px 16px 56px}
.lab-end[hidden]{display:none}
.lab-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 22px;border-radius:3px;border:1px solid #ffe08f;cursor:pointer;
  background:linear-gradient(180deg,#ffe08f,#e2b954);color:#1a1640;font:700 15px var(--f-text,inherit)}
.lab-back:hover,.lab-back:focus-visible{background:linear-gradient(180deg,#fff1be,#ffd36b);outline:none;box-shadow:0 0 0 2px rgba(255,216,138,.6)}

/* 1 Nov 05:54: the Lab bar's title takes the focus when a page opens (for screen readers); a heading shows no ring */
#labBh:focus{outline:none}
/* 16.0.1 Bending Worlds (owner 7 Nov 2026 22:48), the last card of Forces and spacetime: the long page, as Spinning Worlds, on the module's own night ground (#131338) */
body.bw-on #labMain,body.bw-on #bxBand,body.bw-on #bxJump{display:none!important}
.bw-band,.bw-band .ju-msg{background:#131338}
.bw-band .ju-frame iframe{height:calc(100svh - var(--navh,56px) - var(--labbar,0px));min-height:480px}
.bw-band .ju-frame iframe.bw-if[style*="height"]{min-height:0}
.bw-note{margin:0;padding:10px max(16px,calc(50vw - 590px));font-size:14.5px;line-height:1.5;color:#ffe7a3;background:#131338;border-bottom:1px solid rgba(246,210,122,.16)}
.bw-note[hidden]{display:none}
@media print{.bw-band{display:none!important}}
