.dp-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  width: min(280px, 100%);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 24, 28, 0.12);
}

.dp-bar,
.dp-week,
.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  align-items: center;
}
.dp-grid {
  touch-action: none;
  user-select: none;
}

.dp-bar {
  grid-template-columns: 32px 1fr 32px;
  margin-bottom: 6px;
}

.dp-bar strong {
  text-align: center;
  font-size: 14px;
}

.dp-bar button,
.dp-day {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  min-height: 32px;
  border-radius: 8px;
  cursor: pointer;
  touch-action: none;
}

.dp-week {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.dp-day.is-outside {
  color: var(--muted);
}

.dp-day.is-today {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.dp-day.is-in-range {
  background: color-mix(in srgb, var(--ink) 12%, #fff);
  color: var(--ink);
}
.dp-day.is-on,
.dp-day.is-on:hover,
.dp-day:hover {
  background: var(--ink);
  color: #fff;
}
