/* Import conflicts: cards grouped by what answers them, and tick and apply
   (owner, 2026-10-22; lib/assets/conflicts.js). Tokens only. */

.ast-conflict-group { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); min-width: 0; }
.ast-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.ast-group-head h3 { margin: 0; }
.ast-tick-all { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--text-2); cursor: pointer; }

/* The answer bar stays in view while ticking cards further down the group,
   just under the sticky top bar (the page scrolls as a whole). */
.ast-tick-bar {
    position: sticky;
    top: var(--topbar-h);
    z-index: 1;
    display: grid;
    gap: var(--sp-2);
    padding: var(--sp-3);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}
.ast-tick-bar[hidden] { display: none; }
.ast-tick-count { margin: 0; font-weight: 600; }

.ast-card-head input[data-tick] { margin: 0; flex: none; }

/* One line; the full note is on hover (title) and in Snipe-IT. */
.ast-conflict-notes { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.ast-tick-result { margin: var(--sp-2) 0; font-weight: 600; }

/* The team picker: division, then team, then where the suggestion came
   from (owner, 2026-10-29; lib/assets/team-picker.js). */
.ast-team-picker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); min-width: 0; }
.ast-team-hint { font-size: var(--fs-small); }
.ast-team-hint[hidden] { display: none; }

/* "New type…" on an Unknown asset type card (Administration, owner
   2026-10-23): its fields show only while that option is picked. */
.ast-new-type { display: none; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
form:has(select[name="asset_type"] option[value="__new__"]:checked) .ast-new-type { display: inline-flex; }
