.tenant-mark { background: var(--blue); }
.tenant-shell .nav-button.active { background: var(--blue-soft); color: var(--blue); }
.tenant-shell .live-dot.online { background: var(--blue); }
.tenant-shell .primary { background: var(--blue); }
.tenant-shell .primary:hover { background: #245bc7; }

.tenant-identity {
  align-items: center;
  display: flex;
  gap: 9px;
  margin-left: auto;
  min-width: 0;
}

.tenant-identity span {
  color: var(--muted);
  font-size: 11px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-row {
  align-items: center;
  border-bottom: 1px solid #e9edf0;
  display: flex;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
}

.policy-row:nth-child(odd) { border-right: 1px solid #e9edf0; }
.policy-row strong { display: block; font-size: 12px; }
.policy-row span { color: var(--muted); display: block; font-size: 10px; margin-top: 3px; }
.policy-row input[type="checkbox"] { height: 20px; margin-left: auto; min-height: 20px; width: 36px; }
.policy-row select, .policy-row input[type="number"] { margin-left: auto; min-height: 34px; width: 150px; }

.enrollment-code {
  background: #f1f5f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  max-height: 180px;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 12px;
  user-select: all;
}

.toolbar-actions,
.table-actions {
  align-items: center;
  display: flex;
  gap: 6px;
}

.toolbar-actions {
  margin-left: auto;
}

.toolbar-actions .primary {
  margin-left: 0;
}

.compact-callout {
  margin: 0;
  padding: 12px;
}

.compact-callout h3 {
  font-size: 13px;
  margin: 0 0 4px;
}

.compact-callout p {
  margin: 0;
}

.member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.member-chip {
  background: var(--soft);
  border-radius: 12px;
  color: var(--muted);
  font-size: 10px;
  padding: 3px 7px;
}

.member-chip input[type="checkbox"] {
  height: 14px;
  margin: 0 3px 0 0;
  min-height: 14px;
  padding: 0;
  width: 14px;
}

.directory-boundary {
  background: var(--blue-soft);
  border-left-color: var(--blue);
}

@media (max-width: 700px) {
  .policy-grid { grid-template-columns: 1fr; }
  .policy-row:nth-child(odd) { border-right: 0; }
  .tenant-identity span { display: none; }
  .toolbar-actions { margin-left: 0; width: 100%; }
  .toolbar-actions button { flex: 1 1 0; min-width: 0; }
}
