/* The progress card while Elthos works on a recording (work-progress.js). */
.work-card {display:grid;gap:18px;max-width:680px;margin:8px 0 28px;color:var(--ink,#37352f);}
.work-head {display:flex;align-items:center;gap:14px;}
/* The Elthos logo at work, the E bars (.ebars in styles.css): each cycle a
   wave runs down the bars, one after another they slide in to line up on the
   centre, a little shorter, and back out to their place, then the E rests in
   its own form. */
.work-mark {flex:none;width:24px;}
.work-mark img {animation:work-wave 2.8s ease-in-out calc(var(--bar) * 224ms) infinite;}
.work-mark.is-bloom {animation:work-bloom .6s cubic-bezier(.2,.8,.3,1.3);}
.work-card.is-paused .work-mark {opacity:.45;transition:opacity .4s;}
.work-card.is-paused .work-mark img {animation:none;}
.work-lines {display:grid;gap:3px;min-width:0;}
.work-heading {font-size:17px;font-weight:500;line-height:1.35;}
.work-word {display:inline-block;background:linear-gradient(90deg,var(--muted-soft,#95938d) 30%,var(--ink,#37352f) 50%,var(--muted-soft,#95938d) 70%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:work-shimmer 1.8s linear infinite;}
.work-detail,.work-fact,.work-step-detail,.work-live {color:var(--muted,#6d6c6a);font-variant-numeric:tabular-nums;}
.work-fact {font-size:13px;}
.work-bar {height:3px;border-radius:2px;background:var(--line-strong,rgba(31,31,33,.15));overflow:hidden;}
.work-bar span {display:block;height:100%;min-width:6px;border-radius:2px;background:var(--ink,#37352f);transition:width .5s ease;}
.work-bar.is-paused span {opacity:.35;}
.work-steps {list-style:none;margin:0;padding:0;}
.work-step {display:flex;align-items:center;gap:12px;min-height:34px;font-size:15px;}
.work-step.is-active {font-weight:500;}
.work-step.is-upcoming {color:var(--muted-soft,#95938d);}
.work-step-detail {margin-left:auto;font-size:13px;font-weight:400;}
.work-check,.work-dot,.work-ring {flex:none;width:16px;height:16px;display:grid;place-items:center;}
.work-check::before {content:"";width:9px;height:5px;margin-top:-3px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg);}
.work-dot::before {content:"";width:8px;height:8px;border-radius:50%;background:currentColor;animation:work-pulse 1.8s ease-in-out infinite;}
.work-dot.is-paused::before {animation:none;opacity:.35;}
.work-ring::before {content:"";width:8px;height:8px;border-radius:50%;box-sizing:border-box;border:1px solid var(--line-strong,rgba(31,31,33,.15));}
.work-live {margin:0;font-size:13px;}
@keyframes work-wave {0% {transform:none;} 18% {transform:translateX(calc(var(--shift) * .6)) scaleX(.88);} 36%,100% {transform:none;}}
@keyframes work-bloom {0% {transform:scale(1);} 45% {transform:scale(1.16);} 100% {transform:scale(1);}}
@keyframes work-shimmer {from {background-position:100% 0;} to {background-position:-150% 0;}}
@keyframes work-pulse {0%,100% {opacity:.3;} 50% {opacity:1;}}
@media (prefers-reduced-motion: reduce) {
  .work-mark,.work-mark.is-bloom,.work-mark img,.work-dot::before {animation:none;}
  .work-word {animation:none;background:none;color:inherit;}
}
#insightsPanel .session-work-card {margin-bottom:8px;}
