/* Calendario de lunes a sábado (los domingos no aparecen) */
.dp { position: relative; }
.dp-btn {
  width: 100%; min-height: 50px; padding: .8rem 2.8rem .8rem 1rem; text-align: left; cursor: pointer;
  font: inherit; color: #1d1d23; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5b66' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right .9rem center / 20px;
  border: 1px solid #ddd5cc; border-radius: 10px; -webkit-tap-highlight-color: transparent;
}
.dp-btn.dp-vacio { color: #5b5b66; }
.dp-btn:focus-visible { outline: 2px solid #339e0f; border-color: transparent; }
.dp-pop {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; width: min(330px, calc(100vw - 2rem));
  background: #fff; border: 1px solid #e6ded5; border-radius: 14px; padding: .8rem; box-shadow: 0 14px 40px rgba(20, 15, 12, .18);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #1d1d23; line-height: 1.2;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.dp-head strong { font-size: 1rem; }
.dp-nav {
  width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f6f2ed; cursor: pointer;
  font: 600 1.5rem/1 'Poppins', system-ui, sans-serif; color: #1d1d23;
}
.dp-nav:hover { background: #efe6dc; }
.dp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.dp-dow { text-align: center; font-size: .75rem; font-weight: 600; color: #5b5b66; padding: .2rem 0 .35rem; }
.dp-day {
  height: 42px; border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font: 500 .95rem 'Poppins', system-ui, sans-serif; color: #1d1d23; -webkit-tap-highlight-color: transparent;
}
.dp-day:hover:not([disabled]) { background: #f6f2ed; }
.dp-day.dp-hoy { box-shadow: inset 0 0 0 1.5px #c9bfb4; }
.dp-day.dp-sel { background: #dd3333; color: #fff; font-weight: 700; box-shadow: none; }
.dp-day[disabled] { color: #c8c2bb; cursor: default; }
.dp-day:focus-visible, .dp-nav:focus-visible, .dp-quick:focus-visible { outline: 2px solid #339e0f; outline-offset: 1px; }
.dp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  margin-top: .6rem; padding-top: .6rem; border-top: 1px solid #efe8e0; font-size: .78rem; color: #5b5b66;
}
.dp-quicks { display: flex; gap: .4rem; }
.dp-quick {
  border: 1px solid #e6ded5; background: #fff; border-radius: 999px; padding: .4rem .8rem; cursor: pointer;
  font: 600 .8rem 'Poppins', system-ui, sans-serif; color: #1d1d23;
}
.dp-quick:hover { background: #f6f2ed; }
