/* =====================================================================
   TRIAR · Versión 40
   Calendario de vencimientos más compacto: letra y números más chicos,
   menos espacios y lista más baja, conservando la barra de desplazamiento.
   Se carga después de triar-v39.css.
   ===================================================================== */
html body .calendar-panel{padding:18px 22px 16px}
html body .calendar-head{padding-bottom:12px}
html body .calendar-head .v37-ico{margin-bottom:4px;transform:scale(.75);transform-origin:center bottom;margin-top:-6px}
html body .calendar-head small{font-size:.58rem}
html body .calendar-head h3{font-size:1.12rem;margin-top:2px}
html body .calendar-head>button{width:32px;height:32px;font-size:20px}

.dl-filters{gap:6px;padding:10px 0 2px}
.dl-filters button{gap:5px;padding:4px 10px;font-size:.68rem}
.dl-filters button span{min-width:17px;height:17px;padding:0 5px;font-size:.62rem}

html body .deadline-list{max-height:255px;padding:0 6px 4px 0;margin-top:6px}

.dl-day{grid-template-columns:44px 1fr;gap:10px;padding:6px 0}
.dl-date{width:44px;min-height:48px;padding:4px 2px;border-radius:11px;box-shadow:0 4px 10px rgba(3,58,66,.14)}
.dl-date span{font-size:.5rem;letter-spacing:.08em}
.dl-date strong{font-size:1.08rem;margin:1px 0}
.dl-items{gap:5px}
.dl-items li{gap:10px;padding:6px 10px;border-radius:10px}
.dl-info strong{font-size:.8rem;line-height:1.25}
.dl-info small{margin-top:1px;font-size:.7rem;line-height:1.3}
.dl-items .deadline-tag{font-size:.54rem;padding:3px 7px}
html body .calendar-foot{margin-top:8px;padding-top:10px;font-size:.68rem}

@media(max-width:640px){
  html body .calendar-panel{padding:16px 14px 14px}
  .dl-day{grid-template-columns:42px 1fr;gap:9px}
  .dl-date{width:42px;min-height:46px;border-radius:10px}
  .dl-date strong{font-size:1.02rem}
  .dl-filters button{padding:4px 8px}
  .dl-items li{flex-direction:row;align-items:center;gap:8px;padding:6px 9px}
  html body .deadline-list{max-height:340px}
}
