/* Egen kod, idé från affectUI Experiment Card (Pro), ingen kod tagen */
.nexp{--nexp-cc:#6F6A62;--nexp-k:0,0,0;--nexp-card:#fff;--nexp-okk:30,122,76;--nexp-badk:179,38,30;--nexp-warnk:178,106,0;--nexp-warnt:138,82,0;--nexp-embk:217,96,28;--nexp-embt:#B4501A;--nexp-w1:#F9F9F8;--nexp-w2:#F6F6F5;--nexp-embbg:#FCF2ED}
.nexp {
  --nexp-strong:rgba(var(--nexp-k),.88);
  --nexp-text:rgba(var(--nexp-k),.61);
      --nexp-line:rgba(var(--nexp-k),.06);
  --nexp-ok:rgb(var(--nexp-okk));
  --nexp-ok-bg:rgba(var(--nexp-okk),.10);
  --nexp-bad:rgb(var(--nexp-badk));
  --nexp-bad-bg:rgba(var(--nexp-badk),.08);
  --nexp-ease:cubic-bezier(.22,1,.36,1);
  --nexp-shadow:0 0 0 .5px rgba(var(--nexp-k),.06),0 1px 1px -1px rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.05);
  width:100%; max-width:100%;
  font-family:var(--sans); font-size:13px; line-height:20px; color:var(--nexp-strong);
  font-variant-numeric:tabular-nums;
  container-type:inline-size;
}
.nexp *, .nexp *::before, .nexp *::after { box-sizing:border-box; }
.nexp__card { background:var(--nexp-card); border-radius:10px; box-shadow:var(--nexp-shadow); overflow:hidden; transition:box-shadow 200ms ease; }
.nexp__card:hover, .nexp__card[data-open] { box-shadow:0 0 0 .5px rgba(var(--nexp-k),.08),0 2px 6px -2px rgba(0,0,0,.10),0 1px 2px 0 rgba(0,0,0,.05); }
.nexp__head {
  display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:10px;
  width:100%; padding:12px 12px 12px 12px; border:0; background:transparent; text-align:left;
  font:inherit; color:inherit; cursor:pointer; border-radius:10px;
}
.nexp__head:focus-visible { outline:2px solid rgba(217,96,28,.4); outline-offset:-2px; }
.nexp__mini { width:36px; height:36px; border-radius:8px; background:rgba(var(--nexp-k),.035); box-shadow:inset 0 0 0 .5px rgba(var(--nexp-k),.06); }
.nexp__mini rect { transition:opacity 160ms ease; }
.nexp__titles { display:flex; flex-direction:column; min-width:0; }
.nexp__title { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nexp__status { display:flex; align-items:center; gap:6px; min-width:0; font-size:12px; color:var(--grey); white-space:nowrap; }
.nexp__chip { display:inline-flex; align-items:center; gap:5px; padding:0 6px; border-radius:5px; background:var(--nexp-ok-bg); color:var(--nexp-ok); font-weight:500; line-height:20px; }
.nexp__chip i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.nexp__chip[data-done] { background:rgba(var(--nexp-k),.05); color:var(--nexp-text); }
.nexp__day { overflow:hidden; text-overflow:ellipsis; }
.nexp__lead { display:inline-flex; align-items:center; gap:4px; padding:0 6px; border-radius:5px; font-size:12px; font-weight:500; line-height:22px; background:var(--nexp-ok-bg); color:var(--nexp-ok); white-space:nowrap; }
.nexp__lead svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

.nexp__body { display:grid; grid-template-rows:0fr; transition:grid-template-rows 420ms var(--nexp-ease); }
.nexp__card[data-open] .nexp__body { grid-template-rows:1fr; }
.nexp__inner { min-height:0; overflow:hidden; opacity:0; transition:opacity 260ms ease; }
.nexp__card[data-open] .nexp__inner { opacity:1; transition-delay:60ms; }

.nexp__tabs { display:flex; gap:2px; padding:0 12px 8px; flex-wrap:wrap; }
.nexp__tabs button { min-height:28px; padding:4px 10px; border:0; border-radius:6px; background:transparent; font:inherit; font-size:13px; color:var(--nexp-text); cursor:pointer; transition:background-color 140ms ease, color 140ms ease; }
.nexp__tabs button:hover { background:rgba(var(--nexp-k),.04); color:var(--nexp-strong); }
.nexp__tabs button[aria-checked="true"] { background:rgba(var(--nexp-k),.06); color:var(--nexp-strong); font-weight:500; }
.nexp__tabs button:focus-visible { outline:2px solid rgba(217,96,28,.4); }

.nexp__rows { padding:0 6px 6px; }
.nexp__row {
  display:grid; grid-template-columns:20px minmax(0,1fr) max-content 62px; align-items:center; column-gap:8px;
  width:100%; padding:6px 6px 8px; border:0; border-radius:8px; background:transparent; text-align:left;
  font:inherit; color:inherit; transition:background-color 140ms ease;
}
.nexp__row[data-dim] { opacity:.55; }
button.nexp__row { cursor:pointer; }
button.nexp__row:hover { background:rgba(var(--nexp-k),.03); }
button.nexp__row:focus-visible { outline:2px solid rgba(217,96,28,.4); outline-offset:-2px; }
.nexp__row[aria-checked="true"] { background:rgba(217,96,28,.07); }
.nexp__badge { display:grid; place-items:center; width:20px; height:20px; border-radius:5px; font-size:12px; font-weight:500; background:rgba(var(--nexp-k),.05); color:var(--nexp-text); }
.nexp__row[aria-checked="true"] .nexp__badge { background:#D9601C; color:#fff; }
.nexp__copy { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nexp__val { font-weight:500; text-align:right; min-width:52px; font-variant-numeric:tabular-nums; }
.nexp__lift { justify-self:stretch; min-width:0; font-variant-numeric:tabular-nums; padding:0 6px; border-radius:5px; font-size:12px; font-weight:500; text-align:center; background:rgba(var(--nexp-k),.05); color:var(--nexp-text); }
.nexp__lift[data-good] { background:var(--nexp-ok-bg); color:var(--nexp-ok); }
.nexp__lift[data-bad] { background:var(--nexp-bad-bg); color:var(--nexp-bad); }
.nexp__track { grid-column:2 / -1; height:4px; margin-top:6px; border-radius:2px; background:rgba(var(--nexp-k),.06); overflow:hidden; }
.nexp__track span { display:block; height:100%; border-radius:2px; transform-origin:left; transition:transform 420ms var(--nexp-ease); }

.nexp__foot { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; padding:10px 12px; border-top:.5px solid var(--nexp-line); min-height:49px; }
.nexp__note { font-size:12px; color:var(--grey); min-width:0; }
.nexp__note b { color:var(--nexp-strong); font-weight:500; }
.nexp__acts { display:flex; gap:6px; margin-left:auto; }
.nexp__btn { display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:4px 10px; border:0; border-radius:6px; background:var(--nexp-card); box-shadow:var(--nexp-shadow); font:inherit; font-size:13px; font-weight:500; color:var(--nexp-strong); cursor:pointer; transition:box-shadow 140ms ease, background-color 140ms ease, transform 160ms var(--nexp-ease), opacity 140ms ease; white-space:nowrap; }
.nexp__btn:hover { box-shadow:0 0 0 .5px rgba(var(--nexp-k),.12),0 1px 2px 0 rgba(0,0,0,.08); }
.nexp__btn:active { transform:scale(.97); }
.nexp__btn:focus-visible { outline:2px solid rgba(217,96,28,.4); outline-offset:1px; }
.nexp__btn--primary { background:rgba(var(--nexp-k),.88); color:var(--nexp-card); box-shadow:none; }
.nexp__btn--primary:hover { background:rgba(var(--nexp-k),.78); box-shadow:none; }
.nexp__btn[disabled] { opacity:.4; cursor:default; transform:none; }
.nexp__done { display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:4px 10px 4px 8px; border-radius:6px; background:var(--nexp-ok-bg); color:var(--nexp-ok); font-weight:500; min-width:0; animation:nexp-in 360ms var(--nexp-ease); }
.nexp__done svg, .nexp__btn svg { width:14px; height:14px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.nexp__sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@keyframes nexp-in { from { opacity:0; transform:translateY(3px); } }

@container (max-width:330px) {
  .nexp__head { gap:8px; padding:10px; }
  .nexp__lift { min-width:0; }
  .nexp__tabs { padding:0 10px 8px; }
}
@media (pointer:coarse) { .nexp__btn, .nexp__tabs button { min-height:36px; } }
@media (prefers-reduced-motion:reduce) {
  .nexp__body, .nexp__inner, .nexp__track span, .nexp__card { transition:none; }
  .nexp__done { animation:none; }
}

/* d1-dark */
:where(.dark,[data-theme="dark"]) .nexp{color-scheme:dark;--nexp-cc:#A39E95;--nexp-shadow:0 0 0 .5px rgba(255,255,255,.1),0 1px 2px 0 rgba(0,0,0,.4);--nexp-k:255,255,255;--nexp-card:#1C1B1A;--nexp-okk:62,194,122;--nexp-badk:242,128,108;--nexp-warnk:240,178,50;--nexp-warnt:240,178,50;--nexp-embt:#F08A4B;--nexp-w1:rgba(255,255,255,.03);--nexp-w2:rgba(255,255,255,.06);--nexp-embbg:rgba(217,96,28,.16)}
