/* umbau P2a: the page "Lines verwalten" (customers.js linesPage, lines.js) – the connections pill, the history list and the renew dialog.
   Only tokens of style.css (light and dark), no inline styles in the markup (CSP style-src 'self'). */

/* "aktiv / max": the viewers connected now and the limit */
.ln-conns{display:inline-flex;align-items:center;gap:.375rem;padding:.1875rem .625rem;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--neutral-soft);color:var(--text-2);font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.ln-conns .ic{width:.875rem;height:.875rem;flex:none}
.ln-conns.live{border-color:var(--line-gold);background:var(--gold-softer);color:var(--text)}
.ln-conns.live .ic{color:var(--accent)}
.ln-conns.full{border-color:color-mix(in srgb,var(--warn) 45%,transparent);color:var(--warn)}
.ln-conns.full .ic{color:var(--warn)}

/* the connection history (dialog) */
.ln-tl{max-height:min(50vh,26rem);overflow:auto}
.ln-tl li{grid-template-columns:.75rem auto minmax(0,1fr);align-items:start}
.ln-tl .tl-dot{margin-top:.6rem}
.ln-tl .tl-text{gap:.125rem}
.ln-tl .tl-text>span,.ln-tl .tl-text>small{white-space:normal;overflow:visible}
.ln-tl-detail{overflow-wrap:anywhere;color:var(--text-2)}
.ln-more{margin-top:.625rem}
.ln-more:empty{display:none}

@media (forced-colors:active) {
  .ln-conns{border-color:CanvasText}
}
