/* EduTrack — «Listado extracurriculares» (SIS). Ver docs/servicios-conexos/EXTRACURRICULARES_VISTA.md */
.exc-wrap { padding: 24px 28px; }
.exc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.exc-head h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.4px; margin: 0; }
.exc-sub { color: #6b6b6b; font-size: 14px; }
.exc-input { margin-left: auto; padding: 8px 12px; border: 1px solid #d8d8d8; border-radius: 10px; font: inherit; min-width: 220px; }
.exc-head-tools { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.exc-head-tools .exc-input { margin-left: 0; }
.exc-est-buscador { position: relative; display: flex; }
.exc-est-sugs { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff;
  border: 1px solid #d8d8d8; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.1);
  max-height: 280px; overflow: auto; z-index: 20; }
.exc-est-sug { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%;
  text-align: left; padding: 9px 12px; border: none; border-top: 1px solid #f0f0f0; background: none; cursor: pointer; font: inherit; }
.exc-est-sug:first-child { border-top: none; }
.exc-est-sug:hover { background: #f6f6f6; }
.exc-est-sug-meta { color: #8a8a8a; font-size: 12px; white-space: nowrap; }
.exc-est-sug-empty { padding: 10px 12px; color: #8a8a8a; font-size: 13px; }
.exc-est-card { max-width: 560px; }
.exc-est-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 16px 0 4px; }
.exc-est-field dt { font-size: 12px; color: #6b6b6b; margin-bottom: 2px; }
.exc-est-field dd { margin: 0; font-size: 14px; word-break: break-word; }
@media (max-width: 560px) { .exc-est-fields { grid-template-columns: 1fr; } }
.exc-dias { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.exc-dia-btn { border: 1px solid #ddd; background: #fff; border-radius: 20px; padding: 6px 14px;
  font-size: 12.5px; font: inherit; cursor: pointer; color: #4b5563; }
.exc-dia-btn:hover { background: #f3f3f3; }
.exc-dia-btn.sel { border-color: #1f9254; background: #eaf6ee; color: #1f9254; font-weight: 600; }
.exc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.exc-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px 18px; background: #fff;
  border: 1px solid #e3e3e3; border-radius: 14px; cursor: pointer; font: inherit; }
.exc-card:hover { border-color: #b9b9b9; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.exc-card-title { font-weight: 600; font-size: 15px; }
.exc-card-days { color: #6b6b6b; font-size: 13px; }
.exc-card-count { margin-top: 4px; font-size: 14px; }
.exc-card--vacia { background: #fafafa; }
.exc-card--vacia .exc-card-count { color: #8a8a8a; font-style: italic; }
.exc-empty { color: #6b6b6b; padding: 12px 0; }
.exc-modal-card { max-width: 1200px; }
.exc-tools { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.exc-tools .exc-input { margin-left: 0; flex: 1; }
.exc-btn { padding: 8px 14px; border: 1px solid #d8d8d8; border-radius: 10px; background: #fff; cursor: pointer; font: inherit; }
.exc-btn:hover { background: #f3f3f3; }
.exc-tablewrap { overflow: auto; max-height: calc(100vh - 300px); border: 1px solid #e3e3e3; border-radius: 12px; }
.exc-table { border-collapse: collapse; width: 100%; font-size: 13px; white-space: nowrap; }
.exc-table th { position: sticky; top: 0; background: #f6f6f6; text-align: left; padding: 8px 12px; font-weight: 600; }
.exc-table td { padding: 7px 12px; border-top: 1px solid #eee; }
@media (max-width: 700px) { .exc-wrap { padding: 16px 12px; } .exc-input { margin-left: 0; width: 100%; } }
