/**
 * SACAU Aula — estilos propios (familia visual del convertidor SACAU CRE).
 */
.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  background: #fff;
  color: var(--inst-dark);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--inst);
  margin-bottom: 0.35rem;
}

.pair-note {
  margin-top: 0.75rem !important;
  padding: 0.65rem 0.85rem;
  background: rgba(13, 110, 79, 0.08);
  border: 1px solid rgba(13, 110, 79, 0.18);
  border-radius: 8px;
  color: var(--inst-dark);
  max-width: none;
}

.pair-note a {
  font-weight: 700;
}

.origin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 1.35rem 1rem;
  border: 2px dashed rgba(122, 21, 50, 0.35);
  border-radius: var(--radius);
  background: #faf7f8;
  cursor: pointer;
  text-align: center;
  color: var(--inst-dark);
}

.dropzone strong {
  font-size: 1.05rem;
}

.dropzone span {
  font-size: 0.88rem;
  color: var(--soft);
}

.dropzone:hover,
.dropzone.is-drag {
  border-color: var(--inst);
  background: rgba(122, 21, 50, 0.06);
}

#pickAsig {
  min-height: 14rem;
  width: 100%;
}

.plan-picker .field {
  margin-top: 0.75rem;
}

.metrics-aula {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.metric .hint {
  display: block;
  font-size: 0.75rem;
  color: var(--soft);
  margin-top: 0.2rem;
}

.week-bar {
  display: flex;
  height: 1.35rem;
  border-radius: 999px;
  overflow: hidden;
  background: #ebe4e7;
  margin: 0.75rem 0 0.35rem;
}

.week-bar span {
  display: block;
  height: 100%;
}

.week-bar .ip {
  background: var(--green);
}

.week-bar .ta {
  background: var(--inst);
}

.week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--soft);
}

.week-legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

.week-legend .ip {
  background: var(--green);
}

.week-legend .ta {
  background: var(--inst);
}

.ficha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem 1rem;
}

.ficha-grid .field.wide {
  grid-column: 1 / -1;
}

.check-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--inst-dark);
}

.plantilla-tag {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--inst);
}

tr.is-plantilla textarea,
tr.is-plantilla input[type="text"] {
  background: #faf7f8;
}

.act-toolbar,
.ra-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.85rem;
}

.ia-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.ia-pill.rojo {
  background: #fde8ec;
  color: var(--err);
}

.ia-pill.amarillo {
  background: #fff4d6;
  color: var(--warn);
}

.ia-pill.verde {
  background: #e8f5ef;
  color: var(--ok);
}

tr.ia-rojo {
  background: rgba(155, 28, 46, 0.04);
}

.act-desc {
  font-size: 0.82rem;
  color: var(--soft);
  max-width: 28rem;
  white-space: normal;
}

.redesign-box {
  margin-top: 0.45rem;
  padding: 0.55rem 0.7rem;
  background: #fff8e8;
  border-left: 4px solid var(--warn);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #5c4a12;
  white-space: normal;
}

.redesign-box strong {
  display: block;
  margin-bottom: 0.2rem;
}

.table-wrap.act-table {
  max-height: none;
}

.table-wrap.act-table td,
.table-wrap.act-table th {
  white-space: normal;
  vertical-align: top;
}

.table-wrap.act-table td input[type="text"],
.table-wrap.act-table td textarea,
.ra-table td textarea {
  width: 100%;
  min-width: 8rem;
}

.ra-table textarea {
  min-height: 4.2rem;
  resize: vertical;
  font: inherit;
  padding: 0.35rem 0.45rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contrato-ia {
  width: 100%;
  min-height: 14rem;
  resize: vertical;
  font: inherit;
  line-height: 1.45;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(122, 21, 50, 0.18);
  border-radius: 8px;
}

.export-bar[hidden] {
  display: none !important;
}

.plan-picker {
  display: none;
  margin-top: 0.85rem;
}

.plan-picker.is-open {
  display: block;
}

.btn-aula {
  background: var(--green);
  color: #fff;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
}

.btn-aula:hover {
  background: #095c42;
  color: #fff;
}

.btn-tiny {
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
}

td .btn-tiny,
td .btn-aula,
td .btn-secondary {
  margin: 0.1rem 0.15rem 0.1rem 0;
}

.score-line {
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
}

.score-line strong {
  font-family: var(--display);
}

#notasCatedra {
  width: 100%;
  min-height: 6rem;
  resize: vertical;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(122, 21, 50, 0.18);
  border-radius: 8px;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}
