/* ==========================================================================
   Componentes reutilizables
   Cada componente usa solo variables de tokens.css.
   ========================================================================== */

/* --- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0 var(--space-5);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

/* Botón principal: rojo CBEG con esquinas en chaflán, como el logo */
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0;
  clip-path: polygon(
    var(--chaflan) 0, 100% 0, 100% calc(100% - var(--chaflan)),
    calc(100% - var(--chaflan)) 100%, 0 100%, 0 var(--chaflan)
  );
}
.btn--primary:hover { background: var(--cbeg-rojo-hover); }

.btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--secondary:hover { background: var(--surface-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface-2); }

.btn--lg { min-height: 56px; font-size: var(--text-xl); }
.btn--block { width: 100%; }

/* --- Formularios --------------------------------------------------------- */
.field { display: grid; gap: var(--space-1); align-content: start; }

.field__label { font-weight: 600; }

.field__help { font-size: var(--text-sm); color: var(--ink-muted); }

.field__error { font-size: var(--text-sm); color: var(--accent-ink); font-weight: 500; }

.input,
.select {
  min-height: var(--tap);
  width: 100%;
  padding: 0 var(--space-3);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.input:hover,
.select:hover { border-color: var(--ink-muted); }
.input[aria-invalid="true"] { border-color: var(--accent-ink); }

/* --- Filtros (botones que se activan y desactivan) ----------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.chip {
  min-height: 36px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Etiqueta informativa (material, nivel…) */
.tag {
  display: inline-block;
  padding: 0.1rem var(--space-2);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* --- Tarjetas ------------------------------------------------------------ */
.card {
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Tarjeta "ring": la sesión del día. Negra en ambos temas, con chaflán. */
.card--ring {
  position: relative;
  border: 0;
  border-radius: 0;
  background: var(--ring-bg);
  color: var(--ring-ink);
  clip-path: polygon(
    18px 0, 100% 0, 100% calc(100% - 18px),
    calc(100% - 18px) 100%, 0 100%, 0 18px
  );
}
.card--ring h2 { font-size: var(--text-2xl); }
.card--ring .muted { color: var(--ring-muted); }
.card--ring .tag { background: #2a2a2a; color: var(--ring-ink); }
/* línea roja vertical: el "rincón rojo" del ring */
.card--ring::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  background: var(--accent);
}

/* --- Filas de lista (sesiones, clientes) --------------------------------- */
.rows { list-style: none; border-top: 1px solid var(--line); }

.row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.row__main { flex: 1; min-width: 0; }
.row__title { font-weight: 600; }
.row__meta { font-size: var(--text-sm); color: var(--ink-muted); }
.row__end { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }

/* --- Semana: 7 días con su estado ---------------------------------------- */
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-1);
  list-style: none;
  text-align: center;
}
.week__day {
  display: grid;
  gap: var(--space-1);
  justify-items: center;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}
.week__mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
}
.week__day--done .week__mark { background: var(--ink); border-color: var(--ink); }
.week__day--planned .week__mark { border-color: var(--accent-ink); border-width: 2.5px; }
.week__day--today { color: var(--ink); font-weight: 600; }

/* --- Cifras del panel ---------------------------------------------------- */
.stat { display: grid; gap: var(--space-1); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1;
}
.stat__label { color: var(--ink-muted); font-size: var(--text-sm); }

/* --- Avisos -------------------------------------------------------------- */
.alert {
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--ink-muted);
  background: var(--surface);
}
.alert--warn { border-left-color: var(--warn); }
.alert--ok { border-left-color: var(--ok); }

/* --- Selector de tema (claro / oscuro / sistema) ------------------------- */
.segmented {
  display: inline-flex;
  justify-self: start;
  max-width: 100%;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.segmented button {
  min-height: 38px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }

/* Bloque de sección con título y acción opcional */
.section { display: grid; gap: var(--space-4); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }

/* --- Fase 1: cuentas ----------------------------------------------------- */

/* Enlaces y pestañas de funciones que llegan en fases posteriores */
a[aria-disabled="true"] { opacity: 0.4; cursor: default; pointer-events: none; }

textarea.input { min-height: 120px; padding: var(--space-3); line-height: 1.5; resize: vertical; }

/* Casilla de verificación con su texto */
.check { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }

.field__help ul { margin: var(--space-1) 0 0; padding-left: 1.2em; }

/* Botón para acciones que borran o desactivan */
.btn--danger { background: transparent; border-color: var(--accent-ink); color: var(--accent-ink); }
.btn--danger:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.btn--sm { min-height: 36px; padding: 0 var(--space-3); font-size: var(--text-md); }

.tag--ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.tag--muted { color: var(--ink-muted); }

.messages { display: grid; gap: var(--space-2); }

/* Formulario apilado */
.form { display: grid; gap: var(--space-5); }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Fila con acciones a la derecha (invitaciones) */
.row__actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
.row form { margin: 0; }

/* Lista de datos (perfil) */
.facts { display: grid; gap: var(--space-3); margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { color: var(--ink-muted); font-size: var(--text-sm); }
.facts dd { margin: 0; font-weight: 500; }

.search { display: flex; gap: var(--space-2); }
.search .input { flex: 1; }

/* --- Fase 1.1: importación ----------------------------------------------- */
.tag--warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

.fieldset { display: grid; gap: var(--space-4); margin: 0; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); }
.fieldset legend { padding: 0 var(--space-2); font-weight: 600; }

.summary { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; }
.summary strong { font-family: var(--font-display); font-size: var(--text-xl); }

/* Tabla de revisión: tarjetas en móvil, tabla en ordenador */
.import-table { display: grid; border-top: 1px solid var(--line); }
.import-row {
  display: grid;
  grid-template-columns: 32px 1fr 1fr;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.import-row > :nth-child(4),
.import-row > :nth-child(5) { grid-column: 2 / -1; }
.import-row--head { display: none; }
.import-row--off { color: var(--ink-muted); }
.import-check { width: 22px; height: 22px; accent-color: var(--accent); }
.import-email { overflow-wrap: anywhere; font-size: var(--text-sm); }
.import-line { margin-left: var(--space-2); font-size: var(--text-xs); color: var(--ink-muted); }

@media (min-width: 1024px) {
  .import-row { grid-template-columns: 32px 1fr 1.3fr 1.6fr 1.2fr; }
  .import-row > :nth-child(4),
  .import-row > :nth-child(5) { grid-column: auto; }
  .import-row--head { display: grid; font-size: var(--text-sm); font-weight: 600; color: var(--ink-muted); }
}

/* --- Fase 2: catálogo de ejercicios -------------------------------------- */

/* Filtros en botones: una fila por dimensión, desplazable en móvil */
.filters { display: grid; gap: var(--space-2); }
.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-row__label { flex-shrink: 0; width: 64px; font-size: var(--text-sm); color: var(--ink-muted); }
a.chip { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; white-space: nowrap; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Casillas como botones seleccionables (formulario del entrenador) */
.chip-check { position: relative; display: inline-flex; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4);
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500;
}
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-check input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Rejilla de tarjetas */
.ex-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  list-style: none;
}
@media (min-width: 640px) { .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .coach-main .ex-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ex-card { display: grid; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.ex-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.ex-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ex-card__placeholder {
  display: grid; place-items: center; height: 100%;
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; color: var(--ink-muted);
}
.ex-card__badge {
  position: absolute; left: 0; bottom: 0;
  padding: 2px var(--space-2);
  background: var(--accent); color: var(--on-accent);
  font-size: var(--text-xs); font-weight: 600;
}
.ex-card__body { display: grid; gap: 2px; justify-items: start; }
.ex-card__title { font-weight: 600; line-height: 1.25; }
.ex-card__meta { font-size: var(--text-sm); color: var(--ink-muted); }
.ex-card:hover .ex-card__title { text-decoration: underline; text-underline-offset: 0.15em; }

/* Ficha del ejercicio */
.ex-video { width: 100%; max-height: 70vh; border-radius: var(--radius); background: #000; }
.ex-video--embed { aspect-ratio: 16 / 9; max-height: none; overflow: hidden; }
.ex-video--embed iframe { width: 100%; height: 100%; border: 0; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Fotos en movimiento (static/js/ex-anim.js): superpuestas y alternándose con
   un fundido, como un GIF. Sin JS o con "reducir movimiento" no se aplica. */
.ex-anim--on { position: relative; display: grid; grid-template-columns: 1fr; }
.ex-anim--on > img { grid-area: 1 / 1; opacity: 0; transition: opacity 0.25s ease-in-out; }
.ex-anim--on > img.is-on { opacity: 1; }
.ex-anim--on[hidden] { display: none; }
.photo-pair.ex-anim--on { max-width: 520px; }
.ex-anim__toggle {
  position: absolute; right: var(--space-2); bottom: var(--space-2);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff;
  font-size: 0.9rem; line-height: 1; cursor: pointer;
}
.ex-anim__toggle:hover { background: rgba(0, 0, 0, 0.8); }
.ex-anim__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #000; }

/* Pasos numerados: es una secuencia real */
.steps { display: grid; gap: var(--space-4); padding: 0; list-style: none; counter-reset: paso; }
.steps li { position: relative; padding-left: 44px; counter-increment: paso; max-width: 65ch; }
.steps li::before {
  content: counter(paso);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-display); font-weight: 700;
}

/* Formulario de ejercicio */
.ex-form { max-width: 760px; }
.photo-list { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; }
.photo-list li { display: grid; gap: var(--space-1); width: 140px; }
.photo-list img { width: 140px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ex-form .ex-video { max-height: 420px; }

/* Selector de archivos con el estilo de la app */
input[type="file"] { font: inherit; font-size: var(--text-sm); color: var(--ink-muted); max-width: 100%; }
input[type="file"]::file-selector-button {
  min-height: var(--tap);
  margin-right: var(--space-3);
  padding: 0 var(--space-4);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
}

/* --- Fase 3: sesiones ------------------------------------------------------ */
.block { display: grid; gap: var(--space-3); padding: var(--space-5) 0; border-top: 2px solid var(--ink); }
.block__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.items { display: grid; list-style: none; border-top: 1px solid var(--line); }
.item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.block { scroll-margin-top: 64px; }
.item__thumb {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 42px; overflow: hidden; border-radius: var(--radius);
  background: var(--surface-2); color: var(--ink-muted); font-family: var(--font-display); font-weight: 700;
}
.item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.item__main { display: grid; flex: 1; min-width: 0; }
.item__title { font-weight: 600; color: var(--ink); }
a.item__title { text-decoration: none; }
a.item__title:hover { text-decoration: underline; }
.item__dose { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.item__note { font-size: var(--text-sm); color: var(--ink-muted); }

/* Botones de icono (subir, bajar, editar, quitar) */
.tools { display: flex; gap: 2px; flex-shrink: 0; }
.tools form { margin: 0; }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: var(--radius); background: transparent; color: var(--ink-muted); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* En móvil, las herramientas de cada ejercicio pasan debajo para no apretar el texto */
@media (max-width: 639px) {
  .item { flex-wrap: wrap; }
  .item .tools { width: 100%; justify-content: flex-end; margin-top: calc(-1 * var(--space-2)); }
}

.check-list { display: grid; gap: var(--space-2); list-style: none; max-height: 360px; overflow-y: auto; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
/* Elementos retirados o desactivados: atenuados sin bajar del contraste mínimo (AA). */
.row--off .row__title, .row--off .row__title a { color: var(--ink-muted); }
.row--off .row__meta { color: var(--ink-muted); }
a.row__title { color: var(--ink); }
[hidden] { display: none !important; }
.block > .btn { justify-self: start; }
.tools { justify-content: flex-end; min-width: 152px; }
@media (max-width: 639px) { .tools { min-width: 0; } }

/* --- Fase 4: resumen e historial ------------------------------------------- */
.log-sets { display: grid; list-style: none; border-top: 1px solid var(--line); }
.log-set {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
}
.log-set__name { display: grid; min-width: 0; }
.log-set__inputs { display: flex; gap: var(--space-2); }
.log-set__inputs label { display: flex; align-items: center; gap: 4px; font-size: var(--text-sm); color: var(--ink-muted); }
.input--sm { width: 64px; min-height: 40px; padding: 0 var(--space-2); text-align: right; }
.log-set .field__error { grid-column: 2 / -1; }
.rpe { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.rpe .chip-check span { justify-content: center; width: 100%; padding: 0; }
@media (min-width: 640px) { .rpe { grid-template-columns: repeat(10, 1fr); } }
.rpe-badge { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }
.rpe-badge small { font-size: var(--text-sm); color: var(--ink-muted); }
.day-head { font-size: var(--text-lg); text-transform: none; }
.day-head::first-letter { text-transform: uppercase; }
.facts--row { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-6); }
.ring-link { justify-self: center; color: var(--ring-muted); }
.card--ring form { margin: 0; }

/* --- Fase 5: planes ---------------------------------------------------------- */
.plan-week { display: grid; gap: var(--space-3); margin: 0; padding: var(--space-4) 0 0; border: 0; border-top: 2px solid var(--ink); }
.plan-week legend { padding: 0; }
.plan-week h2 { font-size: var(--text-lg); }
.plan-week--now h2::after { content: " ●"; color: var(--accent-ink); }
.plan-days { display: grid; list-style: none; }
.plan-day { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: var(--space-3); min-height: 48px; border-bottom: 1px solid var(--line); }
.plan-day__name { font-size: var(--text-sm); color: var(--ink-muted); }
.plan-day__session { font-weight: 600; color: var(--ink); }
a.plan-day__session { text-decoration: none; }
a.plan-day__session:hover { text-decoration: underline; }
.plan-day--rest .plan-day__session { font-weight: 400; color: var(--ink-muted); }
.select--sm { min-height: 40px; }
@media (min-width: 1024px) {
  .plan-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2); }
  .plan-day {
    grid-template-columns: 1fr; align-content: start; gap: var(--space-1);
    min-height: 96px; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  }
  .plan-day--rest { background: transparent; border-style: dashed; }
  .plan-day .select { padding: 0 var(--space-2); font-size: var(--text-sm); }
  .plan-day__full:not(:empty) { display: block; font-size: var(--text-sm); font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
}
.plan-day__full { display: none; }
.plan-day--today .plan-day__name { color: var(--accent-ink); font-weight: 700; }
.plan-days--list { grid-template-columns: 1fr !important; }
.plan-days--list .plan-day { grid-template-columns: 120px 1fr; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.plan-days--list .plan-day__name::first-letter { text-transform: uppercase; }
.section__head > a { white-space: nowrap; }

/* --- Panel del entrenador (fase 6) --------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-5); padding: var(--space-5) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat__value small { font-size: var(--text-lg); color: var(--ink-muted); }
.alert-block { padding-left: var(--space-4); border-left: 4px solid var(--accent); }
.alert-block h2 { font-size: var(--text-lg); }
.dash-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.goal { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.goal__track { width: 96px; height: 8px; background: var(--line); overflow: hidden; }
.goal__fill { display: block; height: 100%; background: var(--ink); }
.goal--met .goal__fill { background: var(--accent); }
.goal__text { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; min-width: 3ch; text-align: right; }

/* --- Pasar lista ----------------------------------------------------------- */
.roll-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .roll-layout { grid-template-columns: 3fr 2fr; align-items: start; } }
.roll-pick { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-3); align-items: end; margin-bottom: var(--space-5); }
.roll-pick .field { margin: 0; }
@media (max-width: 600px) { .roll-pick { grid-template-columns: 1fr; } }
.roll-title { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.roll-list { max-height: none; margin-top: var(--space-3); }
.roll-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; background: var(--bg); border-top: 1px solid var(--line); margin-top: var(--space-3); }

/* --- Instalar la app (fase 7) ---------------------------------------------- */
.steps-list { display: grid; gap: var(--space-2); padding-left: 1.25rem; }
.tag--ring { background: var(--cbeg-rojo); color: #fff; margin-right: var(--space-2); }

/* --- Medallas de las sesiones asignadas ------------------------------------ */
.award { margin-top: var(--space-1); font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.award--pending { font-weight: 400; color: var(--ink-muted); }
.award--chicken { color: var(--accent-ink); }
