/* =========================================================
   RESOLUCIONES TCP — VISTA INTERNA
   ========================================================= */

#resolucionesTcpView {
  --res-gold: #d4af37;
  --res-gold-light: #fff1a6;
  --res-gold-soft: #f5d67b;
  --res-gold-dark: #b8962e;

  --res-bg: #050505;
  --res-panel: rgba(12, 12, 12, 0.9);
  --res-panel-soft: rgba(255, 255, 255, 0.035);

  --res-text: #ffffff;
  --res-muted: rgba(255, 255, 255, 0.68);
  --res-muted-2: rgba(255, 255, 255, 0.5);

  --res-line: rgba(255, 255, 255, 0.1);
  --res-gold-line: rgba(212, 175, 55, 0.3);

  width: 100%;
  min-height: 100%;

  position: relative;

  color: var(--res-text);

  font-family:
    "Inter",
    "Segoe UI",
    Arial,
    sans-serif;

  background:
    radial-gradient(
      900px 520px at 75% 7%,
      rgba(212, 175, 55, 0.13),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      #090909,
      #030303
    );

  border-radius: 24px;
   overflow: visible;
}

#resolucionesTcpView *,
#resolucionesTcpView *::before,
#resolucionesTcpView *::after {
  box-sizing: border-box;
}

#resolucionesTcpView button,
#resolucionesTcpView input,
#resolucionesTcpView select,
#resolucionesTcpView textarea {
  font: inherit;
}

#resolucionesTcpView a {
  color: inherit;
  text-decoration: none;
}

#resolucionesTcpView .hidden,
#resolucionesTcpView [hidden] {
  display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

#resolucionesTcpView .resoluciones-tcp-wrap {
  width: 100%;
  max-width: 1180px;

  min-height: calc(100vh - 150px);

  margin: 0 auto;
  padding: 42px 28px 48px;
}


/* =========================================================
   HERO
   ========================================================= */

#resolucionesTcpView .resoluciones-hero {
  max-width: 900px;

  margin: 0 auto 30px;

  text-align: center;
}

#resolucionesTcpView .resoluciones-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-bottom: 18px;
  padding: 9px 15px;

  border:
    1px solid
    rgba(212, 175, 55, 0.34);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.065);

  color: var(--res-gold-soft);

  font-size: 0.8rem;
  font-weight: 850;

  letter-spacing: 0.035em;
  text-transform: uppercase;

  box-shadow:
    0 0 20px
    rgba(212, 175, 55, 0.08);
}

#resolucionesTcpView .resoluciones-title {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size:
    clamp(
      2.3rem,
      4.6vw,
      4.6rem
    );

  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;

  text-shadow:
    0 15px 34px
    rgba(0, 0, 0, 0.45);
}

#resolucionesTcpView .resoluciones-subtitle {
  max-width: 760px;

  margin: 20px auto 0;

  color: var(--res-muted);

  font-size: 1.02rem;
  line-height: 1.6;
}


/* =========================================================
   PESTAÑAS
   ========================================================= */

#resolucionesTcpView .tabs-busqueda {
  width: 100%;
  max-width: 620px;

  margin: 0 auto 24px;
  padding: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  border:
    1px solid
    rgba(212, 175, 55, 0.24);

  border-radius: 999px;

  background:
    rgba(8, 8, 8, 0.82);

  box-shadow:
    0 14px 32px
    rgba(0, 0, 0, 0.28);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#resolucionesTcpView .tab-busqueda {
  flex: 1;

  min-height: 46px;

  padding: 10px 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 1px solid transparent;
  border-radius: 999px;

  background: transparent;

  color:
    rgba(255, 255, 255, 0.64);

  font-size: 0.88rem;
  font-weight: 850;

  cursor: pointer;

  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

#resolucionesTcpView .tab-busqueda:hover {
  color: var(--res-gold-light);

  background:
    rgba(212, 175, 55, 0.07);
}

#resolucionesTcpView .tab-busqueda:focus-visible {
  outline:
    2px solid
    var(--res-gold-light);

  outline-offset: 2px;
}

#resolucionesTcpView .tab-busqueda.active {
  color: var(--res-gold-soft);

  border-color:
    rgba(255, 224, 102, 0.46);

  background:
    radial-gradient(
      160px 70px at 50% 0%,
      rgba(212, 175, 55, 0.18),
      transparent 74%
    ),
    linear-gradient(
      180deg,
      #171717,
      #090909
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.06),
    0 10px 24px
    rgba(0, 0, 0, 0.32),
    0 0 18px
    rgba(212, 175, 55, 0.1);
}


/* =========================================================
   PANELES
   ========================================================= */

#resolucionesTcpView .panel-busqueda {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;
}

#resolucionesTcpView .resoluciones-search-card,
#resolucionesTcpView .ia-box {
  width: 100%;

  padding: 24px;

  border:
    1px solid
    var(--res-gold-line);

  border-radius: 22px;

  background:
    radial-gradient(
      500px 180px at 12% 0%,
      rgba(212, 175, 55, 0.095),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.038),
      rgba(255, 255, 255, 0.014)
    ),
    var(--res-panel);

  box-shadow:
    0 18px 42px
    rgba(0, 0, 0, 0.3),
    inset 0 1px 0
    rgba(255, 255, 255, 0.035);
}

#resolucionesTcpView .resoluciones-search-heading,
#resolucionesTcpView .ia-box-heading {
  display: grid;

  grid-template-columns: 52px 1fr;

  gap: 16px;
  align-items: center;

  margin-bottom: 22px;
}

#resolucionesTcpView .resoluciones-search-icon,
#resolucionesTcpView .ia-box-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(212, 175, 55, 0.35);

  border-radius: 16px;

  background:
    rgba(212, 175, 55, 0.07);

  color: var(--res-gold-soft);

  font-size: 1.25rem;

  box-shadow:
    0 0 22px
    rgba(212, 175, 55, 0.1);
}

#resolucionesTcpView .resoluciones-search-heading h2,
#resolucionesTcpView .ia-box-heading h2 {
  margin: 0 0 5px;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.18rem;
  font-weight: 900;
}

#resolucionesTcpView .resoluciones-search-heading p,
#resolucionesTcpView .ia-box-heading p {
  margin: 0;

  color: var(--res-muted);

  font-size: 0.9rem;
  line-height: 1.48;
}


/* =========================================================
   CAMPOS
   ========================================================= */

#resolucionesTcpView .filtro {
  display: grid;

  grid-template-columns:
    minmax(220px, 0.8fr)
    minmax(0, 1.6fr);

  gap: 14px;
}

#resolucionesTcpView .campo-resoluciones {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

#resolucionesTcpView .campo-resoluciones label,
#resolucionesTcpView .consulta-ia-label {
  color:
    rgba(255, 255, 255, 0.75);

  font-size: 0.82rem;
  font-weight: 800;
}

#resolucionesTcpView select,
#resolucionesTcpView input,
#resolucionesTcpView textarea {
  width: 100%;

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  outline: none;

  background:
    rgba(255, 255, 255, 0.035);

  color: #ffffff;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

#resolucionesTcpView select,
#resolucionesTcpView input {
  min-height: 48px;

  padding: 11px 13px;

  border-radius: 13px;
}

#resolucionesTcpView textarea {
  min-height: 150px;

  padding: 14px;

  resize: vertical;

  border-radius: 15px;

  line-height: 1.55;
}

#resolucionesTcpView select:focus,
#resolucionesTcpView input:focus,
#resolucionesTcpView textarea:focus {
  border-color:
    rgba(245, 214, 123, 0.7);

  box-shadow:
    0 0 0 3px
    rgba(212, 175, 55, 0.1);

  background:
    rgba(255, 255, 255, 0.048);
}

#resolucionesTcpView input::placeholder,
#resolucionesTcpView textarea::placeholder {
  color:
    rgba(255, 255, 255, 0.38);
}

#resolucionesTcpView select option {
  background: #111111;
  color: #ffffff;
}


/* =========================================================
   BOTONES
   ========================================================= */

#resolucionesTcpView .resoluciones-search-actions {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 18px;
}

#resolucionesTcpView .buscar-btn,
#resolucionesTcpView .limpiar-btn {
  min-height: 44px;

  padding: 10px 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border-radius: 13px;

  font-size: 0.88rem;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

#resolucionesTcpView .buscar-btn {
  border:
    1px solid
    rgba(255, 241, 166, 0.5);

  background:
    linear-gradient(
      180deg,
      #fff1a6,
      #d4af37 52%,
      #b8962e
    );

  color: #171100;

  box-shadow:
    0 10px 24px
    rgba(0, 0, 0, 0.28),
    0 0 22px
    rgba(212, 175, 55, 0.14);
}

#resolucionesTcpView .limpiar-btn {
  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  background:
    rgba(255, 255, 255, 0.04);

  color:
    rgba(255, 255, 255, 0.82);
}

#resolucionesTcpView .buscar-btn:hover,
#resolucionesTcpView .limpiar-btn:hover {
  transform: translateY(-1px);
}

#resolucionesTcpView .buscar-btn:hover {
  filter: brightness(1.05);
}

#resolucionesTcpView .limpiar-btn:hover {
  border-color:
    rgba(212, 175, 55, 0.35);

  background:
    rgba(212, 175, 55, 0.07);

  color: var(--res-gold-light);
}

#resolucionesTcpView .buscar-btn:focus-visible,
#resolucionesTcpView .limpiar-btn:focus-visible {
  outline:
    2px solid
    var(--res-gold-light);

  outline-offset: 3px;
}


/* =========================================================
   RESPUESTA IA
   ========================================================= */

#resolucionesTcpView .respuesta-ia {
  max-width: 920px;

  margin: 18px auto 0;
  padding: 18px;

  border:
    1px solid
    rgba(212, 175, 55, 0.24);

  border-radius: 16px;

  background:
    rgba(212, 175, 55, 0.055);

  color:
    rgba(255, 255, 255, 0.82);

  line-height: 1.62;
  white-space: pre-wrap;
}

#resolucionesTcpView .respuesta-error {
  border-color:
    rgba(220, 85, 85, 0.4);

  background:
    rgba(170, 30, 30, 0.12);

  color: #ffd1d1;
}

#resolucionesTcpView .respuesta-exito {
  border-color:
    rgba(212, 175, 55, 0.3);

  background:
    rgba(212, 175, 55, 0.07);
}

#resolucionesTcpView .resoluciones-thinking-card {
  overflow: hidden;
}

#resolucionesTcpView .resoluciones-thinking-loader {
  display: grid;
  gap: 13px;
}

#resolucionesTcpView .resoluciones-thinking-main {
  display: flex;
  align-items: center;

  gap: 10px;

  color: var(--res-gold-light);

  font-weight: 850;
}

#resolucionesTcpView .resoluciones-thinking-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--res-gold);

  box-shadow:
    0 0 0
    rgba(212, 175, 55, 0.4);

  animation:
    resolucionesDotPulse
    1.3s
    ease-in-out
    infinite;
}

#resolucionesTcpView .resoluciones-thinking-subtext {
  color: var(--res-muted-2);

  font-size: 0.8rem;
  line-height: 1.4;
}

#resolucionesTcpView .resoluciones-thinking-bar {
  height: 5px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.07);
}

#resolucionesTcpView .resoluciones-thinking-bar span {
  display: block;

  width: 36%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--res-gold-light),
      transparent
    );

  animation:
    resolucionesThinkingBar
    1.45s
    ease-in-out
    infinite;
}

@keyframes resolucionesDotPulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;

    box-shadow:
      0 0 18px
      rgba(212, 175, 55, 0.35);
  }
}

@keyframes resolucionesThinkingBar {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(360%);
  }
}


/* =========================================================
   RESULTADOS
   ========================================================= */

#resolucionesTcpView .resultados-section {
  width: 100%;
  max-width: 980px;

  margin: 34px auto 0;
}

#resolucionesTcpView .resultados-encabezado {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 16px;
}

#resolucionesTcpView .resultados-kicker,
#resolucionesTcpView .acuerdos-kicker {
  display: block;

  margin-bottom: 5px;

  color: var(--res-gold-soft);

  font-size: 0.72rem;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.055em;
}

#resolucionesTcpView .resultados-encabezado h2 {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.45rem;
  font-weight: 900;
}

#resolucionesTcpView .contador-resoluciones {
  flex: 0 0 auto;

  padding: 7px 11px;

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.06);

  color: var(--res-gold-soft);

  font-size: 0.78rem;
  font-weight: 850;
}

#resolucionesTcpView .estado-resoluciones {
  margin-bottom: 16px;
  padding: 16px;

  border-radius: 14px;

  text-align: center;

  color:
    rgba(255, 255, 255, 0.78);

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  background:
    rgba(255, 255, 255, 0.035);
}

#resolucionesTcpView .estado-error {
  border-color:
    rgba(220, 85, 85, 0.4);

  background:
    rgba(170, 30, 30, 0.1);

  color: #ffd1d1;
}

#resolucionesTcpView .estado-vacio {
  border-color:
    rgba(212, 175, 55, 0.2);

  background:
    rgba(212, 175, 55, 0.045);
}

#resolucionesTcpView .resultados-lista {
  display: grid;
  gap: 14px;
}

#resolucionesTcpView .resultado {
  position: relative;

  padding: 20px;

  overflow: hidden;

  border:
    1px solid
    rgba(212, 175, 55, 0.22);

  border-radius: 18px;

  background:
    radial-gradient(
      400px 150px at 94% 0%,
      rgba(212, 175, 55, 0.08),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.037),
      rgba(255, 255, 255, 0.013)
    ),
    rgba(8, 8, 8, 0.88);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.23);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

#resolucionesTcpView .resultado::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 3px;

  background:
    linear-gradient(
      90deg,
      var(--res-gold-dark),
      var(--res-gold-light),
      var(--res-gold-dark)
    );
}

#resolucionesTcpView .resultado:hover {
  transform: translateY(-2px);

  border-color:
    rgba(212, 175, 55, 0.42);

  box-shadow:
    0 18px 36px
    rgba(0, 0, 0, 0.3),
    0 0 22px
    rgba(212, 175, 55, 0.07);
}

#resolucionesTcpView .resultado-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 14px;
}

#resolucionesTcpView .resultado-numero {
  color: var(--res-gold-light);

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.02rem;
  font-weight: 900;

  line-height: 1.35;
}

#resolucionesTcpView a.resultado-numero:hover {
  text-decoration: underline;
}

#resolucionesTcpView .resultado-pill {
  display: inline-flex;
  align-items: center;

  padding: 6px 10px;

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.065);

  color: var(--res-gold-soft);

  font-size: 0.72rem;
  font-weight: 800;
}

#resolucionesTcpView .resultado-tema,
#resolucionesTcpView .resultado-resumen {
  margin: 0 0 11px;

  color:
    rgba(255, 255, 255, 0.75);

  font-size: 0.9rem;
  line-height: 1.58;

  text-align: left;
}

#resolucionesTcpView .resultado-tema strong,
#resolucionesTcpView .resultado-resumen strong,
#resolucionesTcpView .resultado-fragmento strong {
  color: #ffffff;
}

#resolucionesTcpView .resultado-fragmento {
  margin-top: 12px;
  padding: 12px 13px;

  border-left:
    3px solid
    var(--res-gold);

  border-radius: 10px;

  background:
    rgba(212, 175, 55, 0.045);
}

#resolucionesTcpView .resultado-fragmento p {
  margin: 6px 0 0;

  color:
    rgba(255, 255, 255, 0.72);

  line-height: 1.55;
}

#resolucionesTcpView .resultado-acciones {
  display: flex;
  justify-content: flex-end;

  margin-top: 14px;
}

#resolucionesTcpView .resultado-ver-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  min-height: 38px;

  padding: 8px 13px;

  border:
    1px solid
    rgba(212, 175, 55, 0.28);

  border-radius: 11px;

  background:
    rgba(212, 175, 55, 0.065);

  color: var(--res-gold-light);

  font-size: 0.8rem;
  font-weight: 850;

  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

#resolucionesTcpView .resultado-ver-btn:hover {
  transform: translateY(-1px);

  border-color:
    rgba(212, 175, 55, 0.48);

  background:
    rgba(212, 175, 55, 0.12);
}


/* =========================================================
   ACUERDOS PLENARIOS
   ========================================================= */

#resolucionesTcpView .acuerdos-section {
  max-width: 980px;

  margin: 46px auto 0;
  padding-top: 30px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);
}

#resolucionesTcpView .acuerdos-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 20px;
}

#resolucionesTcpView .section-title {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.65rem;
  font-weight: 900;
}

#resolucionesTcpView .acuerdos-heading p {
  margin: 7px 0 0;

  color: var(--res-muted);

  font-size: 0.9rem;
}

#resolucionesTcpView .acuerdos-icon {
  width: 54px;
  height: 54px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(212, 175, 55, 0.35);

  border-radius: 17px;

  background:
    rgba(212, 175, 55, 0.07);

  font-size: 1.3rem;
}

#resolucionesTcpView .acuerdos-anios {
  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap: 12px;
}

#resolucionesTcpView .acuerdo-anio {
  min-height: 94px;

  padding: 15px 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;

  border:
    1px solid
    rgba(212, 175, 55, 0.23);

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(9, 9, 9, 0.88);

  color: #ffffff;

  cursor: pointer;

  transition:
    transform 0.17s ease,
    border-color 0.17s ease,
    background 0.17s ease,
    box-shadow 0.17s ease;
}

#resolucionesTcpView .acuerdo-anio:hover {
  transform: translateY(-2px);

  border-color:
    rgba(212, 175, 55, 0.48);

  background:
    rgba(212, 175, 55, 0.075);

  box-shadow:
    0 12px 25px
    rgba(0, 0, 0, 0.25);
}

#resolucionesTcpView .acuerdo-anio-numero {
  color: var(--res-gold-light);

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.35rem;
  font-weight: 900;
}

#resolucionesTcpView .acuerdo-anio-texto {
  color: var(--res-muted-2);

  font-size: 0.75rem;
  font-weight: 750;
}

#resolucionesTcpView .acuerdo-no-disponible {
  opacity: 0.45;
  cursor: not-allowed;
}

#resolucionesTcpView .acuerdo-no-disponible:hover {
  transform: none;

  border-color:
    rgba(212, 175, 55, 0.23);

  background:
    rgba(9, 9, 9, 0.88);

  box-shadow: none;
}


/* =========================================================
   PIE
   ========================================================= */

#resolucionesTcpView .resoluciones-footer {
  max-width: 980px;

  margin: 38px auto 0;
  padding: 20px 12px 0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);

  text-align: center;
}

#resolucionesTcpView .resoluciones-footer p {
  margin: 0;

  color: var(--res-muted-2);

  font-size: 0.8rem;
  line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  #resolucionesTcpView .resoluciones-tcp-wrap {
    padding: 34px 20px 44px;
  }

  #resolucionesTcpView .filtro {
    grid-template-columns: 1fr;
  }

  #resolucionesTcpView .acuerdos-anios {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 620px) {
  #resolucionesTcpView {
    border-radius: 18px;
  }

  #resolucionesTcpView .resoluciones-tcp-wrap {
    min-height: auto;

    padding: 27px 13px 90px;
  }

  #resolucionesTcpView .resoluciones-hero {
    margin-bottom: 23px;
  }

  #resolucionesTcpView .resoluciones-hero-badge {
    font-size: 0.68rem;
    padding: 7px 11px;
  }

  #resolucionesTcpView .resoluciones-title {
    font-size: 2.35rem;
    line-height: 1;
  }

  #resolucionesTcpView .resoluciones-subtitle {
    margin-top: 15px;

    font-size: 0.9rem;
    line-height: 1.5;
  }

  #resolucionesTcpView .tabs-busqueda {
    max-width: 100%;

    border-radius: 17px;
  }

  #resolucionesTcpView .tab-busqueda {
    min-height: 42px;

    padding: 9px 10px;

    font-size: 0.76rem;
  }

  #resolucionesTcpView .resoluciones-search-card,
  #resolucionesTcpView .ia-box {
    padding: 18px;

    border-radius: 18px;
  }

  #resolucionesTcpView .resoluciones-search-heading,
  #resolucionesTcpView .ia-box-heading {
    grid-template-columns: 44px 1fr;

    gap: 12px;
  }

  #resolucionesTcpView .resoluciones-search-icon,
  #resolucionesTcpView .ia-box-icon {
    width: 44px;
    height: 44px;

    border-radius: 14px;
  }

  #resolucionesTcpView .resoluciones-search-heading h2,
  #resolucionesTcpView .ia-box-heading h2 {
    font-size: 1rem;
  }

  #resolucionesTcpView .resoluciones-search-heading p,
  #resolucionesTcpView .ia-box-heading p {
    font-size: 0.8rem;
  }

  #resolucionesTcpView .resoluciones-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #resolucionesTcpView .buscar-btn,
  #resolucionesTcpView .limpiar-btn {
    width: 100%;
  }

  #resolucionesTcpView .resultados-encabezado {
    align-items: flex-start;
    flex-direction: column;
  }

  #resolucionesTcpView .resultado {
    padding: 17px;
  }

  #resolucionesTcpView .resultado-cabecera {
    align-items: flex-start;
    flex-direction: column;
  }

  #resolucionesTcpView .resultado-pill {
    white-space: normal;
  }

  #resolucionesTcpView .resultado-acciones {
    justify-content: stretch;
  }

  #resolucionesTcpView .resultado-ver-btn {
    width: 100%;
  }

  #resolucionesTcpView .acuerdos-heading {
    align-items: flex-start;
  }

  #resolucionesTcpView .acuerdos-icon {
    width: 46px;
    height: 46px;
  }

  #resolucionesTcpView .acuerdos-anios {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  #resolucionesTcpView .acuerdo-anio {
    min-height: 86px;
  }
}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {
  #resolucionesTcpView .resoluciones-title {
    font-size: 2rem;
  }

  #resolucionesTcpView .tabs-busqueda {
    flex-direction: column;

    border-radius: 16px;
  }

  #resolucionesTcpView .tab-busqueda {
    width: 100%;
  }

  #resolucionesTcpView .acuerdos-anios {
    grid-template-columns: 1fr;
  }
}