/* Pickup IDs (CIT Tools redesign, 3 Nov 2026). Only what this tool has on its own: the square picture grid and its
   model name line, and the two tables. Colours, type and shapes come from the design's tokens (ui.css) and the ID
   family sheet (ids.css); this file loads after both. */

/* text lines stay short enough to read */
.page > p, .page > ul, .sources ul { max-width: var(--maxw-text); }

/* ---- shared by the five ID tools of this unit: the source and date line under the title, the search box parts */
.page-head .checked { margin-top: var(--sp-2); max-width: var(--maxw-text); font-size: var(--fs-sm); color: var(--text-2); }
.filter .hint { margin: 0 0 var(--sp-1); }
@media (hover: none) { .search kbd { display: none; } }

.toolbar .filter { flex: 1 1 18rem; max-width: 36rem; }
.pk-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (max-width: 760px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pk-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--surface-3); }
.pk-grid .pk-nm { display: block; }
.pk-grid .pk-file { display: block; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.pk-grid .pk-warn { display: block; margin-top: var(--sp-1); font-size: var(--fs-sm); }
/* the tables keep their columns readable and scroll sideways inside their box on a phone */
.table-wrap { max-width: 100%; overflow-x: auto; }
.pk-table { min-width: 32rem; }
.pk-table td:first-child { white-space: nowrap; }
.pk-left-out { margin-top: var(--sp-2); }
.pk-cit { padding-inline-start: 1.2em; }
.pk-cit li + li { margin-top: var(--sp-2); }
