/* Calculadora de plazos: calendario del plazo y festivos locales. Prefijo cx-cal. Colores de marca. */
.cx-cal { margin: 16px 0 4px; }
.cx-cal-meses { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: #C6D8EE; }
.cx-cal-meses::first-letter { text-transform: uppercase; }
.cx-cal-rejilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 420px; }
.cx-cal-sem { font-size: 12px; font-weight: 800; color: #607089; text-align: center; padding-bottom: 2px; }
.cx-cal-dia { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1.15; min-height: 30px;
  border-radius: 8px; font-size: 13px; font-weight: 700; color: #607089; font-variant-numeric: tabular-nums; line-height: 1; }
.cx-cal-dia small { font-size: 12px; font-weight: 700; margin-top: 2px; text-transform: lowercase; }
.cx-cal-dia.d-fuera { visibility: hidden; }
.cx-cal-dia.d-base { color: #F4F8FF; box-shadow: inset 0 0 0 1.5px #607089; }
.cx-cal-dia.d-plazo { color: #061429; background: #17B8F6; }
.cx-cal-dia.d-plazo.d-inhabil { color: #C6D8EE; background: repeating-linear-gradient(135deg, rgb(96 112 137 / 55%) 0 4px, rgb(96 112 137 / 25%) 4px 8px); }
.cx-cal-dia.d-prorroga { color: #C6D8EE; background: repeating-linear-gradient(135deg, rgb(111 224 255 / 30%) 0 4px, rgb(111 224 255 / 10%) 4px 8px); }
.cx-cal-dia.d-fin { color: #061429; background: #F4F8FF; box-shadow: 0 0 0 3px #6FE0FF; }
.anima .cx-listo .cx-cal-dia.d-plazo, .anima .cx-listo .cx-cal-dia.d-prorroga, .anima .cx-listo .cx-cal-dia.d-fin {
  animation: cx-cal-entra .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(250ms + var(--k, 0) * 22ms); }
.anima .cx-listo .cx-cal-dia.d-fin { animation-name: cx-cal-fin; animation-duration: .7s; }
@keyframes cx-cal-entra { from { background: transparent; color: #607089; transform: scale(.82); } }
@keyframes cx-cal-fin { 0% { background: transparent; color: #607089; transform: scale(.8); box-shadow: 0 0 0 0 #6FE0FF; } 70% { transform: scale(1.12); } }
.cx-cal-ley { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; color: #C6D8EE; }
.cx-cal-ley li { display: flex; align-items: center; gap: 6px; }
.cx-cal-ley i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.cx-cal-ley .l-plazo { background: #17B8F6; }
.cx-cal-ley .l-inhabil { background: repeating-linear-gradient(135deg, rgb(96 112 137 / 75%) 0 3px, rgb(96 112 137 / 30%) 3px 6px); }
.cx-cal-ley .l-fin { background: #F4F8FF; box-shadow: 0 0 0 2px #6FE0FF; }
.cx-cal-ley .l-base { box-shadow: inset 0 0 0 1.5px #607089; }
.cx-local { flex-wrap: nowrap; }
.cx-local .cx-entrada { flex: 1; min-width: 0; }
.cx-locales { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.cx-locales li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: #E3EAF5; }
.cx-locales button { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #607089; background: transparent; color: #F4F8FF; font: 700 14px/1 Jakarta, Arial, sans-serif; cursor: pointer; }
.cx-locales button:focus-visible { outline: 3px solid #6FE0FF; outline-offset: 2px; }
.cx-campo label small { font-weight: 600; color: #C6D8EE; }
.cx-marca[hidden] { display: none; }
@media (max-width: 360px) { .cx-cal-dia { font-size: 12px; min-height: 28px; } .cx-cal-dia small { display: none; } }
@media (prefers-reduced-motion: reduce) { .cx-cal-dia { animation: none !important; } }
