/* The Lab App (#jlab-desktop), Oct 8: anatomy embed, six-still carousel, Unicode as a subsection */
#jlab-desktop .visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0;border:0}

/* anatomy guide */
#jlab-desktop .jd-anatomy-frame iframe{display:block;width:100%;border:0;background:transparent}

/* bridge subsection: the Argos .subscene pattern, heading sized like "Try the working demo" */
#jlab-desktop .jd-side{padding:clamp(40px,5vw,65px) 0 0;margin-top:clamp(56px,7vw,96px)}
#jlab-desktop .jd-side-title{grid-template-columns:150px minmax(0,1fr) minmax(0,260px) 56px;gap:25px;align-items:start;margin-bottom:0}
#jlab-desktop .jd-side-title h3{font-size:43px;line-height:1.13;letter-spacing:-.055em;margin:0 0 18px;max-width:24ch}
#jlab-desktop .jd-side-copy p{font-size:14px;line-height:1.65;max-width:52ch;margin:0;color:inherit}
#jlab-desktop .jd-side-fig{margin:6px 0 0}
#jlab-desktop .jd-side-fig .image-open{display:block;width:100%}
#jlab-desktop .jd-side-fig img{display:block;width:100%;height:auto;max-height:none!important;border-radius:5px;box-shadow:0 8px 24px -14px #0004}
#jlab-desktop .jd-side-fig figcaption{font-size:11px;margin-top:7px;color:var(--muted)}
#jlab-desktop .jd-side-arrow{width:56px;height:auto;align-self:stretch;margin-top:calc(6px + 5%);color:var(--muted);overflow:visible}

/* the Unicode Keyboard box */
#jlab-desktop .jd-ubox{margin:14px 0 48px;padding:clamp(24px,3.4vw,44px);border-radius:16px}
[data-theme=light] #jlab-desktop .jd-ubox,#jlab-desktop .jd-ubox{background:#dce7f4;--paper:#dce7f4;--line:#6f86a64d;--muted:#4f6480;--ink:#2f4a70;color:#24364f}
[data-theme=dark] #jlab-desktop .jd-ubox{background:#2b3544;--paper:#2b3544;--line:#b1c1a033;--muted:#b1bfd0;--ink:#dfe8d7;color:#e6ecdf}
#jlab-desktop .jd-ubox-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}
#jlab-desktop .jd-ubox-head .unicode-icon{width:52px;height:52px;flex:none;margin:0;border-radius:12px}
#jlab-desktop .jd-ubox-head h4{font-size:30px;font-weight:400;letter-spacing:-.045em;line-height:1.1;margin:0}
#jlab-desktop .jd-ubox-deck{font-size:13px;margin:5px 0 0;color:var(--muted);max-width:none}

/* the toy: switcher, field, one hint */
#jlab-desktop .jd-toy{max-width:760px}
#jlab-desktop .jd-toy .style-options{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}
#jlab-desktop .jd-toy .style-options button{min-height:38px;padding:6px 16px;font-size:11px}
#jlab-desktop .jd-toy textarea{display:block;width:100%;min-height:0;resize:vertical;border-radius:8px;padding:14px 16px;font:23px/1.5 system-ui,sans-serif;overflow-wrap:anywhere;background:#f5f8fc;color:#1f3047;border:1px solid #8ea3bf}
#jlab-desktop .jd-toy textarea:focus-visible{outline:2px solid #41587e;outline-offset:3px}
[data-theme=dark] #jlab-desktop .jd-toy textarea{background:#1f2834;color:#eef2ea;border-color:#5d6f86}
[data-theme=dark] #jlab-desktop .jd-toy textarea:focus-visible{outline-color:#c5dea7}
#jlab-desktop .jd-toy-hint{font-size:11px;margin:8px 0 0;color:var(--muted)}
#jlab-desktop .jd-ubox-dl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:22px}
#jlab-desktop .jd-ubox-dl .button{margin:0}
#jlab-desktop .jd-ubox-dl .small{margin:0;font-size:11px;color:var(--muted)}
#jlab-desktop .jd-ubox-how{margin:20px 0 0;padding-left:0;padding-right:0;border-top:1px solid var(--line);padding-top:14px;font-size:12px}
#jlab-desktop .jd-ubox-how summary{cursor:pointer;font-size:12px;list-style-position:inside}
#jlab-desktop .jd-ubox-how ol{padding-left:18px;margin:12px 0;line-height:1.75}
#jlab-desktop .jd-ubox-how p{max-width:66ch;line-height:1.65;margin:0 0 10px}

@media(max-width:1100px){
  #jlab-desktop .jd-side-title{grid-template-columns:120px minmax(0,1fr) minmax(0,220px) 44px}
  #jlab-desktop .jd-side-arrow{width:44px}
}
@media(max-width:800px){
  #jlab-desktop .jd-side-title{grid-template-columns:minmax(0,1fr) 40px;gap:14px 14px}
  #jlab-desktop .jd-side-title>.eyebrow,#jlab-desktop .jd-side-copy{grid-column:1/-1}
  #jlab-desktop .jd-side-title h3{font-size:29px;margin-bottom:12px}
  #jlab-desktop .jd-side-fig{grid-column:1;max-width:240px;margin:0}
  #jlab-desktop .jd-side-arrow{grid-column:2;width:40px;margin-top:20%}
  #jlab-desktop .jd-ubox{padding:22px 18px;border-radius:14px}
  #jlab-desktop .jd-ubox-head h4{font-size:25px}
  #jlab-desktop .jd-toy .style-options button{flex:1;min-width:60px;padding:6px 8px}
  #jlab-desktop .jd-toy textarea{font-size:21px}
}
