/* KVK Module Test Workbench v5.7.9 / shared layer v3.9.238
   Final Promotion calendar rule: one visible button inside each date column and
   zero persistent datetime-local controls inside Coupon/Offer/Banner/Combo Ad forms. */

/* Safety boundary: any persistent native picker or previous shell that survives before
   the structural cleanup runs is never painted. The one functional picker is the
   temporary #kvk-promo-temp-picker-v39238 outside all forms. */
html body :is(#couponForm,#offerForm,#bannerForm,#comboAdFormV39225)
  [data-promo-date-control-v39235]
  :is(input[type="datetime-local"],[data-promo-date-picker-v39235],.promo-date-picker-shell-v39237,[data-promo-date-picker-button-v39235],.promo-date-picker-button-v39235){
  display:none!important;
  visibility:hidden!important;
  width:0!important;height:0!important;min-width:0!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;
}

html body [data-promo-date-final-v39238="true"] .promo-date-input-row-v39235,
html body .promo-date-final-row-v39238{
  position:relative!important;
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
}
html body [data-promo-date-final-v39238="true"] .promo-date-display-v39235,
html body .promo-date-final-field-v39238 .promo-date-display-v39235{
  width:100%!important;
  min-width:0!important;
  padding-right:54px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
html body .promo-date-single-button-v39238{
  position:absolute!important;
  right:5px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #9fc3cf!important;
  border-radius:9px!important;
  background:linear-gradient(145deg,#d4e8ee,#dceee5)!important;
  color:#173b5f!important;
  box-shadow:none!important;
  cursor:pointer!important;
  z-index:4!important;
  line-height:1!important;
}
html body .promo-date-single-button-v39238:hover{
  border-color:#6f9fb2!important;
  background:linear-gradient(145deg,#cde3ea,#d4eadf)!important;
}
html body .promo-date-single-button-v39238:focus-visible{
  outline:2px solid #2563eb!important;
  outline-offset:1px!important;
}
html body .promo-date-single-button-v39238 span{
  pointer-events:none!important;
  font-size:17px!important;
  line-height:1!important;
}

/* The temporary functional picker is never a grid/form child and has no visible indicator. */
html body #kvk-promo-temp-picker-v39238{
  position:fixed!important;left:0!important;bottom:0!important;
  width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;
  max-width:1px!important;max-height:1px!important;
  opacity:0!important;pointer-events:none!important;overflow:hidden!important;
  border:0!important;padding:0!important;margin:0!important;z-index:-2147483647!important;
}

@media(max-width:680px){
  html body [data-promo-date-final-v39238="true"] .promo-date-display-v39235,
  html body .promo-date-final-field-v39238 .promo-date-display-v39235{font-size:13px!important;padding-right:50px!important}
  html body .promo-date-single-button-v39238{width:38px!important;min-width:38px!important;max-width:38px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
}
@media print{
  html body .promo-date-single-button-v39238,
  html body #kvk-promo-temp-picker-v39238{display:none!important}
}
