

/* layout */
.summaryqa-container { display: flex; height: 100vh; width: 100%; }

/* sidebar */
.summaryqa-sidebar {
  width: 240px;
  background: #ffffff;
  border-right: 1px solid #e6e6e6;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
}
.summaryqa-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.summaryqa-model-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.summaryqa-model-item {
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  color: #444;
  font-size: 14px;
  transition: background 160ms ease, transform 120ms ease;
}
.summaryqa-model-item:hover { background: #fbfbfb; transform: translateY(-1px); }
.summaryqa-model-item--active {
  background: #fff8e6;
  border-left: 4px solid #f4c150;
  color: #2b2b2b;
  font-weight: 700;
}

/* main panel */
.summaryqa-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
  gap: 16px;
  overflow-y: auto;
  background: #ffffff;
}

/* header */
.summaryqa-header {
  font-size: 20px;
  font-weight: 800;
  color: #222;
}

/* warning banner */
.summaryqa-warning {
  background: #fff0f1;
  border: 1px solid #ffd6d9;
  color: #8a1b1f;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 880px;
}

/* tabs */
.summaryqa-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #efefef;
  padding-bottom: 8px;
}
.summaryqa-tab {
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #6b6b6b;
  border-bottom: 3px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.summaryqa-tab--active {
  color: #212121;
  border-bottom-color: #4a90e2;
}

/* chat area */
.summaryqa-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  max-width: 880px;
}
.summaryqa-bubble {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 75%;
  font-size: 15px;
  line-height: 1.35;
}
.summaryqa-bubble--user {
  background: #e8f5ff;
  color: #08324b;
  align-self: flex-start;
}
.summaryqa-bubble--ai {
  background: #f6f6f6;
  color: #333;
  align-self: flex-start;
}

/* responsive */
@media (max-width: 880px) {
  .summaryqa-sidebar { display: none; }
  .summaryqa-main { padding: 18px; }
  .summaryqa-bubble { max-width: 92%; }
}
