.title-tools, .title-paging, .title-row-actions, .title-edit-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.title-tools input { flex: 1 1 130px; min-width: 0; }
.title-tools button, .title-paging button { padding: 5px 8px; }
.title-paging { margin-top: 8px; }
.title-paging small { margin-right: auto; }
#titleResults .table-scroll { max-height: min(58dvh, 510px); }
#titleResults table { width: 100%; }
#titleResults td, #titleResults th { padding: 5px; overflow-wrap: anywhere; }
#titleResults th:first-child { font-weight: 500; white-space: nowrap; }
.title-caption { display: grid; gap: 3px; white-space: normal; }
.title-caption img { max-width: min(145px, 100%); max-height: 34px; object-fit: contain; object-position: left; }
.title-row-actions { gap: 2px 5px; }
.title-row-actions button { background: none; border: 0; color: var(--teal); padding: 4px 2px; white-space: nowrap; }
.title-row-actions button:disabled { color: var(--muted); opacity: .55; }
.title-state { color: var(--muted); white-space: nowrap; }
.title-state.on { color: var(--teal); font-weight: 700; }
.title-fields { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.title-edit-line { align-items: end; gap: 12px; }
.title-edit-line label:first-child { flex: 1; min-width: 12ch; }
.title-edit-line .check { padding-bottom: 7px; }
.title-preview { max-width: 100%; max-height: 90px; object-fit: contain; }
#titleBulkNames { display: block; width: 100%; margin-top: 4px; resize: vertical; }
#titleEditDialog:modal, #titleBulkDialog:modal,
#titleEditDialog::backdrop, #titleBulkDialog::backdrop { overscroll-behavior: contain; }
#titleEditDialog::backdrop, #titleBulkDialog::backdrop { overflow: hidden; }
