.lab-page--with-guide {
  --lab-information-height: calc(48px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--lab-information-height);
  height: 100dvh;
  background: #133c35;
  color: #183c33;
  font: 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.lab-page--with-guide main { min-height: 0; height: 100%; }
.lab-page--with-guide noscript { inset: 12px 12px auto; max-width: 520px; }
.lab-information {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 14px calc(4px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #cbdcd4;
  background: #f5faf7;
  font-size: 13px;
}
.lab-information a { color: #175f49; text-underline-offset: 3px; }
.lab-information > a { display: inline-flex; align-items: center; min-height: 36px; }
.lab-learning-guide summary,
.lab-learning-guide__close {
  box-sizing: border-box;
  padding: 5px 12px;
  min-height: 36px;
  border: 1px solid #b5cec0;
  border-radius: 8px;
  background: #fff;
  color: #174e3b;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.lab-learning-guide summary { white-space: nowrap; }
.lab-learning-guide summary:hover,
.lab-learning-guide__close:hover { background: #e7f3eb; }
.lab-information :focus-visible { outline: 3px solid #19784f; outline-offset: 3px; }
.lab-learning-guide__panel {
  box-sizing: border-box;
  position: fixed;
  z-index: 10;
  right: 12px;
  bottom: calc(var(--lab-information-height) + 10px);
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100dvh - var(--lab-information-height) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #b5cec0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 40px #0b2b322e;
  font-size: 15px;
}
.lab-learning-guide__header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #dce8e0;
  background: #f5faf7;
}
.lab-learning-guide .lab-learning-guide__eyebrow { margin: 0 0 4px; color: #49685c; font-size: 12px; }
.lab-learning-guide h1 { margin: 0; font-size: 25px; line-height: 1.3; }
.lab-learning-guide__close { flex: 0 0 auto; }
.lab-learning-guide__content { padding: 0 20px 18px; overflow-wrap: anywhere; }
.lab-learning-guide h2 { margin: 24px 0 8px; color: #174e3b; font-size: 18px; line-height: 1.4; }
.lab-learning-guide p { margin: 16px 0; }
.lab-learning-guide ul,
.lab-learning-guide ol { margin: 8px 0 16px; padding-left: 24px; }
.lab-learning-guide li { margin: 8px 0; }
.lab-learning-guide__new-tab { color: #49685c; font-size: 12px; }
@media (max-width: 420px) {
  .lab-information { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  .lab-learning-guide summary { padding-left: 8px; padding-right: 8px; }
  .lab-learning-guide__header { gap: 10px; padding: 12px 14px; }
  .lab-learning-guide__content { padding-left: 14px; padding-right: 14px; }
}
