/* IngSoft V80.99.26 — Observatory Agent Response Component
   Corrección modular y aislada del objeto de respuesta inferior en “Pregunte al observatorio”.
   Alcance: solo #obs-response / .assistant-response dentro de la página del Observatorio.
   No modifica motor de carga, Plotly, selector geográfico, telemetría, formularios ni datos. */
:root{
  --ing-agent-response-bg:linear-gradient(145deg, rgba(7,25,49,.98), rgba(10,48,82,.96));
  --ing-agent-response-border:rgba(103,214,255,.52);
  --ing-agent-response-text:#eaf8ff;
  --ing-agent-response-muted:#bceeff;
  --ing-agent-response-shadow:0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response{
  box-sizing:border-box !important;
  width:100% !important;
  min-height:58px !important;
  max-height:168px !important;
  margin-top:1rem !important;
  padding:.92rem 1.05rem !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(103,214,255,.55) rgba(255,255,255,.08) !important;
  border-radius:20px !important;
  border:1px solid var(--ing-agent-response-border) !important;
  background:var(--ing-agent-response-bg) !important;
  color:var(--ing-agent-response-text) !important;
  -webkit-text-fill-color:var(--ing-agent-response-text) !important;
  opacity:1 !important;
  visibility:visible !important;
  font-size:.86rem !important;
  font-weight:700 !important;
  line-height:1.42 !important;
  letter-spacing:.002em !important;
  white-space:pre-line !important;
  overflow-wrap:anywhere !important;
  box-shadow:var(--ing-agent-response-shadow) !important;
}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response:empty::before{
  content:"Seleccione un módulo, escriba una pregunta y ejecute los agentes interpretativos.";
  color:var(--ing-agent-response-muted) !important;
  -webkit-text-fill-color:var(--ing-agent-response-muted) !important;
}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response *{
  color:var(--ing-agent-response-text) !important;
  -webkit-text-fill-color:var(--ing-agent-response-text) !important;
}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response::-webkit-scrollbar{width:6px !important;}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response::-webkit-scrollbar-track{background:rgba(255,255,255,.08) !important;border-radius:999px !important;}
html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response::-webkit-scrollbar-thumb{background:rgba(103,214,255,.60) !important;border-radius:999px !important;}
@media (max-width: 720px){
  html body.page-observatorio #agentes .scientific-assistant #obs-response.assistant-response{
    min-height:54px !important;
    max-height:150px !important;
    font-size:.82rem !important;
    padding:.82rem .92rem !important;
    border-radius:18px !important;
  }
}
