.luminar-button{
  padding:12px 18px;
  border-radius:12px;
  border:none;
  background:var(--luminar-gold);
  color:#111827;
  font-weight:700;
  cursor:pointer;
}

.luminar-table{
  width:100%;
  border-collapse:collapse;
}

.luminar-table th,
.luminar-table td{
  padding:12px;
  border-bottom:1px solid var(--luminar-border);
  text-align:left;
}

.luminar-badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  background:#e5e7eb;
}

.badge-open{background:#fef3c7;}
.badge-active{background:#dbeafe;}
.badge-closed{background:#d1fae5;}

.luminar-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}

.luminar-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.luminar-metric-card {
  display: block;
}

.luminar-metric-label {
  display: block;
  color: var(--luminar-text-muted, #6b7280);
  font-size: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

.luminar-metric-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.product-section {
  margin-top: 28px;
}

.product-section-header {
  margin-bottom: 14px;
}

.product-section-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--luminar-text, #1f2937);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-card-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--luminar-text, #1f2937);
}

.product-card-copy {
  margin: 0 0 18px;
  flex: 1;
  line-height: 1.45;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.product-card-placeholder {
  font-size: 13px;
  font-weight: 700;
  color: var(--luminar-text-muted, #6b7280);
}

/* === PING CHAT UI === */

.message-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
}

.message-group.mine {
  align-items: flex-end;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #6b7280;
  max-width: 72%;
}

.message-group.mine .message-header {
  justify-content: flex-end;
  text-align: right;
}

.message-header .name {
  font-weight: 700;
  color: #111827;
}

.message-header .time {
  color: #6b7280;
  white-space: nowrap;
}

.message-bubble {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 72%;
  min-width: 64px;
  padding: 8px 14px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: #e5e7eb;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  word-break: break-word;
}

.message-group.mine .message-bubble {
  align-items: flex-end;
  background: #f59e0b;
  color: #111827;
}

.message-text {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

.message-group.mine .message-text {
  text-align: left;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
}

.message-group.mine .file-chip {
  background: rgba(255, 255, 255, 0.35);
}

/* === PING CONVERSATION LIST === */

.conv-item {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 18px;
  background: #ffffff;
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.conv-item:hover {
  border-color: #f59e0b;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  background: #fafafa;
}

.conv-item.active {
  border-color: #f59e0b;
  border-left: 4px solid #f59e0b;
  padding-left: 10px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.14);
  background: #fffdfa;
}

.conv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.conv-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 4px;
}

.conv-meta {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}

.conv-preview {
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.dashboard-metric-source {
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.upgrade-hint {
  cursor: pointer;
  color: #f59e0b;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.upgrade-hint:hover {
  color: #d97706;
  text-decoration: underline;
}