/* ==========================================================
   NUBO_REAL_ANALYSIS_V2_1_START
   ========================================================== */

.nubo-real-v21 {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.nubo-real-v21 *,
.nubo-real-v21 *::before,
.nubo-real-v21 *::after {
  box-sizing: border-box;
}

.nubo-real-v21__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 24px;
  border: 1px solid rgba(31, 110, 78, 0.14);
  border-radius: 21px;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(93, 224, 166, 0.20),
      transparent 30%
    ),
    linear-gradient(135deg, #ffffff, #f2fbf7);
  box-shadow:
    0 14px 39px rgba(25, 73, 55, 0.06);
}

.nubo-real-v21__hero > div:first-child {
  max-width: 720px;
}

.nubo-real-v21__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #167252;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.nubo-real-v21__hero h1 {
  margin: 6px 0 4px;
  color: #102e24;
  font-size: clamp(27px, 2.8vw, 38px);
  letter-spacing: -0.045em;
}

.nubo-real-v21__hero p {
  margin: 0;
  color: #657870;
  font-size: 12px;
  line-height: 1.6;
}

.nubo-real-v21__ai-button {
  display: grid;
  grid-template-columns:
    auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 282px;
  padding: 13px 15px;
  border: 1px solid rgba(25, 133, 92, 0.18);
  border-radius: 15px;
  color: #145a43;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 10px 26px rgba(31, 96, 72, 0.08);
  cursor: pointer;
  text-align: left;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.nubo-real-v21__ai-button:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 133, 92, 0.32);
  box-shadow:
    0 15px 33px rgba(31, 96, 72, 0.13);
}

.nubo-real-v21__ai-button > svg {
  width: 21px;
  height: 21px;
}

.nubo-real-v21__ai-button > span {
  display: grid;
  gap: 2px;
}

.nubo-real-v21__ai-button strong {
  font-size: 12px;
}

.nubo-real-v21__ai-button small {
  color: #758780;
  font-size: 10px;
}

.nubo-real-v21__ai-button b {
  font-size: 17px;
}

.nubo-real-v21__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #e0e9e5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.nubo-real-v21__filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nubo-real-v21__filter > span {
  color: #778982;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nubo-real-v21__filter > div {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #eff4f2;
}

.nubo-real-v21__filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  color: #697a74;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.nubo-real-v21__filter button:hover {
  color: #165a43;
}

.nubo-real-v21__filter button.is-active {
  color: #155c43;
  background: #ffffff;
  box-shadow:
    0 4px 11px rgba(23, 76, 58, 0.10);
}

.nubo-real-v21__filter button svg {
  width: 14px;
  height: 14px;
}

.nubo-real-v21__kpis {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nubo-real-v21__kpis article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 121px;
  padding: 17px;
  border: 1px solid #e0e9e5;
  border-radius: 17px;
  background: #ffffff;
  box-shadow:
    0 9px 25px rgba(25, 67, 52, 0.04);
}

.nubo-real-v21__kpis article > span {
  color: #74867f;
  font-size: 10px;
  font-weight: 750;
}

.nubo-real-v21__kpis article > strong {
  overflow: hidden;
  color: #17372c;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nubo-real-v21__kpis article > small {
  color: #82928c;
  font-size: 10px;
  line-height: 1.4;
}

.nubo-real-v21__kpis article.is-deficit {
  background:
    linear-gradient(145deg, #ffffff, #fff6f3);
}

.nubo-real-v21__kpis article.is-deficit > strong {
  color: #c8604f;
}

.nubo-real-v21__kpis article.is-positive > strong {
  color: #16855e;
}

.nubo-real-v21__kpis article.is-score {
  background:
    linear-gradient(145deg, #ffffff, #f6f3ff);
}

.nubo-real-v21__score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nubo-real-v21__score-head strong {
  color: #17372c;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.nubo-real-v21__score-head strong em {
  font-size: 11px;
  font-style: normal;
  letter-spacing: normal;
}

.nubo-real-v21__score-head b {
  color: #6952ca;
  font-size: 9px;
}

.nubo-real-v21__score-track {
  position: relative;
  display: block;
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #ece9f5;
}

.nubo-real-v21__score-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--score-width);
  border-radius: inherit;
  background:
    linear-gradient(90deg, #795fe0, #42b88a);
}

.nubo-real-v21__analysis {
  display: grid;
  grid-template-columns:
    minmax(0, 1.72fr)
    minmax(290px, 0.62fr);
  gap: 14px;
  align-items: start;
}

.nubo-real-v21__chart,
.nubo-real-v21__diagnosis {
  border: 1px solid #dfe8e4;
  border-radius: 21px;
  background: #ffffff;
  box-shadow:
    0 14px 36px rgba(25, 67, 52, 0.05);
}

.nubo-real-v21__chart {
  overflow: hidden;
}

.nubo-real-v21__chart > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 21px;
  border-bottom: 1px solid #e6eeea;
}

.nubo-real-v21__chart
> header
> div:first-child
> span {
  color: #735dd8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nubo-real-v21__chart h2 {
  margin: 5px 0 3px;
  color: #172f27;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.nubo-real-v21__chart header p {
  margin: 0;
  color: #71847c;
  font-size: 11px;
}

.nubo-real-v21__period {
  display: grid;
  justify-items: center;
  min-width: 102px;
  padding: 9px 12px;
  border-radius: 13px;
  color: #166044;
  background: #eef8f4;
}

.nubo-real-v21__period strong {
  font-size: 11px;
}

.nubo-real-v21__period small {
  margin-top: 2px;
  font-size: 9px;
}

.nubo-real-v21__bars {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.nubo-real-v21__bar-row {
  display: grid;
  grid-template-columns:
    34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.nubo-real-v21__bar-row:hover,
.nubo-real-v21__bar-row:focus-visible,
.nubo-real-v21__bar-row.is-active {
  transform: translateX(2px);
  border-color:
    color-mix(
      in srgb,
      var(--bar-color) 24%,
      transparent
    );
  background:
    color-mix(
      in srgb,
      var(--bar-color) 6%,
      #ffffff
    );
  box-shadow:
    0 7px 19px rgba(30, 72, 56, 0.045);
  outline: none;
}

.nubo-real-v21__rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--bar-color);
  background:
    color-mix(
      in srgb,
      var(--bar-color) 11%,
      #ffffff
    );
  font-size: 11px;
  font-weight: 850;
}

.nubo-real-v21__bar-content {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.nubo-real-v21__bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nubo-real-v21__bar-head > strong {
  overflow: hidden;
  color: #1c332b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nubo-real-v21__bar-head > span {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nubo-real-v21__bar-head b {
  min-width: 47px;
  color: var(--bar-color);
  font-size: 10px;
  text-align: right;
}

.nubo-real-v21__bar-head em {
  min-width: 89px;
  color: #273c35;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.nubo-real-v21__track {
  position: relative;
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #edf1ef;
}

.nubo-real-v21__track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar-width);
  min-width: 3px;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--bar-color),
      color-mix(
        in srgb,
        var(--bar-color) 62%,
        #ffffff
      )
    );
}

.nubo-real-v21__diagnosis {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  min-height: 422px;
  padding: 21px;
}

.nubo-real-v21__diagnosis-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 17px 0;
}

.nubo-real-v21__diagnosis-title > span {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--focus-color);
  background:
    color-mix(
      in srgb,
      var(--focus-color) 11%,
      #ffffff
    );
}

.nubo-real-v21__diagnosis-title svg {
  width: 18px;
  height: 18px;
}

.nubo-real-v21__diagnosis-title small {
  color: #7d8d87;
  font-size: 9px;
}

.nubo-real-v21__diagnosis-title h2 {
  margin: 2px 0 0;
  color: #1a342b;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.nubo-real-v21__diagnosis-values {
  display: grid;
  grid-template-columns:
    1fr 1fr;
  gap: 8px;
}

.nubo-real-v21__diagnosis-values > div {
  padding: 11px;
  border-radius: 12px;
  background: #f6f9f7;
}

.nubo-real-v21__diagnosis-values span {
  display: block;
  color: #778881;
  font-size: 9px;
}

.nubo-real-v21__diagnosis-values strong {
  display: block;
  margin-top: 4px;
  color: #1d3e33;
  font-size: 15px;
}

.nubo-real-v21__diagnosis > p {
  margin: 15px 0;
  color: #687a73;
  font-size: 11px;
  line-height: 1.6;
}

.nubo-real-v21__diagnosis-scenario {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      color-mix(
        in srgb,
        var(--focus-color) 9%,
        #ffffff
      ),
      #eff9f4
    );
}

.nubo-real-v21__diagnosis-scenario > span {
  color: #7469a1;
  font-size: 9px;
}

.nubo-real-v21__diagnosis-scenario > strong {
  color: var(--focus-color);
  font-size: 21px;
}

.nubo-real-v21__diagnosis-scenario > small {
  color: #7c8b85;
  font-size: 9px;
  line-height: 1.5;
}

.nubo-real-v21__intelligence {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nubo-real-v21__intelligence > article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 286px;
  padding: 18px;
  border: 1px solid #e0e9e5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 10px 27px rgba(25, 67, 52, 0.04);
}

.nubo-real-v21__intelligence header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.nubo-real-v21__intelligence
header
> span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #277a5a;
  background: #eaf8f2;
}

.nubo-real-v21__intelligence
header svg {
  width: 17px;
  height: 17px;
}

.nubo-real-v21__intelligence
header small {
  color: #7d8d87;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nubo-real-v21__intelligence h2 {
  margin: 2px 0 0;
  color: #19362b;
  font-size: 14px;
}

.nubo-real-v21__reading-block {
  padding: 12px;
  border-radius: 12px;
  background: #f6f9f7;
}

.nubo-real-v21__reading-block
+ .nubo-real-v21__reading-block {
  margin-top: 9px;
}

.nubo-real-v21__reading-block strong {
  color: #28473c;
  font-size: 10px;
}

.nubo-real-v21__reading-block p,
.nubo-real-v21__intelligence
> article
> p {
  margin: 5px 0 0;
  color: #6c7e77;
  font-size: 10px;
  line-height: 1.6;
}

.nubo-real-v21__intelligence dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.nubo-real-v21__intelligence
dl
> div {
  padding: 10px 11px;
  border-radius: 12px;
  background: #f6f9f7;
}

.nubo-real-v21__intelligence dt {
  color: #72837c;
  font-size: 9px;
}

.nubo-real-v21__intelligence dd {
  margin: 4px 0;
  color: #1d4033;
  font-size: 15px;
  font-weight: 850;
}

.nubo-real-v21__intelligence
dl small,
.nubo-real-v21__intelligence
.is-action
> small {
  color: #85958e;
  font-size: 9px;
  line-height: 1.45;
}

.nubo-real-v21__opportunity {
  display: grid;
  gap: 4px;
  margin: auto 0 11px;
  padding: 13px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, #f3f0ff, #eef9f4);
}

.nubo-real-v21__opportunity > span {
  color: #7568ad;
  font-size: 9px;
}

.nubo-real-v21__opportunity > strong {
  color: #5942bd;
  font-size: 20px;
}

.nubo-real-v21__intelligence
.is-action
> a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: 11px;
  color: #1c6a4e;
  background: #edf8f3;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.nubo-real-v21__ask {
  display: grid;
  grid-template-columns:
    minmax(255px, 0.75fr)
    minmax(360px, 1fr);
  gap: 16px 24px;
  align-items: center;
  padding: 19px 21px;
  border:
    1px solid rgba(93, 71, 196, 0.14);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(117, 91, 220, 0.12),
      transparent 30%
    ),
    linear-gradient(135deg, #ffffff, #f7f5ff);
}

.nubo-real-v21__ask-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nubo-real-v21__ask-head
> span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 13px;
  color: #6c53cf;
  background: #eeeaff;
}

.nubo-real-v21__ask-head svg {
  width: 20px;
  height: 20px;
}

.nubo-real-v21__ask-head small {
  color: #7460c5;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nubo-real-v21__ask-head h2 {
  margin: 2px 0;
  color: #2b2448;
  font-size: 15px;
}

.nubo-real-v21__ask-head p {
  margin: 0;
  color: #777187;
  font-size: 10px;
  line-height: 1.45;
}

.nubo-real-v21__ask-form {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto;
  gap: 7px;
  padding: 5px;
  border:
    1px solid rgba(98, 78, 191, 0.14);
  border-radius: 13px;
  background:
    rgba(255, 255, 255, 0.86);
}

.nubo-real-v21__ask-form input {
  min-width: 0;
  padding: 9px 11px;
  border: 0;
  outline: 0;
  color: #312b45;
  background: transparent;
  font-size: 10px;
}

.nubo-real-v21__ask-form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #6d55d2;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.nubo-real-v21__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
}

.nubo-real-v21__suggestions button {
  padding: 7px 9px;
  border:
    1px solid rgba(103, 82, 198, 0.12);
  border-radius: 999px;
  color: #6656a6;
  background:
    rgba(255, 255, 255, 0.66);
  font-size: 9px;
  cursor: pointer;
}

.nubo-real-v21__suggestions
button:hover {
  color: #4f3f9b;
  background: #ffffff;
}

.nubo-real-v21__empty {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 48px 22px;
  border: 1px dashed #cddbd5;
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
}

.nubo-real-v21__empty
> svg {
  width: 30px;
  height: 30px;
  color: #2e8463;
}

.nubo-real-v21__empty h2 {
  margin: 5px 0 0;
  color: #26463b;
}

.nubo-real-v21__empty p {
  max-width: 470px;
  margin: 0 0 8px;
  color: #75867f;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .nubo-real-v21__kpis {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nubo-real-v21__analysis {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__diagnosis {
    position: static;
    min-height: 0;
  }

  .nubo-real-v21__intelligence {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nubo-real-v21__intelligence
  > article:first-child {
    grid-column: 1 / -1;
  }

  .nubo-real-v21__ask {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__suggestions {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .nubo-real-v21 {
    gap: 13px;
  }

  .nubo-real-v21__hero {
    align-items: stretch;
    flex-direction: column;
    padding: 19px;
    border-radius: 19px;
  }

  .nubo-real-v21__ai-button {
    width: 100%;
    min-width: 0;
  }

  .nubo-real-v21__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nubo-real-v21__filter {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .nubo-real-v21__filter > div {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .nubo-real-v21__filter:last-child
  > div {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .nubo-real-v21__kpis {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__chart
  > header {
    align-items: flex-start;
  }

  .nubo-real-v21__period {
    min-width: 84px;
  }

  .nubo-real-v21__bars {
    padding: 9px;
  }

  .nubo-real-v21__bar-row {
    grid-template-columns:
      30px minmax(0, 1fr);
    padding: 9px 7px;
  }

  .nubo-real-v21__rank {
    width: 30px;
    height: 30px;
  }

  .nubo-real-v21__bar-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nubo-real-v21__bar-head
  > span {
    justify-content: space-between;
    width: 100%;
  }

  .nubo-real-v21__bar-head em {
    min-width: 0;
  }

  .nubo-real-v21__diagnosis-values {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__intelligence {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__intelligence
  > article:first-child {
    grid-column: auto;
  }

  .nubo-real-v21__ask {
    padding: 17px;
  }

  .nubo-real-v21__ask-form {
    grid-template-columns: 1fr;
  }

  .nubo-real-v21__ask-form button {
    justify-content: center;
  }

  .nubo-real-v21__suggestions {
    flex-direction: column;
  }

  .nubo-real-v21__suggestions button {
    width: 100%;
    border-radius: 10px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nubo-real-v21 *,
  .nubo-real-v21 *::before,
  .nubo-real-v21 *::after {
    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;
  }
}

/* NUBO_REAL_ANALYSIS_V2_1_END */

/* ==========================================================
   NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_START

   Sistema visual compartido con Metas y Deudas:
   - Wrapper canónico.
   - Hero pastel controlado.
   - Tarjetas, bordes y sombras del sistema Nubo.
   - Tipografía uniforme.
   - Color solamente como acento.
   ========================================================== */


.nubo-analysis-page.nubo-analysis-system-v4 {
  --analysis-ink:
    #302f3a;

  --analysis-muted:
    #817b84;

  --analysis-line:
    #e5e4e8;

  --analysis-surface:
    #ffffff;

  --analysis-soft:
    #f7f7f8;

  --analysis-purple:
    #7869cb;

  --analysis-purple-soft:
    #f0edff;

  --analysis-green:
    #5a9370;

  --analysis-green-soft:
    #e9f6ef;

  display:
    grid;

  gap:
    14px;

  padding-bottom:
    28px;

  color:
    var(--analysis-ink);
}


.nubo-analysis-system-v4 *,
.nubo-analysis-system-v4 *::before,
.nubo-analysis-system-v4 *::after {
  box-sizing:
    border-box;
}


.nubo-analysis-system-v4::before {
  content:
    none !important;
}


/* ========================================================
   HERO CANÓNICO
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__hero {
  position:
    relative;

  overflow:
    hidden;

  min-height:
    205px;

  padding:
    24px
    26px;

  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    28px;

  border:
    1px solid
    #e5e1ed !important;

  border-radius:
    23px !important;

  background:
    linear-gradient(
      115deg,
      #fbf9ff 0%,
      #f8fbf9 100%
    ) !important;

  box-shadow:
    0 8px 24px
    rgba(58, 51, 66, 0.045)
    !important;

  animation:
    nubo-analysis-v4-enter
    340ms
    ease-out
    both;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero::before {
  content:
    "";

  position:
    absolute;

  right:
    28px;

  bottom:
    -70px;

  width:
    250px;

  height:
    150px;

  pointer-events:
    none;

  border-radius:
    50%;

  background:
    rgba(120, 105, 203, 0.035);
}


.nubo-analysis-system-v4
.nubo-real-v21__hero::after {
  content:
    "";

  position:
    absolute;

  right:
    170px;

  bottom:
    -95px;

  width:
    250px;

  height:
    150px;

  pointer-events:
    none;

  border-radius:
    50%;

  background:
    rgba(90, 147, 112, 0.035);
}


.nubo-analysis-system-v4
.nubo-real-v21__hero
> * {
  position:
    relative;

  z-index:
    1;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero
> div:first-child {
  max-width:
    720px;
}


.nubo-analysis-system-v4
.nubo-real-v21__eyebrow {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    7px;

  margin-bottom:
    8px;

  padding:
    6px
    10px;

  border:
    1px solid
    rgba(120, 105, 203, 0.14);

  border-radius:
    999px;

  color:
    #6758b6;

  background:
    rgba(240, 237, 255, 0.72);

  font-size:
    10px !important;

  font-weight:
    790;

  letter-spacing:
    0.035em;

  text-transform:
    uppercase;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero h1 {
  margin:
    0;

  color:
    #302f3a;

  font-size:
    clamp(
      30px,
      3vw,
      38px
    );

  font-weight:
    820;

  line-height:
    1.08;

  letter-spacing:
    -0.04em;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero p {
  max-width:
    700px;

  margin:
    8px
    0
    0;

  color:
    #79757d;

  font-size:
    12px;

  line-height:
    1.55;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button {
  min-width:
    245px;

  min-height:
    46px;

  padding:
    0
    16px;

  display:
    grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items:
    center;

  gap:
    11px;

  border:
    1px solid
    #5a9370 !important;

  border-radius:
    13px !important;

  color:
    #ffffff !important;

  background:
    #5a9370 !important;

  box-shadow:
    0 7px 17px
    rgba(90, 147, 112, 0.15)
    !important;

  cursor:
    pointer;

  text-align:
    left;

  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button:hover {
  transform:
    translateY(-1px);

  border-color:
    #4d8061 !important;

  background:
    #4d8061 !important;

  box-shadow:
    0 8px 18px
    rgba(77, 128, 97, 0.16)
    !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button,
.nubo-analysis-system-v4
.nubo-real-v21__ai-button strong,
.nubo-analysis-system-v4
.nubo-real-v21__ai-button small,
.nubo-analysis-system-v4
.nubo-real-v21__ai-button b,
.nubo-analysis-system-v4
.nubo-real-v21__ai-button svg {
  color:
    #ffffff !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button strong {
  font-size:
    11.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button small {
  margin-top:
    2px;

  font-size:
    9.5px;

  opacity:
    0.82;
}


/* ========================================================
   TOOLBAR Y FILTROS
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__toolbar {
  min-height:
    61px;

  padding:
    12px
    15px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  border:
    1px solid
    var(--analysis-line) !important;

  border-radius:
    17px !important;

  background:
    rgba(255, 255, 255, 0.93)
    !important;

  box-shadow:
    0 7px 21px
    rgba(62, 54, 67, 0.04)
    !important;

  animation:
    nubo-analysis-v4-enter
    360ms
    35ms
    ease-out
    both;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter {
  display:
    flex;

  align-items:
    center;

  gap:
    10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter
> span {
  color:
    #807983;

  font-size:
    10px !important;

  font-weight:
    780;

  letter-spacing:
    0.03em;

  text-transform:
    uppercase;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter
> div {
  padding:
    4px;

  display:
    inline-flex;

  gap:
    4px;

  border:
    1px solid
    #e4e1e7;

  border-radius:
    12px;

  background:
    #f7f5f8 !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter button {
  min-height:
    35px;

  padding:
    0
    12px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    7px;

  border:
    0;

  border-radius:
    9px;

  color:
    #817b84;

  background:
    transparent;

  font-size:
    11.5px;

  font-weight:
    740;

  cursor:
    pointer;

  transition:
    color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter
button:hover {
  color:
    #6556b3;

  transform:
    none;
}


.nubo-analysis-system-v4
.nubo-real-v21__filter
button.is-active {
  color:
    #6758b6;

  background:
    #ffffff;

  box-shadow:
    0 4px 12px
    rgba(72, 58, 92, 0.075);
}


/* ========================================================
   DISTRIBUCIÓN Y LECTURA
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__analysis {
  display:
    grid;

  grid-template-columns:
    minmax(0, 1.72fr)
    minmax(300px, 0.66fr);

  align-items:
    start;

  gap:
    14px;

  animation:
    nubo-analysis-v4-enter
    380ms
    70ms
    ease-out
    both;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis {
  border:
    1px solid
    var(--analysis-line) !important;

  border-radius:
    20px !important;

  background:
    #ffffff !important;

  box-shadow:
    0 8px 24px
    rgba(60, 53, 66, 0.043)
    !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart {
  overflow:
    hidden;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart
> header {
  padding:
    19px
    21px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  border-bottom:
    1px solid
    #e8e6ea;

  background:
    #fbfafc !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart
> header
> div:first-child
> span {
  color:
    #7565c4;

  font-size:
    10px !important;

  font-weight:
    780;

  letter-spacing:
    0.035em;

  text-transform:
    uppercase;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart h2,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-title h2 {
  color:
    #302f3a;

  font-size:
    16px;

  font-weight:
    800;
}


.nubo-analysis-system-v4
.nubo-real-v21__chart
header p {
  color:
    #817b84;

  font-size:
    10.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__period {
  min-width:
    96px;

  padding:
    8px
    10px;

  border:
    1px solid
    #dcece3;

  border-radius:
    12px;

  color:
    #44775a;

  background:
    #f1f8f4 !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__period strong {
  font-size:
    11px;
}


.nubo-analysis-system-v4
.nubo-real-v21__period small {
  font-size:
    9.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__bars {
  padding:
    14px;

  display:
    grid;

  gap:
    5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__bar-row {
  min-height:
    59px;

  padding:
    10px
    11px;

  border:
    1px solid
    transparent;

  border-radius:
    13px;

  background:
    transparent;

  box-shadow:
    none;

  transition:
    border-color 150ms ease,
    background 150ms ease;
}


.nubo-analysis-system-v4
.nubo-real-v21__bar-row:hover,
.nubo-analysis-system-v4
.nubo-real-v21__bar-row:focus-visible {
  transform:
    none;

  border-color:
    color-mix(
      in srgb,
      var(--bar-color) 20%,
      transparent
    );

  background:
    color-mix(
      in srgb,
      var(--bar-color) 3%,
      #ffffff
    );

  box-shadow:
    none;
}


.nubo-analysis-system-v4
.nubo-real-v21__bar-row.is-active {
  transform:
    none;

  border-color:
    color-mix(
      in srgb,
      var(--bar-color) 32%,
      transparent
    );

  background:
    color-mix(
      in srgb,
      var(--bar-color) 5%,
      #ffffff
    );

  box-shadow:
    none;
}


.nubo-analysis-system-v4
.nubo-real-v21__rank {
  width:
    35px;

  height:
    35px;

  font-size:
    11px;
}


.nubo-analysis-system-v4
.nubo-real-v21__bar-head
> strong,
.nubo-analysis-system-v4
.nubo-real-v21__bar-head b,
.nubo-analysis-system-v4
.nubo-real-v21__bar-head em {
  font-size:
    11px;
}


.nubo-analysis-system-v4
.nubo-real-v21__track {
  height:
    7px;

  background:
    #ebefed;
}


.nubo-analysis-system-v4
.nubo-real-v21__track i {
  animation:
    nubo-analysis-v4-bar
    470ms
    cubic-bezier(.2, .75, .25, 1)
    both;
}


/* ========================================================
   LECTURA DE NUBO
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis {
  position:
    sticky;

  top:
    92px;

  display:
    grid;

  gap:
    11px;

  min-height:
    0;

  padding:
    19px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis
> .nubo-real-v21__eyebrow {
  justify-self:
    start;

  margin:
    0;

  padding:
    0;

  border:
    0;

  color:
    #5a8d70;

  background:
    transparent;

  font-size:
    10px !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-title {
  margin:
    1px
    0;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-title
> span {
  width:
    39px;

  height:
    39px;

  border-radius:
    12px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-values,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-context {
  display:
    grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    8px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-values
> div,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-context
> div {
  padding:
    11px;

  border:
    1px solid
    #e8e7e9;

  border-radius:
    12px;

  background:
    #f8f8f9 !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-values span,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-context span,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-meter span {
  color:
    #858087;

  font-size:
    10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-values strong,
.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-context strong {
  color:
    #302f3a;

  font-size:
    14px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-context
strong {
  display:
    block;

  margin-top:
    4px;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis
> p {
  margin:
    1px
    0;

  color:
    #817c84;

  font-size:
    10.5px;

  line-height:
    1.5;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-meter {
  padding:
    11px;

  border:
    1px solid
    #e7e5e9;

  border-radius:
    12px;

  background:
    #ffffff !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-scenario {
  margin-top:
    0;

  padding:
    12px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--focus-color) 14%,
      #e8e7e9
    );

  border-radius:
    12px;

  background:
    color-mix(
      in srgb,
      var(--focus-color) 3%,
      #ffffff
    ) !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__diagnosis-scenario
> strong {
  font-size:
    19px;
}


/* ========================================================
   INTERPRETACIÓN, PROYECCIÓN Y PLAN
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__intelligence {
  display:
    grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  align-items:
    start;

  gap:
    14px;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence
> article {
  position:
    relative;

  overflow:
    hidden;

  min-height:
    0;

  padding:
    18px;

  border:
    1px solid
    var(--analysis-line) !important;

  border-radius:
    19px !important;

  background:
    #ffffff !important;

  box-shadow:
    0 8px 23px
    rgba(60, 53, 66, 0.04)
    !important;

  animation:
    nubo-analysis-v4-enter
    390ms
    110ms
    ease-out
    both;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence
> article::before {
  content:
    "";

  position:
    absolute;

  inset:
    0
    0
    auto;

  height:
    3px;

  background:
    #5a9370;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence
> article:nth-child(2)::before {
  background:
    #6d9fba;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence
> article:nth-child(3)::before {
  background:
    #b88a43;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence h2 {
  color:
    #302f3a;

  font-size:
    15px;

  font-weight:
    790;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence
header small {
  color:
    #858087;

  font-size:
    9.5px !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block,
.nubo-analysis-system-v4
.nubo-real-v21__intelligence
dl > div {
  padding:
    11px;

  border:
    1px solid
    #e8e7e9;

  border-radius:
    11px;

  background:
    #f8f8f9 !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block strong,
.nubo-analysis-system-v4
.nubo-real-v21__intelligence dt {
  color:
    #4f4b52;

  font-size:
    10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block p,
.nubo-analysis-system-v4
.nubo-real-v21__intelligence
> article > p {
  color:
    #7e7981;

  font-size:
    10.5px;

  line-height:
    1.5;
}


.nubo-analysis-system-v4
.nubo-real-v21__intelligence dd {
  color:
    #302f3a;

  font-size:
    15px;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list {
  gap:
    7px;

  margin:
    11px
    0
    0;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list li {
  padding:
    9px
    10px;

  border:
    1px solid
    #e8e5df;

  border-radius:
    11px;

  background:
    #ffffff;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list
li > span {
  color:
    #956c2d;

  background:
    #f7f1e7;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list p {
  color:
    #716a60;

  font-size:
    10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__opportunity {
  margin:
    11px
    0
    9px;

  padding:
    11px;

  border:
    1px solid
    #e5e1f0;

  background:
    #faf9fd !important;
}


/* ========================================================
   NUBO IA
   ======================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__ask {
  padding:
    18px
    20px;

  border:
    1px solid
    #e3dfee !important;

  border-radius:
    19px !important;

  background:
    #fbfaff !important;

  box-shadow:
    0 8px 23px
    rgba(77, 61, 115, 0.04)
    !important;

  animation:
    nubo-analysis-v4-enter
    390ms
    150ms
    ease-out
    both;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head h2 {
  color:
    #302f3a;

  font-size:
    15px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head p {
  color:
    #807a85;

  font-size:
    10.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form {
  border:
    1px solid
    #dfdaed;

  background:
    #ffffff;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form input {
  font-size:
    10.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form button {
  color:
    #ffffff;

  background:
    #7869cb;
}


.nubo-analysis-system-v4
.nubo-real-v21__suggestions button {
  padding:
    7px
    10px;

  border:
    1px solid
    #e2deed;

  color:
    #685bb0;

  background:
    #ffffff;

  font-size:
    9.5px;
}


.nubo-analysis-system-v4
.nubo-real-v21__suggestions
button:hover {
  transform:
    none;

  color:
    #56499f;

  background:
    #f7f5fc;

  box-shadow:
    none;
}


/* ========================================================
   ANIMACIONES
   ======================================================== */


@keyframes nubo-analysis-v4-enter {
  from {
    opacity:
      0;

    transform:
      translateY(6px);
  }

  to {
    opacity:
      1;

    transform:
      translateY(0);
  }
}


@keyframes nubo-analysis-v4-bar {
  from {
    width:
      0;
  }

  to {
    width:
      var(--bar-width);
  }
}


/* ========================================================
   TABLET
   ======================================================== */


@media (max-width: 1100px) {
  .nubo-analysis-system-v4
  .nubo-real-v21__analysis {
    grid-template-columns:
      1fr;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__diagnosis {
    position:
      static;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__intelligence {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__intelligence
  > article:first-child {
    grid-column:
      1 / -1;
  }
}


/* ========================================================
   MÓVIL
   ======================================================== */


@media (max-width: 760px) {
  .nubo-analysis-page.nubo-analysis-system-v4 {
    gap:
      12px;

    padding-bottom:
      108px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero {
    min-height:
      0;

    padding:
      19px;

    flex-direction:
      column;

    align-items:
      stretch;

    border-radius:
      19px !important;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero::before,
  .nubo-analysis-system-v4
  .nubo-real-v21__hero::after {
    display:
      none;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__ai-button {
    width:
      100%;

    min-width:
      0;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__toolbar {
    align-items:
      stretch;

    flex-direction:
      column;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__filter {
    align-items:
      stretch;

    flex-direction:
      column;

    gap:
      6px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__filter
  > div {
    display:
      grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__filter:last-child
  > div {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__chart
  > header {
    align-items:
      flex-start;

    padding:
      17px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__bars {
    padding:
      8px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__bar-row {
    padding:
      9px
      7px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__diagnosis-values,
  .nubo-analysis-system-v4
  .nubo-real-v21__diagnosis-context {
    grid-template-columns:
      1fr;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__intelligence {
    grid-template-columns:
      1fr;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__intelligence
  > article:first-child {
    grid-column:
      auto;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__ask {
    padding:
      16px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__ask-form {
    grid-template-columns:
      1fr;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__suggestions {
    grid-column:
      auto;

    flex-direction:
      column;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__suggestions button {
    width:
      100%;

    border-radius:
      10px;

    text-align:
      left;
  }
}


/* ========================================================
   ACCESIBILIDAD
   ======================================================== */


@media (prefers-reduced-motion: reduce) {
  .nubo-analysis-system-v4 *,
  .nubo-analysis-system-v4 *::before,
  .nubo-analysis-system-v4 *::after {
    animation:
      none !important;

    transition-duration:
      0.01ms !important;
  }
}


/* NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_END */

/* ==========================================================
   NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_1_START

   Composición inferior:
   - Dos columnas independientes.
   - Alturas naturales.
   - Sin líneas superiores de colores.
   - Nubo IA integrada.
   ========================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__insight-columns {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article,
.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> .nubo-real-v21__ask {
  position: relative;
  overflow: hidden;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  padding: 18px;
  border:
    1px solid var(--analysis-line) !important;
  border-radius: 19px !important;
  background: #ffffff !important;
  box-shadow:
    0 8px 23px
    rgba(60, 53, 66, 0.04) !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article::before,
.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article::after {
  content: none !important;
  display: none !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article
> header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article
> header
> span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border:
    1px solid #dcebe3;
  border-radius: 12px;
  color: #4f8967;
  background: #edf7f1;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article
> header svg {
  width: 17px;
  height: 17px;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article
header small {
  color: #858087;
  font-size: 9.5px !important;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article h2 {
  margin: 2px 0 0;
  color: #302f3a;
  font-size: 15px;
  font-weight: 790;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block,
.nubo-analysis-system-v4
.nubo-real-v21__insight-column
dl > div {
  padding: 11px;
  border:
    1px solid #e8e7e9;
  border-radius: 11px;
  background: #f8f8f9 !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block
+ .nubo-real-v21__reading-block {
  margin-top: 8px;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block strong,
.nubo-analysis-system-v4
.nubo-real-v21__insight-column dt {
  color: #4f4b52;
  font-size: 10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__reading-block p,
.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> article
> p {
  margin: 5px 0 0;
  color: #7e7981;
  font-size: 10.5px;
  line-height: 1.5;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column dl {
  display: grid;
  gap: 8px;
  margin: 0;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column dd {
  margin: 4px 0;
  color: #302f3a;
  font-size: 15px;
  font-weight: 820;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
dl small {
  color: #858087;
  font-size: 9.5px;
  line-height: 1.45;
}


/* Plan de acción compacto */


.nubo-analysis-system-v4
.nubo-real-v21__action-list {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border:
    1px solid #e8e7e9;
  border-radius: 12px;
  background: #ffffff;
  list-style: none;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list li {
  display: grid;
  grid-template-columns:
    24px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 11px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list
li + li {
  border-top:
    1px solid #eceaec !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list
li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #537f64;
  background: #edf6f1;
  font-size: 10px;
  font-weight: 800;
}


.nubo-analysis-system-v4
.nubo-real-v21__action-list p {
  margin: 0;
  color: #716d73;
  font-size: 10px;
  line-height: 1.4;
}


.nubo-analysis-system-v4
.nubo-real-v21__opportunity {
  margin: 11px 0 9px;
  padding: 11px;
  border:
    1px solid #e5e1f0;
  border-radius: 11px;
  background: #faf9fd !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
.is-action
> small {
  color: #878189;
  font-size: 9.5px;
  line-height: 1.45;
}


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
.is-action
> a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 11px;
  border:
    1px solid #dcebe3;
  border-radius: 11px;
  color: #44765a;
  background: #f1f8f4;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}


/* Nubo IA dentro de la columna derecha */


.nubo-analysis-system-v4
.nubo-real-v21__insight-column
> .nubo-real-v21__ask {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 18px;
  border-color:
    #e3dfee !important;
  background:
    #fbfaff !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head {
  display: flex;
  align-items: center;
  gap: 11px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head
> span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border:
    1px solid #e0dbf1;
  border-radius: 12px;
  color: #6c5bbc;
  background: #f0edff;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head h2 {
  margin: 2px 0;
  color: #302f3a;
  font-size: 15px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-head p {
  margin: 0;
  color: #807a85;
  font-size: 10px;
  line-height: 1.45;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto;
  gap: 6px;
  padding: 5px;
  border:
    1px solid #dfdaed;
  border-radius: 12px;
  background: #ffffff;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form input {
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  outline: 0;
  color: #403a49;
  background: transparent;
  font-size: 10px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ask-form button {
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #7869cb;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}


.nubo-analysis-system-v4
.nubo-real-v21__suggestions {
  display: flex;
  flex-wrap: wrap;
  grid-column: auto !important;
  gap: 6px;
}


.nubo-analysis-system-v4
.nubo-real-v21__suggestions button {
  padding: 7px 9px;
  border:
    1px solid #e2deed;
  border-radius: 999px;
  color: #685bb0;
  background: #ffffff;
  font-size: 9px;
  cursor: pointer;
}


@media (max-width: 1100px) {
  .nubo-analysis-system-v4
  .nubo-real-v21__insight-columns {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 760px) {
  .nubo-analysis-system-v4
  .nubo-real-v21__insight-columns,
  .nubo-analysis-system-v4
  .nubo-real-v21__insight-column {
    gap: 12px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__insight-column
  > article,
  .nubo-analysis-system-v4
  .nubo-real-v21__insight-column
  > .nubo-real-v21__ask {
    padding: 16px;
    border-radius: 17px !important;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__ask-form {
    grid-template-columns: 1fr;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__suggestions {
    flex-direction: column;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__suggestions button {
    width: 100%;
    border-radius: 10px;
    text-align: left;
  }
}


/* NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_1_END */

/* ==========================================================
   NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_2_1_START

   Hero compacto con hallazgo principal dinámico.
   Sin KPI repetidos ni espacio vacío artificial.
   ========================================================== */


.nubo-analysis-system-v4
.nubo-real-v21__hero {
  min-height: 0 !important;
  padding: 21px 24px !important;
  align-items: center !important;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero
> div:first-child {
  width: min(100%, 730px);
  max-width: 730px;
}


.nubo-analysis-system-v4
.nubo-real-v21__ai-button {
  align-self: center;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight {
  display: grid;
  grid-template-columns:
    36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border:
    1px solid #e4e3e8;
  border-radius: 13px;
  background:
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 4px 13px
    rgba(55, 49, 62, 0.025);
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border:
    1px solid #ded9ef;
  border-radius: 11px;
  color: #6c5bbc;
  background: #f3f0fc;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight-icon
svg {
  width: 16px;
  height: 16px;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight
> div {
  display: grid;
  gap: 2px;
  min-width: 0;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight small {
  color: #837b89;
  font-size: 9px !important;
  font-weight: 780;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight strong {
  overflow: hidden;
  color: #3a3740;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
}


.nubo-analysis-system-v4
.nubo-real-v21__hero-insight p {
  margin: 0;
  color: #7c7680;
  font-size: 10px;
  line-height: 1.4;
}


@media (max-width: 900px) {
  .nubo-analysis-system-v4
  .nubo-real-v21__hero {
    align-items: stretch !important;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero
  > div:first-child {
    width: 100%;
    max-width: none;
  }
}


@media (max-width: 760px) {
  .nubo-analysis-system-v4
  .nubo-real-v21__hero {
    padding: 18px !important;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero-insight {
    grid-template-columns:
      34px minmax(0, 1fr);
    margin-top: 12px;
    padding: 10px 11px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero-insight-icon {
    width: 34px;
    height: 34px;
  }

  .nubo-analysis-system-v4
  .nubo-real-v21__hero-insight strong {
    white-space: normal;
  }
}


/* NUBO_ANALYSIS_SYSTEM_ALIGNED_V4_2_1_END */
