.media-main { padding-top: 36px; }
.media-gate {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-end;
  margin: 28px 0 0;
}
.media-filters, .media-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.media-filters input,
.media-upload input {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--elevated);
  min-width: 140px;
}
.media-file-btn { cursor: pointer; }
.media-table-wrap { margin-top: 8px; overflow: auto; padding: 0; }
.media-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.media-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.media-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.media-table tr:last-child td { border-bottom: 0; }
.media-table .name {
  font-weight: 500;
}
.media-table .sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  word-break: break-all;
}
.media-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .media-table th:nth-child(3),
  .media-table td:nth-child(3) { display: none; }
}
