/* ── Suggestion bubbles (Outlook) ─────────────────────────────────── */

.suggestion-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 6px;
}

.suggestion-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  color: #374151;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.suggestion-bubble:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.suggestion-bubble:active {
  background: #e5e7eb;
}

.suggestion-bubble--draft {
  cursor: default;
  padding-right: 4px;
  gap: 6px;
}

.suggestion-bubble-label {
  cursor: pointer;
}

.suggestion-bubble-label:hover {
  color: #030712;
}

.suggestion-tone-select {
  font-family: inherit;
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  color: #374151;
  outline: none;
  cursor: pointer;
  max-width: 120px;
}

.suggestion-tone-select:focus {
  border-color: #7a7afe;
}

/* ── Outlook structured cards ──────────────────────────────────────── */

.outlook-card {
  border: 1px solid #e5e7eb;
  border-inline-start: 4px solid #0078d4;
  border-radius: 8px;
  background: #f9fafb;
  padding: 16px;
  animation: fadeIn 0.15s ease-out;
}

.outlook-card-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  color: #374151;
}

.outlook-card-body {
  font-size: 14px;
  line-height: 1.6;
  color: #030712;
}

.outlook-card-body p {
  margin: 0 0 8px;
}

.outlook-card-body p:last-child {
  margin-bottom: 0;
}

.outlook-card-body code {
  background: rgba(0, 0, 0, 0.05);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
}

.outlook-card-body strong {
  font-weight: 600;
}

.outlook-card-body .table-scroll {
  overflow-x: auto;
  margin: 10px 0;
}

.outlook-card-body table {
  border-collapse: collapse;
  width: auto;
  font-size: 13px;
}

.outlook-card-body thead {
  background: #f3f4f6;
}

.outlook-card-body th,
.outlook-card-body td {
  border: 1px solid #e5e7eb;
  padding: 7px 12px;
  text-align: start;
}

.outlook-card-body th {
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.outlook-card-body h1,
.outlook-card-body h2,
.outlook-card-body h3 {
  margin: 12px 0 6px;
  font-weight: 600;
}

.outlook-card-body h1:first-child,
.outlook-card-body h2:first-child,
.outlook-card-body h3:first-child {
  margin-top: 0;
}

.outlook-card-body ul,
.outlook-card-body ol {
  margin: 6px 0;
  padding-inline-start: 24px;
}

.outlook-card-body a {
  color: #0078d4;
  text-decoration: none;
}

.outlook-card-body a:hover {
  text-decoration: underline;
}

.outlook-card-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.outlook-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #0078d4;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.outlook-card-btn:hover {
  background: #106ebe;
}

.outlook-card-btn:active {
  background: #005a9e;
}

.outlook-card-btn--danger {
  background: #d13438;
}

.outlook-card-btn--danger:hover {
  background: #a4262c;
}

.outlook-card-btn--danger:active {
  background: #8b1a1f;
}

.outlook-card--summary { border-inline-start-color: #0078d4; }
.outlook-card--translation { border-inline-start-color: #107c10; }
.outlook-card--draft_reply { border-inline-start-color: #ca5010; }
