/* Spring Dropdown: a status picker. The menu drops out from under the trigger
   on a spring, the pair lifts so it stays centred, and the picked value rolls
   up into the trigger. */
.dd{position:absolute;left:50%;top:50%;width:232px;height:52px;margin:-26px 0 0 -116px;will-change:transform}
.dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--c,var(--muted))}

.trig{
  position:absolute;inset:0;display:flex;align-items:center;gap:10px;padding:0 14px 0 18px;border:0;border-radius:16px;
  background:var(--surface);color:var(--text);font:inherit;cursor:pointer;will-change:transform;
  -webkit-tap-highlight-color:transparent;
}
.trig:focus-visible{outline:2px solid var(--text-2);outline-offset:2px}
.val{position:relative;flex:1;height:52px;overflow:hidden}
.slot{position:absolute;inset:0;display:flex;align-items:center;gap:10px;will-change:transform,opacity}
.slot b,.opt b{font-size:var(--fs-base);font-weight:var(--fw-medium);letter-spacing:-.01em;white-space:nowrap}
.chev{flex:none;width:20px;height:20px;color:var(--muted);will-change:transform}

.menu{
  position:absolute;left:0;top:60px;width:100%;height:0;padding:6px;border-radius:18px;overflow:hidden;
  background:var(--surface);transform-origin:50% 0;visibility:hidden;will-change:transform,height,opacity;
}
.opt{
  position:relative;z-index:1;display:flex;align-items:center;gap:10px;height:44px;padding:0 10px 0 12px;border-radius:12px;
  color:var(--text);cursor:pointer;opacity:0;will-change:transform,opacity;
}
.opt b{flex:1}
.tick{flex:none;width:18px;height:18px;color:var(--text)}
.tick path{stroke-dasharray:22;stroke-dashoffset:22}
.hl{position:absolute;left:6px;right:6px;top:0;border-radius:12px;background:var(--fill-2);opacity:0;pointer-events:none;will-change:transform,height}
