.guide-page {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

.guide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.guide-top a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.guide-top .landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.guide-top .landing-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.guide-layout {
  flex: 1;
  max-width: 52rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.guide-chat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.guide-chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.guide-chat-header h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.guide-chat-header p {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.guide-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guide-msg {
  max-width: 92%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.guide-msg.bot {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 0.25rem;
}

.guide-msg.user {
  align-self: flex-end;
  background: #2563eb;
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.guide-msg.result {
  align-self: stretch;
  max-width: 100%;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #78350f;
}

.guide-options {
  padding: 0 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.guide-opt-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
}

.guide-opt-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.guide-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid #e2e8f0;
}

.guide-input-row input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
}

.guide-input-row button {
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.guide-side {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.guide-side h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.guide-side ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
}

.guide-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.guide-cta.secondary {
  background: #fff;
  color: #2563eb !important;
  border: 1px solid #2563eb;
  margin-left: 0.5rem;
}

.guide-disclaimer {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 1rem;
  line-height: 1.5;
}
