/* Integrates with existing Asistente CST suggestion buttons; no external dependencies. */
.cst-doc-chat-chip {cursor:pointer!important;white-space:nowrap}
.cst-doc-chat-modal[hidden] {display:none!important}
.cst-doc-chat-modal {position:absolute!important;inset:0!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;min-width:0;background:#fff!important;border-radius:inherit;overflow:hidden;box-shadow:0 0 0 1px #e3d4c7}
.cst-doc-chat-modal-head {background:#704a34;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;font:600 13px Arial,sans-serif;min-height:49px;box-sizing:border-box}
.cst-doc-chat-modal-head strong {font-size:13px;line-height:1.3}
.cst-doc-chat-close {border:1px solid #ead9ce;background:#fff;color:#704a34;border-radius:7px;padding:6px 8px;cursor:pointer;flex-shrink:0;font-size:11px}
.cst-doc-chat-frame {display:block!important;border:0!important;width:100%!important;height:100%!important;flex:1!important;background:#faf7f3!important;min-height:200px}

/* v1.8.14: encabezado limpio y retorno institucional marrón. */
.cst-doc-chat-modal-head{justify-content:flex-end!important;}
.cst-doc-chat-close{background:#8b5e40!important;border:1px solid #b68c72!important;color:#fff!important;font-weight:700!important;border-radius:7px!important;padding:9px 12px!important;font-size:12px!important;box-shadow:none!important;}
.cst-doc-chat-close:hover,.cst-doc-chat-close:focus-visible{background:#593925!important;border-color:#593925!important;color:#fff!important;}

/* v1.8.18 — una sola fila deslizable en el chatbot. */
.cst-doc-chat-suggestions {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:5px 9px 9px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scroll-behavior:smooth;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#b89a83 transparent;
}
.cst-doc-chat-suggestions > button,
.cst-doc-chat-suggestions > a,
.cst-doc-chat-suggestions > [role="button"],
.cst-doc-chat-suggestions > input[type="button"] {
  flex:0 0 auto!important;
  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
  scroll-snap-align:start;
}
.cst-doc-chat-suggestions .cst-doc-chat-chip {
  flex:0 0 auto!important;
  white-space:nowrap!important;
  width:auto!important;
  max-width:none!important;
  min-width:max-content!important;
  text-align:center!important;
  font-size:11px!important;
  line-height:1.25!important;
  padding:7px 10px!important;
}
.cst-doc-chat-suggestions::-webkit-scrollbar{height:4px}
.cst-doc-chat-suggestions::-webkit-scrollbar-thumb{background:#b89a83;border-radius:99px}

/* v1.8.19 — cierre nativo del Asistente CST: marrón institucional, sin rosa. */
.cst-chat-native-close,
.cst-chat-native-close:hover,
.cst-chat-native-close:focus,
.cst-chat-native-close:active {
  background:#704a34!important;
  background-color:#704a34!important;
  border-color:#704a34!important;
  color:#fff!important;
  box-shadow:none!important;
}
.cst-chat-native-close svg,
.cst-chat-native-close svg * {stroke:#fff!important;color:#fff!important;fill:none!important}
