 .thumb-tile{ border:1px solid rgba(0,0,0,.08); border-radius:14px; overflow:hidden; background:#fff; }
    .thumb-img{ width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
    .thumb-meta{ padding:.5rem .75rem; font-size:.85rem; }
    .thumb-meta .name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

    /* Skjul mobil-controls på desktop (fallback hvis JS fejler) */
    .mobile-only { display:none; }
    @media (hover: none) and (pointer: coarse) {
      .mobile-only { display:block; }
      .desktop-only { display:none; }
    }

  @media (max-width: 768px) {

  table thead { display: none; }

  table tbody, table tr, table td {
    display: block;
    width: 100%;
  }

  table tr {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 14px;
    padding: .85rem .9rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }

  table td {
    padding: .35rem 0;
    border: none;
  }

  /* Adresse som "titel" */
  table td.td-address {
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: .4rem;
  }

  /* Skjul label for adressen (den er nu titel) */
  table td.td-address::before {
    content: none !important;
    display: none !important;
  }

  /* Labels for resten */
  table td::before {
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 2px;
    letter-spacing: .02em;
  }

  /* Handling-knap tydelig og fuld bredde */
  table td:last-child { margin-top: .6rem; }
  table td:last-child a { width: 100%; border-radius: 12px; font-weight: 700; }
}

.badge {
  font-size: .75rem;
}

.btn {
  border-radius: 10px;
}

#rowCount { white-space: nowrap; }

.badge-dark-strong {
  background: #52658d81;      /* dyb mørk */
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 600;
}