.eb-copilot-root {
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 10000;
}
.eb-copilot-panel {
  background: rgba(8, 18, 15, 0.96);
  border-top: 1px solid rgba(123, 222, 211, 0.28);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  color: #e8f5ef;
  max-height: 42vh;
  overflow: auto;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}
.eb-copilot-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}
.eb-copilot-badge {
  background: rgba(13, 110, 110, 0.35);
  border: 1px solid rgba(123, 222, 211, 0.35);
  border-radius: 999px;
  color: #7bded3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.eb-copilot-stage {
  color: #9eb8ae;
  font-size: 0.74rem;
}
.eb-copilot-message {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
}
.eb-copilot-fix {
  color: #b6cbc2;
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 0 0 10px;
}
.eb-copilot-fix strong {
  color: #7bded3;
}
.eb-copilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.eb-copilot-btn {
  background: #0d6e6e;
  border: 1px solid #0d6e6e;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  padding: 8px 12px;
}
.eb-copilot-btn-ghost {
  background: transparent;
  border-color: rgba(232, 245, 239, 0.35);
  color: #e8f5ef;
}
.eb-copilot-videos {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
}
.eb-copilot-video-card--primary {
  grid-column: 1 / -1;
}
.eb-copilot-video-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 222, 211, 0.2);
  border-radius: 8px;
  overflow: hidden;
}
.eb-copilot-video-card iframe,
.eb-copilot-video-card video {
  background: #000;
  border: 0;
  display: block;
  width: 100%;
}
.eb-copilot-video-card iframe {
  aspect-ratio: 16 / 9;
}
.eb-copilot-video-card--portrait video {
  aspect-ratio: 9 / 16;
  max-height: 280px;
  object-fit: contain;
}
.eb-copilot-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px 0;
}
.eb-copilot-chapter {
  background: rgba(13, 110, 110, 0.25);
  border: 1px solid rgba(123, 222, 211, 0.25);
  border-radius: 999px;
  color: #b6cbc2;
  cursor: pointer;
  font-size: 0.68rem;
  padding: 4px 8px;
}
.eb-copilot-video-card p {
  color: #b6cbc2;
  font-size: 0.74rem;
  margin: 0;
  padding: 8px 10px 10px;
}
.eb-copilot-preflight {
  border: 1px solid rgba(123, 222, 211, 0.22);
  border-radius: 8px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}
.eb-copilot-preflight video {
  background: #000;
  display: block;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}
.eb-copilot-checklist {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.eb-copilot-checklist li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 222, 211, 0.15);
  border-radius: 6px;
  color: #b6cbc2;
  font-size: 0.74rem;
  padding: 6px 8px;
}
.eb-copilot-checklist li.ok {
  border-color: rgba(123, 222, 211, 0.45);
  color: #7bded3;
}
.eb-copilot-checklist li.warn {
  border-color: rgba(255, 196, 120, 0.45);
  color: #ffd9a8;
}
.eb-copilot-hidden { display: none !important; }
@media (max-width: 720px) {
  .eb-copilot-videos { grid-template-columns: 1fr; }
  .eb-copilot-checklist { grid-template-columns: 1fr; }
}