/* Compass AI Coach shared brand system */
.compass-ai-coach-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #16213b;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.compass-ai-coach-lockup img,
.compass-ai-coach-mark-image {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.compass-ai-coach-lockup.compact {
  gap: 8px;
  font-size: 13px;
}

.compass-ai-coach-lockup.compact img {
  width: 26px;
  height: 26px;
}

.compass-ai-coach-lockup.inverse {
  color: #fff;
}

.compass-ai-coach-mark-shell {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(238,240,255,.92));
  box-shadow: 0 12px 30px rgba(47,49,146,.12), inset 0 1px 0 rgba(255,255,255,.9);
}

.compass-ai-coach-mark-shell img {
  width: 34px;
  height: 34px;
}

.compass-ai-coach-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 5px 13px 5px 7px;
  border: 1px solid rgba(79,70,229,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #2f3192;
  box-shadow: 0 10px 28px rgba(47,49,146,.09), inset 0 1px 0 rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.compass-ai-coach-badge img {
  width: 27px;
  height: 27px;
}

.compass-ai-coach-badge.inverse {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.09);
  color: #fff;
  box-shadow: none;
}

.compass-ai-coach-marketing-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(79,70,229,.13);
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 18%, rgba(167,139,250,.25), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(99,102,241,.10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,247,255,.97));
  box-shadow: 0 34px 90px rgba(47,49,146,.12), inset 0 1px 0 rgba(255,255,255,.96);
}

.compass-ai-coach-marketing-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -250px;
  border: 1px solid rgba(99,102,241,.10);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(99,102,241,.035), 0 0 0 116px rgba(99,102,241,.022);
  pointer-events: none;
}

.compass-ai-coach-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compass-ai-coach-feature-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.compass-ai-coach-feature-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eef0ff;
}

.compass-ai-coach-feature-list li > span img {
  width: 24px;
  height: 24px;
}

.compass-ai-coach-feature-list strong,
.compass-ai-coach-feature-list small {
  display: block;
}

.compass-ai-coach-feature-list strong {
  color: #1f2a44;
  font-size: 13px;
  font-weight: 850;
}

.compass-ai-coach-feature-list small {
  margin-top: 2px;
  color: #6b7690;
  font-size: 12px;
  line-height: 1.45;
}

/* Existing Compass app coach controls */
.compass-coach-mark {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 8px 18px rgba(47,49,146,.18) !important;
}

.compass-coach-mark img {
  width: 25px;
  height: 25px;
}

.coach-orb,
.workspace-coach-action-icon,
.coach-mode-card-icon {
  overflow: hidden;
}

.coach-orb img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.workspace-coach-action-icon img,
.coach-mode-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.coach-copy-primary > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
}

.coach-copy-primary > span:first-child img {
  width: 25px;
  height: 25px;
}

.workspace-coach-card::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 640px) {
  .compass-ai-coach-marketing-panel {
    border-radius: 28px;
  }
}

/* Balanced v2 mark alignment across buttons, cards, panels, marketing, and pricing. */
img[src$="/assets/compass-ai-coach-mark-v2.svg"],
img[src*="/assets/compass-ai-coach-mark-v2.svg?"] {
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
}

.compass-coach-mark img,
.compass-ai-coach-mark-shell img,
.compass-ai-coach-badge img,
.compass-ai-coach-feature-list img,
.coach-orb img,
.workspace-coach-action-icon img,
.coach-mode-card-icon img {
  transform: none !important;
  transform-origin: 50% 50% !important;
}

.compass-coach-mark img {
  width: 23px;
  height: 23px;
}

.workspace-coach-action-icon img,
.coach-mode-card-icon img {
  width: 25px;
  height: 25px;
}
