/* V21: screen inventory and selected configuration only; preserve booking views. */
.pencil-admin #screenInventory .screen-data-table { table-layout: fixed; width: 100%; }
.pencil-admin #screenInventory .screen-data-table th:nth-child(1) { width: 24%; }
.pencil-admin #screenInventory .screen-data-table th:nth-child(2) { width: 19%; }
.pencil-admin #screenInventory .screen-data-table th:nth-child(3) { width: 20%; }
.pencil-admin #screenInventory .screen-data-table th:nth-child(4) { width: 13%; }
.pencil-admin #screenInventory .screen-data-table th:nth-child(5) { width: 24%; }
.pencil-admin #screenInventory .screen-data-table th,
.pencil-admin #screenInventory .screen-data-table td { vertical-align: top; overflow-wrap: anywhere; white-space: normal; }
.pencil-admin #screenInventory .screen-select { display: block; width: 100%; min-width: 0; text-align: left; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-table-type { display: block; line-height: 1.6; }
.pencil-admin #screenInventory .screen-table-resolution { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pencil-admin #screenInventory .screen-data-table .tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-data-table .card-actions { justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; gap: 4px 8px; }
.pencil-admin #screenInventory .screen-data-table .card-actions button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-type-tabs button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-select:focus-visible,
.pencil-admin #screenInventory .screen-type-tabs button:focus-visible,
.pencil-admin #screenInventory .screen-data-table .card-actions button:focus-visible,
.pencil-admin #screenInventory .screen-config-head button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pencil-admin #screenInventory .screen-current-config { display: block; margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9fc; }
.pencil-admin #screenInventory .screen-config-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.pencil-admin #screenInventory .screen-config-head > *,
.pencil-admin #screenInventory .screen-config-head > div,
.pencil-admin #screenInventory .screen-config-fields > div { min-width: 0; max-width: 100%; }
.pencil-admin #screenInventory .screen-config-head h3 { margin: 0 0 6px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--muted); }
.pencil-admin #screenInventory .screen-current-config .screen-config-name { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-config-head button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-config-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.pencil-admin #screenInventory .screen-config-fields dt { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-config-fields dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.pencil-admin #screenInventory .screen-current-config .screen-config-empty { margin: 0; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
 .pencil-admin #screenInventory .screen-config-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
 .pencil-admin #screenInventory .screen-current-config { padding: 16px; margin-top: 16px; }
 .pencil-admin #screenInventory .screen-config-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
 .pencil-admin #screenInventory .screen-config-head button { justify-self: start; }
 .pencil-admin #screenInventory .screen-config-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
