/* Asistente TACOTA. Colores de la marca: azul marino #20244A y miel #E59A2F. */
#tacota-ast{--tast-navy:#20244A;--tast-honey:#E59A2F;--tast-bg:#fff;--tast-ink:#1d1f33;--tast-soft:#f3f1ec;--tast-line:#e4e1d8;
  position:fixed;right:20px;bottom:20px;z-index:99990;font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--tast-ink)}
@media (prefers-color-scheme:dark){#tacota-ast{--tast-bg:#1b1d2e;--tast-ink:#eceaf4;--tast-soft:#262940;--tast-line:#34385a}}
#tacota-ast *{box-sizing:border-box}
#tacota-ast .tast-fab{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px;background:var(--tast-navy);color:#fff;font-family:inherit;font-weight:600;font-size:15px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(20,22,50,.28)}
#tacota-ast .tast-fab svg{width:20px;height:20px;color:var(--tast-honey)}
#tacota-ast .tast-fab:focus-visible,#tacota-ast button:focus-visible,#tacota-ast textarea:focus-visible{outline:3px solid var(--tast-honey);outline-offset:2px}
#tacota-ast.is-open .tast-fab{display:none}
#tacota-ast .tast-panel{width:min(380px,calc(100vw - 32px));height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;background:var(--tast-bg);border:1px solid var(--tast-line);border-radius:20px;overflow:hidden;box-shadow:0 16px 48px rgba(20,22,50,.3)}
#tacota-ast .tast-panel[hidden]{display:none}
#tacota-ast header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;background:var(--tast-navy);color:#fff}
#tacota-ast header strong{display:block;font-size:16px}
#tacota-ast header small{display:block;opacity:.8;font-size:12.5px}
#tacota-ast .tast-x{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
#tacota-ast .tast-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
#tacota-ast .tast-msg{max-width:88%;padding:10px 13px;border-radius:16px;word-wrap:break-word}
#tacota-ast .tast-msg p{margin:0 0 6px}#tacota-ast .tast-msg p:last-child{margin:0}
#tacota-ast .tast-msg ul{margin:4px 0 6px;padding-left:18px}
#tacota-ast .tast-msg a{color:inherit;text-decoration:underline;text-underline-offset:2px}
#tacota-ast .tast-bot{align-self:flex-start;background:var(--tast-soft);border-bottom-left-radius:4px}
#tacota-ast .tast-user{align-self:flex-end;background:var(--tast-navy);color:#fff;border-bottom-right-radius:4px}
#tacota-ast .tast-wait{opacity:.7;font-style:italic}
#tacota-ast .tast-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}
#tacota-ast .tast-chips[hidden]{display:none}
#tacota-ast .tast-chips button{border:1.5px solid var(--tast-line);background:transparent;color:inherit;border-radius:999px;padding:6px 11px;font-family:inherit;font-weight:500;font-size:13px;line-height:1.2;cursor:pointer}
#tacota-ast .tast-chips button:hover{border-color:var(--tast-honey)}
#tacota-ast .tast-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--tast-line)}
#tacota-ast textarea{flex:1;resize:none;border:1.5px solid var(--tast-line);border-radius:14px;padding:10px 12px;font-family:inherit;font-size:15px;line-height:1.4;color:inherit;background:transparent;max-height:120px}
#tacota-ast .tast-form button{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:var(--tast-honey);color:#20244A;cursor:pointer;display:grid;place-items:center}
#tacota-ast .tast-form button svg{width:20px;height:20px}
#tacota-ast .tast-note{margin:0;padding:0 14px 10px;font-size:11.5px;line-height:1.35;opacity:.75}
#tacota-ast .tast-note a{color:inherit}
@media (max-width:520px){
  #tacota-ast{right:12px;bottom:12px}
  #tacota-ast.is-open{inset:0;right:0;bottom:0}
  #tacota-ast.is-open .tast-panel{width:100vw;height:100dvh;border-radius:0;border:0}
  #tacota-ast .tast-fab span{display:none}
  #tacota-ast .tast-fab{padding:14px}
}
@media (prefers-reduced-motion:no-preference){#tacota-ast .tast-panel{animation:tast-in .18s ease-out}@keyframes tast-in{from{opacity:0;transform:translateY(8px)}}}
