/* Ask Strix dock: floating button + bottom sheet on phones, side panel on desktop. */
.ax-fab{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:13px 18px;background:#00b2ff;color:#04121f;font:700 15px/1 system-ui,sans-serif;box-shadow:0 8px 24px #0006;cursor:pointer}
.ax-fab:focus-visible{outline:3px solid #fff;outline-offset:2px}.ax-dot{font-size:16px}
.ax-panel{position:fixed;z-index:901;left:0;right:0;bottom:0;height:min(78vh,640px);display:flex;flex-direction:column;background:var(--c,#fff);color:var(--t,#17263c);border:1px solid var(--line,#dce4ee);border-radius:16px 16px 0 0;box-shadow:0 -10px 40px #0007;padding:12px 12px calc(10px + env(safe-area-inset-bottom,0px))}
@media (min-width:760px){.ax-panel{left:auto;right:20px;bottom:20px;width:400px;height:min(72vh,620px);border-radius:16px}}
.ax-panel[hidden],.ax-fab[hidden]{display:none}
.ax-head{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--line,#dce4ee)}
.ax-head b{font-size:17px}.ax-head small{grid-column:1;font-size:12px}.ax-close{grid-column:2;grid-row:1/3}
.ax-list{flex:1;overflow:auto;padding:10px 2px;display:flex;flex-direction:column;gap:8px}
.ax-msg{display:flex;flex-direction:column;max-width:88%}.ax-msg.me{align-self:flex-end;align-items:flex-end}
.ax-bubble{white-space:pre-wrap;word-break:break-word;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.4;background:var(--sx-card,#f3f6fa);color:var(--sx-text,#17263c)}
.ax-msg.me .ax-bubble{background:#00b2ff;color:#04121f}.ax-msg.err .ax-bubble{background:#fee2e2;color:#7f1d1d}.ax-msg.wait .ax-bubble{opacity:.7;font-style:italic}
.ax-cost{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}
.ax-chips{display:flex;gap:6px;overflow-x:auto;padding:6px 0;scrollbar-width:none}.ax-chips .btn{white-space:nowrap;flex:0 0 auto}
.ax-form{display:flex;gap:6px}.ax-form input{flex:1;min-width:0;font-size:16px;padding:10px 12px;border-radius:10px;border:1px solid var(--line,#dce4ee);background:var(--d,#fff);color:var(--t,#17263c)}
.ax-foot{display:block;font-size:11px;margin-top:6px}.ax-foot a{color:var(--b,#00b2ff)}
body.ax-on .wrap{padding-bottom:84px}
