/* The contact module's own styling. It travels with the module - the package the core fetches
   from it consists of its frontend assembly and this file. What only its views need belongs
   here and not in the toolkit's paula.css, where it stood until 2026-09-27: the toolkit delivers
   tools, never meaning. */

/* the rows of controls over the comparison: arrows and answers on one, the answers for the whole
   throw on the next. They stand still while what is under them is as long as the find it shows. */
.import-bar
{
    display: flex; align-items: center; flex-wrap: wrap;
    gap: var(--s2); margin-bottom: var(--s2);
}

/* what a line of the comparison does, as a sign - and since 2026-09-10 the sign IS the switch:
   a plus that clicks into a cross and back. It sits in the first column, in front of the line */
.import-sign { display: inline-flex; align-items: center; }
.import-sign svg { width: 16px; height: 16px; display: block; }

/* what is not taken over stands grey and struck through - the whole row of a new contact, the
   value of a file beside a counterpart, the value that loses when two contacts become one. The
   first cell carries the switch and stays as it is, or the way back would be struck through too */
.import-gone { color: var(--text-faint); text-decoration: line-through; }
tr.import-dropped td:not(:first-child) { color: var(--text-faint); text-decoration: line-through; }

/* the summary stands beside the two answers for the whole throw and takes the room that is left */
.import-summary { margin-left: auto; }

/* THE FACE BESIDE THE NAME (2026-09-08). Small in the list, larger in the dialogue - and always
   square with the picture cut to fit: portraits arrive in every proportion, and a row whose height
   follows the picture makes a list jump. */
.contact-face
{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.contact-photo-row { display: flex; align-items: flex-start; gap: var(--s4); flex-wrap: wrap; }

/* the name of a find and its pictures share one line: the name left, the pictures right */
.import-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* the line that says the throw is being sorted anew: a word and a pulsing bar under it */
.import-wait { display: flex; flex-direction: column; gap: var(--s1); margin: var(--s2) 0; }
