.lp-lab-wrap {
  z-index: 120;
}
.lp-lab-wrap .lp-lab-frame-host {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.lp-lab-wrap iframe.lp-lab-frame {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 0;
  background: #dcdedb;
}
.lp-lab-wrap.is-home-bottom-sheet .lp-lab-chrome {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 8px;
  flex: none;
}
.lp-lab-wrap.is-left-panel-slide .lp-lab-chrome {
  display: none;
}
.lp-lab-wrap.is-lp-form .lp-lab-chrome {
  display: none;
}
.lp-lab-wrap.is-lp-form .lp-lab-frame-host {
  flex: 1;
}
.lp-lab-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 34, 30, 0.06);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lp-lab-wrap main.xc-editor.lp-lab-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.lp-lab-wrap.is-home-bottom-sheet {
  transform: translateY(100%);
}
.lp-lab-wrap.is-home-bottom-sheet.is-open {
  transform: translateY(0);
}
.home-purpose-subpage-list .home-lab-tag {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9a6700;
  background: #fef3c7;
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
}
.home-purpose-subpage-list .home-lab-draft .home-page-item-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}
.home-purpose-subpage-list .home-lab-paused .home-page-item-status-dot {
  background: #9ca3af;
}
.conversation.agent-chat > .message.assistant.agent-lp-message {
  flex-wrap: wrap;
  align-items: flex-start;
}
.conversation.agent-chat > .message.assistant .agent-lp-slot {
  flex: 1 1 100%;
  min-width: 0;
  padding-left: 38px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.conversation.agent-chat > .message.assistant .agent-lp-slot .lp-section-chat-card {
  position: relative;
  z-index: 2;
}
.lp-section.is-answered .lp-answered-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 14px;
  color: #17221e;
}
.lp-answered-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ee;
  font-weight: 600;
}
.lp-answered-change {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
  color: #4a6358;
  text-decoration: underline;
  cursor: pointer;
}
.agent-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.agent-lp-actions button {
  border: 1px solid #d8ddd8;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 650;
  color: #17221e;
  cursor: pointer;
}
.agent-lp-actions button.primary {
  background: #17221e;
  color: #fff;
  border-color: #17221e;
}
.agent-lp-goal-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e6e2;
  background: #fafbfa;
  font-size: 14px;
  line-height: 1.45;
}
.agent-lp-goal-card dl {
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}
.agent-lp-goal-card dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #63706a;
}
.agent-lp-goal-card dd {
  margin: 0 0 4px;
  font-weight: 650;
}
