/* Material para programar: el mismo bloque en todas las páginas. Cada página lo viste con sus variables:
   --m-tarjeta (fondo de cada fila), --m-borde, --m-radio, --m-sombra, --m-acento, --m-tinta, --m-suave. */
.material {
  --m-tarjeta: rgba(255, 255, 255, 0.06); --m-borde: 2px solid currentColor; --m-radio: 14px; --m-sombra: none;
  --m-acento: currentColor; --m-tinta: currentColor; --m-suave: currentColor; --m-texto-acento: var(--m-acento);
  display: grid; gap: 28px; color: var(--m-tinta);
}
.mat-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mat-item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; text-decoration: none; color: inherit;
  background: var(--m-tarjeta); border: var(--m-borde); border-radius: var(--m-radio); box-shadow: var(--m-sombra);
  transition: transform 160ms var(--ease-out, ease), box-shadow 160ms var(--ease-out, ease);
}
a.mat-item:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { a.mat-item:hover { transform: translate(-2px, -2px); } a.mat-item:hover .mat-estado { text-decoration: underline; } }
.mat-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--m-acento); color: var(--m-sobre-acento, #fff); }
.mat-item b { display: block; font-weight: 750; }
.mat-item span span { font-size: 0.875rem; opacity: 0.8; }
.mat-estado { font-weight: 750; font-size: 0.875rem; color: var(--m-texto-acento); white-space: nowrap; }
.mat-item.pendiente { border-style: dashed; box-shadow: none; opacity: 0.72; }
.mat-item.pendiente .mat-ico { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.mat-item.pendiente .mat-estado { color: inherit; }
.mat-item.incluida .mat-ico { background: transparent; color: var(--m-texto-acento); box-shadow: inset 0 0 0 2px currentColor; }

.mat-textos-t { margin: 0 0 12px; font-size: 1.125rem; font-weight: 750; }
.mat-pestanas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.mat-pestanas button {
  font: inherit; font-weight: 700; font-size: 0.9375rem; padding: 9px 16px; border-radius: 999px; cursor: pointer; color: inherit; background: transparent;
  border: 2px solid currentColor; opacity: 0.75; transition: opacity 150ms ease, background-color 150ms ease, color 150ms ease; touch-action: manipulation;
}
.mat-pestanas button[aria-selected="true"] { opacity: 1; background: var(--m-acento); border-color: var(--m-acento); color: var(--m-sobre-acento, #fff); }
.mat-panel { padding: 18px 20px; background: var(--m-tarjeta); border: var(--m-borde); border-radius: var(--m-radio); box-shadow: var(--m-sombra); }
.mat-texto p { margin: 0 0 12px; max-width: 68ch; }
.mat-copiar {
  font: inherit; font-weight: 750; font-size: 0.9375rem; padding: 10px 16px; border-radius: 999px; cursor: pointer; border: 0; margin-top: 4px;
  background: var(--m-acento); color: var(--m-sobre-acento, #fff); touch-action: manipulation; transition: transform 140ms ease;
}
.mat-copiar:active { transform: scale(0.96); }
@media (max-width: 520px) { .mat-item { grid-template-columns: 36px minmax(0, 1fr); } .mat-estado { grid-column: 2; } .mat-ico { width: 36px; height: 36px; } }
@media (max-width: 640px) { .mat-copiar, .mat-pestanas button { min-height: 44px; } } /* toque de 44px en el móvil */
