/* ═══════════════════════════════════════
   PLANNOVA — CSS
   Colores: Verde (#1B7A3E), Amarillo (#F5C518), Rojo (#C0392B)
═══════════════════════════════════════ */

:root {
  --verde:       #1B7A3E;
  --verde-dark:  #145c2e;
  --verde-light: #e8f5ee;
  --verde-mid:   #2ecc71;
  --amarillo:    #F5C518;
  --amarillo-dark: #d4a800;
  --rojo:        #C0392B;
  --rojo-dark:   #992d22;
  --blanco:      #ffffff;
  --gris-bg:     #f4f7f4;
  --gris-borde:  #d8e8de;
  --texto:       #1a2e22;
  --texto-mid:   #4a6455;
  --texto-light: #8aaa96;
  --sombra:      0 4px 24px rgba(27,122,62,0.13);
  --sombra-lg:   0 8px 40px rgba(27,122,62,0.18);
  --radius:      14px;
  --radius-sm:   8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--gris-bg);
  color: var(--texto);
  min-height: 100vh;
}

/* ── SCREENS ── */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }

/* ── AUTH LAYOUT ── */
.auth-bg {
  min-height: 100vh;
  display: flex;
}

.auth-left {
  width: 42%;
  background: linear-gradient(145deg, var(--verde-dark) 0%, var(--verde) 60%, #27ae60 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -80px; left: -80px;
}
.auth-left::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(245,197,24,0.15);
  border-radius: 50%;
  bottom: 60px; right: -60px;
}

.brand-panel { text-align: center; position: relative; z-index: 2; }

.brand-logo-big {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: -1px;
  color: white;
  margin-bottom: 1rem;
}

.logo-p {
  color: var(--amarillo);
  font-weight: 900;
}
.logo-rest { color: white; font-weight: 900; }

.brand-tagline {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  font-family: 'Lora', serif;
  font-style: italic;
  line-height: 1.6;
}

.brand-deco {
  width: 60px; height: 4px;
  background: var(--amarillo);
  border-radius: 2px;
  margin: 1.5rem auto 0;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--blanco);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
}

.mobile-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.auth-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 0.3rem;
}

.auth-sub {
  color: var(--texto-light);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

/* ── INPUTS ── */
.input-group-pn {
  display: flex;
  align-items: center;
  background: var(--gris-bg);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
.input-group-pn:focus-within {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(27,122,62,0.12);
}
.input-group-pn i {
  color: var(--verde);
  margin-right: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}
.pn-input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 11px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--texto);
  outline: none;
}
.pn-input::placeholder { color: var(--texto-light); }

.form-label {
  font-size: 0.82rem;
  color: var(--texto-mid);
  margin-bottom: 6px;
  display: block;
}

/* ── BUTTONS ── */
.btn-pn-primary {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-pn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,122,62,0.35);
}
.btn-pn-primary:active { transform: translateY(0); }

.btn-lg-pn { padding: 14px 32px; font-size: 1rem; }
.btn-sm-pn { padding: 8px 16px; font-size: 0.82rem; }

.btn-pn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
}
.btn-pn-outline:hover { background: var(--verde-light); }

.btn-pn-outline-sm {
  background: transparent;
  color: var(--verde);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background .15s;
  display: inline-flex;
  align-items: center;
}
.btn-pn-outline-sm:hover { background: var(--verde-light); }

.link-verde { color: var(--verde); font-weight: 600; text-decoration: none; }
.link-verde:hover { text-decoration: underline; }

/* ── NAVBAR ── */
.pn-navbar {
  background: white;
  box-shadow: 0 2px 12px rgba(27,122,62,0.10);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-user {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto-mid);
}

/* ── DASHBOARD ── */
.dashboard-hero {
  background: linear-gradient(135deg, var(--verde-dark) 0%, var(--verde) 70%, #27ae60 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.dashboard-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -150px; right: -100px;
}
.dashboard-hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(245,197,24,0.12);
  border-radius: 50%;
  bottom: -60px; left: 10%;
}

.dashboard-greeting {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.dashboard-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .dashboard-title { font-size: 1.8rem; }
}

.dashboard-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
}

/* illustration */
.dashboard-illustration {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ill-circle-1 {
  position: absolute;
  width: 180px; height: 180px;
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}
.ill-circle-2 {
  position: absolute;
  width: 130px; height: 130px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.ill-icon {
  font-size: 4rem;
  color: var(--amarillo);
  position: relative;
  z-index: 2;
}

/* stat cards */
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--sombra);
  border-left: 4px solid var(--verde);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-lg); }

.stat-icon {
  width: 52px; height: 52px;
  background: var(--verde-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--verde);
  flex-shrink: 0;
}
.stat-icon-yellow { background: #fef9e7; color: var(--amarillo-dark); }
.stat-icon-red { background: #fdf0ef; color: var(--rojo); }

.stat-num { font-size: 1.5rem; font-weight: 900; color: var(--texto); }
.stat-label { font-size: 0.8rem; color: var(--texto-light); font-weight: 600; }

/* ── QUESTIONS SCREEN ── */
.questions-header {}
.questions-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--verde-dark);
}
.questions-sub { color: var(--texto-mid); font-size: 0.95rem; }

.progress-pn { display: flex; align-items: center; gap: 1rem; }
.progress-track {
  flex: 1;
  height: 8px;
  background: var(--gris-borde);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--verde), var(--verde-mid));
  border-radius: 4px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  width: 9%;
}
.progress-label { font-size: 0.8rem; font-weight: 700; color: var(--texto-mid); white-space: nowrap; }

.question-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--sombra);
  border-top: 4px solid var(--verde);
  animation: slideIn .35s ease;
}
@keyframes slideIn {
  from { opacity:0; transform: translateX(30px); }
  to   { opacity:1; transform: translateX(0); }
}

.question-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--verde);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.question-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.question-hint {
  font-size: 0.85rem;
  color: var(--texto-light);
  margin-bottom: 1.5rem;
  font-family: 'Lora', serif;
  font-style: italic;
}

.pn-textarea {
  width: 100%;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  color: var(--texto);
  resize: vertical;
  min-height: 100px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--gris-bg);
}
.pn-textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(27,122,62,0.12);
  background: white;
}

.pn-select {
  width: 100%;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  color: var(--texto);
  outline: none;
  background: var(--gris-bg);
  cursor: pointer;
  transition: border-color .2s;
}
.pn-select:focus { border-color: var(--verde); }

/* ── GENERATING SCREEN ── */
.generating-bg {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--verde-dark) 0%, var(--verde) 60%, #219150 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.generating-content { max-width: 480px; width: 100%; }

.gen-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: white;
}

.gen-spinner {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  width: 100px; height: 100px;
  border: 3px solid transparent;
  border-top-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
.ring2 {
  width: 76px; height: 76px;
  border-top-color: var(--amarillo);
  animation-duration: 0.9s;
  animation-direction: reverse;
}
.ring3 {
  width: 52px; height: 52px;
  border-top-color: rgba(255,255,255,0.4);
  animation-duration: 1.5s;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gen-icon {
  font-size: 1.6rem;
  color: white;
  position: relative;
  z-index: 2;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.gen-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.gen-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-family: 'Lora', serif;
  font-style: italic;
}

.gen-steps { text-align: left; }

.gen-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .4s, transform .4s;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.gen-step.visible { opacity: 1; transform: translateX(0); }

.gen-step i {
  font-size: 1rem;
  color: var(--amarillo);
  flex-shrink: 0;
}

/* ── RESULT / PLANEACIÓN ── */
.plan-wrapper {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.plan-header {
  background: linear-gradient(135deg, var(--verde-dark), var(--verde));
  color: white;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.plan-header::after {
  content: '';
  position: absolute;
  width: 150px; height: 150px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  bottom: -60px; right: 40px;
}

.plan-inst {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 0.3rem;
}

.plan-main-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.plan-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.plan-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.plan-body { padding: 2rem 2.5rem; }

@media (max-width: 576px) {
  .plan-body { padding: 1.2rem 1rem; }
  .plan-header { padding: 1.5rem 1.2rem; }
}

.plan-section {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s, transform .5s;
}
.plan-section.visible { opacity: 1; transform: translateY(0); }

.plan-section-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  border-bottom: 2px solid var(--verde-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.plan-field {
  margin-bottom: 1rem;
}
.plan-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--texto-mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.3rem;
}
.plan-field-value {
  font-size: 0.92rem;
  color: var(--texto);
  line-height: 1.6;
}

.plan-badge {
  display: inline-block;
  background: var(--verde-light);
  color: var(--verde-dark);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 2px;
}

/* Momentos didácticos */
.momento-card {
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}
.momento-header {
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.momento-body {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--texto);
  background: white;
}

.momento-exploracion .momento-header { background: #e8f5ee; color: var(--verde-dark); }
.momento-estructura .momento-header  { background: #fef9e7; color: #7a5c00; }
.momento-practica .momento-header    { background: #eaf4fb; color: #1a5276; }
.momento-transferencia .momento-header { background: #fdf0ef; color: var(--rojo-dark); }
.momento-valoracion .momento-header  { background: #f3f0fb; color: #4a235a; }

.criterios-list li {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   TABLA INSTITUCIONAL — FORMATO PLAN
══════════════════════════════════════ */

/* Encabezado institucional */
.pf-encabezado {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 3px solid var(--verde);
  background: white;
}
.pf-enc-logo { flex-shrink: 0; }
.pf-enc-escudo { font-size: 2.5rem; }
.pf-enc-texto { flex: 1; }
.pf-enc-inst {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--verde-dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.pf-enc-sub {
  font-size: 0.72rem;
  color: var(--texto-mid);
  margin-top: 2px;
}
.pf-enc-plannova {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  text-align: right;
  flex-shrink: 0;
}

/* Tabla principal */
.pf-tabla {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
}

.pf-tabla td {
  border: 1.5px solid #b5d4c0;
  vertical-align: top;
  padding: 6px 10px;
  line-height: 1.5;
}

/* Título principal */
.pf-td-titulo-principal {
  background: var(--verde-dark) !important;
  color: white !important;
  text-align: center;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px !important;
}

/* Headers de bloque grande */
.pf-td-bloque-header {
  background: var(--verde) !important;
  color: white !important;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-align: center;
  padding: 7px 10px !important;
}

/* Sub-bloques */
.pf-td-subbloque-header {
  background: #c8e6d4 !important;
  color: var(--verde-dark) !important;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  text-align: center;
  padding: 6px 10px !important;
}

/* Etiquetas (celda izquierda con nombre del campo) */
.pf-td-label {
  background: #f0f8f3 !important;
  font-weight: 700;
  color: var(--verde-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  vertical-align: middle !important;
}

/* Valores */
.pf-td-value {
  background: white !important;
  color: var(--texto);
  font-size: 0.82rem;
}

/* Encabezados de columnas práxis */
.pf-td-col-header {
  background: var(--amarillo) !important;
  color: #5a3e00 !important;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  vertical-align: middle !important;
}

/* Celda de tiempo */
.pf-td-tiempo {
  background: #f9f9f9 !important;
  text-align: center;
  color: var(--texto-mid);
  font-size: 0.75rem;
  vertical-align: middle !important;
}

/* Celdas de proceso didáctico */
.pf-td-proceso {
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
  vertical-align: middle !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pf-proceso-exploracion    { background: #e8f5ee !important; color: var(--verde-dark); }
.pf-proceso-estructuracion { background: #fef9e7 !important; color: #7a5c00; }
.pf-proceso-transferencia  { background: #fdf0ef !important; color: var(--rojo-dark); }
.pf-proceso-valoracion     { background: #f3f0fb !important; color: #4a235a; }

/* Celda de evaluación formativa lateral */
.pf-td-ev-label {
  font-size: 0.7rem;
  text-align: center;
  vertical-align: middle !important;
}

/* Actividades */
.pf-td-actividades {
  background: white !important;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Materiales */
.pf-td-materiales {
  background: #f7fbf9 !important;
  font-size: 0.78rem;
  color: var(--texto-mid);
  vertical-align: top;
}

/* Criterios individuales */
.pf-td-criterio {
  background: white !important;
  font-size: 0.78rem;
  padding: 4px 10px 4px 20px !important;
  color: var(--texto);
  border-top: none !important;
  border-bottom: 1px solid #e0ede5 !important;
}

/* Reflexión */
.pf-reflexion {
  min-height: 60px;
  color: #aaa !important;
  font-style: italic;
  font-size: 0.78rem !important;
}

/* Pie de tabla */
.pf-td-pie {
  background: var(--verde-light) !important;
  color: var(--verde-dark);
  text-align: center;
  font-size: 0.72rem;
  padding: 8px !important;
  font-weight: 600;
}

/* ── PRINT STYLES ── */
@media print {
  @page {
    margin: 1cm 1.2cm;
    size: A4;
  }

  .pn-navbar,
  .d-print-none { display: none !important; }

  body {
    background: white !important;
    font-size: 11px;
  }

  #screen-result {
    display: block !important;
    min-height: auto;
  }

  .container { max-width: 100% !important; padding: 0 !important; }

  .plan-wrapper {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }

  /* Encabezado institucional en print */
  .pf-encabezado {
    padding: 8px 0 !important;
    border-bottom: 2px solid var(--verde) !important;
  }
  .pf-enc-inst { font-size: 0.85rem !important; }
  .pf-enc-sub  { font-size: 0.65rem !important; }
  .pf-enc-escudo { font-size: 2rem !important; }

  /* Tabla en print */
  .pf-tabla { font-size: 0.72rem !important; }
  .pf-tabla td { padding: 4px 7px !important; }

  .pf-td-titulo-principal { font-size: 0.82rem !important; padding: 7px !important; }
  .pf-td-bloque-header    { font-size: 0.68rem !important; padding: 5px !important; }
  .pf-td-subbloque-header { font-size: 0.66rem !important; padding: 4px !important; }
  .pf-td-col-header       { font-size: 0.63rem !important; }
  .pf-td-label            { font-size: 0.68rem !important; }
  .pf-td-actividades      { font-size: 0.7rem !important; }
  .pf-td-criterio         { font-size: 0.68rem !important; }

  /* Colores deben imprimirse */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  /* Evitar cortes en filas importantes */
  .pf-tabla tr { break-inside: avoid; }
  .pf-td-titulo-principal,
  .pf-td-bloque-header,
  .pf-td-subbloque-header { break-after: avoid; }
}


.brand-shields {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 5rem;
}

.brand-shield-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  padding: 6px;
}