:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f6f6f7;
  color: #202223;
}

.dc-app-bootstrap {
  min-height: 12rem;
  padding: 2rem;
}

.dc-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 10rem;
}

.dc-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.dc-metric-value {
  margin-top: 0.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.dc-metric-skeleton,
.dc-banner-skeleton,
.dc-line-skeleton,
.dc-badge-skeleton,
.dc-action-skeleton {
  border-radius: 0.375rem;
  background:
    linear-gradient(
      90deg,
      #e3e3e3 25%,
      #f4f4f4 50%,
      #e3e3e3 75%
    );
  background-size: 200% 100%;
  animation: dc-skeleton-shimmer 1.4s ease-in-out infinite;
}

.dc-metric-skeleton {
  width: 3.5rem;
  height: 1.75rem;
  margin-top: 0.5rem;
}

.dc-banner-skeleton {
  width: 100%;
  height: 3.5rem;
}

.dc-line-skeleton {
  width: min(100%, 34rem);
  height: 0.875rem;
}

.dc-line-skeleton-short {
  width: min(58%, 18rem);
}

.dc-line-skeleton-medium {
  width: min(76%, 24rem);
}

.dc-badge-skeleton {
  width: 4.5rem;
  height: 1.5rem;
  border-radius: 999px;
}

.dc-action-skeleton {
  width: 7rem;
  height: 2rem;
}

.dc-skeleton-stack {
  display: grid;
  gap: 0.75rem;
}

.dc-dashboard-skeleton-note {
  display: block;
  margin-top: 0.75rem;
}

@keyframes dc-skeleton-shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-metric-skeleton,
  .dc-banner-skeleton,
  .dc-line-skeleton,
  .dc-badge-skeleton,
  .dc-action-skeleton {
    animation: none;
    background: #e3e3e3;
  }
}

.dc-product-list,
.dc-settings-stack,
.dc-step-list {
  display: grid;
  gap: 0.75rem;
}

.dc-settings-stack[hidden] {
  display: none;
}

.dc-product-row,
.dc-step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.dc-setup-actions {
  justify-self: end;
}

.dc-setup-actions-skeleton {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dc-product-title {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.dc-subdued {
  color: #616a75;
}

.dc-service-body {
  display: grid;
  min-height: 100vh;
  box-sizing: border-box;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(0, 128, 96, 0.09), transparent 28rem),
    #f6f6f7;
}

.dc-service-card {
  width: min(44rem, 100%);
  box-sizing: border-box;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d2d5d8;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(31, 33, 36, 0.08);
}

.dc-service-card h1 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.dc-service-card p {
  line-height: 1.65;
}

.dc-service-card a {
  color: #006e52;
  font-weight: 650;
}

.dc-kicker {
  margin: 0;
  color: #006e52;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-status-list {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid #e1e3e5;
  border-radius: 0.8rem;
  overflow: hidden;
}

.dc-status-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e1e3e5;
}

.dc-status-list div:last-child {
  border-bottom: 0;
}

.dc-status-list dt {
  font-weight: 650;
}

.dc-status-list dd {
  margin: 0;
  color: #006e52;
}

@media (max-width: 48rem) {
  .dc-step-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dc-setup-actions {
    justify-self: start;
  }
}

@media (max-width: 36rem) {
  .dc-product-row,
  .dc-status-list div {
    grid-template-columns: 1fr;
  }
}
