/* Applied by the BEST GYM renderer only. */
#dashboard #bestGymRevenuePanel {
  min-height: 0;
  padding: 20px 22px;
  border-radius: 18px;
  color: #25364a;
  container-type: inline-size;
  container-name: bestgym-revenue;
}
#dashboard #bestGymRevenuePanel > h2 {
  margin: 0 0 20px;
  padding-bottom: 14px;
  color: #25364a;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.25px;
}
#dashboard .analytics-grid .bestgym-revenue-panel .donut-row.bestgym-revenue-layout {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-width: 0;
  padding: 0 0 20px;
}
#dashboard .bestgym-revenue-panel #revenueShareDonut {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  isolation: isolate;
}
#dashboard .bestgym-revenue-panel #revenueShareDonut::after {
  inset: 14px;
  z-index: -1;
  background: #fff;
}
#dashboard .bestgym-revenue-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  text-align: center;
  color: #25364a;
  pointer-events: none;
}
#dashboard .bestgym-revenue-center small {
  color: #8591a1;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 500;
}
#dashboard .bestgym-revenue-center strong {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
}
#dashboard .bestgym-revenue-center > span {
  color: #8591a1;
  font-size: 12px;
  line-height: 1.2;
}
#dashboard #revenueShareLegend.bestgym-revenue-legend {
  display: grid;
  gap: 0;
  min-width: 0;
  color: #34455a;
}
#dashboard .bestgym-revenue-row {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f4;
}
#dashboard .bestgym-revenue-row:first-child { padding-top: 0; }
#dashboard .bestgym-revenue-row:last-child { padding-bottom: 0; border-bottom: 0; }
#dashboard .bestgym-revenue-dot { width: 9px; height: 9px; border-radius: 50%; }
#dashboard .bestgym-revenue-label {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#dashboard .bestgym-revenue-label small {
  display: block;
  color: #8b97a6;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.4;
  margin-top: 4px;
}
#dashboard .bestgym-revenue-amount,
#dashboard .bestgym-revenue-refund-amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  color: #25364a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#dashboard .bestgym-revenue-amount > span,
#dashboard .bestgym-revenue-refund-amount > span { color: #8995a4; font-size: 12px; font-weight: 500; }
#dashboard .bestgym-revenue-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid #e9edf2;
}
#dashboard .bestgym-revenue-footer[hidden] { display: none; }
#dashboard .bestgym-revenue-refund-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
#dashboard .bestgym-revenue-refund-label > svg { width: 19px; height: 19px; color: #9aa5b3; flex-shrink: 0; }
#dashboard .bestgym-revenue-refund-label > span { color: #697789; font-size: 12px; font-weight: 550; line-height: 1.4; }
#dashboard .bestgym-revenue-refund-label small { display: block; margin-top: 3px; color: #99a3b0; font-size: 10px; font-weight: 400; line-height: 1.4; }
#dashboard .bestgym-revenue-refund-amount { color: #7d8998; font-size: 15px; }
#dashboard .bestgym-revenue-footer.has-refunds .bestgym-revenue-refund-amount { color: #b83b50; }
#dashboard .bestgym-revenue-unavailable { margin: 0; color: #8591a1; font-size: 13px; line-height: 1.6; }
@media (max-width: 600px) {
  #dashboard #bestGymRevenuePanel { padding: 18px; }
  #dashboard .analytics-grid .bestgym-revenue-panel .donut-row.bestgym-revenue-layout { grid-template-columns: 1fr; gap: 22px; }
  #dashboard .bestgym-revenue-panel #revenueShareDonut { justify-self: center; }
  #dashboard .bestgym-revenue-row { padding: 12px 0; }
}
@container bestgym-revenue (max-width: 420px) {
  #dashboard .analytics-grid .bestgym-revenue-panel .donut-row.bestgym-revenue-layout { grid-template-columns: 1fr; gap: 22px; }
  #dashboard .bestgym-revenue-panel #revenueShareDonut { justify-self: center; }
}
@media (max-width: 360px) {
  #dashboard .bestgym-revenue-row { column-gap: 8px; }
  #dashboard .bestgym-revenue-label { font-size: 12px; }
  #dashboard .bestgym-revenue-amount { font-size: 14px; }
}
