/* dropdown-lists.css v1.3 (2026-11-20): Used by panel under the picked code (chips per group, the grid with its pager).
   v1.2 (2026-11-18, Joseph: Admin > Organization screens (one list, data-dl-domains) stack in one column: the list on top,
   its codes and the picked code below, so the screen is not so wide; the full Dropdown Lists screen is unchanged).
   v1.1 (2026-11-11, Joseph: "the preview text is cut": the preview is as wide as its longest choice, text not clipped;
   read-only fields look like the other screens' read-only fields until Edit). v1.0 (2026-11-10, Joseph): Admin > App Settings > Dropdown Lists (components/dropdown-lists.js).
   Lists on the left, the picked list (Name, What it is for, Active, Preview, where it is used) and its codes on the right.
   Field rows like every screen: label left (170px), value right, 28px fields, 4px apart. */
.dl{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;align-items:start}
@media (max-width:1100px){.dl{grid-template-columns:minmax(0,1fr)}}
.dl[data-dl-domains]{grid-template-columns:minmax(0,1fr)}   /* v1.2: one list = one column */
.dl-right{display:flex;flex-direction:column;gap:12px;min-width:0}
.dl .toolbar{display:flex;align-items:center;gap:8px}
.dl-end{margin-left:auto;display:flex;gap:6px;align-items:center}
.dl-table{width:100%;table-layout:fixed}
.dl-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-table tbody tr{cursor:pointer}
.dl-form{display:flex;flex-direction:column;gap:4px;padding:4px 0}
.dl-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:0 8px;align-items:start}
.dl-row>label{margin:0;line-height:28px}
.dl-row.wide>label{align-self:start}
.dl-val{min-width:0;display:flex;flex-direction:column}
.dl-form :is(input:not([type=checkbox]),select){height:28px;box-sizing:border-box;width:100%;max-width:440px}
.dl-form textarea{width:100%;box-sizing:border-box;min-height:62px;font:inherit}
.dl-val>[data-dl-preview]{display:flex;flex-direction:column}
.dl-check{display:flex;align-items:center;gap:6px;height:28px;margin:0;font-weight:400}
.dl-hint{color:var(--t-muted,#888);font-size:12px;line-height:1.35;margin-top:1px}
.dl-usage h3{margin:10px 0 4px;font-size:13px}
.dl-small{width:100%}
.dl-note{margin:4px 0 0;font-size:12px}
.dl-free{color:var(--o-green,#2e9e5b);margin:2px 0}
.dl-cols{margin-top:10px}
.dl-cols summary{cursor:pointer;font-size:13px}
.dl-col-add{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}
.dl-col-add input{height:28px;box-sizing:border-box;min-width:160px}
.dl-form select.dl-preview{width:auto!important;min-width:260px;max-width:100%!important;height:auto!important;min-height:28px;padding:3px 28px 3px 8px!important;line-height:20px!important;white-space:normal}
.dl-form select.dl-preview option{padding:3px 8px;white-space:normal}
.dl-form :is(input,textarea):disabled{opacity:1;cursor:default}
.dl-form :is(input:not([type=checkbox]),textarea):disabled{border-color:transparent;background:transparent;color:inherit;padding-left:0}
.dl-form input[type=checkbox]:disabled{cursor:default}
.dl-uses{margin-top:10px}
.dl-uses h3{margin:0 0 4px;font-size:13px}
.dl-chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 4px}
.dl-chip{border:1px solid var(--t-border,#ccc);border-radius:10px;padding:1px 8px;font-size:12px}
