/* Ajuste visual SIMEDER. No altera estados, controles ni comportamiento. */

/* Acceso: conserva la composición institucional y reduce el ruido decorativo. */
.login-hero {
  background: radial-gradient(ellipse at 78% 91%, rgba(0, 150, 191, .22), transparent 41%),
              linear-gradient(139deg, #062548 0%, #073b6b 65%, #075b82 100%);
}
.login-hero::before {
  inset: auto -12% -29% auto;
  width: 82%;
  height: 51%;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(170deg, transparent 46%, rgba(18, 176, 207, .12) 49%, rgba(17, 127, 177, .22) 64%, transparent 80%);
  box-shadow: none;
  transform: rotate(-8deg);
  opacity: 1;
  pointer-events: none;
}
.login-hero::after,
.login-fractal-art { display: none; }
.login-brand::after { opacity: .56; }
.login-opening-star { display: none; }

@media screen and (prefers-reduced-motion: no-preference) {
  body:not(.reduced-motion):not(.high-contrast) .login-opening-star {
    display: block;
    position: absolute;
    top: calc(100% + 17px);
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    opacity: 0;
    transform-origin: left center;
    animation: simeder-opening-star 3.8s cubic-bezier(.28,.48,.52,.9) .6s both;
  }
  .login-opening-star::before {
    content: "";
    position: absolute;
    right: 100%;
    width: clamp(40px, 7vw, 108px);
    height: 2px;
    border-radius: 100%;
    background: linear-gradient(90deg, transparent, #efbc584d 38.2%, #ffdc89c9 78%, #fff8d9);
    box-shadow: 6px 0 6px -1px #ffc75a88;
  }
  .login-opening-star::after {
    content: "";
    position: absolute;
    width: clamp(16px, 1.45vw, 25px);
    height: clamp(16px, 1.45vw, 25px);
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, #fffdf0 0 16%, #ffe7a0 36%, #e6a047 75%);
    clip-path: polygon(50% 0, 56% 33%, 71% 24%, 64% 43%, 100% 50%, 64% 56%, 75% 75%, 56% 65%, 50% 100%, 44% 65%, 25% 75%, 36% 56%, 0 50%, 36% 44%, 26% 25%, 43% 35%);
  }
}
@media (forced-colors: active) {
  body .login-brand .login-opening-star { display: none !important; }
}
@keyframes simeder-opening-star {
  0%   { opacity: 0; transform: translate3d(-6%, 15px, 0) rotate(-3deg); }
  16%  { opacity: .92; }
  62%  { opacity: 1; transform: translate3d(62%, 0, 0); }
  85%  { opacity: .95; }
  100% { opacity: 0; transform: translate3d(108%, 9px, 0) rotate(2deg); }
}

.login-copy { max-width: 610px; margin-top: clamp(46px, 7vh, 74px); }
.login-kicker { border-color: rgba(125, 203, 225, .43); background: rgba(5, 85, 138, .24); box-shadow: none; }
.login-copy h1 {
  max-width: 590px;
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(58px, 6.2vw, 90px);
  font-style: normal;
  letter-spacing: -.045em;
  filter: none;
  text-shadow: none;
}
.login-copy h1::after { width: 118px; height: 4px; margin-top: 15px; }
.login-policy-title { font-size: clamp(25px, 2.4vw, 37px); line-height: 1.11; letter-spacing: -.025em; }
.login-copy > p:not(.login-kicker) { max-width: 560px; }
.login-scope-note { border-radius: 12px; box-shadow: none; }
.login-visual {
  right: -3%;
  bottom: 7%;
  width: min(61.8%, 800px);
  height: 53%;
  opacity: .82;
  filter: drop-shadow(0 13px 23px rgba(0, 19, 42, .24)) saturate(.93);
  pointer-events: none;
}
.login-axis-line span { border-radius: 8px; background: rgba(7, 48, 85, .58); box-shadow: none; }
.login-panel { background: linear-gradient(145deg, #fffdf8 0%, #f8fbfc 61.8%, #e9f3f8 100%); }
.login-panel::before { opacity: .45; pointer-events: none; }
.login-card { border-radius: 19px; background: #fff; box-shadow: 0 24px 55px rgba(8, 49, 79, .14); backdrop-filter: none; }
.login-card::after { width: 25%; }
.login-actions { align-items: flex-start; gap: 17px; }
.login-actions .btn { flex: 0 0 auto; width: min(51%, 205px); min-height: 48px; justify-content: center; white-space: normal; }
.login-actions p { flex: 1 1 0; min-width: 0; margin: 1px 0 0; line-height: 1.5; }

/* Panel general: conserva los ocho accesos y los mismos destinos. */
.module-portal .module-grid-ecosystem .module-card {
  box-shadow: 0 5px 17px rgba(8, 50, 81, .07);
}
.module-portal .module-grid-ecosystem .module-card:hover {
  box-shadow: 0 9px 21px rgba(8, 50, 81, .11);
}

/* Matrices de la Política: jerarquía sobria, sin tocar controles de captura. */
.communication-hero {
  background: linear-gradient(112deg, #fffdf9 0%, #fff 47%, #e7f4f9 100%);
  box-shadow: 0 8px 24px rgba(3, 56, 103, .07);
}
.communication-hero::before,
.communication-hero::after { opacity: .45; pointer-events: none; }
.dashboard-axis-card { box-shadow: 0 5px 14px rgba(7, 51, 87, .07); }
.dashboard-axis-card:hover { box-shadow: 0 8px 19px rgba(7, 51, 87, .12); }
.capture-hero { background: linear-gradient(112deg, #fffdf9 0%, #fff 45%, #e7f4f9 100%); }
.capture-matrix-list .capture-matrix-card { background: #fff; box-shadow: 0 4px 12px rgba(5, 57, 96, .055); }
.matrix-form-drawer .question-card { background: #fff; box-shadow: 0 3px 11px rgba(5, 57, 96, .045); }

/* Matrices municipales: mismo lenguaje visual y estados reconocibles. */
.municipal-intro { background: linear-gradient(112deg, #fffdf9 0%, #fff 45%, #e7f4f9 100%); }
.municipal-axis-tabs button { box-shadow: 0 3px 10px rgba(8, 50, 81, .045); }
.municipal-axis-tabs button.active { box-shadow: 0 5px 15px rgba(15, 52, 80, .16); }
.municipal-matrix-heading { background: linear-gradient(100deg, #eef8fa, #fff); }
.municipal-question { background: #fff; box-shadow: 0 3px 11px rgba(5, 57, 96, .045); }
.municipal-actions { background: #f5f9fb; box-shadow: 0 6px 18px rgba(18, 55, 81, .11); }

@media (max-width: 1180px) {
  .login-copy { margin-top: 44px; }
  .login-visual { right: -9%; opacity: .68; }
}
@media (max-width: 820px) {
  .login-copy h1 { font-size: clamp(43px, 9vw, 62px); }
  .login-visual { right: -17%; bottom: 6%; width: 84%; height: 43%; opacity: .44; }
  .login-panel { padding: 36px 24px 56px; }
}
@media (max-width: 520px) {
  .login-hero { min-height: 470px; }
  .login-copy { margin-top: 37px; }
  .login-policy-title { font-size: 23px; }
  .login-visual { opacity: .26; }
  .login-actions { flex-wrap: wrap; gap: 12px; }
  .login-actions .btn { width: 100%; }
  .login-actions p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .module-portal .module-card:hover,
  .dashboard-axis-card:hover { transform: none; }
}

/* Segunda revisión: proporción uniforme y color visible en el portal. */
.module-portal {
  background:
    radial-gradient(ellipse 42% 30% at 91% 22%, rgba(0, 166, 211, .12), transparent 75%),
    radial-gradient(ellipse 42% 24% at 9% 96%, rgba(241, 195, 50, .11), transparent 78%),
    linear-gradient(135deg, #fffaf2 0%, #f6fbfd 61.8%, #e6f5f8 100%);
}
.module-portal .module-portal-intro {
  margin-block: 18px 19px;
  padding: 0 0 16px;
  border-bottom: 1px solid #d7e7eb;
}
.module-portal .module-portal-intro h1 { font-size: clamp(38px, 3.5vw, 54px); line-height: 1; }
.module-portal .portal-intro-mark { align-items: center; gap: 11px; font-size: 34px; }
.module-portal .module-grid-ecosystem {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1580px, 100%);
}
.module-portal .module-grid-featured,
.module-portal .module-grid-compact { display: contents; }
.module-portal .module-grid-ecosystem .module-card,
.module-portal .module-grid-featured .module-card,
.module-portal .module-grid-compact .module-card {
  min-width: 0;
  height: auto;
  min-height: 253px;
  padding: 19px 20px 17px;
  border: 1px solid color-mix(in srgb, var(--module) 29%, #d9e6ec);
  border-top: 5px solid var(--module);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 75% 48% at 103% 104%, color-mix(in srgb, var(--module) 20%, transparent), transparent 90%),
    linear-gradient(148deg, #fff 0%, #fff 55%, color-mix(in srgb, var(--module) 11%, #f7fbfc) 100%);
  box-shadow: 0 7px 18px rgba(7, 48, 77, .09);
}
.module-portal .module-grid-ecosystem .module-card::after {
  inset: auto -18% -31% auto;
  width: 93%;
  height: 52%;
  border-radius: 55% 45% 0 0;
  background: color-mix(in srgb, var(--module) 8%, transparent);
  transform: rotate(-11deg);
  pointer-events: none;
}
.module-portal .module-grid-ecosystem .module-card-top { min-height: 42px; }
.module-portal .module-grid-ecosystem .module-icon { width: 42px; height: 42px; border-radius: 11px; }
.module-portal .module-grid-ecosystem .module-icon svg { width: 21px; height: 21px; }
.module-portal .module-grid-ecosystem .module-status {
  max-width: calc(100% - 52px);
  padding: 6px 8px;
  font-size: 9px;
  white-space: normal;
  text-align: right;
}
.module-portal .module-grid-ecosystem .module-number {
  margin-top: 12px;
  color: var(--module);
  font-size: 12px;
}
.module-portal .module-grid-ecosystem .module-card h2,
.module-portal .module-grid-featured .module-card h2 {
  max-width: 100%;
  margin-top: 5px;
  font-size: clamp(18px, 1.33vw, 23px);
  line-height: 1.14;
}
.module-portal .module-grid-ecosystem .module-full-name,
.module-portal .module-grid-compact .module-full-name {
  max-width: 100%;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.35;
}
.module-portal .module-grid-ecosystem .module-description,
.module-portal .module-grid-featured .module-description,
.module-portal .module-grid-compact .module-description {
  max-width: 100%;
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.4;
}
.module-portal .module-grid-ecosystem .module-enter {
  min-height: 39px;
  padding: 9px 15px;
  font-size: 12px;
  position: relative;
  z-index: 3;
}
.module-portal .module-grid-ecosystem .module-art { opacity: .19; }
.module-portal .module-municipal { --module: #eb7930; --module-dark: #a33d1f; }
.module-portal .module-active-cities { --module: #168ab4; --module-dark: #074c77; }
.module-portal .module-cooperation { --module: #7763b8; --module-dark: #453780; }
.module-portal .module-observatory { --module: #159d91; --module-dark: #08675f; }
.module-portal .module-formation { --module: #5787b5; --module-dark: #205379; }

/* Política: curvas amplias, seis ejes nítidos y cabecera legible. */
.communication-hero {
  min-height: 355px;
  padding: 34px 48px;
  border-color: #d8eaf0;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 45% 35% at 67% 14%, rgba(242, 195, 58, .12), transparent 70%),
    linear-gradient(118deg, #fffaf1 0%, #fffdf8 39%, #e8f6fb 76%, #c9ecf5 100%);
}
.communication-hero::before {
  inset: -55% -14% auto auto;
  width: 64%;
  height: 160%;
  border: 0;
  border-radius: 49%;
  background: linear-gradient(128deg, rgba(255,255,255,.58), rgba(23,171,219,.15) 62%, rgba(0,129,194,.09));
  transform: rotate(24deg);
  opacity: 1;
}
.communication-hero::after {
  inset: auto -8% -70% auto;
  width: 79%;
  height: 95%;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 174, 214, .08);
  transform: rotate(-8deg);
  opacity: 1;
}
.communication-hero-copy { max-width: 55%; }
.communication-hero .hero-brand-row { margin-bottom: 19px; }
.communication-hero h2 { max-width: 720px; font-size: clamp(30px, 2.6vw, 43px); line-height: 1.06; }
.communication-hero p { max-width: 610px; font-size: 14px; }
.communication-hero .hero-illustration {
  right: -1.5%;
  bottom: -4%;
  width: min(74%, 1080px);
  height: 104%;
  opacity: .96;
  filter: drop-shadow(0 13px 15px rgba(5, 70, 117, .12));
}
.dashboard-axis-system { gap: 12px; margin-bottom: 19px; }
.dashboard-axis-card {
  min-height: 128px;
  padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--axis) 25%, #d9e5eb);
  border-top: 5px solid var(--axis);
  border-radius: 13px;
  background:
    radial-gradient(ellipse 90% 55% at 105% 112%, color-mix(in srgb, var(--axis) 33%, transparent), transparent 82%),
    linear-gradient(155deg, #fff 41%, color-mix(in srgb, var(--axis) 9%, #fff));
}
.dashboard-axis-card::after {
  right: -22%;
  bottom: -82%;
  width: 115%;
  height: 122%;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--axis) 15%, transparent);
  transform: rotate(-12deg);
  pointer-events: none;
}
.dashboard-axis-card > * { position: relative; z-index: 1; }
.dashboard-axis-card > span { font-size: 18px; }
.dashboard-axis-card > i svg { width: 31px; height: 31px; }
.dashboard-axis-card > b { font-size: 13px; line-height: 1.18; }
.dashboard-scope { border-radius: 15px; background: linear-gradient(100deg, #fff, #f0f9fb); }

/* Captura institucional y municipal: la misma identidad sin mover controles. */
.capture-hero,
.municipal-intro {
  border-radius: 18px;
  background:
    radial-gradient(ellipse 42% 61% at 104% 18%, rgba(15, 168, 205, .22), transparent 90%),
    radial-gradient(ellipse 45% 35% at 78% 115%, rgba(241, 181, 57, .15), transparent 86%),
    linear-gradient(117deg, #fffaf1 0%, #fff 45%, #e5f5f8 100%);
}
.municipal-axis-tabs button { min-height: 75px; border-top-width: 5px; border-radius: 12px; }
.municipal-axis-tabs button:not(.active) {
  background: linear-gradient(145deg, #fff 49%, color-mix(in srgb, var(--axis-color) 13%, #fff));
}
.municipal-axis-tabs button.active { background: linear-gradient(125deg, #073a60, #10618a); }
.municipal-matrix-heading { border-radius: 12px; background: linear-gradient(105deg, #e8f7f9, #fffaf2); }
.municipal-question { border-radius: 13px; }

/* Menú lateral y topbar: identidad formal y título sin columna estrecha. */
.app-shell .sidebar { background: linear-gradient(180deg, #052747, #06477a); }
.app-shell .topbar { gap: 12px; }
.app-shell .topbar-left { flex: 1 1 520px; gap: 11px; }
.app-shell .page-heading { flex: 1 1 250px; max-width: 320px; }
.app-shell .page-heading h1 { font-size: 18px; line-height: 1.14; }
.app-shell .topbar-actions { flex: 0 1 auto; }

/* En acceso, el color acompaña sin inclinar el logotipo ni las letras. */
.login-hero {
  background:
    radial-gradient(ellipse 65% 47% at 98% 93%, rgba(0, 169, 218, .23), transparent 75%),
    radial-gradient(ellipse 55% 35% at 44% 85%, rgba(10, 107, 162, .22), transparent 85%),
    linear-gradient(138deg, #062647, #073c6e 68%, #075f88);
}
.login-hero::before {
  inset: auto -12% -25% auto;
  width: 96%;
  height: 53%;
  background: linear-gradient(172deg, transparent 21%, rgba(13, 163, 207, .16) 43%, rgba(12, 113, 176, .26) 65%, transparent 83%);
}
.login-visual {
  right: -3%;
  bottom: 5%;
  width: min(70%, 900px);
  height: 64%;
  opacity: .95;
  filter: drop-shadow(0 20px 26px rgba(0, 21, 50, .3)) saturate(1.04);
}
.login-card { border-top: 5px solid #0797c4; }

@media (max-width: 1500px) {
  .module-portal .module-grid-ecosystem { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-portal .module-grid-ecosystem .module-card { min-height: 242px; }
}
@media (max-width: 1100px) {
  .module-portal .module-grid-ecosystem { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell .topbar { flex-wrap: wrap; }
  .app-shell .topbar-left { flex-basis: 100%; }
  .app-shell .topbar-actions { margin-left: auto; }
  .communication-hero-copy { max-width: 61%; }
  .communication-hero .hero-illustration { width: 75%; opacity: .65; }
}
@media (max-width: 820px) {
  .login-visual { right: -16%; width: 86%; height: 43%; opacity: .45; }
  .communication-hero { min-height: 270px; padding: 27px 24px; }
  .communication-hero-copy { max-width: 100%; }
  .communication-hero .hero-illustration { right: -18%; bottom: -4%; width: 90%; height: 80%; opacity: .16; }
  .dashboard-axis-system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-axis-card { min-height: 108px; }
}
@media (max-width: 660px) {
  .login-visual { opacity: .26; }
  .module-portal .module-grid-ecosystem { grid-template-columns: 1fr; gap: 11px; }
  .module-portal .module-grid-ecosystem .module-card,
  .module-portal .module-grid-featured .module-card,
  .module-portal .module-grid-compact .module-card { min-height: 0; padding: 18px; }
  .module-portal .module-grid-ecosystem .module-card h2 { font-size: 21px; }
  .module-portal .module-portal-intro { align-items: flex-start; }
  .app-shell .page-heading { flex: 1 1 190px; }
  .app-shell .topbar-actions { max-width: 100%; flex-wrap: wrap; }
  .dashboard-axis-card > b { font-size: 12px; }
}

/* Las esferas del ramo crecen un 15 % en el dibujo. La luz más cálida
   se concentra junto al vidrio; el azul profundo sostiene la lectura. */
@media screen {
  body {
    --simeder-season-ambient: url('/seasonal-ambient.svg?v=23.94.150');
    --simeder-season-ribbon: url('/seasonal-ribbon.svg?v=23.94.150');
  }
  body:not(.high-contrast) .login-hero {
    background-image:
      var(--simeder-season-ambient),
      radial-gradient(ellipse 33% 30% at 91% 27%, rgb(237 184 102 / .16), transparent 83%),
      radial-gradient(ellipse 62% 54% at 100% 95%, rgb(7 157 165 / .32), transparent 82%),
      linear-gradient(141deg, #062544 0%, #08395c 61.8%, #0c5269 100%);
  }
  body:not(.high-contrast) .login-panel {
    background-color: #fffaf2;
    background-image:
      var(--simeder-season-ribbon),
      radial-gradient(ellipse at 90% 2%, rgb(232 192 125 / .21), transparent 38.2%),
      linear-gradient(145deg, #fff9ee, #fffdf8 61.8%, #e9f4f2);
    background-size: 100% clamp(55px, 11vh, 108px), auto, auto;
    background-position: center bottom, center, center;
    background-repeat: no-repeat;
  }
  body:not(.high-contrast) .module-portal-header::after {
    background: linear-gradient(90deg, #118574, #ccb16e 38.2%, #f2d899 61.8%, transparent);
  }
}
/* Mayor presencia en los espacios amplios; móvil conserva tamaños contenidos. */
@media screen and (min-width: 821px) {
  body .communication-hero {
    background-size: clamp(245px, 19vw, 365px) auto, auto, auto, auto, auto;
  }
  body .login-hero {
    background-size: clamp(285px, 22vw, 425px) auto, auto, auto, auto;
    background-position: right 1% top 110px, center, center, center;
  }
  body .capture-hero,
  body .municipal-intro {
    background-size: clamp(225px, 18vw, 320px) auto, auto, auto, auto;
  }
}
/* El ramo del portal ocupa el hueco entre el título y el contador. */
@media screen and (min-width: 721px) {
  body .module-portal { background-size: 0 0, 100% 187px, auto, auto, auto; }
  .module-portal .module-portal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(145px, 17vw, 270px) max-content;
    align-items: center;
    column-gap: clamp(13px, 2vw, 34px);
  }
  .module-portal-intro > .portal-intro-mark {
    grid-area: 1 / 3;
  }
  .module-portal .module-portal-intro::after {
    content: "";
    grid-area: 1 / 2;
    align-self: stretch;
    min-height: 89px;
    pointer-events: none;
    background: var(--simeder-season-ambient) right 38.2% / auto 135% no-repeat;
  }
}
@media screen and (max-width: 720px) {
  body .login-hero {
    background-size: clamp(93px, 26.7vw, 112px) auto, auto, auto, auto;
    background-position: right 4px top 89px, center, center, center;
  }
  body .module-portal { background-size: 0 0, 100% 140px, auto, auto, auto; }
  .module-portal::before { right: 0; }
  .module-portal .module-portal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(55px, 16vw, 89px);
    column-gap: 8px;
  }
  .module-portal .module-portal-intro::after {
    content: "";
    grid-area: 1 / 2;
    height: 55px;
    align-self: start;
    pointer-events: none;
    background: var(--simeder-season-ambient) right top / auto 108% no-repeat;
  }
}
/* No adorno de temporada en la impresión ni en el modo de colores forzados. */
@media print, (forced-colors: active) {
  body {
    --simeder-season-ambient: none;
    --simeder-season-ribbon: none;
  }
}
.module-portal {
  background-color: #fff8ee;
  background-image:
    var(--simeder-season-ambient, url('/november-ambient.svg')),
    var(--simeder-season-ribbon, url('/november-ribbon.svg')),
    radial-gradient(circle at 78% 15%, rgba(255, 216, 145, .28) 0, rgba(255, 216, 145, .11) 10%, transparent 27%),
    radial-gradient(circle at 17% 62%, rgba(231, 184, 107, .12), transparent 30%),
    linear-gradient(140deg, #fffaf3 0%, #fdfbf6 39%, #f0f9fa 77%, #fff7e9 100%);
  background-size: 295px auto, 100% 175px, auto, auto, auto;
  background-position: right 6% top 112px, center bottom, center, center, center;
  background-repeat: no-repeat;
}
.module-portal .module-portal-header { border-bottom-color: #d9dfe0; }
.module-portal .module-portal-intro { border-bottom-color: #e1dbd0; }
.module-portal .portal-intro-mark {
  padding: 9px 17px 9px 14px;
  border-left: 3px solid #e5b957;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 250, 240, .89);
  box-shadow: 0 8px 23px rgba(107, 75, 37, .08);
}
.module-portal .module-grid-ecosystem .module-card,
.module-portal .module-grid-featured .module-card,
.module-portal .module-grid-compact .module-card {
  background:
    radial-gradient(ellipse 50% 35% at 85% 2%, rgba(246, 210, 150, .18), transparent 95%),
    radial-gradient(ellipse 75% 48% at 103% 104%, color-mix(in srgb, var(--module) 18%, transparent), transparent 90%),
    linear-gradient(148deg, #fffdfa 0%, #fffdfb 55%, color-mix(in srgb, var(--module) 10%, #fff9ef) 100%);
  box-shadow: 0 8px 19px rgba(60, 55, 48, .105), 0 2px 4px rgba(110, 73, 42, .04);
}
.module-portal .module-grid-ecosystem .module-card:hover {
  box-shadow: 0 13px 26px rgba(60, 55, 48, .14);
}
.module-portal .module-grid-ecosystem .module-enter {
  box-shadow: 0 5px 13px color-mix(in srgb, var(--module) 20%, rgba(76, 48, 28, .07));
}

.communication-hero {
  background-color: #fff9f0;
  background-image:
    var(--simeder-season-ambient, url('/november-ambient.svg')),
    radial-gradient(circle at 68% 22%, rgba(255, 222, 165, .47) 0 5px, transparent 13px),
    radial-gradient(circle at 76% 28%, rgba(255, 240, 208, .64) 0 3px, transparent 12px),
    radial-gradient(ellipse 46% 64% at 89% 8%, rgba(43, 176, 221, .27), transparent 82%),
    linear-gradient(116deg, #fff9ee 0%, #fffdf9 41%, #e8f6fb 78%, #cfecf3 100%);
  background-size: 190px auto, auto, auto, auto, auto;
  background-position: right 28px top 4px, center, center, center, center;
  background-repeat: no-repeat;
  box-shadow: 0 13px 30px rgba(71, 60, 47, .11);
}
.dashboard-axis-card {
  background:
    radial-gradient(ellipse 80% 59% at 105% 112%, color-mix(in srgb, var(--axis) 32%, transparent), transparent 82%),
    linear-gradient(155deg, #fffdfa 36%, color-mix(in srgb, var(--axis) 11%, #fff9f0));
  box-shadow: 0 8px 17px rgba(77, 56, 37, .105);
}
.dashboard-scope {
  background: linear-gradient(105deg, #fffaf2 0%, #fffdf9 61.8%, #edf8fa 100%);
  box-shadow: 0 8px 18px rgba(79, 60, 39, .075);
}
.capture-hero,
.municipal-intro {
  background-color: #fff8ef;
  background-image:
    var(--simeder-season-ambient, url('/november-ambient.svg')),
    radial-gradient(ellipse 45% 51% at 96% 11%, rgba(27, 164, 207, .22), transparent 84%),
    radial-gradient(circle at 76% 79%, rgba(244, 204, 136, .19), transparent 30%),
    linear-gradient(117deg, #fff8ec 0%, #fffdf8 48%, #eaf7f9 100%);
  background-size: 175px auto, auto, auto, auto;
  background-position: right 30px top 0, center, center, center;
  background-repeat: no-repeat;
}
.municipal-matrix-heading { background: linear-gradient(105deg, #fff7ea, #f1f9fa); }
.app-shell .sidebar {
  background-color: #062e52;
  background-image: var(--simeder-season-ribbon, url('/november-ribbon.svg')), linear-gradient(180deg, #042747 0%, #064779 100%);
  background-size: 100% 90px, auto;
  background-position: center bottom, center;
  background-repeat: no-repeat;
}

.login-hero {
  background-color: #062b4e;
  background-image:
    var(--simeder-season-ambient, url('/november-ambient.svg')),
    radial-gradient(ellipse 51% 39% at 87% 16%, rgba(231, 175, 82, .12), transparent 83%),
    radial-gradient(ellipse 65% 47% at 98% 93%, rgba(0, 169, 218, .24), transparent 75%),
    linear-gradient(138deg, #062647 0%, #073c6e 68%, #075f88 100%);
  background-size: 230px auto, auto, auto, auto;
  background-position: right 4% top 18%, center, center, center;
  background-repeat: no-repeat;
}
.login-panel {
  background:
    radial-gradient(ellipse 48% 43% at 87% 12%, rgba(249, 213, 157, .20), transparent 86%),
    linear-gradient(145deg, #fffaf2 0%, #fffdf9 58%, #eaf4f8 100%);
}
.login-card {
  background: #fffdfa;
  box-shadow: 0 23px 54px rgba(15, 50, 73, .14), 0 5px 18px rgba(173, 113, 43, .06);
}
@media (max-width: 820px) {
  .module-portal { background-size: 175px auto, 100% 140px, auto, auto, auto; background-position: right 12px top 150px, center bottom, center, center, center; }
  .communication-hero { background-size: 135px auto, auto, auto, auto, auto; }
  .login-hero { background-size: 145px auto, auto, auto, auto; }
}

/* El formulario municipal arranca como consulta para Administración. */
.municipal-edit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 10px;
  border-left: 4px solid #0a91aa;
  background: linear-gradient(105deg, #f3fbfc, #fffaf1);
}
.municipal-edit-toolbar > div { display: grid; gap: 4px; }
.municipal-edit-toolbar b { color: #083e60; font-size: 16px; }
.municipal-edit-toolbar small { color: #4d6a7b; font-size: 13px; line-height: 1.45; }
.municipal-edit-toolbar button { flex: none; white-space: nowrap; }
.municipal-save-message { padding-block: 10px; margin-bottom: 10px; color: #47697e; }
.municipal-archive-record { padding: 0; overflow: hidden; }
.municipal-archive-record summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; cursor: pointer; padding: 18px 22px; color: #083f61;
}
.municipal-archive-record summary span { color: #537189; font-size: 13px; }
.municipal-archive-answers { display: grid; gap: 9px; padding: 0 22px 20px; }
.municipal-archive-answers > div {
  display: grid; gap: 5px; padding: 12px 15px; background: #f7fbfc;
  border: 1px solid #e1ebef; border-radius: 10px; overflow-wrap: anywhere;
}
.municipal-archive-answers > div b { color: #0a476a; }
.municipal-archive-answers > div span { white-space: pre-wrap; }
.municipal-archive-answers > div small { color: #607587; }
.municipal-tracking, .municipal-selector, .municipal-context {
  box-shadow: 0 9px 22px rgba(12, 65, 95, .065);
}
.municipal-tracking { border-top: 4px solid #159fac; }
.municipal-context {
  border-left: 4px solid #e7a94b;
  background: linear-gradient(108deg, #fffaf3, #fff 54%, #f1f9fa);
}
.municipal-axis-heading {
  border-radius: 15px;
  box-shadow: 0 9px 20px rgba(14, 73, 106, .08);
}
.municipal-question {
  border: 1px solid #dfebed;
  box-shadow: 0 5px 14px rgba(17, 72, 96, .04);
}
@media (min-width: 1101px) and (max-width: 2100px) {
  .app-shell .topbar { flex-wrap: wrap; }
  .app-shell .topbar-left { flex-basis: 100%; }
  .app-shell .page-heading { max-width: none; flex-basis: 360px; }
  .app-shell .page-heading h1 { white-space: nowrap; }
  .app-shell .topbar-actions { margin-left: auto; }
}
@media (max-width: 660px) {
  .municipal-edit-toolbar { align-items: stretch; flex-direction: column; }
  .municipal-edit-toolbar button { width: 100%; white-space: normal; }
}

/* Ambientación adicional, solo en cabeceras. No participa en clics ni en la impresión. */
@media screen {
  .coop-consult-hero,
  .coop-readonly-head,
  .coop-analysis-hero,
  .coop-editor-head,
  .coop-repository-head,
  .coop-hero-clean {
    position: relative;
    isolation: isolate;
  }
  .coop-consult-hero::before,
  .coop-readonly-head::before,
  .coop-analysis-hero::before,
  .coop-editor-head::before,
  .coop-repository-head::before,
  .coop-hero-clean::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: var(--simeder-season-ambient, none);
    background-repeat: no-repeat;
    background-size: clamp(178px, 21vw, 286px) auto;
    background-position: right 5% top 0;
    opacity: .58;
  }
  .coop-hero-clean::after { background-position: right 3% top 0; opacity: .80; }
  .coop-analysis-hero::before { opacity: .68; }
  .coop-editor-head::before,
  .coop-readonly-head::before,
  .coop-repository-head::before { background-size: 162px auto; opacity: .38; }
}
@media screen and (max-width: 760px) {
  .coop-consult-hero::before,
  .coop-readonly-head::before,
  .coop-analysis-hero::before,
  .coop-editor-head::before,
  .coop-repository-head::before,
  .coop-hero-clean::after {
    background-size: 124px auto;
    background-position: right 4px top 2px;
    opacity: .38;
  }
}

/* En consulta, una columna exclusiva separa el adorno de toda la botonera. */
@media screen and (min-width: 761px) {
  .coop-consult-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(152px, 19vw, 275px);
    gap: 16px 18px;
  }
  .coop-consult-hero > div:first-child { grid-area: 1 / 1; min-width: 0; }
  .coop-consult-hero > .coop-consult-actions {
    grid-area: 2 / 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 0;
  }
  .coop-consult-hero::before {
    position: relative;
    grid-area: 1 / 2 / 3 / 3;
    inset: auto;
    z-index: 0;
    align-self: stretch;
    background-size: contain;
    background-position: right top;
    opacity: .86;
  }
}
@media screen and (max-width: 760px) {
  .coop-consult-hero::before { content: none; }
}

/* Navidad en las vistas interiores. Los remates ocupan los bordes y el
   espacio entre el título y los controles, también al consultar una matriz. */
@supports not (inset: 0) {
  .overlay[data-close-drawer] { top: 0; right: 0; bottom: 0; left: 0; }
  .drawer.matrix-form-drawer { top: 0; right: 0; bottom: 0; left: auto; }
}
@media screen {
  body:not(.high-contrast) {
    --simeder-season-header: url('/seasonal-cabecera.svg?v=23.94.150');
    --simeder-season-thread: linear-gradient(90deg,
      transparent 0%, #449582 16%, #d1a052 32%, #edce89 38.2%,
      #cd9157 49%, #af5364 61.8%, #d9b674 76%, transparent 100%);
  }
  body:not(.high-contrast) .app-shell .topbar::after,
  body:not(.high-contrast) .matrix-form-drawer .drawer-head::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--simeder-season-thread);
    pointer-events: none;
  }
  body:not(.high-contrast) .app-shell .topbar {
    background-color: #fffefa;
  }
  body:not(.high-contrast) .app-shell:not(.sidebar-collapsed) .side-brand {
    background: var(--simeder-season-header) center bottom / 113px 19px no-repeat;
    padding-bottom: 21px;
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head {
    position: relative;
    background: linear-gradient(110deg, #103d55 0%, #0b485e 61.8%, #124f57 100%);
  }
  @supports (color: color-mix(in srgb, navy, teal)) {
    body:not(.high-contrast) .matrix-form-drawer .drawer-head {
      background: linear-gradient(110deg, color-mix(in srgb, var(--axis, #178ac2) 25%, #093953) 0%,
        #0b485e 61.8%, #124f57 100%);
    }
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head h2,
  body:not(.high-contrast) .matrix-form-drawer .drawer-head .form-progress > span {
    color: #fffdf6;
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head .entity-code {
    color: #f0ce88;
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head p:not(.policy-consultation-status) {
    color: #d6e8ea;
  }
  body:not(.high-contrast) .municipal-axis-heading {
    background-image: var(--simeder-season-thread);
    background-size: 100% 2px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
}
@media screen and (max-width: 919px) {
  body:not(.high-contrast) .app-shell .topbar::after {
    height: 9px;
    background: var(--simeder-season-header) right 13px bottom / 54px 9px no-repeat,
      var(--simeder-season-thread) center bottom / 100% 1px no-repeat;
  }
}
@media screen and (min-width: 920px) {
  body:not(.high-contrast) .app-shell .topbar-left::after,
  body:not(.high-contrast) .matrix-form-drawer .drawer-head-top::after {
    content: "";
    display: block;
    height: 34px;
    min-width: 0;
    flex: 0 1 clamp(132px, 13vw, 210px);
    align-self: center;
    background: var(--simeder-season-header) center / contain no-repeat;
    pointer-events: none;
  }
  body:not(.high-contrast) .app-shell .topbar-left::after {
    order: 4;
    margin-inline-start: auto;
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head-top::after {
    order: 1;
    margin-inline: auto;
  }
  body:not(.high-contrast) .matrix-form-drawer .policy-mode-controls {
    order: 2;
  }
  body:not(.high-contrast) .capture-hero,
  body:not(.high-contrast) .municipal-intro {
    background-size: clamp(258px, 20.7vw, 368px) auto, auto, auto, auto;
  }
  body:not(.high-contrast) .communication-hero {
    background-size: clamp(282px, 21.85vw, 420px) auto, auto, auto, auto, auto;
  }
}

/* Los navegadores sin la consulta forced-colors reciben la presentación normal.
   Los colores elegidos por el sistema tienen prioridad cuando se activa. */
@media (forced-colors: active) {
  body:not(.high-contrast) {
    --simeder-season-header: none;
    --simeder-season-thread: none;
  }
  .module-portal .module-portal-intro::after,
  .coop-consult-hero::before,
  .coop-readonly-head::before,
  .coop-analysis-hero::before,
  .coop-editor-head::before,
  .coop-repository-head::before,
  .coop-hero-clean::after,
  body:not(.high-contrast) .app-shell .topbar::after,
  body:not(.high-contrast) .app-shell .topbar-left::after,
  body:not(.high-contrast) .matrix-form-drawer .drawer-head::after,
  body:not(.high-contrast) .matrix-form-drawer .drawer-head-top::after {
    content: none;
  }
  .module-portal .module-portal-intro {
    display: flex;
    gap: 25px;
  }
  .coop-consult-hero {
    display: flex;
    gap: 24px;
  }
  .coop-consult-hero > .coop-consult-actions {
    justify-content: flex-end;
  }
  body:not(.high-contrast) .matrix-form-drawer .drawer-head {
    background: Canvas;
    color: CanvasText;
  }
}
@media (forced-colors: active) and (max-width: 900px) {
  .coop-consult-hero,
  .coop-consult-hero > .coop-consult-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .coop-consult-hero > div:first-child,
  .coop-consult-hero > .coop-consult-actions { grid-area: auto; }
}
@media (forced-colors: active) and (min-width: 561px) and (max-width: 900px) {
  .coop-consult-hero > .coop-consult-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.access-preview[open] {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: fit-content;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
}
.access-preview .panel-header { align-items: center; margin-bottom: 12px; }
.access-preview .panel-header h2,
.access-preview-body h3 { margin: 0; }
.access-preview-body { overflow: auto; overflow-wrap: anywhere; padding: 4px; }
.access-preview-details { margin: 16px 0 24px; }
.access-preview-details > div { margin-block: 8px; }
.access-preview-details dt { font-size: .85em; font-weight: 700; }
.access-preview-details dd { margin: 2px 0; }
.access-preview-modules { padding: 0; list-style: none; }
.access-preview-modules > li { margin: 12px 0 18px; }
.access-preview-modules ul { padding-inline-start: 22px; }
.access-preview-modules ul li { margin-block: 4px; }
.account-credential .dialog-actions { flex-wrap: wrap; }

/* A printed CONADER card alongside a readable transcript on small screens. */
.policy-appreciation-dialog {
  width: min(840px, calc(100% - 24px));
  max-width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #c9b17a;
  border-radius: 14px;
  background: #fffbf2;
  color: #12394b;
  box-shadow: 0 18px 70px #00192d55;
}
.policy-appreciation-dialog[open] {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: fit-content;
  display: flex;
  flex-direction: column;
}
.policy-appreciation-dialog::backdrop { background: #051a2cc9; }
.policy-appreciation-dialog > header, .policy-appreciation-dialog > footer {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 18px;
}
.policy-appreciation-dialog > header { justify-content: space-between; }
.policy-appreciation-dialog > header h2 { font-size: 1.05rem; margin: 0; }
.policy-complete-label { display: block; margin-bottom: 3px; color: #166447; font-size: .875rem; }
.policy-appreciation-dialog > header button { flex: none; }
.policy-appreciation-dialog > footer { justify-content: flex-end; border-top: 1px solid #d9cdb7; flex-wrap: wrap; }
.policy-appreciation-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.policy-appreciation-body img { display: block; width: 100%; height: auto; }
.policy-appreciation-body img[hidden] { display: none; }
.policy-appreciation-text { padding: 12px 18px 16px; max-width: 68ch; }
.policy-appreciation-text summary { cursor: pointer; color: #0b5361; font-weight: 650; }
.policy-appreciation-text h3 { font-size: 1.3rem; }
.policy-appreciation-text p { line-height: 1.6; color: inherit; }
.policy-appreciation-download { text-decoration: none; white-space: normal; }
.policy-shipment-axis-info .policy-appreciation-download, .completion-success .policy-appreciation-download { display: inline-flex; margin-top: 8px; }
@media (max-width: 560px) {
  .policy-appreciation-dialog > header, .policy-appreciation-dialog > footer { padding: 10px 12px; gap: 8px; }
  .policy-appreciation-dialog > footer .btn { flex: auto; padding: 7px 10px; text-align: center; justify-content: center; }
}

.matrix-form-drawer .policy-mode-controls { margin-inline-end: 16px; }

@media screen and (prefers-reduced-motion: no-preference) {
 body:not(.reduced-motion):not(.high-contrast) .login-opening-star {position:fixed;top:18vh;left:0;right:0;z-index:40;}
}

@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  body:not(.reduced-motion):not(.high-contrast) .login-opening-star {
    position: fixed;
    inset: 12vh auto auto 0;
    width: 1px;
    z-index: 80;
    animation: conader-estrella 4.5s ease-out .35s both;
    filter: drop-shadow(0 0 4px #eeb852);
  }
  .login-opening-star::after { left: 0; top: 0; }
}
@keyframes conader-estrella {
  0% { opacity: 0; transform: translate(-20px,0) rotate(6deg); }
  12%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translate(104vw,12vh) rotate(6deg); }
}
@media (forced-colors: active) { body .login-opening-star {display:none!important;} }

@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  body:not(.reduced-motion):not(.high-contrast) .login-opening-star {
    top: clamp(124px, 24vh, 260px);
    width: 100vw;
    animation: simeder-opening-star 5.2s cubic-bezier(.28,.48,.52,.9) .65s both;
    filter: drop-shadow(0 0 5px #ffd774);
  }
  .login-opening-star::before {
    width: clamp(80px, 12vw, 180px); height: 3px;
    background: linear-gradient(90deg, transparent, #deb15f88 35%, #ffe6a9 85%, white);
  }
  .login-opening-star::after {
    width: clamp(28px, 3vw, 43px); height: clamp(28px, 3vw, 43px);
  }
}

.opening-comet {display:none;pointer-events:none;}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
 body:not(.reduced-motion) .opening-comet {
   display:block;position:fixed;z-index:1000;left:0;top:clamp(85px,16vh,175px);
   width:clamp(46px,5vw,62px);opacity:0;
   animation:conader-small-flight 1.8s linear 1 both;
 }
 .opening-comet svg {display:block;width:100%;height:auto;}
}
@keyframes conader-small-flight {
 0% {transform:translate3d(-100%,0,0);opacity:0;}
 7%,85% {opacity:1;}
 100% {transform:translate3d(102vw,6vh,0);opacity:0;}
}

.login-comet-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  body:not(.reduced-motion) .login-comet-track .opening-comet {
    position: absolute;
    animation-name: login-illustration-flight;
  }
}
@keyframes login-illustration-flight {
  0% { left: 0; transform: translate(-100%, 0); opacity: 0; }
  7%, 85% { opacity: 1; }
  100% { left: 100%; transform: translate(0, 6vh); opacity: 0; }
}

/* Executive report workspace */
#report-preview .executive-overview,
#report-preview .report-analysis-detail {
  background: #fff; color: #18364a; border: 1px solid #cbdbe3; border-radius: 12px;
  margin: 1rem 0; padding: clamp(1rem, 2.7vw, 2.15rem); min-width: 0;
}
#report-preview .executive-overview > header {
  display: flex; flex-wrap: wrap; gap: .85rem; align-items: center;
  justify-content: space-between; border-bottom: 2px solid #137b89; padding-bottom: .9rem;
}
#report-preview .executive-overview h2 {
  margin: 0; color: #0d3553; font-size: clamp(1.3rem, 2.1vw, 1.85rem);
}
#report-preview .executive-section { margin-top: 1.65rem; min-width: 0; }
#report-preview .executive-section table {
  width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .91rem; line-height: 1.5;
}
#report-preview .executive-section caption { text-align: left; color: #0d3553; }
#report-preview .executive-section h3 { font-size: 1.15rem; margin: 0 0 .65rem; }
#report-preview .executive-section :is(th, td) {
  text-align: left; vertical-align: top; padding: .62rem .72rem; overflow-wrap: anywhere;
  border: 0; border-bottom: 1px solid #d9e3e8; color: #18364a;
}
#report-preview .executive-section th { background: #e8f1f4; font-size: .83rem; }
#report-preview .executive-section tr:nth-child(even) td { background: #f6f9fa; }
#report-preview .executive-section p {
  margin: .6rem 0 0; color: #405c69; font-size: .85rem; line-height: 1.5;
}
#report-preview .executive-chart {
  margin: 1.15rem 0; padding: 1rem; border-left: 3px solid #248393; background: #f3f8f9;
}
#report-preview .executive-chart figcaption { font-weight: 700; }
#report-preview .executive-chart ul { list-style: none; margin: .7rem 0; padding: 0; }
#report-preview .executive-chart li {
  display: grid; align-items: center; grid-template-columns: minmax(5rem, 1fr) 1.65fr auto;
  gap: .8rem; margin: .4rem 0; font-size: .9rem;
}
#report-preview .executive-bar-track { background: #d8e5ea; height: .58rem; }
#report-preview .executive-bar-track > span { display: block; background: #147789; height: 100%; }
#report-preview .report-analysis-detail > summary { font-weight: 700; color: #0d527d; cursor: pointer; }
#report-preview .report-analysis-detail[open] > summary { margin-bottom: 1rem; }
@media (max-width: 700px) {
  #report-preview .executive-section :is(table, caption, tbody, tr, td) { display: block; width: 100%; }
  #report-preview .executive-section thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  #report-preview .executive-section tbody tr { border-top: 2px solid #b4cbd4; }
  #report-preview .executive-section td {
    display: grid; grid-template-columns: minmax(4.5rem,32%) minmax(0,1fr); gap: .6rem; padding: .55rem .3rem;
  }
  #report-preview .executive-section td::before { content: attr(data-label); font-weight: 700; color: #345462; }
  #report-preview .executive-chart { padding: .65rem; }
}
@media print {
  #report-preview:has(.report-analysis-detail) .executive-overview,
  #report-preview .report-analysis-detail > summary { display: none !important; }
  #report-preview .report-analysis-detail { margin: 0; border: 0; padding: 0; }
}

#report-preview .report-statistical-annex { scroll-margin-top: 12rem; }
.report-vector-chart { margin: .75rem 0; max-width: 46rem; }
.report-vector-chart svg { display: block; width: 100%; height: auto; }
@media screen {
  #report-preview .report-statistical-block { content-visibility: auto; contain-intrinsic-size: auto 230px; }
}

#report-preview .report-pdf-preview { padding: clamp(.85rem,2vw,1.7rem); }
.report-pdf-preview h2 { font-size: 1.25rem; margin: 0 0 .9rem; }
.report-pdf-host { min-height: 13rem; }
#report-preview .report-analysis-detail > summary { padding: .65rem 0; }
#print-report[aria-disabled="true"] { opacity:.6; }
@media print { .report-pdf-preview { display:none !important; } }
.report-reader-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.65rem; padding:.7rem; background:#f1f6f7; }
.report-reader-toolbar label,.report-reader-pagination { display:inline-flex; align-items:center; gap:.5rem; }
.report-reader-toolbar select { max-width:min(55vw,23rem); }
.report-reader-toolbar input { width:4.6rem; text-align:center; }
.report-reader-toolbar :is(input,select) { padding:.4rem; border:1px solid #a7bbc1; border-radius:.3rem; background:white; color:#1a3a4a; }
.report-paper { background:#e9eff1; padding:.7rem 0; }
.report-paper canvas { display:block; width:min(100%,900px); height:auto; margin:0 auto; box-shadow:0 1px 5px #17374624; }
.report-reader-status { display:block; font-size:.83rem; color:#506775; padding:.35rem .1rem; }
