.smart-holds-dashboard {
  padding: 1.5rem;
}

.smart-holds-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.smart-holds-dashboard__title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--wa-color-text-normal);
}

.smart-holds-dashboard__config {
  padding: 0.5rem 1rem;
  background: var(--wa-color-brand-fill-normal);
  color: var(--wa-color-brand-on-normal);
  text-decoration: none;
  border-radius: var(--wa-border-radius-s);
  font-weight: 600;
}

.smart-holds-dashboard__section-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--wa-color-text-normal);
}

.smart-holds-dashboard__chart {
  margin-bottom: 2rem;
}

.smart-holds-dashboard__canvas {
  display: block;
  width: 100%;
  min-width: 0;
  height: 300px;
}

.smart-holds-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.smart-holds-dashboard__card {
  border: 1px solid var(--wa-color-neutral-border-quiet);
  border-radius: var(--wa-border-radius-m);
  padding: 1rem;
  background: var(--wa-color-surface-raised);
}

.smart-holds-dashboard__card--risk {
  border-color: var(--wa-color-danger-border-normal);
  background: var(--wa-color-danger-fill-quiet);
}

.smart-holds-dashboard__hotel {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--wa-color-text-normal);
}

.smart-holds-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.smart-holds-dashboard__stats dt {
  font-size: 0.75rem;
  color: var(--wa-color-text-quiet);
}

.smart-holds-dashboard__stats dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wa-color-text-normal);
}

.smart-holds-dashboard__alert {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--wa-border-radius-s);
  background: var(--wa-color-danger-fill-quiet);
  color: var(--wa-color-danger-on-quiet);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.smart-holds-dashboard__ok {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--wa-border-radius-s);
  background: var(--wa-color-success-fill-quiet);
  color: var(--wa-color-success-fill-loud);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.smart-holds-dashboard__empty {
  color: var(--wa-color-text-quiet);
  padding: 2rem 0;
}
