/* Egen kod, idé från affectUI Agent Lanes (Pro), ingen kod tagen */
.nlane{--nlane-card:#fff;--nlane-strong:#000;--nlane-ink:rgba(0,0,0,.88);--nlane-text:rgba(0,0,0,.61);--nlane-dot:rgba(0,0,0,.27);--nlane-k:0 0 0;--nlane-line:rgba(0,0,0,.06);--nlane-line2:rgba(0,0,0,.1);--nlane-wash:rgba(0,0,0,.03);--nlane-ember:#B4501A;--nlane-ember-fill:#D9601C;--nlane-ember-bg:rgba(217,96,28,.10);--nlane-ok:#1E7A4C;--nlane-ok-bg:rgba(30,122,76,.10);--nlane-wait:#8A5200;--nlane-wait-bg:rgba(178,106,0,.10);--nlane-bad:#B8321D;--nlane-bad-bg:rgba(184,50,29,.09);--nlane-tool:#2F6B6F;--nlane-tool-bg:rgba(47,107,111,.12);--nlane-solid:rgba(0,0,0,.88);--nlane-on-solid:#fcfcfc;--nlane-solid-h:rgba(0,0,0,.8);--nlane-shadow:0 0 0 .5px rgba(0,0,0,.06),0 1px 1px -1px rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.05);--nlane-shadow-h:0 0 0 .5px rgba(0,0,0,.1),0 1px 1px -1px rgba(0,0,0,.12),0 1px 3px 0 rgba(0,0,0,.07);--nlane-focus:rgba(217,96,28,.4);--nlane-ease:cubic-bezier(.22,1,.36,1);box-sizing:border-box;container-type:inline-size;width:100%;max-width:100%;font-family:var(--sans);font-size:13px;line-height:20px;font-weight:400;color:var(--nlane-ink);text-align:left;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
:where(.dark,[data-theme="dark"]) .nlane{--nlane-card:#1C1B1A;--nlane-strong:rgba(255,255,255,.94);--nlane-ink:rgba(255,255,255,.9);--nlane-text:rgba(255,255,255,.64);--nlane-dot:rgba(255,255,255,.3);--nlane-k:255 255 255;--nlane-line:rgba(255,255,255,.08);--nlane-line2:rgba(255,255,255,.12);--nlane-wash:rgba(255,255,255,.04);--nlane-ember:#F08A4B;--nlane-ember-fill:#D9601C;--nlane-ember-bg:rgba(217,96,28,.18);--nlane-ok:#3EC27A;--nlane-ok-bg:rgba(62,194,122,.14);--nlane-wait:#F0B232;--nlane-wait-bg:rgba(240,178,50,.14);--nlane-bad:#F2806C;--nlane-bad-bg:rgba(242,128,108,.14);--nlane-tool:#74BCC1;--nlane-tool-bg:rgba(116,188,193,.16);--nlane-solid:rgba(255,255,255,.9);--nlane-solid-h:rgba(255,255,255,.82);--nlane-on-solid:#161615;--nlane-shadow:0 0 0 .5px rgba(255,255,255,.1),0 1px 2px 0 rgba(0,0,0,.4);--nlane-shadow-h:0 0 0 .5px rgba(255,255,255,.16),0 1px 2px 0 rgba(0,0,0,.4);--nlane-focus:rgba(240,138,75,.55);color-scheme:dark}
.nlane *,.nlane *::before,.nlane *::after{box-sizing:border-box}
.nlane [hidden]{display:none!important}
:where(.nlane) button{margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:inherit}
:where(.nlane) svg{display:block;flex:none}
:where(.nlane) p,:where(.nlane) h3,:where(.nlane) h4,:where(.nlane) ul,:where(.nlane) ol,:where(.nlane) li{margin:0;padding:0;list-style:none}
.nlane button:focus-visible,.nlane [tabindex]:focus-visible,.nlane input:focus-visible{outline:2px solid var(--nlane-focus);outline-offset:1px}
.nlane-ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.nlane-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:4px 10px;border-radius:6px;font-size:13px;font-weight:500;line-height:20px;white-space:nowrap;transition:background-color 140ms ease,box-shadow 140ms ease,transform 160ms var(--nlane-ease),opacity 140ms ease}
:where(.nlane) .nlane-btn{background:var(--nlane-card);box-shadow:var(--nlane-shadow);color:var(--nlane-strong)}
.nlane-btn:hover{box-shadow:var(--nlane-shadow-h)}
.nlane-btn:active{transform:scale(.97)}
.nlane-btn[disabled]{opacity:.45;cursor:default;transform:none}
:where(.nlane) .nlane-btn--solid{background:var(--nlane-solid);box-shadow:none;color:var(--nlane-on-solid)}
.nlane-btn--solid:hover{background:var(--nlane-solid-h);box-shadow:none}
.nlane-btn .nlane-ico{width:14px;height:14px}
.nlane-tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border-radius:5px;font-size:12px;font-weight:500;line-height:20px;white-space:nowrap;background:var(--nlane-wash);color:var(--grey)}
.nlane-tag .nlane-ico{width:12px;height:12px;stroke-width:1.6}
.nlane-tag[data-s=running]{background:var(--nlane-ember-bg);color:var(--nlane-ember)}
.nlane-tag[data-s=waiting]{background:var(--nlane-wait-bg);color:var(--nlane-wait)}
.nlane-tag[data-s=done]{background:var(--nlane-ok-bg);color:var(--nlane-ok)}
.nlane-tag[data-s=failed]{background:var(--nlane-bad-bg);color:var(--nlane-bad)}
.nlane-av{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--nlane-card);box-shadow:var(--nlane-shadow);color:var(--nlane-ink);flex:none}
.nlane-av .nlane-ico{width:15px;height:15px}
.nlane-av[data-human]{background:var(--nlane-solid);color:var(--nlane-on-solid);box-shadow:none}
@keyframes nlane-in{from{opacity:0;transform:translateY(4px)}}
@keyframes nlane-pop{from{opacity:0;transform:scale(.6)}}
@media (prefers-reduced-motion:reduce){.nlane *,.nlane *::before,.nlane *::after{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important;transition-delay:0ms!important}}
.nlane{border-radius:10px;background:var(--nlane-card);box-shadow:var(--nlane-shadow);overflow:hidden}
.nlane-bar{display:flex;align-items:center;gap:10px;padding:10px 14px 10px 16px;border-bottom:.5px solid var(--nlane-line);flex-wrap:wrap}
.nlane-title{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--nlane-strong)}
.nlane-title .nlane-ico{color:var(--nlane-ember)}
.nlane-sum{display:flex;gap:10px;font-size:12px;color:var(--grey);flex-wrap:wrap}
.nlane-sum span{display:inline-flex;align-items:center;gap:5px}
.nlane-sum i{width:6px;height:6px;border-radius:50%;background:currentColor}
.nlane-sum .nlane-s-run{color:var(--nlane-ember)}
.nlane-sum .nlane-s-wait{color:var(--nlane-wait)}
.nlane-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.nlane-span{height:22px;padding:0 7px;border-radius:5px;background:var(--nlane-wash);font-size:12px;line-height:22px;color:var(--nlane-text)}
.nlane-body{position:relative;padding:4px 16px 8px}
.nlane-grid{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:12px}
.nlane-axis{grid-column:2;position:relative;height:26px}
.nlane-axis span{position:absolute;top:6px;transform:translateX(-50%);font-size:12px;line-height:16px;color:var(--grey);white-space:nowrap}
.nlane-axis span:last-child{transform:translateX(-100%);padding:0 5px;border-radius:4px;background:var(--nlane-ember-bg);color:var(--nlane-ember);font-weight:500}
.nlane-who{display:flex;align-items:center;gap:8px;min-width:0;height:48px}
.nlane-who .nlane-av{width:26px;height:26px}
.nlane-wn{min-width:0;flex:1}
.nlane-wn b{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--nlane-strong);white-space:nowrap}
.nlane-wn small{display:block;font-size:12px;line-height:16px;color:var(--grey);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nlane-wt{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-weight:500;color:var(--nlane-wait)}
.nlane-wt .nlane-ico{width:12px;height:12px}
.nlane-axis em{font-style:normal}
.nlane-track{position:relative;height:48px;border-top:.5px solid var(--nlane-line)}
.nlane-track[data-first]{border-top:0}
.nlane-lines{position:absolute;inset:0;pointer-events:none}
.nlane-lines i{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed rgb(var(--nlane-k) / .07)}
.nlane-blk{position:absolute;top:10px;height:28px;display:flex;align-items:center;gap:5px;min-width:22px;padding:0 7px;border-radius:6px;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap;overflow:hidden;background:rgb(var(--nlane-k) / .05);color:var(--nlane-text);box-shadow:inset 0 0 0 .5px rgb(var(--nlane-k) / .06);transition:box-shadow 140ms ease,background-color 140ms ease}
.nlane-blk:hover{box-shadow:inset 0 0 0 1px rgb(var(--nlane-k) / .14)}
.nlane-blk[aria-pressed=true]{box-shadow:inset 0 0 0 1.5px var(--nlane-ink)}
.nlane-blk .nlane-ico{width:12px;height:12px}
.nlane-blk>span{overflow:hidden;text-overflow:ellipsis}
.nlane-blk[data-tiny]>span{display:none}
.nlane-blk[data-s=running]{background:var(--nlane-ember-bg);color:var(--nlane-ember);border-right:2px solid var(--nlane-ember);border-radius:6px 2px 2px 6px}
.nlane-blk[data-s=waiting]{background:var(--nlane-wait-bg);color:var(--nlane-wait);border-right:2px solid var(--nlane-wait);border-radius:6px 2px 2px 6px}
.nlane-blk[data-s=failed]{background:var(--nlane-bad-bg);color:var(--nlane-bad)}
.nlane-blk[data-s=done]{background:rgb(var(--nlane-k) / .045);color:var(--nlane-text)}
.nlane-blk[data-s=done] .nlane-ico{color:var(--nlane-ok)}
.nlane-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.nlane-svg path{fill:none;stroke:var(--nlane-ember);stroke-width:1.2;stroke-dasharray:3 3;opacity:.55}
.nlane-svg circle{fill:var(--nlane-ember);opacity:.7}
.nlane[data-play] .nlane-blk{animation:nlane-grow 700ms var(--nlane-ease) both;animation-delay:var(--d)}
.nlane[data-play] .nlane-svg{animation:nlane-fade 500ms ease both;animation-delay:2.4s}
@keyframes nlane-grow{from{clip-path:inset(0 100% 0 0 round 6px)}to{clip-path:inset(0 0 0 0 round 6px)}}
@keyframes nlane-fade{from{opacity:0}}
.nlane-panel{margin:4px 16px 14px;padding:12px;border-radius:9px;background:var(--nlane-wash);animation:nlane-in 300ms var(--nlane-ease) both}
.nlane-panel[hidden]{display:none}
.nlane-ph{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nlane-ph b{font-weight:500;color:var(--nlane-strong)}
.nlane-ph small{font-size:12px;color:var(--grey)}
.nlane-ph .nlane-tag{margin-left:auto}
.nlane-panel p{margin-top:6px;color:var(--nlane-text)}
.nlane-ptools{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.nlane-ptools span{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border-radius:5px;background:var(--nlane-card);box-shadow:var(--nlane-shadow);font-size:12px;color:var(--nlane-text)}
.nlane-ptools .nlane-ico{width:12px;height:12px}
.nlane-pact{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.nlane-foot{padding:0 16px 12px;font-size:12px;line-height:16px;color:var(--grey)}
/* Narrow: name above, the track takes the whole width */
@container (max-width:560px){
  .nlane-grid{grid-template-columns:minmax(0,1fr)}
  .nlane-axis{grid-column:1}
  .nlane-who{height:auto;padding-top:10px;border-top:.5px solid var(--nlane-line)}
  .nlane-who[data-first]{border-top:0}
  .nlane-track{height:40px;border-top:0}
  .nlane-blk{top:4px}
  .nlane-axis em{display:none}
  .nlane-blk>span{display:none}
  .nlane-blk[data-wide]>span{display:inline}
  .nlane-right{margin-left:0;width:100%}
}
