.mm-edh{
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 0.25rem;
  background: rgba(0,0,0,.02);
  font-size: 1em;
  line-height: 1.35;
}
.mm-edh__title{
  margin: 0 0 8px;
}
.mm-edh__checking{
  opacity: .8;
}
.mm-edh__simple{
  font-weight: 400;
}
.mm-edh__instruction{
  margin-bottom: 8px;
}
.mm-edh__row{
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.mm-edh__input{
  flex: 1;
  padding: 10px 12px;
  border-radius: 0.25rem;
  border: 1px solid rgba(0,0,0,.18);
  min-width: 220px;
}
.mm-edh__btnwrap{
  display: flex;
  flex: 0 0 auto;
}
.mm-edh__btnwrap .wp-block-button__link{
  height: 100%;
  display: flex;
  align-items: center;
}
.mm-edh__btn.is-disabled{
  pointer-events: none;
  opacity: .7;
}
.mm-edh.is-loading .mm-edh__btn{
  cursor: progress;
}

.mm-edh__result{
  margin-top: 10px;
}
.mm-edh__notice{
  padding: 10px 12px;
  border-radius: 0.25rem;
  border: 1px solid rgba(0,0,0,.12);
}
.mm-edh__notice--warn{
  background: rgba(255, 206, 85, .18);
}
.mm-edh__notice--error{
  background: rgba(255, 90, 90, .12);
}
.mm-edh__headline{
  font-weight: 600;
  margin-bottom: 6px;
}
.mm-edh__cutoff{
  margin: 0 0 8px;
  opacity: .95;
}
.mm-edh__countdown{
  font-weight: 700;
}
.mm-edh__dates{
  margin: 0;
  padding-left: 18px;
}
.mm-edh__dates li{
  margin: 4px 0;
}

/* Tooltip */
.mm-edh__tooltip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.25);
  font-size: 0.8em;
  line-height: 1;
  cursor: help;
  user-select: none;
  position: relative;
  top: -1px;
}
.mm-edh__tooltip:focus{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}
.mm-edh__tooltip:hover::after,
.mm-edh__tooltip:focus::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
  width: min(320px, 70vw);
  background: var(--ast-global-color-0);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1.35;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  text-align: left;
}
.mm-edh__tooltip:hover::before,
.mm-edh__tooltip:focus::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: #111;
}
