
/* 1.1.0 - Vista Figma; no modifica el calendario mensual ni su popup. */
.smv-cal-list-card{position:relative;display:flex;flex-direction:column;background:#fff!important;border:1px solid #d4d4d4!important;min-width:0;height:294px;min-height:294px;overflow:hidden;font-family:Roboto,"Arial Narrow",Arial,sans-serif}
.smv-cal-list-card .smv-cal-list-header{height:37px!important;min-height:37px!important;padding:0 12px!important;border:0!important;background:#2560ab!important;display:flex!important;align-items:center!important}
.smv-cal-list-compliance .smv-cal-list-header{background:#16447e!important}
.smv-cal-list-card .smv-cal-list-header h2{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px;color:#fff!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase;margin:0!important;width:100%}
.smv-cal-list-header-icon{color:#fff;font-size:21px;line-height:1}
.smv-cal-list-items{display:flex;flex-direction:column;gap:0;padding:13px 26px 0;flex:1;min-height:0;overflow:hidden}
.smv-cal-list-item{display:flex!important;align-items:flex-start;text-align:left!important;gap:9px;background:transparent!important;border:0!important;width:100%;padding:5px 0!important;min-height:48px;cursor:pointer;color:#111!important;font-family:inherit}
.smv-cal-list-item:hover strong,.smv-cal-list-item:focus-visible strong{text-decoration:underline;color:#2560ab}
.smv-cal-list-date{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:0 0 32px;width:32px;min-height:32px;border:1px solid #2560ab;line-height:1;text-align:center;font-size:14px;color:#16447e;background:#fff}
.smv-cal-list-date b{display:block;width:100%;padding:2px 0;background:#2560ab;color:#fff;text-transform:capitalize;font-size:11px;letter-spacing:.3px}
.smv-cal-list-date span{font-size:14px;padding:2px}
.smv-cal-list-description{min-width:0;display:flex;flex-direction:column;gap:2px;color:#111}
.smv-cal-list-description strong{font-size:13px;font-weight:700;line-height:1.1;max-height:30px;overflow:hidden}
.smv-cal-list-description small{font-size:11px;color:#111;line-height:1.15;max-height:26px;overflow:hidden}
.smv-cal-list-footer{display:flex;justify-content:center;padding:2px 14px 9px;min-height:25px}
.smv-cal-list-footer a,.smv-cal-list-footer button{font-size:12px!important;font-weight:700!important;background:none!important;border:0!important;color:#111!important;cursor:pointer;padding:0!important;text-decoration:none!important}
.smv-cal-list-footer a:hover,.smv-cal-list-footer button:hover{text-decoration:underline!important}
.smv-cal-list-empty{font-size:12px;color:#57606c;padding:12px 0}
.smv-cal-list-modal[hidden]{display:none!important}.smv-cal-list-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:14px}.smv-cal-list-backdrop{position:absolute;inset:0;background:rgba(6,18,36,.73)}
.smv-cal-list-dialog{position:relative;max-height:90vh;overflow:auto;width:min(660px,96vw);padding:24px 26px;background:#fff;border-radius:8px;box-shadow:0 18px 50px #0005;color:#17447e}
.smv-cal-list-dialog h3{margin:0 36px 18px 0;font-size:21px}.smv-cal-list-dialog article{margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #e0e5ed}.smv-cal-list-dialog h4{margin:3px 0 8px;font-size:16px}.smv-cal-list-dialog p{margin:7px 0;font-size:14px;white-space:pre-wrap}.smv-cal-list-dialog a{color:#2560ab;font-weight:700}.smv-cal-list-close{position:absolute;right:14px;top:12px;cursor:pointer;background:none;border:0;font-size:29px;color:#16447e}
@media(max-width:600px){.smv-cal-list-card{min-height:294px}.smv-cal-list-items{padding:10px 14px 0}.smv-cal-list-item{min-height:48px}}

/* 1.2.0: fecha proporcionada al texto; 4 registros visibles + scroll interno elegante */
.smv-cal-list-header-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px}
.smv-cal-list-header-icon img{display:block;width:23px;height:23px;object-fit:contain;filter:brightness(0) invert(1)}
.smv-cal-list-card .smv-cal-list-items{overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9bb5d1 #f0f4f8;padding:10px 18px 4px!important;align-content:start;flex:1 1 auto}
.smv-cal-list-items::-webkit-scrollbar{width:7px}.smv-cal-list-items::-webkit-scrollbar-track{background:#f0f4f8;border-radius:9px}.smv-cal-list-items::-webkit-scrollbar-thumb{background:#9bb5d1;border-radius:9px;border:1px solid #f0f4f8}
.smv-cal-list-card .smv-cal-list-item{flex:0 0 auto;min-height:52px;padding:4px 3px!important;gap:11px;align-items:center!important;border-bottom:1px solid #edf0f5!important}
.smv-cal-list-card .smv-cal-list-item:last-child{border-bottom:0!important}
.smv-cal-list-card .smv-cal-list-date{flex:0 0 40px;width:40px;min-height:42px;font-size:17px;border-radius:1px}
.smv-cal-list-card .smv-cal-list-date b{font-size:12px;padding:3px 0}
.smv-cal-list-card .smv-cal-list-date span{font-size:17px;font-weight:700;padding:2px}
.smv-cal-list-card .smv-cal-list-description strong{font-size:13px;line-height:1.15}
.smv-cal-list-card .smv-cal-list-description small{font-size:11px;line-height:1.2}
.smv-cal-disclaimer{margin-top:13px;padding:11px 14px;background:#f2f6fb;border-left:3px solid #2560ab;color:#243d5a;font-size:13px}
.smv-cal-disclaimer p{margin:6px 0 0!important;white-space:pre-wrap}
@media(max-width:600px){.smv-cal-list-card .smv-cal-list-items{padding:9px 12px 4px!important}}

/* 1.2.1: altura pareja con Multimedia + 4 registros visibles, scroll desde el 5.º */
.smv-cal-list-card{box-sizing:border-box}
.smv-cal-list-card .smv-cal-list-header,.smv-cal-list-card .smv-cal-list-footer{flex:0 0 auto}
.smv-cal-list-card .smv-cal-list-items{flex:1 1 0!important;min-height:0!important}
.smv-cal-list-card .smv-cal-list-item{box-sizing:border-box;min-height:var(--smv-cal-row-h,52px)}
.smv-cal-list-card .smv-cal-list-footer{padding:6px 14px 9px}
.smv-cal-list-dialog small{display:block;color:#57606c;font-size:12px}
@media(max-width:782px){.smv-cal-list-card{height:auto!important;max-height:none!important}.smv-cal-list-card .smv-cal-list-items{flex:0 0 auto!important;max-height:calc(52px * 4 + 14px)}}

/* 1.2.2: 20 px de separación entre la fila de boxes y el siguiente bloque */
.smv-cal-list-card{margin-bottom:20px!important}

/* 1.2.3: caja de fecha sin espacio blanco sobre la franja azul */
.smv-cal-list-card .smv-cal-list-date{justify-content:flex-start!important;align-items:stretch!important;padding:0!important;overflow:hidden;box-sizing:border-box}
.smv-cal-list-card .smv-cal-list-date b{margin:0!important;line-height:1.1}
.smv-cal-list-card .smv-cal-list-date span{flex:1 1 auto;display:flex;align-items:center;justify-content:center}

/* 1.2.3: popup con franja azul, título en mayúsculas y botón cerrar circular */
.smv-cal-list-dialog{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;max-height:90vh}
.smv-cal-list-dialog-head{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 60px;background:#2560ab;color:#fff}
.smv-cal-list-compliance .smv-cal-list-dialog-head{background:#16447e}
.smv-cal-list-dialog .smv-cal-list-dialog-head h3{display:flex;align-items:center;gap:8px;margin:0!important;color:#fff!important;font-size:16px!important;font-weight:700;text-transform:uppercase;letter-spacing:.3px;text-align:center}
.smv-cal-list-dialog-body{flex:1 1 auto;overflow-y:auto;padding:20px 26px 10px;scrollbar-width:thin;scrollbar-color:#9bb5d1 #f0f4f8}
.smv-cal-list-subtitle{margin:0 0 14px!important;font-size:19px!important;font-weight:700;color:#16447e}
.smv-cal-list-subtitle[hidden]{display:none!important}
.smv-cal-list-dialog article:last-child{border-bottom:0}
.smv-cal-list-dialog .smv-cal-list-close{position:absolute!important;top:50%!important;right:14px!important;transform:translateY(-50%);width:32px;height:32px;padding:0!important;margin:0;border:0!important;border-radius:50%!important;background:#fff!important;color:#16447e!important;display:flex!important;align-items:center;justify-content:center;font-size:0!important;line-height:1;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:transform .15s,background .15s}
.smv-cal-list-dialog .smv-cal-list-close span{display:block;font-size:24px;line-height:1;margin-top:-2px;font-weight:400}
.smv-cal-list-dialog .smv-cal-list-close:hover{background:#d5e9ff!important;transform:translateY(-50%) scale(1.06)}
@media(max-width:600px){.smv-cal-list-dialog-head{padding:10px 54px 10px 16px;justify-content:flex-start}.smv-cal-list-dialog-body{padding:16px}}
