.wb-workspace {
  padding:20px 22px;
  min-width:0;
  color:#1d2939;
}
.wb-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.wb-heading>span {
  color:#667085;
  font-size:12px;
}
.wb-heading>div {
  display:flex;
  gap:8px;
}
.wb-sections {
  display:flex;
  gap:24px;
  border-bottom:1px solid #e4e7ec;
  margin:16px 0;
}
.wb-sections button {
  border:0;
  background:none;
  border-radius:0;
  padding:10px 0;
  color:#667085;
  font-weight:500;
  border-bottom:2px solid transparent;
}
.wb-sections button.active {
  color:#1677ff;
  border-bottom-color:#1677ff;
}
.wb-filters {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:12px;
  padding-bottom:18px;
  border-bottom:1px solid #eaecf0;
}
.wb-filters label {
  display:grid;
  gap:6px;
  font-size:12px;
  color:#475467;
  min-width:210px;
}
.wb-filters select,.wb-filters input {
  height:34px;
  padding:5px 9px;
  min-width:0;
}
.wb-filters button,.wb-heading button,.wb-pagination button {
  min-height:34px;
}
.wb-month-controls {
  display:flex;
  gap:8px;
}
.wb-month-controls select {
  min-width:110px;
}
.wb-month-controls input {
  width:155px;
}
.wb-metrics {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  padding:22px 0;
  border-bottom:1px solid #eaecf0;
}
.wb-metrics article {
  min-width:0;
}
.wb-metrics article>span {
  font-size:13px;
  color:#475467;
}
.wb-metrics strong {
  display:block;
  line-height:1.5;
  font-size:26px;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.5px;
  overflow-wrap:anywhere;
}
.wb-metrics strong small {
  font-size:12px;
  font-weight:400;
  margin-left:6px;
  letter-spacing:0;
}
.wb-metrics article>div {
  font-size:11px;
  color:#667085;
  line-height:1.8;
}
.wb-cost-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fffbeb;
  color:#92400e;
  padding:6px 12px;
  margin-top:12px;
  font-size:12px;
}
.wb-cost-status button {
  border:0;
  background:transparent;
  color:#1677ff;
  padding:5px;
}
.wb-table-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:22px 0 14px;
}
.wb-switch {
  display:flex;
  gap:0;
  overflow-x:auto;
  max-width:100%;
  white-space:nowrap;
}
.wb-switch button {
  border-radius:0;
  background:#fff;
  color:#475467;
  border:1px solid #d0d5dd;
  min-height:32px;
  padding:5px 14px;
  margin-left:-1px;
  font-size:13px;
}
.wb-switch button:first-child {
  margin-left:0;
  border-radius:5px 0 0 5px;
}
.wb-switch button:last-child {
  border-radius:0 5px 5px 0;
}
.wb-switch button.active {
  color:#1677ff;
  border-color:#1677ff;
  background:#f5f9ff;
  z-index:1;
}
#wbSearch {
  display:flex;
  gap:8px;
}
#wbSearch input {
  height:34px;
  width:190px;
}
.wb-table-scroll {
  overflow-x:auto;
  max-width:100%;
  border:1px solid #eaecf0;
  border-radius:4px;
}
.wb-table-scroll table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
.wb-table-scroll th {
  background:#f8fafc;
  color:#475467;
  font-weight:500;
  font-size:12px;
  white-space:nowrap;
  padding:12px;
}
.wb-table-scroll td {
  padding:13px 12px;
  border-top:1px solid #edf0f3;
  text-align:right;
  vertical-align:middle;
  background:white;
}
.wb-table-scroll .identity {
  text-align:left;
  position:sticky;
  left:0;
  min-width:160px;
  max-width:200px;
  z-index:1;
}
.wb-table-scroll th.identity {
  z-index:2;
  background:#f8fafc;
}
.wb-table-scroll th.numeric {
  text-align:right;
}
.wb-table-scroll td small {
  display:block;
  line-height:1.8;
  color:#667085;
  font-size:11px;
  white-space:nowrap;
}
.wb-table-scroll b {
  font-weight:500;
}
.wb-table-scroll .wb-pending {
  color:#9a6700;
}
.wb-table-scroll .wb-reason {
  text-align:left;
  max-width:330px;
  line-height:1.7;
}
.wb-link {
  border:0;
  background:none;
  color:#1677ff;
  cursor:pointer;
  padding:0;
  font:inherit;
  text-align:left;
}
.wb-total {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 24px;
  background:#f8fafc;
  border:1px solid #eaecf0;
  border-top:0;
  padding:13px;
  font-size:12px;
}
.wb-total b {
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.wb-pagination {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-top:16px;
  font-size:12px;
  color:#667085;
}
.wb-empty {
  padding:36px!important;
  text-align:center!important;
  color:#667085;
  font-size:13px;
}
.wb-error,#wbError:not(:empty) {
  background:#fff4f3;
  color:#b42318;
  padding:12px;
  margin-top:16px;
  border:1px solid #fecdca;
  border-radius:4px;
  font-size:13px;
}
.wb-dialog {
  width:min(1120px,96vw);
  max-width:96vw;
  max-height:90vh;
  border:1px solid #eaecf0;
  border-radius:8px;
  padding:0;
  box-shadow:0 16px 48px #10182826;
  color:#1d2939;
}
.wb-dialog::backdrop {
  background:#10182870;
}
.wb-dialog>header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  border-bottom:1px solid #eaecf0;
}
.wb-dialog h2 {
  margin:0;
  font-size:16px;
  font-weight:600;
}
.wb-dialog [data-wb-close] {
  border:0;
  background:none;
  font-size:24px;
  line-height:1;
}
.wb-dialog-content {
  padding:20px;
  overflow:auto;
}
.wb-dialog-content .wb-table-scroll {
  margin-top:18px;
}
.wb-rules {
  max-width:760px;
  margin:0 auto;
}
.wb-rules dt {
  font-size:14px;
  font-weight:600;
  margin:18px 0 6px;
}
.wb-rules dd {
  margin:0;
  color:#475467;
  font-size:13px;
  line-height:1.8;
}
.wb-trend {
  display:flex;
  gap:22px;
  align-items:flex-end;
  overflow-x:auto;
  padding:10px 12px 18px;
  margin-bottom:12px;
  border-bottom:1px solid #f0f2f5;
}
.wb-trend>div {
  min-width:90px;
  flex:1;
  text-align:center;
  font-size:11px;
  color:#667085;
}
.wb-trend-track {
  height:90px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin:8px 0;
}
.wb-trend-track i {
  display:block;
  width:22px;
  background:#1677ff;
  border-radius:3px 3px 0 0;
  opacity:.75;
}
.wb-trend button {
  border:0;
  background:none;
  font:inherit;
  padding:0;
  color:#475467;
}
@media(max-width:1180px) {
  .wb-metrics {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .wb-metrics strong {
    font-size:23px;
  }
}
@media(max-width:700px) {
  .wb-workspace {
    padding:14px 12px;
  }
  .wb-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .wb-filters {
    gap:10px;
  }
  .wb-filters label {
    flex:1 1 150px;
    min-width:0;
  }
  .wb-filters button {
    width:100%;
  }
  .wb-month-controls {
    flex-wrap:wrap;
  }
  .wb-metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 12px;
  }
  .wb-metrics strong {
    font-size:22px;
  }
  .wb-heading button {
    font-size:12px;
  }
  .wb-switch button {
    padding:5px 10px;
    font-size:12px;
  }
  .wb-total {
    gap:8px 12px;
  }
  .wb-table-heading {
    align-items:flex-start;
  }
  .wb-dialog-content {
    padding:12px;
  }
  .wb-dialog>header {
    padding:12px;
  }
  .wb-pagination {
    gap:8px;
    flex-wrap:wrap;
  }
  .wb-cost-status {
    align-items:flex-start;
  }
}

.wb-metrics.wb-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 700px) {
  .wb-metrics.wb-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
