* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.5;
  padding: 20px;
}
header {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
h1 { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.header-meta { font-size: 13px; color: #6b7280; }
.metric-card {
  background: white;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-align: center;
}
.metric-card .label { font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-card .value { font-size: 28px; font-weight: 700; color: #dc2626; margin-top: 2px; }
.container { max-width: 1100px; margin: 0 auto; }
.section {
  background: white;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.section h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}
.badge-section {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}
.hint { font-size: 12px; color: #6b7280; margin-bottom: 14px; }
.empty-state {
  padding: 24px;
  text-align: center;
  color: #10b981;
  background: #ecfdf5;
  border-radius: 8px;
  font-size: 14px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.assignee-card {
  background: #fffbeb;
  border-left: 3px solid #fbbf24;
  border-radius: 8px;
  overflow: hidden;
}
.assignee-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: color-mix(in srgb, #fbbf24 12%, white);
  border-bottom: 1px solid color-mix(in srgb, #fbbf24 25%, transparent);
}
.assignee-card-header .assignee-name {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}
.assignee-card-body {
  padding: 8px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ticket-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px dashed #f3e8c8;
  font-size: 13px;
}
.ticket-line:last-child { border-bottom: none; }
.ticket-line a {
  color: #2563eb;
  text-decoration: none;
  padding: 1px 2px;
  border-radius: 3px;
}
.ticket-line a:hover { background: #dbeafe; text-decoration: underline; }
.badge {
  display: inline-block;
  background: #e5e7eb;
  color: #374151;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 8px;
  font-weight: 500;
}
.status-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  text-transform: lowercase;
  vertical-align: middle;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-open { background: #dbeafe; color: #1e40af; }
.status-new { background: #e0e7ff; color: #3730a3; }
.status-hold { background: #f3e8ff; color: #6b21a8; }
.status-solved { background: #d1fae5; color: #065f46; }
.age-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.error-state {
  background: #fef2f2;
  color: #b91c1c;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}