/* ═══════════════════════════════════
   SECCIÓN ENCABEZADO DE PÁGINA
   ═══════════════════════════════════ */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.page-header-left h2 { font-size: 19px; font-weight: 700; color: var(--g800); }
.page-header-left p  { font-size: 12.5px; color: var(--g400); margin-top: 2px; }

/* ═══════════════════════════════════
   BOLETIN — TABLA DE COMPETENCIAS
   ═══════════════════════════════════ */
.boletin-wrap {
  background: var(--g0);
  border: 1px solid var(--g150);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-bottom: 14px;
}

.bol-header {
  background: linear-gradient(135deg, #0A2555, #1B4FD8);
  color: #fff;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.bol-header-left .name {
  font-size: 16px; font-weight: 700; color: #fff;
}
.bol-header-left .meta { font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: 3px; }
.bol-status-chip {
  font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,.15);
  color: #fff; border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.bol-status-chip.promovido { background: rgba(5,150,105,.25); border-color: rgba(5,150,105,.5); }
.bol-sub { font-size: 10px; color: rgba(255,255,255,.45); margin-top: 3px; }

.bol-legend {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px 20px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--g150);
}
.bol-period-chip {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary-dark);
  border: 1px solid var(--primary-mid);
}
.bol-legend-note { font-size: 11px; color: var(--g400); margin-left: 8px; display: flex; align-items: center; gap: 5px; }

/* Inputs de la tabla de competencias */
.nota-input {
  width: 36px;
  padding: 3px 1px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  display: block;
  margin: 0 auto;
  -moz-appearance: textfield;
  border-radius: 3px;
  cursor: pointer;
}
.nota-input::-webkit-inner-spin-button,
.nota-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nota-input:focus {
  background: rgba(255,255,255,.7);
  box-shadow: 0 0 0 2px rgba(27,79,216,.3);
  border-radius: 4px;
}

.asist-input {
  width: 34px;
  padding: 2px 1px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 11px; font-weight: 600;
  color: inherit;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  -moz-appearance: textfield;
}
.asist-input::-webkit-inner-spin-button,
.asist-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ═══════════════════════════════════
   PROGRESS BARS
   ═══════════════════════════════════ */
.prog-row { margin-bottom: 12px; }
.prog-head { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.prog-label { color: var(--g600); font-weight: 500; }
.prog-val   { color: var(--g700); font-weight: 700; }
.prog-track { height: 7px; background: var(--g100); border-radius: 4px; overflow: hidden; }
.prog-fill  { height: 100%; border-radius: 4px; }

/* ═══════════════════════════════════
   LEGEND
   ═══════════════════════════════════ */
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--g500); }
.legend-dot  { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* ═══════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════ */
.empty { text-align: center; padding: 40px 20px; color: var(--g400); }
.empty i { font-size: 36px; margin-bottom: 10px; display: block; opacity: .5; }
.empty h4 { font-size: 14px; color: var(--g500); margin-bottom: 6px; }
.empty p  { font-size: 12.5px; }

/* ═══════════════════════════════════
   INFO ROWS
   ═══════════════════════════════════ */
.info-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--g100); }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 12px; color: var(--g400); flex-shrink: 0; width: 150px; font-weight: 500; }
.info-val   { font-size: 13px; color: var(--g700); font-weight: 500; }
.info-val[contenteditable="true"] {
  background: var(--g50); border: 1px dashed var(--primary);
  border-radius: 6px; padding: 3px 8px; outline: none; cursor: text;
}

