/* web/src/dashboard-refresh.css */
.dr-dashboard {
  --dr-ink:#202a38;
  --dr-muted:#788494;
  --dr-line:#e6ebf1;
  --dr-blue:#678dd9;
  --dr-green:#47a982;
  display: grid;
  gap: 20px;
  color: var(--dr-ink);
  max-width: 1440px;
  margin: 0 auto;
}
.dr-dashboard * {
  box-sizing: border-box;
}
.dr-dashboard .dr-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 2px;
}
.dr-dashboard .dr-page-heading h1 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.7px;
  margin: 0;
}
.dr-dashboard .dr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dr-dashboard .dr-updated {
  color: var(--dr-muted);
  font-size: 11px;
}
.dr-dashboard .dr-period {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--dr-line);
  background: #f1f4f8;
  border-radius: 8px;
  gap: 2px;
}
.dr-dashboard .dr-period button {
  border: 0;
  background: none;
  padding: 6px 13px;
  border-radius: 5px;
  font: inherit;
  font-size: 12px;
  color: #6c7786;
  cursor: pointer;
  white-space: nowrap;
}
.dr-dashboard .dr-period button[aria-pressed=true] {
  color: #26364a;
  background: #fff;
  box-shadow: 0 1px 4px #1b304512;
}
.dr-dashboard .dr-period button:focus-visible,
.dr-dashboard button:focus-visible,
.dr-dashboard svg:focus-visible {
  outline: 2px solid #678dd9;
  outline-offset: 3px;
}
.dr-dashboard .dr-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dr-dashboard .dr-metric {
  min-width: 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--dr-line);
  border-radius: 12px;
  box-shadow: 0 2px 6px #24364d02;
}
.dr-dashboard .dr-metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #697485;
  font-size: 12px;
}
.dr-dashboard .dr-metric > div > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f4fc;
  color: #7f99c4;
  font-style: normal;
}
.dr-dashboard .dr-metric > strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 620;
  letter-spacing: -1px;
  margin-top: 11px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.dr-dashboard .dr-metric > strong > small {
  font-size: 12px;
  color: #8a94a1;
  letter-spacing: 0;
  font-weight: 450;
}
.dr-dashboard .dr-metric > p {
  margin: 6px 0 0;
  color: #8b95a2;
  font-size: 11px;
  line-height: 1.5;
}
.dr-dashboard .dr-tone-green > div > i {
  color: #5fa58c;
  background: #f0f8f4;
}
.dr-dashboard .dr-tone-purple > div > i {
  color: #9c8abd;
  background: #f5f1fa;
}
.dr-dashboard .dr-tone-amber > div > i {
  color: #c29e61;
  background: #fcf7ed;
}
.dr-dashboard .dr-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 20px;
}
.dr-dashboard .dr-panel {
  min-width: 0;
  border: 1px solid var(--dr-line);
  border-radius: 14px;
  background: #fff;
  padding: 22px 24px;
  overflow: hidden;
}
.dr-dashboard .dr-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.dr-dashboard .dr-panel-heading h2 {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}
.dr-dashboard .dr-panel-heading > svg {
  color: #9aa7b6;
}
.dr-dashboard .dr-meta {
  font-size: 11px;
  color: var(--dr-muted);
}
.dr-dashboard .dr-trend-headline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}
.dr-dashboard .dr-trend-headline > strong {
  font-size: 39px;
  line-height: 1.15;
  letter-spacing: -1.3px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.dr-dashboard .dr-trend-headline > strong > small {
  font-size: 11px;
  color: #8a94a1;
  font-weight: 450;
  letter-spacing: 0;
  margin-left: 9px;
}
.dr-dashboard .dr-trend-outcomes {
  display: flex;
  gap: 16px;
  padding-bottom: 4px;
}
.dr-dashboard .dr-trend-outcomes > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8792a1;
  white-space: nowrap;
}
.dr-dashboard .dr-trend-outcomes b {
  font-size: 13px;
  color: #4c596b;
  font-weight: 550;
}
.dr-dashboard .dr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.dr-dashboard .dr-blue {
  background: #678dd9;
}
.dr-dashboard .dr-green {
  background: #47a982;
}
.dr-dashboard .dr-red {
  background: #d57273;
}
.dr-dashboard .dr-plot {
  width: 100%;
  min-height: 229px;
}
.dr-dashboard .dr-plot > svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.dr-dashboard .dr-plot svg text {
  fill: #96a0ae;
  font-size: 10px;
  user-select: none;
}
.dr-dashboard .dr-chart-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
  font-size: 10px;
  color: #8793a3;
}
.dr-dashboard .dr-chart-selection b {
  font-weight: 550;
  color: #617084;
}
.dr-dashboard .dr-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  font-size: 10px;
  color: #9aa4b2;
}
.dr-dashboard .dr-legend {
  display: flex;
  gap: 15px;
}
.dr-dashboard .dr-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dr-dashboard .dr-latency-values {
  display: grid;
  gap: 25px;
  padding-top: 10px;
}
.dr-dashboard .dr-latency-values > div > span {
  display: block;
  font-size: 12px;
  color: #84909e;
  margin-bottom: 10px;
}
.dr-dashboard .dr-latency-values > div > span > b {
  font-size: 10px;
  font-weight: 500;
  color: #a0a9b5;
  margin-left: 5px;
}
.dr-dashboard .dr-time {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.1;
  font-size: 39px;
  font-weight: 610;
  letter-spacing: -1.2px;
  font-variant-numeric: tabular-nums;
}
.dr-dashboard .dr-time > small {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 450;
  color: #9aa4b1;
  margin-right: 7px;
}
.dr-dashboard .dr-density {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 52px;
  margin-top: 24px;
  overflow: hidden;
}
.dr-dashboard .dr-density > i {
  display: block;
  flex: 1;
  min-width: 2px;
  max-width: 16px;
  background: #b5d6ca;
  border-radius: 2px 2px 0 0;
}
.dr-dashboard .dr-density > span {
  font-size: 11px;
  color: #a0a9b3;
}
.dr-dashboard .dr-latency > footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  font-size: 10px;
  color: #96a0ad;
  margin-top: 15px;
}
.dr-dashboard .dr-latency > footer > span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.dr-dashboard .dr-latency details {
  max-width: 210px;
  text-align: right;
}
.dr-dashboard .dr-latency summary {
  cursor: pointer;
  list-style: none;
}
.dr-dashboard .dr-latency details p {
  font-size: 11px;
  text-align: left;
  line-height: 1.7;
  margin: 8px 0 0;
}
.dr-dashboard .dr-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.dr-dashboard .dr-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #9aa4b2;
  font-size: 12px;
}
.dr-dashboard .dr-error {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #eadbdc;
  border-radius: 9px;
  padding: 10px 14px;
  background: #fffafb;
  color: #a66369;
  font-size: 12px;
}
.dr-dashboard .dr-error > span {
  flex: 1;
}
.dr-dashboard .dr-error button {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.dr-dashboard .dr-period-caption {
  font-size: 11px;
  color: #929dab;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.dr-dashboard .dr-unpriced {
  color: #a5855f;
  font-size: 10px;
  font-weight: 450;
  letter-spacing: 0;
}
.dr-dashboard .dr-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7185a3;
  text-decoration: none;
  font-size: 11px;
  border: 0;
  background: none;
  cursor: pointer;
}
.dr-dashboard .dr-chart-details {
  border: 1px solid var(--dr-line);
  background: #fff;
  border-radius: 12px;
  padding: 15px 20px;
}
.dr-dashboard .dr-chart-details > summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: #647185;
  font-size: 12px;
}
.dr-dashboard .dr-chart-details[open] > summary {
  margin-bottom: 16px;
}
.dr-dashboard .dr-chart-details .customer-latency {
  border: 0;
  padding: 0;
}
.dr-dashboard .request-mix {
  height: 100%;
  border-color: var(--dr-line);
  border-radius: 14px;
}
.dr-dashboard .request-mix > header h3 {
  font-size: 14px;
}
.dr-dashboard .request-mix > header p {
  font-size: 10px;
  color: #98a2af;
}
.dr-dashboard .request-mix > header > span > strong {
  font-size: 24px;
}
.dr-dashboard .request-mix-flow {
  min-height: 190px;
}
.dr-dashboard .dr-currency {
  border: 1px solid var(--dr-line);
  border-radius: 7px;
  padding: 7px 10px;
  background: #fff;
  color: #596779;
  font: inherit;
  font-size: 11px;
  min-width: 100px;
}
.dr-dashboard .dr-stats-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: #8a96a5;
}
.dr-dashboard .dr-compact-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.dr-dashboard .dr-compact-counts > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dr-dashboard .dr-compact-counts b {
  font-size: 12px;
  color: #5b687a;
  font-weight: 550;
}
.dr-dashboard .dr-spending {
  border: 1px solid var(--dr-line);
  border-radius: 14px;
  background: #fff;
  padding: 22px 24px;
  min-width: 0;
}
.dr-dashboard .dr-spending > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.dr-dashboard .dr-spending h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.dr-dashboard .dr-spending header > span {
  color: #9ba5b2;
  font-size: 10px;
}
.dr-dashboard .dr-spending-list {
  display: grid;
  gap: 17px;
}
.dr-dashboard .dr-spending-row {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) 2fr auto;
  gap: 13px;
  align-items: center;
}
.dr-dashboard .dr-spending-label {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6d7a8c;
}
.dr-dashboard .dr-spending-track {
  height: 7px;
  background: #f1f4f8;
  border-radius: 3px;
  overflow: hidden;
}
.dr-dashboard .dr-spending-track > i {
  height: 100%;
  display: block;
  border-radius: 3px;
  background: #9ab4de;
}
.dr-dashboard .dr-spending-row > strong {
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dr-dashboard .dr-spending-row small {
  font-size: 10px;
  color: #aa906d;
}
.dr-dashboard .dr-ingress {
  border: 1px solid var(--dr-line);
  border-radius: 12px;
  background: #fff;
  padding: 15px 20px;
  color: #7c8999;
  font-size: 11px;
}
.dr-dashboard .dr-ingress > summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.dr-dashboard .dr-ingress > summary > strong {
  font-weight: 550;
  color: #58677b;
}
.dr-dashboard .dr-ingress > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 18px;
}
.dr-dashboard .dr-ingress article > span {
  display: block;
  font-size: 11px;
}
.dr-dashboard .dr-ingress article > strong {
  display: block;
  font-size: 20px;
  font-weight: 550;
  color: #46546a;
  margin-top: 6px;
}
.dr-dashboard .dr-ingress p {
  line-height: 1.8;
}
.dr-dashboard .dr-ingress details {
  margin-top: 10px;
}
.dr-dashboard .dr-ingress details b {
  margin-left: 8px;
}
@media (min-width: 1250px) {
  .dr-dashboard .dr-latency-values {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 36px;
  }
  .dr-dashboard .dr-latency-values .dr-time {
    font-size: 34px;
  }
  .dr-dashboard .dr-density {
    margin-top: 45px;
    height: 78px;
  }
  .dr-dashboard .dr-density > i {
    max-height: 78px;
  }
}
@media (max-width: 1000px) {
  .dr-dashboard .dr-main-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .dr-dashboard .dr-panel {
    padding: 20px;
  }
  .dr-dashboard .dr-metric {
    padding: 16px;
  }
  .dr-dashboard .dr-metric > strong {
    font-size: 26px;
  }
  .dr-dashboard .dr-trend-outcomes {
    gap: 8px;
  }
  .dr-dashboard .dr-chart-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .dr-dashboard .dr-time {
    font-size: 34px;
  }
}
@media (max-width: 760px) {
  .dr-dashboard {
    gap: 15px;
  }
  .dr-dashboard .dr-page-heading {
    align-items: start;
  }
  .dr-dashboard .dr-page-heading h1 {
    font-size: 22px;
  }
  .dr-dashboard .dr-updated {
    display: none;
  }
  .dr-dashboard .dr-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .dr-dashboard .dr-main-grid,
  .dr-dashboard .dr-secondary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .dr-dashboard .dr-latency-values {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 5px;
  }
  .dr-dashboard .dr-density {
    margin-top: 18px;
    height: 35px;
  }
  .dr-dashboard .dr-latency > footer {
    margin-top: 10px;
  }
  .dr-dashboard .dr-trend-headline > strong {
    font-size: 33px;
  }
  .dr-dashboard .dr-metric > strong {
    font-size: 25px;
  }
  .dr-dashboard .dr-metric > div {
    font-size: 11px;
  }
  .dr-dashboard .dr-actions {
    gap: 7px;
    justify-content: end;
  }
  .dr-dashboard .dr-period button {
    padding: 5px 8px;
  }
  .dr-dashboard .dr-stats-context {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
  .dr-dashboard .dr-spending-row {
    grid-template-columns: minmax(72px, 1fr) 1.3fr auto;
  }
  .dr-dashboard .dr-chart-selection {
    font-size: 9px;
  }
  .dr-dashboard .dr-chart-details {
    padding: 14px;
  }
  .dr-dashboard .dr-ingress > summary {
    flex-wrap: wrap;
  }
  .dr-dashboard .dr-ingress > div {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dr-dashboard .dr-model-mix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 20px;
}
.dr-dashboard .dr-model-mix > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #8b96a5;
}
.dr-dashboard .dr-model-mix b {
  font-size: 11px;
  color: #647186;
  font-weight: 550;
}
.dr-dashboard .dr-spec-list {
  display: grid;
  gap: 17px;
}
.dr-dashboard .dr-spec-row > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 11px;
  color: #6c788a;
}
.dr-dashboard .dr-spec-row > div:first-child > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dr-dashboard .dr-spec-row small {
  font-size: 10px;
  color: #9da7b4;
  font-weight: 400;
}
.dr-dashboard .dr-spec-row strong {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 550;
  color: #526177;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dr-dashboard .dr-spec-track {
  height: 6px;
  background: #f2f4f8;
  border-radius: 4px;
  overflow: hidden;
}
.dr-dashboard .dr-spec-track > i {
  height: 100%;
  display: block;
  border-radius: 4px;
  background: #a99bc8;
}
.dr-dashboard .dr-spec-track > i.image {
  background: #a4cdbd;
}
.dr-dashboard .dr-spec-list details {
  font-size: 11px;
  color: #8a96a6;
}
.dr-dashboard .dr-spec-list details > summary {
  cursor: pointer;
  margin-bottom: 14px;
}
.dr-dashboard .dr-spec-list details > .dr-spec-row {
  margin-top: 17px;
}
.dr-dashboard > .dr-page-heading {
  min-height: 36px;
  padding: 0;
  margin: 0 0 2px;
}
.dr-dashboard > .dr-page-heading > .dr-actions {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  min-height: 36px;
  margin: 0;
  padding: 0;
}
.dr-dashboard .dr-actions > .dr-updated {
  flex: 0 0 auto;
  white-space: nowrap;
}
.dr-dashboard .dr-actions > select.dr-currency {
  width: 88px;
  min-width: 88px;
  height: 34px;
  min-height: 34px;
  flex: 0 0 88px;
  margin: 0;
}
.dr-dashboard .dr-actions > button.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  margin: 0;
  padding: 0;
}

/* web/src/dashboard-costs.css */
.dr-dashboard .dr-cost-summary {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  align-items: center;
  margin: 4px 0 25px;
}
.dr-dashboard .dr-cost-total > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #8290a2;
}
.dr-dashboard .dr-cost-total > span > small {
  font-size: 9px;
  border: 1px solid #e3e8ef;
  border-radius: 4px;
  padding: 2px 5px;
  color: #8a97a7;
}
.dr-dashboard .dr-cost-total > strong {
  display: block;
  margin-top: 11px;
  font-size: 38px;
  font-weight: 610;
  letter-spacing: -1px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.dr-dashboard .dr-cost-total > p {
  font-size: 10px;
  color: #99a3b0;
  margin: 7px 0 0;
}
.dr-dashboard .dr-cost-bill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 25px;
  border-left: 1px solid #edf0f5;
}
.dr-dashboard .dr-cost-bill > span {
  font-size: 11px;
  color: #8996a6;
}
.dr-dashboard .dr-cost-bill > strong {
  font-size: 22px;
  font-weight: 550;
  color: #617085;
  letter-spacing: -.4px;
}
.dr-dashboard .dr-cost-bill > small {
  font-size: 10px;
  color: #a0a9b5;
}
.dr-dashboard .dr-cost-breakdown {
  display: grid;
  gap: 14px;
}
.dr-dashboard .dr-cost-breakdown > div {
  display: grid;
  grid-template-columns: 85px 1fr 95px;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: #7b889a;
}
.dr-dashboard .dr-cost-breakdown > div > div {
  height: 7px;
  background: #f2f5f8;
  border-radius: 4px;
  overflow: hidden;
}
.dr-dashboard .dr-cost-breakdown i {
  height: 100%;
  display: block;
  border-radius: 4px;
  background: #9db9e2;
}
.dr-dashboard .dr-cost-breakdown i.purple {
  background: #b4a5d0;
}
.dr-dashboard .dr-cost-breakdown i.green {
  background: #afd4c4;
}
.dr-dashboard .dr-cost-breakdown strong {
  text-align: right;
  font-weight: 500;
  font-size: 12px;
  color: #617085;
  font-variant-numeric: tabular-nums;
}
.dr-dashboard .dr-cost-coverage {
  font-size: 10px !important;
  color: #a0a9b5 !important;
  margin: 17px 0 0 !important;
}
.dr-dashboard .dr-cost-details {
  border-top: 1px solid #edf0f5;
  margin-top: 17px;
  padding-top: 14px;
  color: #7c899b;
  font-size: 11px;
}
.dr-dashboard .dr-cost-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 11px;
  color: #7a899d;
}
.dr-dashboard .dr-cost-details[open] > summary {
  margin-bottom: 20px;
}
.dr-dashboard .dr-cost-details[open] > summary > svg {
  transform: rotate(180deg);
}
.dr-dashboard .dr-cost-details p {
  font-size: 10px;
  line-height: 1.8;
  color: #8e99a8;
  margin: 12px 0;
}
.dr-dashboard .dr-cost-details a {
  color: #7a91ae;
  text-decoration: none;
}
.dr-dashboard .dr-fixed-budget {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dr-dashboard .dr-fixed-budget span {
  display: block;
  color: #919cac;
  font-size: 10px;
  margin-bottom: 8px;
}
.dr-dashboard .dr-fixed-budget strong {
  font-size: 20px;
  font-weight: 550;
  color: #617085;
}
.dr-dashboard .dr-budget {
  border-top: 1px solid #edf0f5;
  padding-top: 18px;
  margin-top: 18px;
}
.dr-dashboard .dr-budget-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.dr-dashboard .dr-budget-inputs > label {
  font-size: 10px;
  color: #8a97a8;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dr-dashboard .dr-budget-inputs input {
  width: 100%;
  min-width: 0;
  border: 1px solid #e0e6ef;
  border-radius: 6px;
  padding: 8px 9px;
  color: #617085;
  background: #fff;
  font: inherit;
  font-size: 12px;
}
.dr-dashboard .dr-budget-result {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 18px;
}
.dr-dashboard .dr-budget-result > span {
  font-size: 11px;
  color: #8b98a8;
}
.dr-dashboard .dr-budget-result > strong {
  font-size: 25px;
  font-weight: 550;
  color: #56677e;
}
.dr-dashboard .dr-budget-result small {
  font-size: 11px;
  font-weight: 400;
}
.dr-dashboard .dr-cost-table-wrap {
  overflow: auto;
}
.dr-dashboard .dr-costs table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 10px;
}
.dr-dashboard .dr-costs th {
  font-weight: 500;
  color: #8c99aa;
  text-align: left;
  background: #f8fafc;
}
.dr-dashboard .dr-costs th,
.dr-dashboard .dr-costs td {
  padding: 10px;
  border-bottom: 1px solid #edf1f6;
}
.dr-dashboard .dr-cost-details details > summary {
  cursor: pointer;
  margin: 15px 0;
}
.dr-dashboard .dr-cost-unavailable {
  min-height: 80px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #9ba6b3;
}
@media (max-width: 760px) {
  .dr-dashboard .dr-cost-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dr-dashboard .dr-cost-total > strong {
    font-size: 33px;
  }
  .dr-dashboard .dr-cost-bill {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid #edf0f5;
  }
  .dr-dashboard .dr-cost-breakdown > div {
    grid-template-columns: 70px 1fr 80px;
    gap: 10px;
  }
  .dr-dashboard .dr-fixed-budget {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dr-dashboard .dr-budget-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dr-dashboard .dr-budget-result {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dr-dashboard .dr-budget-result > strong {
    font-size: 22px;
  }
}

/* web/src/dashboard-moderation.css */
.d25-moderation {
  grid-column: 1/-1;
  padding: 22px 24px;
  border: 1px solid #e6ebf1;
  border-radius: 13px;
  background: #fff;
}
.d25-moderation > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.d25-moderation > header > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.d25-moderation > header > h2 > svg {
  color: #91a3b8;
}
.d25-moderation .d25-profile-status {
  font-size: 10px;
  color: #6f8499;
  padding: 4px 8px;
  background: #f2f5f8;
  border-radius: 5px;
}
.d25-moderation .d25-profile-status.ready {
  color: #558b72;
  background: #eff7f2;
}
.d25-moderation .d25-profile-status.unavailable {
  color: #ab8b63;
  background: #fcf7ee;
}
.d25-moderation .d25-profile-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.d25-moderation .d25-profile-options > label {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #e3e9f0;
  border-radius: 9px;
  cursor: pointer;
  min-width: 0;
  background: #fff;
}
.d25-moderation .d25-profile-options > label.selected {
  border-color: #9bb5de;
  background: #f8faff;
}
.d25-moderation .d25-profile-options > label.unavailable {
  cursor: not-allowed;
  background: #fafbfc;
  color: #98a2ae;
}
.d25-moderation .d25-profile-options input {
  margin: 2px 0 0;
  accent-color: #6f92ce;
  flex: none;
  width: 14px;
  height: 14px;
}
.d25-moderation .d25-profile-options > label > span {
  min-width: 0;
}
.d25-moderation .d25-profile-options strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: #526074;
}
.d25-moderation .d25-profile-options strong > small {
  font-size: 9px;
  font-weight: 400;
  color: #a2aab4;
  background: #f0f2f5;
  border-radius: 3px;
  padding: 2px 4px;
}
.d25-moderation .d25-profile-options > label > span > span {
  display: block;
  font-size: 10px;
  color: #8f9baa;
  line-height: 1.6;
  margin-top: 5px;
}
.d25-moderation .d25-profile-options .unavailable strong {
  color: #9aa4af;
}
.d25-moderation .d25-profile-options:disabled > label {
  cursor: default;
}
.d25-moderation .d25-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
}
.d25-moderation .d25-profile-actions > span {
  font-size: 10px;
  color: #97a1ad;
}
.d25-moderation .d25-profile-actions > .button {
  min-height: 32px;
  font-size: 11px;
  padding: 7px 12px;
}
.d25-moderation .d25-profile-error {
  color: #ad6b71;
  font-size: 11px;
  line-height: 1.7;
  margin: 10px 0;
}
.d25-moderation .d25-profile-error button {
  border: 0;
  background: none;
  font: inherit;
  color: #758eae;
  margin-left: 10px;
  cursor: pointer;
}
.d25-moderation .d25-profile-loading {
  min-height: 100px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #8a96a6;
  font-size: 12px;
}
.d25-moderation > footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0f4;
  margin-top: 18px;
  padding-top: 13px;
  font-size: 10px;
  color: #9aa4b1;
}
.d25-moderation .d25-profile-options > label:has(input:focus-visible) {
  outline: 2px solid #678dd9;
  outline-offset: 3px;
}
.d25-moderation .d25-profile-options input:focus-visible {
  outline: none;
}
@media (max-width: 680px) {
  .d25-moderation {
    padding: 18px;
  }
  .d25-moderation .d25-profile-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .d25-moderation .d25-profile-options > label {
    padding: 13px;
  }
  .d25-moderation > footer {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
}
.d25-moderation .d25-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
