/* ===================================================== Sessions table cells */

/* Machine cell: name over a dimmer agent id, same two-line idiom as the
   detail drawer's key/value pairing. */
.sdt__machine {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sdt__agentid {
  font-size: 11px;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.sdt__viewers {
  color: var(--text);
  font-size: 13px;
}

/* ========================================================= Join modal ===== */
.joinmodal__lede {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.joinmodal__loading {
  display: flex;
  justify-content: center;
  padding: 28px 0;
}

/* Access-mode summary row: "Access granted" + the granted-mode badge. */
.joinmodal__accessrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--border);
}
.joinmodal__accesslabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.joinmodal__downgrade {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--text-faint);
}

/* Token / URL reveal field: label above a boxed value with a copy button. */
.joinmodal__field {
  margin-bottom: 14px;
}
.joinmodal__fieldlabel {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.joinmodal__fieldvalue {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
}
.joinmodal__code {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  word-break: break-all;
  user-select: all;
}
.joinmodal__code--mono {
  font-family: var(--font-mono);
  color: var(--accent);
}

.joinmodal__hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
