.usage-report {
  --report-yellow: #f2c400;
  --report-ink: #20262c;
  color: var(--report-ink);
}
.usage-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.usage-head h1 {
  font-size: 30px;
  margin: 6px 0 12px;
}
.usage-head p {
  margin: 0;
  color: #62666b;
}
.usage-head .usage-eyebrow {
  color: #866900;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-left: 26px solid var(--report-yellow);
  padding-left: 10px;
}
.usage-period {
  background: #171717;
  color: #ffe479;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.usage-controls,
.usage-filters {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.usage-controls label,
.usage-filters label {
  flex: 1 1 160px;
  max-width: 240px;
  font-size: 13px;
}
.usage-controls button {
  min-height: 44px;
}
.usage-controls .primary {
  background: #171717;
  color: #fff;
}
.usage-controls [data-report='jpg'] {
  background: var(--report-yellow);
  border-color: var(--report-yellow);
  color: #171717;
}
.usage-feedback {
  color: #92412f;
}
.usage-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 20px;
}
.usage-metrics article {
  background: #fff;
  border-top: 4px solid #171717;
  padding: 20px;
  min-width: 0;
}
.usage-metrics article:first-child {
  background: var(--report-yellow);
  border-color: var(--report-yellow);
}
.usage-metrics span,
.usage-metrics small {
  display: block;
  color: #61666c;
  font-size: 12px;
}
.usage-metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  margin: 10px 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.usage-metrics article:last-child strong {
  font-size: 24px;
}
.usage-panel {
  background: #fff;
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid #e6e2d9;
}
.usage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.usage-section-head h2,
.usage-notes h2 {
  margin: 0;
  font-size: 18px;
}
.usage-section-head small {
  color: #73777d;
}
.usage-legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #666;
}
.usage-legend span::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 3px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--series);
}
.series-0 {
  --series: #20262c;
}
.series-1 {
  --series: #d5a000;
}
.series-2 {
  --series: #7f8992;
}
.series-3 {
  --series: #ba7200;
}
.series-4 {
  --series: #648348;
}
.usage-chart-scroll {
  overflow-x: auto;
}
.usage-chart-scroll svg {
  display: block;
  width: 100%;
  min-width: 570px;
  height: auto;
}
.usage-chart-scroll text {
  font-size: 11px;
  fill: #74797e;
  font-family: inherit;
}
.usage-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid #eeeae1;
  padding-top: 18px;
  margin-top: 14px;
}
.usage-totals p {
  margin: 0;
}
.usage-totals span,
.usage-totals small {
  display: block;
  color: #73777d;
  font-size: 12px;
}
.usage-totals strong {
  display: block;
  font-size: 24px;
  margin: 8px 0;
}
.usage-daily {
  margin-top: 24px;
  font-size: 13px;
}
.usage-daily summary {
  cursor: pointer;
  color: #866900;
}
.usage-daily .table-wrap {
  max-height: 400px;
  overflow: auto;
  margin-top: 16px;
}
.usage-table {
  min-width: 760px;
}
.usage-table th {
  background: #f7f5ef;
}
.usage-table td {
  vertical-align: top;
}
.usage-table td:first-child {
  white-space: nowrap;
}
.usage-table td:nth-child(3) {
  color: #866900;
}
.usage-id {
  display: block;
  font-size: 10px;
  color: #8c9196;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.usage-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  font-size: 12px;
}
.usage-notes {
  color: #73777d;
  font-size: 12px;
  line-height: 1.8;
  padding: 0 5px;
}
.usage-notes ul {
  padding-left: 20px;
}
@media (max-width: 1000px) {
  .usage-head {
    flex-direction: column;
  }
  .usage-metrics,
  .usage-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .usage-panel {
    padding: 16px;
  }
  .usage-metrics {
    gap: 10px;
  }
  .usage-metrics article {
    padding: 16px;
  }
  .usage-metrics strong {
    font-size: 26px;
  }
  .usage-metrics article:last-child strong {
    font-size: 19px;
  }
  .usage-period {
    white-space: normal;
  }
  .usage-controls button {
    flex: 1 1 160px;
  }
  .usage-head h1 {
    font-size: 26px;
  }
}
