/* Automatic home-screen walkthrough. Personal keeps its static illustration. */
.workspace-animation .workspace-toolbar{padding:14px 18px;gap:8px}
.workspace-playback,.workspace-cycle-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:1px solid var(--bd);border-radius:5px;color:var(--mu2);font:500 10px/1.5 var(--fb);padding:6px 9px;cursor:pointer;white-space:nowrap}
.workspace-playback:hover,.workspace-cycle-controls button:hover{color:var(--tx);background:var(--sfh);border-color:var(--bdh)}
.workspace-playback .hx-icon{width:13px;height:13px}
.workspace-animation .workspace-prompt{margin:18px 18px 0;min-height:94px;padding:13px;font-size:12px}
.workspace-animation .workspace-prompt>div{flex:1;min-width:0}
.workspace-animation .workspace-request-label{display:flex;justify-content:space-between;gap:12px;color:var(--teal);font-size:9px;margin-bottom:7px}
#workspaceCounter{color:var(--mu);font:9px var(--fm);white-space:nowrap}
#workspaceRequest{display:block;line-height:1.65}
.workspace-animation .agent-map{padding:20px 22px 16px}
.workspace-animation .workspace-core{padding:11px 15px;transition:border-color .3s,box-shadow .3s}
.workspace-animation .core-sub{min-width:170px}
.workspace-core[data-state="running"] .core-symbol{animation:workspace-pulse 2.1s ease-in-out infinite}
.workspace-core[data-state="complete"]{border-color:var(--teal);box-shadow:0 0 20px var(--tealD)}
.workspace-helper-map{position:relative;width:100%;padding-top:24px}
.workspace-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.workspace-link{fill:none;stroke:var(--bdh);stroke-width:1;vector-effect:non-scaling-stroke;transition:stroke .35s}
.workspace-link[data-state="running"],.workspace-link[data-state="discovering"]{stroke:var(--teal);stroke-width:1.8;stroke-dasharray:7 5;animation:workspace-flow 1s linear infinite}
.workspace-link[data-state="discovering"]{stroke:var(--amb)}
.workspace-link[data-state="complete"]{stroke:var(--teal);opacity:.55}
.workspace-helper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;position:relative}
.workspace-helper-grid[data-count="3"] .workspace-helper:last-child{grid-column:1/-1;width:calc(50% - 12px);justify-self:center}
.workspace-helper{height:96px;padding:10px 8px;border:1px solid var(--bd);border-radius:8px;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;min-width:0;transition:border-color .35s,background .35s,box-shadow .35s}
.workspace-helper-icon{display:flex;color:var(--mu)}
.workspace-helper-icon .hx-icon{width:18px;height:18px}
.workspace-helper-name{font-size:10px;font-weight:500;line-height:1.3;color:var(--mu2);overflow-wrap:anywhere}
.workspace-helper-status{font-size:9px;line-height:1.4;color:var(--mu);display:flex;align-items:center;gap:5px}
.workspace-helper-status::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
.workspace-helper[data-state="discovering"]{border-color:var(--ambG);background:var(--ambD)}
.workspace-helper[data-state="discovering"] .workspace-helper-status,.workspace-helper[data-state="discovering"] .workspace-helper-icon{color:var(--amb)}
.workspace-helper[data-state="running"]{border-color:var(--teal);background:var(--tealD);box-shadow:0 0 18px var(--tealD)}
.workspace-helper[data-state="running"] .workspace-helper-name{color:var(--tx)}
.workspace-helper[data-state="running"] .workspace-helper-icon,.workspace-helper[data-state="running"] .workspace-helper-status{color:var(--teal)}
.workspace-helper[data-state="running"] .workspace-helper-status::before{animation:workspace-status 1.2s ease-in-out infinite}
.workspace-helper[data-state="complete"]{border-color:var(--tealG)}
.workspace-helper[data-state="complete"] .workspace-helper-icon,.workspace-helper[data-state="complete"] .workspace-helper-status{color:var(--teal)}
.workspace-activity{margin:0 18px 16px;padding:12px 14px;background:var(--bg);border:1px solid var(--bd);border-radius:7px;height:136px;display:flex;flex-direction:column;gap:5px}
.workspace-activity-label{font:500 9px var(--fm);color:var(--teal);line-height:1.5}
.workspace-activity p{font-size:11px;line-height:1.65;color:var(--mu2);margin:0;min-height:36px;overflow-y:auto;scrollbar-width:thin}
.workspace-activity[data-state="discovering"] .workspace-activity-label{color:var(--amb)}
.workspace-activity[data-state="complete"]{border-color:var(--tealG);background:var(--tealD)}
.workspace-progress{height:2px;border-radius:2px;background:var(--bd);overflow:hidden;margin-top:auto}
.workspace-progress>span{display:block;width:0;height:100%;background:var(--teal);transition:width .6s ease}
.workspace-animation .workspace-process{padding-top:0;border-top:0;margin:0 18px 14px}
.workspace-process [data-workspace-phase]{opacity:.4;transition:opacity .3s,color .3s}
.workspace-process [data-workspace-phase].is-current,.workspace-process [data-workspace-phase].is-complete{opacity:1;color:var(--teal)}
.workspace-process [data-workspace-phase].is-current b{box-shadow:0 0 0 1px var(--tealG)}
.workspace-cycle-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid var(--bd)}
.workspace-cycle-controls>span{font-size:9px;color:var(--mu)}
.workspace-cycle-controls button{border-color:transparent;padding:4px 0;font-size:10px;color:var(--tx)}
.workspace-cycle-controls button .hx-icon{width:13px;height:13px}
.workspace-animation .workspace-bottom{padding:14px 18px}
.workspace-animation[data-paused="true"] *{animation-play-state:paused!important}
.workspace-animation.is-changing #workspaceRequest,.workspace-animation.is-changing .workspace-helper{animation:workspace-enter .45s ease both}
.workspace-no-script{padding:0 18px 16px;font-size:12px;color:var(--mu2)}
@keyframes workspace-flow{to{stroke-dashoffset:-24}}
@keyframes workspace-pulse{0%,100%{box-shadow:0 0 0 0 var(--tealD)}50%{box-shadow:0 0 0 7px var(--tealD)}}
@keyframes workspace-status{50%{opacity:.25}}
@keyframes workspace-enter{from{opacity:.15;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.workspace-animation .workspace-title{font-size:11px}.workspace-animation .workspace-title .hx-icon{width:15px;height:15px}.workspace-animation .workspace-title{gap:6px}}
@media(max-width:600px){.workspace-animation .workspace-toolbar{padding:13px 14px}.workspace-animation .workspace-prompt{margin:15px 14px 0;font-size:11px;min-height:98px}.workspace-animation .agent-map{padding:18px 14px 14px}.workspace-helper-grid{column-gap:18px}.workspace-helper-grid[data-count="3"] .workspace-helper:last-child{width:calc(50% - 9px)}.workspace-helper{padding:8px 5px;gap:4px}.workspace-helper-name{font-size:9px}.workspace-helper-status{font-size:8px}.workspace-activity{margin-inline:14px;height:156px}.workspace-activity p{font-size:10px}.workspace-animation .workspace-process{margin-inline:14px}.workspace-cycle-controls{padding-inline:14px}.workspace-cycle-controls>span{font-size:8px}.workspace-animation .workspace-bottom{padding:13px 14px}}
@media(prefers-reduced-motion:reduce){.workspace-animation *{animation:none!important;transition:none!important}}
