/* The enrollment-help finder (templates/ayuda/index.html). Kit tokens only; 44px targets; the call
   button is the one solid action on each card. Two columns from 64rem: results, then the
   assister-or-agent box and the fraud warning. */

.ayuda-form { margin: 8px 0 28px; padding: 18px; border: 1px solid var(--color-line); border-radius: 18px; background: var(--color-surface-2); }
.ayuda-form__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.ayuda-form__field { display: grid; gap: 6px; flex: 1 1 220px; font-size: 15px; font-weight: 600; color: var(--color-ink); }
.ayuda-form__field input { min-height: 52px; padding: 10px 14px; border: 1px solid var(--color-line-strong); border-radius: 14px; background: var(--color-card); font-size: 19px; letter-spacing: 0.04em; }
.ayuda-form__submit { min-height: 52px; padding-inline: 24px; font-size: 17px; }
.ayuda-form__check { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 8px; font-size: 16px; }
.ayuda-form__check input { width: 22px; height: 22px; }
.ayuda-form__error { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--color-bad); }

.ayuda-layout { display: grid; gap: 28px; }
@media (min-width: 64rem) { .ayuda-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.ayuda-results h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.ayuda-grid { display: grid; gap: 16px; }
@media (min-width: 48rem) { .ayuda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ayuda-card { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border: 1px solid var(--color-line); border-radius: 18px; background: var(--color-card); }
.ayuda-card h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: 21px; line-height: 1.2; }
.ayuda-card p { margin: 0; }
.ayuda-card__org, .ayuda-card__where { font-size: 15px; line-height: 1.45; color: var(--color-muted); }
.ayuda-card__call { display: flex; min-height: 48px; justify-content: center; font-size: 17px; }
.ayuda-card__hours { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; color: var(--color-ink); }

.ayuda-notice { margin: 0 0 20px; padding: 18px 20px; border-left: 4px solid var(--color-brand); border-radius: 14px; background: var(--color-brand-50); }
.ayuda-notice p { margin: 0 0 12px; }
.ayuda-notice p:last-child { margin: 0; }
.ayuda-phone { margin: 16px 0 0; font-size: 17px; }

.ayuda-box { padding: 18px 20px; border: 1px solid var(--color-line); border-radius: 18px; background: var(--color-card); font-size: 15px; line-height: 1.5; }
.ayuda-box + .ayuda-box { margin-top: 16px; }
.ayuda-box h2 { margin: 0 0 10px; font-size: 19px; }
.ayuda-box p { margin: 0 0 10px; }
.ayuda-box blockquote { margin: 0 0 12px; padding: 2px 0 2px 12px; border-left: 3px solid var(--color-accent); }
.ayuda-box blockquote p { margin: 0 0 6px; }
.ayuda-box--warn { background: var(--color-surface-2); }
.ayuda-src, .ayuda-method { font-size: 15px; color: var(--color-muted); }
.ayuda-dates { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-surface-2); font-size: 16px; line-height: 1.5; }

/* /fechas-para-inscribirse/ (templates/ayuda/fechas.html). The reader's own card leads: the status
   line is the largest text on the page, the three dates sit under it as a short list, and the one
   solid button goes to the marketplace. The 22-state table stacks into cards on a phone. */
.ayuda-form select { min-height: 52px; padding: 10px 14px; border: 1px solid var(--color-line-strong); border-radius: 14px; background: var(--color-card); font-size: 18px; color: var(--color-ink); }
.fechas-main, .fechas-table { min-width: 0; }
/* Phone: card, the three short boxes, then the long table. Desktop: card and table in the main
   column, the boxes in the rail beside both. */
@media (min-width: 64rem) {
  .fechas-layout { grid-template-areas: "card aside" "table aside"; }
  .fechas-layout > .fechas-main { grid-area: card; }
  .fechas-layout > .ayuda-aside { grid-area: aside; }
  .fechas-layout > .fechas-table { grid-area: table; }
}
.fechas-card { display: grid; gap: 12px; padding: 22px 24px; border: 1px solid var(--color-line); border-left: 6px solid var(--color-brand); border-radius: 18px; background: var(--color-card); }
.fechas-card--closed { border-left-color: var(--color-bad); }
.fechas-card--soon { border-left-color: var(--color-accent); }
.fechas-card p { margin: 0; }
.fechas-card__title { margin: 0; font-size: 22px; line-height: 1.25; }
.fechas-card__lead { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: 26px; line-height: 1.2; color: var(--color-ink); }
.fechas-card__jan1 { font-size: 18px; line-height: 1.45; font-weight: 600; }
.fechas-card__dates { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--color-line); }
.fechas-card__dates div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.fechas-card__dates dt { font-size: 16px; color: var(--color-muted); }
.fechas-card__dates dd { margin: 0; font-size: 17px; font-weight: 600; }
.fechas-card__note { font-size: 16px; line-height: 1.5; }
.fechas-card__go { display: inline-flex; min-height: 48px; align-items: center; font-size: 17px; }
.fechas-card__src { font-size: 15px; color: var(--color-muted); }
.fechas-card__src summary { display: flex; min-height: 44px; align-items: center; cursor: pointer; }
.fechas-card__src blockquote { margin: 4px 0 8px; padding: 2px 0 2px 12px; border-left: 3px solid var(--color-accent); color: var(--color-ink); }

.fechas-table h2 { margin: 0 0 8px; font-size: 24px; }
.fechas-table > p { margin: 0 0 16px; }
.fechas-tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
.fechas-tabla th, .fechas-tabla td { padding: 12px 10px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.fechas-tabla thead th { font-size: 15px; color: var(--color-muted); font-weight: 600; }
.fechas-tabla tbody th a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.fechas-tabla tbody th span { display: block; font-size: 15px; font-weight: 400; color: var(--color-muted); }
@media (max-width: 39.99rem) {
  .fechas-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fechas-tabla, .fechas-tabla tbody, .fechas-tabla tr, .fechas-tabla th, .fechas-tabla td { display: block; }
  .fechas-tabla tr { padding: 6px 0 10px; border-bottom: 1px solid var(--color-line); }
  .fechas-tabla th, .fechas-tabla td { padding: 4px 0; border: 0; }
  .fechas-tabla td { display: flex; justify-content: space-between; gap: 12px; }
  .fechas-tabla td::before { content: attr(data-label); color: var(--color-muted); }
}
