/* The track occupies existing footer padding, never a new grid row. */
html .beup-home-status-panel .beup-line-check-progress {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: #e4f6f32b;
  pointer-events: none;
}
html .beup-home-status-panel .beup-line-check-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--beup-line-status-color, #d5f7ee);
  transform: scaleX(var(--beup-line-check-progress, 0));
  transform-origin: left center;
  transition: transform 220ms ease-out, background-color 180ms ease-out;
}
html .beup-home-status-panel .is-line-check-running {
  --beup-line-status-color: #bfeee9;
}
html .beup-home-status-panel .beup-campaign-utility:not(.is-line-check-running) .beup-line-check-progress {
  display: none;
}
html .beup-home-status-panel .is-line-check-running .beup-campaign-utility__code {
  min-width: 64px;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  html .beup-home-status-panel .beup-line-check-progress__fill { transition: none; }
}

/* MDI outline glyphs use the site's existing font, within the original dot slots. */
html .beup-home-status-panel :is(.beup-campaign-countdown__dot, .beup-campaign-utility__status-dot) {
  position: relative;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  opacity: 1 !important;
  color: #ffe8ac;
}
html .beup-home-status-panel :is(.beup-campaign-countdown__dot, .beup-campaign-utility__status-dot)::after {
  display: none !important;
}
html .beup-home-status-panel :is(.beup-campaign-countdown__dot, .beup-campaign-utility__status-dot)::before {
  content: '\F0913';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  font: normal 16px/1 'Material Design Icons';
  text-align: center;
  transform: translate(-50%, -50%);
  animation: beup-line-icon-breathe 2.8s ease-in-out infinite !important;
  pointer-events: none;
}
html .beup-home-status-panel [data-status-icon="shield"] .beup-campaign-countdown__dot { color: #c8f6e3; }
html .beup-home-status-panel [data-status-icon="shield"] .beup-campaign-countdown__dot::before { content: '\F0CC8'; }
html .beup-home-status-panel .is-line-check .beup-campaign-utility__status-dot { color: var(--beup-line-status-color); }
html .beup-home-status-panel .is-line-check .beup-campaign-utility__status-dot::before { content: '\F0318'; }
/* Clip only the label, not the icon painted outside its original dot slot. */
html .beup-home-status-panel .beup-campaign-utility__fit { overflow: visible; }
html .beup-home-status-panel .beup-campaign-utility__fit .beup-campaign-utility__item-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes beup-line-icon-breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

html body #app .beup-home-coupon__content {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 2px 10px;
  min-height: 44px;
}
html body #app .beup-home-coupon__summary {
  display: contents;
}
html body #app .beup-home-coupon [data-home-coupon-discount] {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: none;
  line-height: 24px;
  letter-spacing: 0;
}
html body #app .beup-home-coupon [data-home-coupon-code] {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  padding: 1px 7px;
  border: 1px solid #ffe18a85;
  border-radius: 4px;
  background: #ffe18a0a;
  line-height: 20px;
  letter-spacing: 0;
}
html body #app .beup-home-coupon__hint {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  color: #d5ebe8;
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  html body #app .beup-home-coupon__content { grid-template-columns: max-content minmax(0, 1fr); }
  html body #app .beup-home-coupon__hint { display: none; }
  html body #app .beup-home-coupon [data-home-coupon-code] {
    justify-self: center;
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html .beup-home-status-panel :is(.beup-campaign-countdown__dot, .beup-campaign-utility__status-dot)::before {
    animation: none !important;
    opacity: 1;
  }
}
