/* Händler-Logins (Verkauf, 29.10.2026) */
#haendler .leiste { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
#haendler .leiste input { flex: 1 1 220px; max-width: 420px; }
.hl-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hl-karte { padding: 12px 14px; margin: 0; min-width: 0; }
.hl-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hl-kopf h2 { margin: 0; font-size: 18px; }
.hl-link { margin: 8px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hl-url { word-break: break-all; }
.hl-daten { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin: 6px 0; align-items: center; }
.hl-daten dt { color: var(--muted); font-size: 13px; }
.hl-daten dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.hl-wert { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 14px; word-break: break-all; user-select: all; }
.hl-notiz { margin: 6px 0 0; white-space: pre-line; }
.hl-stand { margin: 4px 0 0; font-size: 12px; }
.hl-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 0; width: min(480px, calc(100vw - 32px)); }
.hl-dialog::backdrop { background: #0006; }
.hl-form { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.hl-form h2 { margin: 0 0 4px; font-size: 18px; }
.hl-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.hl-form label.hl-check { flex-direction: row; align-items: center; gap: 6px; }
.hl-form input:not([type=checkbox]), .hl-form textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
.hl-knoepfe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hl-knoepfe > span { flex: 1; }
@media (max-width: 600px) { .hl-raster { grid-template-columns: 1fr; } .hl-daten { grid-template-columns: 1fr; gap: 2px; } .hl-daten dd { margin-bottom: 6px; } }
.hl-form .pw-feld { display: block; flex: 0 0 auto; }   /* portal.css gibt ihm flex: 1 1 200px – im Spalten-Label sonst 200 px hoch */
.hl-form label.hl-check { justify-content: flex-start; }
.hl-form .hl-check input { width: auto; flex: 0 0 auto; margin: 0; }
/* 30.10.2026: Logo im Kartenkopf, Logo-Wahl im Formular, Knöpfe nur als Symbol in einer Zeile, Protokoll für Admins */
.hl-kopf h2 { flex: 1; min-width: 0; }
.hl-logo { height: 30px; width: auto; max-width: 110px; object-fit: contain; flex: 0 0 auto; }
.hl-daten dd { flex-wrap: nowrap; }
.hl-daten .hl-wert { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; }
.hl-ik { flex: 0 0 auto; min-width: 34px; padding-left: 6px; padding-right: 6px; justify-content: center; }
.hl-ik.hl-ok { color: #2e7d32; }
.hl-logowahl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.hl-logos-vorschlag, .hl-logos-alle { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hl-logos-alle { max-height: 220px; overflow: auto; padding: 6px 0; }
.hl-lk { width: 84px; height: 40px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hl-lk img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hl-lk span { font-size: 12px; color: var(--muted); }
.hl-lk.an { border-color: #363534; box-shadow: 0 0 0 2px #363534; }
.hl-logowahl summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.hl-dialog.hl-prot { width: min(760px, calc(100vw - 24px)); }
.hl-prot-inhalt { max-height: 60vh; overflow: auto; }
.hl-prot-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.hl-prot-tab th, .hl-prot-tab td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hl-prot-tab th { position: sticky; top: 0; background: #fff; }
.hl-prot-tab td:first-child { white-space: nowrap; }
.hl-pw-zeile td { background: #fff8e8; }
.hl-prot .hl-knoepfe input { flex: 1 1 200px; }
@media (max-width: 600px) { .hl-prot-tab th:nth-child(4), .hl-prot-tab td:nth-child(4) { display: none; } }
