/* RIDEEASE_STAFF_PERFORMANCE_V1 */
.re-staff-performance-card{
  margin:12px 0;
  overflow:hidden;
}
.re-sp-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.re-sp-title{
  display:flex;
  align-items:center;
  gap:9px;
}
.re-sp-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--bluel);
  color:var(--blue);
  font-size:16px;
  flex:0 0 auto;
}
.re-sp-title h3{
  font-size:14px;
  line-height:1.2;
  margin:0 0 3px;
}
.re-sp-sub{
  color:var(--text3);
  font-size:10px;
}
.re-sp-periods{
  display:flex;
  gap:4px;
  padding:3px;
  background:var(--bg3);
  border:1px solid var(--border);
  border-radius:9px;
  flex-wrap:wrap;
}
.re-sp-period{
  min-height:27px;
  padding:4px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--text2);
  font:600 10px/1 'Inter',sans-serif;
  cursor:pointer;
}
.re-sp-period.on{
  background:var(--card);
  color:var(--acc);
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}
.re-sp-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.re-sp-summary-item{
  min-width:0;
  padding:10px 11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg3);
}
.re-sp-summary-item span{
  display:block;
  margin-bottom:3px;
  color:var(--text3);
  font-size:9px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.re-sp-summary-item strong{
  display:block;
  overflow:hidden;
  color:var(--text);
  font-size:15px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.re-sp-summary-item small{
  display:block;
  margin-top:3px;
  color:var(--text3);
  font-size:9px;
}
.re-sp-table-wrap{
  overflow-x:auto;
  border:1px solid var(--border);
  border-radius:10px;
}
.re-sp-table{
  width:100%;
  min-width:700px;
  border-collapse:collapse;
}
.re-sp-table th{
  padding:8px 9px;
  color:var(--text3);
  background:var(--bg3);
  font-size:9px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.re-sp-table td{
  padding:9px;
  font-size:11px;
  border-top:1px solid var(--border);
}
.re-sp-person{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:180px;
}
.re-sp-avatar{
  width:29px;
  height:29px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--purple));
  color:#fff;
  font-size:10px;
  font-weight:800;
  flex:0 0 auto;
}
.re-sp-person strong{
  display:block;
  font-size:11px;
}
.re-sp-person small{
  display:block;
  margin-top:2px;
  color:var(--text3);
  font-size:9px;
}
.re-sp-rank{
  color:var(--text3);
  font-weight:800;
}
.re-sp-value{
  font-weight:800;
  color:var(--text);
  text-align:center;
}
.re-sp-value.primary{
  color:var(--acc);
}
.re-sp-empty,
.re-sp-error,
.re-sp-loading{
  padding:22px 12px;
  text-align:center;
  color:var(--text3);
  font-size:11px;
}
.re-sp-loading:before{
  content:'';
  display:inline-block;
  width:13px;
  height:13px;
  margin-right:7px;
  vertical-align:-2px;
  border:2px solid var(--border2);
  border-top-color:var(--acc);
  border-radius:50%;
  animation:re-sp-spin .7s linear infinite;
}
@keyframes re-sp-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){
  .re-sp-head{
    flex-direction:column;
  }
  .re-sp-periods{
    width:100%;
  }
  .re-sp-period{
    flex:1;
  }
  .re-sp-summary{
    grid-template-columns:1fr;
  }
  .re-sp-table{
    min-width:620px;
  }
}
