#sample-lab {
  --lb-border: #394050;
  --lb-muted: #a9b0c2;
  --lb-cold: #c6b4ff;
  --lb-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #f1f0f7;
  background: #10131e;
  border: 1px solid var(--lb-border);
  border-radius: 1rem;
  overflow: hidden;
  font: inherit;
  text-align: left;
}
#sample-lab *, #sample-lab *::before, #sample-lab *::after { box-sizing: border-box; }
#sample-lab button, #sample-lab summary { font: inherit; cursor: pointer; }
#sample-lab :focus-visible { outline: 2px solid #c6b4ff; outline-offset: -3px; }
.lb-tabs {
  display: flex; gap: .6rem; padding: 0 clamp(.9rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--lb-border); background: #141825;
}
#sample-lab .lb-tab {
  flex: 0 1 auto; position: relative; padding: 1.05rem clamp(.42rem, 1.5vw, 1.15rem);
  background: transparent; color: var(--lb-muted); border: 0; border-radius: 0;
  font-size: .94rem; font-weight: 530; line-height: 1.45;
}
#sample-lab .lb-tab[aria-selected="true"] { color: #e4dbff; }
.lb-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: .45rem; right: .45rem; bottom: 0;
  height: 2px; background: var(--lb-cold);
}
#sample-lab .lb-tab:hover { color: #fff; }
.lb-panel {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(14rem, .75fr);
  gap: clamp(1.6rem, 4vw, 4.5rem); align-items: start;
  padding: clamp(1.4rem, 3.8vw, 3.5rem);
}
.lb-information { min-width: 0; }
.lb-id { font: .81rem/1.4 var(--lb-mono); letter-spacing: .045em; color: var(--lb-cold); }
#sample-lab .lb-title {
  color: #fff; margin: .8rem 0 .95rem; font-family: inherit;
  font-size: clamp(1.4rem, 2.45vw, 2.35rem); font-weight: 560; line-height: 1.28;
  letter-spacing: -.025em; text-wrap: balance;
}
#sample-lab .lb-question, #sample-lab .lb-answer, #sample-lab .lb-check {
  font-size: 1rem; line-height: 1.75; max-width: 60ch; margin: 0; color: #cbd0de;
}
.lb-details { border-top: 1px solid var(--lb-border); margin-top: 1.55rem; }
#sample-lab .lb-details summary {
  display: flex; align-items: center; gap: .7rem; width: fit-content;
  list-style: none; color: #dfd3ff; padding: .8rem .25rem .8rem 0; font-size: .92rem;
}
.lb-details summary::-webkit-details-marker { display: none; }
.lb-details summary::before {
  content: "+"; display: inline-flex; justify-content: center; align-items: center;
  width: 1rem; font: 1.25rem/1 var(--lb-mono); color: var(--lb-cold);
}
.lb-details[open] summary::before { content: "−"; }
#sample-lab .lb-check { margin-top: .6rem; font-size: .94rem; color: #b4ccea; }
.lb-observations {
  background: #0c101a; border: 1px solid #2c3342; border-radius: .65rem;
  margin: 0; padding: 1rem 1.15rem 1.05rem;
}
.lb-caption { color: #b1b8ca; font-size: .875rem; line-height: 1.5; }
.lb-file, .lb-slide-meta {
  font: .8rem/1.55 var(--lb-mono); color: #b8c6e1; margin: .8rem 0 0;
}
.lb-file { border-bottom: 1px solid #343a4a; padding-bottom: .5rem; }
#sample-lab .lb-snippet {
  display: block; margin: .75rem 0 .15rem; padding: 0;
  color: #ddd2fe; font: .88rem/1.75 var(--lb-mono); white-space: pre-wrap; overflow-wrap: anywhere;
}
#sample-lab .lb-details .lb-snippet {
  padding: .75rem 1rem; background: #0c101a; border-radius: .4rem;
}
.lb-snippet code { font: inherit; }
.lb-slide { width: 100%; height: auto; display: block; margin-top: .7rem; }
.lb-slide-meta { font-size: .78rem; margin-top: .5rem; }
.lb-footer {
  border-top: 1px solid var(--lb-border); padding: .7rem clamp(1.2rem, 3.8vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem;
}
.lb-note { font-size: .83rem; color: var(--lb-muted); }
#sample-lab .lb-download {
  min-height: 2.35rem; padding: .4rem .1rem; color: #d3ddf5; background: transparent; border: 0;
  font-size: .88rem; line-height: 1.5; text-decoration: underline;
  text-decoration-color: #697186; text-underline-offset: .25em;
}
#sample-lab .lb-download:hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 680px) {
  .lb-panel { grid-template-columns: 1fr; gap: 1rem; }
  .lb-tabs { gap: 0; justify-content: space-between; padding: 0 .35rem; }
  #sample-lab .lb-tab { flex: 1; padding: .78rem .35rem; font-size: .85rem; }
  .lb-observations { max-width: none; }
  .lb-footer { gap: .3rem .6rem; }
}
