#lab-guide {
  box-sizing: border-box; width: min(580px, calc(100vw - 28px)); max-height: 90dvh;
  overflow: auto; padding: 30px; border: 1px solid #dfe5df; border-radius: 20px;
  background: #f7f8f3; color: #18332d; box-shadow: 0 24px 80px #10282030;
  font: 14px/1.8 "Segoe UI", "Microsoft YaHei", sans-serif;
}
#lab-guide::backdrop { background: #10282080; backdrop-filter: blur(4px); }
.lab-guide-heading, .lab-guide-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lab-guide-heading { font-size: 12px; color: #60796c; }
.lab-guide-avatar { width: 56px; height: 56px; object-fit: cover; object-position: 75% center; border-radius: 16px; margin-top: 22px; }
#lab-guide h2 { margin: 14px 0; font-size: 25px; line-height: 1.4; outline: none; }
#lab-guide p { margin: 12px 0; }
#lab-guide button { cursor: pointer; border: 1px solid #d3dfd6; background: #fff; color: #234c3d; border-radius: 9px; padding: 9px 15px; font: inherit; }
#lab-guide button:focus-visible { outline: 2px solid #22614f; outline-offset: 3px; }
#lab-guide button:disabled { opacity: .4; cursor: default; }
#lab-guide .lab-guide-primary { background: #22614f; color: #fff; border-color: #22614f; margin-left: 8px; }
#lab-guide #lab-guide-skip { padding: 3px 0; background: none; border: none; font-size: 12px; }
.lab-guide-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0; }
.lab-guide-roles span, .lab-guide-example { background: #e8f0e8; padding: 11px 14px; border-radius: 9px; }
.lab-guide-note { font-size: 13px; color: #63726a; padding-left: 12px; border-left: 3px solid #b7cfc0; }
.lab-guide-footer { margin-top: 26px; }
#lab-guide .lab-guide-footnote { font-size: 12px; color: #76847e; text-align: right; margin-bottom: 0; }
#lab-shared-note { color: #75827b; font-size: 11px; padding-top: 6px; }
.topbar:has(#lab-shared-note) { flex-wrap: wrap; }
.topbar #lab-shared-note { width: 100%; }
.lab-shared #settings-button, .lab-shared #modelSelect, .lab-shared #btnPair, .lab-shared #fbWorkspacePath { display: none !important; }
.row.ai .av img { object-fit: cover; object-position: 75% center; }
@media (max-width: 520px) {
  #lab-guide { padding: 20px; }
  #lab-guide h2 { font-size: 22px; }
  .lab-guide-roles { gap: 6px; font-size: 12px; }
  .lab-guide-roles span { padding: 8px; }
}
