.operator-hospitals-main {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.operator-hospitals-hero {
  margin: 1rem 0 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.operator-hospitals-hero h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  color: #0f172a;
}

.operator-hospitals-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

.operator-hospital-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.operator-hospital-kpi {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
}

.operator-hospital-kpi__label {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
}

.operator-hospital-kpi__value {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
}

.operator-hospital-kpi--ok {
  border-top: 3px solid #16a34a;
}

.operator-hospital-kpi--warn {
  border-top: 3px solid #f59e0b;
}

.operator-hospital-kpi--info {
  border-top: 3px solid #2563eb;
}

.operator-hospital-kpi--danger {
  border-top: 3px solid #ef4444;
}

.operator-hospitals-table-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  padding: 0.75rem;
}

.operator-hospitals-table-panel__title {
  margin: 0.2rem 0 0.65rem;
  font-size: 1rem;
}

.operator-hospitals-table-wrap {
  overflow-x: auto;
}

.operator-hospitals-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.operator-hospitals-table th,
.operator-hospitals-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.55rem 0.48rem;
  text-align: left;
  vertical-align: top;
}

.operator-hospitals-table th {
  font-size: 0.72rem;
  color: #64748b;
}

.operator-hospitals-table .is-strong {
  font-weight: 700;
}

.op-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  border: 1px solid transparent;
}

.op-status-badge--ok {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.op-status-badge--warn {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.op-status-badge--danger {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

.operator-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  background: #fff;
}

.operator-hospital-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.operator-hospital-detail-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.operator-hospital-detail-card h2 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.operator-hospital-detail-card dl {
  margin: 0;
}

.operator-hospital-detail-card dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.45rem;
  padding: 0.2rem 0;
}

.operator-hospital-detail-card dt {
  color: #64748b;
  font-size: 0.76rem;
}

.operator-hospital-detail-card dd {
  margin: 0;
  color: #0f172a;
  font-size: 0.8rem;
}

.operator-hospital-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.op-empty {
  color: #64748b;
  text-align: center;
  padding: 1.2rem 0.6rem;
}

@media (max-width: 1080px) {
  .operator-hospital-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operator-hospital-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .operator-hospital-kpis {
    grid-template-columns: 1fr;
  }
}
