.om-guide-launcher {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1080;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-weight: 700;
  color: #1a1008;
  background: linear-gradient(145deg, #ff9f1a, #ff8c00 45%, #e67e00);
  box-shadow: 0 10px 24px rgba(42, 28, 18, 0.22);
  cursor: pointer;
}

.om-guide-panel {
  position: fixed;
  right: 1.1rem;
  bottom: 4.4rem;
  z-index: 1080;
  width: min(400px, calc(100vw - 1.5rem));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(180, 83, 9, 0.22);
  background: #fffdf8;
  box-shadow: 0 18px 40px rgba(42, 28, 18, 0.18);
  overflow: hidden;
  color: #1c1410;
  font-family: Outfit, system-ui, sans-serif;
}

.om-guide-panel[hidden] {
  display: none;
}

.om-guide-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: #2a1c12;
  color: #fff8f0;
}

.om-guide-head img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
  background: #f5ebe0;
}

.om-guide-head-text {
  flex: 1;
  min-width: 0;
}

.om-guide-head strong {
  display: block;
  font-size: 0.98rem;
}

.om-guide-head span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
}

.om-guide-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.om-guide-body {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.om-guide-row.is-user {
  align-self: flex-end;
}

.om-guide-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 0.92rem;
}

.is-guide .om-guide-bubble {
  background: #f6efe6;
}

.is-user .om-guide-bubble {
  background: rgba(255, 140, 0, 0.18);
}

.om-guide-picker {
  display: grid;
  gap: 0.45rem;
}

.om-guide-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  background: #fff;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.om-guide-person img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.om-guide-person-meta {
  display: flex;
  flex-direction: column;
}

.om-guide-person-meta em {
  font-style: normal;
  color: #5c534c;
  font-size: 0.8rem;
}

.om-guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

a.om-guide-chip {
  text-decoration: none;
  display: inline-block;
}

.om-guide-chip,
.om-guide-switch {
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: #fff;
  color: #8a3d08;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.28rem 0.6rem;
  cursor: pointer;
}

.om-guide-chip.is-muted {
  color: #5c534c;
}

.om-guide-links {
  display: grid;
  gap: 0.35rem;
}

.om-guide-link {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  border: 1px solid rgba(180, 83, 9, 0.16);
  background: #fff;
  padding: 0.45rem 0.6rem;
}

.om-guide-link span {
  color: #5c534c;
  font-size: 0.8rem;
}

.om-guide-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem;
  border-top: 1px solid rgba(180, 83, 9, 0.14);
}

.om-guide-form input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  padding: 0.5rem 0.8rem;
}

.om-guide-form button {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  background: #ff8c00;
  cursor: pointer;
}

@media (max-width: 640px) {
  .om-guide-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
  }

  .om-guide-launcher {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}
