/* Groups for the party — layout glue for this slice's own markup only; colours come from
   the design tokens, so all the looks work without per-theme rules. */
.grp-card .h2 { margin: 0; }
.grp-form { gap: 10px; align-items: stretch; }
.grp-form .btn { flex: none; }
.grp-group {
  border: 2px solid var(--edge); border-radius: var(--radius-sm); background: var(--card);
  padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 6px;
}
.grp-rest { border-style: dashed; background: var(--paper-dim); }
.grp-head { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.grp-head.confirm { flex-wrap: wrap; justify-content: flex-end; }
.grp-q { font-weight: 800; flex: 1 1 100%; overflow-wrap: anywhere; }
.grp-name { font: 600 18px/1.2 var(--display); overflow-wrap: anywhere; }
.grp-count {
  display: inline-block; margin-left: 8px; min-width: 22px; padding: 0 7px; border-radius: 999px;
  font: 800 13px/22px var(--body, inherit); text-align: center; vertical-align: 2px;
  background: var(--paper-dim); color: var(--ink); border: 2px solid var(--edge);
}
.grp-icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--edge); background: var(--card);
  color: var(--ink); font-size: 15px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.grp-tip { margin: 0; font-weight: 800; font-size: 14px; color: var(--muted); }
/* Guests as name chips that wrap, several to a line. */
.grp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.grp-chip {
  min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--edge);
  background: var(--card); color: var(--ink); font: 800 16px/1.2 var(--body, inherit); cursor: pointer;
  overflow-wrap: anywhere; max-width: 100%; text-align: left;
}
.grp-chip.picked { background: var(--inv-bg); color: var(--inv-fg); box-shadow: 0 0 0 3px var(--role); transform: translateY(-1px); }
/* With a guest picked, every other box is a place to put them. */
.grp-group.target { cursor: pointer; border-style: dashed; border-color: var(--role); box-shadow: 0 0 0 3px color-mix(in oklch, var(--role) 25%, transparent); }
.grp-here {
  align-self: stretch; text-align: center; padding: 8px 10px; border-radius: var(--radius-sm);
  border: 2px dashed var(--role); font-weight: 800; color: var(--ink);
}
.grp-empty { margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }
