/* Saqr, the searcher (public/searcher.js): the same avatar model as Claw (public/openclaw.css), in teal and gold. */
.sq-av{position:fixed;inset-inline-end:14px;bottom:118px;z-index:61;display:flex;align-items:flex-end;pointer-events:none;font:13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.sq-av[hidden]{display:none}
.sq-av-btn{pointer-events:auto;position:relative;width:92px;height:92px;padding:0;border:0;background:none;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;opacity:.9;filter:drop-shadow(0 8px 14px rgba(0,0,0,.35));transition:opacity .25s,transform .25s;animation:sq-bob 5.6s ease-in-out infinite}
.sq-av-btn::before{content:"";position:absolute;left:22%;right:22%;bottom:3px;height:10px;border-radius:50%;background:radial-gradient(rgba(0,0,0,.35),transparent 70%);z-index:-1}
.sq-av-btn:hover,.sq-av-btn:focus-visible,.sq-av-open .sq-av-btn{opacity:1;transform:translateY(-3px) scale(1.05)}
.sq-av-btn:focus-visible{outline:2px solid #FBBF24;outline-offset:4px;border-radius:20px}
.sq-av-btn img,.sq-av-btn video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.sq-av-btn img{opacity:0;transition:opacity .16s linear}
.sq-av-btn img.on{opacity:1}
.sq-av-btn.sq-av-playing img{opacity:0!important;transition:none}
.sq-av-badge{position:absolute;top:2px;inset-inline-end:4px;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#FBBF24;color:#1c1203;font:700 12px/22px system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px rgba(11,21,38,.85);z-index:2}
.sq-av-badge[hidden]{display:none}
.sq-av[data-state=searching] .sq-av-badge{animation:sq-pulse 1.1s ease-in-out infinite}
.sq-av[data-state=found] .sq-av-badge{background:#2DD4BF;color:#04201c}
.sq-av[data-state=stuck] .sq-av-badge{background:#F87171;color:#1f0a0a}
.sq-av-dragging .sq-av-btn{cursor:grabbing;animation:none;opacity:1;transform:scale(1.1);filter:drop-shadow(0 16px 22px rgba(0,0,0,.45))}
.sq-av-bubble{pointer-events:auto;position:fixed;z-index:62;width:min(360px,calc(100vw - 16px));max-height:min(78vh,620px);overflow:auto;color:#e2e8f0;background:linear-gradient(160deg,rgba(20,42,40,.82),rgba(15,23,42,.8));backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border:1px solid rgba(251,191,36,.42);border-radius:18px;padding:13px 15px 11px;box-shadow:0 18px 40px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.08);animation:sq-pop .22s ease-out}
.sq-av-bubble h4{margin:0 0 2px;font-size:13px;color:#fde68a}
.sq-av-bubble h5{margin:8px 0 3px;font:600 10.5px system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
.sq-head{margin:0 0 8px;font-size:12px;color:#cbd5e1}
.sq-muted{margin:4px 0;font-size:11.5px;color:#94a3b8}
.sq-notice{margin:0 0 8px;padding:6px 9px;border-radius:9px;background:rgba(45,212,191,.12);border:1px solid rgba(45,212,191,.35);font-size:12px;color:#99f6e4}
.sq-err{margin:0 0 8px;font-size:12px;color:#fca5a5}
.sq-run{border:1px solid rgba(148,163,184,.2);border-radius:11px;padding:6px 9px;margin:0 0 6px;background:rgba(2,6,23,.35)}
.sq-run summary{cursor:pointer;font-size:12px;font-weight:600;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline}
.sq-run summary small{font-weight:400;color:#94a3b8;font-size:11px}
.sq-tag{font:700 9.5px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;background:#134e4a;color:#99f6e4;border-radius:4px;padding:1px 5px}
.sq-list{list-style:none;margin:0;padding:0}
.sq-list li{display:flex;flex-wrap:wrap;align-items:center;gap:3px 7px;padding:3px 0;font-size:12px;border-top:1px solid rgba(148,163,184,.08)}
.sq-list li:first-child{border-top:0}
.sq-list small{color:#94a3b8;font-size:11px;margin-inline-start:auto}
.sq-dim .sq-src{opacity:.75}
.sq-src{min-width:0;overflow-wrap:anywhere}
.sq-src b{font-weight:600}
.sq-call[data-d=executed]>span:first-child{color:#2dd4bf}
.sq-call[data-d=error]>span:first-child,.sq-call[data-d=timeout]>span:first-child,.sq-call[data-d=rejected]>span:first-child,.sq-call[data-d=blocked]>span:first-child{color:#f87171}
.sq-ctls{margin:8px 0 0;border-top:1px solid rgba(148,163,184,.18);padding-top:6px}
.sq-ctls>summary{cursor:pointer;font-size:12.5px;font-weight:600;color:#fde68a}
.sq-conn{margin:6px 0;padding:6px 8px;border-radius:10px;background:rgba(2,6,23,.35);border:1px solid rgba(148,163,184,.15)}
.sq-conn-h{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;margin-bottom:2px}
.sq-ctl label{display:flex;align-items:center;gap:7px;flex:1;min-width:0;cursor:pointer}
.sq-ctl input{accent-color:#2dd4bf}
.sq-ctl.is-off .sq-src{text-decoration:line-through;opacity:.6}
.sq-mini{min-height:26px;padding:2px 8px;border-radius:8px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.05);color:#e2e8f0;font:inherit;font-size:11.5px;cursor:pointer}
.sq-mini.is-on{background:rgba(251,191,36,.2);border-color:#FBBF24}
.sq-pin{display:flex;gap:6px;width:100%;margin-top:4px}
.sq-pin input{flex:1;min-width:0;min-height:30px;padding:3px 8px;border-radius:8px;border:1px solid rgba(148,163,184,.35);background:rgba(2,6,23,.6);color:#f1f5f9;font:inherit;font-size:12px}
.sq-pin button,.sq-acts button{min-height:32px;padding:4px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.06);color:#e2e8f0;font:inherit;font-size:12px;cursor:pointer}
.sq-pin button{background:#FBBF24;border-color:#FBBF24;color:#1c1203;font-weight:650}
.sq-acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;margin-top:10px}
.sq-acts button:first-child{background:rgba(45,212,191,.16);border-color:rgba(45,212,191,.5)}
.sq-acts button:hover,.sq-mini:hover{border-color:#FBBF24}
.sq-foot{margin:8px 0 0;font-size:10.5px;color:#64748b;text-align:end}
.sq-av-bubble a{color:#5eead4}
@keyframes sq-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
@keyframes sq-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes sq-pop{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}
@media (max-width:480px){.sq-av{bottom:96px}.sq-av-btn{width:72px;height:72px}.sq-acts button,.sq-pin button,.sq-pin input{min-height:44px}.sq-mini{min-height:36px}}
@media (prefers-reduced-motion:reduce){.sq-av-btn,.sq-av-bubble,.sq-av-badge{animation:none}}
/* BAC-421: public/mascot-dock.js shrinks Saqr where his corner is tight, and steps him aside when nothing is free */
.sq-av.mascot-compact .sq-av-btn{width:60px;height:60px}
.sq-av.mascot-tucked{visibility:hidden}
.sq-av-new{position:absolute;bottom:4px;inset-inline-start:4px;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#2DD4BF;color:#04201c;font:700 12px/22px system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px rgba(11,21,38,.85);z-index:2}
.sq-av-new[hidden]{display:none}
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] .sq-av-btn{filter:drop-shadow(0 8px 14px rgba(15,23,42,.122))}
html[data-theme="light"] .sq-av-btn::before{background:radial-gradient(rgba(247,247,247,.35),transparent 70%)}
html[data-theme="light"] .sq-av-btn:focus-visible{outline:2px solid #FBBF24}
html[data-theme="light"] .sq-av-badge{background:#FBBF24;color:#1c1203;box-shadow:0 0 0 2px rgba(15,23,42,.298)}
html[data-theme="light"] .sq-av[data-state=found] .sq-av-badge{background:#2DD4BF;color:#04201c}
html[data-theme="light"] .sq-av[data-state=stuck] .sq-av-badge{background:#F87171;color:#1f0a0a}
html[data-theme="light"] .sq-av-dragging .sq-av-btn{filter:drop-shadow(0 16px 22px rgba(15,23,42,.158))}
html[data-theme="light"] .sq-av-bubble{color:#181f28;background:linear-gradient(160deg,rgba(237,245,244,.82),rgba(238,240,247,.8));border:1px solid rgba(251,191,36,.42);box-shadow:0 18px 40px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.08)}
html[data-theme="light"] .sq-av-bubble h4{color:#8b7000}
html[data-theme="light"] .sq-av-bubble h5{color:#536173}
html[data-theme="light"] .sq-head{color:#28323e}
html[data-theme="light"] .sq-muted{color:#536173}
html[data-theme="light"] .sq-notice{background:rgba(45,212,191,.12);border:1px solid rgba(45,212,191,.35);color:#087b65}
html[data-theme="light"] .sq-err{color:#790101}
html[data-theme="light"] .sq-run{border:1px solid rgba(148,163,184,.2);background:rgba(243,244,252,.35)}
html[data-theme="light"] .sq-run summary small{color:#536173}
html[data-theme="light"] .sq-tag{background:#e1f1f0;color:#087b65}
html[data-theme="light"] .sq-list li{border-top:1px solid rgba(148,163,184,.08)}
html[data-theme="light"] .sq-list small{color:#536173}
html[data-theme="light"] .sq-call[data-d=executed]>span:first-child{color:#21b5a3}
html[data-theme="light"] .sq-call[data-d=error]>span:first-child,html[data-theme="light"] .sq-call[data-d=timeout]>span:first-child,html[data-theme="light"] .sq-call[data-d=rejected]>span:first-child,html[data-theme="light"] .sq-call[data-d=blocked]>span:first-child{color:#a50404}
html[data-theme="light"] .sq-ctls{border-top:1px solid rgba(148,163,184,.18)}
html[data-theme="light"] .sq-ctls>summary{color:#8b7000}
html[data-theme="light"] .sq-conn{background:rgba(243,244,252,.35);border:1px solid rgba(148,163,184,.15)}
html[data-theme="light"] .sq-mini{border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.043);color:#181f28}
html[data-theme="light"] .sq-mini.is-on{background:rgba(251,191,36,.2);border-color:#FBBF24}
html[data-theme="light"] .sq-pin input{border:1px solid rgba(148,163,184,.35);background:rgba(243,244,252,.6);color:#233d57}
html[data-theme="light"] .sq-pin button,html[data-theme="light"] .sq-acts button{border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.051);color:#181f28}
html[data-theme="light"] .sq-pin button{background:#FBBF24;border-color:#FBBF24;color:#1c1203}
html[data-theme="light"] .sq-acts button:first-child{background:rgba(45,212,191,.16);border-color:rgba(45,212,191,.5)}
html[data-theme="light"] .sq-acts button:hover,html[data-theme="light"] .sq-mini:hover{border-color:#FBBF24}
html[data-theme="light"] .sq-foot{color:#5d6979}
html[data-theme="light"] .sq-av-bubble a{color:#13b79d}
html[data-theme="light"] .sq-av-new{background:#2DD4BF;color:#04201c;box-shadow:0 0 0 2px rgba(15,23,42,.298)}
/* light-theme:end */
