.av{position:fixed;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:10000;font:15px/1.5 system-ui,sans-serif;color:#ece8df;text-align:left}.av *{box-sizing:border-box}.av button,.av input{font:inherit}.av button,.av a{touch-action:manipulation}.av button{cursor:pointer}.av-launch{border:1px solid #d7b369;background:#d7b369;color:#101413;border-radius:40px;padding:13px 20px;box-shadow:0 5px 25px #0005;font-weight:650}.av-panel{width:370px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#111716;border:1px solid #d7b36966;border-radius:20px;box-shadow:0 15px 70px #0008;margin-bottom:12px;overflow:hidden}.av-panel[hidden]{display:none}.av-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #d7b36933}.av-header strong{font:28px Georgia,serif;color:#d7b369}.av-close{background:transparent;border:0;color:#ece8df;font-size:28px!important;width:44px;height:44px}.av-log{flex:1;min-height:100px;overflow:auto;padding:0 16px 14px;overscroll-behavior:contain}.av-msg{padding:12px;border-radius:12px;background:#ffffff09;overflow-wrap:anywhere;margin:12px 0}.av-user{background:#d7b36922;margin-left:24px}.av-link{color:#d7b369;text-decoration:underline;display:inline-block;padding:8px 0}.av-choices{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px;border-top:1px solid #d7b36933}.av-choices button{color:#ece8df;background:transparent;border:1px solid #d7b36955;border-radius:30px;padding:7px 10px;font-size:12px}.av-form{display:flex;gap:8px;padding:10px 14px}.av-form input{min-width:0;flex:1;background:#0b0e0e;color:#ece8df;border:1px solid #d7b36966;border-radius:10px;padding:10px;font-size:16px}.av-form button{background:#d7b369;color:#101413;border:0;border-radius:10px;padding:10px}.av-note{display:block;color:#b2bab5;font-size:11px;padding:0 14px 12px}.av :focus-visible{outline:2px solid #d7b369;outline-offset:3px}@media(max-width:480px){.av{right:16px}.av-panel{width:calc(100vw - 32px)}.av-launch{float:right}}

.av-identity{display:flex;align-items:center;gap:12px}.av-identity small{display:block;color:#b2bab5;font-size:12px}.av-avatar{display:block;width:56px;height:56px;object-fit:cover;border:2px solid #d7b369;border-radius:50%;flex-shrink:0}.av-launch{display:flex;align-items:center;gap:10px;padding:6px 16px 6px 6px}.av-launch .av-avatar{width:42px;height:42px;border-color:#10141344}.av-header{gap:8px}.av-identity strong{font:28px Georgia,serif;color:#d7b369}
/* Reset host-page styles so full-width marketing sections cannot distort the widget. */
.av .av-panel{padding:0;position:relative;isolation:isolate;margin-top:0}.av p{color:#ece8df;font-size:14px;line-height:1.55}.av .av-link{color:#d7b369;text-decoration:underline;font-size:14px}.av-toolbar{display:flex;gap:8px;padding:8px 14px;border-bottom:1px solid #d7b36922;flex-wrap:wrap}.av-toolbar button{border:0;background:transparent;color:#d7b369;font-size:11px;padding:5px 0;min-height:30px}.av-toolbar button+button{margin-left:auto}.av button:hover{filter:brightness(1.12)}.av-choices button{min-height:34px}.av-header strong{display:block}.av .av-close{padding:0;flex-shrink:0}.av input{margin:0}.av-form{margin:0}.av-launch span{white-space:nowrap}.av-panel{height:620px}.av-note{line-height:1.45}.av .av-msg{color:#ece8df}.av .av-user{color:#f6e7c4}@media(max-width:480px){.av-panel{max-height:calc(100dvh - 100px);height:620px}.av-header{padding:10px 14px}.av-identity .av-avatar{width:48px;height:48px}.av-choices{padding:7px 12px}.av-form{padding:8px 12px}.av-note{font-size:10px}.av-toolbar{padding:4px 12px}}@media(prefers-reduced-motion:reduce){.av *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.av-voicebox{padding:0 14px 8px;display:grid;gap:3px}.av-voicebox select{max-width:100%;width:100%;min-width:0;background:#0b100f;color:#ece8df;border:1px solid #d7b36955;border-radius:8px;padding:6px;font:12px system-ui}.av-voicebox small{font-size:10px;color:#b2bab5;line-height:1.3}.av-toolbar button:disabled{opacity:.5;cursor:default}

.av-tools{padding:12px;background:#ffffff08;border:1px solid #d7b36944;border-radius:12px;margin:12px 0}.av .av-tools p{margin:8px 0}.av-tools strong{color:#e1c88e}.av-tools ul{padding-left:20px;font-size:13px;margin:8px 0}.av-tools li{margin-bottom:7px}.av-tools button{display:block;width:100%;margin:8px 0;background:#17231f;border:1px solid #d7b36955;color:#f4efe3;border-radius:9px;padding:9px;text-align:left;min-height:42px}.av-tools label{display:block;font-size:13px;color:#f4efe3}.av-tools select,.av-tools textarea{font:14px system-ui;width:100%;max-width:100%;background:#0b100f;color:#f4efe3;border:1px solid #d7b36966;border-radius:8px;padding:9px;margin:8px 0}.av-tools small{display:block;font-size:11px;color:#b2bab5}.av .av-tools .av-link{display:block}.av .av-toolbar button+button{margin-left:0}.av-toolbar{gap:7px 12px}.av-panel{height:700px}.av .av-tools textarea{resize:vertical}

.av-choices{max-height:112px;overflow:auto;flex-shrink:0}.av .av-log{min-height:70px}.av-panel{max-height:calc(100dvh - 106px)}@media(max-height:700px){.av-panel{height:calc(100dvh - 92px);max-height:calc(100dvh - 92px)}.av-choices{max-height:76px}.av-note{padding-bottom:6px;font-size:10px}.av .av-header{padding:7px 12px}.av .av-header .av-avatar{width:38px;height:38px}.av .av-identity strong{font-size:23px}.av-toolbar{padding:3px 12px}.av-voicebox{padding-bottom:4px}.av .av-log{min-height:60px}.av-launch{padding-top:3px;padding-bottom:3px}.av-launch .av-avatar{width:34px;height:34px}}

.av .av-log{position:relative;scroll-behavior:auto}

/* Keep the launcher in its own row so it never covers forms or footer text. */
.av{position:relative;inset:auto;z-index:auto;display:flex;justify-content:flex-end;max-width:1240px;margin:auto;padding:16px 30px max(20px,env(safe-area-inset-bottom))}
.av .av-panel{position:fixed;right:20px;bottom:max(12px,env(safe-area-inset-bottom));z-index:10000;margin:0;max-height:calc(100dvh - 32px)}
.av .av-launch{float:none}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 16px}
@media(max-width:850px){footer .foot{display:grid;gap:12px;justify-content:start}}
@media(max-width:480px){.av{padding-inline:16px}.av .av-panel{right:16px}}
