/* Sidebar Sticky */
.ai-sidebar-sticky { position: sticky; top: 100px; }

/* Widgets */
.ai-widget {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.ai-widget-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 8px;
}

/* Summary Bar */
.ai-summary-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

/* Simplify Button */
.ai-simplify-container { text-align: right; margin-top: 4px; margin-bottom: 12px; height: 20px; }
.ai-simplify-btn {
  font-size: 0.75rem; font-weight: 600; color: #64748b;
  text-decoration: none; background: #f1f5f9; padding: 2px 8px;
  border-radius: 4px; transition: all 0.2s;
}
.ai-simplify-btn:hover { background: #e2e8f0; color: #0f172a; }

.ai-simplify-box {
  display: none; margin-top: 0.5rem; margin-bottom: 1.5rem;
  padding: 1rem; background: #fff; border: 1px solid #e2e8f0;
  border-left: 3px solid #3b82f6; border-radius: 4px;
  font-size: 0.95rem; line-height: 1.6; color: #334155;
  animation: fadeIn 0.2s ease-out;
}

/* Inline Results */
.ai-widget-result {
  display: none; margin-top: 1rem; padding: 1rem;
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 0.9rem; text-align: left;
  color: #334155;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }