:root {
  --ink: var(--text);
  --accent: var(--red);
  --accent-strong: var(--red);
  --soft: var(--panel-soft);
  --toggle-track: rgba(255, 255, 255, 0.14);
  --toggle-thumb: var(--text);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-ink: var(--text);
  --scrollbar-track: rgba(255, 255, 255, 0.08);
  --scrollbar-thumb: rgba(255, 255, 255, 0.2);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --sticky-gap: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body.theme-dark select,
body.theme-dark option {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border-color: #333;
}

body.theme-dark select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.18);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

body.theme-dark option:checked,
body.theme-dark option:hover {
  background-color: #2a2a2a;
  color: #ffffff;
}

main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 8px 20px 32px;
}

.admin-layout {
  max-width: 2100px;
}

.page-header {
  margin-bottom: 0;
}

.page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.page-title {
  flex: 1 1 auto;
  min-width: 220px;
}

.page-title h1 {
  margin: 0 0 0.25rem 0;
}

.page-title p {
  margin: 0 0 var(--space-2) 0;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-3) 0 var(--space-4);
}

.admin-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  min-height: 120px;
}

.admin-quick-desc {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.4;
}

.toolbar-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: end;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.toolbar-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.field select,
.field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--input-ink);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.toolbar-actions button {
  min-width: 140px;
}

.toolbar-hint {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--muted);
}

.toolbar-status {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  font-size: 12px;
  color: var(--muted);
}

.admin-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.admin-top-grid > .panel {
  height: 100%;
}

.panel-desc {
  margin: 4px 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.panel-hint {
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.subcard {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subcard-newlist {
  border-color: rgba(211, 47, 47, 0.5);
}

.current-version-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(211, 47, 47, 0.35);
  border-radius: 8px;
  padding: 4px 8px;
}

.current-version-box label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  color: var(--muted);
}

.current-version-box input {
  width: 90px;
  font-size: 0.75rem;
  padding: 4px 6px;
}

.current-version-feedback {
  color: #d32f2f;
  font-size: 0.75rem;
}

.subcard-header h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.subcard-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.subcard-body .panel-hint {
  margin: 0 0 8px;
}

.subcard-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.subcard-actions {
  justify-content: space-between;
}

.controls.controls-compact {
  margin: 8px 0 0;
}

.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
  opacity: 0.6;
}

.field-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-hint {
  font-size: 12px;
  color: var(--muted);
}

header {
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

p {
  margin: 0;
  color: var(--muted);
}

.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0 16px;
}

.panel .controls {
  margin: 12px 0;
}

.controls label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.controls input,
.controls select,
.controls button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.controls input,
.controls select,
.form-grid input,
.list-editor input,
.list-filters input,
.list-filters select,
.panel select,
.panel input {
  background: var(--input-bg);
  color: var(--input-ink);
}

.panel select,
.panel input {
  max-width: 100%;
}

.theme-toggle {
  display: flex;
  justify-content: flex-start;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 64px;
  height: 32px;
  background: var(--toggle-track);
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  transition: background 0.2s ease;
}

.toggle-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--toggle-thumb);
  left: 4px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(32px);
}

.toggle-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
}

.toggle-moon {
  background: #11151c;
  box-shadow: inset -4px -2px 0 0 rgba(255, 255, 255, 0.8);
}

.toggle-sun {
  background: #f4b942;
  box-shadow: 0 0 0 2px rgba(244, 185, 66, 0.4);
}

.controls button {
  background: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.controls button.secondary {
  background: #2d3a4b;
}

.controls button.light {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin: 6px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid transparent;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.status--hidden {
  display: none;
}

.status--info {
  border-color: rgba(255, 255, 255, 0.08);
}

.status--loading {
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.status--success {
  border-color: rgba(0, 255, 120, 0.25);
  color: #d7ffe8;
}

.status--error {
  border-color: rgba(255, 80, 80, 0.35);
  color: #ffdede;
  cursor: pointer;
}

.panels {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(640px, 2fr);
  gap: 20px;
  align-items: stretch;
  height: 380px;
  max-width: 1862px;
  margin: 0 auto;
}

.panel-full {
  margin-top: 20px;
}

.panel-full .panel {
  min-height: auto;
}

.panel {
  background: var(--panel);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.panel.panel-expanding {
  overflow: visible;
}

#modId {
  max-width: 100%;
}

#modId,
#modName,
#modSource,
#modType,
#modCompatibleTo,
#modVersion,
#modVersionDate,
#modFilename,
#modDownloadUrl,
#modDownloadLabel,
#modInfoUrl,
#modInfoLabel {
  max-width: 100%;
}

#modId,
#modName,
#modSource,
#modType,
#modCompatibleTo,
#modVersion,
#modVersionDate,
#modFilename,
#modDownloadUrl,
#modDownloadLabel,
#modInfoUrl,
#modInfoLabel {
  box-sizing: border-box;
}

#modName,
#modSource,
#modType,
#modCompatibleTo,
#modVersion,
#modVersionDate,
#modFilename,
#modDownloadUrl,
#modDownloadLabel,
#modInfoUrl,
#modInfoLabel {
  width: 100%;
}

.panel-compact {
  max-width: 100%;
  max-height: none;
  overflow: visible;
  height: auto;
}

.panel-compact.panel-expanding {
  overflow: visible;
}

.panel-catalog {
  max-width: 100%;
  max-height: none;
}

.panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.panel h3 {
  margin: 12px 0 6px;
  font-size: 14px;
  color: var(--ink);
}

.toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.panel .toolbar {
  position: sticky;
  top: calc(var(--rt-nav-height, 56px) + var(--sticky-gap));
  z-index: 13;
  background: var(--panel);
}

.toolbar input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.list {
  max-height: none;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: 1 1 auto;
}

.list table {
  width: 100%;
  border-collapse: collapse;
}

.list th,
.list td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}

.select-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.select-order.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.list tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  background: var(--soft);
}

.button {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  background: var(--panel);
  color: var(--ink);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.form-grid label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.form-grid input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--input-ink);
}

.form-grid textarea {
  min-height: 90px;
  resize: vertical;
}

.list-editor {
  width: 100%;
  border-collapse: collapse;
}

.panel-full {
  display: flex;
  flex-direction: column;
}

.panel-full .list-editor-wrap {
  overflow: visible;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(1400px, 92vw);
  max-height: 90vh;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-header,
.modal-footer {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  border-bottom: none;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}

.modal-body {
  padding: 16px;
  overflow: auto;
}

.list-editor-wrap--scroll {
  max-height: 60vh;
  overflow: auto;
}

.import-cell input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
  background: var(--input-bg);
  color: var(--input-ink);
}

.mod-card {
  position: fixed;
  z-index: 80;
  min-width: 280px;
  max-width: 90vw;
  width: max-content;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  font-size: 2rem;
  white-space: nowrap;
}

.mod-card.pinned {
  pointer-events: auto;
}

.mod-card.hidden {
  display: none;
}

.mod-card h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.mod-card .meta {
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.mod-card .field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 2rem;
  margin-bottom: 4px;
}

.mod-card .field span {
  color: var(--muted);
  text-align: left;
  padding-left: 10px;
}

.mod-card .hint-value {
  white-space: normal;
  max-width: 50ch;
  text-align: right;
  padding-right: 10px;
  justify-self: end;
  display: block;
}

.mod-card .value {
  color: #f5d24c;
  text-align: right;
  padding-right: 10px;
  justify-self: end;
  display: block;
}

.mod-card .value.missing {
  color: #e34b4b;
}

*::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid var(--scrollbar-track);
}

.list-editor-wrap {
  flex: 0 0 auto;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.list-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  position: sticky;
  top: calc(var(--rt-nav-height, 56px) + var(--sticky-gap) + var(--toolbar-sticky-height, 0px));
  z-index: 12;
  background: var(--panel);
}

.list-filters .filter-group label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.list-filters input,
.list-filters select {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.list-filters .filter-group.checkbox label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.list-filters .filter-group.checkbox input {
  width: auto;
  padding: 0;
}

.filter-info {
  align-self: end;
  font-size: 12px;
  color: var(--muted);
}

.list-editor th,
.list-editor td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  font-size: 12px;
}

.list-editor th {
  background: var(--soft);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  position: sticky;
  top: 0;
  z-index: 4;
}

#catalogList table thead th {
  position: sticky;
  top: calc(var(--rt-nav-height, 56px) + var(--sticky-gap) + var(--toolbar-sticky-height, 0px) + var(--filters-sticky-height, 0px));
  z-index: 4;
  background: var(--panel);
}

#listTable thead th {
  position: sticky;
  top: calc(var(--rt-nav-height, 56px) + var(--sticky-gap) + var(--toolbar-sticky-height, 0px) + var(--filters-sticky-height, 0px));
  z-index: 4;
  background: var(--soft);
}

.list-editor input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.input-expanded {
  position: relative;
  z-index: 6;
  max-width: none;
}

.panel input.input-expanded {
  max-width: none !important;
}

.list-editor .actions {
  display: flex;
  gap: 6px;
}

.list-editor .actions button {
  padding: 4px 6px;
  border-radius: 4px;
  border: none;
  background: var(--panel);
  cursor: pointer;
  font-size: 11px;
}

.list-editor .actions button.primary {
  background: var(--accent);
  color: #ffffff;
}

.notice {
  background: var(--panel-soft);
  border: 1px dashed var(--line);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.notice.error {
  border-style: solid;
  color: var(--accent-strong);
}

@media (max-width: 900px) {
  .panels {
    grid-template-columns: 1fr;
  }

  .admin-top-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-main {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    justify-content: flex-start;
  }

  .panel-full .list-editor-wrap {
    max-height: none;
  }
}


.auth-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
}

.auth-layout {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 16px 48px;
  flex: 1;
}

.auth-card {
  width: min(420px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
}

.auth-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.auth-card .field {
  margin-bottom: 12px;
}

.auth-card label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.auth-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--input-ink);
  /* Fix: caret/cursor becomes invisible in some browsers when autofill/auto-complete is active */
  caret-color: var(--input-ink);
}

.auth-card input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--input-bg) inset;
  -webkit-text-fill-color: var(--input-ink);
  transition: background-color 9999s ease-out 0s;
  caret-color: var(--input-ink);
}

.auth-resend {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.auth-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-actions button {
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

.password-input {
  position: relative;
}

.password-input input[type="password"],
.password-input input[type="text"] {
  padding-right: 48px;
}

.toggle-visibility {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  line-height: 1;
}

.toggle-visibility:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.password-feedback {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.password-counter {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.password-rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 12px;
}

.password-rules li {
  padding-left: 0;
}

.rule-status {
  font-weight: 600;
  margin-right: 6px;
}

.rule-ok .rule-status {
  color: #2f8f4e;
}

.rule-fail .rule-status {
  color: #d55b4c;
}

.password-success {
  margin-top: 6px;
  color: #2f8f4e;
  font-weight: 700;
}

.auth-links {
  margin-top: 12px;
  font-size: 13px;
}

.auth-links a {
  color: var(--accent);
}

.auth-error {
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.35);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.auth-success {
  background: rgba(47, 143, 78, 0.18);
  border: 1px solid rgba(47, 143, 78, 0.4);
  color: #bfe7bf;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}


.auth-tools {
  margin-top: 8px;
}

.auth-tools .button {
  background: #2d3a4b;
  color: #ffffff;
  text-decoration: none;
}


/* Platz sparen: Modlisten-Anordnung Tabelle */
#listTable th:nth-child(1), #listTable td:nth-child(1) { width: 44px; }
#listTable th:nth-child(2), #listTable td:nth-child(2) { width: 120px; }
#listTable th:nth-child(5), #listTable td:nth-child(5) { width: 90px; }   /* ETS2 Version */
#listTable th:nth-child(6), #listTable td:nth-child(6) { width: 90px; }   /* Mod Version */
#listTable th:nth-child(7), #listTable td:nth-child(7) { width: 110px; }  /* Mod Versions Datum */

#listTable td:nth-child(5) input,
#listTable td:nth-child(6) input,
#listTable td:nth-child(7) input {
  padding-left: 6px;
  padding-right: 6px;
}

/* Action-Buttons kompakt + Icons */
.list-editor .actions { gap: 4px; }
.list-editor .actions button {
  width: 26px;
  height: 22px;
  padding: 0;
  line-height: 22px;
  text-align: center;
  font-size: 14px;
}

/* Header der Auswahl-Spalte optisch leer halten */
#listTable thead th:first-child { color: transparent; }
