/* Service request lifecycle — shared across portals */
.srv-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.srv-kpi {
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  cursor: pointer;
  font: inherit;
}
.srv-kpi:hover { border-color: #2563eb; }
.srv-kpi .n { font-size: 1.25rem; font-weight: 800; color: #1d4ed8; }
.srv-kpi .l { font-size: 0.68rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }
.srv-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.srv-filter-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}
.srv-filter-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.srv-ticket-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  cursor: pointer;
}
.srv-ticket-card:hover { border-color: #93c5fd; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08); }
.srv-ticket-card h4 { margin: 0 0 6px; font-size: 0.95rem; }
.srv-ticket-card .meta { font-size: 0.8rem; color: #64748b; line-height: 1.45; }
.srv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.srv-modal-overlay.active { display: flex; }
.srv-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.srv-modal__head {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.srv-modal__body {
  padding: 14px 18px;
  overflow-y: auto;
  flex: 1;
}
.srv-timeline-item {
  border-left: 2px solid #e2e8f0;
  margin-left: 8px;
  padding: 0 0 12px 14px;
  position: relative;
}
.srv-timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
}
.srv-sla-breach { color: #b91c1c; font-weight: 700; }
.srv-sla-ok { color: #15803d; }
