/* v1.01 — Listas completas de asistentes y soporte operativo para eventos de varios días. */

[data-admin-table-row][hidden] {
  display: none !important;
}

.attendance-overview-intro-v101 {
  align-items: center;
}

.attendance-overview-cards-v101 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.attendance-overview-cards-v101 article {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e1e8f3;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%);
  box-shadow: 0 12px 28px rgba(28, 42, 78, .055);
}

.attendance-overview-cards-v101 article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #24558d, #59418f);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.attendance-overview-cards-v101 strong,
.attendance-overview-cards-v101 small {
  display: block;
}

.attendance-overview-cards-v101 strong {
  color: var(--navy-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.attendance-overview-cards-v101 small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .82rem;
}

.attendance-list-section-v101 + .attendance-list-section-v101 {
  margin-top: 1.35rem;
}

.attendance-section-heading-v101 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .95rem;
}

.attendance-section-heading-v101 h2 {
  margin: .15rem 0 .3rem;
}

.attendance-table-wrap-v101 {
  overflow-x: auto;
}

.attendance-table-wrap-v101 table {
  min-width: 1040px;
}

.attendance-row-actions-v101 {
  display: flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.attendance-page-v101 {
  display: grid;
  gap: 1rem;
}

.attendance-hero-v101,
.attendance-list-hero-v101 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.attendance-hero-actions-v101 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  min-width: 210px;
}

.attendance-day-picker-v101 {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e1e7f2;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%);
}

.attendance-day-picker-v101 h2 {
  margin: .15rem 0 .3rem;
  color: var(--navy-deep);
  font-size: 1.08rem;
}

.attendance-day-picker-v101 p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.attendance-day-chips-v101 {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .2rem 0;
}

.attendance-day-chip-v101 {
  flex: 0 0 auto;
  min-width: 155px;
  padding: .68rem .8rem;
  border: 1px solid #dce4f1;
  border-radius: 16px;
  background: #fff;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.attendance-day-chip-v101:hover,
.attendance-day-chip-v101.is-active {
  transform: translateY(-1px);
  border-color: rgba(83, 65, 137, .55);
  box-shadow: 0 12px 24px rgba(43, 40, 92, .1);
}

.attendance-day-chip-v101.is-active {
  background: linear-gradient(135deg, #f8f5ff 0%, #eee8ff 100%);
}

.attendance-day-chip-v101 span,
.attendance-day-chip-v101 strong {
  display: block;
}

.attendance-day-chip-v101 span {
  color: #665695;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.attendance-day-chip-v101 strong {
  margin-top: .18rem;
  font-size: .84rem;
}

.attendance-field-help-v101 {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
}

.attendance-view-list-v101 {
  margin-top: .85rem;
}

.attendance-list-page-v101 {
  display: grid;
  gap: 1.1rem;
}

.attendance-list-hero-v101 {
  padding: 1.25rem 1.35rem;
  border: 1px solid #dde5f1;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f5f1ff 100%);
  box-shadow: 0 18px 40px rgba(28, 42, 78, .06);
}

.attendance-list-hero-v101 h1 {
  margin: .18rem 0 .45rem;
  color: var(--navy-deep);
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

.attendance-list-hero-v101 > div:first-child > p:not(.eyebrow) {
  max-width: 850px;
  color: #42516f;
}

.attendance-day-summary-v101 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
}

.attendance-day-summary-card-v101 {
  display: grid;
  gap: .25rem;
  min-height: 128px;
  padding: .9rem 1rem;
  border: 1px solid #e1e7f2;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 42, 78, .045);
}

.attendance-day-summary-card-v101.is-active,
.attendance-day-summary-card-v101.is-total {
  border-color: rgba(83, 65, 137, .4);
  background: linear-gradient(135deg, #fff 0%, #f5f0ff 100%);
}

.attendance-day-summary-card-v101 > span {
  color: #675794;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.attendance-day-summary-card-v101 > strong {
  color: var(--navy-deep);
  font-size: 1.75rem;
  line-height: 1;
}

.attendance-day-summary-card-v101 > small {
  color: var(--muted);
  font-size: .76rem;
}

.attendance-day-summary-card-v101 > a {
  align-self: end;
  width: fit-content;
  margin-top: .35rem;
  color: #49397c;
  font-size: .76rem;
  font-weight: 850;
}

.attendance-list-console-v101 {
  overflow: hidden;
}

.attendance-list-toolbar-v101 {
  grid-template-columns: minmax(290px, 1.25fr) minmax(210px, .8fr) 130px minmax(190px, .7fr);
  align-items: end;
}

.attendance-full-table-wrap-v101 {
  overflow-x: auto;
}

.attendance-full-table-v101 {
  min-width: 1380px;
}

.attendance-full-table-v101 th:nth-child(1) { width: 115px; }
.attendance-full-table-v101 th:nth-child(2) { width: 210px; }
.attendance-full-table-v101 th:nth-child(3) { width: 210px; }
.attendance-full-table-v101 th:nth-child(4) { width: 190px; }
.attendance-full-table-v101 th:nth-child(5) { width: 190px; }
.attendance-full-table-v101 th:nth-child(6) { width: 160px; }
.attendance-full-table-v101 th:nth-child(7) { width: 165px; }
.attendance-full-table-v101 th:nth-child(8) { width: 230px; }

.attendance-full-table-v101 td {
  vertical-align: top;
}

.attendance-full-table-v101 td strong,
.attendance-full-table-v101 td small {
  display: block;
}

.attendance-full-table-v101 td small {
  margin-top: .2rem;
  color: var(--muted);
  line-height: 1.35;
}

.attendance-date-badge-v101 {
  display: inline-flex;
  padding: .32rem .55rem;
  border-radius: 999px;
  background: #eee9ff;
  color: #4d3d81;
  font-size: .75rem;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .attendance-list-toolbar-v101 {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .attendance-day-picker-v101 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .attendance-overview-cards-v101 {
    grid-template-columns: 1fr;
  }

  .attendance-hero-v101,
  .attendance-list-hero-v101 {
    flex-direction: column;
  }

  .attendance-hero-actions-v101 {
    justify-content: flex-start;
    width: 100%;
  }

  .attendance-hero-actions-v101 .button {
    flex: 1 1 180px;
  }

  .attendance-list-toolbar-v101 {
    grid-template-columns: 1fr;
  }

  .attendance-row-actions-v101 {
    flex-direction: column;
    align-items: stretch;
  }
}
