.pbot-demo {
  margin: 22px 0 26px;
  border: 1px solid var(--line, #d7e0e8);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(18, 32, 44, 0.06);
  overflow: hidden;
}

.pbot-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #f3f6f9;
  border-bottom: 1px solid var(--line, #d7e0e8);
  font-size: 13px;
}

.pbot-demo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink, #12202c);
}

.pbot-demo-dots {
  display: inline-flex;
  gap: 5px;
  margin-inline-end: 4px;
}

.pbot-demo-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5df;
}

.pbot-demo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pbot-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.12);
  color: #b84700;
}

.pbot-demo-badge.is-clean {
  background: rgba(24, 128, 56, 0.12);
  color: #137333;
}

.pbot-demo-reset {
  font: 600 12px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--muted, #4b5d6b);
  background: #fff;
  border: 1px solid var(--line, #d7e0e8);
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
}

.pbot-demo-reset:hover {
  color: var(--ink, #12202c);
  border-color: #aebcc9;
}

.pbot-demo-stage {
  padding: 18px 18px 16px;
}

.pbot-demo-text {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: #202124;
  background: #fafbfc;
  border: 1px solid #e6ecf2;
  border-radius: 10px;
  padding: 14px 16px;
}

.pbot-demo-mark {
  display: inline;
  font: inherit;
  color: inherit;
  padding: 1px 2px;
  margin: 0;
  border: 0;
  border-bottom: 2px solid #e85d04;
  background: rgba(232, 93, 4, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pbot-demo-mark:hover,
.pbot-demo-mark.is-active {
  background: rgba(232, 93, 4, 0.24);
  outline: none;
}

.pbot-demo-mark:focus-visible {
  box-shadow: 0 0 0 2px #1a73e8;
}

.pbot-demo-fixed {
  background: rgba(24, 128, 56, 0.14);
  color: #137333;
  border-radius: 3px;
  padding: 1px 3px;
  transition: background 0.6s ease;
}

.pbot-demo-card {
  border: 1px solid #e0e6ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 13px 15px;
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #202124;
}

.pbot-demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.pbot-demo-type {
  font-weight: 700;
  color: #1a73e8;
  font-size: 13px;
}

.pbot-demo-step {
  font-size: 12px;
  color: #5f6368;
}

.pbot-demo-diff {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 15px;
}

.pbot-demo-found {
  color: #d93025;
  text-decoration: line-through;
}

.pbot-demo-arrow {
  color: #5f6368;
}

.pbot-demo-sug {
  color: #188038;
  font-weight: 700;
}

.pbot-demo-exp {
  margin: 0 0 12px;
  color: #3c4043;
  font-size: 13.5px;
}

.pbot-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pbot-demo-btn {
  font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  border-radius: 6px;
  padding: 7px 14px;
  cursor: pointer;
  border: 1px solid #dadce0;
  background: #fff;
  color: #202124;
  text-decoration: none;
}

.pbot-demo-btn:hover {
  background: #f1f3f4;
}

.pbot-demo-btn.is-primary {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

.pbot-demo-btn.is-primary:hover {
  background: #1557b0;
}

.pbot-demo-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pbot-demo-done p {
  margin: 0;
  font-weight: 600;
  color: #137333;
}

.pbot-demo-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted, #4b5d6b);
}
