/* A list's columns and sort, as the person chose them (views/includes/listColumns.pug) */
.list-columns { margin: -8px 0 12px; font-size: 14px; }
.list-columns > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #1f62c8; }
.list-columns > summary .count { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; background: #e7eefb; color: #1f62c8; font-size: 12px; text-align: center; }
.list-columns form { margin-top: 8px; padding: 10px 12px; background: #f6f8fb; border: 1px solid #dce4ec; border-radius: 8px; display: grid; gap: 10px; max-width: 640px; }
.list-columns fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.list-columns legend { color: #52575f; margin-bottom: 4px; font-size: 13px; }
.list-columns label { display: inline-flex; align-items: center; gap: 6px; }
.list-columns-add span { color: #52575f; }
.list-columns input[type="text"] { font: inherit; padding: 4px 6px; border: 1px solid #c4c8cf; border-radius: 4px; background: #fff; min-width: 200px; }
.list-columns-actions { display: flex; align-items: center; gap: 12px; }
.list-columns-actions button { font: inherit; padding: 4px 12px; border: 1px solid #1f62c8; border-radius: 4px; background: #1f62c8; color: #fff; cursor: pointer; }
.list-columns-actions a { color: #52575f; text-decoration: none; }
.list-columns-actions a:hover { text-decoration: underline; }
/* a problem with what was typed: an error, so red */
.list-columns-problem { margin: 0; color: #b42318; }
a.sort-heading { color: inherit; text-decoration: none; white-space: nowrap; }
a.sort-heading:hover { text-decoration: underline; }
a.sort-heading.sorted { color: #1f62c8; }
.sort-mark { font-size: 11px; }
.list-columns-hint { margin: 0; color: #52575f; }
.list-columns fieldset + fieldset { border-top: 1px solid #e3e8ef; padding-top: 8px; }
.list-columns legend { float: left; width: 100%; font-weight: 600; color: #1f2937; }
/* a heading that sorts: a faint mark until it is the one sorted by */
a.sort-heading:not(.sorted)::after { content: ' ↕'; font-size: 11px; opacity: .35; }
.list-columns label { font-weight: normal; margin: 0; }
.list-columns .list-columns-add input[type="text"] { min-width: 240px; }
/* the columns shown, in their order: each with ← and → (as text, not emoji) */
.list-columns-shown ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.list-columns-shown li { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 8px; background: #fff; border: 1px solid #dce4ec; border-radius: 6px; }
.list-columns-move { font: inherit; font-family: "Segoe UI Symbol", "DejaVu Sans", system-ui, sans-serif; font-size: 12px; line-height: 1; padding: 2px 5px; border: 0; background: none; color: #52575f; cursor: pointer; border-radius: 4px; }
.list-columns-move:hover, .list-columns-move:focus { background: #e7eefb; color: #1f62c8; }
.list-columns-shown li:first-child [data-move="up"], .list-columns-shown li:last-child [data-move="down"] { visibility: hidden; }
