
.huitzia-launch{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:40;display:flex;gap:.55rem;align-items:center;padding:.62rem 1rem;border:1px solid #b99052;border-radius:2rem;background:#191d19;color:#fff4df;font:inherit;font-weight:600;box-shadow:0 10px 28px #0005;cursor:pointer}
.huitzia-launch img{width:1.65rem;height:1.65rem;object-fit:contain}
dialog#huitzia{position:fixed;inset:auto 1rem 1rem auto;margin:0;width:min(29rem,calc(100vw - 2rem));max-height:min(42rem,calc(100dvh - 2rem));padding:1.1rem;border:1px solid #ac8252;border-radius:1.25rem;background:#f9f2e6;color:#24241e;overflow:auto}
#huitzia::backdrop{background:#171b176b}
#huitzia .huitzia-top{position:static;display:flex;justify-content:space-between;align-items:start;gap:1rem;padding:0;background:transparent;color:inherit;border:0;box-shadow:none}
#huitzia h2{font-size:1.8rem;margin:0;color:#24241e}
#huitzia-intro,#huitzia .huitzia-note{font-size:.83rem;margin:.35rem 0;color:#514839;line-height:1.35}
#huitzia-close{padding:.18rem .65rem;border:1px solid #7d6953;border-radius:.5rem;background:transparent;color:inherit;font-size:1.5rem}
#huitzia-log{max-height:min(45dvh,19rem);min-height:6rem;overflow:auto;overscroll-behavior:contain;margin:.75rem 0}
#huitzia .huitzia-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:.5rem 0;padding:.65rem .8rem;border-radius:.8rem;background:#ede1ce;color:#28251e;font-size:.93rem;line-height:1.5}
#huitzia .huitzia-message.user{background:#2f352c;color:#fff8ea;margin-left:2rem}
#huitzia .huitzia-message small{display:block;margin-bottom:.35rem}
#huitzia .huitzia-message a{color:inherit;text-decoration:underline}
#huitzia .huitzia-prompts{display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0 .8rem}
#huitzia .huitzia-prompts[hidden]{display:none}
#huitzia .huitzia-prompts button{background:transparent;border:1px solid #9a8469;border-radius:1rem;color:#2c2b24;padding:.35rem .65rem;text-align:left;font-size:.8rem}
#huitzia form label{display:block;font-size:.85rem;margin-bottom:.3rem}
#huitzia form div{display:flex;gap:.35rem}
#huitzia form input{width:100%;min-width:0;background:#fffdf8;color:#21251f;border:1px solid #79725f;border-radius:.6rem;padding:.65rem;font:inherit}
#huitzia-send{border:0;border-radius:.6rem;background:#363e31;color:white;padding:.65rem .85rem}
#huitzia-send:disabled{opacity:.6}
#huitzia button:focus-visible,.huitzia-launch:focus-visible{outline:2px solid #934e23;outline-offset:3px}
