/* ---------- Tools › Tickets (LH 15.5, F10, F4-12; Skizze tools-tickets.html) ---------- */
.tk-tools { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 6px; min-height: 0; }
.tk-detail { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.tk-detail > .pn { flex: 1; }
.tk-listen-pn > .b { gap: 8px; }
.tk-neu { border: 1px dashed var(--ln2); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: none; }
.tk-neu .feld .tk-zahl { align-self: flex-end; font-size: 12px; }
.tk-liste { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.tk-zeile { display: grid; grid-template-columns: 96px minmax(0, 1fr) 54px; gap: 8px; align-items: center; padding: 7px 9px; border-radius: 5px; background: var(--p2); border: 1px solid var(--ln); font-size: 14px; text-align: left; cursor: pointer; flex: none; }
.tk-zeile .chip { height: 22px; justify-content: center; }
.tk-zeile .t { min-width: 0; display: flex; flex-direction: column; }
.tk-zeile .t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tk-zeile .t span { font-size: 12px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-zeile:hover { background: var(--p3); }
.tk-zeile.sel { outline: 2px solid var(--ac); outline-offset: -2px; }
.tk-zeile.zu { opacity: .6; }
.tk-zeile.zu.sel { opacity: .85; }
.tk-zeile:focus-visible { outline: 2px solid var(--ac); }
.tk-zeile .sm { font-size: 12.5px; text-align: right; }
.pn > .h .tk-titel { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk-ticket > .b { gap: 10px; }
.tk-beschreibung { background: var(--inp); border: 1px solid var(--ln2); border-radius: 5px; padding: 8px 10px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; flex: none; }
.tk-kommentare { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 60px; overflow: auto; }
.kom { border-left: 3px solid var(--ln2); padding: 4px 10px; background: var(--p2); border-radius: 0 5px 5px 0; font-size: 14px; flex: none; }
.kom .m { font-size: 12px; color: var(--mu); margin-bottom: 2px; }
.kom.ver { border-left-color: var(--ac); }
.tk-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.tk-verwalter { gap: 8px; padding-top: 6px; border-top: 1px solid var(--ln); flex: none; }
.tk-verwalter .lbl { margin: 0; }
