#xuanwuCodexDock{position:fixed;right:24px;bottom:24px;z-index:8501;width:370px;max-width:calc(100vw - 32px);min-height:74px;display:flex;align-items:center;gap:2px;padding:8px 10px 8px 6px;background:#fff;border:1px solid #cdd4df;border-radius:12px;box-shadow:0 5px 22px #25324824,0 1px 4px #2532480d;color:#202633;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;box-sizing:border-box}
#xuanwuCodexDock[hidden]{display:none!important}
#xuanwuCodexDock *{box-sizing:border-box}
#xuanwuCodexDock button{font:inherit;border:0;background:transparent;border-radius:7px;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px}
#xuanwuCodexDock button:hover{background:#f1f3f6}
#xuanwuCodexDock button:focus-visible{outline:2px solid #296dde;outline-offset:1px}
#xuanwuCodexDock button:disabled{cursor:wait}
#xuanwuCodexDock .xwcd-restore{flex:1;min-width:0;gap:12px;text-align:left;justify-content:flex-start}
#xuanwuCodexDock .xwcd-logo{width:28px;height:28px;flex:none}
#xuanwuCodexDock .xwcd-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
#xuanwuCodexDock strong{font-size:14px;font-weight:650;white-space:nowrap}
#xuanwuCodexDock .xwcd-detail{display:flex;align-items:center;gap:6px;min-width:0;color:#758298;font-size:12px}
#xuanwuCodexDock .xwcd-description{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#xuanwuCodexDock .xwcd-dot{height:6px;width:6px;border-radius:50%;background:#8390a3;flex:none}
#xuanwuCodexDock[data-status=completed] .xwcd-dot,#xuanwuCodexDock[data-status=running] .xwcd-dot{background:#239176}
#xuanwuCodexDock[data-status=waiting_input] .xwcd-dot,#xuanwuCodexDock[data-status=waiting_thread] .xwcd-dot,#xuanwuCodexDock[data-status=queued] .xwcd-dot{background:#ba872c}
#xuanwuCodexDock[data-status=failed] .xwcd-dot{background:#bd5750}
#xuanwuCodexDock .xwcd-expand img,#xuanwuCodexDock .xwcd-close img{width:14px;height:14px}
#xuanwuCodexDock.above-actions{bottom:92px}
@media(max-width:560px){#xuanwuCodexDock{right:12px;bottom:12px;width:340px;max-width:calc(100vw - 24px);min-height:68px}#xuanwuCodexDock.above-actions{bottom:86px}}

/* Teal task card anchored beneath the header entry. */
#xuanwuCodexDock{background:#effaf7;border-color:#d4eee5;border-radius:10px;color:#234b43;box-shadow:0 5px 18px #234b4314;min-height:76px}
#xuanwuCodexDock .xwcd-detail{color:#68867e}
#xuanwuCodexDock .xwcd-logo{width:24px;height:24px}
#xuanwuCodexDock button:hover{background:#e2f3ec}
#xuanwuCodexDock[data-anchor="header"]{bottom:auto;right:auto;width:370px;max-width:calc(100vw - 24px)}
body.theme-dark #xuanwuCodexDock{background:#19332d;border-color:#35564c;color:#def0e9}
body.theme-dark #xuanwuCodexDock .xwcd-detail{color:#a3beb5}
