/* ChatGPT Thread Layout Container */
.chatgpt-thread {
  max-width: 760px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0d0d0d;
  line-height: 1.65;
  font-size: 15.5px;
}

/* User Message Pill */
.chatgpt-user-row {
  display: flex;
  justify-content: flex-end;
  margin: 2.2rem 0 1.2rem;
}
.chatgpt-user-bubble {
  background-color: #f4f4f4;
  color: #0d0d0d;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 15px;
  max-width: 82%;
  display: inline-block;
  line-height: 1.45;
}

/* Assistant Message Area */
.chatgpt-assistant-row {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}
.chatgpt-assistant-row:last-child {
  border-bottom: none;
}
.chatgpt-assistant-row p {
  margin-bottom: 1.1rem;
}
.chatgpt-assistant-row h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.8rem 0 0.8rem;
  color: #111;
}
.chatgpt-assistant-row h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.4rem 0 0.5rem;
  color: #222;
}
.chatgpt-assistant-row ul, 
.chatgpt-assistant-row ol {
  padding-left: 1.5rem;
  margin: 0.8rem 0 1.2rem;
}
.chatgpt-assistant-row li {
  margin-bottom: 0.45rem;
}

/* Blockquotes */
.chatgpt-assistant-row blockquote {
  margin: 1.2rem 0;
  padding: 0.6rem 1.2rem;
  border-left: 3px solid #d1d5db;
  color: #4b5563;
  font-style: italic;
  background: #f9fafb;
  border-radius: 0 8px 8px 0;
}

/* Source citations */
.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  background: #f0f0f0;
  color: #666;
  padding: 2px 7px;
  border-radius: 12px;
  vertical-align: baseline;
  text-decoration: none;
  margin-left: 3px;
}

/* Skip / Jump Anchor Button */
.jump-btn-wrapper {
  margin: 1.8rem 0 2rem;
  text-align: center;
}
.jump-btn {
  display: inline-block;
  width: 100%;
  max-width: 480px;
  background-color: #a48771;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px 20px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.jump-btn:hover {
  background-color: #8c715c;
  transform: translateY(-1px);
}

/* Image Container */
.chatgpt-image-container {
  margin: 1.5rem 0;
  text-align: center;
}
.chatgpt-image-container img {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Responsive Table */
.chatgpt-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.chatgpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.chatgpt-table th, .chatgpt-table td {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}
.chatgpt-table th {
  background-color: #f9fafb;
  font-weight: 600;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}