.settings-page.operator-analytics {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: auto;
  padding: 24px;
}
.analytics-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  flex-wrap: wrap;
}
.analytics-heading nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.analytics-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-block: 24px;
}
.analytics-filters label,
.analytics-chart-heading label {
  display: grid;
  gap: 6px;
}
.analytics-filters input,
.analytics-chart-heading select {
  padding: 10px;
  border: 1px solid #9f8f99;
  border-radius: 8px;
  background: white;
  color: #312730;
}
.analytics-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.analytics-cards h2 {
  font-size: 1rem;
}
.analytics-cards h3 {
  font-size: 1rem;
  min-height: 2.8em;
  margin: 0 0 8px;
}
.analytics-cards strong {
  font-size: 2.4rem;
  color: #245c5b;
}
.operator-analytics .panel {
  margin-bottom: 20px;
  padding: 20px;
}
.analytics-chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.analytics-chart {
  width: 100%;
  height: auto;
  min-height: 150px;
  margin-top: 20px;
}
.analytics-chart rect {
  fill: #367978;
}
.analytics-table-wrap {
  overflow: auto;
}
.operator-analytics table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.operator-analytics th,
.operator-analytics td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #ddd3d8;
  white-space: nowrap;
}
.operator-analytics thead {
  background: #f6eef2;
  color: #312730;
}
.operator-analytics li {
  margin-bottom: 10px;
}
.wsh-analytics-choice {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 10000;
  max-width: 700px;
  margin: auto;
  padding: 20px;
  border: 1px solid #b3a5ad;
  border-radius: 12px;
  background: #fffdfc;
  color: #312730;
  box-shadow: 0 4px 24px #0003;
}
.wsh-analytics-choice p {
  margin: 0 0 12px;
  line-height: 1.5;
}
.wsh-analytics-choice button {
  margin: 4px 8px 4px 0;
  padding: 10px 14px;
  border: 1px solid #75616e;
  border-radius: 8px;
  background: #fff;
  color: #312730;
  cursor: pointer;
}
.wsh-analytics-settings {
  display: block;
  margin: 16px auto;
  padding: 8px;
  font-size: 0.85rem;
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: inherit;
  cursor: pointer;
}
@media (max-width: 700px) {
  .analytics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .operator-analytics {
    padding: 14px;
  }
}
@media (max-width: 420px) {
  .analytics-cards {
    grid-template-columns: 1fr;
  }
}
