/* Short, functional movement in the existing cream / cobalt / yellow system. */
.sme .wm-task{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--bd-blue,#294bd3);margin:0 0 8px}
.sme .wm-task[hidden],.sme .wm-feedback[hidden]{display:none}
.sme .wm-live-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none;animation:wm-breathe 1.6s ease-in-out infinite}
.sme .auto-progress{background:var(--bd-paper,#fffdf4);position:relative;overflow:hidden}
.sme .auto-progress[data-research-active=true]::before{content:'';position:absolute;top:0;left:0;width:28%;height:3px;background:var(--bd-blue,#294bd3);animation:wm-research 2.4s ease-in-out infinite}
.sme .auto-live{display:inline-flex;align-items:center;gap:8px;color:var(--bd-blue,#294bd3)}
.sme .auto-live::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor;flex:none;animation:wm-breathe 1.6s ease-in-out infinite}
.sme .wm-stage-heading{display:flex;align-items:flex-start;gap:9px}
.sme .wm-stage-marker{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid var(--bd-line,#cac7b8);border-radius:50%;color:var(--bd-muted,#66675d);font:700 10px 'Courier New',monospace;background:var(--bd-paper,#fffdf4)}
.sme .wm-stage-marker svg{width:17px;height:17px}
.sme .wm-stage-check,.sme .wm-check path{stroke-dasharray:24;stroke-dashoffset:0}
.sme .auto-stages li[data-state=running] .wm-stage-marker{border:2px solid #294bd330;border-top-color:var(--bd-blue,#294bd3);border-right-color:var(--bd-blue,#294bd3);font-size:0;animation:wm-turn 1s linear infinite}
.sme .auto-stages li[data-state=complete]{border-color:var(--bd-blue,#294bd3)}
.sme .auto-stages li[data-state=complete] .wm-stage-marker{background:var(--bd-yellow,#f5df77);border-color:var(--bd-ink,#292b27);color:var(--bd-ink,#292b27)}
.sme .auto-stages li[data-state=needs_attention] .wm-stage-marker{border-style:dashed;color:var(--bd-ink,#292b27)}
.sme .wm-feedback{position:fixed;right:24px;bottom:24px;z-index:80;display:flex;align-items:center;gap:12px;max-width:min(430px,calc(100vw - 32px));padding:13px 14px;background:var(--bd-paper,#fffdf4);border:1px solid var(--bd-ink,#292b27);border-radius:4px;box-shadow:3px 3px 0 var(--bd-blue,#294bd3);color:var(--bd-ink,#292b27)}
.sme .wm-feedback p{margin:0;font-size:14px;line-height:1.45}
.sme .wm-check{width:28px;height:28px;flex:none;padding:4px;border:1px solid var(--bd-ink,#292b27);border-radius:50%;background:var(--bd-yellow,#f5df77)}
.sme .wm-feedback button{border:0;background:none;color:inherit;font:inherit;font-size:22px;cursor:pointer;width:36px;min-height:36px;flex:none}
.sme .wm-feedback button:focus-visible{outline:2px solid var(--bd-blue,#294bd3);outline-offset:2px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .sme #sme-content .bd-select-card,.sme #sme-content .bd-stat[data-desk-select],.sme #sme-content .btn{transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
  .sme #sme-content .bd-select-card:hover,.sme #sme-content .bd-stat[data-desk-select]:hover{transform:translateY(-2px)}
  .sme #sme-content .btn:active{transform:translateY(1px)}
}
@keyframes wm-turn{to{transform:rotate(360deg)}}
@keyframes wm-breathe{50%{opacity:.35}}
@keyframes wm-research{from{transform:translateX(-110%)}to{transform:translateX(460%)}}
.sme.wm-paused .wm-live-dot,.sme.wm-paused .auto-live::before,.sme.wm-paused .wm-stage-marker,.sme.wm-paused .auto-progress::before{animation-play-state:paused!important}
@media(max-width:700px){.sme .wm-feedback{left:16px;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));max-width:none;padding:10px}.sme .wm-feedback p{font-size:13px}.sme .wm-task{font-size:11px}}
@media(prefers-reduced-motion:reduce){.sme .auto-progress::before,.sme .auto-live::before,.sme .wm-live-dot,.sme .wm-stage-marker{animation:none!important}.sme .auto-progress[data-research-active=true]::before{width:100%}.sme #sme-content *{scroll-behavior:auto!important}}
@media print{.sme .wm-feedback,.sme .wm-task{display:none!important}.sme .auto-progress::before{display:none}}
