/* ===========================================================================
   WHO'S IN THE VAN? White cards straight on the red, like People: the van
   (seats and ALL SET), then FACTS and FEELS as on her page with faces where
   the knobs would be, then the bench as People cards.
   =========================================================================== */
#panels .vb-title{text-align:left; margin:8px 0 24px}
/* the title, and CANCEL on the right: a way out without saving */
.vb-head{display:flex; align-items:center; justify-content:space-between; gap:16px; margin:8px 0 24px}
.vb-head .vb-title{margin:0}
.vb-back{flex:none; align-self:center}
.vb-back:hover,.vb-back:focus-visible{border-color:var(--white)}
#panels .pcd{color:var(--ink)}

/* ---- the van: five seats, ALL SET on the right ---- */
.vb-van{display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap}
.vb-seats{display:flex; gap:22px; flex-wrap:wrap}
.vb-seat{position:relative; width:84px; display:flex; flex-direction:column; align-items:center; gap:10px;
  background:none; border:0; padding:0; font:inherit; color:inherit}
.vb-seat .init.lg{--d:84px}
.vb-seat.new .init{animation:vb-in .35s cubic-bezier(.3,1.4,.6,1)}
.vb-nm{font-family:var(--display); font-size:var(--lead); letter-spacing:.04em; text-transform:uppercase; line-height:1.1;
  max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.vb-x{position:absolute; top:-2px; right:-2px; width:24px; height:24px; border-radius:50%; border:0; cursor:pointer;
  background:var(--white); color:var(--ink-soft); box-shadow:var(--lift-knob); display:grid; place-items:center; padding:0}
.vb-x svg{width:10px; height:10px}
.vb-x line{stroke:currentColor; stroke-width:2; stroke-linecap:round}
.vb-x:hover{color:var(--red)}
.vb-seat.ghost{cursor:pointer}
.vb-ring{width:84px; height:84px; border-radius:50%; border:3px dashed var(--border); color:var(--mid);
  display:grid; place-items:center; font-family:var(--display); font-size:52px; line-height:1; padding-top:4px}
.vb-seat.ghost:hover .vb-ring{border-color:var(--mid)}
.vb-seat.ghost .vb-nm{color:var(--mid)}
#vbGo{align-self:center}
#vbGo:disabled{background:var(--border); color:var(--mid); opacity:1}
#vbGo.said{background:var(--ink)}
.vb-van.shake{animation:vb-shake .4s ease}

/* ---- the lines ---- */
.vb-lines .pcd{margin-bottom:28px}
.vb-fact{margin-bottom:12px}
.vb-fact:last-child{margin-bottom:0}
.vb-track{position:relative}
.vb-track.h{height:62px; margin:0 20px}
.vb-track.v{width:96px; flex:1; min-height:230px; margin:22px 0}
.vb-rail,.vb-fill{position:absolute; border-radius:var(--pill)}
.vb-rail{background:var(--border)}
.vb-fill{background:var(--red)}
.vb-track.h .vb-rail{left:0; right:0; top:36px; height:4px}
.vb-track.h .vb-fill{top:36px; height:4px}
.vb-track.v .vb-rail{top:0; bottom:0; left:46px; width:4px}
.vb-track.v .vb-fill{left:46px; width:4px}
.vb-track i{position:absolute; width:6px; height:6px; border-radius:50%; background:var(--mid); opacity:.45; transform:translate(-50%,-50%)}
.vb-track.h i{top:38px}
.vb-track.v i{left:48px}
.vb-dot{position:absolute; width:40px; height:40px; border-radius:50%; transform:translate(-50%,-50%);
  box-shadow:0 0 0 3px var(--white), 0 1px 4px rgba(0,0,0,.25); transition:left .3s ease, top .3s ease}
.vb-track.h .vb-dot{top:calc(38px - var(--up) * 24px); z-index:calc(var(--up) + 1)}
.vb-track.v .vb-dot{left:calc(48px + var(--side) * 24px)}
.vb-dot .init{--d:40px}
.vb-dot.new{animation:vb-dot .35s cubic-bezier(.3,1.4,.6,1)}
.vb-ends{margin-top:2px}
.vb-feel{gap:6px}

/* ---- the bench: People cards, four across ---- */
.vb-bar{justify-content:center; margin:8px 0 24px}
.tiles.vb-bench{grid-template-columns:repeat(4,1fr); gap:14px}
.vb-bench .tile.person{min-height:0; padding:18px 18px 16px; gap:14px}
.vb-bench .tile.person .init.lg{--d:52px}
.vb-bench .tile .t{font-size:var(--lead)}
.vb-bench .tile .lb{font-size:var(--quiet)}
.vb-bench .tile.person.on{border-color:var(--ink)}
.vb-bench .tile.person.new{min-height:150px}
.badge.vb-in{background:var(--mid); border-color:var(--mid); color:var(--white)}
.vb-add{width:30px; height:30px; border-radius:50%; border:1.5px solid var(--border); color:var(--mid);
  display:grid; place-items:center; font-size:var(--lead); line-height:1; font-weight:300}
.vb-bench .tile:hover .vb-add{border-color:var(--ink); color:var(--ink)}

/* ---- the name, at ALL SET ---- */
.vb-pop .vb-name{background:var(--white)}
.vb-lab{display:block; margin:14px 0 6px}
.vb-pop-b{justify-content:space-between}
.vb-msg{margin:8px 0 0; min-height:1.2em; font-size:var(--say); color:var(--red)}

@keyframes vb-in{from{transform:scale(.4); opacity:0}to{transform:none; opacity:1}}
@keyframes vb-dot{from{transform:translate(-50%,-50%) scale(.3); opacity:0}to{transform:translate(-50%,-50%); opacity:1}}
@keyframes vb-shake{0%,100%{transform:none}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
@media (prefers-reduced-motion:reduce){
  .vb-seat.new .init,.vb-dot.new,.vb-van.shake{animation:none}
  .vb-dot{transition:none}
}

@media (max-width:1000px){.tiles.vb-bench{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){
  .tiles.vb-bench{grid-template-columns:repeat(2,1fr)}
  #vbGo{width:100%}
}
@media (max-width:560px){
  .tiles.vb-bench{grid-template-columns:1fr}
  .vb-seats{gap:12px}
  .vb-seat,.vb-ring{width:56px}
  .vb-seat .init.lg{--d:56px}
  .vb-ring{height:56px; font-size:var(--head)}
  .vb-nm{font-size:var(--say)}
}

/* WHO'S IT FOR? (Hunch only) on the ALL SET pop-up */
.vb-for{display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 4px}
.vb-for .chip.on{background:var(--ink); color:var(--white); border-color:var(--ink)}
