:root {
  --inei-blue: #0b5cab;
  --inei-dark: #003b7a;
  --inei-soft: #eef4fb;
  --inei-line: #dce6f2;
  --inei-text: #243447;
  --inei-muted: #61788f;
  --inei-white: #ffffff;
  --inei-shadow: 0 10px 24px rgba(0, 59, 122, 0.1);
  --inei-shadow-lg: 0 18px 36px rgba(0, 43, 92, 0.14);
}

/* ========================================
   RESET / BASE
======================================== */
.navbar,
.navbar-inverse,
.navbar-static-top,
.weblinks,
#navbar,
.navigation,
.power-pages-header,
header:not(.inei-chatpage-head) {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #f4f7fb;
  color: var(--inei-text);
  font-family: "Segoe UI", Arial, sans-serif;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

/* ========================================
   TOP GOV BAR
======================================== */
.inei-govbar {
  background: var(--inei-blue);
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
}

.inei-govbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.inei-govbar-logo,
.inei-govbar-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.inei-govbar-logo {
  gap: 0;
  font-weight: 700;
}

.inei-govbar-text {
  gap: 12px;
}

.inei-gov-link {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.inei-gov-separator {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.inei-gov-title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.inei-govbar-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.inei-govbar-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ========================================
   PAGE HEADER
======================================== */
.inei-chatpage-head {
  background: #fff;
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--inei-line);
  box-shadow: 0 2px 10px rgba(0, 59, 122, 0.04);
}

.inei-chatpage-head-inner {
  display: block;
}

.inei-chatpage-toprow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 8px;
  align-items: center;
}

.inei-chatpage-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-width: 0;
}

.inei-chatpage-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.inei-chatpage-logo-img {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  border-radius: 22px;
  background: linear-gradient(180deg, #0b5cab, #003b7a);
  padding: 8px;
  box-shadow: 0 10px 20px rgba(0, 59, 122, 0.14);
}

.inei-chatpage-brand-text {
  min-width: 0;
}

.inei-chatpage-breadcrumb {
  margin-bottom: 10px;
  font-size: 13px;
  color: #66809c;
}

.inei-chatpage-breadcrumb a {
  color: var(--inei-blue);
  text-decoration: none;
  font-weight: 700;
}

.inei-chatpage-breadcrumb span {
  margin: 0 8px;
}

.inei-chatpage-brand-text h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--inei-dark);
}

.inei-chatpage-brand-text p {
  margin: 10px 0 0;
  max-width: 620px;
  color: #5c738c;
  font-size: 15px;
  line-height: 1.65;
}

.inei-chatpage-note {
  margin-top: 14px;
  color: var(--inei-blue);
  font-size: 14px;
  font-weight: 700;
}

.inei-chatpage-info {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  justify-self: start;
}

.inei-chatpage-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.inei-chatpage-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70px;
  padding: 10px 12px;
  text-align: center;
  background: linear-gradient(180deg, #f9fbfe, #f4f8fc);
  border: 1px solid #d7e2ee;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 59, 122, 0.03);
}

.inei-chatpage-info-card-date {
  min-height: 76px;
}

.inei-chatpage-info-label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  color: #7a8da3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.inei-chatpage-info-card strong {
  width: 100%;
  text-align: center;
  color: var(--inei-dark);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.inei-chatpage-info-card-date strong {
  font-size: 15px;
  line-height: 1.3;
}

/* ========================================
   NAVIGATION
======================================== */
.inei-nav {
  background: var(--inei-dark);
  box-shadow: 0 3px 8px rgba(0, 43, 92, 0.08);
}

.inei-nav-list {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inei-nav-list li a {
  display: block;
  padding: 16px 22px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.inei-nav-list li a:hover,
.inei-nav-list li a.active {
  background: var(--inei-blue);
  border-bottom-color: #fff;
}

/* ========================================
   MAIN LAYOUT
======================================== */
.inei-chatpage-main {
  padding: 26px 0 40px;
}

.inei-chatpage-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.inei-chatpage-content,
.inei-chatpage-sidebar {
  display: grid;
}

.inei-chatpage-content {
  gap: 18px;
}

.inei-chatpage-sidebar {
  gap: 18px;
}

.inei-chatpage-sidebar .inei-faq-btn {
  width: 100%;
}

/* ========================================
   SHARED CARDS
======================================== */
.inei-chat-shell,
.inei-chatpage-card,
.inei-sidepanel-card {
  background: #fff;
  border: 1px solid #d6e2ee;
  border-radius: 22px;
  overflow: hidden;
}

.inei-chat-shell {
  border-color: #cfe0f0;
  box-shadow: 0 14px 28px rgba(8, 45, 84, 0.08);
}

.inei-chatpage-card {
  padding: 22px;
  border: 1px solid var(--inei-line);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(8, 45, 84, 0.05);
}

.inei-sidepanel-card {
  padding: 18px;
  background: #fbfdff;
  border: 1px solid #e1ebf5;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(8, 45, 84, 0.04);
}

.inei-chatpage-card h3,
.inei-sidepanel-card h3 {
  margin: 0 0 10px;
  color: #18324e;
  font-weight: 800;
}

.inei-chatpage-card h3 {
  font-size: 21px;
}

.inei-sidepanel-card h3 {
  font-size: 19px;
  line-height: 1.2;
}

.inei-chatpage-card p {
  margin: 0 0 12px;
  color: var(--inei-muted);
  line-height: 1.6;
}

.inei-sidepanel-card p,
.inei-sidepanel-card li {
  color: #667d94;
  font-size: 14px;
  line-height: 1.55;
}

.inei-sidepanel-card ul {
  margin: 0;
  padding-left: 18px;
}

.inei-sidepanel-card--institutional p {
  font-size: 13.5px;
  line-height: 1.6;
}

.inei-sidepanel-card:last-child {
  background: #fbfdff;
  border: 1px solid #e3edf7;
}

.inei-sidepanel-card:last-child h3 {
  font-size: 18px;
}

.inei-sidepanel-card:last-child p {
  color: #6c8298;
  font-size: 14px;
  line-height: 1.8;
}

/* ========================================
   CHAT HEADER
======================================== */
.inei-chat-shell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px 18px;
  color: #fff;
  background: linear-gradient(180deg, #0b5cab, #1a6fbe);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inei-chat-shell-header h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.1px;
}

.inei-chat-shell-header p {
  margin: 0;
  color: #eef4fb;
  font-size: 14px;
  line-height: 1.6;
}

.inei-chat-shell-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inei-chat-shell-badge {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.inei-new-chat-btn {
  padding: 8px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.inei-new-chat-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ========================================
   CHAT BODY
======================================== */
.inei-chat-shell-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
  max-height: 620px;
  overflow-y: auto;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff, #f4f8fc);
}

.inei-chat-message {
  max-width: 84%;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 6px 18px rgba(13, 44, 84, 0.06);
  word-wrap: break-word;
}

.inei-chat-message.bot {
  align-self: flex-start;
  color: #23405f;
  background: #fff;
  border: 1px solid #dbe7f2;
}

.inei-chat-message.user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(180deg, #0b5cab, #0a4f94);
}

.inei-chat-message-welcome {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7f2;
}

.inei-chat-meta {
  margin-top: 2px;
  color: #47627e;
  font-size: 12px;
  line-height: 1.5;
}

.inei-chat-meta a {
  color: #0b5cab;
  text-decoration: underline;
}

.inei-welcome-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #56708b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.inei-chat-welcome-prompts,
.inei-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inei-chat-suggestions {
  margin-top: 8px;
}

.inei-chat-suggestions button {
  padding: 10px 14px;
  color: #0b4f96;
  background: #fff;
  border: 1px solid #d2dfec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 4px 10px rgba(8, 45, 84, 0.04);
}

.inei-chat-suggestions button:hover {
  background: #f4f8fc;
  border-color: #bfd3e8;
  transform: translateY(-1px);
}

/* ========================================
   CHAT INPUT
======================================== */
.inei-chat-shell-input {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border-top: 1px solid #dce8f3;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.inei-chat-shell-input input {
  flex: 1;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--inei-text);
  background: #fff;
  border: 1px solid #cfdceb;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
}

.inei-chat-shell-input input:focus {
  border-color: #0b5cab;
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.1);
}

.inei-chat-shell-input button {
  min-width: 86px;
  min-height: 52px;
  padding: 0 20px;
  color: #fff;
  background: var(--inei-dark);
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 59, 122, 0.16);
}

.inei-chat-shell-input button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 59, 122, 0.18);
}

.inei-chat-shell-input button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   META / SOURCES
======================================== */
.inei-chatpage-meta-box {
  display: flex;
  align-items: flex-start;
  min-height: 88px;
  padding: 14px;
  background: linear-gradient(180deg, #f8fbff, #f4f9fe);
  border: 1px solid #d8e5f2;
  border-radius: 14px;
}

.inei-meta-empty {
  max-width: 420px;
  padding: 14px 16px;
  color: #698097;
  font-size: 14px;
  line-height: 1.7;
  background: #f8fbff;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
}

.inei-meta-source {
  display: grid;
  gap: 12px;
}

.inei-meta-row {
  color: #4a6480;
  font-size: 14px;
  line-height: 1.55;
}

.inei-meta-row strong {
  color: #18324e;
  font-weight: 800;
}

.inei-meta-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #47627e;
  font-weight: 600;
}

.inei-meta-dot {
  width: 10px;
  height: 10px;
  background: #0b5cab;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(11, 92, 171, 0.12);
}

.inei-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.inei-meta-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 64px;
  padding: 8px 12px;
  color: #0b4f96;
  background: #edf4fb;
  border: 1px solid #d7e4f2;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

/* ========================================
   FAQ / QUICK ACTIONS
======================================== */
.inei-quick-prompts,
.inei-faq-list {
  display: grid;
  gap: 10px;
}

.inei-quick-btn,
.inei-faq-btn {
  width: 100%;
  min-height: 0;
  padding: 10px 12px;
  text-align: left;
  color: #35506b;
  background: #f8fbff;
  border: 1px solid #dde7f1;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.inei-quick-btn:hover,
.inei-faq-btn:hover {
  background: #f5f9fc;
  border-color: #d2deea;
}

/* Placeholder del campo de consulta */
#ineiChatPageInput::placeholder {
  color: #8a98a8 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

#ineiChatPageInput:focus::placeholder {
  color: #b4c0cc !important;
}

/* ========================================
   TYPING STATE
======================================== */
.inei-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.inei-chat-typing span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #7a95b3;
  border-radius: 50%;
  animation: ineiTypingBounce 1.2s infinite ease-in-out;
}

.inei-chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.inei-chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes ineiTypingBounce {
  0%,
  80%,
  100% {
    transform: scale(0.7);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 767px) {
  .inei-govbar-inner,
  .inei-chatpage-brand,
  .inei-chat-shell-header,
  .inei-chat-shell-input {
    flex-direction: column;
  }

  .inei-govbar-inner,
  .inei-chatpage-brand {
    align-items: flex-start;
  }

  .inei-govbar-text {
    gap: 8px;
  }

  .inei-gov-link {
    padding: 5px 10px;
    font-size: 13px;
  }

  .inei-gov-title {
    font-size: 13px;
  }

  .inei-chatpage-logo-img {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .inei-chatpage-brand-text h1 {
    font-size: 30px;
  }

  .inei-nav-list li a {
    padding: 14px 16px;
  }

  .inei-chat-shell-actions {
    justify-content: flex-start;
  }
}


/* ========================================
   ESTILOS NUEVOS
======================================== */

.inei-meta-doc-list {
  display: grid;
  gap: 12px;
  width: 100%;
}

.inei-meta-doc {
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #d9e5f2;
  border-radius: 14px;
}

.inei-meta-doc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.inei-meta-doc-page {
  color: #5f7892;
  font-size: 13px;
  font-weight: 700;
}

.inei-meta-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inei-meta-doc-actions a,
.inei-meta-link-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.inei-meta-doc-actions a {
  color: #0b4f96;
  background: #edf4fb;
  border: 1px solid #d7e4f2;
  text-decoration: none;
}

.inei-meta-link-disabled {
  color: #8094a8;
  background: #f3f7fb;
  border: 1px solid #dde6ef;
}

/* ========================================
   PREMIUM STATISTICAL CHARTS / EXPORT
======================================== */

.inei-chatpage-bottom {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 18px;
  align-items: start;
}

.inei-chatpage-bottom .inei-chatpage-card {
  height: auto;
}

.inei-chatpage-bottom .inei-chatpage-card:first-child {
  min-height: auto;
  align-self: start;
}

.inei-chatpage-meta-box {
  min-height: auto;
  padding: 12px;
}

.inei-chart-card {
  background:
    radial-gradient(circle at top right, rgba(11, 92, 171, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #d8e5f2;
  box-shadow: 0 18px 38px rgba(0, 43, 92, 0.10);
}

.inei-chatpage-bottom .inei-chatpage-card h3 {
  margin: 0 0 8px;
  color: #002f63;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.inei-chatpage-bottom .inei-chatpage-card p {
  margin: 0 0 16px;
  color: #4f6f8e;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

.inei-chatpage-bottom .inei-chatpage-card:first-child p {
  white-space: nowrap;
}

/* Figura principal del gráfico */
.inei-chart-figure {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.96));
  border: 1px solid #cfe0f0;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.inei-chart-figure-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid rgba(216, 229, 242, 0.8);
}

.inei-chart-title-block {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.inei-chart-kpi-label {
  color: #294f78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.inei-chart-kpi-note {
  color: #5d7895;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.inei-chart-canvas-wrap {
  position: relative;
  min-height: 360px;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f9fcff);
  border: 1px solid #d7e6f5;
  border-radius: 18px;
  box-shadow:
    0 12px 26px rgba(0, 59, 122, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* KPI */
.inei-chart-kpi {
  min-height: 150px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(42, 157, 244, 0.16), transparent 36%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid #d4e4f3;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 59, 122, 0.08);
}

.inei-chart-kpi .inei-chart-kpi-label,
.inei-chart-kpi .inei-chart-kpi-value,
.inei-chart-kpi .inei-chart-kpi-note {
  width: 100%;
  margin: 0;
  text-align: center;
}

.inei-chart-kpi-value {
  color: #005baa;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
}

/* Placeholder / marco visual */
.inei-chart-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(11, 92, 171, 0.06), transparent 35%),
    linear-gradient(180deg, #fbfdff, #f6faff);
  border: 1px dashed #bdd3ea;
  border-radius: 20px;
}

.inei-chart-placeholder:has(.inei-chart-figure) {
  min-height: 320px;
}

.inei-chart-placeholder:has(.inei-chart-kpi) {
  min-height: auto;
  padding: 14px 18px;
  justify-content: center;
}

.inei-chart-placeholder-label {
  margin-bottom: 10px;
  color: #294f78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.inei-chart-placeholder-note {
  max-width: 360px;
  color: #5f7892;
  font-size: 14px;
  line-height: 1.6;
}

/* Botón exportar */
.inei-chart-export-btn {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: #0b5cab;
  background: #ffffff;
  border: 1px solid #cfe0f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 59, 122, 0.08);
  transition: 0.2s ease;
}

.inei-chart-export-btn:hover {
  color: #ffffff;
  background: #0b5cab;
  border-color: #0b5cab;
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(0, 59, 122, 0.16);
}

.inei-chart-export-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ========================================
   RESPONSIVE FINAL PARA BLOQUE INFERIOR
======================================== */

@media (max-width: 1100px) {
  .inei-chatpage-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #ineiChartCanvas {
    height: 300px !important;
  }
}

#ineiChartCanvas {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

@media (max-width: 1100px) {
  .inei-chatpage-toprow,
  .inei-chatpage-grid,
  .inei-chatpage-bottom {
    grid-template-columns: 1fr;
  }

  .inei-chatpage-toprow {
    align-items: start;
  }
}
