/* src/components/asistencia/ResumenProceso.css */
.attendance-process {
  text-align: left;
  background: #fff;
  border: 1px solid #d6e4df;
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 24px;
  color: #23463f;
  line-height: 1.7;
  min-width: 0;
}
.attendance-process * {
  box-sizing: border-box;
}
.attendance-process h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 8px 0;
}
.attendance-process p {
  font-size: 14px;
  margin: 8px 0;
}
.ap-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.attendance-process .ap-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #4d7567;
}
.ap-badge {
  font-size: 12px;
  white-space: nowrap;
  border-radius: 20px;
  padding: 5px 12px;
  background: #edf4ee;
}
.ap-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.ap-counts > div {
  padding: 16px;
  border: 1px solid #dfebe5;
  border-radius: 14px;
  background: #f5f8f4;
}
.ap-counts strong,
.ap-counts span {
  display: block;
}
.ap-counts strong {
  font-size: 27px;
  line-height: 1.2;
}
.ap-counts span {
  font-size: 12px;
  margin-top: 7px;
}
.ap-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.ap-progress progress {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  background: #e4eae5;
  margin-top: 10px;
}
.ap-progress progress::-webkit-progress-bar {
  background: #e4eae5;
}
.ap-progress progress::-webkit-progress-value {
  background: #348369;
}
.ap-progress progress::-moz-progress-bar {
  background: #348369;
}
.ap-progress p {
  font-size: 12px;
  color: #566c64;
}
.ap-next {
  margin-top: 20px;
  border-radius: 16px;
  background: #edf5ef;
  padding: 18px;
}
.ap-next h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.ap-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ap-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #2c7059;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.ap-actions a:first-child {
  background: #2c7059;
  color: white;
}
.attendance-process .ap-pending {
  font-size: 13px;
  padding: 12px 16px;
  border-left: 3px solid #c8a453;
  background: #fffaf0;
  margin-top: 18px;
}
.attendance-process details {
  border-top: 1px solid #e0e8e2;
  margin-top: 20px;
  padding-top: 10px;
}
.attendance-process summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
}
.attendance-process details p {
  font-size: 13px;
  margin: 12px 0;
}
.ap-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.ap-months button {
  text-align: left;
  border: 1px solid #d2e1d6;
  border-radius: 12px;
  padding: 16px;
  background: #f7faf6;
  min-height: 110px;
  color: #23463f;
}
.ap-months strong,
.ap-months span,
.ap-months small {
  display: block;
}
.ap-months span {
  font-size: 13px;
  margin: 8px 0;
}
.ap-months small {
  font-size: 11px;
}
.attendance-process :focus-visible {
  outline: 3px solid #39836b;
  outline-offset: 3px;
}
@media (max-width:600px) {
  .attendance-process {
    padding: 18px 15px;
    border-radius: 16px;
  }
  .attendance-process h2 {
    font-size: 21px;
  }
  .ap-header {
    display: block;
  }
  .ap-badge {
    display: inline-block;
    margin-top: 8px;
  }
  .ap-counts {
    gap: 8px;
    margin: 18px 0;
  }
  .ap-counts > div {
    padding: 12px 9px;
  }
  .ap-counts strong {
    font-size: 24px;
  }
  .ap-counts span {
    font-size: 11px;
    line-height: 1.5;
  }
  .ap-next {
    padding: 16px;
  }
  .ap-actions {
    flex-direction: column;
  }
  .ap-months {
    grid-template-columns: 1fr;
  }
  .ap-months button {
    min-height: 92px;
  }
}
@media (max-width:600px) {
  .attendance-process ~ div .aspect-square {
    aspect-ratio: auto;
    min-width: 0;
    width: 100%;
  }
}
