/* Aris Media website assistant — remove together with assistant.js */
.asst-btn{position:fixed;inset-inline-start:calc(16px + env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:31;width:46px;height:46px;border-radius:50%;border:0;background:var(--red);color:#fff;display:grid;place-items:center;font:inherit;font-weight:800;font-size:.82rem;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.5)}
/* the chat sits where the accessibility button was; the accessibility button and its panel move up one step */
.has-asst .a11y-btn{bottom:calc(72px + env(safe-area-inset-bottom,0px))}
.has-asst .a11y-panel{bottom:calc(128px + env(safe-area-inset-bottom,0px))}
.asst-btn:hover{filter:brightness(1.08)}
.consent:not([hidden]) ~ .asst-btn{display:none}
.asst-btn:focus-visible{outline:3px solid var(--red2,#fff);outline-offset:3px}
.asst{position:fixed;inset-inline-start:16px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:32;width:min(380px,calc(100vw - 36px));height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;background:var(--bg2);color:var(--ink);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.5)}
.asst[hidden]{display:none}
.asst-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;padding:.8rem 1rem;border-bottom:1px solid var(--line)}
.asst-head strong{display:block;font-size:1.02rem}
.asst-head small{display:block;color:var(--muted);font-size:.82rem;margin-top:.15rem}
.asst-head small a{color:var(--link)}
.asst-x{background:none;border:0;color:var(--ink);font-size:1.6rem;line-height:1;cursor:pointer;min-width:44px;min-height:44px}
.asst-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem}
.asst-msg{max-width:85%;padding:.6rem .8rem;border-radius:12px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;font-size:.95rem}
.asst-msg.bot{align-self:flex-start;background:var(--bg3,#1c1c22)}
.asst-msg.me{align-self:flex-end;background:var(--red);color:#fff}
.asst-msg a{color:var(--link)}
.asst-msg.me a{color:#fff}
.asst-msg.wait{opacity:.7}
.asst-wa{align-self:flex-start;display:inline-block;background:#1f9d55;color:#fff;text-decoration:none;font-weight:700;padding:.6rem 1rem;border-radius:999px;min-height:44px;line-height:1.6}
.asst-form{display:flex;gap:.5rem;padding:.7rem;border-top:1px solid var(--line)}
.asst-form textarea{flex:1;resize:none;font:inherit;padding:.55rem .7rem;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);min-height:44px}
.asst-send{border:0;border-radius:10px;background:var(--red);color:#fff;font-weight:700;padding:0 1rem;min-height:44px;cursor:pointer}
.asst-send:disabled{opacity:.6}
.asst-note{margin:0;padding:0 .9rem .7rem;font-size:.75rem;color:var(--muted)}
.asst-note a{color:var(--muted)}
@media (max-width:560px){.asst{left:8px;right:8px;inset-inline-start:8px;width:auto;height:calc(100dvh - 96px);bottom:calc(72px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.asst-log{scroll-behavior:auto}}
