/* Follow-along checklist for Apps and Agents workshop labs */
.lab-attr {
  border: 1px solid var(--border, #d0d5dd);
  background: #f6f8fb;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
}
.lab-attr h2 { margin-top: 0; font-size: 1.05rem; }
.lab-attr .lab-original {
  display: block;
  margin: 0.75rem 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.lab-progress-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border, #d0d5dd);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.lab-progress-bar [type="button"] {
  font: inherit;
  cursor: pointer;
  border: 1px solid #1f4e79;
  background: #fff;
  color: #1f4e79;
  padding: 0.35rem 0.7rem;
}
.lab-progress-bar [type="button"]:hover,
.lab-progress-bar [type="button"]:focus-visible {
  background: #1f4e79;
  color: #fff;
  outline: 2px solid #1f4e79;
  outline-offset: 2px;
}
.lab-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.lab-step {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.35rem 0.45rem 0.15rem;
  break-inside: avoid;
}
.lab-step:target {
  outline: 2px solid #0f6cbd;
  outline-offset: 3px;
  background: #e8f3fb;
}
.lab-step input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: #0f6cbd;
}
.lab-step input[type="checkbox"]:focus-visible {
  outline: 2px solid #0f6cbd;
  outline-offset: 3px;
}
.lab-step label {
  flex: 1 1 auto;
  cursor: pointer;
  max-width: 100%;
}
.lab-step.is-done label { text-decoration: line-through; opacity: 0.78; }
.lab-step .lab-step-num { font-weight: 700; margin-right: 0.3rem; }
.lab-step pre, .lab-step .table-wrap { margin-top: 0.5rem; }
.lab-checkpoint, .lab-troubleshoot { margin: 1rem 0 1.5rem; }
.watch-video { margin: 0 0 1.5rem; }
.watch-video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  max-width: 40rem;
  height: auto;
  min-height: 12rem;
}
.lab-credits { font-size: 0.92rem; margin: 1.5rem 0 0; }
.lab-meta-list { margin: 0 0 1.25rem; }
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .skip, .main-nav,
  .lab-progress-bar [type="button"], .watch-video[hidden] { display: none !important; }
  .lab-progress-bar { position: static; border: 0; }
  .lab-step input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .lab-attr, .lab-step { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; font-weight: 400; }
}
