.pc-widget {
  font-family: inherit;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 1.5;
  margin: 2em 0;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  width: 100%;
  max-width: 100%;
}
.pc-widget * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Header */
.pc-header {
  padding: 20px 24px;
  border-bottom: 3px solid #e11d48;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 600px) {
  .pc-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.pc-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.pc-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #e11d48;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-subtitle {
  font-size: 1rem;
  font-style: italic;
  color: #6b7280;
}
.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pc-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pc-tag-accent {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.2);
}
.pc-icon-title {
  color: #e11d48;
  width: 28px;
  height: 28px;
}
.pc-icon-sm { width: 16px; height: 16px; }

/* Body */
.pc-body {
  padding: 32px;
  background-color: #ffffff;
}

/* Section Titles */
.pc-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #f8fafc;
  padding-bottom: 12px;
}
.pc-icon-positive {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-icon-negative {
  background-color: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-section-title svg {
  width: 20px;
  height: 20px;
}

/* Grid */
.pc-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .pc-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Good companion cards */
.pc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}
.pc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.pc-plant-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.pc-plant-latin {
  font-size: 0.75rem;
  color: #64748b;
  font-style: italic;
}
.pc-match-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pc-reason {
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pc-reason svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Month calendar bar */
.pc-months {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.pc-month {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.pc-month-active {
  background: #10b981;
  color: #ffffff;
}
.pc-month-inactive {
  background: #f1f5f9;
  color: #94a3b8;
}

/* Bad companions */
.pc-bad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .pc-bad-grid { grid-template-columns: repeat(2, 1fr); }
}
.pc-bad-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pc-bad-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}
.pc-bad-icon {
  background: #fff1f2;
  color: #e11d48;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
}
.pc-bad-icon svg { width: 18px; height: 18px; }
.pc-bad-info h4 { font-size: 0.95rem; font-weight: 700; color: #9f1239; margin-bottom: 4px; }
.pc-bad-info .pc-bad-text { display: block; font-size: 0.8rem; color: #475569; }

/* Requirements summary */
.pc-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #cbd5e1;
}
.pc-req-tag {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-req-tag svg {
  width: 16px;
  height: 16px;
  color: #e11d48;
}

/* Bad section spacing */
.pc-section-bad-wrap {
  margin-top: 40px;
}
