/* Estilos MundoMarino (AJAX, tipografía y layout) */
.mm-calendar{ position:relative; max-width: 920px; margin: 28px auto 12px; font-family: inherit; }
.mm-theme-mundomarino .mm-cal-header{ display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:8px; margin-bottom:14px; }
.mm-theme-mundomarino .mm-cal-header .mm-title{
  font-family:"Mundo Marino", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 42px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase;
  color:#29AEE8; text-align:center;
}
.mm-theme-mundomarino .mm-cal-header .mm-arrow{ justify-self:start; padding: 0; margin: 0; }
.mm-theme-mundomarino .mm-cal-header .mm-next{ justify-self:end; padding: 0; margin: 0; }

.mm-cal-header .mm-arrow{ border:none; background:transparent; font-size:28px; line-height:1; padding:6px 10px; border-radius:8px; cursor:pointer; color:#135075; }
.mm-cal-header .mm-arrow:hover{ background:rgba(19,80,117,.00); color:#29AEE8; }

/* Botón MES ACTUAL arriba a la izquierda */
.mm-current{ position:absolute; top:-50px; left:0; background:#eef4f7; color:#0e3b54; border:none; border-radius:999px; padding:10px 18px; cursor:pointer; font-weight:700; box-shadow:0 2px 0 rgba(0,0,0,.05); }
.mm-current:hover{ background:#dfeef6; color:#135075; }
.mm-legend ul li {
    margin-left: 0 !important;
}

/* Tabla */
.mm-table{ width:100%; border-collapse: collapse; table-layout: fixed; }
.mm-table th, .mm-table td{ border:1px solid #e3e3e3; text-align:center; padding:18px 6px; vertical-align: middle; }
.mm-table thead th{ font-size:12px; color:#135075; text-transform: uppercase; letter-spacing:.08em; }
.mm-day{ position:relative; transition: background .2s ease; }
.mm-day .mm-num{ font-weight:700; color:#0e3b54; }

/* Leyenda */
.mm-legend-wrap{ display:flex; align-items:center; justify-content:flex-start; gap:24px; margin-top:18px; flex-wrap:wrap; }
.mm-legend{ font-size:14px; color:#0e3b54; }
.mm-legend ul{ list-style:none; padding:0; margin:6px 0 0; display:flex; gap:24px; flex-wrap:wrap; }
.mm-legend .chip{ display:inline-block; width:14px; height:14px; border-radius:3px; margin-right:8px; vertical-align:middle; }

/* Admin tabla */
.mme-grid{ table-layout: fixed; }
.mme-grid td{ height:86px; }
.mme-day-header{ margin-bottom:6px; }
.mme-chip{ width:16px; height:16px; border-radius:4px; border:1px solid rgba(0,0,0,.08); margin-top:6px; }
.mme-chip.is-empty{ background: transparent; }
.mme-empty{ background:#fafafa; }
